|
|
@ -46,6 +46,7 @@ export function useTable() { |
|
|
|
const router: Router = useRouter() |
|
|
|
const router: Router = useRouter() |
|
|
|
const projectCode = Number(route.params.projectCode) |
|
|
|
const projectCode = Number(route.params.projectCode) |
|
|
|
const processInstanceId = Number(route.params.processInstanceId) |
|
|
|
const processInstanceId = Number(route.params.processInstanceId) |
|
|
|
|
|
|
|
const taskName = route.params.taskName |
|
|
|
|
|
|
|
|
|
|
|
const variables = reactive({ |
|
|
|
const variables = reactive({ |
|
|
|
columns: [], |
|
|
|
columns: [], |
|
|
@ -53,7 +54,7 @@ export function useTable() { |
|
|
|
tableData: [] as IRecord[], |
|
|
|
tableData: [] as IRecord[], |
|
|
|
page: ref(1), |
|
|
|
page: ref(1), |
|
|
|
pageSize: ref(10), |
|
|
|
pageSize: ref(10), |
|
|
|
searchVal: ref(null), |
|
|
|
searchVal: ref(taskName || null), |
|
|
|
processInstanceId: ref(processInstanceId ? processInstanceId : null), |
|
|
|
processInstanceId: ref(processInstanceId ? processInstanceId : null), |
|
|
|
host: ref(null), |
|
|
|
host: ref(null), |
|
|
|
stateType: ref(null), |
|
|
|
stateType: ref(null), |
|
|
|