试运行页面修改

This commit is contained in:
cdf
2024-06-05 14:34:23 +08:00
parent 6aa15c75d9
commit 9b77d100ae
13 changed files with 170 additions and 58 deletions

View File

@@ -1,9 +1,7 @@
import { defineStore } from 'pinia'
import { DICT_DATA } from '@/stores/constant/cacheKey'
import type { DictData, BasicDictData } from '@/stores/interface/index'
import type { DictData } from '@/stores/interface/index'
import { reactive } from 'vue'
import { ITEM_RENDER_EVT } from 'element-plus/es/components/virtual-list/src/defaults'
import { log } from 'console'
export const useDictData = defineStore(
'dictData',
@@ -28,10 +26,20 @@ export const useDictData = defineStore(
return list.length == 0 ? state.areaTree : list
}
const statusSelect = () => {
return [
{ name: '审批中', id: 1 },
{ name: '审批通过', id: 2 },
{ name: '审批不通过', id: 3 },
{ name: '已取消', id: 4 }
]
}
return {
state,
getBasicData,
areaSelect
areaSelect,
statusSelect
}
},
{