修改禅道已知bug

This commit is contained in:
qq787203167
2022-07-04 10:42:59 +08:00
parent c12cc42160
commit 0df8425cbd
5 changed files with 101 additions and 52 deletions
@@ -75,7 +75,7 @@
</a-form>
</div>
</div>
<div class="table-operator">
<div class="table-operator" v-if="!this.$route.query.it">
<!-- // 认证工程师 homo-->
<!-- // 工程接口人 sdt-->
<!-- // 填写人 dre-->
@@ -154,6 +154,7 @@
</div>
<!-- 角色切换 -->
<div class="operator-text"
v-if="!this.$route.query.it"
@click="roleSwitchingClick">
<a-icon type="select"/>
{{ $t('roleSwitching') }}
@@ -178,6 +179,7 @@
</a-modal>
<!-- 冻结配置--->
<a-modal v-model="areaVisibleFreeze" :title="$t('FreezeConfiguration')" width='600px' :footer="null">
<a-spin :spinning="confirmLoading">
<a-form-model
class='tag-module'
ref='ruleForm'
@@ -201,6 +203,7 @@
</a-col>
</a-row>
</a-form-model>
</a-spin>
<div style='padding-left: 60px;color: red'>
{{$t('Attentionfreeze')}}
</div>
@@ -461,6 +464,7 @@
templatetitleId: '',
rowId: '',
version: 0,
confirmLoading:false,
itemId: '',
selectedRowKeysValue: [], // table列表所选得数据
token: Vue.ls.get(ACCESS_TOKEN),
@@ -851,7 +855,22 @@
this.areaVisibleFreeze = true
this.Dateline = {}
// 获取冻结配置数据
this.getFreeze()
this.confirmLoading = true
this.getFreeze(()=> {
this.getLockedConfigIdList()
})
},
getLockedConfigIdList() {
getAction('/params/collectManifest/getLockedConfigIdList',
{ paramsManifestId: this.paramsManifest.id }).then((res) => {
if (res.success) {
this.Dateline.paramsConfig = res.result
this.Dateline = {...this.Dateline}
}else{
this.Dateline.paramsConfig = []
}
this.confirmLoading = false
})
},
// 冻结配置提交
handleSubmitFreeze() {
@@ -894,7 +913,7 @@
cancleImportsFreeze() {
this.areaVisibleFreeze = false
},
getFreeze() {
getFreeze(callback) {
let _this = this
let param = { paramsManifestId: this.paramsManifest.id, configFlag: 1 }
axios({
@@ -916,11 +935,15 @@
.then((res) => {
if (res.data.success) {
this.FreezeList = res.data.result
callback && callback()
} else {
_this.$message.warning(res.data.message)
_this.confirmLoading = false
}
})
.catch((error) => {
_this.confirmLoading = false
})
},
// 下发收集的权限
@@ -1345,7 +1368,19 @@
}
}
</script>
<style>
.popconfirm {
z-index: 999;
}
.popconfirm .ant-popover-buttons {
display: none !important;
}
.popconfirm .anticon-exclamation-circle {
display: none !important;
}
</style>
<style lang="less" scoped>
@import '~@assets/less/common.less';