修改禅道已知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',
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',
}
+1
View File
@@ -1077,4 +1077,5 @@ module.exports = {
newNiONumber: 'NIO编号',
English:'英文',
requiredParametersEmpty:'必填参数不能为空',
bringInTheProjectInterface:'带入工程接口人',
}
@@ -135,6 +135,10 @@
<a-icon type="delete"/>
{{$t('BatchDelete')}}
</div>
<div @click="bringInTheProjectInterfaceClick" class="operator-text-title">
<a-icon type="profile"/>
{{$t('bringInTheProjectInterface')}}
</div>
</template>
<div class="operator-text" style="position: relative">
<span style="position: absolute;left: -13px;top: -4px">...</span>{{ $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) {