Преглед изворни кода

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