[fix uat126]全局替换 “国家/地区”改为“试用市场”

This commit is contained in:
fengchenchen
2024-09-12 14:36:32 +08:00
parent df196d504e
commit e546efd604
10 changed files with 23 additions and 23 deletions
@@ -63,7 +63,7 @@ module.exports = {
marketRegulationsList: {
listNumber: '清单编号',
listName: '清单名称',
countryRegion: '国家/地区',
countryRegion: '适用市场',
drivingPosition: '驾驶位置',
author: '作者',
exportName: '市场法规清单表',
+1 -1
View File
@@ -212,7 +212,7 @@ module.exports = {
maximumSelectFive: '最多选择五条记录!',
listNumber: '清单编号',
listName: '清单名称',
countryRegion: '国家/地区',
countryRegion: '适用市场',
ccPerson: '抄送人员',
startDate: '开始日期',
endDate: '结束日期',
@@ -30,7 +30,7 @@
</a-form-item>
</a-col>
<!-- 国家/地区 -->
<!-- 适用市场 -->
<a-col :md="8" :sm="12">
<a-form-item :label="$t('standardRegulationLibrary.marketRegulationsList.countryRegion')">
<a-tree-select
@@ -201,7 +201,7 @@ export default {
total: 0
},
columns: [
{ // 国家/地区
{ // 适用市场
title: this.$t('standardRegulationLibrary.marketRegulationsList.countryRegion'),
align: 'center',
width: 180,
@@ -241,7 +241,7 @@ export default {
}
},
// 市场更新情况start
{ // 国家/地区
{ // 适用市场
title: this.$t('standardRegulationLibrary.marketRegulationsList.countryRegion'),
align: 'left',
dataIndex: 'country_dictText',
@@ -7,7 +7,7 @@
</template>
<div class="content-wrapper">
<a-row class="basic-info" v-if="ids.length <= 1">
<!-- 国家/地区 -->
<!-- 适用市场 -->
<a-col :span="12">
<label>{{ $t('standardRegulationLibrary.marketRegulationsList.countryRegion') }}</label>
<span>{{ (isChinese() ? model.country_dictText : model.country_dictTextEn) || global.emptyLine }}</span>
@@ -8,7 +8,7 @@
<div class="content-wrapper">
<a-form :form="form">
<a-row>
<!-- 国家/地区 -->
<!-- 适用市场 -->
<a-col :span="12">
<a-form-item :labelCol="labelCol"
:wrapperCol="wrapperCol"
@@ -283,7 +283,7 @@ export default {
sm: { span: 20 }
},
validatorRules: {
// 国家/地区
// 适用市场
country: {
rules: [{
required: true,
@@ -505,7 +505,7 @@ export default {
this.loadData()
},
methods: {
// 获取国家/地区下拉数据
// 获取适用市场下拉数据
getCountryOption () {
getFormDictTreeList({ dictId: '1801130851452059649' }).then(res => {
if (res.success) {
@@ -597,7 +597,7 @@ export default {
this.pageLoading = true
const param = {}
param.manifest = Object.assign({}, values)
// 国家/地区是树选择,需要处理格式
// 适用市场是树选择,需要处理格式
param.manifest.country = param.manifest.country.map(item => item.value).join(',')
let func
if (this.model && this.model.id) {
@@ -657,7 +657,7 @@ export default {
form.newProductImplDate = result.new_product_impl_date // 新生产车实施日期
form.newAuthImplDate = result.new_auth_impl_date // 新认证车实施日期
form.registrationDate = result.registration_date // 注册日期
form.country = this.model.country.map(item => item.value).join(',') // 适用市场,带入清单基本信息的国家/地区
form.country = this.model.country.map(item => item.value).join(',') // 适用市场,带入清单基本信息的适用市场
form.mainDept = result.main_dept // 主控部门
form.mainDeptProfMode = result.main_dept_prof_mode || undefined // 主控部门专业模块
form.associateDept = result.associate_dept // 关联部门
@@ -23,7 +23,7 @@
</a-form-item>
</a-col>
<!-- 国家/地区 -->
<!-- 适用市场 -->
<a-col :md="6" :sm="8">
<a-form-item :label="$t('standardRegulationLibrary.marketRegulationsList.countryRegion')">
<a-tree-select
@@ -148,7 +148,7 @@ export default {
return {
countryOptions: [], // 国家下拉选择
columns: [
{ // 国家/地区
{ // 适用市场
title: this.$t('standardRegulationLibrary.marketRegulationsList.countryRegion'),
align: 'center',
width: 180,
@@ -180,7 +180,7 @@ export default {
}
return filterObj(param)
},
// 获取国家/地区下拉数据
// 获取适用市场下拉数据
getCountryOption () {
getFormDictTreeList({ dictId: '1801130851452059649' }).then(res => {
if (res.success) {
@@ -83,7 +83,7 @@
v-decorator="['manifestName', validatorRules.manifestName]" />
</a-form-item>
</a-col>
<!-- 国家/地区 -->
<!-- 适用市场 -->
<a-col :span="24">
<a-form-item
:labelCol="$i18n.locale === EN ? longLabelColEn : longLabelCol"
@@ -231,7 +231,7 @@ export default {
}
},
mounted () {
// 获取国家/地区下拉数据
// 获取适用市场下拉数据
this.getCountryOption()
// 初始化节点
const nodeId = this.$route.query.nodeId
@@ -361,12 +361,12 @@ export default {
formInline: {},
approvalInfoForm: this.$form.createForm(this), // 审批信息表单
personnelInfoData: [],
countryOptions: [], // 国家/地区下拉框
countryOptions: [], // 适用市场下拉框
isLook: false
}
},
methods: {
// 获取国家/地区下拉框数据
// 获取适用市场下拉框数据
getCountryOption () {
getFormDictTreeList({ dictId: '1801130851452059649' }).then(res => {
if (res.success) {
@@ -405,7 +405,7 @@ export default {
processInfo.manifestName = this.model.businessInfoDTO.manifestName
// 清单说明
processInfo.manifestDesc = this.model.businessInfoDTO.manifestDesc
// 国家/地区
// 适用市场
processInfo.country = this.model.businessInfoDTO.country.split(',').map(item => {
return { value: item }
})
@@ -428,7 +428,7 @@ export default {
processInfo.manifestName = this.draftModel.businessInfoDTO.manifestName
// 清单说明
processInfo.manifestDesc = this.draftModel.businessInfoDTO.manifestDesc
// 国家/地区
// 适用市场
processInfo.country = this.draftModel.businessInfoDTO.country.split(',').map(item => {
return { value: item }
})
@@ -36,7 +36,7 @@
:placeholder="disabled ? '' : $t('autoTakeout')" />
</a-form-model-item>
</div>
<!-- 国家/地区 -->
<!-- 适用市场 -->
<div class="box-title-text form-flex-item form-flex-item-half">
<div class="title-text title-text-long">
<span class="title-text-text" :title="$t('countryRegion')">
@@ -365,7 +365,7 @@ export default {
formInline.file = result.file
// 版本号
formInline.manifestVersion = result.manifestVersion
// 国家/地区
// 适用市场
if (result.country) {
formInline.country = result.country.split(',').map(item => {
return { value: item }
@@ -478,7 +478,7 @@ export default {
formInline.file = result.file
// 版本号
formInline.manifestVersion = result.manifestVersion
// 国家/地区
// 适用市场
if (result.country) {
formInline.country = result.country.split(',').map(item => {
return { value: item }