|
|
@ -153,7 +153,7 @@ const moreListOptions = ref({ |
|
|
|
|
|
|
|
const type = searchOption_high.value.find(item => (item.field == val)) |
|
|
|
let data = 'input' |
|
|
|
if (type?.dictType || type?.field == 'creator') { |
|
|
|
if (type?.dictType || type?.field == 'creator'||type?.field == 'updater' ||type?.field == 'worker') { |
|
|
|
data = 'select' |
|
|
|
} else if (type?.form?.component == 'InputNumber') { |
|
|
|
data = 'inputNumber' |
|
|
@ -170,7 +170,7 @@ const moreListOptions = ref({ |
|
|
|
const getFilterable = (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 |
|
|
|
}else{ |
|
|
|
return true |
|
|
@ -298,7 +298,7 @@ const getDictOptions = ()=>{ |
|
|
|
// allDictOptions.value[item.field] = getStrDictOptions(item.dictType) |
|
|
|
if (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 |
|
|
|
} |
|
|
|
}) |
|
|
|