From 1e8132692c72c30d49e6f5173edecc2a263e1987 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 05 十一月 2024 15:14:40 +0800 Subject: [PATCH] 前端防重提时间缩短 --- src/views/system/work-order/index.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/system/work-order/index.vue b/src/views/system/work-order/index.vue index 0ab129b..d628cc1 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 @@ -831,6 +831,10 @@ this.empty = true } }) + // .catch(error => { + // //閬垮厤闃查噸鎻愬崱鍦ㄥ姞杞� + // this.loading = false; + // }); }, // 鍙栨秷鎸夐挳 cancel() { -- Gitblit v1.8.0