From b3ddacf9a9742276e76c0aa8bfa67fcdd6e1d7fe Mon Sep 17 00:00:00 2001
From: linwenling <3256558519@qq.com>
Date: 星期二, 08 八月 2023 19:09:50 +0800
Subject: [PATCH] 新增 财产备忘本

---
 ruoyi-ui/src/views/device/equipmentInfo.vue |   23 +++++++++++------------
 1 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/ruoyi-ui/src/views/device/equipmentInfo.vue b/ruoyi-ui/src/views/device/equipmentInfo.vue
index 060756e..0e5ef72 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>
     <!-- 鍚嶇О銆佹椂闂淬�佽喘涔颁汉銆佸唴瀹广�佸湴鐐广�佸娉� -->
@@ -11,7 +11,7 @@
         <el-input v-model="formData.name" placeholder="璇疯緭鍏ヨ澶囧悕绉�" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
       </el-form-item>
       <el-form-item label="鏃堕棿" prop="happenTime">
-        <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ユ椂闂�" clearable :style="{width: '100%'}" :disabled="dsb">
+        <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ユ椂闂�" type="date" clearable :style="{width: '100%'}" :disabled="dsb">
         </el-input>
       </el-form-item>
       <el-form-item label="璐拱浜�" prop="buyer">
@@ -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