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