update
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user