|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
import { BasicColumn, FormSchema } from '/@/components/Table'
|
|
|
|
|
import { Tag } from 'ant-design-vue'
|
|
|
|
|
import { GetUserList } from '/@/api/common'
|
|
|
|
|
import { useOptionsStore } from '/@/store/modules/options'
|
|
|
|
|
const optionsStore = useOptionsStore()
|
|
|
|
|
export const columns: BasicColumn[] = [
|
|
|
|
@ -225,10 +226,17 @@ export const formSchema: FormSchema[] = [
|
|
|
|
|
{
|
|
|
|
|
label: '负责人',
|
|
|
|
|
field: 'leader',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
colProps: {
|
|
|
|
|
span: 6,
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
componentProps: () => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetUserList,
|
|
|
|
|
labelField: 'label',
|
|
|
|
|
valueField: 'label',
|
|
|
|
|
immediate: false,
|
|
|
|
|
resultField: 'data',
|
|
|
|
|
getPopupContainer: () => document.body,
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -432,9 +440,9 @@ export const formSchema: FormSchema[] = [
|
|
|
|
|
return !!values.id
|
|
|
|
|
},
|
|
|
|
|
colProps: {
|
|
|
|
|
span: 24
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
span: 24,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
export const BankColumns: BasicColumn[] = [
|
|
|
|
@ -647,7 +655,7 @@ export const BankformSchema: FormSchema[] = [
|
|
|
|
|
options: [
|
|
|
|
|
{ label: '启用', value: 1 },
|
|
|
|
|
{ label: '禁用', value: 0 },
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
defaultValue: true,
|
|
|
|
|
colProps: {
|
|
|
|
|