This commit is contained in:
zoujiandong
2025-07-17 17:15:28 +08:00
parent dc39275e6e
commit 75d515fbc6
92 changed files with 1718 additions and 945 deletions
+5 -1
View File
@@ -52,6 +52,10 @@ const _sfc_main = {
doctor_id.value = options.doctor_id;
}
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const goDetail = (url) => {
utils_navTo.navTo({
url: `/pages/certImg/certImg?src=${url}`
@@ -100,7 +104,7 @@ const _sfc_main = {
});
};
const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/certList/certList.vue:162", 666666);
common_vendor.index.__f__("log", "at pages/certList/certList.vue:165", 666666);
const params = {
page: pageNo,
page_size: pageSize
+12 -11
View File
@@ -147,7 +147,7 @@ const _sfc_main = {
};
const getUserPoint = () => {
api_api.api.getUserPoint().then((res) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:721", res.data.data);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:722", res.data.data);
point.value = res.data.data;
});
};
@@ -327,18 +327,18 @@ const _sfc_main = {
};
const close = () => {
showCommentDialog.value = false;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:919", "close");
common_vendor.index.__f__("log", "at pages/detail/detail.vue:920", "close");
};
const openDeal = () => {
showDeal.value = true;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:924", "open");
common_vendor.index.__f__("log", "at pages/detail/detail.vue:925", "open");
};
const closeDeal = () => {
showDeal.value = false;
};
const openMore = () => {
showMore.value = true;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:932", "open");
common_vendor.index.__f__("log", "at pages/detail/detail.vue:933", "open");
};
const closeMore = () => {
showMore.value = false;
@@ -376,12 +376,12 @@ const _sfc_main = {
success(res) {
if (res.statusCode === 204) {
let url = host + "/" + dir + filename + imgType;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1283", url);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1284", url);
imgList.value = [url];
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1288", err);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1289", err);
}
});
});
@@ -400,8 +400,8 @@ const _sfc_main = {
return "unknown";
};
const afterRead = (file, lists, name) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1307", lists);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1308", name);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1308", lists);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1309", name);
handleUpload(file);
};
const delImg = (index) => {
@@ -523,7 +523,7 @@ const _sfc_main = {
};
const fromatImg = (val) => {
if (val) {
return val.replace(/\<img/gi, '<img class="imgstyle"');
return val.replace(/\<img|\<\s+img/gi, '<img class="imgstyle"');
} else {
return "";
}
@@ -703,7 +703,8 @@ const _sfc_main = {
}),
c: common_vendor.o(open),
d: common_vendor.p({
disabled: isH5.value ? false : true,
disabled: true,
focus: false,
type: "text",
placeholderClass: "placeholderClass",
placeholder: "对病例发表您的看法"
@@ -937,7 +938,7 @@ const _sfc_main = {
}),
ad: common_vendor.o(($event) => content.value = $event),
ae: common_vendor.p({
focus: "true",
focus: false,
height: "200",
placeholder: placeholder.value,
modelValue: content.value
+6
View File
@@ -400,6 +400,12 @@
.desc.data-v-eca06f3c {
padding-bottom: 80rpx;
}
.desc.data-v-eca06f3c .imgstyle {
max-width: 100%;
position: relative;
left: 50%;
transform: translateX(-50%);
}
.bottom.data-v-eca06f3c {
position: fixed;
display: flex;
+12 -1
View File
@@ -87,6 +87,11 @@ const _sfc_main = {
url: "/pages/searchList/searchList?type=hospital&name=医院&id="
});
};
const goPublish = () => {
utils_navTo.navTo({
url: "/pages/publish/publish"
});
};
common_vendor.onShow(() => {
getStatic();
getData();
@@ -190,7 +195,13 @@ const _sfc_main = {
b: item.doctor_id,
c: common_vendor.o(($event) => goListBy(item.doctor_id, item.doctor_name, "doctor"), item.doctor_id)
};
})
}),
z: common_vendor.p({
name: "plus",
color: "#fff",
size: "18"
}),
A: common_vendor.o(goPublish)
};
};
}
+1 -1
View File
@@ -1 +1 @@
<nav-bar wx:if="{{a}}" class="data-v-1cf27b2a" u-i="1cf27b2a-0" bind:__l="__l" u-p="{{a}}"></nav-bar><view class="page data-v-1cf27b2a"><view class="databox data-v-1cf27b2a"><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{b}}</view><view class="name data-v-1cf27b2a">文章</view></view><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{c}}</view><view class="name data-v-1cf27b2a">视频</view></view><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{d}}</view><view class="name data-v-1cf27b2a">阅读量</view></view></view><view class="kubox data-v-1cf27b2a"><view class="row data-v-1cf27b2a"><up--image wx:if="{{f}}" class="data-v-1cf27b2a" bindclick="{{e}}" u-i="1cf27b2a-1" bind:__l="__l" u-p="{{f}}"></up--image><up--image wx:if="{{h}}" class="data-v-1cf27b2a" bindclick="{{g}}" u-i="1cf27b2a-2" bind:__l="__l" u-p="{{h}}"></up--image></view><view class="row data-v-1cf27b2a" style="margin-top:30rpx"><up--image wx:if="{{j}}" class="data-v-1cf27b2a" bindclick="{{i}}" u-i="1cf27b2a-3" bind:__l="__l" u-p="{{j}}"></up--image><up--image wx:if="{{l}}" class="data-v-1cf27b2a" bindclick="{{k}}" u-i="1cf27b2a-4" bind:__l="__l" u-p="{{l}}"></up--image></view></view><view class="newsbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">最新上线</view><view class="more data-v-1cf27b2a" bindtap="{{n}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{m}}" class="data-v-1cf27b2a" u-i="1cf27b2a-5" bind:__l="__l" u-p="{{m}}"></u-icon></view></view><view class="listbox data-v-1cf27b2a"><view wx:for="{{o}}" wx:for-item="item" wx:key="c" class="cell data-v-1cf27b2a" bindtap="{{item.d}}"><view class="circle data-v-1cf27b2a"></view><view class="info data-v-1cf27b2a"><view class="name data-v-1cf27b2a">{{item.a}}</view><view class="tagsbox data-v-1cf27b2a"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf27b2a">{{tag.a}}</view></view></view></view></view></view><view class="newsbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">最多阅读</view><view class="more data-v-1cf27b2a" bindtap="{{q}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{p}}" class="data-v-1cf27b2a" u-i="1cf27b2a-6" bind:__l="__l" u-p="{{p}}"></u-icon></view></view><view class="listbox data-v-1cf27b2a"><view wx:for="{{r}}" wx:for-item="item" wx:key="c" class="cell data-v-1cf27b2a" bindtap="{{item.d}}"><view class="circle data-v-1cf27b2a"></view><view class="info data-v-1cf27b2a"><view class="name data-v-1cf27b2a">{{item.a}}</view><view class="tagsbox data-v-1cf27b2a"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf27b2a">{{tag.a}}</view></view></view></view></view></view><view class="recbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">医院病例库推荐</view><view class="more data-v-1cf27b2a" bindtap="{{t}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{s}}" class="data-v-1cf27b2a" u-i="1cf27b2a-7" bind:__l="__l" u-p="{{s}}"></u-icon></view></view><view class="list data-v-1cf27b2a"><view wx:for="{{v}}" wx:for-item="item" wx:key="b" class="cell data-v-1cf27b2a" bindtap="{{item.c}}">{{item.a}}</view></view></view><view class="recbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">医生病例库推荐</view><view class="more data-v-1cf27b2a" bindtap="{{x}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{w}}" class="data-v-1cf27b2a" u-i="1cf27b2a-8" bind:__l="__l" u-p="{{w}}"></u-icon></view></view><view class="list data-v-1cf27b2a"><view wx:for="{{y}}" wx:for-item="item" wx:key="b" class="cell data-v-1cf27b2a" bindtap="{{item.c}}">{{item.a}}</view></view></view></view><tab-bar class="data-v-1cf27b2a" u-i="1cf27b2a-9" bind:__l="__l"></tab-bar>
<nav-bar wx:if="{{a}}" class="data-v-1cf27b2a" u-i="1cf27b2a-0" bind:__l="__l" u-p="{{a}}"></nav-bar><view class="page data-v-1cf27b2a"><view class="databox data-v-1cf27b2a"><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{b}}</view><view class="name data-v-1cf27b2a">文章</view></view><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{c}}</view><view class="name data-v-1cf27b2a">视频</view></view><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{d}}</view><view class="name data-v-1cf27b2a">阅读量</view></view></view><view class="kubox data-v-1cf27b2a"><view class="row data-v-1cf27b2a"><up--image wx:if="{{f}}" class="data-v-1cf27b2a" bindclick="{{e}}" u-i="1cf27b2a-1" bind:__l="__l" u-p="{{f}}"></up--image><up--image wx:if="{{h}}" class="data-v-1cf27b2a" bindclick="{{g}}" u-i="1cf27b2a-2" bind:__l="__l" u-p="{{h}}"></up--image></view><view class="row data-v-1cf27b2a" style="margin-top:30rpx"><up--image wx:if="{{j}}" class="data-v-1cf27b2a" bindclick="{{i}}" u-i="1cf27b2a-3" bind:__l="__l" u-p="{{j}}"></up--image><up--image wx:if="{{l}}" class="data-v-1cf27b2a" bindclick="{{k}}" u-i="1cf27b2a-4" bind:__l="__l" u-p="{{l}}"></up--image></view></view><view class="newsbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">最新上线</view><view class="more data-v-1cf27b2a" bindtap="{{n}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{m}}" class="data-v-1cf27b2a" u-i="1cf27b2a-5" bind:__l="__l" u-p="{{m}}"></u-icon></view></view><view class="listbox data-v-1cf27b2a"><view wx:for="{{o}}" wx:for-item="item" wx:key="c" class="cell data-v-1cf27b2a" bindtap="{{item.d}}"><view class="circle data-v-1cf27b2a"></view><view class="info data-v-1cf27b2a"><view class="name data-v-1cf27b2a">{{item.a}}</view><view class="tagsbox data-v-1cf27b2a"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf27b2a">{{tag.a}}</view></view></view></view></view></view><view class="newsbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">最多阅读</view><view class="more data-v-1cf27b2a" bindtap="{{q}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{p}}" class="data-v-1cf27b2a" u-i="1cf27b2a-6" bind:__l="__l" u-p="{{p}}"></u-icon></view></view><view class="listbox data-v-1cf27b2a"><view wx:for="{{r}}" wx:for-item="item" wx:key="c" class="cell data-v-1cf27b2a" bindtap="{{item.d}}"><view class="circle data-v-1cf27b2a"></view><view class="info data-v-1cf27b2a"><view class="name data-v-1cf27b2a">{{item.a}}</view><view class="tagsbox data-v-1cf27b2a"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf27b2a">{{tag.a}}</view></view></view></view></view></view><view class="recbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">医院病例库推荐</view><view class="more data-v-1cf27b2a" bindtap="{{t}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{s}}" class="data-v-1cf27b2a" u-i="1cf27b2a-7" bind:__l="__l" u-p="{{s}}"></u-icon></view></view><view class="list data-v-1cf27b2a"><view wx:for="{{v}}" wx:for-item="item" wx:key="b" class="cell data-v-1cf27b2a" bindtap="{{item.c}}">{{item.a}}</view></view></view><view class="recbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">医生病例库推荐</view><view class="more data-v-1cf27b2a" bindtap="{{x}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{w}}" class="data-v-1cf27b2a" u-i="1cf27b2a-8" bind:__l="__l" u-p="{{w}}"></u-icon></view></view><view class="list data-v-1cf27b2a"><view wx:for="{{y}}" wx:for-item="item" wx:key="b" class="cell data-v-1cf27b2a" bindtap="{{item.c}}">{{item.a}}</view></view></view></view><tab-bar class="data-v-1cf27b2a" u-i="1cf27b2a-9" bind:__l="__l"></tab-bar><view class="publish data-v-1cf27b2a" bindtap="{{A}}"><u-icon wx:if="{{z}}" class="data-v-1cf27b2a" u-i="1cf27b2a-10" bind:__l="__l" u-p="{{z}}"></u-icon></view>
+12
View File
@@ -148,4 +148,16 @@
margin-top: 18rpx;
font-size: 28rpx;
color: #4b5563;
}
.publish.data-v-1cf27b2a {
width: 92rpx;
height: 92rpx;
background: #3CC7C0;
border-radius: 50%;
position: fixed;
right: 30rpx;
bottom: 180rpx;
display: flex;
justify-content: center;
align-items: center;
}
+6 -2
View File
@@ -64,6 +64,10 @@ const _sfc_main = {
keyWord.value = options2.keyWord;
}
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const changetype1 = (e) => {
type1.value = e;
paging.value.reload();
@@ -77,8 +81,8 @@ const _sfc_main = {
return common_vendor.dayjs(date).format("YYYY-MM-DD");
};
const goDetail = (id) => {
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:126", 11111);
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:127", id);
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:129", 11111);
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:130", id);
let type = isArticle.value ? "article" : "video";
utils_navTo.navTo({
url: `/pages/detail/detail?id=${id}&type=${type}`
+4
View File
@@ -110,6 +110,10 @@ const _sfc_main = {
};
common_vendor.onLoad((options) => {
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const formatdate = (date) => {
return common_vendor.dayjs(date).format("YYYY-MM-DD");
};
+104 -97
View File
@@ -10,10 +10,11 @@ if (!Array) {
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup");
const _easycom_up_empty2 = common_vendor.resolveComponent("up-empty");
const _easycom_up_overlay2 = common_vendor.resolveComponent("up-overlay");
const _easycom_up_radio2 = common_vendor.resolveComponent("up-radio");
const _easycom_up_radio_group2 = common_vendor.resolveComponent("up-radio-group");
(_easycom_u_icon2 + _easycom_up__textarea2 + _easycom_up_icon2 + _easycom_up__image2 + _easycom_up_input2 + _easycom_up_popup2 + _easycom_up_overlay2 + _easycom_up_radio2 + _easycom_up_radio_group2)();
(_easycom_u_icon2 + _easycom_up__textarea2 + _easycom_up_icon2 + _easycom_up__image2 + _easycom_up_input2 + _easycom_up_popup2 + _easycom_up_empty2 + _easycom_up_overlay2 + _easycom_up_radio2 + _easycom_up_radio_group2)();
}
const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
const _easycom_up__textarea = () => "../../node-modules/uview-plus/components/u--textarea/u--textarea.js";
@@ -21,11 +22,12 @@ const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
const _easycom_up_input = () => "../../node-modules/uview-plus/components/u-input/u-input.js";
const _easycom_up_popup = () => "../../node-modules/uview-plus/components/u-popup/u-popup.js";
const _easycom_up_empty = () => "../../node-modules/uview-plus/components/u-empty/u-empty.js";
const _easycom_up_overlay = () => "../../node-modules/uview-plus/components/u-overlay/u-overlay.js";
const _easycom_up_radio = () => "../../node-modules/uview-plus/components/u-radio/u-radio.js";
const _easycom_up_radio_group = () => "../../node-modules/uview-plus/components/u-radio-group/u-radio-group.js";
if (!Math) {
(_easycom_u_icon + _easycom_up__textarea + svEditor + _easycom_up_icon + _easycom_up__image + _easycom_up_input + _easycom_up_popup + _easycom_up_overlay + _easycom_up_radio + _easycom_up_radio_group)();
(_easycom_u_icon + _easycom_up__textarea + svEditor + _easycom_up_icon + _easycom_up__image + _easycom_up_input + _easycom_up_popup + _easycom_up_empty + _easycom_up_overlay + _easycom_up_radio + _easycom_up_radio_group)();
}
const svEditor = () => "../../uni_modules/sv-editor/components/sv-editor/sv-editor.js";
const _sfc_main = {
@@ -72,7 +74,7 @@ const _sfc_main = {
common_vendor.ref([]);
const editorCtx = common_vendor.ref(null);
const editorCtxResult = common_vendor.ref(null);
const isFocusInfo = common_vendor.ref(true);
const isFocusInfo = common_vendor.ref(false);
const isFocusResult = common_vendor.ref(false);
const labelList = common_vendor.ref([]);
const goBack = () => {
@@ -80,11 +82,15 @@ const _sfc_main = {
delta: 1
});
};
const openDraftList = () => {
getDraftList();
showDraft.value = true;
};
const closeCase = () => {
showCase.value = false;
};
const epaste = (e) => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:518", e);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:535", e);
};
const addOption = () => {
voteData.case_exchange_vote_option.push({
@@ -120,7 +126,6 @@ const _sfc_main = {
form.case_exchange_vote.valid_day = 7;
};
const saveVote = () => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:553", voteData);
if (voteData.vote_title == "") {
common_vendor.index.showToast({
title: "请输入投票标题",
@@ -142,30 +147,7 @@ const _sfc_main = {
});
return false;
}
for (let i = 0; i < voteData.case_exchange_vote_option.length; i++) {
if (voteData.case_exchange_vote_option[i].option_value == "") {
common_vendor.index.showToast({
title: "投票选项不能为空",
icon: "none"
});
return false;
}
if (voteData.case_exchange_vote_option[i].option_value.length > 16) {
common_vendor.index.showToast({
title: "第" + (i + 1) + "个投票选项超过16个字符",
icon: "none"
});
return false;
}
}
if (voteData.case_exchange_vote_option.length < 2) {
common_vendor.index.showToast({
title: "至少添加两个选项",
icon: "none"
});
return false;
}
Object.assign(form.case_exchange_vote, voteData);
form.case_exchange_vote = voteData;
showVote.value = false;
};
const fromatDay = (value) => {
@@ -178,25 +160,37 @@ const _sfc_main = {
return common_vendor.dayjs(value).format("YYYY-MM-DD");
}
};
const fromatImg = (val) => {
if (val) {
return val.replace(/\<img/gi, '<img class="imgstyle"');
} else {
return "";
}
};
const ready = (e) => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:639", 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);
common_vendor.index.hideKeyboard();
common_vendor.index.pageScrollTo({
scrollTop: 0,
selector: "#form"
// })
});
};
const readyResult = (e) => {
editorCtxResult.value = e;
};
const clearMuBan = () => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:625", "清空模板");
common_vendor.index.__f__("log", "at pages/publish/publish.vue:659", "清空模板");
editorCtx.value.initHtml("");
};
const focusInfo = () => {
isFocusInfo.value = true;
};
const blurInfo = () => {
setTimeout(() => {
isFocusInfo.value = false;
}, 2e3);
isFocusInfo.value = false;
};
const focusResult = () => {
isFocusResult.value = true;
@@ -243,7 +237,7 @@ const _sfc_main = {
isLock.value = true;
const res = await editorCtx.value.getLastContent();
form.exchange_content = res.html;
const resResult = await editorCtx.value.getLastContent();
const resResult = await editorCtxResult.value.getLastContent();
form.exchange_summary = resResult.html;
if (labelList.value.length > 0) {
form.case_exchange_label = labelList.value;
@@ -273,7 +267,7 @@ const _sfc_main = {
labelList.value = exchange_label;
form.exchange_summary = exchange_summary;
form.case_exchange_vote = exchange_vote;
editorCtxResult.value.initHtml(exchange_content);
editorCtxResult.value.initHtml(exchange_summary);
Object.assign(voteData, draft);
showDraft.value = false;
};
@@ -284,6 +278,7 @@ const _sfc_main = {
};
const confirmDel = () => {
showModal.value = false;
common_vendor.index.__f__("log", "at pages/publish/publish.vue:776", delType.value);
if (delType.value == "delDraft") {
delDraft(delId.value);
} else if (delType.value == "saveDraft") {
@@ -310,8 +305,9 @@ const _sfc_main = {
goBack();
} else {
const res = await editorCtx.value.getLastContent();
const initInfo = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p>";
const resContent = await editorCtxResult.value.getLastContent();
if (form.exchange_title || res.html || resContent.html || form.case_exchange_vote && form.case_exchange_vote.vote_title && form.case_exchange_label && form.case_exchange_label.length > 0) {
if (form.exchange_title || res.html != initInfo || resContent.text || form.case_exchange_vote && form.case_exchange_vote.vote_title && form.case_exchange_label && form.case_exchange_label.length > 0) {
delType.value = "saveDraft";
showModal.value = true;
} else {
@@ -320,7 +316,7 @@ const _sfc_main = {
}
};
const publish = async () => {
const initInfo = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
const initInfo = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p>";
if (form.exchange_title == "") {
common_vendor.index.showToast({
title: "请输入标题",
@@ -393,7 +389,7 @@ const _sfc_main = {
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:861", err);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:905", err);
}
});
});
@@ -423,7 +419,7 @@ const _sfc_main = {
return randomNumber;
};
const getImageFormat = (imageUrl) => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:891", imageUrl);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:935", imageUrl);
const lastDotIndex = imageUrl.lastIndexOf(".");
if (lastDotIndex !== -1) {
return imageUrl.substring(lastDotIndex + 1);
@@ -455,7 +451,7 @@ const _sfc_main = {
//从相册选择
extension: [".mp4", ".webm", ".ogg"],
success: function(res) {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:918", res.tempFilePath);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:962", res.tempFilePath);
HandleAddVideo(res.tempFilePath);
}
});
@@ -493,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:960", editorCtx2);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1004", editorCtx2);
let imgUrl = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
const fileThumbnail = await editorCtx2.createCoverThumbnail(
imgUrl
@@ -507,7 +503,7 @@ const _sfc_main = {
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:975", err);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1019", err);
}
});
});
@@ -529,7 +525,7 @@ const _sfc_main = {
};
const getCaseLabel = (lev, pid = 0) => {
api_api.api.getCaseLabel({
pid
pId: pid
}).then((res) => {
if (lev == 1) {
labelObj.list1 = res.data.data;
@@ -557,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:1025", label);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1069", label);
labelList.value.push({
app_iden: label.app_iden,
label_name: label.label_name
@@ -609,7 +605,6 @@ const _sfc_main = {
getCaseLabel(1, 0);
};
common_vendor.onLoad(() => {
getDraftList();
});
return (_ctx, _cache) => {
return common_vendor.e({
@@ -687,7 +682,7 @@ const _sfc_main = {
}),
B: !isFocusInfo.value ? 1 : "",
C: common_vendor.o(alertTitle),
D: common_vendor.o(($event) => showDraft.value = true),
D: common_vendor.o(openDraftList),
E: common_vendor.p({
src: common_vendor.unref(common_assets.voteImg),
width: "47rpx",
@@ -748,16 +743,27 @@ const _sfc_main = {
size: "20"
}),
Y: common_vendor.o(closeDraft),
Z: common_vendor.f(draftList.value, (item, index, i0) => {
Z: draftList.value.length == 0
}, draftList.value.length == 0 ? {
aa: common_vendor.p({
marginTop: "120rpx",
text: "草稿箱为空",
mode: "list",
icon: common_vendor.unref(common_assets.draftImg)
})
} : {}, {
ab: draftList.value.length > 0
}, draftList.value.length > 0 ? {
ac: 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
}, item.exchange_content ? {
c: item.exchange_content
c: fromatImg(item.exchange_content)
} : item.exchange_summary ? common_vendor.e({
e: item.exchange_summary
}, item.exchange_summary ? {
f: item.exchange_summary
f: fromatImg(item.exchange_summary)
} : {}) : item.exchange_label && item.exchange_label.length > 0 ? common_vendor.e({
h: item.exchange_summary
}, item.exchange_summary ? {} : {}, {
@@ -774,74 +780,75 @@ 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-18-" + i0 + ",bfce3555-16",
m: "bfce3555-19-" + i0 + ",bfce3555-16",
n: common_vendor.o(($event) => willDelDraft(item.draft_id), item.draft_id),
o: "bfce3555-19-" + i0 + ",bfce3555-16",
o: "bfce3555-20-" + i0 + ",bfce3555-16",
p: common_vendor.o(($event) => editDraft(index), item.draft_id),
q: item.draft_id
});
}),
aa: common_vendor.p({
ad: common_vendor.p({
name: "trash",
color: "#4B5563",
size: "16"
}),
ab: common_vendor.p({
ae: common_vendor.p({
name: "edit-pen",
color: "#fff",
size: "17"
}),
ac: common_vendor.o(closeDraft),
ad: common_vendor.o(openDraft),
ae: common_vendor.p({
})
} : {}, {
af: common_vendor.o(closeDraft),
ag: common_vendor.o(openDraft),
ah: common_vendor.p({
round: 10,
zIndex: "9",
show: showDraft.value,
mode: "bottom"
}),
af: common_vendor.p({
ai: common_vendor.p({
name: "close",
color: "#4B5563",
size: "20"
}),
ag: common_vendor.o(closeTitle),
ah: common_vendor.o(insertAllWord),
ai: common_vendor.p({
aj: common_vendor.o(closeTitle),
ak: common_vendor.o(insertAllWord),
al: common_vendor.p({
name: "plus-circle",
color: "#3CC7C0",
size: "20"
}),
aj: common_vendor.o(insertAllWord),
ak: common_vendor.o(($event) => insertWord("患者信息")),
al: common_vendor.o(($event) => insertWord("主诉")),
am: common_vendor.o(($event) => insertWord("现病史及既往史")),
an: common_vendor.o(($event) => insertWord("检查")),
ao: common_vendor.o(($event) => insertWord("临床诊断")),
ap: common_vendor.o(($event) => insertWord("治疗经过及结果")),
aq: common_vendor.o(closeTitle),
ar: common_vendor.o(openTitle),
as: common_vendor.p({
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({
round: 10,
zIndex: "9",
show: showTitle.value,
mode: "bottom"
}),
at: delType.value == "delDraft"
ax: delType.value == "delDraft"
}, delType.value == "delDraft" ? {} : delType.value == "saveDraft" ? {} : {}, {
av: delType.value == "saveDraft",
aw: common_vendor.o(cancelDel),
ax: common_vendor.o(confirmDel),
ay: common_vendor.p({
ay: delType.value == "saveDraft",
az: common_vendor.o(cancelDel),
aA: common_vendor.o(confirmDel),
aB: common_vendor.p({
show: showModal.value,
["mask-click-able"]: true
}),
az: common_vendor.o(($event) => showCase.value = false),
aA: common_vendor.o(continueCase),
aB: level.value != 3,
aC: common_vendor.o(confirmCase),
aD: common_vendor.f(labelObj.list1, (item, k0, i0) => {
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-26-" + i0 + ",bfce3555-25",
a: "bfce3555-27-" + i0 + ",bfce3555-26",
b: common_vendor.p({
activeColor: "#3CC7C0 ",
label: item.label_name,
@@ -850,16 +857,16 @@ const _sfc_main = {
c: item.app_iden
};
}),
aE: common_vendor.o(($event) => caseValue1.value = $event),
aF: common_vendor.p({
aH: common_vendor.o(($event) => caseValue1.value = $event),
aI: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: caseValue1.value
}),
aG: level.value == 1,
aH: common_vendor.f(labelObj.list2, (item, k0, i0) => {
aJ: level.value == 1,
aK: common_vendor.f(labelObj.list2, (item, k0, i0) => {
return {
a: "bfce3555-28-" + i0 + ",bfce3555-27",
a: "bfce3555-29-" + i0 + ",bfce3555-28",
b: common_vendor.p({
activeColor: "#3CC7C0 ",
label: item.label_name,
@@ -868,16 +875,16 @@ const _sfc_main = {
c: item.app_iden
};
}),
aI: common_vendor.o(($event) => caseValue2.value = $event),
aJ: common_vendor.p({
aL: common_vendor.o(($event) => caseValue2.value = $event),
aM: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: caseValue2.value
}),
aK: level.value == 2,
aL: common_vendor.f(labelObj.list2, (item, k0, i0) => {
aN: level.value == 2,
aO: common_vendor.f(labelObj.list3, (item, k0, i0) => {
return {
a: "bfce3555-30-" + i0 + ",bfce3555-29",
a: "bfce3555-31-" + i0 + ",bfce3555-30",
b: common_vendor.p({
activeColor: "#3CC7C0 ",
label: item.label_name,
@@ -886,15 +893,15 @@ const _sfc_main = {
c: item.app_iden
};
}),
aM: common_vendor.o(($event) => caseValue3.value = $event),
aN: common_vendor.p({
aP: common_vendor.o(($event) => caseValue3.value = $event),
aQ: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: caseValue3.value
}),
aO: level.value == 3,
aP: common_vendor.o(closeCase),
aQ: common_vendor.p({
aR: level.value == 3,
aS: common_vendor.o(closeCase),
aT: common_vendor.p({
round: 10,
zIndex: "9",
show: showCase.value,
@@ -8,6 +8,7 @@
"up--image": "../../node-modules/uview-plus/components/u--image/u--image",
"up-input": "../../node-modules/uview-plus/components/u-input/u-input",
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup",
"up-empty": "../../node-modules/uview-plus/components/u-empty/u-empty",
"up-overlay": "../../node-modules/uview-plus/components/u-overlay/u-overlay",
"up-radio": "../../node-modules/uview-plus/components/u-radio/u-radio",
"up-radio-group": "../../node-modules/uview-plus/components/u-radio-group/u-radio-group",
File diff suppressed because one or more lines are too long
+31 -3
View File
@@ -26,7 +26,7 @@
.casepop.data-v-bfce3555 {
display: flex;
flex-direction: column;
max-height: calc(100vh - 750rpx);
max-height: calc(100vh - 400rpx);
}
.casepop .continue.data-v-bfce3555 {
color: #2878ff !important;
@@ -35,7 +35,16 @@
flex: 1;
overflow-y: scroll;
padding-top: 10rpx;
max-height: calc(100vh - 700rpx);
min-height: 350rpx;
padding-bottom: 20rpx;
}
.casecon.data-v-bfce3555 .u-radio {
margin-bottom: 10px !important;
margin-top: 0px !important;
}
.casecon .casePadding.data-v-bfce3555 {
padding-bottom: 0rpx;
}
.casecon .column.data-v-bfce3555 {
padding: 0 30rpx;
@@ -246,7 +255,7 @@
font-size: 24rpx;
}
#editor.data-v-bfce3555 {
padding: 0 30rpx;
padding: 0 10rpx;
height: calc(100vh - 700rpx);
}
#editorRes.data-v-bfce3555 {
@@ -581,7 +590,7 @@
}
.form .sickbox.data-v-bfce3555 {
display: flex;
padding: 25rpx 25rpx 0;
padding: 25rpx 25rpx 10rpx;
margin-bottom: 20rpx;
}
.form .add.data-v-bfce3555 {
@@ -646,4 +655,23 @@
align-items: center;
color: #6b7280;
font-size: 31rpx;
}
.data-v-bfce3555 .ql-container {
padding-bottom: 25rpx;
height: calc(100vh - 700rpx);
}
.data-v-bfce3555 .ql-container img {
max-width: 100%;
position: relative;
left: 50%;
transform: translateX(-50%);
}
.data-v-bfce3555 .ql-container image {
max-width: 100%;
position: relative;
left: 50%;
transform: translateX(-50%);
}
.con.data-v-bfce3555 .imgstyle {
max-width: 100%;
}
+10 -6
View File
@@ -53,7 +53,7 @@ const _sfc_main = {
value: "desc"
}
]);
const isSearch = common_vendor.ref(false);
const isSearch = common_vendor.ref(true);
const order = common_vendor.reactive({
read_num: "",
push_date: ""
@@ -173,13 +173,17 @@ const _sfc_main = {
canOpenCase.value = true;
}
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const changeDate = (e) => {
common_vendor.index.__f__("log", "at pages/search/search.vue:317", e);
common_vendor.index.__f__("log", "at pages/search/search.vue:320", e);
order.read_num = "";
paging.value.reload();
};
const changeRead = (e) => {
common_vendor.index.__f__("log", "at pages/search/search.vue:322", e);
common_vendor.index.__f__("log", "at pages/search/search.vue:325", e);
order.push_date = "";
paging.value.reload();
};
@@ -187,7 +191,7 @@ const _sfc_main = {
return common_vendor.dayjs(date).format("YYYY-MM-DD");
};
const goDetail = (id, isLink, src) => {
common_vendor.index.__f__("log", "at pages/search/search.vue:330", isLink);
common_vendor.index.__f__("log", "at pages/search/search.vue:333", isLink);
if (isLink == 1) {
utils_navTo.navTo({
url: `/pages/web/web?src=${src}`
@@ -325,7 +329,7 @@ const _sfc_main = {
});
};
const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/search/search.vue:478", 666666);
common_vendor.index.__f__("log", "at pages/search/search.vue:481", 666666);
const params = {
page: pageNo,
page_size: pageSize
@@ -472,7 +476,7 @@ const _sfc_main = {
modelValue: caseValue2.value
}),
T: level.value == 2,
U: common_vendor.f(labelObj.list2, (item, k0, i0) => {
U: common_vendor.f(labelObj.list3, (item, k0, i0) => {
return {
a: "c10c040c-16-" + i0 + ",c10c040c-15",
b: common_vendor.p({
File diff suppressed because one or more lines are too long
+7 -1
View File
@@ -121,10 +121,16 @@
}
.casecon.data-v-c10c040c {
flex: 1;
max-height: calc(100vh - 800rpx);
overflow-y: scroll;
padding-top: 10rpx;
padding-top: 22rpx;
padding-bottom: 20rpx;
min-height: 350rpx;
}
.casecon.data-v-c10c040c .u-radio {
margin-bottom: 10px !important;
margin-top: 0px !important;
}
.casecon .column.data-v-c10c040c {
padding: 0 30rpx;
border-bottom: 2rpx solid #e5e7eb;
@@ -62,6 +62,10 @@ const _sfc_main = {
order.read_num = "desc";
}
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const change = (e) => {
paging.value.reload();
};
@@ -135,7 +139,7 @@ const _sfc_main = {
});
};
const changeWord = (value) => {
common_vendor.index.__f__("log", "at pages/searchList/searchList.vue:259", value);
common_vendor.index.__f__("log", "at pages/searchList/searchList.vue:262", value);
if (value) {
navName.value = value + "临床病例库";
keyWord.value = value;
+8 -4
View File
@@ -62,13 +62,17 @@ const _sfc_main = {
order.article_num = "desc";
}
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const changeDate = (e) => {
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:136", e);
order.read_num = "";
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:139", e);
order.article_num = "";
paging.value.reload();
};
const changeRead = (e) => {
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:141", e);
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:144", e);
order.push_date = "";
paging.value.reload();
};
@@ -112,7 +116,7 @@ const _sfc_main = {
});
};
const changeWord = (value) => {
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:191", value);
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:194", value);
if (value) {
navName.value = value + "临床病例库";
keyWord.value = value;
@@ -59,13 +59,17 @@ const _sfc_main = {
is_selected.value = options2.is_selected;
}
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const changeDate = (e) => {
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:201", e);
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:205", e);
order.read_num = "";
paging.value.reload();
};
const changeRead = (e) => {
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:206", e);
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:210", e);
order.push_date = "";
paging.value.reload();
};
@@ -88,7 +92,7 @@ const _sfc_main = {
});
};
const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:228", 666666);
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:232", 666666);
const params = {
page: pageNo,
page_size: pageSize
+9 -5
View File
@@ -80,13 +80,17 @@ const _sfc_main = {
getStaticDoctor(hospital_id.value);
}
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const changeDate = (e) => {
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:156", e);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:159", e);
order.read_num = "";
paging.value.reload();
};
const changeRead = (e) => {
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:161", e);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:164", e);
order.push_date = "";
paging.value.reload();
};
@@ -94,8 +98,8 @@ const _sfc_main = {
return common_vendor.dayjs(date).format("YYYY-MM-DD");
};
const goDetail = (id) => {
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:169", 11111);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:170", id);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:172", 11111);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:173", id);
let type = isArticle.value ? "article" : "video";
utils_navTo.navTo({
url: `/pages/detail/detail?id=${id}&type=${type}`
@@ -168,7 +172,7 @@ const _sfc_main = {
});
};
const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:245", 666666);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:248", 666666);
const params = {
page: pageNo,
page_size: pageSize