111117.29
This commit is contained in:
+9
-3
@@ -17,10 +17,10 @@ const api = {
|
||||
return utils_request.request("/clinical/stats", data, "get", true);
|
||||
},
|
||||
getArticleDetail(id) {
|
||||
return utils_request.request("/clinical/article/" + id, {}, "get", true);
|
||||
return utils_request.request("/clinical/article/" + id, {}, "get", false);
|
||||
},
|
||||
getVideoDetail(id) {
|
||||
return utils_request.request("/clinical/video/" + id, {}, "get", true);
|
||||
return utils_request.request("/clinical/video/" + id, {}, "get", false);
|
||||
},
|
||||
collectArticle(id) {
|
||||
return utils_request.request("/clinical/article/collect/" + id, {}, "post", false);
|
||||
@@ -34,6 +34,12 @@ const api = {
|
||||
cancelCollectVideo(id) {
|
||||
return utils_request.request("/clinical/video/collect/" + id, {}, "delete", false);
|
||||
},
|
||||
collectExchange(id) {
|
||||
return utils_request.request("/exchange/collect/" + id, {}, "post", false);
|
||||
},
|
||||
cancelCollectExchange(id) {
|
||||
return utils_request.request("/exchange/collect/" + id, {}, "delete", false);
|
||||
},
|
||||
addVideoComment(id, data) {
|
||||
return utils_request.request("/clinical/video/comment/" + id, data, "post", false, "application/json");
|
||||
},
|
||||
@@ -101,7 +107,7 @@ const api = {
|
||||
return utils_request.request("/exchange/list", data, "post", true, "application/json");
|
||||
},
|
||||
getExchangeDetail(id) {
|
||||
return utils_request.request("/exchange/" + id, {}, "get", true);
|
||||
return utils_request.request("/exchange/" + id, {}, "get", false);
|
||||
},
|
||||
getExchangeVote(id) {
|
||||
return utils_request.request("/exchange/vote/" + id, {}, "get", false);
|
||||
|
||||
+9
@@ -10,6 +10,9 @@ wx-button:after{
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
}
|
||||
.back{
|
||||
padding:15rpx;
|
||||
}
|
||||
.ellipsis-one-lines {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
@@ -21,4 +24,10 @@ wx-button:after{
|
||||
.u-steps-item__line{
|
||||
height:36px!important;
|
||||
}
|
||||
.casesdown.active{
|
||||
color:#3CC7C0!important;
|
||||
}
|
||||
.u-dropdown__menu__item__arrow--rotate .uicon-arrow-down{
|
||||
color: #3cc7c0 !important;
|
||||
}
|
||||
page{--status-bar-height:25px;--top-window-height:0px;--window-top:0px;--window-bottom:0px;--window-left:0px;--window-right:0px;--window-magin:0px}[data-c-h="true"]{display: none !important;}
|
||||
+1
-1
@@ -7319,7 +7319,7 @@ function isConsoleWritable() {
|
||||
function initRuntimeSocketService() {
|
||||
const hosts = "192.168.100.165,127.0.0.1";
|
||||
const port = "8090";
|
||||
const id = "mp-weixin_zuZz4c";
|
||||
const id = "mp-weixin_i5is0s";
|
||||
const lazy = typeof swan !== "undefined";
|
||||
let restoreError = lazy ? () => {
|
||||
} : initOnError();
|
||||
|
||||
@@ -45,6 +45,8 @@ const _sfc_main = {
|
||||
placeholder.value = "搜索疾病、症状、医院";
|
||||
} else if (newVal === "case") {
|
||||
placeholder.value = "请输入疾病名称";
|
||||
} else if (newVal === "myCase") {
|
||||
placeholder.value = "输入疾病名称、标题搜索";
|
||||
}
|
||||
}, { immediate: true });
|
||||
common_vendor.watch(() => props.searchWord, (newVal) => {
|
||||
|
||||
@@ -0,0 +1,392 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const utils_throttle = require("../../utils/throttle.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
const uni_modules_svEditor_components_common_utils = require("../../uni_modules/sv-editor/components/common/utils.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
||||
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup");
|
||||
(_easycom_u_icon2 + _easycom_up__image2 + _easycom_up_icon2 + _easycom_up_popup2)();
|
||||
}
|
||||
const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
|
||||
const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_up_popup = () => "../../node-modules/uview-plus/components/u-popup/u-popup.js";
|
||||
if (!Math) {
|
||||
(_easycom_u_icon + svEditor + _easycom_up__image + _easycom_up_icon + _easycom_up_popup)();
|
||||
}
|
||||
const svEditor = () => "../../uni_modules/sv-editor/components/sv-editor/sv-editor.js";
|
||||
const _sfc_main = {
|
||||
__name: "pEditor",
|
||||
props: {
|
||||
editorType: {
|
||||
type: String,
|
||||
default: "info"
|
||||
},
|
||||
editorCotent: {
|
||||
type: String,
|
||||
default: ""
|
||||
}
|
||||
},
|
||||
emits: ["closeEditor", "changeEditor"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const editorCtx = common_vendor.ref(null);
|
||||
const keyboardHeight = common_vendor.ref(0);
|
||||
const editorHeight = common_vendor.ref(300);
|
||||
common_vendor.ref("病例信息");
|
||||
const placeholder = common_vendor.ref("患者基本情况,检查结果,诊疗图片或视频");
|
||||
const showTitle = common_vendor.ref(false);
|
||||
const props = __props;
|
||||
common_vendor.watch(() => props.editorType, (newVal) => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:162", 11111111);
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:163", newVal);
|
||||
if (newVal == "info") {
|
||||
placeholder.value = "患者基本情况,检查结果,诊疗图片或视频";
|
||||
} else {
|
||||
placeholder.value = "分享经验和心得,如:诊断与鉴别诊断易错点,治疗过程难点,病例的相关知识总结及讨论等";
|
||||
}
|
||||
}, { immediate: true });
|
||||
const emits = __emit;
|
||||
const isIOS = common_vendor.ref(false);
|
||||
const insertWord = (word) => {
|
||||
uni_modules_svEditor_components_common_utils.addText(word);
|
||||
showTitle.value = false;
|
||||
};
|
||||
const insertAllWord = () => {
|
||||
let word = [
|
||||
"患者信息",
|
||||
"主诉",
|
||||
"现病史及既往史:",
|
||||
"检查",
|
||||
"临床诊断",
|
||||
"治疗经过及结果"
|
||||
];
|
||||
word.forEach((item) => {
|
||||
uni_modules_svEditor_components_common_utils.addText(item);
|
||||
});
|
||||
showTitle.value = false;
|
||||
};
|
||||
const ready = (e) => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:191", e);
|
||||
editorCtx.value = e;
|
||||
if (props.editorType == "info") {
|
||||
if (props.editorCotent) {
|
||||
editorCtx.value.initHtml(props.editorCotent, async (videoUrl) => {
|
||||
let res = "";
|
||||
const fox = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||
res = await editorCtx.value.createCoverThumbnail(fox);
|
||||
showEditor.value = false;
|
||||
return res;
|
||||
});
|
||||
} else {
|
||||
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);
|
||||
}
|
||||
} else {
|
||||
if (props.editorCotent) {
|
||||
editorCtx.value.initHtml(props.editorCotent, async (videoUrl) => {
|
||||
let res = "";
|
||||
const fox = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||
res = await editorCtx.value.createCoverThumbnail(fox);
|
||||
showEditor.value = false;
|
||||
return res;
|
||||
});
|
||||
} else {
|
||||
let html = "";
|
||||
editorCtx.value.initHtml(html);
|
||||
}
|
||||
}
|
||||
common_vendor.index.hideLoading();
|
||||
};
|
||||
const closeSv = utils_throttle.throttle(() => {
|
||||
emits("closeEditor");
|
||||
});
|
||||
const confirm = async () => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:246", "qqq");
|
||||
const res = await editorCtx.value.getLastContent();
|
||||
emits("changeEditor", {
|
||||
type: props.editorType,
|
||||
content: res.html
|
||||
});
|
||||
};
|
||||
const blur = () => {
|
||||
};
|
||||
const clearMuBan = () => {
|
||||
editorCtx.value.initHtml("");
|
||||
};
|
||||
const updatePosition = (c_keyboardHeight) => {
|
||||
const toolbarHeight = 50;
|
||||
const { windowHeight, platform } = common_vendor.index.getSystemInfoSync();
|
||||
let c_editorHeight = keyboardHeight > 0 ? windowHeight - keyboardHeight - toolbarHeight : windowHeight;
|
||||
editorHeight.value = c_editorHeight;
|
||||
keyboardHeight.value = c_keyboardHeight;
|
||||
};
|
||||
common_vendor.onLoad(() => {
|
||||
const platform = common_vendor.index.getSystemInfoSync().platform;
|
||||
isIOS.value = platform === "ios";
|
||||
updatePosition(0);
|
||||
let keyboardHeight2 = 0;
|
||||
common_vendor.index.onKeyboardHeightChange((res) => {
|
||||
if (res.height === keyboardHeight2)
|
||||
return;
|
||||
const duration = res.height > 0 ? res.duration * 1e3 : 0;
|
||||
keyboardHeight2 = res.height;
|
||||
setTimeout(() => {
|
||||
common_vendor.index.pageScrollTo({
|
||||
scrollTop: 0,
|
||||
success() {
|
||||
updatePosition(keyboardHeight2);
|
||||
editorCtx.value.scrollView();
|
||||
}
|
||||
});
|
||||
}, duration);
|
||||
});
|
||||
});
|
||||
const generateRandomNumber = () => {
|
||||
let randomNumber = Math.floor(1e3 + Math.random() * 9e3);
|
||||
return randomNumber;
|
||||
};
|
||||
const getImageFormat = (imageUrl) => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:297", imageUrl);
|
||||
const lastDotIndex = imageUrl.lastIndexOf(".");
|
||||
if (lastDotIndex !== -1) {
|
||||
return imageUrl.substring(lastDotIndex + 1);
|
||||
}
|
||||
return "unknown";
|
||||
};
|
||||
const handleUpload = (file) => {
|
||||
api_api.api.getOss({
|
||||
scene: 1
|
||||
}).then((rep) => {
|
||||
let result = rep.data;
|
||||
if (result.code == 200) {
|
||||
let { access_id, dir, policy, signature, host } = result.data;
|
||||
let time = common_vendor.dayjs().format("YYYYMMDDHHmmss");
|
||||
let random = generateRandomNumber();
|
||||
let filename = time + random;
|
||||
let imgType = "." + getImageFormat(file);
|
||||
return new Promise((resolve, reject) => {
|
||||
common_vendor.index.uploadFile({
|
||||
url: host,
|
||||
// 仅为示例,非真实的接口地址
|
||||
filePath: file,
|
||||
name: "file",
|
||||
formData: {
|
||||
OSSAccessKeyId: access_id,
|
||||
policy,
|
||||
key: dir + time + random + imgType,
|
||||
signature
|
||||
},
|
||||
success(res) {
|
||||
if (res.statusCode === 204) {
|
||||
let url = host + "/" + dir + filename + imgType;
|
||||
uni_modules_svEditor_components_common_utils.addImage([url]);
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:337", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
const pFun = (files) => {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在上传图片...",
|
||||
mask: true
|
||||
});
|
||||
let promiseFun = [];
|
||||
for (let i = 0; i < files.length; i++) {
|
||||
promiseFun.push(handleUpload(files[i]));
|
||||
}
|
||||
Promise.all(promiseFun).then((res) => {
|
||||
common_vendor.index.hideLoading();
|
||||
});
|
||||
};
|
||||
const insertImage = (file) => {
|
||||
common_vendor.index.chooseImage({
|
||||
count: 9,
|
||||
//默认9
|
||||
sizeType: ["original", "compressed"],
|
||||
//可以指定是原图还是压缩图,默认二者都有
|
||||
sourceType: ["album"],
|
||||
//从相册选择
|
||||
extension: [".jpg", ".png", ".jpeg"],
|
||||
success: function(res) {
|
||||
pFun(res.tempFilePaths);
|
||||
}
|
||||
});
|
||||
};
|
||||
const HandleAddVideo = async (file) => {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在上传视频...",
|
||||
mask: true
|
||||
});
|
||||
const videos = await uni_modules_svEditor_components_common_utils.addVideo(async (editorCtx2) => {
|
||||
return new Promise((resolve) => {
|
||||
api_api.api.getOss({
|
||||
scene: 2
|
||||
}).then((rep) => {
|
||||
let result = rep.data;
|
||||
if (result.code == 200) {
|
||||
let { access_id, dir, policy, signature, host } = result.data;
|
||||
let time = common_vendor.dayjs().format("YYYYMMDDHHmmss");
|
||||
let random = generateRandomNumber();
|
||||
let filename = time + random;
|
||||
let imgType = "." + getImageFormat(file);
|
||||
return new Promise((res, reject) => {
|
||||
common_vendor.index.uploadFile({
|
||||
url: host,
|
||||
// 仅为示例,非真实的接口地址
|
||||
filePath: file,
|
||||
name: "file",
|
||||
formData: {
|
||||
OSSAccessKeyId: access_id,
|
||||
policy,
|
||||
key: dir + time + random + imgType,
|
||||
signature
|
||||
},
|
||||
async success(res2) {
|
||||
if (res2.statusCode === 204) {
|
||||
let url = host + "/" + dir + filename + imgType;
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:410", editorCtx2);
|
||||
let imgUrl = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||
const fileThumbnail = await editorCtx2.createCoverThumbnail(
|
||||
imgUrl
|
||||
);
|
||||
resolve([
|
||||
{
|
||||
videoUrl: url,
|
||||
videoImg: fileThumbnail
|
||||
}
|
||||
]);
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:425", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
if (videos) {
|
||||
common_vendor.index.showLoading();
|
||||
common_vendor.index.showToast({ title: "添加视频成功", icon: "none" });
|
||||
} else {
|
||||
common_vendor.index.showToast({ title: "添加视频失败", icon: "none" });
|
||||
}
|
||||
};
|
||||
const insertVideo = (file) => {
|
||||
common_vendor.index.chooseVideo({
|
||||
count: 5,
|
||||
//默认9//可以指定是原图还是压缩图,默认二者都有
|
||||
sourceType: ["album"],
|
||||
//从相册选择
|
||||
extension: [".mp4", ".webm", ".ogg"],
|
||||
success: function(res) {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:447", res.tempFilePath);
|
||||
HandleAddVideo(res.tempFilePath);
|
||||
}
|
||||
});
|
||||
};
|
||||
const closeTitle = () => {
|
||||
showTitle.value = false;
|
||||
};
|
||||
const openTitle = () => {
|
||||
showTitle.value = true;
|
||||
};
|
||||
const alertTitle = () => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:461", "qqqqqq");
|
||||
showTitle.value = true;
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
name: "arrow-left",
|
||||
color: "#000",
|
||||
size: "24"
|
||||
}),
|
||||
b: common_vendor.o((...args) => common_vendor.unref(closeSv) && common_vendor.unref(closeSv)(...args)),
|
||||
c: common_vendor.t(__props.editorType == "info" ? "病例信息" : "总结与讨论"),
|
||||
d: common_vendor.t(__props.editorType == "info" ? "病例信息" : "总结与讨论"),
|
||||
e: __props.editorType == "info"
|
||||
}, __props.editorType == "info" ? {
|
||||
f: common_vendor.p({
|
||||
name: "trash",
|
||||
color: "#6B7280",
|
||||
size: "18"
|
||||
}),
|
||||
g: common_vendor.o(clearMuBan)
|
||||
} : {}, {
|
||||
h: common_vendor.o(ready),
|
||||
i: common_vendor.o(_ctx.focus),
|
||||
j: common_vendor.o(blur),
|
||||
k: common_vendor.p({
|
||||
placeholder: placeholder.value,
|
||||
eid: "peditor",
|
||||
pasteMode: "origin"
|
||||
}),
|
||||
l: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.photoImg),
|
||||
width: "32rpx",
|
||||
height: "32rpx"
|
||||
}),
|
||||
m: common_vendor.o(insertImage),
|
||||
n: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.videoImg$1),
|
||||
width: "32rpx",
|
||||
height: "32rpx"
|
||||
}),
|
||||
o: common_vendor.o(insertVideo),
|
||||
p: __props.editorType == "info"
|
||||
}, __props.editorType == "info" ? {
|
||||
q: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.addImg),
|
||||
width: "32rpx",
|
||||
height: "32rpx"
|
||||
}),
|
||||
r: common_vendor.o(alertTitle)
|
||||
} : {}, {
|
||||
s: common_vendor.o(confirm),
|
||||
t: keyboardHeight.value > 0,
|
||||
v: isIOS.value ? keyboardHeight.value : "0px",
|
||||
w: common_vendor.p({
|
||||
name: "close",
|
||||
color: "#4B5563",
|
||||
size: "20"
|
||||
}),
|
||||
x: common_vendor.o(closeTitle),
|
||||
y: common_vendor.o(insertAllWord),
|
||||
z: common_vendor.p({
|
||||
name: "plus-circle",
|
||||
color: "#3CC7C0",
|
||||
size: "20"
|
||||
}),
|
||||
A: common_vendor.o(insertAllWord),
|
||||
B: common_vendor.o(($event) => insertWord("患者信息")),
|
||||
C: common_vendor.o(($event) => insertWord("主诉")),
|
||||
D: common_vendor.o(($event) => insertWord("现病史及既往史")),
|
||||
E: common_vendor.o(($event) => insertWord("检查")),
|
||||
F: common_vendor.o(($event) => insertWord("临床诊断")),
|
||||
G: common_vendor.o(($event) => insertWord("治疗经过及结果")),
|
||||
H: common_vendor.o(closeTitle),
|
||||
I: common_vendor.o(openTitle),
|
||||
J: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "999999",
|
||||
show: showTitle.value,
|
||||
mode: "bottom"
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-a6a7913a"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/pEditor/pEditor.js.map
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||
"up--image": "../../node-modules/uview-plus/components/u--image/u--image",
|
||||
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup",
|
||||
"sv-editor": "../../uni_modules/sv-editor/components/sv-editor/sv-editor"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="page data-v-a6a7913a"><view class="navbox data-v-a6a7913a"><view class="bg data-v-a6a7913a"></view><view class="namebox data-v-a6a7913a"><view class="back data-v-a6a7913a" bindtap="{{b}}"><u-icon wx:if="{{a}}" class="data-v-a6a7913a" u-i="a6a7913a-0" bind:__l="__l" u-p="{{a}}"></u-icon></view><view class="name data-v-a6a7913a">{{c}}</view></view></view><view class="container data-v-a6a7913a"><view class="row data-v-a6a7913a"><view class="left data-v-a6a7913a">{{d}}</view><view wx:if="{{e}}" class="right data-v-a6a7913a" bindtap="{{g}}"><u-icon wx:if="{{f}}" class="data-v-a6a7913a" u-i="a6a7913a-1" bind:__l="__l" u-p="{{f}}"></u-icon> 清除模板 </view></view><view class="editorbox data-v-a6a7913a"><sv-editor wx:if="{{k}}" class="ql-container data-v-a6a7913a" bindready="{{h}}" bindfocus="{{i}}" bindblur="{{j}}" u-i="a6a7913a-2" bind:__l="__l" u-p="{{k}}"></sv-editor></view></view><view class="toolbar data-v-a6a7913a" hidden="{{!t}}" style="{{'bottom:' + v}}"><view class="toolbox data-v-a6a7913a"><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{m}}"><up--image wx:if="{{l}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-3" bind:__l="__l" u-p="{{l}}"></up--image><view class="name data-v-a6a7913a">添加图片</view></view><view class="cell data-v-a6a7913a" bindtap="{{o}}"><up--image wx:if="{{n}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-4" bind:__l="__l" u-p="{{n}}"></up--image><view class="name data-v-a6a7913a">添加视频</view></view><view wx:if="{{p}}" class="cell data-v-a6a7913a" bindtap="{{r}}"><up--image wx:if="{{q}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-5" bind:__l="__l" u-p="{{q}}"></up--image><view class="name data-v-a6a7913a">添加小标题</view></view></view><view class="btn data-v-a6a7913a" bindtap="{{s}}">确定</view></view></view><up-popup wx:if="{{J}}" class="data-v-a6a7913a" u-s="{{['d']}}" bindclose="{{H}}" bindopen="{{I}}" u-i="a6a7913a-6" bind:__l="__l" u-p="{{J}}"><view class="draftpop titlepop data-v-a6a7913a"><view class="titlebox data-v-a6a7913a">添加小标题 <view class="close data-v-a6a7913a" bindtap="{{x}}"><up-icon wx:if="{{w}}" class="data-v-a6a7913a" u-i="a6a7913a-7,a6a7913a-6" bind:__l="__l" u-p="{{w}}"></up-icon></view></view><view class="con data-v-a6a7913a"><view class="top data-v-a6a7913a"><up-icon wx:if="{{z}}" class="data-v-a6a7913a" bindclick="{{y}}" u-i="a6a7913a-8,a6a7913a-6" bind:__l="__l" u-p="{{z}}"></up-icon><view class="desc data-v-a6a7913a" bindtap="{{A}}">一键添加全部</view></view><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{B}}">患者信息</view><view class="cell data-v-a6a7913a" bindtap="{{C}}">主诉</view><view class="cell data-v-a6a7913a" bindtap="{{D}}">现病史及既往史</view></view><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{E}}">检查</view><view class="cell data-v-a6a7913a" bindtap="{{F}}">临床诊断</view><view class="cell data-v-a6a7913a" bindtap="{{G}}">治疗经过及结果</view></view></view></view></up-popup></view>
|
||||
@@ -0,0 +1,293 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.row.data-v-a6a7913a {
|
||||
padding: 30rpx 30rpx 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.row .left.data-v-a6a7913a {
|
||||
font-size: 38rpx;
|
||||
color: #000000;
|
||||
}
|
||||
.row .right.data-v-a6a7913a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #6b7280;
|
||||
font-size: 31rpx;
|
||||
}
|
||||
.navbox.data-v-a6a7913a {
|
||||
padding-bottom: 20rpx;
|
||||
background-color: #f9fafb;
|
||||
position: relative;
|
||||
height: 200rpx;
|
||||
background: radial-gradient(60% 90% at 4% 2%, #43c9c3 0%, rgba(255, 255, 255, 0) 100%);
|
||||
}
|
||||
.navbox .bg.data-v-a6a7913a {
|
||||
z-index: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
background: radial-gradient(43% 90% at 84% 6%, #ffd6c9 0%, rgba(255, 255, 255, 0) 100%);
|
||||
}
|
||||
.navbox .namebox.data-v-a6a7913a {
|
||||
padding-top: 102rpx;
|
||||
justify-content: center;
|
||||
margin: 0rpx 30rpx 0rpx;
|
||||
position: relative;
|
||||
display: flex;
|
||||
}
|
||||
.navbox .namebox .back.data-v-a6a7913a {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
.navbox .namebox .name.data-v-a6a7913a {
|
||||
margin-left: 16rpx;
|
||||
font-size: 30rpx;
|
||||
color: #111827;
|
||||
}
|
||||
.navbox .search.data-v-a6a7913a {
|
||||
margin: 40rpx 30rpx 0rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.navbox .search .searchwrap.data-v-a6a7913a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
padding-left: 28rpx;
|
||||
margin-right: 23rpx;
|
||||
height: 80rpx;
|
||||
background: #fbfbfb;
|
||||
box-shadow: 0px 4rpx 10rpx 0px rgba(153, 153, 153, 0.5);
|
||||
border-radius: 40rpx;
|
||||
}
|
||||
.navbox .search .searchwrap .ipt.data-v-a6a7913a {
|
||||
margin-left: 15rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.container.data-v-a6a7913a {
|
||||
position: absolute;
|
||||
top: 180rpx;
|
||||
left: 0;
|
||||
bottom: 250rpx;
|
||||
width: 100%;
|
||||
}
|
||||
.editorbox.data-v-a6a7913a {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 16px;
|
||||
box-sizing: border-box;
|
||||
line-height: 1.5;
|
||||
overflow-y: scroll;
|
||||
padding: 10rpx 30rpx 10rpx;
|
||||
}
|
||||
.ql-active.data-v-a6a7913a {
|
||||
color: #22C704;
|
||||
}
|
||||
.btn.data-v-a6a7913a {
|
||||
flex: 1;
|
||||
width: 180rpx;
|
||||
background: #3cc7c0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 30rpx;
|
||||
color: #fff;
|
||||
height: 60rpx;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
.iconfont.data-v-a6a7913a {
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
cursor: pointer;
|
||||
font-size: 20px;
|
||||
}
|
||||
.toolbar.data-v-a6a7913a {
|
||||
box-sizing: border-box;
|
||||
padding: 0 10px;
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 100%;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border: 1px solid #ECECEC;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
.page.data-v-a6a7913a {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background-color: #fff;
|
||||
bottom: 0;
|
||||
z-index: 999;
|
||||
}
|
||||
.toolbox.data-v-a6a7913a {
|
||||
/* border-top: 2rpx solid #f3f4f6; */
|
||||
padding: 22rpx 30rpx;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.toolbox .cellbox.data-v-a6a7913a {
|
||||
width: 480rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
/* justify-content: space-between; */
|
||||
}
|
||||
.toolbox .cell.data-v-a6a7913a {
|
||||
width: 132rpx;
|
||||
margin-right: 20rpx;
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
align-items: center;
|
||||
}
|
||||
.toolbox .cell .name.data-v-a6a7913a {
|
||||
font-size: 25rpx;
|
||||
margin-left: 4rpx;
|
||||
color: #4b5563;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.toolbox .cell.data-v-a6a7913a:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
.toolbox .cell.active.data-v-a6a7913a {
|
||||
opacity: 0.65;
|
||||
}
|
||||
.draftpop .titlebox.data-v-a6a7913a {
|
||||
text-align: center;
|
||||
padding: 30rpx;
|
||||
font-size: 31rpx;
|
||||
color: #111827;
|
||||
position: relative;
|
||||
}
|
||||
.draftpop .titlebox .close.data-v-a6a7913a {
|
||||
position: absolute;
|
||||
top: 20rpx;
|
||||
right: 30rpx;
|
||||
}
|
||||
.draftpop .draftlist.data-v-a6a7913a {
|
||||
height: calc(100vh - 500rpx);
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.draftpop .draftlist .cell.data-v-a6a7913a {
|
||||
padding-bottom: 34rpx;
|
||||
border-bottom: 2rpx solid #e5e7eb;
|
||||
}
|
||||
.draftpop .draftlist .cell .title.data-v-a6a7913a {
|
||||
margin: 15rpx 30rpx 0;
|
||||
font-size: 36rpx;
|
||||
color: #111827;
|
||||
line-height: 46rpx;
|
||||
}
|
||||
.draftpop .draftlist .cell .smalltitle.data-v-a6a7913a {
|
||||
margin: 4px 0rpx 0;
|
||||
font-size: 30rpx;
|
||||
color: #666666;
|
||||
line-height: 38rpx;
|
||||
}
|
||||
.draftpop .draftlist .cell .con.data-v-a6a7913a {
|
||||
font-size: 30rpx;
|
||||
color: #666666;
|
||||
line-height: 38rpx;
|
||||
font-size: 30rpx;
|
||||
color: #666666;
|
||||
line-height: 38rpx;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal.data-v-a6a7913a {
|
||||
margin: 36rpx 30rpx 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal .time.data-v-a6a7913a {
|
||||
font-size: 26rpx;
|
||||
color: #9ca3af;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal .right.data-v-a6a7913a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal .del.data-v-a6a7913a {
|
||||
width: 138rpx;
|
||||
height: 62rpx;
|
||||
background: #f3f4f6;
|
||||
display: flex;
|
||||
border-radius: 20rpx;
|
||||
align-items: center;
|
||||
font-size: 27rpx;
|
||||
color: #4b5563;
|
||||
justify-content: center;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal .edit.data-v-a6a7913a {
|
||||
margin-left: 23rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 192rpx;
|
||||
height: 62rpx;
|
||||
font-size: 27rpx;
|
||||
color: #ffffff;
|
||||
background: #3cc7c0;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
.titlepop .top.data-v-a6a7913a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
margin: 0 30rpx;
|
||||
margin-bottom: 30rpx;
|
||||
font-size: 30rpx;
|
||||
color: #3cc7c0;
|
||||
}
|
||||
.titlepop .con.data-v-a6a7913a {
|
||||
padding-bottom: 50rpx;
|
||||
}
|
||||
.titlepop .cellbox.data-v-a6a7913a {
|
||||
margin: 20rpx 30rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.titlepop .cellbox .cell.data-v-a6a7913a {
|
||||
width: 200rpx;
|
||||
height: 60rpx;
|
||||
border-radius: 25rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: #e5e7eb78;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<view class="upage data-v-4b2e7592"><nav-bar wx:if="{{a}}" class="data-v-4b2e7592" u-i="4b2e7592-0" bind:__l="__l" u-p="{{a}}"></nav-bar><view class="databox data-v-4b2e7592"><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{b}}</view><view class="name data-v-4b2e7592">病例数</view></view><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{c}}</view><view class="name data-v-4b2e7592">互动数</view></view><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{d}}</view><view class="name data-v-4b2e7592">浏览量</view></view></view><view class="bar data-v-4b2e7592"></view><view class="box data-v-4b2e7592"><view wx:if="{{e}}" class="special mostread data-v-4b2e7592"><view class="titlebox data-v-4b2e7592"><view class="title data-v-4b2e7592">精选病例</view><view class="more data-v-4b2e7592" bindtap="{{g}}"><view class="morename data-v-4b2e7592">查看更多</view><u-icon wx:if="{{f}}" class="data-v-4b2e7592" u-i="4b2e7592-1" bind:__l="__l" u-p="{{f}}"></u-icon></view></view><view class="list data-v-4b2e7592"><view wx:for="{{h}}" wx:for-item="item" wx:key="b" class="cell data-v-4b2e7592" bindtap="{{item.c}}"><view class="circle data-v-4b2e7592"></view><view class="title ellipsis-one-lines data-v-4b2e7592">{{item.a}}</view></view></view></view><view class="bar data-v-4b2e7592"></view><view class="record special data-v-4b2e7592"><view class="titlebox data-v-4b2e7592"><view class="title data-v-4b2e7592">最新收录</view><view class="more data-v-4b2e7592" bindtap="{{j}}"><view class="morename data-v-4b2e7592">查看更多</view><u-icon wx:if="{{i}}" class="data-v-4b2e7592" u-i="4b2e7592-2" bind:__l="__l" u-p="{{i}}"></u-icon></view></view><view class="list data-v-4b2e7592"><view wx:for="{{k}}" wx:for-item="item" wx:key="H" class="cell data-v-4b2e7592"><view class="title ellipsis-two-lines data-v-4b2e7592" bindtap="{{item.b}}">{{item.a}}</view><view class="doctor data-v-4b2e7592" bindtap="{{item.g}}"><up--image wx:if="{{item.d}}" class="data-v-4b2e7592" u-i="{{item.c}}" bind:__l="__l" u-p="{{item.d}}"></up--image><view class="name data-v-4b2e7592">{{item.e}}({{item.f}})</view></view><view class="content data-v-4b2e7592" bindtap="{{item.i}}">{{item.h}}</view><view wx:if="{{item.j}}" class="imgbox data-v-4b2e7592" bindtap="{{item.l}}"><view wx:for="{{item.k}}" wx:for-item="unit" wx:key="c" class="imgcell data-v-4b2e7592"><up--image wx:if="{{unit.b}}" class="data-v-4b2e7592" u-s="{{['d']}}" u-i="{{unit.a}}" bind:__l="__l" u-p="{{unit.b}}"><view class="data-v-4b2e7592" slot="error" style="font-size:24rpx">加载失败</view></up--image></view></view><view class="videocon data-v-4b2e7592" bindtap="{{item.p}}"><view wx:if="{{item.m}}" class="imgbox data-v-4b2e7592" bindtap="{{item.o}}"><video wx:for="{{item.n}}" wx:for-item="videoCell" wx:key="a" class="myVideo data-v-4b2e7592" src="{{videoCell.b}}" binderror="{{videoCell.c}}" controls></video></view></view><view wx:if="{{item.q}}" class="tagbox data-v-4b2e7592" bindtap="{{item.s}}"><view wx:for="{{item.r}}" wx:for-item="cell" wx:key="b" class="tag data-v-4b2e7592">{{cell.a}}</view></view><view class="deal data-v-4b2e7592" bindtap="{{item.G}}"><view class="left data-v-4b2e7592"><view class="eyebox item data-v-4b2e7592"><up-icon wx:if="{{l}}" class="data-v-4b2e7592" u-i="{{item.t}}" bind:__l="__l" u-p="{{l}}"></up-icon><view class="num data-v-4b2e7592">{{item.v}}</view></view><view wx:if="{{item.w}}" class="collect item data-v-4b2e7592"><up-icon wx:if="{{item.y}}" class="data-v-4b2e7592" u-i="{{item.x}}" bind:__l="__l" u-p="{{item.y}}"></up-icon><view class="num data-v-4b2e7592">{{item.z}}</view></view><view wx:if="{{item.A}}" class="chat item data-v-4b2e7592"><up-icon wx:if="{{item.C}}" class="data-v-4b2e7592" u-i="{{item.B}}" bind:__l="__l" u-p="{{item.C}}"></up-icon><view class="num data-v-4b2e7592">{{item.D}}</view></view></view><view class="time data-v-4b2e7592"><up-icon wx:if="{{m}}" class="data-v-4b2e7592" u-i="{{item.E}}" bind:__l="__l" u-p="{{m}}"></up-icon><view class="num data-v-4b2e7592">{{item.F}}</view></view></view></view></view></view></view></view><tab-bar wx:if="{{n}}" class="data-v-4b2e7592" u-i="4b2e7592-9" bind:__l="__l" u-p="{{n}}"></tab-bar><view class="publish data-v-4b2e7592" bindtap="{{p}}"><up-icon wx:if="{{o}}" class="data-v-4b2e7592" u-i="4b2e7592-10" bind:__l="__l" u-p="{{o}}"></up-icon></view>
|
||||
<view class="upage data-v-4b2e7592"><nav-bar wx:if="{{a}}" class="data-v-4b2e7592" u-i="4b2e7592-0" bind:__l="__l" u-p="{{a}}"></nav-bar><view class="databox data-v-4b2e7592"><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{b}}</view><view class="name data-v-4b2e7592">病例数</view></view><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{c}}</view><view class="name data-v-4b2e7592">互动数</view></view><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{d}}</view><view class="name data-v-4b2e7592">浏览量</view></view></view><view class="bar data-v-4b2e7592"></view><view class="box data-v-4b2e7592"><view wx:if="{{e}}" class="special mostread data-v-4b2e7592"><view class="titlebox data-v-4b2e7592"><view class="title data-v-4b2e7592">精选病例</view><view class="more data-v-4b2e7592" bindtap="{{g}}"><view class="morename data-v-4b2e7592">查看更多</view><u-icon wx:if="{{f}}" class="data-v-4b2e7592" u-i="4b2e7592-1" bind:__l="__l" u-p="{{f}}"></u-icon></view></view><view class="list data-v-4b2e7592"><view wx:for="{{h}}" wx:for-item="item" wx:key="b" class="cell data-v-4b2e7592" bindtap="{{item.c}}"><view class="circle data-v-4b2e7592"></view><view class="title ellipsis-one-lines data-v-4b2e7592">{{item.a}}</view></view></view></view><view class="bar data-v-4b2e7592"></view><view class="record special data-v-4b2e7592"><view class="titlebox data-v-4b2e7592"><view class="title data-v-4b2e7592">最新收录</view><view class="more data-v-4b2e7592" bindtap="{{j}}"><view class="morename data-v-4b2e7592">查看更多</view><u-icon wx:if="{{i}}" class="data-v-4b2e7592" u-i="4b2e7592-2" bind:__l="__l" u-p="{{i}}"></u-icon></view></view><view class="list data-v-4b2e7592"><view wx:for="{{k}}" wx:for-item="item" wx:key="H" class="cell data-v-4b2e7592"><view class="title ellipsis-two-lines data-v-4b2e7592" bindtap="{{item.b}}">{{item.a}}</view><view class="doctor data-v-4b2e7592" bindtap="{{item.g}}"><up--image wx:if="{{item.d}}" class="data-v-4b2e7592" u-i="{{item.c}}" bind:__l="__l" u-p="{{item.d}}"></up--image><view class="name data-v-4b2e7592">{{item.e}}({{item.f}})</view></view><view class="content ellipsis-two-lines data-v-4b2e7592" bindtap="{{item.i}}">{{item.h}}</view><view wx:if="{{item.j}}" class="imgbox data-v-4b2e7592" bindtap="{{item.l}}"><view wx:for="{{item.k}}" wx:for-item="unit" wx:key="c" class="imgcell data-v-4b2e7592"><up--image wx:if="{{unit.b}}" class="data-v-4b2e7592" u-s="{{['d']}}" u-i="{{unit.a}}" bind:__l="__l" u-p="{{unit.b}}"><view class="data-v-4b2e7592" slot="error" style="font-size:24rpx">加载失败</view></up--image></view></view><view class="videocon data-v-4b2e7592" bindtap="{{item.p}}"><view wx:if="{{item.m}}" class="imgbox data-v-4b2e7592" bindtap="{{item.o}}"><video wx:for="{{item.n}}" wx:for-item="videoCell" wx:key="a" class="myVideo data-v-4b2e7592" src="{{videoCell.b}}" binderror="{{videoCell.c}}" controls></video></view></view><view wx:if="{{item.q}}" class="tagbox data-v-4b2e7592" bindtap="{{item.s}}"><view wx:for="{{item.r}}" wx:for-item="cell" wx:key="b" class="tag data-v-4b2e7592">{{cell.a}}</view></view><view class="deal data-v-4b2e7592" bindtap="{{item.G}}"><view class="left data-v-4b2e7592"><view class="eyebox item data-v-4b2e7592"><up-icon wx:if="{{l}}" class="data-v-4b2e7592" u-i="{{item.t}}" bind:__l="__l" u-p="{{l}}"></up-icon><view class="num data-v-4b2e7592">{{item.v}}</view></view><view wx:if="{{item.w}}" class="collect item data-v-4b2e7592"><up-icon wx:if="{{item.y}}" class="data-v-4b2e7592" u-i="{{item.x}}" bind:__l="__l" u-p="{{item.y}}"></up-icon><view class="num data-v-4b2e7592">{{item.z}}</view></view><view wx:if="{{item.A}}" class="chat item data-v-4b2e7592"><up-icon wx:if="{{item.C}}" class="data-v-4b2e7592" u-i="{{item.B}}" bind:__l="__l" u-p="{{item.C}}"></up-icon><view class="num data-v-4b2e7592">{{item.D}}</view></view></view><view class="time data-v-4b2e7592"><up-icon wx:if="{{m}}" class="data-v-4b2e7592" u-i="{{item.E}}" bind:__l="__l" u-p="{{m}}"></up-icon><view class="num data-v-4b2e7592">{{item.F}}</view></view></view></view></view></view></view></view><tab-bar wx:if="{{n}}" class="data-v-4b2e7592" u-i="4b2e7592-9" bind:__l="__l" u-p="{{n}}"></tab-bar><view class="publish data-v-4b2e7592" bindtap="{{p}}"><up-icon wx:if="{{o}}" class="data-v-4b2e7592" u-i="4b2e7592-10" bind:__l="__l" u-p="{{o}}"></up-icon></view>
|
||||
+13
-10
@@ -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:734", res.data.data);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:737", res.data.data);
|
||||
point.value = res.data.data;
|
||||
});
|
||||
};
|
||||
@@ -320,18 +320,18 @@ const _sfc_main = {
|
||||
};
|
||||
const close = () => {
|
||||
showCommentDialog.value = false;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:927", "close");
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:930", "close");
|
||||
};
|
||||
const openDeal = () => {
|
||||
showDeal.value = true;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:932", "open");
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:935", "open");
|
||||
};
|
||||
const closeDeal = () => {
|
||||
showDeal.value = false;
|
||||
};
|
||||
const openMore = () => {
|
||||
showMore.value = true;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:940", "open");
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:943", "open");
|
||||
};
|
||||
const closeMore = () => {
|
||||
showMore.value = false;
|
||||
@@ -369,12 +369,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:1291", url);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1294", url);
|
||||
imgList.value = [url];
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1296", err);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1299", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -393,8 +393,8 @@ const _sfc_main = {
|
||||
return "unknown";
|
||||
};
|
||||
const afterRead = (file, lists, name) => {
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1315", lists);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1316", name);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1318", lists);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1319", name);
|
||||
handleUpload(file);
|
||||
};
|
||||
const delImg = (index) => {
|
||||
@@ -715,8 +715,8 @@ const _sfc_main = {
|
||||
g: common_vendor.o(toggleCollect),
|
||||
h: common_vendor.p({
|
||||
src: info.is_collect ? common_vendor.unref(common_assets.collectonImg) : common_vendor.unref(common_assets.collectImg),
|
||||
width: "38rpx",
|
||||
height: "38rpx"
|
||||
width: "70rpx",
|
||||
height: "70rpx"
|
||||
}),
|
||||
i: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.shangImg),
|
||||
@@ -954,6 +954,9 @@ const _sfc_main = {
|
||||
ai: common_vendor.p({
|
||||
focus: false,
|
||||
height: "200",
|
||||
cursorSpacing: "240",
|
||||
adjustPosition: true,
|
||||
["adjust-keyboard-to"]: "bottom",
|
||||
placeholder: placeholder.value,
|
||||
modelValue: content.value
|
||||
}),
|
||||
|
||||
@@ -361,6 +361,7 @@
|
||||
}
|
||||
.imgboxshang.data-v-eca06f3c {
|
||||
display: flex;
|
||||
margin-left: 8rpx;
|
||||
align-items: center;
|
||||
}
|
||||
.imgbox.data-v-eca06f3c {
|
||||
|
||||
+10
-10
@@ -57,12 +57,12 @@ const _sfc_main = {
|
||||
};
|
||||
const goDoctor = (id, name) => {
|
||||
utils_navTo.navTo({
|
||||
url: "/pages/searchList/searchList?type=doctor&id=" + id + "&name=" + name
|
||||
url: "/pages/search/search?doctor_id=" + id + "&doctor_name=" + name + "&from=myCase"
|
||||
});
|
||||
};
|
||||
const goHospital = (id, name) => {
|
||||
utils_navTo.navTo({
|
||||
url: "/pages/searchList/searchList?type=hospital&id=" + id + "&name=" + name
|
||||
url: "/pages/search/search?hospital_id=" + id + "&hospital_name=" + name
|
||||
});
|
||||
};
|
||||
const mySpecial = () => {
|
||||
@@ -96,14 +96,14 @@ const _sfc_main = {
|
||||
b: common_vendor.t(userInfo.user_name),
|
||||
c: common_vendor.t(userInfo.title),
|
||||
d: common_vendor.t(userInfo.hospital_name),
|
||||
e: numInfo.article_num + numInfo.video_num >= 5
|
||||
}, numInfo.article_num + numInfo.video_num >= 5 ? {
|
||||
e: numInfo.article_num + numInfo.video_num >= 2
|
||||
}, numInfo.article_num + numInfo.video_num >= 2 ? {
|
||||
f: common_vendor.t(numInfo.article_num),
|
||||
g: common_vendor.t(numInfo.video_num),
|
||||
h: common_vendor.t(numInfo.video_read_num + numInfo.article_read_num)
|
||||
} : {}, {
|
||||
i: numInfo.article_num + numInfo.video_num >= 5
|
||||
}, numInfo.article_num + numInfo.video_num >= 5 ? {
|
||||
i: numInfo.article_num + numInfo.video_num >= 2
|
||||
}, numInfo.article_num + numInfo.video_num >= 2 ? {
|
||||
j: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.myFile),
|
||||
width: "34rpx",
|
||||
@@ -116,8 +116,8 @@ const _sfc_main = {
|
||||
}),
|
||||
l: common_vendor.o(($event) => goDoctor(userInfo.doctor_id, userInfo.user_name))
|
||||
} : {}, {
|
||||
m: numInfo.article_num + numInfo.video_num >= 5
|
||||
}, numInfo.article_num + numInfo.video_num >= 5 ? {
|
||||
m: numInfo.article_num + numInfo.video_num >= 2
|
||||
}, numInfo.article_num + numInfo.video_num >= 2 ? {
|
||||
n: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.myDownload),
|
||||
width: "42rpx",
|
||||
@@ -130,8 +130,8 @@ const _sfc_main = {
|
||||
}),
|
||||
p: common_vendor.o(goCert)
|
||||
} : {}, {
|
||||
q: hospitalInfo.video_num + hospitalInfo.article_num >= 10
|
||||
}, hospitalInfo.video_num + hospitalInfo.article_num >= 10 ? {
|
||||
q: hospitalInfo.video_num + hospitalInfo.article_num >= 2
|
||||
}, hospitalInfo.video_num + hospitalInfo.article_num >= 2 ? {
|
||||
r: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.myHospital),
|
||||
width: "39rpx",
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
<view class="upage data-v-2f1ef635"><d-nav class="data-v-2f1ef635" u-i="2f1ef635-0" bind:__l="__l"></d-nav><view class="con data-v-2f1ef635"><view class="infobox data-v-2f1ef635"><up--image wx:if="{{a}}" class="data-v-2f1ef635" u-i="2f1ef635-1" bind:__l="__l" u-p="{{a}}"></up--image><view class="info data-v-2f1ef635"><view class="name data-v-2f1ef635">{{b}}({{c}}) </view><view class="hospital data-v-2f1ef635">{{d}}</view></view></view><view wx:if="{{e}}" class="databox data-v-2f1ef635"><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{f}}</view><view class="name data-v-2f1ef635">文章</view></view><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{g}}</view><view class="name data-v-2f1ef635">视频</view></view><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{h}}</view><view class="name data-v-2f1ef635">阅读量</view></view></view><view class="listbox data-v-2f1ef635"><view class="titlename data-v-2f1ef635">我的临床病例库</view><view wx:if="{{i}}" class="cell data-v-2f1ef635" bindtap="{{l}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{j}}" class="data-v-2f1ef635" u-i="2f1ef635-2" bind:__l="__l" u-p="{{j}}"></up--image><view class="title data-v-2f1ef635">我的病例库</view></view><u-icon wx:if="{{k}}" class="data-v-2f1ef635" u-i="2f1ef635-3" bind:__l="__l" u-p="{{k}}"></u-icon></view><view wx:if="{{m}}" class="cell data-v-2f1ef635" bindtap="{{p}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{n}}" class="data-v-2f1ef635" u-i="2f1ef635-4" bind:__l="__l" u-p="{{n}}"></up--image><view class="title data-v-2f1ef635">临床病例库收录证书下载</view></view><u-icon wx:if="{{o}}" class="data-v-2f1ef635" u-i="2f1ef635-5" bind:__l="__l" u-p="{{o}}"></u-icon></view><view wx:if="{{q}}" class="cell data-v-2f1ef635" bindtap="{{v}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{r}}" class="data-v-2f1ef635" u-i="2f1ef635-6" bind:__l="__l" u-p="{{r}}"></up--image><view class="title data-v-2f1ef635">{{s}}临床病例库</view></view><u-icon wx:if="{{t}}" class="data-v-2f1ef635" u-i="2f1ef635-7" bind:__l="__l" u-p="{{t}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{y}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{w}}" class="data-v-2f1ef635" u-i="2f1ef635-8" bind:__l="__l" u-p="{{w}}"></up--image><view class="title data-v-2f1ef635">我的病例交流</view></view><u-icon wx:if="{{x}}" class="data-v-2f1ef635" u-i="2f1ef635-9" bind:__l="__l" u-p="{{x}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{B}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{z}}" class="data-v-2f1ef635" u-i="2f1ef635-10" bind:__l="__l" u-p="{{z}}"></up--image><view class="title data-v-2f1ef635">我的参与互动</view></view><u-icon wx:if="{{A}}" class="data-v-2f1ef635" u-i="2f1ef635-11" bind:__l="__l" u-p="{{A}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{E}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{C}}" class="data-v-2f1ef635" u-i="2f1ef635-12" bind:__l="__l" u-p="{{C}}"></up--image><view class="title data-v-2f1ef635">浏览与收藏</view></view><u-icon wx:if="{{D}}" class="data-v-2f1ef635" u-i="2f1ef635-13" bind:__l="__l" u-p="{{D}}"></u-icon></view></view></view><view class="publish data-v-2f1ef635" bindtap="{{G}}"><up-icon wx:if="{{F}}" class="data-v-2f1ef635" u-i="2f1ef635-14" bind:__l="__l" u-p="{{F}}"></up-icon></view></view>
|
||||
<view class="upage data-v-2f1ef635"><d-nav class="data-v-2f1ef635" u-i="2f1ef635-0" bind:__l="__l"></d-nav><view class="con data-v-2f1ef635"><view class="infobox data-v-2f1ef635"><up--image wx:if="{{a}}" class="data-v-2f1ef635" u-i="2f1ef635-1" bind:__l="__l" u-p="{{a}}"></up--image><view class="info data-v-2f1ef635"><view class="name data-v-2f1ef635">{{b}}({{c}}) </view><view class="hospital data-v-2f1ef635">{{d}}</view></view></view><view wx:if="{{e}}" class="databox data-v-2f1ef635"><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{f}}</view><view class="name data-v-2f1ef635">文章</view></view><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{g}}</view><view class="name data-v-2f1ef635">视频</view></view><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{h}}</view><view class="name data-v-2f1ef635">阅读量</view></view></view><view class="listbox data-v-2f1ef635"><view wx:if="{{i}}" class="cell data-v-2f1ef635" bindtap="{{l}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{j}}" class="data-v-2f1ef635" u-i="2f1ef635-2" bind:__l="__l" u-p="{{j}}"></up--image><view class="title data-v-2f1ef635">我的病例库</view></view><u-icon wx:if="{{k}}" class="data-v-2f1ef635" u-i="2f1ef635-3" bind:__l="__l" u-p="{{k}}"></u-icon></view><view wx:if="{{m}}" class="cell data-v-2f1ef635" bindtap="{{p}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{n}}" class="data-v-2f1ef635" u-i="2f1ef635-4" bind:__l="__l" u-p="{{n}}"></up--image><view class="title data-v-2f1ef635">临床病例库收录证书下载</view></view><u-icon wx:if="{{o}}" class="data-v-2f1ef635" u-i="2f1ef635-5" bind:__l="__l" u-p="{{o}}"></u-icon></view><view wx:if="{{q}}" class="cell data-v-2f1ef635" bindtap="{{v}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{r}}" class="data-v-2f1ef635" u-i="2f1ef635-6" bind:__l="__l" u-p="{{r}}"></up--image><view class="title data-v-2f1ef635">{{s}}临床病例库</view></view><u-icon wx:if="{{t}}" class="data-v-2f1ef635" u-i="2f1ef635-7" bind:__l="__l" u-p="{{t}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{y}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{w}}" class="data-v-2f1ef635" u-i="2f1ef635-8" bind:__l="__l" u-p="{{w}}"></up--image><view class="title data-v-2f1ef635">我的病例交流</view></view><u-icon wx:if="{{x}}" class="data-v-2f1ef635" u-i="2f1ef635-9" bind:__l="__l" u-p="{{x}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{B}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{z}}" class="data-v-2f1ef635" u-i="2f1ef635-10" bind:__l="__l" u-p="{{z}}"></up--image><view class="title data-v-2f1ef635">我的参与互动</view></view><u-icon wx:if="{{A}}" class="data-v-2f1ef635" u-i="2f1ef635-11" bind:__l="__l" u-p="{{A}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{E}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{C}}" class="data-v-2f1ef635" u-i="2f1ef635-12" bind:__l="__l" u-p="{{C}}"></up--image><view class="title data-v-2f1ef635">浏览与收藏</view></view><u-icon wx:if="{{D}}" class="data-v-2f1ef635" u-i="2f1ef635-13" bind:__l="__l" u-p="{{D}}"></u-icon></view></view></view><view class="publish data-v-2f1ef635" bindtap="{{G}}"><up-icon wx:if="{{F}}" class="data-v-2f1ef635" u-i="2f1ef635-14" bind:__l="__l" u-p="{{F}}"></up-icon></view></view>
|
||||
@@ -83,7 +83,7 @@
|
||||
}
|
||||
.u-page.data-v-1cf734f5 .u-dropdown__menu__item__text {
|
||||
font-size: 14px !important;
|
||||
color: #3c9cff !important;
|
||||
color: #3CC7C0 !important;
|
||||
}
|
||||
.u-page .deal.data-v-1cf734f5 {
|
||||
margin-top: 20rpx;
|
||||
|
||||
+200
-320
@@ -2,6 +2,7 @@
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
const utils_throttle = require("../../utils/throttle.js");
|
||||
const uni_modules_svEditor_components_common_utils = require("../../uni_modules/sv-editor/components/common/utils.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
||||
@@ -31,9 +32,10 @@ const _easycom_up_steps = () => "../../node-modules/uview-plus/components/u-step
|
||||
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_empty + _easycom_up_overlay + _easycom_up_steps_item + _easycom_up_steps + _easycom_up_radio + _easycom_up_radio_group)();
|
||||
(common_vendor.unref(pEditor) + _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_steps_item + _easycom_up_steps + _easycom_up_radio + _easycom_up_radio_group)();
|
||||
}
|
||||
const svEditor = () => "../../uni_modules/sv-editor/components/sv-editor/sv-editor.js";
|
||||
const pEditor = () => "../../components/pEditor/pEditor.js";
|
||||
const _sfc_main = {
|
||||
__name: "publish",
|
||||
setup(__props) {
|
||||
@@ -44,7 +46,9 @@ const _sfc_main = {
|
||||
const delType = common_vendor.ref("delDraft");
|
||||
const isPublish = common_vendor.ref(false);
|
||||
const exchange_id = common_vendor.ref("");
|
||||
const bottomHeight = common_vendor.ref(200);
|
||||
const showEditor = common_vendor.ref(false);
|
||||
const editorType = common_vendor.ref("info");
|
||||
common_vendor.ref(200);
|
||||
const form = common_vendor.reactive({
|
||||
exchange_title: "",
|
||||
exchange_content: "",
|
||||
@@ -66,7 +70,7 @@ const _sfc_main = {
|
||||
const showDraft = common_vendor.ref(false);
|
||||
const showTitle = common_vendor.ref(false);
|
||||
const draftList = common_vendor.ref([]);
|
||||
const imgList = common_vendor.ref([]);
|
||||
common_vendor.ref([]);
|
||||
common_vendor.ref([]);
|
||||
const editorCtx = common_vendor.ref(null);
|
||||
const editorCtxResult = common_vendor.ref(null);
|
||||
@@ -99,12 +103,48 @@ const _sfc_main = {
|
||||
delta: 1
|
||||
});
|
||||
};
|
||||
const editorCotent = common_vendor.ref("");
|
||||
const closeEditor = () => {
|
||||
showEditor.value = false;
|
||||
};
|
||||
const changeEditor = (data) => {
|
||||
showEditor.value = false;
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:592", data);
|
||||
if (data.type == "info") {
|
||||
editorCtx.value.initHtml(data.content, async (videoUrl) => {
|
||||
let res = "";
|
||||
const fox = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||
res = await editorCtx.value.createCoverThumbnail(fox);
|
||||
showEditor.value = false;
|
||||
return res;
|
||||
});
|
||||
} else {
|
||||
editorCtxResult.value.initHtml(data.content, async (videoUrl) => {
|
||||
let res = "";
|
||||
const fox = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||
res = await editorCtx.value.createCoverThumbnail(fox);
|
||||
showEditor.value = false;
|
||||
return res;
|
||||
});
|
||||
}
|
||||
};
|
||||
const openDraftList = () => {
|
||||
getDraftList();
|
||||
showDraft.value = true;
|
||||
};
|
||||
const epaste = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:585", e);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:633", e);
|
||||
};
|
||||
const alertVote = () => {
|
||||
if (exchange_id.value) {
|
||||
common_vendor.index.showToast({
|
||||
title: "投票发布后不能编辑",
|
||||
icon: "none"
|
||||
});
|
||||
return false;
|
||||
} else {
|
||||
showVote.value = true;
|
||||
}
|
||||
};
|
||||
const addOption = () => {
|
||||
voteData.case_exchange_vote_option.push({
|
||||
@@ -182,7 +222,7 @@ const _sfc_main = {
|
||||
}
|
||||
};
|
||||
const ready = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:689", e);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:749", 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);
|
||||
@@ -192,6 +232,7 @@ const _sfc_main = {
|
||||
selector: "#form"
|
||||
// })
|
||||
});
|
||||
common_vendor.index.hideLoading();
|
||||
};
|
||||
const readyResult = (e) => {
|
||||
editorCtxResult.value = e;
|
||||
@@ -201,18 +242,22 @@ const _sfc_main = {
|
||||
}
|
||||
});
|
||||
};
|
||||
const clearMuBan = () => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:715", "清空模板");
|
||||
editorCtx.value.initHtml("");
|
||||
const changeSv = () => {
|
||||
showEditor.value = false;
|
||||
};
|
||||
const focusInfo = () => {
|
||||
const focusInfo = async () => {
|
||||
isFocusInfo.value = true;
|
||||
const res = await editorCtx.value.getLastContent();
|
||||
editorCotent.value = res.html;
|
||||
showEditor.value = true;
|
||||
editorType.value = "info";
|
||||
};
|
||||
const blurInfo = () => {
|
||||
isFocusInfo.value = false;
|
||||
};
|
||||
const focusResult = () => {
|
||||
const focusResult = async () => {
|
||||
isFocusResult.value = true;
|
||||
const res = await editorCtxResult.value.getLastContent();
|
||||
editorCotent.value = res.html;
|
||||
editorType.value = "result";
|
||||
showEditor.value = true;
|
||||
};
|
||||
const closeVote = () => {
|
||||
showVote.value = false;
|
||||
@@ -232,24 +277,6 @@ const _sfc_main = {
|
||||
const openTitle = () => {
|
||||
showTitle.value = true;
|
||||
};
|
||||
const alertTitle = () => {
|
||||
if (isFocusInfo.value) {
|
||||
showTitle.value = true;
|
||||
}
|
||||
};
|
||||
const pFun = (files) => {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在上传图片...",
|
||||
mask: true
|
||||
});
|
||||
let promiseFun = [];
|
||||
for (let i = 0; i < files.length; i++) {
|
||||
promiseFun.push(handleUpload(files[i]));
|
||||
}
|
||||
Promise.all(promiseFun).then((res) => {
|
||||
common_vendor.index.hideLoading();
|
||||
});
|
||||
};
|
||||
const saveDraft = async () => {
|
||||
if (isLock.value)
|
||||
return false;
|
||||
@@ -272,7 +299,7 @@ const _sfc_main = {
|
||||
};
|
||||
const getExchangeDetail = (id) => {
|
||||
api_api.api.getExchangeDetail(id).then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:816", res.data.data);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:890", res.data.data);
|
||||
let {
|
||||
exchange_content,
|
||||
exchange_title,
|
||||
@@ -328,7 +355,7 @@ const _sfc_main = {
|
||||
};
|
||||
const confirmDel = () => {
|
||||
showModal.value = false;
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:884", delType.value);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:958", delType.value);
|
||||
if (delType.value == "delDraft") {
|
||||
delDraft(delId.value);
|
||||
} else if (delType.value == "saveDraft") {
|
||||
@@ -339,6 +366,7 @@ const _sfc_main = {
|
||||
showModal.value = false;
|
||||
if (delType.value == "saveDraft") {
|
||||
goBack();
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:970", "wee");
|
||||
}
|
||||
};
|
||||
const delDraft = (id) => {
|
||||
@@ -365,7 +393,8 @@ const _sfc_main = {
|
||||
}
|
||||
}
|
||||
};
|
||||
const publish = async () => {
|
||||
const publish = utils_throttle.throttle(async () => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1012", 3333);
|
||||
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({
|
||||
@@ -374,6 +403,13 @@ const _sfc_main = {
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (form.exchange_title.length > 40) {
|
||||
common_vendor.index.showToast({
|
||||
title: "标题不超过40个字",
|
||||
icon: "none"
|
||||
});
|
||||
return false;
|
||||
}
|
||||
const res = await editorCtx.value.getLastContent();
|
||||
let html = editorCtx.value.exportHtml(res.html);
|
||||
if (html == initInfo) {
|
||||
@@ -420,45 +456,7 @@ const _sfc_main = {
|
||||
common_vendor.index.navigateBack();
|
||||
});
|
||||
}
|
||||
};
|
||||
const handleUpload = (file) => {
|
||||
api_api.api.getOss({
|
||||
scene: 1
|
||||
}).then((rep) => {
|
||||
let result = rep.data;
|
||||
if (result.code == 200) {
|
||||
let { access_id, dir, policy, signature, host } = result.data;
|
||||
let time = common_vendor.dayjs().format("YYYYMMDDHHmmss");
|
||||
let random = generateRandomNumber();
|
||||
let filename = time + random;
|
||||
let imgType = "." + getImageFormat(file);
|
||||
return new Promise((resolve, reject) => {
|
||||
common_vendor.index.uploadFile({
|
||||
url: host,
|
||||
// 仅为示例,非真实的接口地址
|
||||
filePath: file,
|
||||
name: "file",
|
||||
formData: {
|
||||
OSSAccessKeyId: access_id,
|
||||
policy,
|
||||
key: dir + time + random + imgType,
|
||||
signature
|
||||
},
|
||||
success(res) {
|
||||
if (res.statusCode === 204) {
|
||||
let url = host + "/" + dir + filename + imgType;
|
||||
imgList.value.push(url);
|
||||
uni_modules_svEditor_components_common_utils.addImage([url]);
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1028", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
});
|
||||
const insertWord = (word) => {
|
||||
uni_modules_svEditor_components_common_utils.addText(word);
|
||||
showTitle.value = false;
|
||||
@@ -477,110 +475,6 @@ const _sfc_main = {
|
||||
});
|
||||
showTitle.value = false;
|
||||
};
|
||||
const generateRandomNumber = () => {
|
||||
let randomNumber = Math.floor(1e3 + Math.random() * 9e3);
|
||||
return randomNumber;
|
||||
};
|
||||
const getImageFormat = (imageUrl) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1058", imageUrl);
|
||||
const lastDotIndex = imageUrl.lastIndexOf(".");
|
||||
if (lastDotIndex !== -1) {
|
||||
return imageUrl.substring(lastDotIndex + 1);
|
||||
}
|
||||
return "unknown";
|
||||
};
|
||||
const insertImage = (file) => {
|
||||
if (!(!isFocusInfo.value && !isFocusResult.value)) {
|
||||
common_vendor.index.chooseImage({
|
||||
count: 9,
|
||||
//默认9
|
||||
sizeType: ["original", "compressed"],
|
||||
//可以指定是原图还是压缩图,默认二者都有
|
||||
sourceType: ["album"],
|
||||
//从相册选择
|
||||
extension: [".jpg", ".png", ".jpeg"],
|
||||
success: function(res) {
|
||||
pFun(res.tempFilePaths);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
const insertVideo = (file) => {
|
||||
if (!(!isFocusInfo.value && !isFocusResult.value)) {
|
||||
common_vendor.index.chooseVideo({
|
||||
count: 5,
|
||||
//默认9//可以指定是原图还是压缩图,默认二者都有
|
||||
sourceType: ["album"],
|
||||
//从相册选择
|
||||
extension: [".mp4", ".webm", ".ogg"],
|
||||
success: function(res) {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1085", res.tempFilePath);
|
||||
HandleAddVideo(res.tempFilePath);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
const HandleAddVideo = async (file) => {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在上传视频...",
|
||||
mask: true
|
||||
});
|
||||
const videos = await uni_modules_svEditor_components_common_utils.addVideo(async (editorCtx2) => {
|
||||
return new Promise((resolve) => {
|
||||
api_api.api.getOss({
|
||||
scene: 2
|
||||
}).then((rep) => {
|
||||
let result = rep.data;
|
||||
if (result.code == 200) {
|
||||
let { access_id, dir, policy, signature, host } = result.data;
|
||||
let time = common_vendor.dayjs().format("YYYYMMDDHHmmss");
|
||||
let random = generateRandomNumber();
|
||||
let filename = time + random;
|
||||
let imgType = "." + getImageFormat(file);
|
||||
return new Promise((res, reject) => {
|
||||
common_vendor.index.uploadFile({
|
||||
url: host,
|
||||
// 仅为示例,非真实的接口地址
|
||||
filePath: file,
|
||||
name: "file",
|
||||
formData: {
|
||||
OSSAccessKeyId: access_id,
|
||||
policy,
|
||||
key: dir + time + random + imgType,
|
||||
signature
|
||||
},
|
||||
async success(res2) {
|
||||
if (res2.statusCode === 204) {
|
||||
let url = host + "/" + dir + filename + imgType;
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1127", editorCtx2);
|
||||
let imgUrl = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||
const fileThumbnail = await editorCtx2.createCoverThumbnail(
|
||||
imgUrl
|
||||
);
|
||||
resolve([
|
||||
{
|
||||
videoUrl: url,
|
||||
videoImg: fileThumbnail
|
||||
}
|
||||
]);
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1142", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
if (videos) {
|
||||
common_vendor.index.showLoading();
|
||||
common_vendor.index.showToast({ title: "添加视频成功", icon: "success" });
|
||||
} else {
|
||||
common_vendor.index.showToast({ title: "添加视频失败", icon: "error" });
|
||||
}
|
||||
};
|
||||
const getDraftList = () => {
|
||||
api_api.api.getDraftList().then((res) => {
|
||||
draftList.value = res.data.data.data;
|
||||
@@ -607,7 +501,7 @@ const _sfc_main = {
|
||||
break;
|
||||
}
|
||||
}
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1187", caseValue1);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1271", caseValue1);
|
||||
getCaseLabel(2, e);
|
||||
};
|
||||
const groupChange2 = (e) => {
|
||||
@@ -706,7 +600,7 @@ const _sfc_main = {
|
||||
}
|
||||
}
|
||||
labelList.value = labelList.value.filter((item, index) => labelList.value.findIndex((i) => i.app_iden === item.app_iden) === index);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1305", labelList.value);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1389", labelList.value);
|
||||
showCase.value = false;
|
||||
};
|
||||
const closeCase = () => {
|
||||
@@ -725,49 +619,57 @@ const _sfc_main = {
|
||||
getCaseLabel(1, 0);
|
||||
};
|
||||
common_vendor.onLoad((optoions) => {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在加载中...",
|
||||
mask: true
|
||||
});
|
||||
if (optoions.exchange_id) {
|
||||
exchange_id.value = optoions.exchange_id;
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1328", 1111);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1329", exchange_id.value);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1416", 1111);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1417", exchange_id.value);
|
||||
}
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
a: showEditor.value
|
||||
}, showEditor.value ? {
|
||||
b: common_vendor.o(closeEditor),
|
||||
c: common_vendor.o(changeEditor),
|
||||
d: common_vendor.p({
|
||||
editorCotent: editorCotent.value,
|
||||
editorType: editorType.value
|
||||
})
|
||||
} : {}, {
|
||||
e: common_vendor.p({
|
||||
name: "arrow-left",
|
||||
color: "#000",
|
||||
size: "24"
|
||||
}),
|
||||
b: common_vendor.o(alertSave),
|
||||
c: common_vendor.o(($event) => form.exchange_title = $event),
|
||||
d: common_vendor.p({
|
||||
f: common_vendor.o(alertSave),
|
||||
g: common_vendor.o(($event) => form.exchange_title = $event),
|
||||
h: common_vendor.p({
|
||||
autoHeight: true,
|
||||
placeholder: "输入标题,可包含患者信息、主诉",
|
||||
modelValue: form.exchange_title
|
||||
}),
|
||||
e: common_vendor.p({
|
||||
name: "trash",
|
||||
color: "#6B7280",
|
||||
size: "18"
|
||||
}),
|
||||
f: common_vendor.o(clearMuBan),
|
||||
g: common_vendor.o(ready),
|
||||
h: common_vendor.o(focusInfo),
|
||||
i: common_vendor.o(blurInfo),
|
||||
j: common_vendor.o(epaste),
|
||||
k: common_vendor.p({
|
||||
i: common_vendor.o(focusInfo),
|
||||
j: common_vendor.o(ready),
|
||||
k: common_vendor.o(changeSv),
|
||||
l: common_vendor.o(epaste),
|
||||
m: common_vendor.p({
|
||||
placeholder: "患者基本情况,检查结果,诊疗图片或视频",
|
||||
eid: "editor-id",
|
||||
pasteMode: "origin"
|
||||
pasteMode: "origin",
|
||||
readOnly: "true"
|
||||
}),
|
||||
l: common_vendor.o(readyResult),
|
||||
m: common_vendor.o(focusResult),
|
||||
n: common_vendor.o(focusResult),
|
||||
o: common_vendor.p({
|
||||
o: common_vendor.o(readyResult),
|
||||
p: common_vendor.p({
|
||||
placeholder: "分享经验和心得,如:诊断与鉴别诊断易错点,治疗过程难点,病例的相关知识总结及讨论等",
|
||||
eid: "editorResult"
|
||||
eid: "editorResult",
|
||||
readOnly: true
|
||||
}),
|
||||
p: common_vendor.f(labelList.value, (item, index, i0) => {
|
||||
q: common_vendor.f(labelList.value, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.label_name),
|
||||
b: "bfce3555-5-" + i0,
|
||||
@@ -775,60 +677,37 @@ const _sfc_main = {
|
||||
d: item.app_iden
|
||||
};
|
||||
}),
|
||||
q: common_vendor.p({
|
||||
r: common_vendor.p({
|
||||
name: "close-circle",
|
||||
color: "#3CC7C0",
|
||||
size: "20"
|
||||
}),
|
||||
r: common_vendor.p({
|
||||
s: common_vendor.p({
|
||||
name: "plus",
|
||||
color: "#3CC7C0",
|
||||
size: "16"
|
||||
}),
|
||||
s: common_vendor.o(openLabelPop),
|
||||
t: bottomHeight.value + "rpx",
|
||||
v: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.photoImg),
|
||||
width: "32rpx",
|
||||
height: "32rpx"
|
||||
}),
|
||||
w: common_vendor.o(insertImage),
|
||||
x: !isFocusInfo.value && !isFocusResult.value ? 1 : "",
|
||||
y: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.videoImg$1),
|
||||
width: "32rpx",
|
||||
height: "32rpx"
|
||||
}),
|
||||
z: common_vendor.o(insertVideo),
|
||||
A: !isFocusInfo.value && !isFocusResult.value ? 1 : "",
|
||||
B: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.addImg),
|
||||
width: "32rpx",
|
||||
height: "32rpx"
|
||||
}),
|
||||
C: !isFocusInfo.value ? 1 : "",
|
||||
D: common_vendor.o(alertTitle),
|
||||
E: common_vendor.o(openDraftList),
|
||||
F: common_vendor.p({
|
||||
t: common_vendor.o(openLabelPop),
|
||||
v: common_vendor.o(openDraftList),
|
||||
w: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.voteImg),
|
||||
width: "47rpx",
|
||||
height: "47rpx"
|
||||
}),
|
||||
G: common_vendor.o(($event) => showVote.value = true),
|
||||
H: common_vendor.o(publish),
|
||||
I: bottomHeight.value + "rpx",
|
||||
J: common_vendor.o(closeVote),
|
||||
K: common_vendor.o(saveVote),
|
||||
L: common_vendor.o(($event) => voteData.vote_title = $event),
|
||||
M: common_vendor.p({
|
||||
x: common_vendor.o(alertVote),
|
||||
y: common_vendor.o((...args) => common_vendor.unref(publish) && common_vendor.unref(publish)(...args)),
|
||||
z: common_vendor.o(closeVote),
|
||||
A: common_vendor.o(saveVote),
|
||||
B: common_vendor.o(($event) => voteData.vote_title = $event),
|
||||
C: common_vendor.p({
|
||||
placeholder: "请输入投票标题",
|
||||
border: "surround",
|
||||
clearable: true,
|
||||
modelValue: voteData.vote_title
|
||||
}),
|
||||
N: common_vendor.f(voteData.case_exchange_vote_option, (item, index, i0) => {
|
||||
D: common_vendor.f(voteData.case_exchange_vote_option, (item, index, i0) => {
|
||||
return {
|
||||
a: "bfce3555-13-" + i0 + ",bfce3555-11",
|
||||
a: "bfce3555-10-" + i0 + ",bfce3555-8",
|
||||
b: common_vendor.o(($event) => item.option_value = $event, index),
|
||||
c: common_vendor.p({
|
||||
placeholder: "输入选项,建议少于16个字",
|
||||
@@ -836,64 +715,64 @@ const _sfc_main = {
|
||||
clearable: true,
|
||||
modelValue: item.option_value
|
||||
}),
|
||||
d: "bfce3555-14-" + i0 + ",bfce3555-11",
|
||||
d: "bfce3555-11-" + i0 + ",bfce3555-8",
|
||||
e: common_vendor.o(($event) => delOption(index), index),
|
||||
f: index
|
||||
};
|
||||
}),
|
||||
O: common_vendor.p({
|
||||
E: common_vendor.p({
|
||||
name: "minus-circle",
|
||||
color: "red",
|
||||
size: "28"
|
||||
}),
|
||||
P: common_vendor.p({
|
||||
F: common_vendor.p({
|
||||
name: "plus",
|
||||
color: "#4B5563",
|
||||
size: "18"
|
||||
}),
|
||||
Q: common_vendor.o(addOption),
|
||||
R: common_vendor.p({
|
||||
G: common_vendor.o(addOption),
|
||||
H: common_vendor.p({
|
||||
name: "minus",
|
||||
color: "#4B5563",
|
||||
size: "30rpx",
|
||||
bold: true
|
||||
}),
|
||||
S: common_vendor.o(($event) => changeDay("minus")),
|
||||
T: common_vendor.t(voteData.valid_day),
|
||||
U: common_vendor.p({
|
||||
I: common_vendor.o(($event) => changeDay("minus")),
|
||||
J: common_vendor.t(voteData.valid_day),
|
||||
K: common_vendor.p({
|
||||
name: "plus",
|
||||
color: "#4B5563",
|
||||
size: "30rpx",
|
||||
bold: true
|
||||
}),
|
||||
V: common_vendor.o(($event) => changeDay("plus")),
|
||||
W: common_vendor.o(saveVote),
|
||||
X: common_vendor.o(clearVote),
|
||||
Y: common_vendor.o(closeVote),
|
||||
Z: common_vendor.o(openVote),
|
||||
aa: common_vendor.p({
|
||||
L: common_vendor.o(($event) => changeDay("plus")),
|
||||
M: common_vendor.o(saveVote),
|
||||
N: common_vendor.o(clearVote),
|
||||
O: common_vendor.o(closeVote),
|
||||
P: common_vendor.o(openVote),
|
||||
Q: common_vendor.p({
|
||||
round: 10,
|
||||
show: showVote.value,
|
||||
mode: "bottom"
|
||||
}),
|
||||
ab: common_vendor.p({
|
||||
R: common_vendor.p({
|
||||
name: "close",
|
||||
color: "#4B5563",
|
||||
size: "20"
|
||||
}),
|
||||
ac: common_vendor.o(closeDraft),
|
||||
ad: draftList.value.length == 0
|
||||
S: common_vendor.o(closeDraft),
|
||||
T: draftList.value.length == 0
|
||||
}, draftList.value.length == 0 ? {
|
||||
ae: common_vendor.p({
|
||||
U: common_vendor.p({
|
||||
marginTop: "120rpx",
|
||||
text: "草稿箱为空",
|
||||
mode: "list",
|
||||
icon: common_vendor.unref(common_assets.draftImg)
|
||||
})
|
||||
} : {}, {
|
||||
af: draftList.value.length > 0
|
||||
V: draftList.value.length > 0
|
||||
}, draftList.value.length > 0 ? {
|
||||
ag: common_vendor.f(draftList.value, (item, index, i0) => {
|
||||
W: 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
|
||||
@@ -919,99 +798,100 @@ 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-21-" + i0 + ",bfce3555-18",
|
||||
m: "bfce3555-18-" + i0 + ",bfce3555-15",
|
||||
n: common_vendor.o(($event) => willDelDraft(item.draft_id), item.draft_id),
|
||||
o: "bfce3555-22-" + i0 + ",bfce3555-18",
|
||||
o: "bfce3555-19-" + i0 + ",bfce3555-15",
|
||||
p: common_vendor.o(($event) => editDraft(index), item.draft_id),
|
||||
q: item.draft_id
|
||||
});
|
||||
}),
|
||||
ah: common_vendor.p({
|
||||
X: common_vendor.p({
|
||||
name: "trash",
|
||||
color: "#4B5563",
|
||||
size: "16"
|
||||
}),
|
||||
ai: common_vendor.p({
|
||||
Y: common_vendor.p({
|
||||
name: "edit-pen",
|
||||
color: "#fff",
|
||||
size: "17"
|
||||
})
|
||||
} : {}, {
|
||||
aj: common_vendor.o(closeDraft),
|
||||
ak: common_vendor.o(openDraft),
|
||||
al: common_vendor.p({
|
||||
Z: common_vendor.o(closeDraft),
|
||||
aa: common_vendor.o(openDraft),
|
||||
ab: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
show: showDraft.value,
|
||||
mode: "bottom"
|
||||
}),
|
||||
am: common_vendor.p({
|
||||
ac: common_vendor.p({
|
||||
name: "close",
|
||||
color: "#4B5563",
|
||||
size: "20"
|
||||
}),
|
||||
an: common_vendor.o(closeTitle),
|
||||
ao: common_vendor.o(insertAllWord),
|
||||
ap: common_vendor.p({
|
||||
ad: common_vendor.o(closeTitle),
|
||||
ae: common_vendor.o(insertAllWord),
|
||||
af: common_vendor.p({
|
||||
name: "plus-circle",
|
||||
color: "#3CC7C0",
|
||||
size: "20"
|
||||
}),
|
||||
aq: common_vendor.o(insertAllWord),
|
||||
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(($event) => insertWord("临床诊断")),
|
||||
ax: common_vendor.o(($event) => insertWord("治疗经过及结果")),
|
||||
ay: common_vendor.o(closeTitle),
|
||||
az: common_vendor.o(openTitle),
|
||||
aA: common_vendor.p({
|
||||
ag: common_vendor.o(insertAllWord),
|
||||
ah: common_vendor.o(($event) => insertWord("患者信息")),
|
||||
ai: common_vendor.o(($event) => insertWord("主诉")),
|
||||
aj: common_vendor.o(($event) => insertWord("现病史及既往史")),
|
||||
ak: common_vendor.o(($event) => insertWord("检查")),
|
||||
al: common_vendor.o(($event) => insertWord("临床诊断")),
|
||||
am: common_vendor.o(($event) => insertWord("治疗经过及结果")),
|
||||
an: common_vendor.o(closeTitle),
|
||||
ao: common_vendor.o(openTitle),
|
||||
ap: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
show: showTitle.value,
|
||||
mode: "bottom"
|
||||
}),
|
||||
aB: delType.value == "delDraft"
|
||||
aq: delType.value == "delDraft"
|
||||
}, delType.value == "delDraft" ? {} : delType.value == "saveDraft" ? {} : {}, {
|
||||
aC: delType.value == "saveDraft",
|
||||
aD: common_vendor.o(cancelDel),
|
||||
aE: common_vendor.o(confirmDel),
|
||||
aF: common_vendor.p({
|
||||
ar: delType.value == "saveDraft",
|
||||
as: common_vendor.o(cancelDel),
|
||||
at: common_vendor.o(confirmDel),
|
||||
av: common_vendor.p({
|
||||
show: showModal.value,
|
||||
["mask-click-able"]: true
|
||||
["mask-click-able"]: true,
|
||||
zIndex: "99"
|
||||
}),
|
||||
aG: common_vendor.o(cancelCase),
|
||||
aH: common_vendor.o(confirmCase),
|
||||
aI: common_vendor.t(!caseValue1.label_name ? "请选择选项" : caseValue1.label_name),
|
||||
aJ: common_vendor.p({
|
||||
aw: common_vendor.o(cancelCase),
|
||||
ax: common_vendor.o(confirmCase),
|
||||
ay: common_vendor.t(!caseValue1.label_name ? "请选择选项" : caseValue1.label_name),
|
||||
az: common_vendor.p({
|
||||
name: "arrow-right"
|
||||
}),
|
||||
aK: common_vendor.o(($event) => openCaseLevel("1")),
|
||||
aL: caseValue1.label_name && labelObj.list2.length > 0
|
||||
aA: common_vendor.o(($event) => openCaseLevel("1")),
|
||||
aB: caseValue1.label_name && labelObj.list2.length > 0
|
||||
}, caseValue1.label_name && labelObj.list2.length > 0 ? {
|
||||
aM: common_vendor.t(!caseValue2.label_name ? "请选择选项" : caseValue2.label_name),
|
||||
aN: common_vendor.p({
|
||||
aC: common_vendor.t(!caseValue2.label_name ? "请选择选项" : caseValue2.label_name),
|
||||
aD: common_vendor.p({
|
||||
name: "arrow-right"
|
||||
}),
|
||||
aO: common_vendor.o(($event) => openCaseLevel("2"))
|
||||
aE: common_vendor.o(($event) => openCaseLevel("2"))
|
||||
} : {}, {
|
||||
aP: caseValue2.label_name && labelObj.list3.length > 0
|
||||
aF: caseValue2.label_name && labelObj.list3.length > 0
|
||||
}, caseValue2.label_name && labelObj.list3.length > 0 ? {
|
||||
aQ: common_vendor.t(!caseValue3.label_name ? "请选择选项" : caseValue3.label_name),
|
||||
aR: common_vendor.p({
|
||||
aG: common_vendor.t(!caseValue3.label_name ? "请选择选项" : caseValue3.label_name),
|
||||
aH: common_vendor.p({
|
||||
name: "arrow-right"
|
||||
}),
|
||||
aS: common_vendor.o(($event) => openCaseLevel("3"))
|
||||
aI: common_vendor.o(($event) => openCaseLevel("3"))
|
||||
} : {}, {
|
||||
aT: freshKey.value,
|
||||
aU: common_vendor.p({
|
||||
aJ: freshKey.value,
|
||||
aK: common_vendor.p({
|
||||
current: level.value - 1,
|
||||
direction: "column"
|
||||
}),
|
||||
aV: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
aL: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
return {
|
||||
a: "bfce3555-36-" + i0 + ",bfce3555-35",
|
||||
a: "bfce3555-33-" + i0 + ",bfce3555-32",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
@@ -1020,18 +900,18 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
aW: common_vendor.o(groupChange1),
|
||||
aX: common_vendor.o(($event) => caseValue1.app_iden = $event),
|
||||
aY: common_vendor.p({
|
||||
aM: common_vendor.o(groupChange1),
|
||||
aN: common_vendor.o(($event) => caseValue1.app_iden = $event),
|
||||
aO: common_vendor.p({
|
||||
name: "group1",
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue1.app_iden
|
||||
}),
|
||||
aZ: level.value == 1,
|
||||
ba: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
aP: level.value == 1,
|
||||
aQ: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
return {
|
||||
a: "bfce3555-38-" + i0 + ",bfce3555-37",
|
||||
a: "bfce3555-35-" + i0 + ",bfce3555-34",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
@@ -1040,18 +920,18 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
bb: common_vendor.o(groupChange2),
|
||||
bc: common_vendor.o(($event) => caseValue2.app_iden = $event),
|
||||
bd: common_vendor.p({
|
||||
aR: common_vendor.o(groupChange2),
|
||||
aS: common_vendor.o(($event) => caseValue2.app_iden = $event),
|
||||
aT: common_vendor.p({
|
||||
name: "group2",
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue2.app_iden
|
||||
}),
|
||||
be: level.value == 2,
|
||||
bf: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
aU: level.value == 2,
|
||||
aV: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
return {
|
||||
a: "bfce3555-40-" + i0 + ",bfce3555-39",
|
||||
a: "bfce3555-37-" + i0 + ",bfce3555-36",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
@@ -1060,17 +940,17 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
bg: common_vendor.o(groupChange3),
|
||||
bh: common_vendor.o(($event) => caseValue3.app_iden = $event),
|
||||
bi: common_vendor.p({
|
||||
aW: common_vendor.o(groupChange3),
|
||||
aX: common_vendor.o(($event) => caseValue3.app_iden = $event),
|
||||
aY: common_vendor.p({
|
||||
name: "group3",
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue3.app_iden
|
||||
}),
|
||||
bj: level.value == 3,
|
||||
bk: common_vendor.o(closeCase),
|
||||
bl: common_vendor.p({
|
||||
aZ: level.value == 3,
|
||||
ba: common_vendor.o(closeCase),
|
||||
bb: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
closeOnClickOverlay: false,
|
||||
|
||||
+2
-1
@@ -14,6 +14,7 @@
|
||||
"up-steps": "../../node-modules/uview-plus/components/u-steps/u-steps",
|
||||
"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",
|
||||
"sv-editor": "../../uni_modules/sv-editor/components/sv-editor/sv-editor"
|
||||
"sv-editor": "../../uni_modules/sv-editor/components/sv-editor/sv-editor",
|
||||
"p-editor": "../../components/pEditor/pEditor"
|
||||
}
|
||||
}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+19
-1
@@ -269,12 +269,30 @@
|
||||
font-size: 24rpx;
|
||||
}
|
||||
#editor.data-v-bfce3555 {
|
||||
position: relative;
|
||||
padding: 0 10rpx;
|
||||
height: calc(100vh - 700rpx);
|
||||
}
|
||||
#editor .mask.data-v-bfce3555 {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: red;
|
||||
z-index: 9;
|
||||
}
|
||||
#editorRes.data-v-bfce3555 {
|
||||
position: relative;
|
||||
height: 600rpx;
|
||||
}
|
||||
#editorRes .mask.data-v-bfce3555 {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: red;
|
||||
z-index: 9;
|
||||
}
|
||||
#editorRes.data-v-bfce3555 .sv-editor-wrapper {
|
||||
flex: 1;
|
||||
min-height: 300rpx;
|
||||
@@ -550,7 +568,7 @@
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
z-index: 3;
|
||||
z-index: 1;
|
||||
background: #ffffff;
|
||||
}
|
||||
.bottom .bottombtn.data-v-bfce3555 {
|
||||
|
||||
+58
-67
@@ -47,6 +47,7 @@ const _sfc_main = {
|
||||
const numInfo = common_vendor.reactive({});
|
||||
const searchInfo = common_vendor.reactive({});
|
||||
const freshKey = common_vendor.ref(0);
|
||||
const navType = common_vendor.ref("");
|
||||
const navName = common_vendor.ref("肝胆相照临床病例库");
|
||||
const paging = common_vendor.ref(null);
|
||||
const hideType = common_vendor.ref(false);
|
||||
@@ -155,18 +156,6 @@ const _sfc_main = {
|
||||
const openCase = () => {
|
||||
showCase.value = true;
|
||||
};
|
||||
const cancelCase = () => {
|
||||
showCase.value = false;
|
||||
level.value = 1;
|
||||
caseValue1.name = "";
|
||||
caseValue1.value = "";
|
||||
caseValue2.name = "";
|
||||
caseValue2.value = "";
|
||||
caseValue3.name = "";
|
||||
caseValue3.value = "";
|
||||
labelObj.list2 = [];
|
||||
labelObj.list3 = [];
|
||||
};
|
||||
const confirmCase = () => {
|
||||
if (level.value == 1 && caseValue1.value == "") {
|
||||
common_vendor.index.showToast({ title: "请选择疾病选项", icon: "none" });
|
||||
@@ -203,6 +192,8 @@ const _sfc_main = {
|
||||
common_vendor.onLoad((options2) => {
|
||||
if (options2.from == "home") {
|
||||
isSearch.value = true;
|
||||
} else if (options2.from == "myCase") {
|
||||
navType.value = "myCase";
|
||||
}
|
||||
if (options2.keyWord) {
|
||||
keyWord.value = options2.keyWord;
|
||||
@@ -263,7 +254,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:472", isLink);
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:475", isLink);
|
||||
if (isLink == 1) {
|
||||
api_api.api.readRecord({
|
||||
type: isArticle.value ? 1 : 2,
|
||||
@@ -283,8 +274,6 @@ const _sfc_main = {
|
||||
const swicthType = () => {
|
||||
isArticle.value = !isArticle.value;
|
||||
dataList.value = [];
|
||||
order.read_num = "";
|
||||
order.push_date = "";
|
||||
paging.value.reload();
|
||||
};
|
||||
const searchArticle = (params) => {
|
||||
@@ -406,7 +395,7 @@ const _sfc_main = {
|
||||
});
|
||||
};
|
||||
const queryList = (pageNo, pageSize) => {
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:626", 666666);
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:629", 666666);
|
||||
const params = {
|
||||
page: pageNo,
|
||||
page_size: pageSize
|
||||
@@ -418,11 +407,12 @@ const _sfc_main = {
|
||||
a: common_vendor.o(changeWord),
|
||||
b: common_vendor.p({
|
||||
searchWord: keyWord.value,
|
||||
navName: navName.value
|
||||
navName: navName.value,
|
||||
type: navType.value
|
||||
}),
|
||||
c: hospital_id.value || doctor_id.value || label_iden.value && !canOpenCase.value
|
||||
}, hospital_id.value || doctor_id.value || label_iden.value && !canOpenCase.value ? {
|
||||
d: common_vendor.t(numInfo.article_collect_num),
|
||||
d: common_vendor.t(numInfo.article_num),
|
||||
e: common_vendor.t(numInfo.video_num),
|
||||
f: common_vendor.t(numInfo.video_read_num + numInfo.article_read_num)
|
||||
} : {}, {
|
||||
@@ -454,9 +444,10 @@ const _sfc_main = {
|
||||
width: "31rpx",
|
||||
height: "31rpx"
|
||||
}),
|
||||
s: common_vendor.o(openCase)
|
||||
s: label_iden.value ? 1 : "",
|
||||
t: common_vendor.o(openCase)
|
||||
} : {}, {
|
||||
t: common_vendor.f(options.value, (item, k0, i0) => {
|
||||
v: common_vendor.f(options.value, (item, k0, i0) => {
|
||||
return {
|
||||
a: "c10c040c-7-" + i0 + ",c10c040c-6",
|
||||
b: common_vendor.p({
|
||||
@@ -468,23 +459,23 @@ const _sfc_main = {
|
||||
d: common_vendor.n(orderFilter.value == item.value ? "active" : "")
|
||||
};
|
||||
}),
|
||||
v: common_vendor.o(changeDate),
|
||||
w: common_vendor.o(($event) => orderFilter.value = $event),
|
||||
x: common_vendor.p({
|
||||
w: common_vendor.o(changeDate),
|
||||
x: common_vendor.o(($event) => orderFilter.value = $event),
|
||||
y: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: orderFilter.value
|
||||
}),
|
||||
y: common_vendor.p({
|
||||
z: common_vendor.p({
|
||||
title: dropTitle.value
|
||||
}),
|
||||
z: common_vendor.sr(uDropdownRef, "c10c040c-4,c10c040c-0", {
|
||||
A: common_vendor.sr(uDropdownRef, "c10c040c-4,c10c040c-0", {
|
||||
"k": "uDropdownRef"
|
||||
}),
|
||||
A: canOpenCase.value ? 1 : "",
|
||||
B: hideType.value ? 1 : "",
|
||||
C: isCase.value ? 1 : "",
|
||||
D: common_vendor.f(dataList.value, (item, index, i0) => {
|
||||
B: canOpenCase.value ? 1 : "",
|
||||
C: hideType.value ? 1 : "",
|
||||
D: isCase.value ? 1 : "",
|
||||
E: common_vendor.f(dataList.value, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(isArticle.value ? item.article_title : item.video_title),
|
||||
b: common_vendor.f(item.author, (tag, k1, i1) => {
|
||||
@@ -511,56 +502,56 @@ const _sfc_main = {
|
||||
l: common_vendor.o(($event) => isArticle.value ? goDetail(item.article_id, item.is_link, item.is_link_url) : goDetail(item.video_id, item.is_link, item.is_link_url), index)
|
||||
});
|
||||
}),
|
||||
E: common_vendor.p({
|
||||
F: common_vendor.p({
|
||||
name: "eye",
|
||||
color: "#6B7280",
|
||||
size: "28rpx"
|
||||
}),
|
||||
F: common_vendor.p({
|
||||
G: common_vendor.p({
|
||||
name: "clock",
|
||||
color: "#6B7280",
|
||||
size: "28rpx"
|
||||
}),
|
||||
G: common_vendor.sr(paging, "c10c040c-0", {
|
||||
H: common_vendor.sr(paging, "c10c040c-0", {
|
||||
"k": "paging"
|
||||
}),
|
||||
H: common_vendor.o(queryList),
|
||||
I: common_vendor.o(($event) => dataList.value = $event),
|
||||
J: common_vendor.p({
|
||||
I: common_vendor.o(queryList),
|
||||
J: common_vendor.o(($event) => dataList.value = $event),
|
||||
K: common_vendor.p({
|
||||
["inside-more"]: true,
|
||||
["loading-more-no-more-text"]: "咱也是有底线的!",
|
||||
["auto-show-back-to-top"]: true,
|
||||
modelValue: dataList.value
|
||||
}),
|
||||
K: common_vendor.o(cancelCase),
|
||||
L: common_vendor.o(confirmCase),
|
||||
M: common_vendor.t(!caseValue1.name ? "请选择选项" : caseValue1.name),
|
||||
N: common_vendor.p({
|
||||
L: common_vendor.o(closeCase),
|
||||
M: common_vendor.o(confirmCase),
|
||||
N: common_vendor.t(!caseValue1.name ? "请选择选项" : caseValue1.name),
|
||||
O: common_vendor.p({
|
||||
name: "arrow-right"
|
||||
}),
|
||||
O: common_vendor.o(($event) => openCaseLevel("1")),
|
||||
P: caseValue1.name && labelObj.list2.length > 0
|
||||
P: common_vendor.o(($event) => openCaseLevel("1")),
|
||||
Q: caseValue1.name && labelObj.list2.length > 0
|
||||
}, caseValue1.name && labelObj.list2.length > 0 ? {
|
||||
Q: common_vendor.t(!caseValue2.name ? "请选择选项" : caseValue2.name),
|
||||
R: common_vendor.p({
|
||||
R: common_vendor.t(!caseValue2.name ? "请选择选项" : caseValue2.name),
|
||||
S: common_vendor.p({
|
||||
name: "arrow-right"
|
||||
}),
|
||||
S: common_vendor.o(($event) => openCaseLevel("2"))
|
||||
T: common_vendor.o(($event) => openCaseLevel("2"))
|
||||
} : {}, {
|
||||
T: caseValue2.name && labelObj.list3.length > 0
|
||||
U: caseValue2.name && labelObj.list3.length > 0
|
||||
}, caseValue2.name && labelObj.list3.length > 0 ? {
|
||||
U: common_vendor.t(!caseValue3.name ? "请选择选项" : caseValue3.name),
|
||||
V: common_vendor.p({
|
||||
V: common_vendor.t(!caseValue3.name ? "请选择选项" : caseValue3.name),
|
||||
W: common_vendor.p({
|
||||
name: "arrow-right"
|
||||
}),
|
||||
W: common_vendor.o(($event) => openCaseLevel("3"))
|
||||
X: common_vendor.o(($event) => openCaseLevel("3"))
|
||||
} : {}, {
|
||||
X: freshKey.value,
|
||||
Y: common_vendor.p({
|
||||
Y: freshKey.value,
|
||||
Z: common_vendor.p({
|
||||
current: level.value - 1,
|
||||
direction: "column"
|
||||
}),
|
||||
Z: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
aa: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
return {
|
||||
a: "c10c040c-20-" + i0 + ",c10c040c-19",
|
||||
b: common_vendor.p({
|
||||
@@ -571,16 +562,16 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
aa: common_vendor.o(groupChange1),
|
||||
ab: common_vendor.o(($event) => caseValue1.value = $event),
|
||||
ac: common_vendor.p({
|
||||
ab: common_vendor.o(groupChange1),
|
||||
ac: common_vendor.o(($event) => caseValue1.value = $event),
|
||||
ad: common_vendor.p({
|
||||
name: "group1",
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue1.value
|
||||
}),
|
||||
ad: level.value == 1,
|
||||
ae: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
ae: level.value == 1,
|
||||
af: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
return {
|
||||
a: "c10c040c-22-" + i0 + ",c10c040c-21",
|
||||
b: common_vendor.p({
|
||||
@@ -591,16 +582,16 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
af: common_vendor.o(groupChange2),
|
||||
ag: common_vendor.o(($event) => caseValue2.value = $event),
|
||||
ah: common_vendor.p({
|
||||
ag: common_vendor.o(groupChange2),
|
||||
ah: common_vendor.o(($event) => caseValue2.value = $event),
|
||||
ai: common_vendor.p({
|
||||
name: "group2",
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue2.value
|
||||
}),
|
||||
ai: level.value == 2,
|
||||
aj: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
aj: level.value == 2,
|
||||
ak: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
return {
|
||||
a: "c10c040c-24-" + i0 + ",c10c040c-23",
|
||||
b: common_vendor.p({
|
||||
@@ -611,17 +602,17 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
ak: common_vendor.o(groupChange3),
|
||||
al: common_vendor.o(($event) => caseValue3.value = $event),
|
||||
am: common_vendor.p({
|
||||
al: common_vendor.o(groupChange3),
|
||||
am: common_vendor.o(($event) => caseValue3.value = $event),
|
||||
an: common_vendor.p({
|
||||
name: "group3",
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue3.value
|
||||
}),
|
||||
an: level.value == 3,
|
||||
ao: common_vendor.o(closeCase),
|
||||
ap: common_vendor.p({
|
||||
ao: level.value == 3,
|
||||
ap: common_vendor.o(closeCase),
|
||||
aq: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
closeOnClickOverlay: false,
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -207,7 +207,7 @@
|
||||
}
|
||||
.filterbox.data-v-c10c040c .u-dropdown__menu__item__text {
|
||||
font-size: 14px !important;
|
||||
color: #3c9cff !important;
|
||||
color: #3CC7C0 !important;
|
||||
}
|
||||
.filterbox.data-v-c10c040c .u-dropdown__menu__item {
|
||||
height: 74rpx;
|
||||
|
||||
+17
-16
@@ -51,13 +51,14 @@ const _sfc_main = {
|
||||
}
|
||||
]);
|
||||
const order = common_vendor.reactive({
|
||||
updated_at: "desc"
|
||||
push_date: "desc"
|
||||
});
|
||||
common_vendor.onLoad((options) => {
|
||||
if (options.type == "hospital") {
|
||||
type.value = "hospital";
|
||||
option.value[1].label = "医院名称";
|
||||
}
|
||||
common_vendor.index.__f__("log", "at pages/searchList/searchList.vue:142", type.value);
|
||||
keyWord.value = options.name;
|
||||
if (options.name) {
|
||||
navName.value = options.name + "临床病例库";
|
||||
@@ -78,8 +79,8 @@ const _sfc_main = {
|
||||
});
|
||||
const change = (e) => {
|
||||
if (e == 1) {
|
||||
order.updated_at = "desc";
|
||||
if (type.value = "hospital") {
|
||||
order.push_date = "desc";
|
||||
if (type.value == "hospital") {
|
||||
order.hospital_name = "";
|
||||
} else {
|
||||
order.doctor_name = "";
|
||||
@@ -87,18 +88,18 @@ const _sfc_main = {
|
||||
order.article_num = "";
|
||||
dropTitle.value = "更新时间";
|
||||
} else if (e == 2) {
|
||||
order.updated_at = "";
|
||||
order.push_date = "";
|
||||
order.article_num = "";
|
||||
if (type.value = "hospital") {
|
||||
order.hospital_name = "desc";
|
||||
if (type.value == "hospital") {
|
||||
order.hospital_name = "asc";
|
||||
dropTitle.value = "医院名称";
|
||||
} else {
|
||||
order.doctor_name = "asc";
|
||||
dropTitle.value = "医生名称";
|
||||
}
|
||||
} else if (e == 3) {
|
||||
order.updated_at = "";
|
||||
if (type.value = "hospital") {
|
||||
order.push_date = "";
|
||||
if (type.value == "hospital") {
|
||||
order.hospital_name = "";
|
||||
} else {
|
||||
order.doctor_name = "";
|
||||
@@ -119,8 +120,8 @@ const _sfc_main = {
|
||||
let searchForm = {
|
||||
hospital_name: keyWord.value
|
||||
};
|
||||
if (!order.updated_at) {
|
||||
delete order.updated_at;
|
||||
if (!order.push_date) {
|
||||
delete order.push_date;
|
||||
}
|
||||
if (!order.article_num) {
|
||||
delete order.article_num;
|
||||
@@ -128,7 +129,7 @@ const _sfc_main = {
|
||||
if (!order.hospital_name) {
|
||||
delete order.hospital_name;
|
||||
}
|
||||
if (order.updated_at || order.article_num || order.hospital_name) {
|
||||
if (order.push_date || order.article_num || order.hospital_name) {
|
||||
searchForm.order = order;
|
||||
}
|
||||
api_api.api.searchHospital({
|
||||
@@ -145,8 +146,8 @@ const _sfc_main = {
|
||||
let searchForm = {
|
||||
doctor_name: keyWord.value
|
||||
};
|
||||
if (!order.updated_at) {
|
||||
delete order.updated_at;
|
||||
if (!order.push_date) {
|
||||
delete order.push_date;
|
||||
}
|
||||
if (!order.article_num) {
|
||||
delete order.article_num;
|
||||
@@ -154,7 +155,7 @@ const _sfc_main = {
|
||||
if (!order.doctor_name) {
|
||||
delete order.doctor_name;
|
||||
}
|
||||
if (order.updated_at || order.article_num || order.doctor_name) {
|
||||
if (order.push_date || order.article_num || order.doctor_name) {
|
||||
searchForm.order = order;
|
||||
}
|
||||
api_api.api.searchDoctor({
|
||||
@@ -186,7 +187,7 @@ const _sfc_main = {
|
||||
});
|
||||
};
|
||||
const changeWord = (value) => {
|
||||
common_vendor.index.__f__("log", "at pages/searchList/searchList.vue:329", value);
|
||||
common_vendor.index.__f__("log", "at pages/searchList/searchList.vue:331", value);
|
||||
if (type.value == "hospital") {
|
||||
navName.value = "医院临床病例库";
|
||||
order.hospital_name = "";
|
||||
@@ -196,7 +197,7 @@ const _sfc_main = {
|
||||
}
|
||||
keyWord.value = value;
|
||||
dataList.value = [];
|
||||
order.updated_at = "desc";
|
||||
order.push_date = "desc";
|
||||
order.article_num = "";
|
||||
paging.value.reload();
|
||||
};
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
}
|
||||
.filterbox.data-v-5d2f7987 .u-dropdown__menu__item__text {
|
||||
font-size: 14px !important;
|
||||
color: #3c9cff !important;
|
||||
color: #3CC7C0 !important;
|
||||
}
|
||||
.filterbox .type.data-v-5d2f7987 {
|
||||
position: absolute;
|
||||
|
||||
+1
-1
@@ -83,7 +83,7 @@ const _sfc_main = {
|
||||
dropTitle.value = "更新时间";
|
||||
} else if (e == 2) {
|
||||
order.updated_at = "";
|
||||
order.label_name = "desc";
|
||||
order.label_name = "asc";
|
||||
order.article_num = "";
|
||||
dropTitle.value = "疾病名称";
|
||||
} else if (e == 3) {
|
||||
|
||||
@@ -207,7 +207,7 @@
|
||||
}
|
||||
.u-page.data-v-55f9e2cf .u-dropdown__menu__item__text {
|
||||
font-size: 14px !important;
|
||||
color: #3c9cff !important;
|
||||
color: #3CC7C0 !important;
|
||||
}
|
||||
.u-page.data-v-55f9e2cf .u-dropdown__menu__item {
|
||||
height: 74rpx;
|
||||
|
||||
+56
-67
@@ -64,7 +64,7 @@ const _sfc_main = {
|
||||
value: "2"
|
||||
},
|
||||
{
|
||||
label: "互动次数",
|
||||
label: "互动数",
|
||||
value: "3"
|
||||
}
|
||||
]);
|
||||
@@ -160,18 +160,6 @@ const _sfc_main = {
|
||||
const openCase = () => {
|
||||
showCase.value = true;
|
||||
};
|
||||
const cancelCase = () => {
|
||||
showCase.value = false;
|
||||
level.value = 1;
|
||||
caseValue1.name = "";
|
||||
caseValue1.value = "";
|
||||
caseValue2.name = "";
|
||||
caseValue2.value = "";
|
||||
caseValue3.name = "";
|
||||
caseValue3.value = "";
|
||||
labelObj.list2 = [];
|
||||
labelObj.list3 = [];
|
||||
};
|
||||
const confirmCase = () => {
|
||||
if (level.value == 1 && caseValue1.value == "") {
|
||||
common_vendor.index.showToast({ title: "请选择疾病选项", icon: "none" });
|
||||
@@ -369,8 +357,9 @@ const _sfc_main = {
|
||||
width: "31rpx",
|
||||
height: "31rpx"
|
||||
}),
|
||||
h: common_vendor.o(openCase),
|
||||
i: common_vendor.f(options.value, (item, k0, i0) => {
|
||||
h: label_iden.value ? 1 : "",
|
||||
i: common_vendor.o(openCase),
|
||||
j: common_vendor.f(options.value, (item, k0, i0) => {
|
||||
return {
|
||||
a: "b2cb78f4-6-" + i0 + ",b2cb78f4-5",
|
||||
b: common_vendor.p({
|
||||
@@ -382,20 +371,20 @@ const _sfc_main = {
|
||||
d: common_vendor.n(orderFilter.value == item.value ? "active" : "")
|
||||
};
|
||||
}),
|
||||
j: common_vendor.o(changeDate),
|
||||
k: common_vendor.o(($event) => orderFilter.value = $event),
|
||||
l: common_vendor.p({
|
||||
k: common_vendor.o(changeDate),
|
||||
l: common_vendor.o(($event) => orderFilter.value = $event),
|
||||
m: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: orderFilter.value
|
||||
}),
|
||||
m: common_vendor.p({
|
||||
n: common_vendor.p({
|
||||
title: dropTitle.value
|
||||
}),
|
||||
n: common_vendor.sr(uDropdownRef, "b2cb78f4-3,b2cb78f4-0", {
|
||||
o: common_vendor.sr(uDropdownRef, "b2cb78f4-3,b2cb78f4-0", {
|
||||
"k": "uDropdownRef"
|
||||
}),
|
||||
o: common_vendor.f(dataList.value, (item, k0, i0) => {
|
||||
p: common_vendor.f(dataList.value, (item, k0, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.exchange_title),
|
||||
b: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
|
||||
@@ -479,57 +468,57 @@ const _sfc_main = {
|
||||
I: item.exchange_id
|
||||
});
|
||||
}),
|
||||
p: isMine.value,
|
||||
q: common_vendor.p({
|
||||
q: isMine.value,
|
||||
r: common_vendor.p({
|
||||
name: "eye",
|
||||
color: "#4B5563",
|
||||
size: "28rpx"
|
||||
}),
|
||||
r: common_vendor.p({
|
||||
s: common_vendor.p({
|
||||
name: "clock",
|
||||
color: "#4B5563",
|
||||
size: "28rpx"
|
||||
}),
|
||||
s: common_vendor.sr(paging, "b2cb78f4-0", {
|
||||
t: common_vendor.sr(paging, "b2cb78f4-0", {
|
||||
"k": "paging"
|
||||
}),
|
||||
t: common_vendor.o(queryList),
|
||||
v: common_vendor.o(($event) => dataList.value = $event),
|
||||
w: common_vendor.p({
|
||||
v: common_vendor.o(queryList),
|
||||
w: common_vendor.o(($event) => dataList.value = $event),
|
||||
x: common_vendor.p({
|
||||
["inside-more"]: true,
|
||||
["loading-more-no-more-text"]: "咱也是有底线的!",
|
||||
["auto-show-back-to-top"]: true,
|
||||
modelValue: dataList.value
|
||||
}),
|
||||
x: common_vendor.o(cancelCase),
|
||||
y: common_vendor.o(confirmCase),
|
||||
z: common_vendor.t(!caseValue1.name ? "请选择选项" : caseValue1.name),
|
||||
A: common_vendor.p({
|
||||
y: common_vendor.o(closeCase),
|
||||
z: common_vendor.o(confirmCase),
|
||||
A: common_vendor.t(!caseValue1.name ? "请选择选项" : caseValue1.name),
|
||||
B: common_vendor.p({
|
||||
name: "arrow-right"
|
||||
}),
|
||||
B: common_vendor.o(($event) => openCaseLevel("1")),
|
||||
C: caseValue1.name && labelObj.list2.length > 0
|
||||
C: common_vendor.o(($event) => openCaseLevel("1")),
|
||||
D: caseValue1.name && labelObj.list2.length > 0
|
||||
}, caseValue1.name && labelObj.list2.length > 0 ? {
|
||||
D: common_vendor.t(!caseValue2.name ? "请选择选项" : caseValue2.name),
|
||||
E: common_vendor.p({
|
||||
E: common_vendor.t(!caseValue2.name ? "请选择选项" : caseValue2.name),
|
||||
F: common_vendor.p({
|
||||
name: "arrow-right"
|
||||
}),
|
||||
F: common_vendor.o(($event) => openCaseLevel("2"))
|
||||
G: common_vendor.o(($event) => openCaseLevel("2"))
|
||||
} : {}, {
|
||||
G: caseValue2.name && labelObj.list3.length > 0
|
||||
H: caseValue2.name && labelObj.list3.length > 0
|
||||
}, caseValue2.name && labelObj.list3.length > 0 ? {
|
||||
H: common_vendor.t(!caseValue3.name ? "请选择选项" : caseValue3.name),
|
||||
I: common_vendor.p({
|
||||
I: common_vendor.t(!caseValue3.name ? "请选择选项" : caseValue3.name),
|
||||
J: common_vendor.p({
|
||||
name: "arrow-right"
|
||||
}),
|
||||
J: common_vendor.o(($event) => openCaseLevel("3"))
|
||||
K: common_vendor.o(($event) => openCaseLevel("3"))
|
||||
} : {}, {
|
||||
K: freshKey.value,
|
||||
L: common_vendor.p({
|
||||
L: freshKey.value,
|
||||
M: common_vendor.p({
|
||||
current: level.value - 1,
|
||||
direction: "column"
|
||||
}),
|
||||
M: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
N: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
return {
|
||||
a: "b2cb78f4-22-" + i0 + ",b2cb78f4-21",
|
||||
b: common_vendor.p({
|
||||
@@ -540,16 +529,16 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
N: common_vendor.o(groupChange1),
|
||||
O: common_vendor.o(($event) => caseValue1.value = $event),
|
||||
P: common_vendor.p({
|
||||
O: common_vendor.o(groupChange1),
|
||||
P: common_vendor.o(($event) => caseValue1.value = $event),
|
||||
Q: common_vendor.p({
|
||||
name: "group1",
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue1.value
|
||||
}),
|
||||
Q: level.value == 1,
|
||||
R: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
R: level.value == 1,
|
||||
S: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
return {
|
||||
a: "b2cb78f4-24-" + i0 + ",b2cb78f4-23",
|
||||
b: common_vendor.p({
|
||||
@@ -560,16 +549,16 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
S: common_vendor.o(groupChange2),
|
||||
T: common_vendor.o(($event) => caseValue2.value = $event),
|
||||
U: common_vendor.p({
|
||||
T: common_vendor.o(groupChange2),
|
||||
U: common_vendor.o(($event) => caseValue2.value = $event),
|
||||
V: common_vendor.p({
|
||||
name: "group2",
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue2.value
|
||||
}),
|
||||
V: level.value == 2,
|
||||
W: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
W: level.value == 2,
|
||||
X: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
return {
|
||||
a: "b2cb78f4-26-" + i0 + ",b2cb78f4-25",
|
||||
b: common_vendor.p({
|
||||
@@ -580,27 +569,27 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
X: common_vendor.o(groupChange3),
|
||||
Y: common_vendor.o(($event) => caseValue3.value = $event),
|
||||
Z: common_vendor.p({
|
||||
Y: common_vendor.o(groupChange3),
|
||||
Z: common_vendor.o(($event) => caseValue3.value = $event),
|
||||
aa: common_vendor.p({
|
||||
name: "group3",
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue3.value
|
||||
}),
|
||||
aa: level.value == 3,
|
||||
ab: common_vendor.o(closeCase),
|
||||
ac: common_vendor.p({
|
||||
ab: level.value == 3,
|
||||
ac: common_vendor.o(closeCase),
|
||||
ad: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
closeOnClickOverlay: false,
|
||||
show: showCase.value,
|
||||
mode: "bottom"
|
||||
}),
|
||||
ad: common_vendor.o(goEdit),
|
||||
ae: common_vendor.o(alertDel),
|
||||
af: common_vendor.o(closeDealPop),
|
||||
ag: common_vendor.p({
|
||||
ae: common_vendor.o(goEdit),
|
||||
af: common_vendor.o(alertDel),
|
||||
ag: common_vendor.o(closeDealPop),
|
||||
ah: common_vendor.p({
|
||||
zIndex: 60,
|
||||
overlayStyle: {
|
||||
zIndex: 59
|
||||
@@ -609,9 +598,9 @@ const _sfc_main = {
|
||||
round: 10,
|
||||
mode: "bottom"
|
||||
}),
|
||||
ah: common_vendor.o(($event) => showModal.value = false),
|
||||
ai: common_vendor.o(confirmDel),
|
||||
aj: common_vendor.p({
|
||||
ai: common_vendor.o(($event) => showModal.value = false),
|
||||
aj: common_vendor.o(confirmDel),
|
||||
ak: common_vendor.p({
|
||||
show: showModal.value,
|
||||
["mask-click-able"]: true
|
||||
})
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -74,7 +74,7 @@
|
||||
}
|
||||
.filterbox.data-v-b2cb78f4 .u-dropdown__menu__item__text {
|
||||
font-size: 14px !important;
|
||||
color: #3c9cff !important;
|
||||
color: #3CC7C0 !important;
|
||||
}
|
||||
.filterbox .type.data-v-b2cb78f4 {
|
||||
color: #606266;
|
||||
|
||||
+48
-59
@@ -153,18 +153,6 @@ const _sfc_main = {
|
||||
const openCase = () => {
|
||||
showCase.value = true;
|
||||
};
|
||||
const cancelCase = () => {
|
||||
showCase.value = false;
|
||||
level.value = 1;
|
||||
caseValue1.name = "";
|
||||
caseValue1.value = "";
|
||||
caseValue2.name = "";
|
||||
caseValue2.value = "";
|
||||
caseValue3.name = "";
|
||||
caseValue3.value = "";
|
||||
labelObj.list2 = [];
|
||||
labelObj.list3 = [];
|
||||
};
|
||||
const confirmCase = () => {
|
||||
if (level.value == 1 && caseValue1.value == "") {
|
||||
common_vendor.index.showToast({ title: "请选择疾病选项", icon: "none" });
|
||||
@@ -349,7 +337,7 @@ const _sfc_main = {
|
||||
}, isArticle.value ? {
|
||||
d: common_vendor.t(numInfo.article_collect_num)
|
||||
} : {
|
||||
e: common_vendor.t(numInfo.video_collect_num)
|
||||
e: common_vendor.t(numInfo.video_num)
|
||||
}, {
|
||||
f: isArticle.value
|
||||
}, isArticle.value ? {
|
||||
@@ -369,8 +357,9 @@ const _sfc_main = {
|
||||
width: "31rpx",
|
||||
height: "31rpx"
|
||||
}),
|
||||
n: common_vendor.o(openCase),
|
||||
o: common_vendor.f(options.value, (item, k0, i0) => {
|
||||
n: label_iden.value ? 1 : "",
|
||||
o: common_vendor.o(openCase),
|
||||
p: common_vendor.f(options.value, (item, k0, i0) => {
|
||||
return {
|
||||
a: "acc011bc-6-" + i0 + ",acc011bc-5",
|
||||
b: common_vendor.p({
|
||||
@@ -382,20 +371,20 @@ const _sfc_main = {
|
||||
d: common_vendor.n(orderFilter.value == item.value ? "active" : "")
|
||||
};
|
||||
}),
|
||||
p: common_vendor.o(changeDate),
|
||||
q: common_vendor.o(($event) => orderFilter.value = $event),
|
||||
r: common_vendor.p({
|
||||
q: common_vendor.o(changeDate),
|
||||
r: common_vendor.o(($event) => orderFilter.value = $event),
|
||||
s: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: orderFilter.value
|
||||
}),
|
||||
s: common_vendor.p({
|
||||
t: common_vendor.p({
|
||||
title: dropTitle.value
|
||||
}),
|
||||
t: common_vendor.sr(uDropdownRef, "acc011bc-3,acc011bc-0", {
|
||||
v: common_vendor.sr(uDropdownRef, "acc011bc-3,acc011bc-0", {
|
||||
"k": "uDropdownRef"
|
||||
}),
|
||||
v: common_vendor.f(dataList.value, (item, index, i0) => {
|
||||
w: common_vendor.f(dataList.value, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(isArticle.value ? item.article_title : item.video_title),
|
||||
b: common_vendor.f(item.author, (tag, k1, i1) => {
|
||||
@@ -422,56 +411,56 @@ const _sfc_main = {
|
||||
l: common_vendor.o(($event) => isArticle.value ? goDetail(item.article_id) : goDetail(item.video_id), index)
|
||||
});
|
||||
}),
|
||||
w: common_vendor.p({
|
||||
x: common_vendor.p({
|
||||
name: "eye",
|
||||
color: "#6B7280",
|
||||
size: "28rpx"
|
||||
}),
|
||||
x: common_vendor.p({
|
||||
y: common_vendor.p({
|
||||
name: "clock",
|
||||
color: "#6B7280",
|
||||
size: "28rpx"
|
||||
}),
|
||||
y: common_vendor.sr(paging, "acc011bc-0", {
|
||||
z: common_vendor.sr(paging, "acc011bc-0", {
|
||||
"k": "paging"
|
||||
}),
|
||||
z: common_vendor.o(queryList),
|
||||
A: common_vendor.o(($event) => dataList.value = $event),
|
||||
B: common_vendor.p({
|
||||
A: common_vendor.o(queryList),
|
||||
B: common_vendor.o(($event) => dataList.value = $event),
|
||||
C: common_vendor.p({
|
||||
["inside-more"]: true,
|
||||
["loading-more-no-more-text"]: "咱也是有底线的!",
|
||||
["auto-show-back-to-top"]: true,
|
||||
modelValue: dataList.value
|
||||
}),
|
||||
C: common_vendor.o(cancelCase),
|
||||
D: common_vendor.o(confirmCase),
|
||||
E: common_vendor.t(!caseValue1.name ? "请选择选项" : caseValue1.name),
|
||||
F: common_vendor.p({
|
||||
D: common_vendor.o(closeCase),
|
||||
E: common_vendor.o(confirmCase),
|
||||
F: common_vendor.t(!caseValue1.name ? "请选择选项" : caseValue1.name),
|
||||
G: common_vendor.p({
|
||||
name: "arrow-right"
|
||||
}),
|
||||
G: common_vendor.o(($event) => openCaseLevel("1")),
|
||||
H: caseValue1.name && labelObj.list2.length > 0
|
||||
H: common_vendor.o(($event) => openCaseLevel("1")),
|
||||
I: caseValue1.name && labelObj.list2.length > 0
|
||||
}, caseValue1.name && labelObj.list2.length > 0 ? {
|
||||
I: common_vendor.t(!caseValue2.name ? "请选择选项" : caseValue2.name),
|
||||
J: common_vendor.p({
|
||||
J: common_vendor.t(!caseValue2.name ? "请选择选项" : caseValue2.name),
|
||||
K: common_vendor.p({
|
||||
name: "arrow-right"
|
||||
}),
|
||||
K: common_vendor.o(($event) => openCaseLevel("2"))
|
||||
L: common_vendor.o(($event) => openCaseLevel("2"))
|
||||
} : {}, {
|
||||
L: caseValue2.name && labelObj.list3.length > 0
|
||||
M: caseValue2.name && labelObj.list3.length > 0
|
||||
}, caseValue2.name && labelObj.list3.length > 0 ? {
|
||||
M: common_vendor.t(!caseValue3.name ? "请选择选项" : caseValue3.name),
|
||||
N: common_vendor.p({
|
||||
N: common_vendor.t(!caseValue3.name ? "请选择选项" : caseValue3.name),
|
||||
O: common_vendor.p({
|
||||
name: "arrow-right"
|
||||
}),
|
||||
O: common_vendor.o(($event) => openCaseLevel("3"))
|
||||
P: common_vendor.o(($event) => openCaseLevel("3"))
|
||||
} : {}, {
|
||||
P: freshKey.value,
|
||||
Q: common_vendor.p({
|
||||
Q: freshKey.value,
|
||||
R: common_vendor.p({
|
||||
current: level.value - 1,
|
||||
direction: "column"
|
||||
}),
|
||||
R: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
S: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
return {
|
||||
a: "acc011bc-19-" + i0 + ",acc011bc-18",
|
||||
b: common_vendor.p({
|
||||
@@ -482,16 +471,16 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
S: common_vendor.o(groupChange1),
|
||||
T: common_vendor.o(($event) => caseValue1.value = $event),
|
||||
U: common_vendor.p({
|
||||
T: common_vendor.o(groupChange1),
|
||||
U: common_vendor.o(($event) => caseValue1.value = $event),
|
||||
V: common_vendor.p({
|
||||
name: "group1",
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue1.value
|
||||
}),
|
||||
V: level.value == 1,
|
||||
W: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
W: level.value == 1,
|
||||
X: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
return {
|
||||
a: "acc011bc-21-" + i0 + ",acc011bc-20",
|
||||
b: common_vendor.p({
|
||||
@@ -502,16 +491,16 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
X: common_vendor.o(groupChange2),
|
||||
Y: common_vendor.o(($event) => caseValue2.value = $event),
|
||||
Z: common_vendor.p({
|
||||
Y: common_vendor.o(groupChange2),
|
||||
Z: common_vendor.o(($event) => caseValue2.value = $event),
|
||||
aa: common_vendor.p({
|
||||
name: "group2",
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue2.value
|
||||
}),
|
||||
aa: level.value == 2,
|
||||
ab: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
ab: level.value == 2,
|
||||
ac: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
return {
|
||||
a: "acc011bc-23-" + i0 + ",acc011bc-22",
|
||||
b: common_vendor.p({
|
||||
@@ -522,17 +511,17 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
ac: common_vendor.o(groupChange3),
|
||||
ad: common_vendor.o(($event) => caseValue3.value = $event),
|
||||
ae: common_vendor.p({
|
||||
ad: common_vendor.o(groupChange3),
|
||||
ae: common_vendor.o(($event) => caseValue3.value = $event),
|
||||
af: common_vendor.p({
|
||||
name: "group3",
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue3.value
|
||||
}),
|
||||
af: level.value == 3,
|
||||
ag: common_vendor.o(closeCase),
|
||||
ah: common_vendor.p({
|
||||
ag: level.value == 3,
|
||||
ah: common_vendor.o(closeCase),
|
||||
ai: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
closeOnClickOverlay: false,
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -91,7 +91,7 @@
|
||||
}
|
||||
.filterbox.data-v-acc011bc .u-dropdown__menu__item__text {
|
||||
font-size: 14px !important;
|
||||
color: #3c9cff !important;
|
||||
color: #3CC7C0 !important;
|
||||
}
|
||||
.filterbox .casesdown.data-v-acc011bc {
|
||||
font-size: 14px;
|
||||
|
||||
+3
@@ -125,6 +125,9 @@ const _sfc_main = {
|
||||
}
|
||||
});
|
||||
};
|
||||
this.editorCtx.scrollView = () => {
|
||||
this.editorCtx.scrollIntoView();
|
||||
};
|
||||
this.editorCtx.getLastContent = async () => {
|
||||
return new Promise((resolve) => {
|
||||
this.editorCtx.getContents({
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
const throttle = function(fn, wait = 1e3) {
|
||||
var flag = true;
|
||||
return function() {
|
||||
if (flag) {
|
||||
fn.apply(this, arguments);
|
||||
flag = false;
|
||||
setTimeout(() => {
|
||||
flag = true;
|
||||
}, wait);
|
||||
}
|
||||
};
|
||||
};
|
||||
exports.throttle = throttle;
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/utils/throttle.js.map
|
||||
Reference in New Issue
Block a user