update 国内标准-新增:标准编号输入示例
This commit is contained in:
@@ -21,6 +21,7 @@ module.exports = {
|
|||||||
newRegistrationImplementationTime: 'New registration implementation time', // 新注册实施时间
|
newRegistrationImplementationTime: 'New registration implementation time', // 新注册实施时间
|
||||||
applicableVehicleType: 'Applicable vehicle type', // 适用车型
|
applicableVehicleType: 'Applicable vehicle type', // 适用车型
|
||||||
dynamicType: 'Dynamic type', // 动力类型
|
dynamicType: 'Dynamic type', // 动力类型
|
||||||
|
inputExample: 'Input example:', // 输入示例
|
||||||
// 国内标准
|
// 国内标准
|
||||||
domesticStandard: {
|
domesticStandard: {
|
||||||
treeSearchPlaceholder: 'Please enter the tree system', // 请输入树状图体系
|
treeSearchPlaceholder: 'Please enter the tree system', // 请输入树状图体系
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ module.exports = {
|
|||||||
newRegistrationImplementationTime: '新注册实施时间', // 新注册实施时间
|
newRegistrationImplementationTime: '新注册实施时间', // 新注册实施时间
|
||||||
applicableVehicleType: '适用车型', // 适用车型
|
applicableVehicleType: '适用车型', // 适用车型
|
||||||
dynamicType: '动力类型', // 动力类型
|
dynamicType: '动力类型', // 动力类型
|
||||||
|
inputExample: '输入示例:',
|
||||||
// 国内标准
|
// 国内标准
|
||||||
domesticStandard: {
|
domesticStandard: {
|
||||||
treeSearchPlaceholder: '请输入树状图体系',
|
treeSearchPlaceholder: '请输入树状图体系',
|
||||||
|
|||||||
@@ -165,7 +165,7 @@
|
|||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
v-model="formInline[item.dbFieldName]"
|
v-model="formInline[item.dbFieldName]"
|
||||||
:maxLength="50"
|
:maxLength="50"
|
||||||
:placeholder="$t('pleaseEnter')+item.dbFieldTxt" />
|
:placeholder="specialPlaceholder[item.dbFieldName] || $t('pleaseEnter')+item.dbFieldTxt" />
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -284,6 +284,14 @@ export default {
|
|||||||
default: () => {
|
default: () => {
|
||||||
return {}
|
return {}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
// 特殊的placeholder,目前只处理了输入框,有需要再处理别的
|
||||||
|
specialPlaceholder: {
|
||||||
|
type: Object,
|
||||||
|
required: false,
|
||||||
|
default: () => {
|
||||||
|
return {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
|
|||||||
+3
-1
@@ -14,6 +14,9 @@
|
|||||||
<add-form ref="addForm"
|
<add-form ref="addForm"
|
||||||
:get-form-func="getFormFunc"
|
:get-form-func="getFormFunc"
|
||||||
:get-document-info-func="getDocumentInfoFunc"
|
:get-document-info-func="getDocumentInfoFunc"
|
||||||
|
:special-placeholder="{
|
||||||
|
standard_number: `${$t('standardRegulationLibrary.inputExample')}7258`
|
||||||
|
}"
|
||||||
@submitFormData="submitFormData" />
|
@submitFormData="submitFormData" />
|
||||||
</a-spin>
|
</a-spin>
|
||||||
</div>
|
</div>
|
||||||
@@ -28,7 +31,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import AddForm from '../../../../components/customField/AddForm.vue'
|
import AddForm from '../../../../components/customField/AddForm.vue'
|
||||||
import { postAction } from '@api/manage'
|
|
||||||
import {
|
import {
|
||||||
getDomesticStandardDocumentInfo,
|
getDomesticStandardDocumentInfo,
|
||||||
getDomesticStandardFormModal,
|
getDomesticStandardFormModal,
|
||||||
|
|||||||
Reference in New Issue
Block a user