对接认证清单引用交付物

This commit is contained in:
范强强
2023-03-14 16:43:23 +08:00
parent 457eccaece
commit 0e6a8a3632
4 changed files with 40 additions and 11 deletions
+2 -2
View File
@@ -1432,6 +1432,6 @@ module.exports = {
onlyDataSelected:'Only data with process status of task to be confirmed, result to be submitted and review to be returned can be selected',
youCannotStatusListToBeReleasedAndApproved:'You cannot select data whose process status is list to be released and approved',
batchmodify:'Whether to batch modify',
onlyDataListReleasedAndCertificationReturnCanSelected:'Only data with the process status of list to be released and certification return can be selected'
onlyDataListReleasedAndCertificationReturnCanSelected:'Only data with the process status of list to be released and certification return can be selected',
type:'type',
}
+2 -1
View File
@@ -1534,5 +1534,6 @@ module.exports = {
onlyDataSelected:'只能选择流程状态为任务待确认结果待提交审查退回的数据',
youCannotStatusListToBeReleasedAndApproved:'不能选择流程状态为清单待发布审查通过的数据',
batchmodify:'是否批量修改',
onlyDataListReleasedAndCertificationReturnCanSelected:'只能选择流程状态为清单待发布和认证退回的数据'
onlyDataListReleasedAndCertificationReturnCanSelected:'只能选择流程状态为清单待发布和认证退回的数据',
type:'类型',
}
@@ -55,6 +55,15 @@
<a-form-model-item :label="$t('enName')" prop="enName">
<a-input v-model.trim="form.enName" :placeholder="$t('PleaseEnterYourEnglishName')"/>
</a-form-model-item>
<a-form-model-item :label="$t('type')" prop="valueType" v-if="record.id == '1635543933669818369'">
<a-select v-model="form.valueType"
:placeholder="$t('pleaseSelect')"
allowClear>
<a-select-option :value="item.id" v-for="(item, index) in valueTypeList" :key="item.id">
{{item.name}}
</a-select-option>
</a-select>
</a-form-model-item>
<a-form-model-item :label="$t('ParentName')" prop="pid" v-if="parentVisible">
<a-select v-model="form.pid" @change="handleChange" :placeholder="$t('pleaseSelect')" allowClear>
<a-select-option :value="item.id" v-for="(item, index) in parentDataPid" :key="item.id">
@@ -105,6 +114,20 @@
pageSize: 10
},//查询条件
form: {},
valueTypeList:[
{
id:'file',
name:this.$t('enclosure')
},
{
id:'text',
name:this.$t('text')
},
{
id:'N/A',
name:'NA'
}
],
newVisible: false,
rules: {
name: [
@@ -112,6 +135,9 @@
{ min: 1, max: 100, message: this.$t('cantExeed') + '100' + this.$t('characters'), trigger: 'blur' },
{ validator: this.test }
],
valueType:[
{ required: true, message: this.$t('type') + this.$t('cannotEmpty'), trigger: 'change' },
],
itemText: [
{ required: true, message: this.$t('enterName'), trigger: 'blur' },
{ min: 1, max: 100, message: this.$t('cantExeed') + '100' + this.$t('characters'), trigger: 'blur' },
@@ -147,7 +173,8 @@
editPId: '',
tabletreeDataSource: [],
flag: false, //提交表单标识
parentDataPid: []
parentDataPid: [],
valueTypeVisible:true
}
},
watch: {
@@ -73,8 +73,9 @@
<template slot="action" slot-scope="text, record">
<a class="action-dict" @click="handleDicPop(record)">{{$t('DictionaryConfiguration')}}</a>
<a class="action-edit" @click="actionEdit(record)" v-has="'dict:edit'">{{$t('edit')}}</a>
<a class="action-delete" href="javascript:;" @click="onDelete(record)" v-has="'dict:logicDelete'">{{$t('delete')}}</a>
<a class="action-edit" v-if="record.id != '1635543933669818369'" @click="actionEdit(record)" v-has="'dict:edit'">{{$t('edit')}}</a>
<a class="action-delete" v-if="record.id != '1635543933669818369'" href="javascript:;" @click="onDelete(record)"
v-has="'dict:logicDelete'">{{$t('delete')}}</a>
</template>
<template slot="describe" slot-scope="text, record">
<span class="text" :title="text">
@@ -124,7 +125,7 @@
// tabTable,
DicList
},
mixins:[ResizeHeader, ResizeColumnProvide],
mixins: [ResizeHeader, ResizeColumnProvide],
data() {
return {
title: this.$t('add'),
@@ -244,13 +245,13 @@
this.loading = false
this.total = res.result.total
this.tableData = [...res.result.records]
}else{
} else {
this.loading = false
}
})
// .finally(() => {
// this.loading = false
//})
// .finally(() => {
// this.loading = false
//})
},
//查询
searchQuery() {