This commit is contained in:
zk
2023-12-14 09:23:58 +08:00
parent 825d10fc35
commit d614f10bb5
25 changed files with 826 additions and 558 deletions
@@ -69,6 +69,12 @@ export function useTimeType(t) {
}
export function useFooterTable() {
const isShowAlarm = ref(false)
function setIsShowAlarm(type: boolean) {
isShowAlarm.value = type
}
const footerList = ref([
{
name: '单位名称',
@@ -121,7 +127,9 @@ export function useFooterTable() {
return {
footerList,
setFooterList
setFooterList,
setIsShowAlarm,
isShowAlarm
}
}
@@ -140,4 +148,34 @@ export function useMoveClass() {
setIsShow
}
}
export function useTree() {
const treeOption = [
{
value: 'Chinese delicious food',
label: '中国美食',
children: [
{
value: 'key3',
label: '月饼',
},
],
},
{
value: 'Russia delicious food',
label: '俄罗斯美食',
children: [
{
value: 'key6',
label: '红肠',
},
],
},
]
const orgCode = ref([])
return {
orgCode,
treeOption
}
}