[update]
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
<a-select allowClear :placeholder="$t('PleaseSelect')+$t('Required')" v-model='formInline.isMust'>
|
||||
<a-select-option :key="'1'" :value="'1'">{{$t('yes')}}
|
||||
</a-select-option>
|
||||
<a-select-option :key="'0'" :value="'0'">{{$t('not')}}
|
||||
<a-select-option :key="'0'" :value="'0'">{{$t('notOnlyRz')}}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
</a-form-model-item>
|
||||
@@ -320,27 +320,27 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
controlType: [ // 控件类型
|
||||
{value:'1', label: '文本' },
|
||||
{value:'2', label: '下拉单选' },
|
||||
{value:'3', label: '下拉多选' },
|
||||
{value:'4', label: '附件' },
|
||||
{value:'5', label: '文本+下拉单选' },
|
||||
{value:'6', label: '文本+下拉多选' },
|
||||
{value:'7', label: '文本+附件' },
|
||||
{value:'8', label: '下拉单选+附件' },
|
||||
{value:'9', label: '下拉多选+附件' },
|
||||
{value:'10', label: '文本+下拉单选+附件' },
|
||||
{value:'1', label: this.$t('text') },
|
||||
{value:'2', label: this.$t('Dropdownradio') },
|
||||
{value:'3', label: this.$t('Dropdownmultipleselection') },
|
||||
{value:'4', label: this.$t('enclosure') },
|
||||
{value:'5', label: this.$t('text')+ this.$t('a')+this.$t('Dropdownradio') },
|
||||
{value:'6', label: this.$t('text')+ this.$t('a')+this.$t('Dropdownmultipleselection') },
|
||||
{value:'7', label: this.$t('text')+ this.$t('a')+this.$t('enclosure') },
|
||||
{value:'8', label: this.$t('Dropdownradio')+ this.$t('a')+this.$t('enclosure') },
|
||||
{value:'9', label: this.$t('Dropdownmultipleselection')+ this.$t('a')+this.$t('enclosure') },
|
||||
{value:'10', label: this.$t('text')+ this.$t('a')+this.$t('Dropdownradio')+ this.$t('a')+this.$t('enclosure') },
|
||||
],
|
||||
controlVerification: [ // 控件校验
|
||||
{value:'1', label: '无' },
|
||||
{value:'2', label: '中文' },
|
||||
{value:'3', label: '正整数' },
|
||||
{value:'4', label: '正浮点数' },
|
||||
{value:'5', label: '整数或小数' },
|
||||
{value:'6', label: '一位小数' },
|
||||
{value:'7', label: '两位小数' },
|
||||
{value:'8', label: '三位小数' },
|
||||
{value:'9', label: '四位小数' },
|
||||
{value:'1', label: this.$t('nothing') },
|
||||
{value:'2', label: this.$t('chinese') },
|
||||
{value:'3', label: this.$t('positiveInteger') },
|
||||
{value:'4', label: this.$t('Positivefloatingpointnumber') },
|
||||
{value:'5', label: this.$t('integerOrDecimal')},
|
||||
{value:'6', label: this.$t('OneDecimalPlace') },
|
||||
{value:'7', label: this.$t('TwoDecimalplaces') },
|
||||
{value:'8', label: this.$t('Threedecimalplaces') },
|
||||
{value:'9', label: this.$t('FourDecimalplaces') },
|
||||
],
|
||||
CategoryTreeList: [], // 技术领域
|
||||
certCategoryParamsInfoEOList: [], // 认证类别得tab栏
|
||||
@@ -405,6 +405,7 @@ export default {
|
||||
inputChangelabel: false, // 控件备选值校验
|
||||
buttonChangelabel: false, // 模板校验
|
||||
contentListStart: [], // 认证类别编辑
|
||||
flag: 1, // 判断师新增,编辑 默认新增
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -453,7 +454,7 @@ export default {
|
||||
},
|
||||
Onchangelabel(val) {
|
||||
let _tt = []
|
||||
if(this.title == '新增') {
|
||||
if(this.flag == 1) {
|
||||
this.contentListStart.forEach((itemVal) => {
|
||||
val.forEach((item) => {
|
||||
if(itemVal.value === item.value) {
|
||||
@@ -511,7 +512,8 @@ export default {
|
||||
},
|
||||
addModel() {
|
||||
this.visible = true
|
||||
this.title = '新增'
|
||||
this.flag = 1
|
||||
this.title = this.$t('newlyAdded')
|
||||
this.formInline = {}
|
||||
// 获取认证类别
|
||||
this.getcontentListedEdit()
|
||||
@@ -533,7 +535,8 @@ export default {
|
||||
value.technologyTerritory = value.technologyTerritory.split(',')
|
||||
}
|
||||
this.formInline = value
|
||||
this.title = '编辑'
|
||||
this.title = this.$t('edit')
|
||||
this.flag = 0
|
||||
// 获取认证类别
|
||||
this.getcontentListedEdit()
|
||||
value.certCategoryParamsInfoEOList.map((item, index) => {
|
||||
|
||||
Reference in New Issue
Block a user