From a5a81efad512d32da6d1027fe8ab5cc29a3b6af4 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期五, 01 三月 2024 20:46:49 +0800
Subject: [PATCH] Merge branch 'master' of http://47.93.189.255:8099/r/zhangshi_app_web
---
ruoyi-ui/src/views/healthy/ExaminationInfo.vue | 31 ++++++++++++++++++++++++-------
1 files changed, 24 insertions(+), 7 deletions(-)
diff --git a/ruoyi-ui/src/views/healthy/ExaminationInfo.vue b/ruoyi-ui/src/views/healthy/ExaminationInfo.vue
index eb9190c..e242212 100644
--- a/ruoyi-ui/src/views/healthy/ExaminationInfo.vue
+++ b/ruoyi-ui/src/views/healthy/ExaminationInfo.vue
@@ -102,7 +102,7 @@
class="el-upload-list__item-thumbnail"
src="../../assets/401_images/401.gif"
alt=""
- style="width: 100%; height: 100%"
+ style="width: 147px; height: 147px"
fit="cover">
<span class="el-upload-list__item-actions">
@@ -141,7 +141,7 @@
<el-dialog :visible.sync="dialogVisible">
- <img w-full :src="dialogImageUrl" alt="Preview Image" />
+ <img w-full :src="dialogImageUrl" style="width: 100%; height: 100%" alt="Preview Image" />
</el-dialog>
</div>
</template>
@@ -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;
+
+ });
})
},
@@ -401,7 +418,7 @@
}
</script>
-<style scoped lang="scss">
+<style scoped>
.mt
{
position: relative;
@@ -416,7 +433,7 @@
display: block;
position: absolute;
}
-.hide .el-upload--picture-card {
+.hide /deep/ .el-upload--picture-card {
display: none;
}
.form{
--
Gitblit v1.9.1