From 7a8c85b405820490b6653be923a4b351f437426e Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 25 二月 2025 16:39:39 +0800
Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-before 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