diff --git a/src/views/manage/script/index.vue b/src/views/manage/script/index.vue index 0b7e0b0..9797d80 100644 --- a/src/views/manage/script/index.vue +++ b/src/views/manage/script/index.vue @@ -82,18 +82,6 @@ >新增 - - - @@ -528,7 +527,7 @@ export default { name: '', departmentId: null, count: '',//全部 - sumcount:'', + sumcount: '', @@ -602,7 +601,11 @@ export default { value: 'SUSPEND', label: '暂停' },], + baseUrl: process.env.VUE_APP_BASE_API, + + //预览弹框 + dialogsee: false, // 遮罩层 loading: true, // 选中数组 @@ -725,7 +728,20 @@ export default { methods: { // 上传图片 imgUrl(imgUrl) { - this.form.propagandaCoverPath = imgUrl; + this.form.scriptFilePath = imgUrl; + }, + // 预览点击 + handlesee(row) { + const id = row.id + getScript(id).then(response => { + this.form = response.data; + this.dialogsee = true; + }); + }, + + // 预览关闭 + seeClose() { + this.dialogsee = false; }, // 点击科室 clickinnerVisible() { @@ -814,10 +830,10 @@ export default { //定义 let sum = 0; this.DepartmentoList.forEach((item) => { - if(item.countNum !=null){ + if (item.countNum != null) { console.log(item.countNum) - sum += item.countNum; - + sum += item.countNum; + } this.count = sum; }); @@ -871,6 +887,7 @@ export default { diseaseTypeName: null, diseaseTypeCode: null, commonScriptName: null, + scriptFilePath:null, scriptName: null, scriptId: null, platformId: null, diff --git a/src/views/manage/servicepackage/index.vue b/src/views/manage/servicepackage/index.vue index c46375a..5f6d0aa 100644 --- a/src/views/manage/servicepackage/index.vue +++ b/src/views/manage/servicepackage/index.vue @@ -52,6 +52,7 @@ - + 发布 详情 - + - + - + - +
- + - - - - - - - + + + - - - - - - + + + + @@ -640,82 +645,66 @@ - + - - {{formdetail.diseaseTypeName}} - - - {{formdetail.packageName}} - - - {{formdetail.packagePrice}} - - - {{formdetail.packageTermAndUnit}} - - - {{formdetail.hardwareType=="BLOOD_PRESSURE"?'血压仪':''}} - {{formdetail.hardwareType=="GLUCOSE_METER"?'血糖仪':''}} - {{formdetail.hardwareType=="ELECTROCARDIOGRA"?'心电仪':''}} - - - - + + {{ formdetail.diseaseTypeName }} + + + {{ formdetail.packageName }} + + + {{ formdetail.packagePrice }} + + + {{ formdetail.packageTermAndUnit }} + + + {{ + formdetail.hardwareType == "BLOOD_PRESSURE" ? "血压仪" : "" + }} + {{ + formdetail.hardwareType == "GLUCOSE_METER" ? "血糖仪" : "" + }} + {{ + formdetail.hardwareType == "ELECTROCARDIOGRA" ? "心电仪" : "" + }} + + + + - - - - - - 关闭 - - - - + + + + + 关闭 + + + +