feat: There is no way the,
This commit is contained in:
@@ -5141,6 +5141,97 @@ export default {
|
||||
})
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 获取新增弹框的表单
|
||||
*/
|
||||
getAddFormFieldList(isEdit) {
|
||||
this.$http.get('lawss/sarStandAttrDetails/list', {}, {
|
||||
_this: this
|
||||
},
|
||||
res => {
|
||||
if (res.ok) {
|
||||
const {data = {}} = res
|
||||
this.formFieldListData = data['INLAND_STAND'] || []
|
||||
// 追加高级查询动态下拉框数据s
|
||||
this.twoOptions = [
|
||||
{
|
||||
label: '标准类别',
|
||||
value: 'stand_sort',
|
||||
type: 'SEL_OPTION',
|
||||
disabled: false
|
||||
},
|
||||
{
|
||||
label: '文本状态',
|
||||
value: 'stand_state_show',
|
||||
type: 'SEL_OPTION',
|
||||
disabled: false
|
||||
},
|
||||
// {
|
||||
// label: '适用区域',
|
||||
// value: 'country',
|
||||
// type: 'SEL_OPTION',
|
||||
// disabled: false
|
||||
// },
|
||||
{
|
||||
label: '重要度',
|
||||
value: 'is_relate_access',
|
||||
type: 'SEL_OPTION',
|
||||
disabled: false
|
||||
},
|
||||
{
|
||||
label: '标准编号',
|
||||
value: 'stand_number',
|
||||
type: 'INPUT',
|
||||
disabled: false
|
||||
},
|
||||
{
|
||||
label: '标准年份',
|
||||
value: 'stand_year',
|
||||
type: 'INPUT',
|
||||
disabled: false
|
||||
},
|
||||
{
|
||||
label: '中文名称',
|
||||
value: 'stand_name',
|
||||
type: 'INPUT',
|
||||
disabled: false
|
||||
},
|
||||
{
|
||||
label: '英文名称',
|
||||
value: 'stand_en_name',
|
||||
type: 'INPUT',
|
||||
disabled: false
|
||||
},
|
||||
{
|
||||
label: '发布日期',
|
||||
value: 'issue_time',
|
||||
type: 'DATE_PIC_OPTS',
|
||||
disabled: false
|
||||
},
|
||||
{
|
||||
label: '文本说明',
|
||||
value: 'synopsis',
|
||||
type: 'INPUT',
|
||||
disabled: false
|
||||
}
|
||||
]
|
||||
this.formFieldListData.map(item => {
|
||||
if (item.attrType !== 'FILE' && item.attrField !== 'ZRLX') {
|
||||
this.twoOptions.push({
|
||||
value: item.attrField,
|
||||
label: item.attrName,
|
||||
selVal: item.selVal,
|
||||
type: item.attrType,
|
||||
disabled: false,
|
||||
__wx__: item
|
||||
})
|
||||
}
|
||||
})
|
||||
// this.resolveFormFieldList()
|
||||
}
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 展示位置
|
||||
*/
|
||||
@@ -5632,6 +5723,7 @@ export default {
|
||||
// 加载所有的部门
|
||||
this.getOrgTreeSource()
|
||||
// 加载动态表单数据
|
||||
this.getAddFormFieldList()
|
||||
this.getDept()
|
||||
this.busVsFunc()
|
||||
this.modelFunc()
|
||||
|
||||
Reference in New Issue
Block a user