修改翻译
This commit is contained in:
@@ -12,10 +12,16 @@
|
||||
<a-row :gutter='24'>
|
||||
<a-col :span='9'>
|
||||
<a-form-model-item :label="$t('areaOfResponsibility')">
|
||||
<j-dict-select-tag class="box-input" v-model="formData.dutyTerritory"
|
||||
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
|
||||
:type="'select'"
|
||||
:triggerChange="false" :dictCode="'duty_territory'"/>
|
||||
<a-select class="box-input" v-model="formData.dutyTerritory"
|
||||
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')">
|
||||
<a-select-option v-for="(element,index) in dutyTerritory" :key="element.value" :value="element.value">
|
||||
{{element.text}}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
<!-- <j-dict-select-tag class="box-input" v-model="formData.dutyTerritory"-->
|
||||
<!-- :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"-->
|
||||
<!-- :type="'select'"-->
|
||||
<!-- :triggerChange="false" :dictCode="'duty_territory'"/>-->
|
||||
</a-form-model-item>
|
||||
</a-col>
|
||||
<a-col :span='9'>
|
||||
@@ -99,6 +105,7 @@ export default {
|
||||
loading: false,
|
||||
editId: '',
|
||||
RelatedItemList:[],
|
||||
dutyTerritory:[],
|
||||
columns: [
|
||||
{
|
||||
title: this.$t('areaOfResponsibility'),
|
||||
@@ -180,6 +187,7 @@ export default {
|
||||
mounted() {
|
||||
this.loadData()
|
||||
this.getRelatedItemList()
|
||||
this.getdutyTerritory()
|
||||
},
|
||||
methods: {
|
||||
getRelatedItemList(){
|
||||
@@ -207,6 +215,13 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
getdutyTerritory(){
|
||||
getAction('sys/dict/getDictItems/duty_territory', { }).then((res) => {
|
||||
if (res.success) {
|
||||
this.dutyTerritory = res.result
|
||||
}
|
||||
})
|
||||
},
|
||||
// 法规技术评估列表
|
||||
handletechnical(){
|
||||
|
||||
|
||||
@@ -83,9 +83,9 @@
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||
:columns="columns"
|
||||
>
|
||||
<span slot="projectName" slot-scope="text,record" :title="text">
|
||||
<span slot="technicalField" slot-scope="text,record" :title="text">
|
||||
<a @click="entryNameClick(record)">
|
||||
{{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }}
|
||||
{{ text && text.length > 23 ? text.slice(0, 22) + '...' : text }}
|
||||
</a>
|
||||
</span>
|
||||
<span slot="operation" slot-scope="text,record">
|
||||
@@ -183,7 +183,9 @@ export default {
|
||||
{
|
||||
title: this.$t('technicalField'),
|
||||
align: 'center',
|
||||
dataIndex: 'technologyTerritory_dicText'
|
||||
dataIndex: 'technologyTerritory_dicText',
|
||||
width: 350,
|
||||
scopedSlots: { customRender: 'technicalField' }
|
||||
},
|
||||
{
|
||||
title: this.$t('RegulatoryProcessEvaluationResults'),
|
||||
|
||||
Reference in New Issue
Block a user