From b15d6923c609e80712a553388da48e6373aa086c Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期二, 27 二月 2024 18:57:16 +0800 Subject: [PATCH] 修改了代码 --- ruoyi-ui/src/views/healthy/ExaminationInfo.vue | 23 ++++++++++++++++++++--- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/views/healthy/ExaminationInfo.vue b/ruoyi-ui/src/views/healthy/ExaminationInfo.vue index 98c8246..e242212 100644 --- a/ruoyi-ui/src/views/healthy/ExaminationInfo.vue +++ b/ruoyi-ui/src/views/healthy/ExaminationInfo.vue @@ -159,7 +159,10 @@ return { cdi:"鍋ュ悍璇︾粏淇℃伅", udi:"鍋ュ悍淇℃伅淇敼", - fot:[".jpg",".jif"], + // 鏁版嵁鑼冨洿閫夐」 + fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx', + '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng'], + fileList:[ ], fileListOther:[ @@ -222,11 +225,11 @@ this.btn= jd this.dsb = !jd this.isShow=true - document.title = "淇敼鍋ュ悍璇︾粏淇℃伅"; + // document.title = "淇敼鍋ュ悍璇︾粏淇℃伅"; this.$route.meta.title = "淇敼鍋ュ悍璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� } else{ - document.title = "鏌ョ湅鍋ュ悍璇︾粏淇℃伅"; + // document.title = "鏌ョ湅鍋ュ悍璇︾粏淇℃伅"; this.$route.meta.title = "鏌ョ湅鍋ュ悍璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� this.isShow=false this.btn = false; @@ -393,6 +396,20 @@ _this.fileListOther.push({name:response.data.fileName, url:response.data.url}) } + let ul = _this.fileList.map(function (elem){ + return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"") + }).join(",") + let uls = _this.fileListOther.map(function (elem){ + return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"") + }).join(",") + _this.formData.url = ul+","+uls + console.log(_this.formData.url) + // alert(87) + updateExamination(_this.formData).then(response => { + _this.$modal.msgSuccess("鍥剧墖涓婁紶鎴愬姛"); + // this.open = false; + + }); }) }, -- Gitblit v1.9.1