选择标题时隐藏认证类别

This commit is contained in:
zyx.net
2022-08-11 17:30:41 +08:00
parent d81a824a9c
commit 606d952e24
@@ -670,11 +670,11 @@
mounted() {
this.GetgetLoginUserType()
console.log(this.currentPersonRole)
setTimeout(() => {
if (this.currentPersonRole == 'dre') {
this.handlePreservation()
}
}, 10000)
// setTimeout(() => {
// if (this.currentPersonRole == 'dre') {
// this.handlePreservation()
// }
// }, 10000)
// this.paramsManifest = JSON.parse(localStorage.getItem('paramsManifest'))
this.paramsManifest = this.$route.query
// document.title = `${this.paramsManifest.title}-` + this.$t('ParameteItemCollectionList')
@@ -1289,7 +1289,7 @@
handlePreservation(num) {
let _this = this
let postDate = []
let data = JSON.parse(JSON.stringify(this.dataSource))
let data = JSON.parse(JSON.stringify(this.$refs.CollectionTabel.dataSource))
let selectedRowKeysValue = []
data.forEach(res => {
if (res.state == 'Wait Fill' || res.state == '待填写' || res.state == '认证工程师退回' ||
@@ -1334,11 +1334,11 @@
_this.$message.success(_this.$t('OperationSuccessful'))
this.textLoading = false
}
setTimeout(() => {
if (this.currentPersonRole == 'dre') {
this.handlePreservation()
}
}, 10000)
// setTimeout(() => {
// if (this.currentPersonRole == 'dre') {
// this.handlePreservation()
// }
// }, 10000)
} else {
if (num && num == 1) {
_this.$message.warning(_this.$t('operationFailed'))