|
@@ -257,15 +257,15 @@
|
|
|
},
|
|
|
schemas: getquanjingSchemas(),
|
|
|
};
|
|
|
- const searchForm: Partial<FormProps> = {
|
|
|
- labelWidth: 100,
|
|
|
- autoSubmitOnEnter: true,
|
|
|
- autoAdvancedLine: 1,
|
|
|
- actionColOptions: {
|
|
|
- span: 24,
|
|
|
- },
|
|
|
- schemas: getviewSchemas(),
|
|
|
- };
|
|
|
+ // const searchForm: Partial<FormProps> = {
|
|
|
+ // labelWidth: 100,
|
|
|
+ // autoSubmitOnEnter: true,
|
|
|
+ // autoAdvancedLine: 1,
|
|
|
+ // actionColOptions: {
|
|
|
+ // span: 24,
|
|
|
+ // },
|
|
|
+ // schemas: searchForm,
|
|
|
+ // };
|
|
|
const permissionStore = usePermissionStore();
|
|
|
const { getCheckPerm } = permissionStore;
|
|
|
const [registerPriority, { openModal: openPriorityModal }] = useModal();
|
|
@@ -278,12 +278,13 @@
|
|
|
columns: getviewColumns(),
|
|
|
searchInfo: { type: 1, userName },
|
|
|
useSearchForm: true,
|
|
|
- formConfig: searchForm,
|
|
|
+ formConfig: quanjSearchForm,
|
|
|
showTableSetting: true,
|
|
|
showIndexColumn: false,
|
|
|
rowKey: 'num',
|
|
|
beforeFetch: (T) => {
|
|
|
loading.value = true;
|
|
|
+ T.type = 1;
|
|
|
return T;
|
|
|
},
|
|
|
afterFetch: (T) => {
|
|
@@ -343,7 +344,7 @@
|
|
|
searchInfo: { type: tableType, userName },
|
|
|
showIndexColumn: false,
|
|
|
useSearchForm: true,
|
|
|
- formConfig: searchFormSs,
|
|
|
+ formConfig: quanjSearchForm,
|
|
|
showTableSetting: true,
|
|
|
beforeFetch: (T) => {
|
|
|
loading.value = true;
|