Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
H
HY占座系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
HY占座系统
提交
adeb0b40
提交
adeb0b40
编写于
10月 22, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
V20241022 优化保存
上级
05b210ee
流水线
#30114
已通过 ,包含阶段
in 40 second
变更
6
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
6 行增加
和
6 行删除
+6
-6
chunk-3cb13739.dfddb181.css
dist/css/chunk-3cb13739.dfddb181.css
+1
-0
chunk-4f1907e7.7e7ca5d0.css
dist/css/chunk-4f1907e7.7e7ca5d0.css
+0
-1
index.html
dist/index.html
+1
-1
app.096b99c6.js
dist/js/app.096b99c6.js
+2
-2
chunk-3cb13739.0b0bfc5c.js
dist/js/chunk-3cb13739.0b0bfc5c.js
+1
-1
index.vue
src/pages/systemConfiguration/index.vue
+1
-1
未找到文件。
dist/css/chunk-3cb13739.dfddb181.css
0 → 100644
浏览文件 @
adeb0b40
.mainDiv
[
data-v-b23023d0
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
flex-wrap
:
wrap
;
justify-content
:
space-between
}
.mainDiv
.bigCard
[
data-v-b23023d0
],
.mainDiv
.smallCard
[
data-v-b23023d0
]
{
margin-bottom
:
16px
}
.mainDiv
.bigCard
[
data-v-b23023d0
]
.ivu-card-body
,
.mainDiv
.smallCard
[
data-v-b23023d0
]
.ivu-card-body
{
height
:
calc
(
100%
-
51px
)}
.mainDiv
.bigCard
[
data-v-b23023d0
]
.ivu-card-body
.ivu-form-item
,
.mainDiv
.smallCard
[
data-v-b23023d0
]
.ivu-card-body
.ivu-form-item
{
margin-bottom
:
12px
}
.mainDiv
.bigCard
[
data-v-b23023d0
]
{
width
:
calc
(
50%
-
8px
)}
.mainDiv
.smallCard
[
data-v-b23023d0
]
{
width
:
calc
(
33.33333%
-
10.66667px
)}
.mainDiv
[
data-v-b23023d0
]
.kjyyCard
.ivu-card-body
{
overflow
:
auto
}
.mainDiv
[
data-v-b23023d0
]
.kjyyCard
.ivu-card-body
p
[
name
=
fastCP
]
{
display
:
flex
;
justify-content
:
space-between
}
.mainDiv
[
data-v-b23023d0
]
.kjyyCard
.ivu-card-body
p
[
name
=
fastCP
]
a
[
name
=
del
]
{
color
:
#ed4014
}
.mainDiv
[
data-v-b23023d0
]
.kjyyCard
.ivu-card-body
p
[
name
=
fastCP
]
a
[
name
=
del
]
:hover
{
color
:
#f16643
}
.mainDiv
[
data-v-b23023d0
]
.kjyyCard
.ivu-card-body
p
[
name
=
fastCP
]
a
[
name
=
del
]
:active
{
color
:
#e13d13
}
.mainDiv
[
data-v-b23023d0
]
.cplhsCard
.ivu-card-body
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-evenly
}
.mainDiv
[
data-v-b23023d0
]
.save-bt
{
text-align
:
right
;
position
:
absolute
;
bottom
:
16px
;
right
:
16px
}
.mainDiv
.roomOpeningHours
[
data-v-b23023d0
]
{
display
:
flex
;
justify-content
:
space-between
;
flex-wrap
:
wrap
}
.mainDiv
.flexBetWeen
[
data-v-b23023d0
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
justify-content
:
space-between
}
.class-drawer
[
data-v-b23023d0
]
{
height
:
"calc(100% - 55px)"
;
overflow
:
"auto"
;
padding-bottom
:
"53px"
;
position
:
"static"
}
.class-drawer
.subTitle
[
data-v-b23023d0
]
{
margin-top
:
20px
;
font-size
:
14px
;
color
:
#191f25
;
font-weight
:
700
}
.class-drawer
.drawer-footer
[
data-v-b23023d0
]
{
width
:
100%
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
border-top
:
1px
solid
#e8e8e8
;
padding
:
10px
16px
;
text-align
:
right
;
background
:
#fff
}
.class-drawer
[
data-v-b23023d0
]
.ivu-drawer-header-inner
{
font-size
:
20px
;
font-weight
:
600
}
\ No newline at end of file
dist/css/chunk-4f1907e7.7e7ca5d0.css
已删除
100644 → 0
浏览文件 @
05b210ee
.mainDiv
[
data-v-c7be7686
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
flex-wrap
:
wrap
;
justify-content
:
space-between
}
.mainDiv
.bigCard
[
data-v-c7be7686
],
.mainDiv
.smallCard
[
data-v-c7be7686
]
{
margin-bottom
:
16px
}
.mainDiv
.bigCard
[
data-v-c7be7686
]
.ivu-card-body
,
.mainDiv
.smallCard
[
data-v-c7be7686
]
.ivu-card-body
{
height
:
calc
(
100%
-
51px
)}
.mainDiv
.bigCard
[
data-v-c7be7686
]
.ivu-card-body
.ivu-form-item
,
.mainDiv
.smallCard
[
data-v-c7be7686
]
.ivu-card-body
.ivu-form-item
{
margin-bottom
:
12px
}
.mainDiv
.bigCard
[
data-v-c7be7686
]
{
width
:
calc
(
50%
-
8px
)}
.mainDiv
.smallCard
[
data-v-c7be7686
]
{
width
:
calc
(
33.33333%
-
10.66667px
)}
.mainDiv
[
data-v-c7be7686
]
.kjyyCard
.ivu-card-body
{
overflow
:
auto
}
.mainDiv
[
data-v-c7be7686
]
.kjyyCard
.ivu-card-body
p
[
name
=
fastCP
]
{
display
:
flex
;
justify-content
:
space-between
}
.mainDiv
[
data-v-c7be7686
]
.kjyyCard
.ivu-card-body
p
[
name
=
fastCP
]
a
[
name
=
del
]
{
color
:
#ed4014
}
.mainDiv
[
data-v-c7be7686
]
.kjyyCard
.ivu-card-body
p
[
name
=
fastCP
]
a
[
name
=
del
]
:hover
{
color
:
#f16643
}
.mainDiv
[
data-v-c7be7686
]
.kjyyCard
.ivu-card-body
p
[
name
=
fastCP
]
a
[
name
=
del
]
:active
{
color
:
#e13d13
}
.mainDiv
[
data-v-c7be7686
]
.cplhsCard
.ivu-card-body
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-evenly
}
.mainDiv
[
data-v-c7be7686
]
.save-bt
{
text-align
:
right
;
position
:
absolute
;
bottom
:
16px
;
right
:
16px
}
.mainDiv
.roomOpeningHours
[
data-v-c7be7686
]
{
display
:
flex
;
justify-content
:
space-between
;
flex-wrap
:
wrap
}
.mainDiv
.flexBetWeen
[
data-v-c7be7686
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
justify-content
:
space-between
}
.class-drawer
[
data-v-c7be7686
]
{
height
:
"calc(100% - 55px)"
;
overflow
:
"auto"
;
padding-bottom
:
"53px"
;
position
:
"static"
}
.class-drawer
.subTitle
[
data-v-c7be7686
]
{
margin-top
:
20px
;
font-size
:
14px
;
color
:
#191f25
;
font-weight
:
700
}
.class-drawer
.drawer-footer
[
data-v-c7be7686
]
{
width
:
100%
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
border-top
:
1px
solid
#e8e8e8
;
padding
:
10px
16px
;
text-align
:
right
;
background
:
#fff
}
.class-drawer
[
data-v-c7be7686
]
.ivu-drawer-header-inner
{
font-size
:
20px
;
font-weight
:
600
}
\ No newline at end of file
dist/index.html
浏览文件 @
adeb0b40
<!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.f8f860e0.css
rel=
stylesheet
></head><body><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=
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=ZNMBZ-NYOEO-WNMWL-SJF4C-MWKQT-KJB7W"
></script><script
src=
/a/manager/identify/identify.js
></script><noscript><strong>
请开启 JavaScript 功能来使用 自习室占座预约系统。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors.d90d1506.js
></script><script
src=
js/app.a934b4e9.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.f8f860e0.css
rel=
stylesheet
></head><body><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=
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=ZNMBZ-NYOEO-WNMWL-SJF4C-MWKQT-KJB7W"
></script><script
src=
/a/manager/identify/identify.js
></script><noscript><strong>
请开启 JavaScript 功能来使用 自习室占座预约系统。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors.d90d1506.js
></script><script
src=
js/app.096b99c6.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/js/app.
a934b4e9
.js
→
dist/js/app.
096b99c6
.js
浏览文件 @
adeb0b40
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
dist/js/chunk-
4f1907e7.a9af486f
.js
→
dist/js/chunk-
3cb13739.0b0bfc5c
.js
浏览文件 @
adeb0b40
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-4f1907e7
"
],{
"
3d3d
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
var
_
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
Drawer
"
,{
staticClass
:
"
class-drawer
"
,
attrs
:{
title
:
"
配置开放时间
"
,
width
:
"
800
"
},
model
:{
value
:
t
.
showDrawer
,
callback
:
function
(
e
){
t
.
showDrawer
=
e
},
expression
:
"
showDrawer
"
}},[
a
(
"
div
"
,{
staticStyle
:{
"
margin-top
"
:
"
20px
"
}},[
a
(
"
Card
"
,{
attrs
:{
"
dis-hover
"
:
""
}},[
a
(
"
Row
"
,{
staticStyle
:{
"
margin-bottom
"
:
"
10px
"
,
padding
:
"
12px 0
"
,
"
background-color
"
:
"
#f6f6f6
"
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
"
14
"
}},[
t
.
_v
(
"
开放范围限制
"
)])],
1
),
a
(
"
Row
"
,{
staticStyle
:{
"
margin-bottom
"
:
"
10px
"
}},
t
.
_l
(
t
.
formData
.
time
,(
function
(
e
,
_
){
return
a
(
"
Col
"
,{
key
:
_
,
staticStyle
:{
"
margin-bottom
"
:
"
10px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
},
attrs
:{
span
:
"
24
"
}},[
a
(
"
TimePicker
"
,{
staticStyle
:{
width
:
"
240px
"
},
attrs
:{
clearable
:
!
1
,
format
:
"
HH:mm
"
,
placeholder
:
"
未设置
"
,
placement
:
"
bottom-end
"
,
type
:
"
timerange
"
},
on
:{
"
on-change
"
:
function
(
a
){
return
t
.
onChangeTimeTable
(
a
,
e
,
_
)},
"
on-open-change
"
:
function
(
a
){
return
t
.
onOpenChangeTimeTable
(
a
,
e
,
_
)}},
model
:{
value
:
e
.
timeRange
,
callback
:
function
(
a
){
t
.
$set
(
e
,
"
timeRange
"
,
a
)},
expression
:
"
item.timeRange
"
}}),
t
.
_v
(
"
\n
可预约座位
\n
"
),
a
(
"
div
"
,{
staticStyle
:{
"
margin-left
"
:
"
auto
"
}},[
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
title
:
"
是否继续该操作?
"
},
on
:{
"
on-ok
"
:
function
(){
t
.
formData
.
time
.
splice
(
_
,
1
)},
"
on-cancel
"
:
function
(
t
){}}},[
a
(
"
Button
"
,{
attrs
:{
icon
:
"
ios-close
"
,
shape
:
"
circle
"
}})],
1
)],
1
)],
1
)})),
1
),
a
(
"
Row
"
,{
staticStyle
:{
"
margin-bottom
"
:
"
10px
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
200px
"
},
attrs
:{
icon
:
"
ios-add
"
,
type
:
"
dashed
"
},
on
:{
click
:
function
(
e
){
return
t
.
formData
.
time
.
push
({
begin
:
""
,
end
:
""
})}}},[
t
.
_v
(
"
\n
添加时间
\n
"
)])],
1
)],
1
)],
1
),
a
(
"
div
"
,{
staticClass
:
"
drawer-footer
"
},[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
8px
"
},
on
:{
click
:
function
(
e
){
t
.
showDrawer
=!
1
}}},[
t
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
save
}},[
t
.
_v
(
"
保存
"
)])],
1
)]),
a
(
"
div
"
,{
staticClass
:
"
mainDiv
"
},[
a
(
"
Card
"
,{
staticClass
:
"
bigCard
"
,
attrs
:{
title
:
"
活动时间
"
}},[
a
(
"
Form
"
,{
attrs
:{
"
label-colon
"
:
""
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
默认开方区间
"
}},[
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns3
,
data
:
t
.
workDayData
,
border
:
""
,
size
:
"
small
"
},
on
:{
"
on-select
"
:
t
.
workDaySelect
,
"
on-select-cancel
"
:
t
.
workDayCancel
,
"
on-select-all
"
:
t
.
workDaySelectAll
,
"
on-select-all-cancel
"
:
t
.
workDayCancelAll
},
scopedSlots
:
t
.
_u
([{
key
:
"
time
"
,
fn
:
function
(
e
){
var
_
=
e
.
row
;
e
.
index
;
return
t
.
_l
(
_
.
time
,(
function
(
e
,
_
){
return
a
(
"
Tag
"
,{
key
:
_
,
staticStyle
:{
"
margin-right
"
:
"
5px
"
},
attrs
:{
color
:
"
blue
"
}},[
t
.
_v
(
t
.
_s
(
e
)
+
"
\n
"
)])}))}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
_
=
e
.
row
,
o
=
e
.
index
;
return
[
a
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
openClass
(
_
,
o
)}}},[
t
.
_v
(
"
配置
"
)])]}}])})],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
房间间隔时间段
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
time_split_occupyseat
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
time_split_occupyseat
"
,
e
)},
expression
:
"
configData.time_split_occupyseat
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
15
"
}},[
t
.
_v
(
"
15分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
30
"
}},[
t
.
_v
(
"
30分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
60
"
}},[
t
.
_v
(
"
60分钟
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
60px
"
},
model
:{
value
:
t
.
configData
.
time_split_occupyseat
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
time_split_occupyseat
"
,
e
)},
expression
:
"
configData.time_split_occupyseat
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
分钟
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
staticStyle
:{
"
text-align
"
:
"
right
"
},
attrs
:{
span
:
"
24
"
}},[
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveBt
([
"
service_interval_time_occupyseat
"
,
"
time_split_occupyseat
"
])}}},[
t
.
_v
(
"
\n
保存
\n
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
div
"
,{
staticClass
:
"
bigCard kjyyCard
"
,
staticStyle
:{
display
:
"
flex
"
,
"
align-content
"
:
"
space-between
"
,
"
flex-wrap
"
:
"
wrap
"
},
attrs
:{
title
:
""
}},[
a
(
"
Card
"
,{
staticClass
:
"
smallCard cplhsCard
"
,
staticStyle
:{
width
:
"
100%
"
,
height
:
"
48.3%
"
},
attrs
:{
title
:
"
签到时间设置(座位开始时间的前后N范围内)
"
}},[
a
(
"
Form
"
,{
attrs
:{
"
label-colon
"
:
""
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
签到最晚时间
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
sign_in_time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
sign_in_time
"
,
e
)},
expression
:
"
configData.sign_in_time
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
5
"
}},[
t
.
_v
(
"
5分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
10
"
}},[
t
.
_v
(
"
10分钟
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
60px
"
},
model
:{
value
:
t
.
configData
.
sign_in_time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
sign_in_time
"
,
e
)},
expression
:
"
configData.sign_in_time
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
分钟
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
签退最晚时间
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
sign_out_time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
sign_out_time
"
,
e
)},
expression
:
"
configData.sign_out_time
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
5
"
}},[
t
.
_v
(
"
5分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
10
"
}},[
t
.
_v
(
"
10分钟
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
60px
"
},
model
:{
value
:
t
.
configData
.
sign_out_time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
sign_out_time
"
,
e
)},
expression
:
"
configData.sign_out_time
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
分钟
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
staticStyle
:{
"
text-align
"
:
"
right
"
},
attrs
:{
span
:
"
24
"
}},[
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveBt
([
"
sign_in_time
"
,
"
sign_out_time
"
])}}},[
t
.
_v
(
"
保存
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Card
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
48.3%
"
},
attrs
:{
title
:
"
使用前后提醒时间/分钟
"
}},[
a
(
"
Form
"
,{
attrs
:{
"
label-colon
"
:
""
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
使用开始前提醒
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
before_use_occupyseat
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
before_use_occupyseat
"
,
e
)},
expression
:
"
configData.before_use_occupyseat
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
10
"
}},[
t
.
_v
(
"
10分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
20
"
}},[
t
.
_v
(
"
20分钟
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
60px
"
},
model
:{
value
:
t
.
configData
.
before_use_occupyseat
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
before_use_occupyseat
"
,
e
)},
expression
:
"
configData.before_use_occupyseat
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
分钟
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
结束开始前提醒
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
end_use_occupyseat
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
end_use_occupyseat
"
,
e
)},
expression
:
"
configData.end_use_occupyseat
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
10
"
}},[
t
.
_v
(
"
10分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
20
"
}},[
t
.
_v
(
"
20分钟
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
60px
"
},
model
:{
value
:
t
.
configData
.
end_use_occupyseat
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
end_use_occupyseat
"
,
e
)},
expression
:
"
configData.end_use_occupyseat
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
分钟
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
staticClass
:
"
flexBetWeen
"
,
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
},
attrs
:{
span
:
"
24
"
}},[
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveBt
([
"
before_use_occupyseat
"
,
"
end_use_occupyseat
"
])}}},[
t
.
_v
(
"
保存
"
)])],
1
)],
1
)],
1
)],
1
)],
1
),
a
(
"
Card
"
,{
staticClass
:
"
smallCard cplhsCard
"
,
attrs
:{
title
:
"
座位占座时段限制
"
}},[
a
(
"
Form
"
,{
attrs
:{
"
label-colon
"
:
""
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
占用最小时段
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
occupyseat_min
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
occupyseat_min
"
,
e
)},
expression
:
"
configData.occupyseat_min
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
1
"
}},[
t
.
_v
(
"
1小时
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
2
"
}},[
t
.
_v
(
"
2小时
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
60px
"
},
model
:{
value
:
t
.
configData
.
occupyseat_min
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
occupyseat_min
"
,
e
)},
expression
:
"
configData.occupyseat_min
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
小时
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
占用最大时段
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
occupyseat_max
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
occupyseat_max
"
,
e
)},
expression
:
"
configData.occupyseat_max
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
2
"
}},[
t
.
_v
(
"
2小时
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
4
"
}},[
t
.
_v
(
"
4小时
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
60px
"
},
model
:{
value
:
t
.
configData
.
occupyseat_max
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
occupyseat_max
"
,
e
)},
expression
:
"
configData.occupyseat_max
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
小时
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
staticStyle
:{
"
text-align
"
:
"
right
"
},
attrs
:{
span
:
"
24
"
}},[
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveBt
([
"
occupyseat_min
"
,
"
occupyseat_max
"
])}}},[
t
.
_v
(
"
保存
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Card
"
,{
staticClass
:
"
smallCard cplhsCard
"
,
attrs
:{
title
:
"
暂离时长/分钟
"
}},[
a
(
"
Form
"
,{
attrs
:{
"
label-colon
"
:
""
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
时间设置
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
leave_time_sys
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
leave_time_sys
"
,
e
)},
expression
:
"
configData.leave_time_sys
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
10
"
}},[
t
.
_v
(
"
10分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
20
"
}},[
t
.
_v
(
"
20分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
30
"
}},[
t
.
_v
(
"
30分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
60
"
}},[
t
.
_v
(
"
60分钟
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
80px
"
},
attrs
:{
clearable
:
""
,
icon
:
"
ios-clock-outline
"
},
model
:{
value
:
t
.
configData
.
leave_time_sys
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
leave_time_sys
"
,
e
)},
expression
:
"
configData.leave_time_sys
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
分钟
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
div
"
,{
staticClass
:
"
flexBetWeen
"
},[
a
(
"
span
"
,{
directives
:[{
name
:
"
prompt-text-color
"
,
rawName
:
"
v-prompt-text-color
"
}]},[
t
.
_v
(
"
提示:占座状态为“暂离”时间设置,超出则移除占座
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
auto
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveBt
([
"
leave_time_sys
"
])}}},[
t
.
_v
(
"
保存
"
)])],
1
)])],
1
)],
1
)],
1
),
a
(
"
Card
"
,{
staticClass
:
"
smallCard cplhsCard
"
,
attrs
:{
title
:
"
允许预约天数
"
}},[
a
(
"
Form
"
,{
attrs
:{
"
label-colon
"
:
""
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
允许预约天数
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
occupyseat_day_max
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
occupyseat_day_max
"
,
e
)},
expression
:
"
configData.occupyseat_day_max
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
1
"
}},[
t
.
_v
(
"
1天
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
3
"
}},[
t
.
_v
(
"
3天
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
5
"
}},[
t
.
_v
(
"
5天
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
7
"
}},[
t
.
_v
(
"
7天
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
80px
"
},
attrs
:{
clearable
:
""
,
icon
:
"
ios-clock-outline
"
},
model
:{
value
:
t
.
configData
.
occupyseat_day_max
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
occupyseat_day_max
"
,
e
)},
expression
:
"
configData.occupyseat_day_max
"
}}),
t
.
_v
(
"
\n
"
)],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
staticStyle
:{
"
text-align
"
:
"
right
"
},
attrs
:{
span
:
"
24
"
}},[
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveBt
([
"
occupyseat_day_max
"
])}}},[
t
.
_v
(
"
保存
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Card
"
,{
staticClass
:
"
smallCard cplhsCard
"
,
attrs
:{
title
:
"
不良记录设置
"
}},[
a
(
"
Form
"
,{
attrs
:{
"
label-colon
"
:
""
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
差评拉黑数
"
}},[
a
(
"
div
"
,[
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
120px
"
},
model
:{
value
:
t
.
configData
.
black_num_occupyseat
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
black_num_occupyseat
"
,
e
)},
expression
:
"
configData.black_num_occupyseat
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
条
"
)])],
1
)])],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
不良记录解除时间
"
}},[
a
(
"
div
"
,[
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
120px
"
},
model
:{
value
:
t
.
configData
.
black_day_occupyseat
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
black_day_occupyseat
"
,
e
)},
expression
:
"
configData.black_day_occupyseat
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
天
"
)])],
1
)])],
1
),
a
(
"
Col
"
,{
staticStyle
:{
"
text-align
"
:
"
right
"
},
attrs
:{
span
:
"
24
"
}},[
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveBt
([
"
black_num_occupyseat
"
,
"
black_day_occupyseat
"
])}}},[
t
.
_v
(
"
保存
"
)])],
1
)],
1
)],
1
)],
1
)],
1
),
a
(
"
CEditModal
"
,{
ref
:
"
ceditmodal
"
,
attrs
:{
formItem
:
t
.
formItem
,
formLabelWidth
:
100
,
loading
:
t
.
fastContentModalLoading
,
width
:
800
},
on
:{
onClose
:
function
(
e
){
t
.
fastContentModalShow
=!
1
}},
model
:{
value
:
t
.
fastContentModalShow
,
callback
:
function
(
e
){
t
.
fastContentModalShow
=
e
},
expression
:
"
fastContentModalShow
"
}})],
1
)},
o
=
[],
n
=
a
(
"
ddcf
"
),
i
=
n
[
"
a
"
],
s
=
(
a
(
"
d4b9
"
),
a
(
"
2877
"
)),
r
=
Object
(
s
[
"
a
"
])(
i
,
_
,
o
,
!
1
,
null
,
"
c7be7686
"
,
null
);
e
[
"
default
"
]
=
r
.
exports
},
6252
:
function
(
t
,
e
,
a
){},
d4b9
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
6252
"
)},
ddcf
:
function
(
module
,
__webpack_exports__
,
__webpack_require__
){
"
use strict
"
;
var
core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__
=
__webpack_require__
(
"
8e6e
"
),
core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default
=
__webpack_require__
.
n
(
core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__
),
core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__
=
__webpack_require__
(
"
ac6a
"
),
core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default
=
__webpack_require__
.
n
(
core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__
),
core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_2__
=
__webpack_require__
(
"
456d
"
),
core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_2___default
=
__webpack_require__
.
n
(
core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_2__
),
regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_3__
=
__webpack_require__
(
"
96cf
"
),
regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_3___default
=
__webpack_require__
.
n
(
regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_3__
),
D_vue_occupancy_management_pc_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__
=
__webpack_require__
(
"
1da1
"
),
D_vue_occupancy_management_pc_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__
=
__webpack_require__
(
"
ade3
"
),
core_js_modules_es7_string_pad_start__WEBPACK_IMPORTED_MODULE_6__
=
__webpack_require__
(
"
f576
"
),
core_js_modules_es7_string_pad_start__WEBPACK_IMPORTED_MODULE_6___default
=
__webpack_require__
.
n
(
core_js_modules_es7_string_pad_start__WEBPACK_IMPORTED_MODULE_6__
),
core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_7__
=
__webpack_require__
(
"
c5f6
"
),
core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_7___default
=
__webpack_require__
.
n
(
core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_7__
),
core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_8__
=
__webpack_require__
(
"
28a5
"
),
core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_8___default
=
__webpack_require__
.
n
(
core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_8__
),
D_vue_occupancy_management_pc_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_9__
=
__webpack_require__
(
"
3835
"
),
_babel_runtime_corejs2_regenerator__WEBPACK_IMPORTED_MODULE_10__
=
__webpack_require__
(
"
967e
"
),
_babel_runtime_corejs2_regenerator__WEBPACK_IMPORTED_MODULE_10___default
=
__webpack_require__
.
n
(
_babel_runtime_corejs2_regenerator__WEBPACK_IMPORTED_MODULE_10__
),
_components_CEditModal_vue__WEBPACK_IMPORTED_MODULE_11__
=
__webpack_require__
(
"
ee00
"
),
lodash__WEBPACK_IMPORTED_MODULE_12__
=
__webpack_require__
(
"
2ef0
"
),
lodash__WEBPACK_IMPORTED_MODULE_12___default
=
__webpack_require__
.
n
(
lodash__WEBPACK_IMPORTED_MODULE_12__
),
_api_controller_index__WEBPACK_IMPORTED_MODULE_13__
=
__webpack_require__
(
"
d02c
"
),
_hook_index__WEBPACK_IMPORTED_MODULE_14__
=
__webpack_require__
(
"
61be
"
);
function
ownKeys
(
t
,
e
){
var
a
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
_
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
_
=
_
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
a
.
push
.
apply
(
a
,
_
)}
return
a
}
function
_objectSpread
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
a
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
ownKeys
(
Object
(
a
),
!
0
).
forEach
((
function
(
e
){
Object
(
D_vue_occupancy_management_pc_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__
[
"
a
"
])(
t
,
e
,
a
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
a
)):
ownKeys
(
Object
(
a
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
a
,
e
))}))}
return
t
}
__webpack_exports__
[
"
a
"
]
=
{
name
:
"
list
"
,
components
:{
CEditModal
:
_components_CEditModal_vue__WEBPACK_IMPORTED_MODULE_11__
[
"
a
"
]},
data
:
function
(){
return
{
formData
:{
time
:[{
begin
:
"
12:00
"
,
end
:
"
15:00
"
},{
begin
:
"
12:00
"
,
end
:
"
15:00
"
}]},
showDrawer
:
!
1
,
columns3
:[{
title
:
"
周数
"
,
width
:
100
,
key
:
"
day
"
},{
title
:
"
开放时间段
"
,
slot
:
"
time
"
,
minWidth
:
410
},{
title
:
"
"
,
slot
:
"
action
"
,
width
:
140
}],
workDayData
:[{
day
:
"
周一
"
,
time
:{}},{
day
:
"
周二
"
,
time
:{}},{
day
:
"
周三
"
,
time
:{}},{
day
:
"
周四
"
,
time
:{}},{
day
:
"
周五
"
,
time
:{}},{
day
:
"
周六
"
,
time
:{}},{
day
:
"
周日
"
,
time
:{}}],
configData
:{
before_use_occupyseat
:
""
,
black_day_occupyseat
:
""
,
black_num_occupyseat
:
0
,
end_use_occupyseat
:
""
,
leave_time_sys
:
""
,
lunch_break_time_occupyseat
:
""
,
occupyseat_day_max
:
""
,
occupyseat_max
:
""
,
occupyseat_min
:
""
,
service_interval_time_occupyseat
:
""
,
sign_in_time
:
""
,
sign_out_time
:
""
,
time_split_occupyseat
:
""
},
fastContentList
:[],
fastContentModalShow
:
!
1
,
fastContentModalLoading
:
!
1
,
fastContentIsEdit
:
!
1
,
formItem
:[{
id
:
"
content
"
,
name
:
"
快捷用语
"
,
type
:
"
input
"
,
disabled
:
!
1
,
require
:
!
1
,
optList
:[]},{
id
:
"
is_enable
"
,
name
:
"
启用
"
,
type
:
"
switch
"
,
disabled
:
!
1
,
require
:
!
1
,
optList
:[]}],
defaultFormData
:{
id
:
""
,
content
:
""
,
createby
:
""
,
createtime
:
""
,
is_enable
:
0
,
is_del
:
0
}}},
directives
:{
promptTextColor
:
function
(
t
,
e
,
a
,
_
){
t
.
style
.
color
=
"
#9AA0AA
"
}},
computed
:{},
created
:
function
(){},
mounted
:
function
(){
this
.
getData
()},
methods
:{
checkTimes
:
function
(
t
,
e
){
function
a
(
t
){
var
e
=
t
.
split
(
"
:
"
).
map
(
Number
),
a
=
Object
(
D_vue_occupancy_management_pc_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_9__
[
"
a
"
])(
e
,
2
),
_
=
a
[
0
],
o
=
a
[
1
];
return
60
*
_
+
o
}
var
_
=
t
.
map
((
function
(
t
){
var
e
=
t
.
split
(
"
~
"
).
map
(
a
),
_
=
Object
(
D_vue_occupancy_management_pc_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_9__
[
"
a
"
])(
e
,
2
),
o
=
_
[
0
],
n
=
_
[
1
];
return
{
start
:
o
,
end
:
n
}})),
o
=
e
.
map
(
a
),
n
=
o
.
every
((
function
(
t
){
return
_
.
every
((
function
(
e
){
var
a
=
e
.
end
;
return
t
>
a
}))})),
i
=
o
.
every
((
function
(
t
){
return
_
.
every
((
function
(
e
){
var
a
=
e
.
start
;
return
t
<
a
}))})),
s
=
o
.
every
((
function
(
t
){
return
_
.
every
((
function
(
e
){
var
a
=
e
.
start
,
_
=
e
.
end
;
return
t
<
a
||
t
>
_
}))}));
return
n
||
i
||
s
},
onOpenChangeTimeTable
:
function
(
t
,
e
,
a
){
if
(
console
.
log
(
"
🚀🚀event, item, index🚀,
"
,
t
,
e
,
a
),
!
t
){
var
_
=
this
.
formData
.
time
.
map
((
function
(
t
){
return
t
.
timeRange
.
join
(
"
~
"
)}));
-
1
!==
_
.
indexOf
(
e
.
timeRange
.
join
(
"
~
"
))
&&
_
.
splice
(
_
.
indexOf
(
e
.
timeRange
.
join
(
"
~
"
)),
1
),
this
.
checkTimes
(
_
,
e
.
timeRange
)
||
(
this
.
formData
.
time
.
splice
(
a
,
1
),
this
.
$Message
.
error
(
"
配置时间重叠,请重新配置时间
"
))}},
onChangeTimeTable
:
function
(
t
,
e
,
a
){},
save
:
function
(){
var
t
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
this
.
formData
);
var
e
=
lodash__WEBPACK_IMPORTED_MODULE_12___default
.
a
.
cloneDeep
(
this
.
workDayData
);
function
a
(
t
){
return
t
.
map
((
function
(
t
){
return
t
.
timeRange
.
join
(
"
~
"
)}))}
var
_
=
{
"
周一
"
:
function
(){
return
e
[
0
].
time
=
a
(
t
.
formData
.
time
)},
"
周二
"
:
function
(){
return
e
[
1
].
time
=
a
(
t
.
formData
.
time
)},
"
周三
"
:
function
(){
return
e
[
2
].
time
=
a
(
t
.
formData
.
time
)},
"
周四
"
:
function
(){
return
e
[
3
].
time
=
a
(
t
.
formData
.
time
)},
"
周五
"
:
function
(){
return
e
[
4
].
time
=
a
(
t
.
formData
.
time
)},
"
周六
"
:
function
(){
return
e
[
5
].
time
=
a
(
t
.
formData
.
time
)},
"
周日
"
:
function
(){
return
e
[
6
].
time
=
a
(
t
.
formData
.
time
)}};
_
[
this
.
formData
.
day
]();
var
o
=
{
one
:
e
[
0
].
time
,
two
:
e
[
1
].
time
,
three
:
e
[
2
].
time
,
four
:
e
[
3
].
time
,
five
:
e
[
4
].
time
,
six
:
e
[
5
].
time
,
seven
:
e
[
6
].
time
};
console
.
log
(
"
🚀🚀data🚀,
"
,
o
),
_hook_index__WEBPACK_IMPORTED_MODULE_14__
[
"
myEncapsulationFunction
"
]((
function
(){
return
t
.
asc
.
postApiSysConfigGetSysConfigSave
({
id
:
"
service_interval_time_occupyseat
"
,
value
:
JSON
.
stringify
(
o
)}).
then
((
function
(
e
){
return
t
.
showDrawer
=!
1
,
t
.
getData
(),
e
}))}))},
defaultOpeningHours
:
function
defaultOpeningHours
(
noFormatData
){
var
info
=
{
one
:
"
周一
"
,
two
:
"
周二
"
,
three
:
"
周三
"
,
four
:
"
周四
"
,
five
:
"
周五
"
,
six
:
"
周六
"
,
seven
:
"
周日
"
},
data
=
eval
(
"
(
"
+
noFormatData
+
"
)
"
);
console
.
log
(
"
🚀🚀1111🚀,
"
,
data
),
this
.
workDayData
=
[{
day
:
info
[
"
one
"
],
time
:
data
[
"
one
"
]},{
day
:
info
[
"
two
"
],
time
:
data
[
"
two
"
]},{
day
:
info
[
"
three
"
],
time
:
data
[
"
three
"
]},{
day
:
info
[
"
four
"
],
time
:
data
[
"
four
"
]},{
day
:
info
[
"
five
"
],
time
:
data
[
"
five
"
]},{
day
:
info
[
"
six
"
],
time
:
data
[
"
six
"
]},{
day
:
info
[
"
seven
"
],
time
:
data
[
"
seven
"
]}]},
workDaySelect
:
function
(){},
workDayCancel
:
function
(){},
workDaySelectAll
:
function
(){},
workDayCancelAll
:
function
(){},
openClass
:
function
(
t
,
e
){
console
.
log
(
"
🚀🚀🚀,
"
,
t
,
e
),
this
.
formData
=
_objectSpread
(
_objectSpread
({},
t
),{},{
time
:
t
.
time
.
map
((
function
(
t
){
return
{
begin
:
t
.
split
(
"
~
"
)[
0
],
end
:
t
.
split
(
"
~
"
)[
1
],
timeRange
:[
t
.
split
(
"
~
"
)[
0
],
t
.
split
(
"
~
"
)[
1
]]}}))}),
console
.
log
(
"
🚀🚀this.formData🚀,
"
,
this
.
formData
),
this
.
showDrawer
=!
0
},
getData
:
function
(){
var
t
=
this
;
_api_controller_index__WEBPACK_IMPORTED_MODULE_13__
[
"
getApiSysConfigGetSysConfigAll
"
]().
then
((
function
(
e
){
t
.
data
=
e
.
response
.
map
((
function
(
e
){
return
t
.
configData
[
e
.
id
]
=
e
.
value
,
"
service_interval_time_occupyseat
"
===
e
.
id
&&
t
.
defaultOpeningHours
(
e
.
value
),
e
}))}))},
saveBt
:
function
(){
var
t
=
Object
(
D_vue_occupancy_management_pc_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__
[
"
a
"
])(
_babel_runtime_corejs2_regenerator__WEBPACK_IMPORTED_MODULE_10___default
.
a
.
mark
((
function
t
(
e
){
var
a
,
_
,
o
;
return
_babel_runtime_corejs2_regenerator__WEBPACK_IMPORTED_MODULE_10___default
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
a
=
0
;
case
1
:
if
(
!
(
a
<
e
.
length
)){
t
.
next
=
12
;
break
}
return
_
=
{
id
:
e
[
a
],
value
:
this
.
configData
[
e
[
a
]]},
t
.
next
=
5
,
this
.
asc
.
postApiSysConfigGetSysConfigSave
(
_
);
case
5
:
if
(
o
=
t
.
sent
,
1
===
o
.
code
){
t
.
next
=
9
;
break
}
return
this
.
$Message
.
error
(
o
.
msg_detail
),
t
.
abrupt
(
"
return
"
);
case
9
:
a
++
,
t
.
next
=
1
;
break
;
case
12
:
this
.
$Message
.
success
(
"
修改成功
"
);
case
13
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()}}}}]);
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-3cb13739
"
],{
"
3d3d
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
var
_
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
Drawer
"
,{
staticClass
:
"
class-drawer
"
,
attrs
:{
title
:
"
配置开放时间
"
,
width
:
"
800
"
},
model
:{
value
:
t
.
showDrawer
,
callback
:
function
(
e
){
t
.
showDrawer
=
e
},
expression
:
"
showDrawer
"
}},[
a
(
"
div
"
,{
staticStyle
:{
"
margin-top
"
:
"
20px
"
}},[
a
(
"
Card
"
,{
attrs
:{
"
dis-hover
"
:
""
}},[
a
(
"
Row
"
,{
staticStyle
:{
"
margin-bottom
"
:
"
10px
"
,
padding
:
"
12px 0
"
,
"
background-color
"
:
"
#f6f6f6
"
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
"
14
"
}},[
t
.
_v
(
"
开放范围限制
"
)])],
1
),
a
(
"
Row
"
,{
staticStyle
:{
"
margin-bottom
"
:
"
10px
"
}},
t
.
_l
(
t
.
formData
.
time
,(
function
(
e
,
_
){
return
a
(
"
Col
"
,{
key
:
_
,
staticStyle
:{
"
margin-bottom
"
:
"
10px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
},
attrs
:{
span
:
"
24
"
}},[
a
(
"
TimePicker
"
,{
staticStyle
:{
width
:
"
240px
"
},
attrs
:{
clearable
:
!
1
,
format
:
"
HH:mm
"
,
placeholder
:
"
未设置
"
,
placement
:
"
bottom-end
"
,
type
:
"
timerange
"
},
on
:{
"
on-change
"
:
function
(
a
){
return
t
.
onChangeTimeTable
(
a
,
e
,
_
)},
"
on-open-change
"
:
function
(
a
){
return
t
.
onOpenChangeTimeTable
(
a
,
e
,
_
)}},
model
:{
value
:
e
.
timeRange
,
callback
:
function
(
a
){
t
.
$set
(
e
,
"
timeRange
"
,
a
)},
expression
:
"
item.timeRange
"
}}),
t
.
_v
(
"
\n
可预约座位
\n
"
),
a
(
"
div
"
,{
staticStyle
:{
"
margin-left
"
:
"
auto
"
}},[
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
title
:
"
是否继续该操作?
"
},
on
:{
"
on-ok
"
:
function
(){
t
.
formData
.
time
.
splice
(
_
,
1
)},
"
on-cancel
"
:
function
(
t
){}}},[
a
(
"
Button
"
,{
attrs
:{
icon
:
"
ios-close
"
,
shape
:
"
circle
"
}})],
1
)],
1
)],
1
)})),
1
),
a
(
"
Row
"
,{
staticStyle
:{
"
margin-bottom
"
:
"
10px
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
200px
"
},
attrs
:{
icon
:
"
ios-add
"
,
type
:
"
dashed
"
},
on
:{
click
:
function
(
e
){
return
t
.
formData
.
time
.
push
({
begin
:
""
,
end
:
""
})}}},[
t
.
_v
(
"
\n
添加时间
\n
"
)])],
1
)],
1
)],
1
),
a
(
"
div
"
,{
staticClass
:
"
drawer-footer
"
},[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
8px
"
},
on
:{
click
:
function
(
e
){
t
.
showDrawer
=!
1
}}},[
t
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
save
}},[
t
.
_v
(
"
保存
"
)])],
1
)]),
a
(
"
div
"
,{
staticClass
:
"
mainDiv
"
},[
a
(
"
Card
"
,{
staticClass
:
"
bigCard
"
,
attrs
:{
title
:
"
活动时间
"
}},[
a
(
"
Form
"
,{
attrs
:{
"
label-colon
"
:
""
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
默认开放区间
"
}},[
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns3
,
data
:
t
.
workDayData
,
border
:
""
,
size
:
"
small
"
},
on
:{
"
on-select
"
:
t
.
workDaySelect
,
"
on-select-cancel
"
:
t
.
workDayCancel
,
"
on-select-all
"
:
t
.
workDaySelectAll
,
"
on-select-all-cancel
"
:
t
.
workDayCancelAll
},
scopedSlots
:
t
.
_u
([{
key
:
"
time
"
,
fn
:
function
(
e
){
var
_
=
e
.
row
;
e
.
index
;
return
t
.
_l
(
_
.
time
,(
function
(
e
,
_
){
return
a
(
"
Tag
"
,{
key
:
_
,
staticStyle
:{
"
margin-right
"
:
"
5px
"
},
attrs
:{
color
:
"
blue
"
}},[
t
.
_v
(
t
.
_s
(
e
)
+
"
\n
"
)])}))}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
_
=
e
.
row
,
o
=
e
.
index
;
return
[
a
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
openClass
(
_
,
o
)}}},[
t
.
_v
(
"
配置
"
)])]}}])})],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
房间间隔时间段
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
time_split_occupyseat
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
time_split_occupyseat
"
,
e
)},
expression
:
"
configData.time_split_occupyseat
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
15
"
}},[
t
.
_v
(
"
15分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
30
"
}},[
t
.
_v
(
"
30分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
60
"
}},[
t
.
_v
(
"
60分钟
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
60px
"
},
model
:{
value
:
t
.
configData
.
time_split_occupyseat
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
time_split_occupyseat
"
,
e
)},
expression
:
"
configData.time_split_occupyseat
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
分钟
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
staticStyle
:{
"
text-align
"
:
"
right
"
},
attrs
:{
span
:
"
24
"
}},[
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveBt
([
"
service_interval_time_occupyseat
"
,
"
time_split_occupyseat
"
])}}},[
t
.
_v
(
"
\n
保存
\n
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
div
"
,{
staticClass
:
"
bigCard kjyyCard
"
,
staticStyle
:{
display
:
"
flex
"
,
"
align-content
"
:
"
space-between
"
,
"
flex-wrap
"
:
"
wrap
"
},
attrs
:{
title
:
""
}},[
a
(
"
Card
"
,{
staticClass
:
"
smallCard cplhsCard
"
,
staticStyle
:{
width
:
"
100%
"
,
height
:
"
48.3%
"
},
attrs
:{
title
:
"
签到时间设置(座位开始时间的前后N范围内)
"
}},[
a
(
"
Form
"
,{
attrs
:{
"
label-colon
"
:
""
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
签到最晚时间
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
sign_in_time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
sign_in_time
"
,
e
)},
expression
:
"
configData.sign_in_time
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
5
"
}},[
t
.
_v
(
"
5分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
10
"
}},[
t
.
_v
(
"
10分钟
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
60px
"
},
model
:{
value
:
t
.
configData
.
sign_in_time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
sign_in_time
"
,
e
)},
expression
:
"
configData.sign_in_time
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
分钟
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
签退最晚时间
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
sign_out_time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
sign_out_time
"
,
e
)},
expression
:
"
configData.sign_out_time
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
5
"
}},[
t
.
_v
(
"
5分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
10
"
}},[
t
.
_v
(
"
10分钟
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
60px
"
},
model
:{
value
:
t
.
configData
.
sign_out_time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
sign_out_time
"
,
e
)},
expression
:
"
configData.sign_out_time
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
分钟
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
staticStyle
:{
"
text-align
"
:
"
right
"
},
attrs
:{
span
:
"
24
"
}},[
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveBt
([
"
sign_in_time
"
,
"
sign_out_time
"
])}}},[
t
.
_v
(
"
保存
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Card
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
48.3%
"
},
attrs
:{
title
:
"
使用前后提醒时间/分钟
"
}},[
a
(
"
Form
"
,{
attrs
:{
"
label-colon
"
:
""
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
使用开始前提醒
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
before_use_occupyseat
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
before_use_occupyseat
"
,
e
)},
expression
:
"
configData.before_use_occupyseat
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
10
"
}},[
t
.
_v
(
"
10分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
20
"
}},[
t
.
_v
(
"
20分钟
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
60px
"
},
model
:{
value
:
t
.
configData
.
before_use_occupyseat
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
before_use_occupyseat
"
,
e
)},
expression
:
"
configData.before_use_occupyseat
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
分钟
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
结束开始前提醒
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
end_use_occupyseat
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
end_use_occupyseat
"
,
e
)},
expression
:
"
configData.end_use_occupyseat
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
10
"
}},[
t
.
_v
(
"
10分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
20
"
}},[
t
.
_v
(
"
20分钟
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
60px
"
},
model
:{
value
:
t
.
configData
.
end_use_occupyseat
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
end_use_occupyseat
"
,
e
)},
expression
:
"
configData.end_use_occupyseat
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
分钟
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
staticClass
:
"
flexBetWeen
"
,
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
},
attrs
:{
span
:
"
24
"
}},[
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveBt
([
"
before_use_occupyseat
"
,
"
end_use_occupyseat
"
])}}},[
t
.
_v
(
"
保存
"
)])],
1
)],
1
)],
1
)],
1
)],
1
),
a
(
"
Card
"
,{
staticClass
:
"
smallCard cplhsCard
"
,
attrs
:{
title
:
"
座位占座时段限制
"
}},[
a
(
"
Form
"
,{
attrs
:{
"
label-colon
"
:
""
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
占用最小时段
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
occupyseat_min
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
occupyseat_min
"
,
e
)},
expression
:
"
configData.occupyseat_min
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
1
"
}},[
t
.
_v
(
"
1小时
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
2
"
}},[
t
.
_v
(
"
2小时
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
60px
"
},
model
:{
value
:
t
.
configData
.
occupyseat_min
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
occupyseat_min
"
,
e
)},
expression
:
"
configData.occupyseat_min
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
小时
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
占用最大时段
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
occupyseat_max
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
occupyseat_max
"
,
e
)},
expression
:
"
configData.occupyseat_max
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
2
"
}},[
t
.
_v
(
"
2小时
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
4
"
}},[
t
.
_v
(
"
4小时
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
60px
"
},
model
:{
value
:
t
.
configData
.
occupyseat_max
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
occupyseat_max
"
,
e
)},
expression
:
"
configData.occupyseat_max
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
小时
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
staticStyle
:{
"
text-align
"
:
"
right
"
},
attrs
:{
span
:
"
24
"
}},[
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveBt
([
"
occupyseat_min
"
,
"
occupyseat_max
"
])}}},[
t
.
_v
(
"
保存
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Card
"
,{
staticClass
:
"
smallCard cplhsCard
"
,
attrs
:{
title
:
"
暂离时长/分钟
"
}},[
a
(
"
Form
"
,{
attrs
:{
"
label-colon
"
:
""
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
时间设置
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
leave_time_sys
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
leave_time_sys
"
,
e
)},
expression
:
"
configData.leave_time_sys
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
10
"
}},[
t
.
_v
(
"
10分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
20
"
}},[
t
.
_v
(
"
20分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
30
"
}},[
t
.
_v
(
"
30分钟
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
60
"
}},[
t
.
_v
(
"
60分钟
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
80px
"
},
attrs
:{
clearable
:
""
,
icon
:
"
ios-clock-outline
"
},
model
:{
value
:
t
.
configData
.
leave_time_sys
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
leave_time_sys
"
,
e
)},
expression
:
"
configData.leave_time_sys
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
分钟
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
div
"
,{
staticClass
:
"
flexBetWeen
"
},[
a
(
"
span
"
,{
directives
:[{
name
:
"
prompt-text-color
"
,
rawName
:
"
v-prompt-text-color
"
}]},[
t
.
_v
(
"
提示:占座状态为“暂离”时间设置,超出则移除占座
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
auto
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveBt
([
"
leave_time_sys
"
])}}},[
t
.
_v
(
"
保存
"
)])],
1
)])],
1
)],
1
)],
1
),
a
(
"
Card
"
,{
staticClass
:
"
smallCard cplhsCard
"
,
attrs
:{
title
:
"
允许预约天数
"
}},[
a
(
"
Form
"
,{
attrs
:{
"
label-colon
"
:
""
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
允许预约天数
"
}},[
a
(
"
RadioGroup
"
,{
staticClass
:
"
roomOpeningHours
"
,
model
:{
value
:
t
.
configData
.
occupyseat_day_max
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
occupyseat_day_max
"
,
e
)},
expression
:
"
configData.occupyseat_day_max
"
}},[
a
(
"
Radio
"
,{
attrs
:{
label
:
"
1
"
}},[
t
.
_v
(
"
1天
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
3
"
}},[
t
.
_v
(
"
3天
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
5
"
}},[
t
.
_v
(
"
5天
"
)]),
a
(
"
Radio
"
,{
attrs
:{
label
:
"
7
"
}},[
t
.
_v
(
"
7天
"
)]),
a
(
"
div
"
,[
a
(
"
span
"
,[
t
.
_v
(
"
自定义:
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
80px
"
},
attrs
:{
clearable
:
""
,
icon
:
"
ios-clock-outline
"
},
model
:{
value
:
t
.
configData
.
occupyseat_day_max
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
occupyseat_day_max
"
,
e
)},
expression
:
"
configData.occupyseat_day_max
"
}}),
t
.
_v
(
"
\n
"
)],
1
)],
1
)],
1
)],
1
),
a
(
"
Col
"
,{
staticStyle
:{
"
text-align
"
:
"
right
"
},
attrs
:{
span
:
"
24
"
}},[
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveBt
([
"
occupyseat_day_max
"
])}}},[
t
.
_v
(
"
保存
"
)])],
1
)],
1
)],
1
)],
1
),
a
(
"
Card
"
,{
staticClass
:
"
smallCard cplhsCard
"
,
attrs
:{
title
:
"
不良记录设置
"
}},[
a
(
"
Form
"
,{
attrs
:{
"
label-colon
"
:
""
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
差评拉黑数
"
}},[
a
(
"
div
"
,[
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
120px
"
},
model
:{
value
:
t
.
configData
.
black_num_occupyseat
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
black_num_occupyseat
"
,
e
)},
expression
:
"
configData.black_num_occupyseat
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
条
"
)])],
1
)])],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
不良记录解除时间
"
}},[
a
(
"
div
"
,[
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
120px
"
},
model
:{
value
:
t
.
configData
.
black_day_occupyseat
,
callback
:
function
(
e
){
t
.
$set
(
t
.
configData
,
"
black_day_occupyseat
"
,
e
)},
expression
:
"
configData.black_day_occupyseat
"
}}),
t
.
_v
(
"
\n
"
),
a
(
"
span
"
,[
t
.
_v
(
"
天
"
)])],
1
)])],
1
),
a
(
"
Col
"
,{
staticStyle
:{
"
text-align
"
:
"
right
"
},
attrs
:{
span
:
"
24
"
}},[
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
saveBt
([
"
black_num_occupyseat
"
,
"
black_day_occupyseat
"
])}}},[
t
.
_v
(
"
保存
"
)])],
1
)],
1
)],
1
)],
1
)],
1
),
a
(
"
CEditModal
"
,{
ref
:
"
ceditmodal
"
,
attrs
:{
formItem
:
t
.
formItem
,
formLabelWidth
:
100
,
loading
:
t
.
fastContentModalLoading
,
width
:
800
},
on
:{
onClose
:
function
(
e
){
t
.
fastContentModalShow
=!
1
}},
model
:{
value
:
t
.
fastContentModalShow
,
callback
:
function
(
e
){
t
.
fastContentModalShow
=
e
},
expression
:
"
fastContentModalShow
"
}})],
1
)},
o
=
[],
n
=
a
(
"
ddcf
"
),
i
=
n
[
"
a
"
],
s
=
(
a
(
"
aaec
"
),
a
(
"
2877
"
)),
r
=
Object
(
s
[
"
a
"
])(
i
,
_
,
o
,
!
1
,
null
,
"
b23023d0
"
,
null
);
e
[
"
default
"
]
=
r
.
exports
},
7427
:
function
(
t
,
e
,
a
){},
aaec
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
7427
"
)},
ddcf
:
function
(
module
,
__webpack_exports__
,
__webpack_require__
){
"
use strict
"
;
var
core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__
=
__webpack_require__
(
"
8e6e
"
),
core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default
=
__webpack_require__
.
n
(
core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__
),
core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__
=
__webpack_require__
(
"
ac6a
"
),
core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default
=
__webpack_require__
.
n
(
core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__
),
core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_2__
=
__webpack_require__
(
"
456d
"
),
core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_2___default
=
__webpack_require__
.
n
(
core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_2__
),
regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_3__
=
__webpack_require__
(
"
96cf
"
),
regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_3___default
=
__webpack_require__
.
n
(
regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_3__
),
D_vue_occupancy_management_pc_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__
=
__webpack_require__
(
"
1da1
"
),
D_vue_occupancy_management_pc_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__
=
__webpack_require__
(
"
ade3
"
),
core_js_modules_es7_string_pad_start__WEBPACK_IMPORTED_MODULE_6__
=
__webpack_require__
(
"
f576
"
),
core_js_modules_es7_string_pad_start__WEBPACK_IMPORTED_MODULE_6___default
=
__webpack_require__
.
n
(
core_js_modules_es7_string_pad_start__WEBPACK_IMPORTED_MODULE_6__
),
core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_7__
=
__webpack_require__
(
"
c5f6
"
),
core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_7___default
=
__webpack_require__
.
n
(
core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_7__
),
core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_8__
=
__webpack_require__
(
"
28a5
"
),
core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_8___default
=
__webpack_require__
.
n
(
core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_8__
),
D_vue_occupancy_management_pc_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_9__
=
__webpack_require__
(
"
3835
"
),
_babel_runtime_corejs2_regenerator__WEBPACK_IMPORTED_MODULE_10__
=
__webpack_require__
(
"
967e
"
),
_babel_runtime_corejs2_regenerator__WEBPACK_IMPORTED_MODULE_10___default
=
__webpack_require__
.
n
(
_babel_runtime_corejs2_regenerator__WEBPACK_IMPORTED_MODULE_10__
),
_components_CEditModal_vue__WEBPACK_IMPORTED_MODULE_11__
=
__webpack_require__
(
"
ee00
"
),
lodash__WEBPACK_IMPORTED_MODULE_12__
=
__webpack_require__
(
"
2ef0
"
),
lodash__WEBPACK_IMPORTED_MODULE_12___default
=
__webpack_require__
.
n
(
lodash__WEBPACK_IMPORTED_MODULE_12__
),
_api_controller_index__WEBPACK_IMPORTED_MODULE_13__
=
__webpack_require__
(
"
d02c
"
),
_hook_index__WEBPACK_IMPORTED_MODULE_14__
=
__webpack_require__
(
"
61be
"
);
function
ownKeys
(
t
,
e
){
var
a
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
_
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
_
=
_
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
a
.
push
.
apply
(
a
,
_
)}
return
a
}
function
_objectSpread
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
a
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
ownKeys
(
Object
(
a
),
!
0
).
forEach
((
function
(
e
){
Object
(
D_vue_occupancy_management_pc_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__
[
"
a
"
])(
t
,
e
,
a
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
a
)):
ownKeys
(
Object
(
a
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
a
,
e
))}))}
return
t
}
__webpack_exports__
[
"
a
"
]
=
{
name
:
"
list
"
,
components
:{
CEditModal
:
_components_CEditModal_vue__WEBPACK_IMPORTED_MODULE_11__
[
"
a
"
]},
data
:
function
(){
return
{
formData
:{
time
:[{
begin
:
"
12:00
"
,
end
:
"
15:00
"
},{
begin
:
"
12:00
"
,
end
:
"
15:00
"
}]},
showDrawer
:
!
1
,
columns3
:[{
title
:
"
周数
"
,
width
:
100
,
key
:
"
day
"
},{
title
:
"
开放时间段
"
,
slot
:
"
time
"
,
minWidth
:
410
},{
title
:
"
"
,
slot
:
"
action
"
,
width
:
140
}],
workDayData
:[{
day
:
"
周一
"
,
time
:{}},{
day
:
"
周二
"
,
time
:{}},{
day
:
"
周三
"
,
time
:{}},{
day
:
"
周四
"
,
time
:{}},{
day
:
"
周五
"
,
time
:{}},{
day
:
"
周六
"
,
time
:{}},{
day
:
"
周日
"
,
time
:{}}],
configData
:{
before_use_occupyseat
:
""
,
black_day_occupyseat
:
""
,
black_num_occupyseat
:
0
,
end_use_occupyseat
:
""
,
leave_time_sys
:
""
,
lunch_break_time_occupyseat
:
""
,
occupyseat_day_max
:
""
,
occupyseat_max
:
""
,
occupyseat_min
:
""
,
service_interval_time_occupyseat
:
""
,
sign_in_time
:
""
,
sign_out_time
:
""
,
time_split_occupyseat
:
""
},
fastContentList
:[],
fastContentModalShow
:
!
1
,
fastContentModalLoading
:
!
1
,
fastContentIsEdit
:
!
1
,
formItem
:[{
id
:
"
content
"
,
name
:
"
快捷用语
"
,
type
:
"
input
"
,
disabled
:
!
1
,
require
:
!
1
,
optList
:[]},{
id
:
"
is_enable
"
,
name
:
"
启用
"
,
type
:
"
switch
"
,
disabled
:
!
1
,
require
:
!
1
,
optList
:[]}],
defaultFormData
:{
id
:
""
,
content
:
""
,
createby
:
""
,
createtime
:
""
,
is_enable
:
0
,
is_del
:
0
}}},
directives
:{
promptTextColor
:
function
(
t
,
e
,
a
,
_
){
t
.
style
.
color
=
"
#9AA0AA
"
}},
computed
:{},
created
:
function
(){},
mounted
:
function
(){
this
.
getData
()},
methods
:{
checkTimes
:
function
(
t
,
e
){
function
a
(
t
){
var
e
=
t
.
split
(
"
:
"
).
map
(
Number
),
a
=
Object
(
D_vue_occupancy_management_pc_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_9__
[
"
a
"
])(
e
,
2
),
_
=
a
[
0
],
o
=
a
[
1
];
return
60
*
_
+
o
}
var
_
=
t
.
map
((
function
(
t
){
var
e
=
t
.
split
(
"
~
"
).
map
(
a
),
_
=
Object
(
D_vue_occupancy_management_pc_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_9__
[
"
a
"
])(
e
,
2
),
o
=
_
[
0
],
n
=
_
[
1
];
return
{
start
:
o
,
end
:
n
}})),
o
=
e
.
map
(
a
),
n
=
o
.
every
((
function
(
t
){
return
_
.
every
((
function
(
e
){
var
a
=
e
.
end
;
return
t
>
a
}))})),
i
=
o
.
every
((
function
(
t
){
return
_
.
every
((
function
(
e
){
var
a
=
e
.
start
;
return
t
<
a
}))})),
s
=
o
.
every
((
function
(
t
){
return
_
.
every
((
function
(
e
){
var
a
=
e
.
start
,
_
=
e
.
end
;
return
t
<
a
||
t
>
_
}))}));
return
n
||
i
||
s
},
onOpenChangeTimeTable
:
function
(
t
,
e
,
a
){
if
(
console
.
log
(
"
🚀🚀event, item, index🚀,
"
,
t
,
e
,
a
),
!
t
){
var
_
=
this
.
formData
.
time
.
map
((
function
(
t
){
return
t
.
timeRange
.
join
(
"
~
"
)}));
-
1
!==
_
.
indexOf
(
e
.
timeRange
.
join
(
"
~
"
))
&&
_
.
splice
(
_
.
indexOf
(
e
.
timeRange
.
join
(
"
~
"
)),
1
),
this
.
checkTimes
(
_
,
e
.
timeRange
)
||
(
this
.
formData
.
time
.
splice
(
a
,
1
),
this
.
$Message
.
error
(
"
配置时间重叠,请重新配置时间
"
))}},
onChangeTimeTable
:
function
(
t
,
e
,
a
){},
save
:
function
(){
var
t
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
this
.
formData
);
var
e
=
lodash__WEBPACK_IMPORTED_MODULE_12___default
.
a
.
cloneDeep
(
this
.
workDayData
);
function
a
(
t
){
return
t
.
map
((
function
(
t
){
return
t
.
timeRange
.
join
(
"
~
"
)}))}
var
_
=
{
"
周一
"
:
function
(){
return
e
[
0
].
time
=
a
(
t
.
formData
.
time
)},
"
周二
"
:
function
(){
return
e
[
1
].
time
=
a
(
t
.
formData
.
time
)},
"
周三
"
:
function
(){
return
e
[
2
].
time
=
a
(
t
.
formData
.
time
)},
"
周四
"
:
function
(){
return
e
[
3
].
time
=
a
(
t
.
formData
.
time
)},
"
周五
"
:
function
(){
return
e
[
4
].
time
=
a
(
t
.
formData
.
time
)},
"
周六
"
:
function
(){
return
e
[
5
].
time
=
a
(
t
.
formData
.
time
)},
"
周日
"
:
function
(){
return
e
[
6
].
time
=
a
(
t
.
formData
.
time
)}};
_
[
this
.
formData
.
day
]();
var
o
=
{
one
:
e
[
0
].
time
,
two
:
e
[
1
].
time
,
three
:
e
[
2
].
time
,
four
:
e
[
3
].
time
,
five
:
e
[
4
].
time
,
six
:
e
[
5
].
time
,
seven
:
e
[
6
].
time
};
console
.
log
(
"
🚀🚀data🚀,
"
,
o
),
_hook_index__WEBPACK_IMPORTED_MODULE_14__
[
"
myEncapsulationFunction
"
]((
function
(){
return
t
.
asc
.
postApiSysConfigGetSysConfigSave
({
id
:
"
service_interval_time_occupyseat
"
,
value
:
JSON
.
stringify
(
o
)}).
then
((
function
(
e
){
return
t
.
showDrawer
=!
1
,
t
.
getData
(),
e
}))}))},
defaultOpeningHours
:
function
defaultOpeningHours
(
noFormatData
){
var
info
=
{
one
:
"
周一
"
,
two
:
"
周二
"
,
three
:
"
周三
"
,
four
:
"
周四
"
,
five
:
"
周五
"
,
six
:
"
周六
"
,
seven
:
"
周日
"
},
data
=
eval
(
"
(
"
+
noFormatData
+
"
)
"
);
console
.
log
(
"
🚀🚀1111🚀,
"
,
data
),
this
.
workDayData
=
[{
day
:
info
[
"
one
"
],
time
:
data
[
"
one
"
]},{
day
:
info
[
"
two
"
],
time
:
data
[
"
two
"
]},{
day
:
info
[
"
three
"
],
time
:
data
[
"
three
"
]},{
day
:
info
[
"
four
"
],
time
:
data
[
"
four
"
]},{
day
:
info
[
"
five
"
],
time
:
data
[
"
five
"
]},{
day
:
info
[
"
six
"
],
time
:
data
[
"
six
"
]},{
day
:
info
[
"
seven
"
],
time
:
data
[
"
seven
"
]}]},
workDaySelect
:
function
(){},
workDayCancel
:
function
(){},
workDaySelectAll
:
function
(){},
workDayCancelAll
:
function
(){},
openClass
:
function
(
t
,
e
){
console
.
log
(
"
🚀🚀🚀,
"
,
t
,
e
),
this
.
formData
=
_objectSpread
(
_objectSpread
({},
t
),{},{
time
:
t
.
time
.
map
((
function
(
t
){
return
{
begin
:
t
.
split
(
"
~
"
)[
0
],
end
:
t
.
split
(
"
~
"
)[
1
],
timeRange
:[
t
.
split
(
"
~
"
)[
0
],
t
.
split
(
"
~
"
)[
1
]]}}))}),
console
.
log
(
"
🚀🚀this.formData🚀,
"
,
this
.
formData
),
this
.
showDrawer
=!
0
},
getData
:
function
(){
var
t
=
this
;
_api_controller_index__WEBPACK_IMPORTED_MODULE_13__
[
"
getApiSysConfigGetSysConfigAll
"
]().
then
((
function
(
e
){
t
.
data
=
e
.
response
.
map
((
function
(
e
){
return
t
.
configData
[
e
.
id
]
=
e
.
value
,
"
service_interval_time_occupyseat
"
===
e
.
id
&&
t
.
defaultOpeningHours
(
e
.
value
),
e
}))}))},
saveBt
:
function
(){
var
t
=
Object
(
D_vue_occupancy_management_pc_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__
[
"
a
"
])(
_babel_runtime_corejs2_regenerator__WEBPACK_IMPORTED_MODULE_10___default
.
a
.
mark
((
function
t
(
e
){
var
a
,
_
,
o
;
return
_babel_runtime_corejs2_regenerator__WEBPACK_IMPORTED_MODULE_10___default
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
a
=
0
;
case
1
:
if
(
!
(
a
<
e
.
length
)){
t
.
next
=
12
;
break
}
return
_
=
{
id
:
e
[
a
],
value
:
this
.
configData
[
e
[
a
]]},
t
.
next
=
5
,
this
.
asc
.
postApiSysConfigGetSysConfigSave
(
_
);
case
5
:
if
(
o
=
t
.
sent
,
1
===
o
.
code
){
t
.
next
=
9
;
break
}
return
this
.
$Message
.
error
(
o
.
msg_detail
),
t
.
abrupt
(
"
return
"
);
case
9
:
a
++
,
t
.
next
=
1
;
break
;
case
12
:
this
.
$Message
.
success
(
"
修改成功
"
);
case
13
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()}}}}]);
\ No newline at end of file
\ No newline at end of file
src/pages/systemConfiguration/index.vue
浏览文件 @
adeb0b40
...
@@ -372,7 +372,7 @@ export default {
...
@@ -372,7 +372,7 @@ export default {
<Form
label-colon
>
<Form
label-colon
>
<Row>
<Row>
<Col
span=
"24"
>
<Col
span=
"24"
>
<FormItem
label=
"默认开
方
区间"
>
<FormItem
label=
"默认开
放
区间"
>
<!--
<RadioGroup
class=
"roomOpeningHours"
v-model=
"configData.service_interval_time_occupyseat"
>
<!--
<RadioGroup
class=
"roomOpeningHours"
v-model=
"configData.service_interval_time_occupyseat"
>
<Radio
label=
"8:00-12:00"
>
8:00-12:00
</Radio>
<Radio
label=
"8:00-12:00"
>
8:00-12:00
</Radio>
<Radio
label=
"14:00-18:00"
>
14:00-18:00
</Radio>
<Radio
label=
"14:00-18:00"
>
14:00-18:00
</Radio>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录