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 |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/system/work-order/index.vue b/src/views/system/work-order/index.vue
index 0ab129b..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>
@@ -226,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">-->
@@ -272,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>
@@ -776,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