|
|
|
|
@ -39,6 +39,7 @@ onMounted(async () => {
|
|
|
|
|
*/
|
|
|
|
|
const userFieldFixed = useList.userFieldFixed?.split(",");
|
|
|
|
|
const userFieldUnFixed = useList.userFieldUnFixed?.split(",");
|
|
|
|
|
let mustList = [];
|
|
|
|
|
allList?.map((v) => {
|
|
|
|
|
let item = {
|
|
|
|
|
name: v.fieldDesc,
|
|
|
|
|
@ -49,8 +50,9 @@ onMounted(async () => {
|
|
|
|
|
Boolean(userFieldFixed?.find((v2) => v2 == v.name)) ||
|
|
|
|
|
Boolean(userFieldUnFixed?.find((v2) => v2 == v.name)),
|
|
|
|
|
};
|
|
|
|
|
if (item.fix) {
|
|
|
|
|
mustList.push(item);
|
|
|
|
|
if (!userFieldFixed?.length && !userFieldUnFixed?.length) {
|
|
|
|
|
if (item.fix) {
|
|
|
|
|
fixLeftList.value.push(item);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -62,6 +64,7 @@ onMounted(async () => {
|
|
|
|
|
}
|
|
|
|
|
offList.value.push(item);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const allCount = computed(() => {
|
|
|
|
|
|