对接文档详情的法规清单
This commit is contained in:
@@ -665,4 +665,6 @@ module.exports = {
|
||||
listConfirmationStatus:'List confirmation status',
|
||||
ListConfirmationDeadline:'List confirmation deadline',
|
||||
dataConfirmation:'Please select the data whose list confirmation status is not initiated or rejected, and the regulatory engineer and certification engineer are not empty',
|
||||
pleaseSelectPersonFirst:'Please select a person first',
|
||||
onlyOnePersonCanBeSelected:'Only one person can be selected',
|
||||
}
|
||||
@@ -669,4 +669,6 @@ module.exports = {
|
||||
listConfirmationStatus:'清单确认状态',
|
||||
ListConfirmationDeadline:'清单确认截止时间',
|
||||
dataConfirmation:'请选择清单确认状态为未发起或拒绝的数据,以及法规工程师、认证工程师不为空',
|
||||
pleaseSelectPersonFirst:'请先选择人员',
|
||||
onlyOnePersonCanBeSelected:'只能选择一个人员',
|
||||
}
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
export default {
|
||||
name: 'index',
|
||||
props: ['query', 'value', 'personneQuery'],
|
||||
props: ['query', 'value', 'personneQuery','isSingleChoice'],
|
||||
data() {
|
||||
return {
|
||||
loading: true,
|
||||
@@ -96,6 +96,11 @@
|
||||
},
|
||||
handleSubmit() {
|
||||
if (this.userIds && this.userIds.length > 0) {
|
||||
if (this.isSingleChoice){
|
||||
if (this.userIds.length > 1){
|
||||
this.$message.warning(this.$t('onlyOnePersonCanBeSelected'))
|
||||
}
|
||||
}
|
||||
let userIds = JSON.parse(JSON.stringify(this.userIds))
|
||||
let userName = JSON.parse(JSON.stringify(this.userName))
|
||||
this.$emit('input', userName.join(','))
|
||||
@@ -103,7 +108,7 @@
|
||||
this.visible = false
|
||||
this.treeVisible = false
|
||||
} else {
|
||||
this.$message.warning('请先选择人员')
|
||||
this.$message.warning(this.$t('pleaseSelectPersonFirst'))
|
||||
}
|
||||
},
|
||||
indexclick(event) {
|
||||
|
||||
@@ -237,6 +237,23 @@
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text"
|
||||
:title="$t('zoneOfApplication')">{{$t('zoneOfApplication')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="region">
|
||||
<j-dict-select-tag class="box-input" v-model="formInline.region"
|
||||
:disabled="true"
|
||||
:placeholder="$t('PleaseSelect')+$t('zoneOfApplication')"
|
||||
:type="'select'"
|
||||
:triggerChange="false" :dictCode="'region'"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="24">
|
||||
<div class="box-title-text">
|
||||
|
||||
@@ -224,6 +224,12 @@
|
||||
ellipsis: true,
|
||||
dataIndex: 'correspondingStandard'
|
||||
},
|
||||
{
|
||||
title: this.$t('zoneOfApplication'),
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
dataIndex: 'region_dictText'
|
||||
},
|
||||
{
|
||||
title: this.$t('implementationCategory'),
|
||||
align: 'center',
|
||||
|
||||
@@ -68,6 +68,7 @@
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" :prop="'studioEngineerName'">
|
||||
<PersonnelSelection :query="{db_field_name:'studioEngineer',db_field_txt:$t('StudioEngineer')}"
|
||||
:isSingleChoice="true"
|
||||
:personneQuery="formInline"
|
||||
@change="PersonnelSelectionChange"
|
||||
:disabled="disabled"
|
||||
|
||||
Reference in New Issue
Block a user