From 1a0b6c69df8bafa8d9c612a5ea04a34be712001c Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 24 四月 2024 16:01:40 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/views/system/work-order/index.vue | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/views/system/work-order/index.vue b/src/views/system/work-order/index.vue
index fd607ab..f558e8b 100644
--- a/src/views/system/work-order/index.vue
+++ b/src/views/system/work-order/index.vue
@@ -84,6 +84,7 @@
size="mini"
type="text"
@click="handleReport(item)"
+ v-hasPermi="['system:report:add']"
>浜嬪悗鎶ュ</el-button>
</el-row>
</div>
@@ -102,8 +103,8 @@
<!-- 浜嬪悗鎶ュ -->
<el-dialog title="浜嬪悗鎶ュ" :visible.sync="reportOpen" width="600px" append-to-body>
<el-form ref="reportForm" :model="reportForm" :rules="reportFormRules" label-width="80px">
- <el-form-item label="鐐逛綅" prop="pointId">
- <el-input v-model="reportForm.pointId" disabled />
+ <el-form-item label="鐐逛綅" prop="source">
+ <el-input v-model="reportForm.source" disabled />
</el-form-item>
<el-form-item label="鎶ュ绫诲瀷">
<el-input v-model="reportForm.reportType" disabled />
@@ -343,6 +344,7 @@
ywHandleTime: null,
ywResult: null,
ywCondition: null,
+ status: ''
},
// 琛ㄥ崟鍙傛暟
form: {},
@@ -402,7 +404,7 @@
if (valid) {
addReport(this.reportForm).then(response => {
this.$modal.msgSuccess("鎴愬姛鎻愪氦鎶ュ");
- this.open = false;
+ this.reportOpen = false;
this.getList();
});
}
@@ -410,7 +412,8 @@
},
// 浜嬪悗鎶ュ鎸夐挳
handleReport(row) {
- this.reportForm.pointId = row.source;
+ this.reportForm.pointId = row.pointId;
+ this.reportForm.source = row.source;
this.reportOpen = true;
},
// 瀹℃牳鎸夐挳
--
Gitblit v1.8.0