修改禅道已知bug

This commit is contained in:
qq787203167
2022-07-04 13:40:28 +08:00
parent 7476c2542b
commit 25f128de5c
3 changed files with 40 additions and 18 deletions
+1
View File
@@ -1073,4 +1073,5 @@ module.exports = {
theProjectContactEmpty:'The project contact person of cannot be empty', theProjectContactEmpty:'The project contact person of cannot be empty',
pleaseSelectinitiatedOrRejected:'Please select the data whose list confirmation status is not initiated or rejected', 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', TheEngineerAndCertification:'The regulatory engineer and Certification Engineer of cannot be empty',
bringInTheProjectInterface:'Bring in the project interface',
} }
+1
View File
@@ -1077,4 +1077,5 @@ module.exports = {
newNiONumber: 'NIO编号', newNiONumber: 'NIO编号',
English:'英文', English:'英文',
requiredParametersEmpty:'必填参数不能为空', requiredParametersEmpty:'必填参数不能为空',
bringInTheProjectInterface:'带入工程接口人',
} }
@@ -135,6 +135,10 @@
<a-icon type="delete"/> <a-icon type="delete"/>
{{$t('BatchDelete')}} {{$t('BatchDelete')}}
</div> </div>
<div @click="bringInTheProjectInterfaceClick" class="operator-text-title">
<a-icon type="profile"/>
{{$t('bringInTheProjectInterface')}}
</div>
</template> </template>
<div class="operator-text" style="position: relative"> <div class="operator-text" style="position: relative">
<span style="position: absolute;left: -13px;top: -4px">...</span>{{ $t('more') }} <span style="position: absolute;left: -13px;top: -4px">...</span>{{ $t('more') }}
@@ -409,40 +413,40 @@
data() { data() {
this.statusList = [ this.statusList = [
{ {
value:'1', value: '1',
name:this.$t('CollectionInitiated') name: this.$t('CollectionInitiated')
}, },
{ {
value:'2', value: '2',
name:this.$t('handledInterface') name: this.$t('handledInterface')
}, },
{ {
value:'3', value: '3',
name:this.$t('ReturnedPerson') name: this.$t('ReturnedPerson')
}, },
{ {
value:'4', value: '4',
name:this.$t('completed') name: this.$t('completed')
}, },
{ {
value:'5', value: '5',
name:this.$t('Filledreturn') name: this.$t('Filledreturn')
}, },
{ {
value:'6', value: '6',
name:this.$t('Submitted') name: this.$t('Submitted')
}, },
{ {
value:'7', value: '7',
name:this.$t('ReturnedEngineer') name: this.$t('ReturnedEngineer')
}, },
{ {
value:'8', value: '8',
name:this.$t('SynchronizedLibrary') name: this.$t('SynchronizedLibrary')
}, },
{ {
value:'9', value: '9',
name:this.$t('alteration') name: this.$t('alteration')
} }
] ]
return { return {
@@ -586,6 +590,22 @@
handleCancelRoleSwitching() { handleCancelRoleSwitching() {
this.visibleRoleSwitching = false 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() { handleOkRoleSwitching() {
this.$refs.ruleFormRoleSwitching.validate(valid => { this.$refs.ruleFormRoleSwitching.validate(valid => {
if (valid) { if (valid) {