From 76ab72d2d4f443060448e20bb74230a8040b85f5 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 05 十一月 2024 11:00:33 +0800
Subject: [PATCH] 文件上传大小、工单审核后刷新

---
 src/views/system/work-order/index.vue |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/views/system/work-order/index.vue b/src/views/system/work-order/index.vue
index 7644a2d..5e3453e 100644
--- a/src/views/system/work-order/index.vue
+++ b/src/views/system/work-order/index.vue
@@ -55,7 +55,7 @@
           plain
           size="mini"
           @click="handleExport"
-          v-hasPermi="['work:order:audit']"
+          v-hasPermi="['work:order:export']"
         >瀵煎嚭
         </el-button>
       </el-col>
@@ -118,7 +118,10 @@
                     <el-col :span="24" class="time">鏁呴殰鏃堕棿锛歿{ item.createTime }}</el-col>
                   </el-row>
                   <el-row class="work-order-item">
-                    <el-col class="time" :span="24"><div>鍥芥爣鐮侊細{{ item.serialNumber }}</div><div>{{ item.source }}</div></el-col>
+                    <el-col class="time" :span="24"><div>鍥芥爣鐮侊細{{ item.serialNumber }}</div>
+                      <el-tooltip effect="dark" :content="item.source" placement="top-start">
+                        <div>{{ item.source }}</div>
+                      </el-tooltip></el-col>
                   </el-row>
                   <el-row style="position: absolute;bottom: 10px">
                     <el-button
@@ -223,7 +226,7 @@
       </div>
     </el-dialog>
 
-    <WorkOrderAuditing :auditingOpen="auditingOpen" :dataForm="auditingForm" :ywConditions="ywConditions" @close="closeAuditing"/>
+    <WorkOrderAuditing :auditingOpen="auditingOpen" :dataForm="auditingForm" :ywConditions="ywConditions" @close="closeAuditing" @getList="getList"/>
 <!--    <el-dialog title="宸ュ崟瀹℃牳" :visible.sync="auditingOpen" width="1000px" append-to-body>-->
 <!--      <el-row :gutter="20">-->
 <!--        <el-col :span="10">-->
@@ -269,7 +272,7 @@
 <!--    </el-dialog>-->
 
     <el-dialog title="杩愮淮鎯呭喌璁板綍" :visible.sync="ywConditionOpen" width="500px" append-to-body>
-      <el-form ref="form" :model="form" :rules="ywConditionRules" label-width="80px">
+      <el-form ref="ywConditionForm" :model="form" :rules="ywConditionRules" label-width="80px">
         <el-form-item label="宸ュ崟鍙�" prop="workOrderNo">
           <el-input v-model="ywConditionForm.workOrderNo" disabled/>
         </el-form-item>
@@ -773,7 +776,7 @@
     },
     // 鎻愪氦杩愮淮鎯呭喌
     submitYwCondition() {
-      this.$refs['form'].validate(valid => {
+      this.$refs['ywConditionForm'].validate(valid => {
         if (valid) {
           ywCondition(this.form).then(res => {
             this.ywConditionOpen = false

--
Gitblit v1.8.0