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