From b5a8a482a5eede229ffea6b8de6ba2b8f06ac0c4 Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期日, 30 七月 2023 18:12:04 +0800 Subject: [PATCH] 除健康外,点击详情页可以获取对应数据 --- ruoyi-ui/src/views/device/equipmentInfo.vue | 21 ++++++++++----------- 1 files changed, 10 insertions(+), 11 deletions(-) diff --git a/ruoyi-ui/src/views/device/equipmentInfo.vue b/ruoyi-ui/src/views/device/equipmentInfo.vue index 060756e..484547a 100644 --- a/ruoyi-ui/src/views/device/equipmentInfo.vue +++ b/ruoyi-ui/src/views/device/equipmentInfo.vue @@ -1,7 +1,7 @@ <template> <div class="app-container"> <div class="form-header mt"> - <h4 class="dt h4">瀹跺涵璁惧璇︽儏 </h4> + <h4 class="dt h4">瀹跺涵璁惧璇︾粏淇℃伅 </h4> </div> <!-- 鍚嶇О銆佹椂闂淬�佽喘涔颁汉銆佸唴瀹广�佸湴鐐广�佸娉� --> @@ -94,7 +94,7 @@ multiple list-type="picture-card" :on-preview="handleFileCardPreview" - :on-remove="handleRemove" + :on-remove="handleRemoveFile" :http-request="requestUpload" :show-file-list="true" > @@ -118,12 +118,11 @@ </span> <span v-if="isShow" - @click="handleRemove(file)" class="el-upload-list__item-delete" - + @click="handleDownload(file.url)" > - <i class="el-icon-download"></i> - </span> + <i class="el-icon-download"></i> + </span> <span v-if="isShow" class="el-upload-list__item-delete" @@ -145,7 +144,7 @@ </el-form> <el-dialog :visible.sync="dialogVisible"> - <img w-full :src="dialogImageUrl" alt="Preview Image" /> + <img w-full :src="dialogImageUrl" style="width: 700px; height: 700px" alt="Preview Image" /> </el-dialog> </div> </template> @@ -195,7 +194,7 @@ trigger: 'change' }], status: [{ - required: true, + // required: true, message: '璇烽�夋嫨鏄惁娉ㄩ攢', trigger: 'change' }], @@ -247,9 +246,9 @@ this.$route.meta.title = "淇敼瀹跺涵璁惧璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� } else{ - document.title = "鏌ョ湅瀹跺涵璁惧璇︾粏淇℃伅"; - this.$route.meta.title = "鏌ョ湅瀹跺涵璁惧璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� - this.isShow=false + document.title = "瀹跺涵璁惧璇︾粏淇℃伅"; + this.$route.meta.title = "瀹跺涵璁惧璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� + this.isShow=true } let _this = this -- Gitblit v1.9.1