浏览代码

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

shaun-sheep 4 年之前
父节点
当前提交
178da64f77
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/components/relation/overview/Modal/RelationMaintain.vue

+ 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('保存成功')