|
@ -153,7 +153,7 @@ const moreListOptions = ref({ |
|
|
|
|
|
|
|
|
const type = searchOption_high.value.find(item => (item.field == val)) |
|
|
const type = searchOption_high.value.find(item => (item.field == val)) |
|
|
let data = 'input' |
|
|
let data = 'input' |
|
|
if (type?.dictType || type?.field == 'creator') { |
|
|
if (type?.dictType || type?.field == 'creator'||type?.field == 'updater' ||type?.field == 'worker') { |
|
|
data = 'select' |
|
|
data = 'select' |
|
|
} else if (type?.form?.component == 'InputNumber') { |
|
|
} else if (type?.form?.component == 'InputNumber') { |
|
|
data = 'inputNumber' |
|
|
data = 'inputNumber' |
|
@ -170,7 +170,7 @@ const moreListOptions = ref({ |
|
|
const getFilterable = (val) => { |
|
|
const getFilterable = (val) => { |
|
|
const type = searchOption_high.value.find(item => (item.field == val)) |
|
|
const type = searchOption_high.value.find(item => (item.field == val)) |
|
|
// 下拉列表过长,去掉筛选功能 |
|
|
// 下拉列表过长,去掉筛选功能 |
|
|
if (type?.field == 'creator') { |
|
|
if (type?.field == 'creator' || type?.field == 'updater' || type?.field == 'worker') { |
|
|
return false |
|
|
return false |
|
|
}else{ |
|
|
}else{ |
|
|
return true |
|
|
return true |
|
@ -298,7 +298,7 @@ const getDictOptions = ()=>{ |
|
|
// allDictOptions.value[item.field] = getStrDictOptions(item.dictType) |
|
|
// allDictOptions.value[item.field] = getStrDictOptions(item.dictType) |
|
|
if (item.dictType) { |
|
|
if (item.dictType) { |
|
|
allDictOptions.value[item.field] = getStrDictOptions(item.dictType) |
|
|
allDictOptions.value[item.field] = getStrDictOptions(item.dictType) |
|
|
} else if(item.field == 'creator'){ |
|
|
} else if(item.field == 'creator'||item.field == 'updater' ||item.field == 'worker'){ |
|
|
allDictOptions.value[item.field] = userListAll.value |
|
|
allDictOptions.value[item.field] = userListAll.value |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|