From 04f5690ca3d4f7e95bd284fbece8369bc9f63ae4 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期六, 15 二月 2025 17:08:04 +0800
Subject: [PATCH] 能力范围-产品维护联调
---
src/components/capability/EditForm.vue | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/components/capability/EditForm.vue b/src/components/capability/EditForm.vue
index 2a74a3f..3543847 100644
--- a/src/components/capability/EditForm.vue
+++ b/src/components/capability/EditForm.vue
@@ -317,9 +317,7 @@
let obj = this.HaveJson(this.editForm)
obj.method = JSON.stringify(obj.method)
obj.sample = JSON.stringify(obj.sample)
- if (obj.radiusList !== null && obj.radiusList.length > 0) {
- obj.radiusList = JSON.stringify(obj.radiusList)
- }
+ obj.radiusList = JSON.stringify(obj.radiusList)
if(obj.id){
// 淇敼
upItemParameter(obj).then(res => {
@@ -329,7 +327,7 @@
}
this.$message.success('淇敼鎴愬姛')
this.editFormDia = false
- this.$emit('refreshTable')
+ this.$emit('refreshList')
}).catch(e => {
this.editLoad = false
})
@@ -342,7 +340,7 @@
}
this.$message.success('娣诲姞鎴愬姛')
this.editFormDia = false
- this.$emit('refreshTable')
+ this.$emit('refreshList')
}).catch(e => {
this.editLoad = false
})
@@ -353,7 +351,7 @@
// 鍏抽棴寮规
closeDia () {
this.editFormDia = false
- this.$refs.editForm.resetFields()
+ this.resetForm("editForm");
},
selectTestObjectByName() {
getItemTree().then(res => {
--
Gitblit v1.9.3