修改禅道已知bug

This commit is contained in:
qq787203167
2022-07-01 13:51:53 +08:00
parent 0a6c8f35dd
commit a29194c894
@@ -348,6 +348,7 @@
</div>
</div>
</a-modal>
<JLoading :loading="textLoading">{{this.$t('pleaseWaitWhileRunning')}}</JLoading>
</div>
</template>
@@ -428,6 +429,7 @@
}
],
selectedRowKeys: [],
textLoading: false,
formInline: {},
url: {
tableHeader: 'params/collectManifest/getHeader',
@@ -821,6 +823,7 @@
let _this = this
let paramsConfig = this.Dateline.paramsConfig === undefined ? '' : this.Dateline.paramsConfig.join(',')
let param = { paramsManifestId: this.paramsManifest.id, paramsConfigIds: paramsConfig }
this.textLoading = true
axios({
url: '/jero-boot/params/collectManifest/lockConfigColumn',
method: 'post',
@@ -839,14 +842,17 @@
})
.then((res) => {
if (res.data.success) {
this.textLoading = false
_this.$message.success(res.data.result)
this.areaVisibleFreeze = false
this.$refs.CollectionTabel.getTableList()
} else {
this.textLoading = false
_this.$message.warning(res.data.result)
}
})
.catch((error) => {
this.textLoading = false
})
},
// 冻结配置取消
@@ -897,6 +903,7 @@
},
// 下发收集---请求接口
distributionAndCollection() {
let _array = []
this.selectedRowKeysValue.forEach((item, index) => {
_array.push(item.id)
@@ -907,6 +914,7 @@
projectId: this.$route.query.projectId,
ids: _array.join(',')
}
this.textLoading = true
axios({
url: '/jero-boot/params/collectManifest/issueCollection',
method: 'post',
@@ -927,12 +935,15 @@
if (res.data.success) {
_this.$message.success(this.$t('OperationSuccessful'))
_this.areaVisible = false
this.textLoading = false
_this.GetgetTableList()
} else {
this.textLoading = false
_this.$message.warning(this.$t('operationFailed'))
}
})
.catch((error) => {
this.textLoading = false
})
},
// 同步上报库 权限