fix: some warn

This commit is contained in:
xingyuv
2023-02-09 15:29:29 +08:00
parent 5df6addb78
commit 6e12fa4d78
24 changed files with 81 additions and 117 deletions

View File

@@ -33,7 +33,7 @@ import * as ProcessInstanceApi from '@/api/bpm/processInstance'
const { t } = useI18n() // 国际化
const message = useMessage() // 消息弹窗
const router = useRouter() // 路由
const { push } = useRouter() // 路由
const [registerTable, { reload }] = useXTable({
allSchemas: allSchemas,
@@ -42,7 +42,7 @@ const [registerTable, { reload }] = useXTable({
// 发起请假
const handleCreate = () => {
router.push({
push({
name: 'OALeaveCreate'
})
}
@@ -63,7 +63,7 @@ const cancelLeave = (row) => {
// 详情
const handleDetail = (row) => {
router.push({
push({
name: 'OALeaveDetail',
query: {
id: row.id
@@ -73,7 +73,7 @@ const handleDetail = (row) => {
// 审批进度
const handleProcessDetail = (row) => {
router.push({
push({
name: 'BpmProcessInstanceDetail',
query: {
id: row.processInstanceId