待审核添加复提和待审核筛选
parent
518f94e845
commit
4f20bf89b8
|
|
@ -32,7 +32,7 @@ import { useRouter } from 'vue-router';
|
|||
|
||||
const router = useRouter()
|
||||
let type = router.currentRoute.value.params.id
|
||||
const searchFormSchema = searchFormSchemaFunction(type)
|
||||
const searchFormSchema = searchFormSchemaFunction(type,false)
|
||||
const infoData = ref({})
|
||||
const openModal = ref(false)
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ import { useRouter } from 'vue-router';
|
|||
|
||||
const router = useRouter()
|
||||
let type = router.currentRoute.value.params.id
|
||||
const searchFormSchema = searchFormSchemaFunction(type)
|
||||
const searchFormSchema = searchFormSchemaFunction(type, true)
|
||||
const code = codeObj[type]
|
||||
const subjectKey = SubjectKeyObj[type]
|
||||
|
||||
|
|
@ -92,7 +92,10 @@ const [registerTable, { reload, expandAll}] = useTable({
|
|||
showTableSetting: true,
|
||||
bordered: true,
|
||||
beforeFetch(data) {
|
||||
let params = {...data,nowStatus: '待审核'}
|
||||
let params = {...data}
|
||||
if(!params.nowStatus){
|
||||
params.nowStatus = '待审核'
|
||||
}
|
||||
return params
|
||||
},
|
||||
afterFetch(data) {
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ import { useRouter } from 'vue-router';
|
|||
|
||||
const router = useRouter()
|
||||
let type = router.currentRoute.value.params.id
|
||||
const searchFormSchema = searchFormSchemaFunction(type)
|
||||
const searchFormSchema = searchFormSchemaFunction(type, false)
|
||||
const infoData = ref({})
|
||||
const openModal = ref(false)
|
||||
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ export const columns: BasicColumn[] = [
|
|||
}
|
||||
},
|
||||
];
|
||||
export const searchFormSchemaFunction:(type:string) => FormSchema[] = (type) => {
|
||||
export const searchFormSchemaFunction:(type:string, audit:boolean) => FormSchema[] = (type, audit=false) => {
|
||||
return [
|
||||
{
|
||||
field: 'originalCaseNo',
|
||||
|
|
@ -150,6 +150,18 @@ export const searchFormSchemaFunction:(type:string) => FormSchema[] = (type) =>
|
|||
valueField: 'id',
|
||||
};
|
||||
},
|
||||
}
|
||||
},
|
||||
audit && {
|
||||
field: 'nowStatus',
|
||||
label: '状态',
|
||||
component: 'Select',
|
||||
colProps: { span: 4 },
|
||||
componentProps: {
|
||||
options: [
|
||||
{ label: '待审核', value: '待审核'},
|
||||
{ label: '复提', value: '复提'},
|
||||
],
|
||||
},
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
@ -84,7 +84,10 @@ const [registerTable, { reload, expandAll}] = useTable({
|
|||
showTableSetting: true,
|
||||
bordered: true,
|
||||
beforeFetch(data) {
|
||||
let params = {...data,nowStatus: '待审核'}
|
||||
let params = {...data}
|
||||
if(!params.nowStatus){
|
||||
params.nowStatus = '待审核'
|
||||
}
|
||||
return params
|
||||
},
|
||||
afterFetch(data) {
|
||||
|
|
|
|||
|
|
@ -128,7 +128,19 @@ export const searchFormSchema: FormSchema[] = [
|
|||
valueField: 'id',
|
||||
};
|
||||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'nowStatus',
|
||||
label: '状态',
|
||||
component: 'Select',
|
||||
colProps: { span: 4 },
|
||||
componentProps: {
|
||||
options: [
|
||||
{ label: '待审核', value: '待审核'},
|
||||
{ label: '复提', value: '复提'},
|
||||
],
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
export const dictionary = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue