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