111
This commit is contained in:
+99
-83
@@ -90,7 +90,7 @@ const _sfc_main = {
|
||||
showCase.value = false;
|
||||
};
|
||||
const epaste = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:535", e);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:539", e);
|
||||
};
|
||||
const addOption = () => {
|
||||
voteData.case_exchange_vote_option.push({
|
||||
@@ -168,7 +168,7 @@ const _sfc_main = {
|
||||
}
|
||||
};
|
||||
const ready = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:639", e);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:643", e);
|
||||
editorCtx.value = e;
|
||||
let html = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
|
||||
editorCtx.value.initHtml(html);
|
||||
@@ -183,7 +183,7 @@ const _sfc_main = {
|
||||
editorCtxResult.value = e;
|
||||
};
|
||||
const clearMuBan = () => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:659", "清空模板");
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:663", "清空模板");
|
||||
editorCtx.value.initHtml("");
|
||||
};
|
||||
const focusInfo = () => {
|
||||
@@ -278,7 +278,7 @@ const _sfc_main = {
|
||||
};
|
||||
const confirmDel = () => {
|
||||
showModal.value = false;
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:776", delType.value);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:780", delType.value);
|
||||
if (delType.value == "delDraft") {
|
||||
delDraft(delId.value);
|
||||
} else if (delType.value == "saveDraft") {
|
||||
@@ -389,7 +389,7 @@ const _sfc_main = {
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:905", err);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:909", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -419,7 +419,7 @@ const _sfc_main = {
|
||||
return randomNumber;
|
||||
};
|
||||
const getImageFormat = (imageUrl) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:935", imageUrl);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:939", imageUrl);
|
||||
const lastDotIndex = imageUrl.lastIndexOf(".");
|
||||
if (lastDotIndex !== -1) {
|
||||
return imageUrl.substring(lastDotIndex + 1);
|
||||
@@ -451,7 +451,7 @@ const _sfc_main = {
|
||||
//从相册选择
|
||||
extension: [".mp4", ".webm", ".ogg"],
|
||||
success: function(res) {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:962", res.tempFilePath);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:966", res.tempFilePath);
|
||||
HandleAddVideo(res.tempFilePath);
|
||||
}
|
||||
});
|
||||
@@ -489,7 +489,7 @@ const _sfc_main = {
|
||||
async success(res2) {
|
||||
if (res2.statusCode === 204) {
|
||||
let url = host + "/" + dir + filename + imgType;
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1004", editorCtx2);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1008", editorCtx2);
|
||||
let imgUrl = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||
const fileThumbnail = await editorCtx2.createCoverThumbnail(
|
||||
imgUrl
|
||||
@@ -503,7 +503,7 @@ const _sfc_main = {
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1019", err);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1023", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -553,7 +553,7 @@ const _sfc_main = {
|
||||
showCase.value = false;
|
||||
if (level.value == 1) {
|
||||
let label = labelObj.list1.find((item) => item.app_iden == caseValue1.value);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1069", label);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1073", label);
|
||||
labelList.value.push({
|
||||
app_iden: label.app_iden,
|
||||
label_name: label.label_name
|
||||
@@ -601,6 +601,10 @@ const _sfc_main = {
|
||||
labelList.value.splice(index, 1);
|
||||
};
|
||||
const openLabelPop = () => {
|
||||
if (labelList.value.length >= 5) {
|
||||
common_vendor.index.showToast({ title: "最多添加5个标签", icon: "none" });
|
||||
return false;
|
||||
}
|
||||
showCase.value = true;
|
||||
getCaseLabel(1, 0);
|
||||
};
|
||||
@@ -725,36 +729,48 @@ const _sfc_main = {
|
||||
size: "18"
|
||||
}),
|
||||
O: common_vendor.o(addOption),
|
||||
P: common_vendor.o(($event) => changeDay("minus")),
|
||||
Q: common_vendor.t(voteData.valid_day),
|
||||
R: common_vendor.o(($event) => changeDay("plus")),
|
||||
S: common_vendor.o(saveVote),
|
||||
T: common_vendor.o(clearVote),
|
||||
U: common_vendor.o(closeVote),
|
||||
V: common_vendor.o(openVote),
|
||||
W: common_vendor.p({
|
||||
P: common_vendor.p({
|
||||
name: "minus",
|
||||
color: "#4B5563",
|
||||
size: "30rpx",
|
||||
bold: true
|
||||
}),
|
||||
Q: common_vendor.o(($event) => changeDay("minus")),
|
||||
R: common_vendor.t(voteData.valid_day),
|
||||
S: common_vendor.p({
|
||||
name: "plus",
|
||||
color: "#4B5563",
|
||||
size: "30rpx",
|
||||
bold: true
|
||||
}),
|
||||
T: common_vendor.o(($event) => changeDay("plus")),
|
||||
U: common_vendor.o(saveVote),
|
||||
V: common_vendor.o(clearVote),
|
||||
W: common_vendor.o(closeVote),
|
||||
X: common_vendor.o(openVote),
|
||||
Y: common_vendor.p({
|
||||
round: 10,
|
||||
show: showVote.value,
|
||||
mode: "bottom"
|
||||
}),
|
||||
X: common_vendor.p({
|
||||
Z: common_vendor.p({
|
||||
name: "close",
|
||||
color: "#4B5563",
|
||||
size: "20"
|
||||
}),
|
||||
Y: common_vendor.o(closeDraft),
|
||||
Z: draftList.value.length == 0
|
||||
aa: common_vendor.o(closeDraft),
|
||||
ab: draftList.value.length == 0
|
||||
}, draftList.value.length == 0 ? {
|
||||
aa: common_vendor.p({
|
||||
ac: common_vendor.p({
|
||||
marginTop: "120rpx",
|
||||
text: "草稿箱为空",
|
||||
mode: "list",
|
||||
icon: common_vendor.unref(common_assets.draftImg)
|
||||
})
|
||||
} : {}, {
|
||||
ab: draftList.value.length > 0
|
||||
ad: draftList.value.length > 0
|
||||
}, draftList.value.length > 0 ? {
|
||||
ac: common_vendor.f(draftList.value, (item, index, i0) => {
|
||||
ae: common_vendor.f(draftList.value, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.exchange_title ? item.exchange_title : "无标题"),
|
||||
b: item.exchange_content
|
||||
@@ -780,91 +796,73 @@ const _sfc_main = {
|
||||
g: item.exchange_label && item.exchange_label.length > 0,
|
||||
j: item.exchange_vote,
|
||||
l: common_vendor.t(fromatDay(item.updated_at)),
|
||||
m: "bfce3555-19-" + i0 + ",bfce3555-16",
|
||||
m: "bfce3555-21-" + i0 + ",bfce3555-18",
|
||||
n: common_vendor.o(($event) => willDelDraft(item.draft_id), item.draft_id),
|
||||
o: "bfce3555-20-" + i0 + ",bfce3555-16",
|
||||
o: "bfce3555-22-" + i0 + ",bfce3555-18",
|
||||
p: common_vendor.o(($event) => editDraft(index), item.draft_id),
|
||||
q: item.draft_id
|
||||
});
|
||||
}),
|
||||
ad: common_vendor.p({
|
||||
af: common_vendor.p({
|
||||
name: "trash",
|
||||
color: "#4B5563",
|
||||
size: "16"
|
||||
}),
|
||||
ae: common_vendor.p({
|
||||
ag: common_vendor.p({
|
||||
name: "edit-pen",
|
||||
color: "#fff",
|
||||
size: "17"
|
||||
})
|
||||
} : {}, {
|
||||
af: common_vendor.o(closeDraft),
|
||||
ag: common_vendor.o(openDraft),
|
||||
ah: common_vendor.p({
|
||||
ah: common_vendor.o(closeDraft),
|
||||
ai: common_vendor.o(openDraft),
|
||||
aj: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
show: showDraft.value,
|
||||
mode: "bottom"
|
||||
}),
|
||||
ai: common_vendor.p({
|
||||
ak: common_vendor.p({
|
||||
name: "close",
|
||||
color: "#4B5563",
|
||||
size: "20"
|
||||
}),
|
||||
aj: common_vendor.o(closeTitle),
|
||||
ak: common_vendor.o(insertAllWord),
|
||||
al: common_vendor.p({
|
||||
al: common_vendor.o(closeTitle),
|
||||
am: common_vendor.o(insertAllWord),
|
||||
an: common_vendor.p({
|
||||
name: "plus-circle",
|
||||
color: "#3CC7C0",
|
||||
size: "20"
|
||||
}),
|
||||
am: common_vendor.o(insertAllWord),
|
||||
an: common_vendor.o(($event) => insertWord("患者信息")),
|
||||
ao: common_vendor.o(($event) => insertWord("主诉")),
|
||||
ap: common_vendor.o(($event) => insertWord("现病史及既往史")),
|
||||
aq: common_vendor.o(($event) => insertWord("检查")),
|
||||
ar: common_vendor.o(($event) => insertWord("临床诊断")),
|
||||
as: common_vendor.o(($event) => insertWord("治疗经过及结果")),
|
||||
at: common_vendor.o(closeTitle),
|
||||
av: common_vendor.o(openTitle),
|
||||
aw: common_vendor.p({
|
||||
ao: common_vendor.o(insertAllWord),
|
||||
ap: common_vendor.o(($event) => insertWord("患者信息")),
|
||||
aq: common_vendor.o(($event) => insertWord("主诉")),
|
||||
ar: common_vendor.o(($event) => insertWord("现病史及既往史")),
|
||||
as: common_vendor.o(($event) => insertWord("检查")),
|
||||
at: common_vendor.o(($event) => insertWord("临床诊断")),
|
||||
av: common_vendor.o(($event) => insertWord("治疗经过及结果")),
|
||||
aw: common_vendor.o(closeTitle),
|
||||
ax: common_vendor.o(openTitle),
|
||||
ay: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
show: showTitle.value,
|
||||
mode: "bottom"
|
||||
}),
|
||||
ax: delType.value == "delDraft"
|
||||
az: delType.value == "delDraft"
|
||||
}, delType.value == "delDraft" ? {} : delType.value == "saveDraft" ? {} : {}, {
|
||||
ay: delType.value == "saveDraft",
|
||||
az: common_vendor.o(cancelDel),
|
||||
aA: common_vendor.o(confirmDel),
|
||||
aB: common_vendor.p({
|
||||
aA: delType.value == "saveDraft",
|
||||
aB: common_vendor.o(cancelDel),
|
||||
aC: common_vendor.o(confirmDel),
|
||||
aD: common_vendor.p({
|
||||
show: showModal.value,
|
||||
["mask-click-able"]: true
|
||||
}),
|
||||
aC: common_vendor.o(($event) => showCase.value = false),
|
||||
aD: common_vendor.o(continueCase),
|
||||
aE: level.value != 3,
|
||||
aF: common_vendor.o(confirmCase),
|
||||
aG: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
return {
|
||||
a: "bfce3555-27-" + i0 + ",bfce3555-26",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
name: item.app_iden
|
||||
}),
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
aH: common_vendor.o(($event) => caseValue1.value = $event),
|
||||
aI: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue1.value
|
||||
}),
|
||||
aJ: level.value == 1,
|
||||
aK: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
aE: common_vendor.o(($event) => showCase.value = false),
|
||||
aF: common_vendor.o(continueCase),
|
||||
aG: level.value != 3,
|
||||
aH: common_vendor.o(confirmCase),
|
||||
aI: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
return {
|
||||
a: "bfce3555-29-" + i0 + ",bfce3555-28",
|
||||
b: common_vendor.p({
|
||||
@@ -875,14 +873,14 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
aL: common_vendor.o(($event) => caseValue2.value = $event),
|
||||
aM: common_vendor.p({
|
||||
aJ: common_vendor.o(($event) => caseValue1.value = $event),
|
||||
aK: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue2.value
|
||||
modelValue: caseValue1.value
|
||||
}),
|
||||
aN: level.value == 2,
|
||||
aO: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
aL: level.value == 1,
|
||||
aM: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
return {
|
||||
a: "bfce3555-31-" + i0 + ",bfce3555-30",
|
||||
b: common_vendor.p({
|
||||
@@ -893,15 +891,33 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
aP: common_vendor.o(($event) => caseValue3.value = $event),
|
||||
aQ: common_vendor.p({
|
||||
aN: common_vendor.o(($event) => caseValue2.value = $event),
|
||||
aO: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue2.value
|
||||
}),
|
||||
aP: level.value == 2,
|
||||
aQ: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
return {
|
||||
a: "bfce3555-33-" + i0 + ",bfce3555-32",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
name: item.app_iden
|
||||
}),
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
aR: common_vendor.o(($event) => caseValue3.value = $event),
|
||||
aS: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue3.value
|
||||
}),
|
||||
aR: level.value == 3,
|
||||
aS: common_vendor.o(closeCase),
|
||||
aT: common_vendor.p({
|
||||
aT: level.value == 3,
|
||||
aU: common_vendor.o(closeCase),
|
||||
aV: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
show: showCase.value,
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user