[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
@@ -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) {