Kaynağa Gözat

adm:feat > 修改总览保存添加关系

shaun-sheep 4 yıl önce
ebeveyn
işleme
178da64f77

+ 4 - 4
src/components/relation/overview/Modal/RelationMaintain.vue

@@ -436,16 +436,16 @@
 
         this.sourceList = []
         val.forEach(i => this.sourceList.push({
-          SourceType: i,
-          ProjectId: this.projectId,
-          CalcName: this.RelationTypeName
+          sourceType: i,
+          projectId: this.projectId,
+          calcName: this.RelationTypeName
         }))
       },
 
       handleAddSource() { //保存设备类
         if (this.sourceList.length) {
           let params = {
-            Content: this.sourceList
+            content: this.sourceList
           }
           addSource(params, res => {
             this.$message.success('保存成功')