修改禅道bug
This commit is contained in:
@@ -274,17 +274,10 @@
|
||||
},
|
||||
// 配置
|
||||
configure(item) {
|
||||
console.log(item)
|
||||
this.itemId = item.id
|
||||
getAction(this.url.configurelist, { paramsManifestId: this.itemId }).then((res) => {
|
||||
if (res.success) {
|
||||
this.configFlag = res.result
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
})
|
||||
|
||||
this.itemRow = item
|
||||
this.$refs.configureRef.addModel(item.id,this.configFlag)
|
||||
this.$refs.configureRef.addModel(item.id)
|
||||
},
|
||||
handleCancel(val) {
|
||||
this.areaVisible = val
|
||||
|
||||
@@ -175,6 +175,7 @@
|
||||
},
|
||||
mounted() {
|
||||
|
||||
|
||||
},
|
||||
methods: {
|
||||
getNameList() {
|
||||
@@ -186,13 +187,19 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
addModel(id,configFlag) {
|
||||
addModel(id) {
|
||||
this.paramsConfigEOList = []
|
||||
this.visible = true
|
||||
this.title = this.$t('MaintainConfigureInfo')
|
||||
this.configFlag = configFlag
|
||||
this.formInline = {}
|
||||
this.getconList(id)
|
||||
getAction(this.url.configurelist, { paramsManifestId: this.itemRow.id }).then((res) => {
|
||||
if (res.success) {
|
||||
this.configFlag = res.result
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
})
|
||||
},
|
||||
getconList(id) {
|
||||
getAction(`${this.url.conList}?paramsManifestId=${id}`, {}).then((res) => {
|
||||
@@ -219,7 +226,8 @@
|
||||
})
|
||||
},
|
||||
addConfiguration(item) {
|
||||
if (this.configFlag) {
|
||||
console.log(this.configFlag)
|
||||
if (this.configFlag == true) {
|
||||
this.paramsConfigEOList.splice(item.displaySeq + 1, 0, {
|
||||
id: '',
|
||||
configName: '', // 配置名称
|
||||
|
||||
Reference in New Issue
Block a user