From 41490d6a55c4d9d33cbbedaad5d3c0ee07eb0c0a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 26 二月 2025 11:03:22 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev
---
src/views/CNAS/process/demand/index.vue | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/views/CNAS/process/demand/index.vue b/src/views/CNAS/process/demand/index.vue
index cd4ecad..137aba5 100644
--- a/src/views/CNAS/process/demand/index.vue
+++ b/src/views/CNAS/process/demand/index.vue
@@ -75,7 +75,7 @@
</el-form-item>
</el-form>
<div style="margin-bottom: 10px">
- <el-button size="small" type="primary" icon="el-icon-plus" @click="openDialog">
+ <el-button size="small" type="primary" icon="el-icon-plus" @click="openDialog('add')">
鏂� 澧�
</el-button>
</div>
@@ -126,7 +126,10 @@
operation: [
{
name: "缂� 杈�",
- type: "text"
+ type: "text",
+ clickFun: (row) => {
+ this.$refs.editRef.openAddContracts(row)
+ }
}
],
},
@@ -152,8 +155,8 @@
/**
* @desc 鎵撳紑妯℃�佹
*/
- openDialog() {
- this.$refs.editRef.open()
+ openDialog(type) {
+ this.$refs.editRef.open(type)
}
}
}
--
Gitblit v1.9.3