认证参数列表添加配置调取接口控制权限

This commit is contained in:
zyx.net
2022-07-02 10:04:31 +08:00
parent 3ba874dfe8
commit f78eab8764
2 changed files with 16 additions and 4 deletions
@@ -198,7 +198,8 @@
conAdd: 'params/config/addBatch',
conList: 'params/config/list',
changeExtension: 'params/manifest/changeExtension',
verifyConfig: 'params/manifest/verifyConfig'
verifyConfig: 'params/manifest/verifyConfig',
configurelist:'params/manifest/getConfigFlag',
},
loading: false,
dataSource: [],
@@ -214,6 +215,7 @@
version: 0,
itemId: '', // 配置id
itemRow: {}, // 配置一行数据
configFlag:'',
historicalVisible: false,
historicalRow: {}, // 历史版本得数据
drawerVisible: false,
@@ -272,9 +274,17 @@
},
// 配置
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.$refs.configureRef.addModel(item.id,this.configFlag)
},
handleCancel(val) {
this.areaVisible = val