Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
H
HY占座系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
HY占座系统
提交
3148bc52
提交
3148bc52
编写于
12月 27, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
20241227 系统配置》用户管理〉新增学生用户权限分配
上级
1f83b57d
流水线
#32226
已通过 ,包含阶段
in 55 second
变更
8
流水线
1
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
21 行增加
和
26 行删除
+21
-26
index.html
dist/index.html
+1
-1
app.77ac8b9c.js
dist/js/app.77ac8b9c.js
+0
-15
chunk-4b2a2114.9b33fafa.js
dist/js/chunk-4b2a2114.9b33fafa.js
+0
-1
getApiRoleGetRolePowerList.d.ts
src/api/controller/RolePower/getApiRoleGetRolePowerList.d.ts
+2
-0
PlaceOccupyseatRolePower.d.ts
src/api/interface/apiTypes/PlaceOccupyseatRolePower.d.ts
+1
-0
RolePowerViewModel.d.ts
src/api/interface/apiTypes/RolePowerViewModel.d.ts
+2
-0
index.vue
src/layouts/basic-layout/menu-side/index.vue
+1
-1
index.vue
src/pages/userManagement/index.vue
+14
-8
未找到文件。
dist/index.html
浏览文件 @
3148bc52
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"
><link
rel=
"shortcut icon"
href=
favicon.ico
><title>
自习室占座预约系统
</title><link
href=
css/chunk-vendors.cc1990b1.css
rel=
stylesheet
><link
href=
css/app.de53c9b8.css
rel=
stylesheet
></head><body><script
src=
https://mapapi.qq.com/web/mapComponents/geoLocation/v/geolocation.min.js
></script><script
src=
"https://map.qq.com/api/gljs?v=1.exp&libraries=service&key=IZXBZ-OTAWV-XU7PV-5FAAL-F6VXH-7XBQP"
></script><script
charset=
utf-8
src=
"https://map.qq.com/api/js?v=2.exp&key=ZNMBZ-NYOEO-WNMWL-SJF4C-MWKQT-KJB7W&libraries=drawing,geometry,place,convertor,visualization"
></script><script
src=
/a/manager/identify/identify.js
></script><noscript><strong>
请开启 JavaScript 功能来使用 自习室占座预约系统。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors.0e2a893c.js
></script><script
src=
js/app.77ac8b9c.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"
><link
rel=
"shortcut icon"
href=
favicon.ico
><title>
自习室占座预约系统
</title><link
href=
css/chunk-vendors.cc1990b1.css
rel=
stylesheet
><link
href=
css/app.de53c9b8.css
rel=
stylesheet
></head><body><script
src=
https://mapapi.qq.com/web/mapComponents/geoLocation/v/geolocation.min.js
></script><script
src=
"https://map.qq.com/api/gljs?v=1.exp&libraries=service&key=IZXBZ-OTAWV-XU7PV-5FAAL-F6VXH-7XBQP"
></script><script
charset=
utf-8
src=
"https://map.qq.com/api/js?v=2.exp&key=ZNMBZ-NYOEO-WNMWL-SJF4C-MWKQT-KJB7W&libraries=drawing,geometry,place,convertor,visualization"
></script><script
src=
/a/manager/identify/identify.js
></script><noscript><strong>
请开启 JavaScript 功能来使用 自习室占座预约系统。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors.0e2a893c.js
></script><script
src=
js/app.7c4f5b35.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/js/app.77ac8b9c.js
已删除
100644 → 0
浏览文件 @
1f83b57d
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
dist/js/chunk-4b2a2114.9b33fafa.js
已删除
100644 → 0
浏览文件 @
1f83b57d
此差异已折叠。
点击以展开。
src/api/controller/RolePower/getApiRoleGetRolePowerList.d.ts
浏览文件 @
3148bc52
...
@@ -19,5 +19,7 @@ export declare function getApiRoleGetRolePowerList(config?: AxiosRequestConfig):
...
@@ -19,5 +19,7 @@ export declare function getApiRoleGetRolePowerList(config?: AxiosRequestConfig):
createby
:
string
;
createby
:
string
;
createtime
:
string
;
createtime
:
string
;
userid
:
string
;
userid
:
string
;
is_tea
:
number
;
is_tea_name
:
string
;
}[];
}[];
}
>
;
}
>
;
src/api/interface/apiTypes/PlaceOccupyseatRolePower.d.ts
浏览文件 @
3148bc52
...
@@ -8,4 +8,5 @@ export interface PlaceOccupyseatRolePower {
...
@@ -8,4 +8,5 @@ export interface PlaceOccupyseatRolePower {
is_del
?:
number
;
is_del
?:
number
;
createby
?:
string
;
createby
?:
string
;
createtime
?:
string
;
createtime
?:
string
;
is_tea
?:
number
;
}
}
src/api/interface/apiTypes/RolePowerViewModel.d.ts
浏览文件 @
3148bc52
...
@@ -9,4 +9,6 @@ export interface RolePowerViewModel {
...
@@ -9,4 +9,6 @@ export interface RolePowerViewModel {
createby
?:
string
;
createby
?:
string
;
createtime
?:
string
;
createtime
?:
string
;
userid
?:
string
;
userid
?:
string
;
is_tea
?:
number
;
is_tea_name
?:
string
;
}
}
src/layouts/basic-layout/menu-side/index.vue
浏览文件 @
3148bc52
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
</Menu>
</Menu>
<div
style=
"position: absolute ;bottom: 10px;width: 100%;"
>
<div
style=
"position: absolute ;bottom: 10px;width: 100%;"
>
<div
style=
"display: flex;width:100%;height: 50px; justify-content: center;align-items: center;"
>
<div
style=
"display: flex;width:100%;height: 50px; justify-content: center;align-items: center;"
>
<span
style=
"font-size: 12px;"
>
build v241
126
1.0.1
</span>
<span
style=
"font-size: 12px;"
>
build v241
227
1.0.1
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/pages/userManagement/index.vue
浏览文件 @
3148bc52
...
@@ -85,6 +85,7 @@
...
@@ -85,6 +85,7 @@
{
type
:
'
index
'
,
title
:
'
序号
'
,
align
:
'
center
'
,
width
:
80
,
show
:
true
,
fixed
:
'
left
'
},
{
type
:
'
index
'
,
title
:
'
序号
'
,
align
:
'
center
'
,
width
:
80
,
show
:
true
,
fixed
:
'
left
'
},
{
key
:
'
card
'
,
title
:
'
卡号
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
key
:
'
card
'
,
title
:
'
卡号
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
key
:
'
name
'
,
title
:
'
名称
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
key
:
'
name
'
,
title
:
'
名称
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
key
:
'
is_tea_name
'
,
title
:
'
用户类型
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
key
:
'
role_name
'
,
title
:
'
角色
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
key
:
'
role_name
'
,
title
:
'
角色
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
key
:
'
place_id
'
,
title
:
'
场地id
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
false
},
{
key
:
'
place_id
'
,
title
:
'
场地id
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
false
},
// { key: 'is_enable', title: '启用', align: 'center', minWidth: 150, show: true },
// { key: 'is_enable', title: '启用', align: 'center', minWidth: 150, show: true },
...
@@ -116,11 +117,10 @@
...
@@ -116,11 +117,10 @@
"
name
"
:
""
,
"
name
"
:
""
,
"
is_enable
"
:
1
,
"
is_enable
"
:
1
,
"
is_del
"
:
0
,
"
is_del
"
:
0
,
is_tea
:
''
,
},
},
addTeacherOrStudentFlag
:
1
,
//新增教师或学生 0=>学生。 1=>教师
addTeacherOrStudentFlag
:
1
,
//新增教师或学生 0=>学生。 1=>教师
// 角色
// 角色
...
@@ -158,7 +158,10 @@
...
@@ -158,7 +158,10 @@
console
.
log
(
"
🚀🚀🚀,
"
,
keyword
)
console
.
log
(
"
🚀🚀🚀,
"
,
keyword
)
// 获取用戶信息
// 获取用戶信息
api
.
getApiCommonGetPersonByCondiction
({
user_type
:
Number
(
this
.
addTeacherOrStudentFlag
),
keyword
:
keyword
}).
then
(
res
=>
{
api
.
getApiCommonGetPersonByCondiction
({
user_type
:
Number
(
this
.
addTeacherOrStudentFlag
),
keyword
:
keyword
}).
then
(
res
=>
{
let
arr
=
res
.
response
.
map
(
a
=>
{
let
arr
=
res
.
response
.
map
(
a
=>
{
return
{
return
{
...
a
,
...
a
,
...
@@ -212,11 +215,11 @@
...
@@ -212,11 +215,11 @@
// 新增
// 新增
add
(
key
)
{
add
(
key
)
{
const
strategy
=
{
const
strategy
=
{
'
teacher
'
:
()
=>
{
'
teacher
'
:
()
=>
{
this
.
addTeacherOrStudentFlag
=
1
this
.
addTeacherOrStudentFlag
=
1
this
.
getPeopleList
()
this
.
getPeopleList
()
},
},
'
student
'
:
()
=>
{
'
student
'
:
()
=>
{
this
.
addTeacherOrStudentFlag
=
0
this
.
addTeacherOrStudentFlag
=
0
this
.
getPeopleList
()
this
.
getPeopleList
()
}
}
...
@@ -232,7 +235,7 @@
...
@@ -232,7 +235,7 @@
// console.log('编辑行', row)
// console.log('编辑行', row)
this
.
editModalshow
=
true
this
.
editModalshow
=
true
this
.
editModalLoading
=
true
this
.
editModalLoading
=
true
this
.
addTeacherOrStudentFlag
=
row
.
is_tea
await
new
Promise
((
resolve
,
reject
)
=>
{
await
new
Promise
((
resolve
,
reject
)
=>
{
this
.
asc
.
getApiCommonGetPersonByCondiction
({
user_type
:
row
.
is_tea
,
keyword
:
row
.
card
}).
then
(
res
=>
{
this
.
asc
.
getApiCommonGetPersonByCondiction
({
user_type
:
row
.
is_tea
,
keyword
:
row
.
card
}).
then
(
res
=>
{
...
@@ -268,18 +271,21 @@
...
@@ -268,18 +271,21 @@
modalSubmit
(
val
)
{
modalSubmit
(
val
)
{
console
.
log
(
'
modal提交
'
,
val
)
console
.
log
(
'
modal提交
'
,
val
)
if
(
val
.
place_id
)
{
if
(
val
.
place_id
)
{
val
.
place_id
=
val
.
place_id
.
join
(
'
,
'
)
val
.
place_id
=
val
.
place_id
.
join
(
'
,
'
)
}
}
val
.
name
=
val
.
cardName
.
split
(
'
-
'
)[
0
]
val
.
name
=
val
.
cardName
.
split
(
'
-
'
)[
0
]
val
.
card
=
val
.
cardName
.
split
(
'
-
'
)[
1
]
val
.
card
=
val
.
cardName
.
split
(
'
-
'
)[
1
]
val
.
is_tea
=
this
.
addTeacherOrStudentFlag
//用户类型
delete
val
.
cardName
delete
val
.
cardName
this
.
$Modal
.
confirm
({
this
.
$Modal
.
confirm
({
title
:
'
提示
'
,
title
:
'
提示
'
,
content
:
'
是否确定提交?
'
,
content
:
'
是否确定提交?
'
,
loading
:
true
,
loading
:
true
,
onOk
:
()
=>
{
onOk
:
()
=>
{
this
.
asc
.
postApiRoleRolePowerSave
(
val
).
then
(
res
=>
{
this
.
asc
.
postApiRoleRolePowerSave
(
val
).
then
(
res
=>
{
// console.log('保存信息', res)
// console.log('保存信息', res)
if
(
res
.
code
==
1
)
{
if
(
res
.
code
==
1
)
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录