选择标题时隐藏认证类别

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