From 45b0c23655abe2b1f82e3e5ca7d07d9f0c4cc6e1 Mon Sep 17 00:00:00 2001 From: linwenling <3256558519@qq.com> Date: 星期三, 09 八月 2023 20:32:45 +0800 Subject: [PATCH] 修改 行锯齿bug --- ruoyi-ui/src/views/device/equipmentInfo.vue | 30 ++++++++++++++++++++++++------ 1 files changed, 24 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/views/device/equipmentInfo.vue b/ruoyi-ui/src/views/device/equipmentInfo.vue index 060756e..ea6f948 100644 --- a/ruoyi-ui/src/views/device/equipmentInfo.vue +++ b/ruoyi-ui/src/views/device/equipmentInfo.vue @@ -1,8 +1,16 @@ <template> <div class="app-container"> <div class="form-header mt"> - <h4 class="dt h4">瀹跺涵璁惧璇︽儏 </h4> - + <h1 style="font-size:21px;padding-top:30px;display: flex;justify-content: space-between;align-items: center;"> + <span>瀹跺涵璁惧璇︽儏</span> + <div style="display: flex; align-items: center;"> + <el-button size="mini" type="text" @click="checkNote()" v-hasPermi="['person:information:memo']"> + <div class="form" ><el-icon style="padding-right:110px;"></el-icon> + <span class="text" style="width: 69px;height: 26px;font-size: 16px; + font-family: Microsoft YaHei-Regular, Microsoft YaHei; color: #EBA4AA;">澶囧繕鏈�</span></div> + </el-button> + </div> + </h1> </div> <!-- 鍚嶇О銆佹椂闂淬�佽喘涔颁汉銆佸唴瀹广�佸湴鐐广�佸娉� --> <el-form ref="elForm" :model="formData" :rules="rules" size="medium" label-width="100px" > @@ -145,7 +153,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> @@ -247,9 +255,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 @@ -379,6 +387,13 @@ this.dsb = false this.btn = true }, + //鏌ョ湅澶囧繕鏈� + checkNote(row){ + + const id = this.$route.params && this.$route.params.id; + + this.$router.push("/familymodel/Device/memo/" + id ); + }, requestUpload(params) { var file = params.file; @@ -416,6 +431,9 @@ display: block; } +.form{ + background:center/11% no-repeat url('../../assets/icons/form.png') ; +} .pt{ right: 10px; top:-3px; -- Gitblit v1.9.1