Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
D
devicesManagement
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
devicesManagement
提交
9fcda0bb
提交
9fcda0bb
编写于
4月 10, 2025
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
save
上级
87c8b719
流水线
#34381
已通过 ,包含阶段
in 4 minute 和 56 second
变更
66
流水线
1
显示空白字符变更
内嵌
并排
正在显示
66 个修改的文件
包含
4932 行增加
和
16 行删除
+4932
-16
.gitlab-ci.yml
.gitlab-ci.yml
+3
-3
index_20250403165332.vue
...tory/src/pages/test/layout/admin/index_20250403165332.vue
+48
-0
index_20250403170632.vue
...tory/src/pages/test/layout/admin/index_20250403170632.vue
+36
-0
index_20250403170641.vue
...tory/src/pages/test/layout/admin/index_20250403170641.vue
+36
-0
index_20250403163700.vue
.history/src/pages/test/layout/user/index_20250403163700.vue
+0
-0
index_20250403165008.vue
.history/src/pages/test/layout/user/index_20250403165008.vue
+40
-0
index_20250403165225.vue
.history/src/pages/test/layout/user/index_20250403165225.vue
+51
-0
index_20250403170510.vue
.history/src/pages/test/layout/user/index_20250403170510.vue
+47
-0
index_20250403170517.vue
.history/src/pages/test/layout/user/index_20250403170517.vue
+49
-0
index_20250403170531.vue
.history/src/pages/test/layout/user/index_20250403170531.vue
+48
-0
index_20250410110745.vue
.history/src/pages/test/layout/user/index_20250410110745.vue
+343
-0
index_20250410110907.vue
.history/src/pages/test/layout/user/index_20250410110907.vue
+343
-0
index_20250410111022.vue
.history/src/pages/test/layout/user/index_20250410111022.vue
+343
-0
index_20250410111046.vue
.history/src/pages/test/layout/user/index_20250410111046.vue
+343
-0
index_20250410111110.vue
.history/src/pages/test/layout/user/index_20250410111110.vue
+343
-0
userContent1_20250403165331.vue
...rc/pages/test/layout/user/userContent1_20250403165331.vue
+48
-0
userContent1_20250403170233.vue
...rc/pages/test/layout/user/userContent1_20250403170233.vue
+49
-0
userContent1_20250403170235.vue
...rc/pages/test/layout/user/userContent1_20250403170235.vue
+40
-0
userContent1_20250403170302.vue
...rc/pages/test/layout/user/userContent1_20250403170302.vue
+41
-0
userContent1_20250403170331.vue
...rc/pages/test/layout/user/userContent1_20250403170331.vue
+41
-0
userContent1_20250403170351.vue
...rc/pages/test/layout/user/userContent1_20250403170351.vue
+39
-0
userContent1_20250403170358.vue
...rc/pages/test/layout/user/userContent1_20250403170358.vue
+37
-0
userContent1_20250403170404.vue
...rc/pages/test/layout/user/userContent1_20250403170404.vue
+36
-0
userContent1_20250403170409.vue
...rc/pages/test/layout/user/userContent1_20250403170409.vue
+36
-0
userContent1_20250403170410.vue
...rc/pages/test/layout/user/userContent1_20250403170410.vue
+36
-0
userContent1_20250403170447.vue
...rc/pages/test/layout/user/userContent1_20250403170447.vue
+36
-0
userContent1_20250403170450.vue
...rc/pages/test/layout/user/userContent1_20250403170450.vue
+36
-0
userContent1_20250403170456.vue
...rc/pages/test/layout/user/userContent1_20250403170456.vue
+37
-0
userContent1_20250403170510.vue
...rc/pages/test/layout/user/userContent1_20250403170510.vue
+34
-0
userContent1_20250403170517.vue
...rc/pages/test/layout/user/userContent1_20250403170517.vue
+35
-0
userContent2_20250403165338.vue
...rc/pages/test/layout/user/userContent2_20250403165338.vue
+48
-0
userContent2_20250403170608.vue
...rc/pages/test/layout/user/userContent2_20250403170608.vue
+45
-0
userContent2_20250403170609.vue
...rc/pages/test/layout/user/userContent2_20250403170609.vue
+48
-0
index_20241104215756.js
.history/src/router/index_20241104215756.js
+27
-0
index_20250403163542.js
.history/src/router/index_20250403163542.js
+35
-0
index_20250403163608.js
.history/src/router/index_20250403163608.js
+35
-0
index_20250403163852.js
.history/src/router/index_20250403163852.js
+35
-0
index_20250403163859.js
.history/src/router/index_20250403163859.js
+35
-0
index_20250403163906.js
.history/src/router/index_20250403163906.js
+41
-0
index_20250403163915.js
.history/src/router/index_20250403163915.js
+41
-0
index_20250403163930.js
.history/src/router/index_20250403163930.js
+41
-0
index_20250403164047.js
.history/src/router/index_20250403164047.js
+41
-0
index_20250403164104.js
.history/src/router/index_20250403164104.js
+41
-0
index_20250403164117.js
.history/src/router/index_20250403164117.js
+41
-0
index_20250403164137.js
.history/src/router/index_20250403164137.js
+41
-0
index_20250403164140.js
.history/src/router/index_20250403164140.js
+41
-0
index_20250403164154.js
.history/src/router/index_20250403164154.js
+49
-0
index_20250403164320.js
.history/src/router/index_20250403164320.js
+49
-0
index_20250403164330.js
.history/src/router/index_20250403164330.js
+49
-0
index_20250403164353.js
.history/src/router/index_20250403164353.js
+55
-0
index_20250403165051.js
.history/src/router/index_20250403165051.js
+56
-0
index_20250403165106.js
.history/src/router/index_20250403165106.js
+57
-0
index_20250403165108.js
.history/src/router/index_20250403165108.js
+56
-0
index_20250403165139.js
.history/src/router/index_20250403165139.js
+56
-0
index_20250403165232.js
.history/src/router/index_20250403165232.js
+56
-0
index_20250403165253.js
.history/src/router/index_20250403165253.js
+55
-0
index_20250403165912.js
.history/src/router/index_20250403165912.js
+55
-0
App.vue
src/App.vue
+3
-2
userHeader.vue
src/components/userHeader.vue
+8
-7
adminContent1.vue
src/pages/test/layout/admin/adminContent1.vue
+359
-0
adminContent2.vue
src/pages/test/layout/admin/adminContent2.vue
+237
-0
index.vue
src/pages/test/layout/admin/index.vue
+49
-0
index.vue
src/pages/test/layout/user/index.vue
+359
-0
index.js
src/router/index.js
+32
-3
stateImages.js
src/static/icon/stateImages.js
+2
-1
colBg.png
src/static/occupyingASeat/colBg.png
+0
-0
未找到文件。
.gitlab-ci.yml
浏览文件 @
9fcda0bb
...
...
@@ -8,7 +8,7 @@ stages:
build
:
stage
:
publish
script
:
# - remove-item -Force -Recurse D:\ASC_web\A00051\occupancyManagement\wx1
*
-
xcopy "dist" "D:\ASC_web\A00051\
occupancy
Management\wx\" /s/e/y/
-
remove-item -Force -Recurse D:/ASC_web/A00051/devicesManagement/wx
*
-
xcopy "dist" "D:\ASC_web\A00051\
devices
Management\wx\" /s/e/y/
only
:
-
wx
\ No newline at end of file
.history/src/pages/test/layout/admin/index_20250403165332.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<div
class=
"content"
>
<router-view></router-view>
</div>
<div
class=
"tabbar"
>
<!-- 使用vant4的Tabbar组件 -->
<van-tabbar
v-model=
"active"
>
<van-tabbar-item
icon=
"home-o"
to=
"/userContent1"
>
首页
</van-tabbar-item>
<van-tabbar-item
icon=
"search"
to=
"/userContent2"
>
搜索
</van-tabbar-item>
</van-tabbar>
</div>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
display
:
flex
;
flex-direction
:
column
;
height
:
100vh
;
}
.content
{
flex
:
1
;
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/admin/index_20250403170632.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<h1
class=
"title"
>
用户中心
</h1>
<p
class=
"description"
>
在这里管理您的个人信息和活动
</p>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
/* 容器的大小是100vh - 64px */
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
\ No newline at end of file
.history/src/pages/test/layout/admin/index_20250403170641.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<h1
class=
"title"
>
用户中心
</h1>
<p
class=
"description"
>
在这里管理您的个人信息和活动
</p>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
/* 容器的大小是100vh - 64px */
height
:
100vh
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
\ No newline at end of file
.history/src/pages/test/layout/user/index_20250403163700.vue
0 → 100644
浏览文件 @
9fcda0bb
.history/src/pages/test/layout/user/index_20250403165008.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<div
class=
"content"
>
<router-view></router-view>
</div>
<div
class=
"tabbar"
>
<!-- 这里可以添加你的tabbar组件 -->
<view-ui-tabbar></view-ui-tabbar>
</div>
</div>
</
template
>
<
script
>
import
ViewUiTabbar
from
'
@/components/common/ViewUiTabbar.vue
'
;
export
default
{
name
:
'
UserLayout
'
,
components
:
{
ViewUiTabbar
,
},
};
</
script
>
<
style
scoped
>
.user-layout
{
display
:
flex
;
flex-direction
:
column
;
height
:
100vh
;
}
.content
{
flex
:
1
;
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/index_20250403165225.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<div
class=
"content"
>
<router-view></router-view>
</div>
<div
class=
"tabbar"
>
<!-- 使用vant4的Tabbar组件 -->
<van-tabbar
v-model=
"active"
>
<van-tabbar-item
icon=
"home-o"
to=
"/userContent1"
>
首页
</van-tabbar-item>
<van-tabbar-item
icon=
"search"
to=
"/userContent2"
>
搜索
</van-tabbar-item>
</van-tabbar>
</div>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
components
:
{
[
Tabbar
.
name
]:
Tabbar
,
[
TabbarItem
.
name
]:
TabbarItem
,
},
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
display
:
flex
;
flex-direction
:
column
;
height
:
100vh
;
}
.content
{
flex
:
1
;
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/index_20250403170510.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<div
class=
"content"
>
<router-view></router-view>
</div>
<div
class=
"tabbar"
>
<!-- 使用vant4的Tabbar组件 -->
<van-tabbar
v-model=
"active"
>
<van-tabbar-item
icon=
"home-o"
to=
"/userContent1"
>
首页
</van-tabbar-item>
<van-tabbar-item
icon=
"search"
to=
"/userContent2"
>
搜索
</van-tabbar-item>
</van-tabbar>
</div>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
}
.content
{
flex
:
1
;
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/index_20250403170517.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<div
class=
"content"
>
<router-view></router-view>
</div>
<div
class=
"tabbar"
>
<!-- 使用vant4的Tabbar组件 -->
<van-tabbar
v-model=
"active"
>
<van-tabbar-item
icon=
"home-o"
to=
"/userContent1"
>
首页
</van-tabbar-item>
<van-tabbar-item
icon=
"search"
to=
"/userContent2"
>
搜索
</van-tabbar-item>
</van-tabbar>
</div>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
width
:
100%
;
height
:
calc
(
100
v
-
50px
);
overflow
:
auto
;
}
.content
{
flex
:
1
;
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/index_20250403170531.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<div
class=
"content"
>
<router-view></router-view>
</div>
<div
class=
"tabbar"
>
<!-- 使用vant4的Tabbar组件 -->
<van-tabbar
v-model=
"active"
>
<van-tabbar-item
icon=
"home-o"
to=
"/userContent1"
>
首页
</van-tabbar-item>
<van-tabbar-item
icon=
"search"
to=
"/userContent2"
>
搜索
</van-tabbar-item>
</van-tabbar>
</div>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
width
:
100%
;
height
:
calc
(
100
v
-
50px
);
overflow
:
auto
;
}
.content
{
flex
:
1
;
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/index_20250410110745.vue
0 → 100644
浏览文件 @
9fcda0bb
<
script
setup
>
import
wx
from
"
weixin-js-sdk
"
;
import
{
defineAsyncComponent
,
getCurrentInstance
,
inject
,
ref
,
watch
,
onMounted
,
computed
,
nextTick
,
reactive
,
onUnmounted
}
from
"
vue
"
import
{
useRouter
}
from
"
vue-router
"
;
import
*
as
hooks
from
"
@/hooks/index.js
"
;
import
*
as
api
from
"
@/api/dist/controller/index.js
"
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
import
CommonDataRequest
from
"
@/api/commonDataRequest/index.js
"
;
const
userInfo
=
useUserInfo
()
const
user
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/user.vue
'
))
const
admin
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/admin.vue
'
))
const
adminNoGoodRecord
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/adminNoGoodRecord.vue
'
))
const
asc
=
getCurrentInstance
().
appContext
.
config
.
globalProperties
;
const
router
=
useRouter
()
const
active
=
ref
(
0
);
const
show
=
ref
(
false
)
const
init
=
reactive
({
role
:
userInfo
.
userInfo
.
role
,
channel
:
{},
active
:
0
,
columns
:
[],
placeTypeName
:
[],
flow
:
{
array
:
[]
},
count
:
{}
})
onMounted
(()
=>
{
document
.
title
=
'
主页
'
})
const
onSubmit
=
(
values
)
=>
{
console
.
log
(
'
submit
'
,
values
);
};
const
getImage
=
(
imageKey
)
=>
{
return
asc
.
hooks
.
getImage
(
imageKey
)
}
const
tabChange
=
(
e
)
=>
{
asc
.
tabChange
(
e
)
}
const
backAscHome
=
inject
(
'
backAscHome
'
)
const
gotoPath
=
(
path
)
=>
{
hooks
.
go2Router
(
path
)
}
const
close
=
()
=>
show
.
value
=
false
const
back
=
()
=>
{
//返回asc 主界面
backAscHome
()
}
function
getTabBarIndex
(
index
)
{
//获取地址tabBar的index
init
.
active
=
index
}
function
getCurRole
(
role
)
{
//获取当前权限
init
.
role
=
role
}
//栏目入口
function
handleInterview
(
key
)
{
const
strategy
=
{
'
individualBooking
'
:
()
=>
{
//散客预约
router
.
push
({
name
:
'
welcome
'
,
})
},
'
teamAppointmentNoApproved
'
:
()
=>
{
//团队未审批
router
.
push
({
name
:
'
teamAppointment-noApproval
'
,
})
},
'
teamAppointmentApproved
'
:
()
=>
{
//团队已审批
router
.
push
({
name
:
'
teamAppointment-approval
'
,
})
},
'
teamAppointment-allDataRecord
'
:
()
=>
{
//所有团队预约记录
router
.
push
({
name
:
'
teamAppointment-allDataRecord
'
,
})
},
'
officialAppointmentsHaveBeenNoApproved
'
:
()
=>
{
//公务未审批
router
.
push
({
name
:
'
officialAppointment-noApproval
'
,
})
},
'
officialAppointmentsHaveBeenApproved
'
:
()
=>
{
//公务已审批
router
.
push
({
name
:
'
officialAppointment-approval
'
,
})
},
}
strategy
[
key
]()
}
</
script
>
<
template
>
<!-- user-->
<div
class=
"container1 flex"
>
<div
class=
"header flex justify-center content-start flex-wrap "
>
<!--头部-->
<div
class=
"mb-3 w-full"
>
<userHeader
@
getCurRole=
"getCurRole"
></userHeader>
</div>
<!--栏目背景-->
<div
class=
"w-full h-[128px] py-2 relative"
>
<van-image
width=
"100%"
height=
"100%"
:src=
"hooks.getImage('colBg2')"
></van-image>
<div
class=
"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"
>
<span
class=
"text-2xl font-bold text-white"
>
设备管理
</span>
</div>
</div>
<!--栏目-->
<div
class=
"w-full h-[calc(100%-258px)] "
>
<div>
<div
class=
"list"
>
<p
class=
"w-full h-[40] list-item-font"
>
散客预约
</p>
<!-- 面试结果 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('individualBooking')"
is-link
>
<template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
查看预约
</span>
</
template
>
</van-cell>
</div>
</div>
<div
class=
"list"
>
<p
class=
"w-full h-[40] list-item-font"
>
团队预约
</p>
<!-- 面试结果 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointment-allDataRecord')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
查看预约
</span>
</
template
>
</van-cell>
</div>
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointmentNoApproved')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
待审批
</span>
</
template
>
</van-cell>
</div>
<!-- 转专业 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointmentApproved')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
已审批
</span>
</
template
>
</van-cell>
</div>
</div>
</div>
</div>
<!-- 版本号 -->
<!-- version -->
<div
class=
"w-[96%] ccFlex mt-10 p-3 h-3 text-center"
style=
"color: #b0b0b0;font-size: 10px"
>
Build 1.0.0 - 250116 1.0.1
</div>
</div>
</div>
</template>
<
style
scoped
>
.currentAppointment
{
background-image
:
url("@/static/occupyingASeat/bg.png")
;
background-size
:
cover
;
}
.aaa
{
background-image
:
url("@/static/icon/changlanse.png")
;
background-size
:
cover
;
}
.bbb
{
background-image
:
url("@/static/icon/1.png")
;
background-size
:
cover
;
}
.child
{
width
:
40px
;
height
:
40px
;
background
:
#f2f3f5
;
border-radius
:
12px
;
}
>
>
>
.van-cell-group--inset
{
margin
:
0
;
border-radius
:
var
(
--van-cell-group-inset-radius
);
overflow
:
hidden
;
}
>
>
>
.van-tabbar
{
z-index
:
var
(
--van-tabbar-z-index
);
display
:
flex
;
box-sizing
:
content-box
;
width
:
100%
;
height
:
80px
;
background
:
var
(
--van-tabbar-background
);
}
</
style
>
<
style
lang=
"less"
scoped
>
/deep/ .van-tabs__wrap {
overflow: hidden;
border-radius: 8px;
}
.list {
/deep/ &-item {
margin: 16px 0;
border-radius: 12px;
overflow: hidden;
&-font {
font-size: 20px;
font-family: 黑体;
font-weight: 600;
color: rgba(0, 0, 0, .6);
}
}
/deep/ .van-cell {
line-height: 48px;
display: flex;
align-items: center;
.image {
width: 25px;
height: 25px;
}
.van-cell__title {
display: flex;
align-items: center;
.custom-title {
font-size: 16px;
padding-left: 10px;
}
}
.van-cell__value {
font-size: 16px;
}
&::after {
content: none;
}
}
.van-cell .van-cell__value {
font-size: 18px;
color: #3488ff;
}
}
.wrapper {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.block {
width: 120px;
height: 120px;
background-color: #fff;
}
</
style
>
\ No newline at end of file
.history/src/pages/test/layout/user/index_20250410110907.vue
0 → 100644
浏览文件 @
9fcda0bb
<
script
setup
>
import
wx
from
"
weixin-js-sdk
"
;
import
{
defineAsyncComponent
,
getCurrentInstance
,
inject
,
ref
,
watch
,
onMounted
,
computed
,
nextTick
,
reactive
,
onUnmounted
}
from
"
vue
"
import
{
useRouter
}
from
"
vue-router
"
;
import
*
as
hooks
from
"
@/hooks/index.js
"
;
import
*
as
api
from
"
@/api/dist/controller/index.js
"
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
import
CommonDataRequest
from
"
@/api/commonDataRequest/index.js
"
;
const
userInfo
=
useUserInfo
()
const
user
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/user.vue
'
))
const
admin
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/admin.vue
'
))
const
adminNoGoodRecord
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/adminNoGoodRecord.vue
'
))
const
asc
=
getCurrentInstance
().
appContext
.
config
.
globalProperties
;
const
router
=
useRouter
()
const
active
=
ref
(
0
);
const
show
=
ref
(
false
)
const
init
=
reactive
({
role
:
userInfo
.
userInfo
.
role
,
channel
:
{},
active
:
0
,
columns
:
[],
placeTypeName
:
[],
flow
:
{
array
:
[]
},
count
:
{}
})
onMounted
(()
=>
{
document
.
title
=
'
主页
'
})
const
onSubmit
=
(
values
)
=>
{
console
.
log
(
'
submit
'
,
values
);
};
const
getImage
=
(
imageKey
)
=>
{
return
asc
.
hooks
.
getImage
(
imageKey
)
}
const
tabChange
=
(
e
)
=>
{
asc
.
tabChange
(
e
)
}
const
backAscHome
=
inject
(
'
backAscHome
'
)
const
gotoPath
=
(
path
)
=>
{
hooks
.
go2Router
(
path
)
}
const
close
=
()
=>
show
.
value
=
false
const
back
=
()
=>
{
//返回asc 主界面
backAscHome
()
}
function
getTabBarIndex
(
index
)
{
//获取地址tabBar的index
init
.
active
=
index
}
function
getCurRole
(
role
)
{
//获取当前权限
init
.
role
=
role
}
//栏目入口
function
handleInterview
(
key
)
{
const
strategy
=
{
'
individualBooking
'
:
()
=>
{
//散客预约
router
.
push
({
name
:
'
welcome
'
,
})
},
'
teamAppointmentNoApproved
'
:
()
=>
{
//团队未审批
router
.
push
({
name
:
'
teamAppointment-noApproval
'
,
})
},
'
teamAppointmentApproved
'
:
()
=>
{
//团队已审批
router
.
push
({
name
:
'
teamAppointment-approval
'
,
})
},
'
teamAppointment-allDataRecord
'
:
()
=>
{
//所有团队预约记录
router
.
push
({
name
:
'
teamAppointment-allDataRecord
'
,
})
},
'
officialAppointmentsHaveBeenNoApproved
'
:
()
=>
{
//公务未审批
router
.
push
({
name
:
'
officialAppointment-noApproval
'
,
})
},
'
officialAppointmentsHaveBeenApproved
'
:
()
=>
{
//公务已审批
router
.
push
({
name
:
'
officialAppointment-approval
'
,
})
},
}
strategy
[
key
]()
}
</
script
>
<
template
>
<!-- user-->
<div
class=
"container1 flex"
>
<div
class=
"header flex justify-center content-start flex-wrap "
>
<!--头部-->
<div
class=
"mb-3 w-full"
>
<userHeader
@
getCurRole=
"getCurRole"
></userHeader>
</div>
<!--栏目背景-->
<div
class=
"w-full h-[128px] py-2 relative"
>
<van-image
width=
"100%"
height=
"100%"
:src=
"hooks.getImage('colBg2')"
></van-image>
<div
class=
"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"
>
<span
class=
"text-2xl font-bold text-white italic"
style=
"font-family: 'Microsoft YaHei', sans-serif;"
>
设备管理
</span>
</div>
</div>
<!--栏目-->
<div
class=
"w-full h-[calc(100%-258px)] "
>
<div>
<div
class=
"list"
>
<p
class=
"w-full h-[40] list-item-font"
>
散客预约
</p>
<!-- 面试结果 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('individualBooking')"
is-link
>
<template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
查看预约
</span>
</
template
>
</van-cell>
</div>
</div>
<div
class=
"list"
>
<p
class=
"w-full h-[40] list-item-font"
>
团队预约
</p>
<!-- 面试结果 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointment-allDataRecord')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
查看预约
</span>
</
template
>
</van-cell>
</div>
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointmentNoApproved')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
待审批
</span>
</
template
>
</van-cell>
</div>
<!-- 转专业 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointmentApproved')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
已审批
</span>
</
template
>
</van-cell>
</div>
</div>
</div>
</div>
<!-- 版本号 -->
<!-- version -->
<div
class=
"w-[96%] ccFlex mt-10 p-3 h-3 text-center"
style=
"color: #b0b0b0;font-size: 10px"
>
Build 1.0.0 - 250116 1.0.1
</div>
</div>
</div>
</template>
<
style
scoped
>
.currentAppointment
{
background-image
:
url("@/static/occupyingASeat/bg.png")
;
background-size
:
cover
;
}
.aaa
{
background-image
:
url("@/static/icon/changlanse.png")
;
background-size
:
cover
;
}
.bbb
{
background-image
:
url("@/static/icon/1.png")
;
background-size
:
cover
;
}
.child
{
width
:
40px
;
height
:
40px
;
background
:
#f2f3f5
;
border-radius
:
12px
;
}
>
>
>
.van-cell-group--inset
{
margin
:
0
;
border-radius
:
var
(
--van-cell-group-inset-radius
);
overflow
:
hidden
;
}
>
>
>
.van-tabbar
{
z-index
:
var
(
--van-tabbar-z-index
);
display
:
flex
;
box-sizing
:
content-box
;
width
:
100%
;
height
:
80px
;
background
:
var
(
--van-tabbar-background
);
}
</
style
>
<
style
lang=
"less"
scoped
>
/deep/ .van-tabs__wrap {
overflow: hidden;
border-radius: 8px;
}
.list {
/deep/ &-item {
margin: 16px 0;
border-radius: 12px;
overflow: hidden;
&-font {
font-size: 20px;
font-family: 黑体;
font-weight: 600;
color: rgba(0, 0, 0, .6);
}
}
/deep/ .van-cell {
line-height: 48px;
display: flex;
align-items: center;
.image {
width: 25px;
height: 25px;
}
.van-cell__title {
display: flex;
align-items: center;
.custom-title {
font-size: 16px;
padding-left: 10px;
}
}
.van-cell__value {
font-size: 16px;
}
&::after {
content: none;
}
}
.van-cell .van-cell__value {
font-size: 18px;
color: #3488ff;
}
}
.wrapper {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.block {
width: 120px;
height: 120px;
background-color: #fff;
}
</
style
>
\ No newline at end of file
.history/src/pages/test/layout/user/index_20250410111022.vue
0 → 100644
浏览文件 @
9fcda0bb
<
script
setup
>
import
wx
from
"
weixin-js-sdk
"
;
import
{
defineAsyncComponent
,
getCurrentInstance
,
inject
,
ref
,
watch
,
onMounted
,
computed
,
nextTick
,
reactive
,
onUnmounted
}
from
"
vue
"
import
{
useRouter
}
from
"
vue-router
"
;
import
*
as
hooks
from
"
@/hooks/index.js
"
;
import
*
as
api
from
"
@/api/dist/controller/index.js
"
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
import
CommonDataRequest
from
"
@/api/commonDataRequest/index.js
"
;
const
userInfo
=
useUserInfo
()
const
user
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/user.vue
'
))
const
admin
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/admin.vue
'
))
const
adminNoGoodRecord
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/adminNoGoodRecord.vue
'
))
const
asc
=
getCurrentInstance
().
appContext
.
config
.
globalProperties
;
const
router
=
useRouter
()
const
active
=
ref
(
0
);
const
show
=
ref
(
false
)
const
init
=
reactive
({
role
:
userInfo
.
userInfo
.
role
,
channel
:
{},
active
:
0
,
columns
:
[],
placeTypeName
:
[],
flow
:
{
array
:
[]
},
count
:
{}
})
onMounted
(()
=>
{
document
.
title
=
'
主页
'
})
const
onSubmit
=
(
values
)
=>
{
console
.
log
(
'
submit
'
,
values
);
};
const
getImage
=
(
imageKey
)
=>
{
return
asc
.
hooks
.
getImage
(
imageKey
)
}
const
tabChange
=
(
e
)
=>
{
asc
.
tabChange
(
e
)
}
const
backAscHome
=
inject
(
'
backAscHome
'
)
const
gotoPath
=
(
path
)
=>
{
hooks
.
go2Router
(
path
)
}
const
close
=
()
=>
show
.
value
=
false
const
back
=
()
=>
{
//返回asc 主界面
backAscHome
()
}
function
getTabBarIndex
(
index
)
{
//获取地址tabBar的index
init
.
active
=
index
}
function
getCurRole
(
role
)
{
//获取当前权限
init
.
role
=
role
}
//栏目入口
function
handleInterview
(
key
)
{
const
strategy
=
{
'
individualBooking
'
:
()
=>
{
//散客预约
router
.
push
({
name
:
'
welcome
'
,
})
},
'
teamAppointmentNoApproved
'
:
()
=>
{
//团队未审批
router
.
push
({
name
:
'
teamAppointment-noApproval
'
,
})
},
'
teamAppointmentApproved
'
:
()
=>
{
//团队已审批
router
.
push
({
name
:
'
teamAppointment-approval
'
,
})
},
'
teamAppointment-allDataRecord
'
:
()
=>
{
//所有团队预约记录
router
.
push
({
name
:
'
teamAppointment-allDataRecord
'
,
})
},
'
officialAppointmentsHaveBeenNoApproved
'
:
()
=>
{
//公务未审批
router
.
push
({
name
:
'
officialAppointment-noApproval
'
,
})
},
'
officialAppointmentsHaveBeenApproved
'
:
()
=>
{
//公务已审批
router
.
push
({
name
:
'
officialAppointment-approval
'
,
})
},
}
strategy
[
key
]()
}
</
script
>
<
template
>
<!-- user-->
<div
class=
"container1 flex"
>
<div
class=
"header flex justify-center content-start flex-wrap "
>
<!--头部-->
<div
class=
"mb-3 w-full"
>
<userHeader
@
getCurRole=
"getCurRole"
></userHeader>
</div>
<!--栏目背景-->
<div
class=
"w-full h-[128px] py-2 relative"
>
<van-image
width=
"100%"
height=
"100%"
:src=
"hooks.getImage('colBg2')"
></van-image>
<div
class=
"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"
>
<span
class=
"text-4xl font-bold text-white italic"
style=
"font-family: 'Microsoft YaHei', sans-serif;"
>
设备管理
</span>
</div>
</div>
<!--栏目-->
<div
class=
"w-full h-[calc(100%-258px)] "
>
<div>
<div
class=
"list"
>
<p
class=
"w-full h-[40] list-item-font"
>
散客预约
</p>
<!-- 面试结果 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('individualBooking')"
is-link
>
<template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
查看预约
</span>
</
template
>
</van-cell>
</div>
</div>
<div
class=
"list"
>
<p
class=
"w-full h-[40] list-item-font"
>
团队预约
</p>
<!-- 面试结果 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointment-allDataRecord')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
查看预约
</span>
</
template
>
</van-cell>
</div>
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointmentNoApproved')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
待审批
</span>
</
template
>
</van-cell>
</div>
<!-- 转专业 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointmentApproved')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
已审批
</span>
</
template
>
</van-cell>
</div>
</div>
</div>
</div>
<!-- 版本号 -->
<!-- version -->
<div
class=
"w-[96%] ccFlex mt-10 p-3 h-3 text-center"
style=
"color: #b0b0b0;font-size: 10px"
>
Build 1.0.0 - 250116 1.0.1
</div>
</div>
</div>
</template>
<
style
scoped
>
.currentAppointment
{
background-image
:
url("@/static/occupyingASeat/bg.png")
;
background-size
:
cover
;
}
.aaa
{
background-image
:
url("@/static/icon/changlanse.png")
;
background-size
:
cover
;
}
.bbb
{
background-image
:
url("@/static/icon/1.png")
;
background-size
:
cover
;
}
.child
{
width
:
40px
;
height
:
40px
;
background
:
#f2f3f5
;
border-radius
:
12px
;
}
>
>
>
.van-cell-group--inset
{
margin
:
0
;
border-radius
:
var
(
--van-cell-group-inset-radius
);
overflow
:
hidden
;
}
>
>
>
.van-tabbar
{
z-index
:
var
(
--van-tabbar-z-index
);
display
:
flex
;
box-sizing
:
content-box
;
width
:
100%
;
height
:
80px
;
background
:
var
(
--van-tabbar-background
);
}
</
style
>
<
style
lang=
"less"
scoped
>
/deep/ .van-tabs__wrap {
overflow: hidden;
border-radius: 8px;
}
.list {
/deep/ &-item {
margin: 16px 0;
border-radius: 12px;
overflow: hidden;
&-font {
font-size: 20px;
font-family: 黑体;
font-weight: 600;
color: rgba(0, 0, 0, .6);
}
}
/deep/ .van-cell {
line-height: 48px;
display: flex;
align-items: center;
.image {
width: 25px;
height: 25px;
}
.van-cell__title {
display: flex;
align-items: center;
.custom-title {
font-size: 16px;
padding-left: 10px;
}
}
.van-cell__value {
font-size: 16px;
}
&::after {
content: none;
}
}
.van-cell .van-cell__value {
font-size: 18px;
color: #3488ff;
}
}
.wrapper {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.block {
width: 120px;
height: 120px;
background-color: #fff;
}
</
style
>
\ No newline at end of file
.history/src/pages/test/layout/user/index_20250410111046.vue
0 → 100644
浏览文件 @
9fcda0bb
<
script
setup
>
import
wx
from
"
weixin-js-sdk
"
;
import
{
defineAsyncComponent
,
getCurrentInstance
,
inject
,
ref
,
watch
,
onMounted
,
computed
,
nextTick
,
reactive
,
onUnmounted
}
from
"
vue
"
import
{
useRouter
}
from
"
vue-router
"
;
import
*
as
hooks
from
"
@/hooks/index.js
"
;
import
*
as
api
from
"
@/api/dist/controller/index.js
"
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
import
CommonDataRequest
from
"
@/api/commonDataRequest/index.js
"
;
const
userInfo
=
useUserInfo
()
const
user
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/user.vue
'
))
const
admin
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/admin.vue
'
))
const
adminNoGoodRecord
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/adminNoGoodRecord.vue
'
))
const
asc
=
getCurrentInstance
().
appContext
.
config
.
globalProperties
;
const
router
=
useRouter
()
const
active
=
ref
(
0
);
const
show
=
ref
(
false
)
const
init
=
reactive
({
role
:
userInfo
.
userInfo
.
role
,
channel
:
{},
active
:
0
,
columns
:
[],
placeTypeName
:
[],
flow
:
{
array
:
[]
},
count
:
{}
})
onMounted
(()
=>
{
document
.
title
=
'
主页
'
})
const
onSubmit
=
(
values
)
=>
{
console
.
log
(
'
submit
'
,
values
);
};
const
getImage
=
(
imageKey
)
=>
{
return
asc
.
hooks
.
getImage
(
imageKey
)
}
const
tabChange
=
(
e
)
=>
{
asc
.
tabChange
(
e
)
}
const
backAscHome
=
inject
(
'
backAscHome
'
)
const
gotoPath
=
(
path
)
=>
{
hooks
.
go2Router
(
path
)
}
const
close
=
()
=>
show
.
value
=
false
const
back
=
()
=>
{
//返回asc 主界面
backAscHome
()
}
function
getTabBarIndex
(
index
)
{
//获取地址tabBar的index
init
.
active
=
index
}
function
getCurRole
(
role
)
{
//获取当前权限
init
.
role
=
role
}
//栏目入口
function
handleInterview
(
key
)
{
const
strategy
=
{
'
individualBooking
'
:
()
=>
{
//散客预约
router
.
push
({
name
:
'
welcome
'
,
})
},
'
teamAppointmentNoApproved
'
:
()
=>
{
//团队未审批
router
.
push
({
name
:
'
teamAppointment-noApproval
'
,
})
},
'
teamAppointmentApproved
'
:
()
=>
{
//团队已审批
router
.
push
({
name
:
'
teamAppointment-approval
'
,
})
},
'
teamAppointment-allDataRecord
'
:
()
=>
{
//所有团队预约记录
router
.
push
({
name
:
'
teamAppointment-allDataRecord
'
,
})
},
'
officialAppointmentsHaveBeenNoApproved
'
:
()
=>
{
//公务未审批
router
.
push
({
name
:
'
officialAppointment-noApproval
'
,
})
},
'
officialAppointmentsHaveBeenApproved
'
:
()
=>
{
//公务已审批
router
.
push
({
name
:
'
officialAppointment-approval
'
,
})
},
}
strategy
[
key
]()
}
</
script
>
<
template
>
<!-- user-->
<div
class=
"container1 flex"
>
<div
class=
"header flex justify-center content-start flex-wrap "
>
<!--头部-->
<div
class=
"mb-3 w-full"
>
<userHeader
@
getCurRole=
"getCurRole"
></userHeader>
</div>
<!--栏目背景-->
<div
class=
"w-full h-[128px] py-2 relative"
>
<van-image
width=
"100%"
height=
"100%"
:src=
"hooks.getImage('colBg2')"
></van-image>
<div
class=
"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"
>
<span
class=
"text-3xl font-bold text-white italic"
style=
"font-family: 'Microsoft YaHei', sans-serif;"
>
设备管理
</span>
</div>
</div>
<!--栏目-->
<div
class=
"w-full h-[calc(100%-258px)] "
>
<div>
<div
class=
"list"
>
<p
class=
"w-full h-[40] list-item-font"
>
散客预约
</p>
<!-- 面试结果 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('individualBooking')"
is-link
>
<template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
查看预约
</span>
</
template
>
</van-cell>
</div>
</div>
<div
class=
"list"
>
<p
class=
"w-full h-[40] list-item-font"
>
团队预约
</p>
<!-- 面试结果 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointment-allDataRecord')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
查看预约
</span>
</
template
>
</van-cell>
</div>
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointmentNoApproved')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
待审批
</span>
</
template
>
</van-cell>
</div>
<!-- 转专业 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointmentApproved')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
已审批
</span>
</
template
>
</van-cell>
</div>
</div>
</div>
</div>
<!-- 版本号 -->
<!-- version -->
<div
class=
"w-[96%] ccFlex mt-10 p-3 h-3 text-center"
style=
"color: #b0b0b0;font-size: 10px"
>
Build 1.0.0 - 250116 1.0.1
</div>
</div>
</div>
</template>
<
style
scoped
>
.currentAppointment
{
background-image
:
url("@/static/occupyingASeat/bg.png")
;
background-size
:
cover
;
}
.aaa
{
background-image
:
url("@/static/icon/changlanse.png")
;
background-size
:
cover
;
}
.bbb
{
background-image
:
url("@/static/icon/1.png")
;
background-size
:
cover
;
}
.child
{
width
:
40px
;
height
:
40px
;
background
:
#f2f3f5
;
border-radius
:
12px
;
}
>
>
>
.van-cell-group--inset
{
margin
:
0
;
border-radius
:
var
(
--van-cell-group-inset-radius
);
overflow
:
hidden
;
}
>
>
>
.van-tabbar
{
z-index
:
var
(
--van-tabbar-z-index
);
display
:
flex
;
box-sizing
:
content-box
;
width
:
100%
;
height
:
80px
;
background
:
var
(
--van-tabbar-background
);
}
</
style
>
<
style
lang=
"less"
scoped
>
/deep/ .van-tabs__wrap {
overflow: hidden;
border-radius: 8px;
}
.list {
/deep/ &-item {
margin: 16px 0;
border-radius: 12px;
overflow: hidden;
&-font {
font-size: 20px;
font-family: 黑体;
font-weight: 600;
color: rgba(0, 0, 0, .6);
}
}
/deep/ .van-cell {
line-height: 48px;
display: flex;
align-items: center;
.image {
width: 25px;
height: 25px;
}
.van-cell__title {
display: flex;
align-items: center;
.custom-title {
font-size: 16px;
padding-left: 10px;
}
}
.van-cell__value {
font-size: 16px;
}
&::after {
content: none;
}
}
.van-cell .van-cell__value {
font-size: 18px;
color: #3488ff;
}
}
.wrapper {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.block {
width: 120px;
height: 120px;
background-color: #fff;
}
</
style
>
\ No newline at end of file
.history/src/pages/test/layout/user/index_20250410111110.vue
0 → 100644
浏览文件 @
9fcda0bb
<
script
setup
>
import
wx
from
"
weixin-js-sdk
"
;
import
{
defineAsyncComponent
,
getCurrentInstance
,
inject
,
ref
,
watch
,
onMounted
,
computed
,
nextTick
,
reactive
,
onUnmounted
}
from
"
vue
"
import
{
useRouter
}
from
"
vue-router
"
;
import
*
as
hooks
from
"
@/hooks/index.js
"
;
import
*
as
api
from
"
@/api/dist/controller/index.js
"
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
import
CommonDataRequest
from
"
@/api/commonDataRequest/index.js
"
;
const
userInfo
=
useUserInfo
()
const
user
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/user.vue
'
))
const
admin
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/admin.vue
'
))
const
adminNoGoodRecord
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/adminNoGoodRecord.vue
'
))
const
asc
=
getCurrentInstance
().
appContext
.
config
.
globalProperties
;
const
router
=
useRouter
()
const
active
=
ref
(
0
);
const
show
=
ref
(
false
)
const
init
=
reactive
({
role
:
userInfo
.
userInfo
.
role
,
channel
:
{},
active
:
0
,
columns
:
[],
placeTypeName
:
[],
flow
:
{
array
:
[]
},
count
:
{}
})
onMounted
(()
=>
{
document
.
title
=
'
主页
'
})
const
onSubmit
=
(
values
)
=>
{
console
.
log
(
'
submit
'
,
values
);
};
const
getImage
=
(
imageKey
)
=>
{
return
asc
.
hooks
.
getImage
(
imageKey
)
}
const
tabChange
=
(
e
)
=>
{
asc
.
tabChange
(
e
)
}
const
backAscHome
=
inject
(
'
backAscHome
'
)
const
gotoPath
=
(
path
)
=>
{
hooks
.
go2Router
(
path
)
}
const
close
=
()
=>
show
.
value
=
false
const
back
=
()
=>
{
//返回asc 主界面
backAscHome
()
}
function
getTabBarIndex
(
index
)
{
//获取地址tabBar的index
init
.
active
=
index
}
function
getCurRole
(
role
)
{
//获取当前权限
init
.
role
=
role
}
//栏目入口
function
handleInterview
(
key
)
{
const
strategy
=
{
'
individualBooking
'
:
()
=>
{
//散客预约
router
.
push
({
name
:
'
welcome
'
,
})
},
'
teamAppointmentNoApproved
'
:
()
=>
{
//团队未审批
router
.
push
({
name
:
'
teamAppointment-noApproval
'
,
})
},
'
teamAppointmentApproved
'
:
()
=>
{
//团队已审批
router
.
push
({
name
:
'
teamAppointment-approval
'
,
})
},
'
teamAppointment-allDataRecord
'
:
()
=>
{
//所有团队预约记录
router
.
push
({
name
:
'
teamAppointment-allDataRecord
'
,
})
},
'
officialAppointmentsHaveBeenNoApproved
'
:
()
=>
{
//公务未审批
router
.
push
({
name
:
'
officialAppointment-noApproval
'
,
})
},
'
officialAppointmentsHaveBeenApproved
'
:
()
=>
{
//公务已审批
router
.
push
({
name
:
'
officialAppointment-approval
'
,
})
},
}
strategy
[
key
]()
}
</
script
>
<
template
>
<!-- user-->
<div
class=
"container1 flex"
>
<div
class=
"header flex justify-center content-start flex-wrap "
>
<!--头部-->
<div
class=
"mb-3 w-full"
>
<userHeader
@
getCurRole=
"getCurRole"
></userHeader>
</div>
<!--栏目背景-->
<div
class=
"w-full h-[128px] py-2 relative"
>
<van-image
width=
"100%"
height=
"100%"
:src=
"hooks.getImage('colBg2')"
></van-image>
<div
class=
"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"
>
<span
class=
"text-3xl font-bold text-white italic"
style=
"font-family: 'Microsoft YaHei', sans-serif;"
>
设备管理
</span>
</div>
</div>
<!--栏目-->
<div
class=
"w-full h-[calc(100%-258px)] "
>
<div>
<div
class=
"list"
>
<p
class=
"w-full h-[40] list-item-font"
>
散客预约
</p>
<!-- 面试结果 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('individualBooking')"
is-link
>
<template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
查看预约
</span>
</
template
>
</van-cell>
</div>
</div>
<div
class=
"list"
>
<p
class=
"w-full h-[40] list-item-font"
>
团队预约
</p>
<!-- 面试结果 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointment-allDataRecord')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
查看预约
</span>
</
template
>
</van-cell>
</div>
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointmentNoApproved')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
待审批
</span>
</
template
>
</van-cell>
</div>
<!-- 转专业 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointmentApproved')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
已审批
</span>
</
template
>
</van-cell>
</div>
</div>
</div>
</div>
<!-- 版本号 -->
<!-- version -->
<div
class=
"w-[96%] ccFlex mt-10 p-3 h-3 text-center"
style=
"color: #b0b0b0;font-size: 10px"
>
Build 1.0.0 - 250116 1.0.1
</div>
</div>
</div>
</template>
<
style
scoped
>
.currentAppointment
{
background-image
:
url("@/static/occupyingASeat/bg.png")
;
background-size
:
cover
;
}
.aaa
{
background-image
:
url("@/static/icon/changlanse.png")
;
background-size
:
cover
;
}
.bbb
{
background-image
:
url("@/static/icon/1.png")
;
background-size
:
cover
;
}
.child
{
width
:
40px
;
height
:
40px
;
background
:
#f2f3f5
;
border-radius
:
12px
;
}
>
>
>
.van-cell-group--inset
{
margin
:
0
;
border-radius
:
var
(
--van-cell-group-inset-radius
);
overflow
:
hidden
;
}
>
>
>
.van-tabbar
{
z-index
:
var
(
--van-tabbar-z-index
);
display
:
flex
;
box-sizing
:
content-box
;
width
:
100%
;
height
:
80px
;
background
:
var
(
--van-tabbar-background
);
}
</
style
>
<
style
lang=
"less"
scoped
>
/deep/ .van-tabs__wrap {
overflow: hidden;
border-radius: 8px;
}
.list {
/deep/ &-item {
margin: 16px 0;
border-radius: 12px;
overflow: hidden;
&-font {
font-size: 20px;
font-family: 黑体;
font-weight: 600;
color: rgba(0, 0, 0, .6);
}
}
/deep/ .van-cell {
line-height: 48px;
display: flex;
align-items: center;
.image {
width: 25px;
height: 25px;
}
.van-cell__title {
display: flex;
align-items: center;
.custom-title {
font-size: 16px;
padding-left: 10px;
}
}
.van-cell__value {
font-size: 16px;
}
&::after {
content: none;
}
}
.van-cell .van-cell__value {
font-size: 18px;
color: #3488ff;
}
}
.wrapper {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.block {
width: 120px;
height: 120px;
background-color: #fff;
}
</
style
>
\ No newline at end of file
.history/src/pages/test/layout/user/userContent1_20250403165331.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<div
class=
"content"
>
<router-view></router-view>
</div>
<div
class=
"tabbar"
>
<!-- 使用vant4的Tabbar组件 -->
<van-tabbar
v-model=
"active"
>
<van-tabbar-item
icon=
"home-o"
to=
"/userContent1"
>
首页
</van-tabbar-item>
<van-tabbar-item
icon=
"search"
to=
"/userContent2"
>
搜索
</van-tabbar-item>
</van-tabbar>
</div>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
display
:
flex
;
flex-direction
:
column
;
height
:
100vh
;
}
.content
{
flex
:
1
;
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent1_20250403170233.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<div
class=
"content"
>
<router-view></router-view>
</div>
<div
class=
"tabbar"
>
<!-- 使用vant4的Tabbar组件 -->
<van-tabbar
v-model=
"active"
>
<van-tabbar-item
icon=
"home-o"
to=
"/userContent1"
>
首页
</van-tabbar-item>
<van-tabbar-item
icon=
"search"
to=
"/userContent2"
>
搜索
</van-tabbar-item>
</van-tabbar>
</div>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
display
:
flex
;
flex-direction
:
column
;
height
:
100vh
;
}
.content
{
/* 容器的大小是100vh - 64px */
height
:
calc
(
100vh
-
64px
);
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent1_20250403170235.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
display
:
flex
;
flex-direction
:
column
;
height
:
100vh
;
}
.content
{
/* 容器的大小是100vh - 64px */
height
:
calc
(
100vh
-
64px
);
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent1_20250403170302.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<h1
class=
"title"
>
用户中心
</h1>
<p
class=
"description"
>
在这里管理您的个人信息和活动
</p>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
display
:
flex
;
flex-direction
:
column
;
height
:
100vh
;
}
.content
{
/* 容器的大小是100vh - 64px */
height
:
calc
(
100vh
-
64px
);
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent1_20250403170331.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<h1
class=
"title"
>
用户中心
</h1>
<p
class=
"description"
>
在这里管理您的个人信息和活动
</p>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
display
:
flex
;
flex-direction
:
column
;
height
:
100vh
;
}
.content
{
/* 容器的大小是100vh - 64px */
height
:
calc
(
100vh
-
50px
);
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent1_20250403170351.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<h1
class=
"title"
>
用户中心
</h1>
<p
class=
"description"
>
在这里管理您的个人信息和活动
</p>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
/* 容器的大小是100vh - 64px */
height
:
calc
(
100vh
-
50px
);
overflow
:
auto
;
}
.content
{
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent1_20250403170358.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<h1
class=
"title"
>
用户中心
</h1>
<p
class=
"description"
>
在这里管理您的个人信息和活动
</p>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
/* 容器的大小是100vh - 64px */
height
:
calc
(
100vh
-
50px
);
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent1_20250403170404.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<h1
class=
"title"
>
用户中心
</h1>
<p
class=
"description"
>
在这里管理您的个人信息和活动
</p>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
/* 容器的大小是100vh - 64px */
height
:
calc
(
100vh
-
50px
);
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent1_20250403170409.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<h1
class=
"title"
>
用户中心
</h1>
<p
class=
"description"
>
在这里管理您的个人信息和活动
</p>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
/* 容器的大小是100vh - 64px */
height
:
calc
(
100vh
-
50px
);
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent1_20250403170410.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<h1
class=
"title"
>
用户中心
</h1>
<p
class=
"description"
>
在这里管理您的个人信息和活动
</p>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
/* 容器的大小是100vh - 64px */
height
:
calc
(
100vh
-
50px
);
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent1_20250403170447.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<h1
class=
"title"
>
用户中心
</h1>
<p
class=
"description"
>
在这里管理您的个人信息和活动
</p>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
/* 容器的大小是100vh - 64px */
height
:
calc
(
100
v
-
50px
);
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent1_20250403170450.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<h1
class=
"title"
>
用户中心
</h1>
<p
class=
"description"
>
在这里管理您的个人信息和活动
</p>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
/* 容器的大小是100vh - 64px */
height
:
calc
(
100
v
-
50px
);
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent1_20250403170456.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<h1
class=
"title"
>
用户中心
</h1>
<p
class=
"description"
>
在这里管理您的个人信息和活动
</p>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
/* 容器的大小是100vh - 64px */
width
:
100%
;
height
:
calc
(
100
v
-
50px
);
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent1_20250403170510.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<h1
class=
"title"
>
用户中心
</h1>
<p
class=
"description"
>
在这里管理您的个人信息和活动
</p>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
/* 容器的大小是100vh - 64px */
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent1_20250403170517.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<h1
class=
"title"
>
用户中心
</h1>
<p
class=
"description"
>
在这里管理您的个人信息和活动
</p>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
/* 容器的大小是100vh - 64px */
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent2_20250403165338.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<div
class=
"content"
>
<router-view></router-view>
</div>
<div
class=
"tabbar"
>
<!-- 使用vant4的Tabbar组件 -->
<van-tabbar
v-model=
"active"
>
<van-tabbar-item
icon=
"home-o"
to=
"/userContent1"
>
首页
</van-tabbar-item>
<van-tabbar-item
icon=
"search"
to=
"/userContent2"
>
搜索
</van-tabbar-item>
</van-tabbar>
</div>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
display
:
flex
;
flex-direction
:
column
;
height
:
100vh
;
}
.content
{
flex
:
1
;
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent2_20250403170608.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<div
class=
"content"
>
<router-view></router-view>
</div>
<div
class=
"tabbar"
>
<!-- 使用vant4的Tabbar组件 -->
<van-tabbar
v-model=
"active"
>
<van-tabbar-item
icon=
"home-o"
to=
"/userContent1"
>
首页
</van-tabbar-item>
<van-tabbar-item
icon=
"search"
to=
"/userContent2"
>
搜索
</van-tabbar-item>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
display
:
flex
;
flex-direction
:
column
;
height
:
100vh
;
}
.content
{
flex
:
1
;
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/pages/test/layout/user/userContent2_20250403170609.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<div
class=
"content"
>
<router-view></router-view>
</div>
<div
class=
"tabbar"
>
<!-- 使用vant4的Tabbar组件 -->
<van-tabbar
v-model=
"active"
>
<van-tabbar-item
icon=
"home-o"
to=
"/userContent1"
>
首页
</van-tabbar-item>
<van-tabbar-item
icon=
"search"
to=
"/userContent2"
>
搜索
</van-tabbar-item>
</van-tabbar>
</div>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
display
:
flex
;
flex-direction
:
column
;
height
:
100vh
;
}
.content
{
flex
:
1
;
overflow
:
auto
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
.history/src/router/index_20241104215756.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
routes
,
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403163542.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
selectPlaceType
'
,
path
:
'
/selectPlaceType
'
,
component
:
()
=>
import
(
'
../../components/flow/selectPlaceType.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403163608.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
user
'
,
path
:
'
/user
'
,
component
:
()
=>
import
(
'
../../components/flow/selectPlaceType.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403163852.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
../../components/userLayout.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403163859.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/userLayout.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403163906.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/userLayout.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/userLayout.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403163915.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/userLayout.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/userLayout.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403163930.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/userLayout/user
'
),
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/adminLayout.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403164047.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/userLayout/user.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/adminLayout.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403164104.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/admin/user.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/adminLayout.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403164117.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layO/user.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/adminLayout.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403164137.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/user.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/adminLayout.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403164140.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/user.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/admin.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403164154.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/user.vue
'
),
children
:[
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/admin.vue
'
),
},
]
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/admin.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403164320.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/user.vue
'
),
children
:[
{
//外接流程场地类型选择框
name
:
'
userContent1
'
,
path
:
'
/userContent1
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/admin.vue
'
),
},
]
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/admin.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403164330.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/user.vue
'
),
children
:[
{
//外接流程场地类型选择框
name
:
'
userContent1
'
,
path
:
'
/userContent1
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/userContent1.vue
'
),
},
]
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/admin.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403164353.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/user.vue
'
),
children
:[
{
//外接流程场地类型选择框
name
:
'
userContent1
'
,
path
:
'
/userContent1
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/userContent1.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
userContent2
'
,
path
:
'
/userContent2
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/userContent2.vue
'
),
},
]
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/admin.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403165051.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
redirect
:{
path
:
'
/userContent1
'
},
component
:
()
=>
import
(
'
@/pages/test/layout/user.vue
'
),
children
:[
{
//外接流程场地类型选择框
name
:
'
userContent1
'
,
path
:
'
/userContent1
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/userContent1.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
userContent2
'
,
path
:
'
/userContent2
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/userContent2.vue
'
),
},
]
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/admin.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403165106.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/user.vue
'
),
redirect
:{
path
:
'
/userContent1
'
},
children
:[
{
//外接流程场地类型选择框
name
:
'
userContent1
'
,
path
:
'
/userContent1
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/userContent1.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
userContent2
'
,
path
:
'
/userContent2
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/userContent2.vue
'
),
},
]
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/admin.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403165108.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/user.vue
'
),
redirect
:{
path
:
'
/userContent1
'
},
children
:[
{
//外接流程场地类型选择框
name
:
'
userContent1
'
,
path
:
'
/userContent1
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/userContent1.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
userContent2
'
,
path
:
'
/userContent2
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/userContent2.vue
'
),
},
]
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/admin.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403165139.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
../../pages/test/layout/user.vue
'
),
redirect
:{
path
:
'
/userContent1
'
},
children
:[
{
//外接流程场地类型选择框
name
:
'
userContent1
'
,
path
:
'
/userContent1
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/userContent1.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
userContent2
'
,
path
:
'
/userContent2
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/userContent2.vue
'
),
},
]
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/admin.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403165232.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/user.vue
'
),
redirect
:{
path
:
'
/userContent1
'
},
children
:[
{
//外接流程场地类型选择框
name
:
'
userContent1
'
,
path
:
'
/userContent1
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/userContent1.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
userContent2
'
,
path
:
'
/userContent2
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/userContent2.vue
'
),
},
]
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/admin.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403165253.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/user.vue
'
),
redirect
:{
path
:
'
/userContent1
'
},
children
:[
{
//外接流程场地类型选择框
name
:
'
userContent1
'
,
path
:
'
/userContent1
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/userContent1.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
userContent2
'
,
path
:
'
/userContent2
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/userContent2.vue
'
),
},
]
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/admin.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
.history/src/router/index_20250403165912.js
0 → 100644
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
../pages/test/layout/user.vue
'
),
redirect
:{
path
:
'
/userContent1
'
},
children
:[
{
//外接流程场地类型选择框
name
:
'
userContent1
'
,
path
:
'
/userContent1
'
,
component
:
()
=>
import
(
'
../pages/test/layout/userContent1.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
userContent2
'
,
path
:
'
/userContent2
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/userContent2.vue
'
),
},
]
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
../pages/test/layout/admin.vue
'
),
},
...
routes
],
})
/**
* 路由白名单数据
* */
const
routingBlacklistAndWhitelist
=
[
'
403
'
,
'
et
'
,
'
scanRoomQrcode
'
,
'
downloadTransfer
'
]
// 全局守卫:登录拦截 本地没有存token,请重新登录
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
const
userInfo
=
useUserInfo
()
if
(
!
routingBlacklistAndWhitelist
.
includes
(
to
.
name
))
{
if
(
!
userInfo
.
getToken
()
||
!
userInfo
.
getUserInfo
())
next
({
name
:
'
403
'
})
//没有token和用户信息跳转到 403
else
next
()
}
else
next
()
});
export
default
router
src/App.vue
浏览文件 @
9fcda0bb
...
...
@@ -3,8 +3,9 @@
</
script
>
<
template
>
<router-view></router-view>
<transition
name=
"fade"
mode=
"out-in"
>
<router-view
/>
</transition>
</
template
>
<
style
>
...
...
src/components/userHeader.vue
浏览文件 @
9fcda0bb
...
...
@@ -49,16 +49,17 @@ onMounted(() => {
label
:
conf
.
roleStatus
[
cur
]
}
})
})
</
script
>
<
template
>
<div
class=
" flex items-center w-full h-[50px] rounded-[8px] "
>
<div
class=
"w-1/2 h-full mt-1 ml-1"
>
<div
@
click=
"back"
style=
"background: white"
class=
"child flex justify-center items-center"
>
<van-icon
style=
"font-size: 30px;font-weight: bold"
name=
"wap-home-o"
/>
<div
class=
" flex items-center w-full h-[50px] rounded-[4px] "
>
<div
class=
"w-1/2 mt-1 ml-1 h-[50px] "
>
<div
class=
" flex w-12 bg-white h-full justify-center items-center text-[18px] text-[#323233]"
style=
"height: 50px;border-radius: 8px"
@
click=
"back"
>
<van-icon
name=
"wap-home-o"
/>
</div>
</div>
<div
@
click=
"init.userInfo.show = true"
class=
"w-1/2 h-full flex justify-end items-center"
>
...
...
@@ -119,8 +120,8 @@ onMounted(() => {
<
style
scoped
>
.child
{
width
:
4
0px
;
height
:
4
0px
;
width
:
5
0px
;
height
:
5
0px
;
background
:
#f2f3f5
;
border-radius
:
12px
;
}
...
...
src/pages/test/layout/admin/adminContent1.vue
0 → 100644
浏览文件 @
9fcda0bb
<
script
setup
>
import
wx
from
"
weixin-js-sdk
"
;
import
{
defineAsyncComponent
,
getCurrentInstance
,
inject
,
ref
,
watch
,
onMounted
,
computed
,
nextTick
,
reactive
,
onUnmounted
}
from
"
vue
"
import
{
useRouter
}
from
"
vue-router
"
;
import
*
as
hooks
from
"
@/hooks/index.js
"
;
import
*
as
api
from
"
@/api/dist/controller/index.js
"
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
import
CommonDataRequest
from
"
@/api/commonDataRequest/index.js
"
;
const
userInfo
=
useUserInfo
()
const
user
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/user.vue
'
))
const
admin
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/admin.vue
'
))
const
adminNoGoodRecord
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/adminNoGoodRecord.vue
'
))
const
asc
=
getCurrentInstance
().
appContext
.
config
.
globalProperties
;
const
router
=
useRouter
()
const
active
=
ref
(
0
);
const
show
=
ref
(
false
)
const
init
=
reactive
({
role
:
userInfo
.
userInfo
.
role
,
channel
:
{},
active
:
0
,
columns
:
[],
placeTypeName
:
[],
flow
:
{
array
:
[]
},
count
:
{}
})
onMounted
(()
=>
{
document
.
title
=
'
主页
'
})
const
onSubmit
=
(
values
)
=>
{
console
.
log
(
'
submit
'
,
values
);
};
const
getImage
=
(
imageKey
)
=>
{
return
asc
.
hooks
.
getImage
(
imageKey
)
}
const
tabChange
=
(
e
)
=>
{
asc
.
tabChange
(
e
)
}
const
backAscHome
=
inject
(
'
backAscHome
'
)
const
gotoPath
=
(
path
)
=>
{
hooks
.
go2Router
(
path
)
}
const
close
=
()
=>
show
.
value
=
false
const
back
=
()
=>
{
//返回asc 主界面
backAscHome
()
}
function
getTabBarIndex
(
index
)
{
//获取地址tabBar的index
init
.
active
=
index
}
function
getCurRole
(
role
)
{
//获取当前权限
init
.
role
=
role
}
//栏目入口
function
handleInterview
(
key
)
{
const
strategy
=
{
'
individualBooking
'
:
()
=>
{
//散客预约
router
.
push
({
name
:
'
welcome
'
,
})
},
'
teamAppointmentNoApproved
'
:
()
=>
{
//团队未审批
router
.
push
({
name
:
'
teamAppointment-noApproval
'
,
})
},
'
teamAppointmentApproved
'
:
()
=>
{
//团队已审批
router
.
push
({
name
:
'
teamAppointment-approval
'
,
})
},
'
teamAppointment-allDataRecord
'
:
()
=>
{
//所有团队预约记录
router
.
push
({
name
:
'
teamAppointment-allDataRecord
'
,
})
},
'
officialAppointmentsHaveBeenNoApproved
'
:
()
=>
{
//公务未审批
router
.
push
({
name
:
'
officialAppointment-noApproval
'
,
})
},
'
officialAppointmentsHaveBeenApproved
'
:
()
=>
{
//公务已审批
router
.
push
({
name
:
'
officialAppointment-approval
'
,
})
},
}
strategy
[
key
]()
}
</
script
>
<
template
>
<!-- user-->
<div
class=
"container1 flex"
>
<div
class=
"header flex justify-center content-start flex-wrap "
>
<!--头部-->
<div
class=
"mb-3 w-full"
>
<userHeader
@
getCurRole=
"getCurRole"
></userHeader>
</div>
<!--栏目背景-->
<div
class=
"w-full h-[128px] py-2 relative"
>
<van-image
width=
"100%"
height=
"100%"
:src=
"hooks.getImage('colBg2')"
></van-image>
<div
class=
"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"
>
<span
class=
"text-3xl opacity-85 font-bold text-white italic"
style=
"font-family: 'Microsoft YaHei', sans-serif;"
>
设备管理
</span>
</div>
</div>
<!--栏目-->
<div
class=
"w-full h-[calc(100%-258px)] "
>
<div>
<div
class=
"list"
>
<p
class=
"w-full list-item-font"
>
申请申领
</p>
<!-- 面试结果 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('individualBooking')"
is-link
>
<template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
查看预约
</span>
</
template
>
</van-cell>
</div>
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('individualBooking')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
查看预约
</span>
</
template
>
</van-cell>
</div>
</div>
<div
class=
"list"
>
<p
class=
"w-full h-[40] list-item-font"
>
借用记录
</p>
<!-- 面试结果 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointment-allDataRecord')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
查看预约
</span>
</
template
>
</van-cell>
</div>
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointmentNoApproved')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
待审批
</span>
</
template
>
</van-cell>
</div>
<!-- 转专业 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointmentApproved')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
已审批
</span>
</
template
>
</van-cell>
</div>
</div>
</div>
</div>
<!-- 版本号 -->
<!-- version -->
<div
class=
"w-[96%] ccFlex mt-10 p-3 h-3 text-center"
style=
"color: #b0b0b0;font-size: 10px"
>
Build 1.0.0 - 250116 1.0.1
</div>
</div>
</div>
</template>
<
style
scoped
>
.currentAppointment
{
background-image
:
url("@/static/occupyingASeat/bg.png")
;
background-size
:
cover
;
}
.aaa
{
background-image
:
url("@/static/icon/changlanse.png")
;
background-size
:
cover
;
}
.bbb
{
background-image
:
url("@/static/icon/1.png")
;
background-size
:
cover
;
}
.child
{
width
:
40px
;
height
:
40px
;
background
:
#f2f3f5
;
border-radius
:
12px
;
}
>
>
>
.van-cell-group--inset
{
margin
:
0
;
border-radius
:
var
(
--van-cell-group-inset-radius
);
overflow
:
hidden
;
}
>
>
>
.van-tabbar
{
z-index
:
var
(
--van-tabbar-z-index
);
display
:
flex
;
box-sizing
:
content-box
;
width
:
100%
;
height
:
80px
;
background
:
var
(
--van-tabbar-background
);
}
</
style
>
<
style
lang=
"less"
scoped
>
/deep/ .van-tabs__wrap {
overflow: hidden;
border-radius: 8px;
}
.list {
/deep/ &-item {
margin: 16px 0;
border-radius: 12px;
overflow: hidden;
&-font {
font-size: 20px;
font-family: 黑体;
font-weight: 600;
color: rgba(0, 0, 0, .6);
}
}
/deep/ .van-cell {
line-height: 48px;
display: flex;
align-items: center;
.image {
width: 25px;
height: 25px;
}
.van-cell__title {
display: flex;
align-items: center;
.custom-title {
font-size: 16px;
padding-left: 10px;
}
}
.van-cell__value {
font-size: 16px;
}
&::after {
content: none;
}
}
.van-cell .van-cell__value {
font-size: 18px;
color: #3488ff;
}
}
.wrapper {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.block {
width: 120px;
height: 120px;
background-color: #fff;
}
</
style
>
\ No newline at end of file
src/pages/test/layout/admin/adminContent2.vue
0 → 100644
浏览文件 @
9fcda0bb
<
script
setup
>
import
{
getImage
}
from
"
@/hooks/index.js
"
;
import
{
defineEmits
,
onMounted
,
reactive
,
ref
}
from
"
vue
"
;
import
router
from
"
@/router/index.js
"
;
import
*
as
api
from
"
@/api/dist/controller/index.js
"
;
import
ConfigDict
from
"
@/config/modules/dict.js
"
;
import
*
as
hooks
from
"
@/hooks/index.js
"
;
import
CommonDataRequest
from
"
@/api/commonDataRequest/index.js
"
;
const
emit
=
defineEmits
([
'
getTabBarIndex
'
])
const
active
=
ref
(
1
);
const
init
=
reactive
({
seatDate
:
{
value
:
''
,
columns
:
[],
showPicker
:
false
,
},
seatRoom
:
{
value
:
''
,
columns
:
[],
showPicker
:
false
,
},
singState
:
{
value
:
''
,
columns
:
[
{
text
:
'
签到
'
,
value
:
1
},
{
text
:
'
签退
'
,
value
:
2
},
{
text
:
'
未签到
'
,
value
:
0
},
],
showPicker
:
false
,
},
activityState
:
{
value
:
''
,
columns
:
[
{
text
:
'
待使用
'
,
value
:
0
},
{
text
:
'
使用中
'
,
value
:
1
},
{
text
:
'
已结束
'
,
value
:
2
},
{
text
:
'
踢除
'
,
value
:
3
},
{
text
:
'
已取消
'
,
value
:
9
},
],
showPicker
:
false
,
},
data
:
{
array
:
[]
},
params
:
{
"
key_name
"
:
""
,
"
page_index
"
:
1
,
"
page_size
"
:
10
},
advancedfilter
:
{
show
:
false
,
}
})
const
list
=
ref
([]);
const
loading
=
ref
(
false
);
const
finished
=
ref
(
false
);
const
refreshing
=
ref
(
false
);
const
onLoad
=
()
=>
{
//初始化数据
api
.
postApiBadnessGetBadnessList
(
init
.
params
).
then
(
res
=>
{
if
(
refreshing
.
value
)
{
list
.
value
=
[]
refreshing
.
value
=
false
;
}
if
(
res
.
response
.
data
.
length
===
0
)
{
finished
.
value
=
true
;
refreshing
.
value
=
false
;
}
res
.
response
.
data
.
forEach
(
cur
=>
{
list
.
value
.
push
({
...
cur
,
imageKey
:
ConfigDict
.
appointmentImageKey
[
cur
.
state
]
});
})
loading
.
value
=
false
;
init
.
params
.
page_index
++
refreshing
.
value
=
false
;
})
};
const
onRefresh
=
()
=>
{
// 清空列表数据
finished
.
value
=
false
;
// 重新加载数据
// 将 loading 设置为 true,表示处于加载状态
loading
.
value
=
true
;
init
.
params
.
page_index
=
1
;
onLoad
();
};
function
advancedfilter
()
{
//触发高级筛选
init
.
advancedfilter
.
show
=
true
;
}
let
timer
=
ref
({})
function
doSearch
(
value
)
{
//搜索
search
()
}
function
search
()
{
//连贯查询动作,复用在重置、触发查询按钮
init
.
params
.
page_index
=
1
;
list
.
value
=
[];
finished
.
value
=
false
;
loading
.
value
=
true
;
clearTimeout
(
timer
.
value
)
timer
.
value
=
setTimeout
(()
=>
onLoad
(),
500
)
}
function
reset
()
{
hooks
.
//重置操作
init
.
params
=
{
"
key_name
"
:
""
,
"
page_index
"
:
1
,
"
page_size
"
:
10
}
search
()
init
.
advancedfilter
.
show
=
false
;
}
function
query_handle
()
{
//查询操作
search
();
init
.
advancedfilter
.
show
=
false
;
}
function
onClickLeft
()
{
//返回上级
router
.
back
();
}
async
function
getRoomList
()
{
//获取房间数据
init
.
seatRoom
.
columns
=
await
CommonDataRequest
.
getRoom
()
}
function
recordAction
(
item
,
key
)
{
let
strategy
=
{
'
cancelBadRecord
'
:
()
=>
{
//取消不良记录
hooks
.
publicConfirm
(()
=>
hooks
.
myEncapsulationFunction
(()
=>
{
return
api
.
getApiBadnessBadnessCancel
({
id
:
item
.
id
}).
then
(
res
=>
{
if
(
res
.
code
===
1
)
{
search
()
}
return
res
})
}))
},
'
details
'
:
()
=>
{
//不良记录详情
router
.
push
({
path
:
'
/details
'
,
query
:
{
id
:
item
.
id
,
type
:
'
record
'
,
}
})
}
}
strategy
[
key
]()
}
onMounted
(()
=>
{
document
.
title
=
'
座位预约记录
'
getRoomList
()
})
</
script
>
<
template
>
<div
class=
"w-full h-full bg-[#F3F4F6]"
>
<!-- search-->
<div
class=
"sticky top-0 w-full h-[54px] z-50"
>
<div
style=
"border-top: 1px solid #ebedf0"
>
<van-search
style=
"display: flex; justify-content: center; align-items: center"
v-model=
"init.params.key_name"
placeholder=
"请输入关键词"
@
update:model-value=
"doSearch"
clearable
>
</van-search>
</div>
</div>
<div
class=
"w-full h-[calc(100%-54px)] px-3 pt-4 "
>
<van-pull-refresh
v-model=
"refreshing"
@
refresh=
"onRefresh"
>
<van-list
v-model:loading=
"loading"
:finished=
"finished"
finished-text=
"没有更多了"
@
load=
"onLoad"
>
<div
v-for=
"item in list"
:key=
"item"
:title=
"item"
class=
"w-full min-h-[40px] "
>
<adminNoGoodRecordCard
:item=
"item"
>
<template
v-slot:default
>
<div
class=
"w-full h-full flex justify-end "
>
<van-button
:disabled=
"item.state ===2"
@
click=
"recordAction(item,'cancelBadRecord');"
class=
"w-[48%]"
plain
size=
"small"
type=
"primary"
>
取消不良记录
</van-button>
</div>
</
template
>
</adminNoGoodRecordCard>
</div>
</van-list>
</van-pull-refresh>
</div>
</div>
</template>
<
style
scoped
>
/
deep
/
.van-tabbar--fixed
{
position
:
fixed
;
bottom
:
0
;
left
:
0
;
height
:
80px
;
}
</
style
>
src/pages/test/layout/admin/index.vue
0 → 100644
浏览文件 @
9fcda0bb
<
template
>
<div
class=
"user-layout"
>
<div
>
<router-view
/>
</div>
<div
class=
"tabbar"
>
<!-- 使用vant4的Tabbar组件 -->
<van-tabbar
v-model=
"active"
>
<van-tabbar-item
icon=
"home-o"
to=
"/adminContent1"
>
首页
</van-tabbar-item>
<van-tabbar-item
icon=
"search"
to=
"/adminContent2"
>
搜索
</van-tabbar-item>
</van-tabbar>
</div>
</div>
</
template
>
<
script
>
import
{
ref
}
from
'
vue
'
;
import
{
Tabbar
,
TabbarItem
}
from
'
vant
'
;
export
default
{
name
:
'
UserLayout
'
,
setup
()
{
const
active
=
ref
(
0
);
return
{
active
,
};
},
};
</
script
>
<
style
scoped
>
.user-layout
{
width
:
100%
;
height
:
calc
(
100vh
-
50px
);
background
:
#F3F4F6
;
}
.content
{
flex
:
1
;
}
.tabbar
{
/* 这里可以根据需要调整tabbar的高度 */
height
:
50px
;
}
</
style
>
src/pages/test/layout/user/index.vue
0 → 100644
浏览文件 @
9fcda0bb
<
script
setup
>
import
wx
from
"
weixin-js-sdk
"
;
import
{
defineAsyncComponent
,
getCurrentInstance
,
inject
,
ref
,
watch
,
onMounted
,
computed
,
nextTick
,
reactive
,
onUnmounted
}
from
"
vue
"
import
{
useRouter
}
from
"
vue-router
"
;
import
*
as
hooks
from
"
@/hooks/index.js
"
;
import
*
as
api
from
"
@/api/dist/controller/index.js
"
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
import
CommonDataRequest
from
"
@/api/commonDataRequest/index.js
"
;
const
userInfo
=
useUserInfo
()
const
user
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/user.vue
'
))
const
admin
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/admin.vue
'
))
const
adminNoGoodRecord
=
defineAsyncComponent
(()
=>
import
(
'
@/pages/welcome/userOrAdmin/adminNoGoodRecord.vue
'
))
const
asc
=
getCurrentInstance
().
appContext
.
config
.
globalProperties
;
const
router
=
useRouter
()
const
active
=
ref
(
0
);
const
show
=
ref
(
false
)
const
init
=
reactive
({
role
:
userInfo
.
userInfo
.
role
,
channel
:
{},
active
:
0
,
columns
:
[],
placeTypeName
:
[],
flow
:
{
array
:
[]
},
count
:
{}
})
onMounted
(()
=>
{
document
.
title
=
'
主页
'
})
const
onSubmit
=
(
values
)
=>
{
console
.
log
(
'
submit
'
,
values
);
};
const
getImage
=
(
imageKey
)
=>
{
return
asc
.
hooks
.
getImage
(
imageKey
)
}
const
tabChange
=
(
e
)
=>
{
asc
.
tabChange
(
e
)
}
const
backAscHome
=
inject
(
'
backAscHome
'
)
const
gotoPath
=
(
path
)
=>
{
hooks
.
go2Router
(
path
)
}
const
close
=
()
=>
show
.
value
=
false
const
back
=
()
=>
{
//返回asc 主界面
backAscHome
()
}
function
getTabBarIndex
(
index
)
{
//获取地址tabBar的index
init
.
active
=
index
}
function
getCurRole
(
role
)
{
//获取当前权限
init
.
role
=
role
}
//栏目入口
function
handleInterview
(
key
)
{
const
strategy
=
{
'
individualBooking
'
:
()
=>
{
//散客预约
router
.
push
({
name
:
'
welcome
'
,
})
},
'
teamAppointmentNoApproved
'
:
()
=>
{
//团队未审批
router
.
push
({
name
:
'
teamAppointment-noApproval
'
,
})
},
'
teamAppointmentApproved
'
:
()
=>
{
//团队已审批
router
.
push
({
name
:
'
teamAppointment-approval
'
,
})
},
'
teamAppointment-allDataRecord
'
:
()
=>
{
//所有团队预约记录
router
.
push
({
name
:
'
teamAppointment-allDataRecord
'
,
})
},
'
officialAppointmentsHaveBeenNoApproved
'
:
()
=>
{
//公务未审批
router
.
push
({
name
:
'
officialAppointment-noApproval
'
,
})
},
'
officialAppointmentsHaveBeenApproved
'
:
()
=>
{
//公务已审批
router
.
push
({
name
:
'
officialAppointment-approval
'
,
})
},
}
strategy
[
key
]()
}
</
script
>
<
template
>
<!-- user-->
<div
class=
"container1 flex"
>
<div
class=
"header flex justify-center content-start flex-wrap "
>
<!--头部-->
<div
class=
"mb-3 w-full"
>
<userHeader
@
getCurRole=
"getCurRole"
></userHeader>
</div>
<!--栏目背景-->
<div
class=
"w-full h-[128px] py-2 relative"
>
<van-image
width=
"100%"
height=
"100%"
:src=
"hooks.getImage('colBg2')"
></van-image>
<div
class=
"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"
>
<span
class=
"text-3xl opacity-85 font-bold text-white italic"
style=
"font-family: 'Microsoft YaHei', sans-serif;"
>
设备管理
</span>
</div>
</div>
<!--栏目-->
<div
class=
"w-full h-[calc(100%-258px)] "
>
<div>
<div
class=
"list"
>
<p
class=
"w-full list-item-font"
>
申请申领
</p>
<!-- 面试结果 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('individualBooking')"
is-link
>
<template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
查看预约
</span>
</
template
>
</van-cell>
</div>
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('individualBooking')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
查看预约
</span>
</
template
>
</van-cell>
</div>
</div>
<div
class=
"list"
>
<p
class=
"w-full h-[40] list-item-font"
>
借用记录
</p>
<!-- 面试结果 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointment-allDataRecord')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
查看预约
</span>
</
template
>
</van-cell>
</div>
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointmentNoApproved')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
待审批
</span>
</
template
>
</van-cell>
</div>
<!-- 转专业 -->
<div
class=
"list-item "
>
<van-cell
@
click=
"handleInterview('teamAppointmentApproved')"
is-link
>
<
template
#title
>
<van-image
class=
"image"
fit=
"contain"
:src=
"hooks.getImage('qhtb')"
/>
<span
class=
"custom-title"
>
已审批
</span>
</
template
>
</van-cell>
</div>
</div>
</div>
</div>
<!-- 版本号 -->
<!-- version -->
<div
class=
"w-[96%] ccFlex mt-10 p-3 h-3 text-center"
style=
"color: #b0b0b0;font-size: 10px"
>
Build 1.0.0 - 250116 1.0.1
</div>
</div>
</div>
</template>
<
style
scoped
>
.currentAppointment
{
background-image
:
url("@/static/occupyingASeat/bg.png")
;
background-size
:
cover
;
}
.aaa
{
background-image
:
url("@/static/icon/changlanse.png")
;
background-size
:
cover
;
}
.bbb
{
background-image
:
url("@/static/icon/1.png")
;
background-size
:
cover
;
}
.child
{
width
:
40px
;
height
:
40px
;
background
:
#f2f3f5
;
border-radius
:
12px
;
}
>
>
>
.van-cell-group--inset
{
margin
:
0
;
border-radius
:
var
(
--van-cell-group-inset-radius
);
overflow
:
hidden
;
}
>
>
>
.van-tabbar
{
z-index
:
var
(
--van-tabbar-z-index
);
display
:
flex
;
box-sizing
:
content-box
;
width
:
100%
;
height
:
80px
;
background
:
var
(
--van-tabbar-background
);
}
</
style
>
<
style
lang=
"less"
scoped
>
/deep/ .van-tabs__wrap {
overflow: hidden;
border-radius: 8px;
}
.list {
/deep/ &-item {
margin: 16px 0;
border-radius: 12px;
overflow: hidden;
&-font {
font-size: 20px;
font-family: 黑体;
font-weight: 600;
color: rgba(0, 0, 0, .6);
}
}
/deep/ .van-cell {
line-height: 48px;
display: flex;
align-items: center;
.image {
width: 25px;
height: 25px;
}
.van-cell__title {
display: flex;
align-items: center;
.custom-title {
font-size: 16px;
padding-left: 10px;
}
}
.van-cell__value {
font-size: 16px;
}
&::after {
content: none;
}
}
.van-cell .van-cell__value {
font-size: 18px;
color: #3488ff;
}
}
.wrapper {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.block {
width: 120px;
height: 120px;
background-color: #fff;
}
</
style
>
\ No newline at end of file
src/router/index.js
浏览文件 @
9fcda0bb
import
{
createRouter
,
createWebHashHistory
}
from
'
vue-router
'
;
import
routes
from
"
./routes.js
"
;
import
*
as
api
from
'
@/api/dist/controller/index.js
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
useUserInfo
}
from
"
@/store/modules/user.js
"
;
const
router
=
new
createRouter
({
history
:
createWebHashHistory
(),
routes
:
routes
,
routes
:
[
{
//外接流程场地类型选择框
name
:
'
userLayout
'
,
path
:
'
/userLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/user/index.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
adminLayout
'
,
path
:
'
/adminLayout
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/admin/index.vue
'
),
redirect
:{
path
:
'
/adminContent1
'
},
children
:[
{
//外接流程场地类型选择框
name
:
'
adminContent1
'
,
path
:
'
/adminContent1
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/admin/adminContent1.vue
'
),
},
{
//外接流程场地类型选择框
name
:
'
adminContent2
'
,
path
:
'
/adminContent2
'
,
component
:
()
=>
import
(
'
@/pages/test/layout/admin/adminContent2.vue
'
),
},
]
},
...
routes
],
})
/**
* 路由白名单数据
...
...
src/static/icon/stateImages.js
浏览文件 @
9fcda0bb
...
...
@@ -56,6 +56,7 @@ export * as syzlogo from './使用中_1.png'
export
*
as
sys
from
'
./sys.png
'
export
*
as
guihuan
from
'
./归还.png
'
export
*
as
zisechangbeijing
from
'
./zisechangbeijing.png
'
export
*
as
colBg
from
'
@/static/occupyingASeat/colBg.png
'
export
*
as
colBg2
from
'
@/static/occupyingASeat/bg.png
'
export
*
as
ty
from
'
./同意.png
'
export
*
as
ty_1
from
'
./ty_1.png
'
src/static/occupyingASeat/colBg.png
0 → 100644
浏览文件 @
9fcda0bb
11.8 KB
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录