From ca42d275bfcb66ae7e5717986cb0f1949a1e1d0b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 26 二月 2025 11:32:58 +0800
Subject: [PATCH] 路由跳转修改
---
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