From 8696b4d4c235a73f2bc5c030e20f1ad7c0a7166e Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 25 二月 2025 14:25:51 +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