From 0ffd16355fa1541e4c253a8c9b20e5ec256daf26 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 13 三月 2025 16:41:24 +0800
Subject: [PATCH] 动态监督新增数据后,列表中未展示数据
---
src/views/CNAS/process/ensureResults/qualityControlPlan/components/detailFormDialog.vue | 9 +++++++--
src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue | 2 +-
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/views/CNAS/process/ensureResults/qualityControlPlan/components/detailFormDialog.vue b/src/views/CNAS/process/ensureResults/qualityControlPlan/components/detailFormDialog.vue
index fe26f2c..8ce627d 100644
--- a/src/views/CNAS/process/ensureResults/qualityControlPlan/components/detailFormDialog.vue
+++ b/src/views/CNAS/process/ensureResults/qualityControlPlan/components/detailFormDialog.vue
@@ -38,7 +38,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="鐩戠潱鍘熷洜" prop="superviseReason">
- <el-input v-model="form.superviseReason" clearable size="small"></el-input>
+ <el-input v-model="form.superviseReason" clearable disabled size="small"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
@@ -94,10 +94,15 @@
},
// 鏂规硶闆嗗悎
methods: {
- openDia(type, row) {
+ openDia(type, row, causeType) {
this.formDia = true
this.operationType = type
this.getUserList()
+ if (causeType == 1) {
+ this.form.superviseReason = '瀹氭湡鐩戠潱'
+ } else {
+ this.form.superviseReason = '鍔ㄦ�佺洃鐫�'
+ }
if (type === 'edit') {
this.searchInfo(row)
}
diff --git a/src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue b/src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue
index 895265f..c58086b 100644
--- a/src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue
+++ b/src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue
@@ -571,7 +571,7 @@
showDialog(type, row) {
this.formDia = true
this.$nextTick(() => {
- this.$refs.formDia.openDia(type, row)
+ this.$refs.formDia.openDia(type, row, this.yearDetailForm.causeType)
})
},
closeDia() {
--
Gitblit v1.9.3