diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 49b1d4003..ef5169cf6 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -1073,4 +1073,5 @@ module.exports = { theProjectContactEmpty:'The project contact person of cannot be empty', pleaseSelectinitiatedOrRejected:'Please select the data whose list confirmation status is not initiated or rejected', TheEngineerAndCertification:'The regulatory engineer and Certification Engineer of cannot be empty', + bringInTheProjectInterface:'Bring in the project interface', } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index bc01f7713..2f4e4c60c 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -1077,4 +1077,5 @@ module.exports = { newNiONumber: 'NIO编号', English:'英文', requiredParametersEmpty:'必填参数不能为空', + bringInTheProjectInterface:'带入工程接口人', } \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue index 5105d2427..305256539 100644 --- a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue +++ b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue @@ -135,6 +135,10 @@ {{$t('BatchDelete')}} +
+ + {{$t('bringInTheProjectInterface')}} +
...{{ $t('more') }} @@ -409,40 +413,40 @@ data() { this.statusList = [ { - value:'1', - name:this.$t('CollectionInitiated') + value: '1', + name: this.$t('CollectionInitiated') }, { - value:'2', - name:this.$t('handledInterface') + value: '2', + name: this.$t('handledInterface') }, { - value:'3', - name:this.$t('ReturnedPerson') + value: '3', + name: this.$t('ReturnedPerson') }, { - value:'4', - name:this.$t('completed') + value: '4', + name: this.$t('completed') }, { - value:'5', - name:this.$t('Filledreturn') + value: '5', + name: this.$t('Filledreturn') }, { - value:'6', - name:this.$t('Submitted') + value: '6', + name: this.$t('Submitted') }, { - value:'7', - name:this.$t('ReturnedEngineer') + value: '7', + name: this.$t('ReturnedEngineer') }, { - value:'8', - name:this.$t('SynchronizedLibrary') + value: '8', + name: this.$t('SynchronizedLibrary') }, { - value:'9', - name:this.$t('alteration') + value: '9', + name: this.$t('alteration') } ] return { @@ -586,6 +590,22 @@ handleCancelRoleSwitching() { this.visibleRoleSwitching = false }, + bringInTheProjectInterfaceClick() { + let query = { + paramsManifestId: this.paramsManifest.id, + projectId: this.$route.query.projectId + } + this.textLoading = true + postAction('/params/collectManifest/bringSdtInto', query).then((res) => { + if (res.success) { + this.$message.success(this.$t('OperationSuccessful')) + this.$refs.CollectionTabel.getTableList() + } else { + this.$message.warning(this.$t('operationFailed')) + } + this.textLoading = false + }) + }, handleOkRoleSwitching() { this.$refs.ruleFormRoleSwitching.validate(valid => { if (valid) {