diff --git a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue index 4aec2ab8d..c99675027 100644 --- a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue +++ b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue @@ -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'))