修改翻译

This commit is contained in:
zyx.net
2022-08-11 11:49:02 +08:00
parent 42ec3c43ec
commit 6c52d89cec
4 changed files with 34 additions and 17 deletions
+2 -2
View File
@@ -355,7 +355,7 @@ module.exports = {
templateDownload: 'Download Template',
textInformation: 'Document Files',
relatedInformation: 'Relevant Information',
RetrieveFiles: 'Retrieve Library File',
RetrieveFiles: 'Select Stored File',
SplitText: 'Split Library File',
ImportResults: 'Import Split Results',
copy: 'Copy',
@@ -589,7 +589,7 @@ module.exports = {
withdraw: 'Withdraw',
maintenanceList: 'Maintain',
instructionForUse: 'Instruction',
subtitle: 'Sub-Title',
subtitle: 'Sub-title',
scopeOfApplication: 'Scope',
correspondingStandard: 'Compare EU/CN',
implementationCategory: 'Usage',
@@ -150,14 +150,14 @@
if (res.success) {
var jsonHead = res.result
this.columns = []
this.columns.push(
{
title: this.$t('serialNumber'),
dataIndex: 'index',
key: 'index',
align: 'center',
customRender: (text, record, index) => `${index + 1}`
})
// this.columns.push(
// {
// title: this.$t('serialNumber'),
// dataIndex: 'index',
// key: 'index',
// align: 'center',
// customRender: (text, record, index) => `${index + 1}`
// })
jsonHead.forEach((res, index) => {
this.columns.push({
title: res.db_field_txt,
@@ -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'),