修改 流程状态

This commit is contained in:
GGJ
2024-08-22 16:55:38 +08:00
parent 5a57bd4e39
commit c6162fe10f

View File

@@ -2,8 +2,6 @@ import { defineStore } from 'pinia'
import { DICT_DATA } from '@/stores/constant/cacheKey'
import type { DictData } from '@/stores/interface/index'
import { reactive } from 'vue'
import { useAdminInfo } from '@/stores/adminInfo'
const adminInfo = useAdminInfo()
export const useDictData = defineStore(
'dictData',
@@ -30,12 +28,6 @@ export const useDictData = defineStore(
}
const statusSelect = () => {
if (adminInfo.deptLevel == 2) {
return [
{ name: '审批中', id: 1 },
{ name: '审批通过', id: 2 }
]
} else {
return [
{ name: '待提交审批', id: 0 },
{ name: '审批中', id: 1 },
@@ -44,7 +36,6 @@ export const useDictData = defineStore(
{ name: '已取消', id: 4 }
]
}
}
return {
state,