| | |
| | | import PageHeader from "@/components/PageHeader.vue"; |
| | | import useUserStore from "@/store/modules/user"; |
| | | import {getDept, approveProcessGetInfo, approveProcessAdd, approveProcessUpdate} from "@/api/collaborativeApproval/approvalProcess"; |
| | | import { showToast } from 'vant' |
| | | const showToast = (message) => { |
| | | uni.showToast({ |
| | | title: message, |
| | | icon: 'none' |
| | | }) |
| | | } |
| | | import {userListNoPageByTenantId} from "@/api/system/user"; |
| | | |
| | | const data = reactive({ |
| | |
| | | // 获取URL参数 |
| | | const pages = getCurrentPages(); |
| | | const currentPage = pages[pages.length - 1]; |
| | | operationType.value = currentPage.options.operationType || 'add'; |
| | | const options = currentPage && currentPage.options ? currentPage.options : {}; |
| | | operationType.value = options.operationType || 'add'; |
| | | |
| | | // 如果是编辑模式,从本地存储获取数据 |
| | | if (operationType.value === 'edit') { |