Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
琼
琼台博物馆小程序Web端
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
琼台博物馆小程序Web端
提交
f6867fbe
提交
f6867fbe
编写于
2月 03, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
v20240202 更新系统配置 富文本框
上级
f57ff512
变更
6
展开全部
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
83 行增加
和
27 行删除
+83
-27
chunk-202ad2ae.cde0aba6.css
dist/css/chunk-202ad2ae.cde0aba6.css
+1
-1
index.html
dist/index.html
+1
-1
app.bc43a21d.js
dist/js/app.bc43a21d.js
+2
-2
chunk-202ad2ae.ec4b2bcc.js
dist/js/chunk-202ad2ae.ec4b2bcc.js
+1
-0
chunk-b5c5face.659b0009.js
dist/js/chunk-b5c5face.659b0009.js
+0
-1
index.vue
src/pages/welcome/index.vue
+78
-22
未找到文件。
dist/css/chunk-
b5c5face.c66f82d
6.css
→
dist/css/chunk-
202ad2ae.cde0aba
6.css
浏览文件 @
f6867fbe
[
data-v-993a7c66
]
.ivu-divider-horizontal
{
display
:
block
;
height
:
0
;
width
:
100%
;
min-width
:
100%
;
margin
:
24px
0
;
clear
:
both
}
.demo-drawer-profile
[
data-v-993a7c66
]
{
font-size
:
14px
}
.demo-drawer-profile
.ivu-col
[
data-v-993a7c66
]
{
margin-bottom
:
12px
}
[
data-v-993a7c66
]
.ivu-card-body
{
padding
:
10px
10px
20px
10px
}
[
data-v-993a7c66
]
.table
{
border-left
:
10px
solid
#fff
;
border-right
:
10px
solid
#fff
;
width
:
100%
}
.HeaderCard
[
data-v-993a7c66
]
{
border-bottom-color
:
#f5efea
;
border-bottom-left-radius
:
0
;
border-bottom-right-radius
:
0
;
border
:
none
;
white-space
:
nowrap
;
border-top-left-radius
:
.5em
;
border-top-right-radius
:
.5em
}
.letf_bottom_border
[
data-v-993a7c66
]
{
border-top-right-radius
:
0
;
border-color
:
#d5c4b9
}
.letf_bottom_border
[
data-v-993a7c66
],
.right_bottom_border
[
data-v-993a7c66
]
{
border-bottom-right-radius
:
0
;
border-bottom-left-radius
:
0
;
background-color
:
#f5efea
;
color
:
#574f44
;
box-shadow
:
0
0
0
0
transparent
}
.right_bottom_border
[
data-v-993a7c66
]
{
border-top-left-radius
:
0
;
border-color
:
#d5c4b9
}
.center_bottom_border
[
data-v-993a7c66
]
{
border-top-right-radius
:
0
;
border-bottom-right-radius
:
0
;
border-top-left-radius
:
0
;
border-bottom-left-radius
:
0
;
background-color
:
#f5efea
;
border-color
:
#d5c4b9
;
color
:
#574f44
;
box-shadow
:
0
0
0
0
transparent
}
[
data-v-993a7c66
]
.ivu-table
th
{
height
:
40px
;
white-space
:
nowrap
;
overflow
:
hidden
;
background-color
:
#f4efea
}
[
data-v-993a7c66
]
.ivu-input
{
display
:
inline-block
;
width
:
100%
;
height
:
32px
;
line-height
:
1.5
;
padding
:
4px
7px
;
font-size
:
14px
;
border
:
1px
solid
#dcdee2
;
border-radius
:
4px
;
color
:
#515a6e
;
background-color
:
#f9f3ef
;
background-image
:
none
;
position
:
relative
;
cursor
:
text
;
transition
:
border
.2s
ease-in-out
,
background
.2s
ease-in-out
,
box-shadow
.2s
ease-in-out
;
border-color
:
#d5c4b9
}
[
data-v-993a7c66
]
.ivu-input
::-webkit-input-placeholder
{
color
:
#d5c4b9
}
[
data-v-993a7c66
]
.ivu-input
::-moz-placeholder
{
color
:
#d5c4b9
}
[
data-v-993a7c66
]
.ivu-input
::-ms-input-placeholder
{
color
:
#d5c4b9
}
.FooterCard
[
data-v-993a7c66
]
{
border-bottom-color
:
#f5efea
;
border-top-left-radius
:
0
;
border-top-right-radius
:
0
;
border-bottom-left-radius
:
.5em
;
border-bottom-right-radius
:
.5em
;
border
:
none
;
white-space
:
nowrap
;
height
:
100px
;
padding
:
15px
0
0
0
}
.FooterCard
[
data-v-993a7c66
]
:hover
{
box-shadow
:
0
0
0
0
transparent
}
[
data-v-993a7c66
]
.ivu-page-next
{
border
:
1.5px
solid
#f5efea
}
.ivu-page-item-jump-next
[
data-v-993a7c66
],
.ivu-page-item-jump-prev
[
data-v-993a7c66
],
.ivu-page-next
[
data-v-993a7c66
],[
data-v-993a7c66
]
.ivu-page-prev
{
color
:
#666
;
transition
:
all
.2s
ease-in-out
}
.ivu-page-item-jump-next
[
data-v-993a7c66
],
.ivu-page-item-jump-prev
[
data-v-993a7c66
],
.ivu-page-next
[
data-v-993a7c66
],[
data-v-993a7c66
]
.ivu-page-item
,[
data-v-993a7c66
]
.ivu-page-prev
{
display
:
inline-block
;
vertical-align
:
middle
;
user-select
:
none
;
min-width
:
32px
;
height
:
32px
;
line-height
:
30px
;
list-style
:
none
;
text-align
:
center
;
cursor
:
pointer
;
font-family
:
Arial
;
border
:
1.5px
solid
#f5efea
;
border-radius
:
4px
}
[
data-v-993a7c66
]
.ivu-page-item
{
margin-right
:
4px
;
background-color
:
#fff
;
font-weight
:
500
;
transition
:
border
.2s
ease-in-out
,
background
.2s
ease-in-out
,
box-shadow
.2s
ease-in-out
!important
}
[
data-v-993a7c66
]
.ivu-page-item
:first-child
{
display
:
inline-block
;
vertical-align
:
middle
;
min-width
:
32px
;
height
:
32px
;
line-height
:
30px
;
margin-right
:
4px
;
text-align
:
center
;
list-style
:
none
;
background-color
:
#dc0d0d
;
user-select
:
none
;
cursor
:
pointer
;
font-family
:
Arial
;
font-weight
:
500
;
border
:
1.5px
solid
#f5efea
;
border-radius
:
4px
;
transition
:
border
.2s
ease-in-out
,
background
.2s
ease-in-out
,
box-shadow
.2s
ease-in-out
!important
}
[
data-v-993a7c66
]
.ivu-select-selection
{
display
:
block
;
box-sizing
:
border-box
;
outline
:
none
;
user-select
:
none
;
cursor
:
pointer
;
position
:
relative
;
background-color
:
#fff
;
border-radius
:
4px
;
border
:
1.5px
solid
#f5efea
;
transition
:
all
.2s
ease-in-out
;
transition
:
border
.2s
ease-in-out
,
background
.2s
ease-in-out
,
box-shadow
.2s
ease-in-out
}
[
data-v-993a7c66
]
.ivu-page-options-elevator
input
{
display
:
inline-block
;
width
:
100%
;
height
:
32px
;
line-height
:
1.5
;
padding
:
4px
7px
;
font-size
:
14px
;
border
:
1.5px
solid
#f5efea
;
color
:
#515a6e
;
background-color
:
#fff
;
background-image
:
none
;
position
:
relative
;
cursor
:
text
;
transition
:
border
.2s
ease-in-out
,
background
.2s
ease-in-out
,
box-shadow
.2s
ease-in-out
;
border-radius
:
4px
;
margin
:
0
8px
;
width
:
50px
}
[
data-v-993a7c66
]
.ivu-table
td
{
min-width
:
0
;
height
:
48px
;
box-sizing
:
border-box
;
text-align
:
left
;
text-overflow
:
ellipsis
;
vertical-align
:
middle
;
border-bottom
:
1.5px
solid
#f5efea
}
[
data-v-993a7c66
]
.ivu-table
:before
{
content
:
""
;
width
:
100%
;
height
:
1px
;
position
:
absolute
;
left
:
0
;
bottom
:
0
;
background-color
:
#f5efea
;
z-index
:
4
}
[
data-v-494a6a82
]
.ivu-divider-horizontal
{
display
:
block
;
height
:
0
;
width
:
100%
;
min-width
:
100%
;
margin
:
24px
0
;
clear
:
both
}
.demo-drawer-profile
[
data-v-494a6a82
]
{
font-size
:
14px
}
.demo-drawer-profile
.ivu-col
[
data-v-494a6a82
]
{
margin-bottom
:
12px
}
[
data-v-494a6a82
]
.ivu-card-body
{
padding
:
10px
10px
20px
10px
}
[
data-v-494a6a82
]
.table
{
border-left
:
10px
solid
#fff
;
border-right
:
10px
solid
#fff
;
width
:
100%
}
.HeaderCard
[
data-v-494a6a82
]
{
border-bottom-color
:
#f5efea
;
border-bottom-left-radius
:
0
;
border-bottom-right-radius
:
0
;
border
:
none
;
white-space
:
nowrap
;
border-top-left-radius
:
.5em
;
border-top-right-radius
:
.5em
}
.letf_bottom_border
[
data-v-494a6a82
]
{
border-top-right-radius
:
0
;
border-color
:
#d5c4b9
}
.letf_bottom_border
[
data-v-494a6a82
],
.right_bottom_border
[
data-v-494a6a82
]
{
border-bottom-right-radius
:
0
;
border-bottom-left-radius
:
0
;
background-color
:
#f5efea
;
color
:
#574f44
;
box-shadow
:
0
0
0
0
transparent
}
.right_bottom_border
[
data-v-494a6a82
]
{
border-top-left-radius
:
0
;
border-color
:
#d5c4b9
}
.center_bottom_border
[
data-v-494a6a82
]
{
border-top-right-radius
:
0
;
border-bottom-right-radius
:
0
;
border-top-left-radius
:
0
;
border-bottom-left-radius
:
0
;
background-color
:
#f5efea
;
border-color
:
#d5c4b9
;
color
:
#574f44
;
box-shadow
:
0
0
0
0
transparent
}
[
data-v-494a6a82
]
.ivu-table
th
{
height
:
40px
;
white-space
:
nowrap
;
overflow
:
hidden
;
background-color
:
#f4efea
}
[
data-v-494a6a82
]
.ivu-input
{
display
:
inline-block
;
width
:
100%
;
height
:
32px
;
line-height
:
1.5
;
padding
:
4px
7px
;
font-size
:
14px
;
border
:
1px
solid
#dcdee2
;
border-radius
:
4px
;
color
:
#515a6e
;
background-color
:
#f9f3ef
;
background-image
:
none
;
position
:
relative
;
cursor
:
text
;
transition
:
border
.2s
ease-in-out
,
background
.2s
ease-in-out
,
box-shadow
.2s
ease-in-out
;
border-color
:
#d5c4b9
}
[
data-v-494a6a82
]
.ivu-input
::-webkit-input-placeholder
{
color
:
#d5c4b9
}
[
data-v-494a6a82
]
.ivu-input
::-moz-placeholder
{
color
:
#d5c4b9
}
[
data-v-494a6a82
]
.ivu-input
::-ms-input-placeholder
{
color
:
#d5c4b9
}
.FooterCard
[
data-v-494a6a82
]
{
border-bottom-color
:
#f5efea
;
border-top-left-radius
:
0
;
border-top-right-radius
:
0
;
border-bottom-left-radius
:
.5em
;
border-bottom-right-radius
:
.5em
;
border
:
none
;
white-space
:
nowrap
;
height
:
100px
;
padding
:
15px
0
0
0
}
.FooterCard
[
data-v-494a6a82
]
:hover
{
box-shadow
:
0
0
0
0
transparent
}
[
data-v-494a6a82
]
.ivu-page-next
{
border
:
1.5px
solid
#f5efea
}
.ivu-page-item-jump-next
[
data-v-494a6a82
],
.ivu-page-item-jump-prev
[
data-v-494a6a82
],
.ivu-page-next
[
data-v-494a6a82
],[
data-v-494a6a82
]
.ivu-page-prev
{
color
:
#666
;
transition
:
all
.2s
ease-in-out
}
.ivu-page-item-jump-next
[
data-v-494a6a82
],
.ivu-page-item-jump-prev
[
data-v-494a6a82
],
.ivu-page-next
[
data-v-494a6a82
],[
data-v-494a6a82
]
.ivu-page-item
,[
data-v-494a6a82
]
.ivu-page-prev
{
display
:
inline-block
;
vertical-align
:
middle
;
user-select
:
none
;
min-width
:
32px
;
height
:
32px
;
line-height
:
30px
;
list-style
:
none
;
text-align
:
center
;
cursor
:
pointer
;
font-family
:
Arial
;
border
:
1.5px
solid
#f5efea
;
border-radius
:
4px
}
[
data-v-494a6a82
]
.ivu-page-item
{
margin-right
:
4px
;
background-color
:
#fff
;
font-weight
:
500
;
transition
:
border
.2s
ease-in-out
,
background
.2s
ease-in-out
,
box-shadow
.2s
ease-in-out
!important
}
[
data-v-494a6a82
]
.ivu-page-item
:first-child
{
display
:
inline-block
;
vertical-align
:
middle
;
min-width
:
32px
;
height
:
32px
;
line-height
:
30px
;
margin-right
:
4px
;
text-align
:
center
;
list-style
:
none
;
background-color
:
#dc0d0d
;
user-select
:
none
;
cursor
:
pointer
;
font-family
:
Arial
;
font-weight
:
500
;
border
:
1.5px
solid
#f5efea
;
border-radius
:
4px
;
transition
:
border
.2s
ease-in-out
,
background
.2s
ease-in-out
,
box-shadow
.2s
ease-in-out
!important
}
[
data-v-494a6a82
]
.ivu-select-selection
{
display
:
block
;
box-sizing
:
border-box
;
outline
:
none
;
user-select
:
none
;
cursor
:
pointer
;
position
:
relative
;
background-color
:
#fff
;
border-radius
:
4px
;
border
:
1.5px
solid
#f5efea
;
transition
:
all
.2s
ease-in-out
;
transition
:
border
.2s
ease-in-out
,
background
.2s
ease-in-out
,
box-shadow
.2s
ease-in-out
}
[
data-v-494a6a82
]
.ivu-page-options-elevator
input
{
display
:
inline-block
;
width
:
100%
;
height
:
32px
;
line-height
:
1.5
;
padding
:
4px
7px
;
font-size
:
14px
;
border
:
1.5px
solid
#f5efea
;
color
:
#515a6e
;
background-color
:
#fff
;
background-image
:
none
;
position
:
relative
;
cursor
:
text
;
transition
:
border
.2s
ease-in-out
,
background
.2s
ease-in-out
,
box-shadow
.2s
ease-in-out
;
border-radius
:
4px
;
margin
:
0
8px
;
width
:
50px
}
[
data-v-494a6a82
]
.ivu-table
td
{
min-width
:
0
;
height
:
48px
;
box-sizing
:
border-box
;
text-align
:
left
;
text-overflow
:
ellipsis
;
vertical-align
:
middle
;
border-bottom
:
1.5px
solid
#f5efea
}
[
data-v-494a6a82
]
.ivu-table
:before
{
content
:
""
;
width
:
100%
;
height
:
1px
;
position
:
absolute
;
left
:
0
;
bottom
:
0
;
background-color
:
#f5efea
;
z-index
:
4
}
\ No newline at end of file
\ No newline at end of file
dist/index.html
浏览文件 @
f6867fbe
<!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.663a2580.css
rel=
stylesheet
><link
href=
css/app.7994a66a.css
rel=
stylesheet
></head><body><script
src=
/a/manager/identify/identify.js
></script><noscript><strong>
请开启 JavaScript 功能来使用 琼台博物馆预约系统。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors.e485a7b3.js
></script><script
src=
js/app.ac26001e.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.663a2580.css
rel=
stylesheet
><link
href=
css/app.7994a66a.css
rel=
stylesheet
></head><body><script
src=
/a/manager/identify/identify.js
></script><noscript><strong>
请开启 JavaScript 功能来使用 琼台博物馆预约系统。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors.e485a7b3.js
></script><script
src=
js/app.bc43a21d.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/js/app.
ac26001e
.js
→
dist/js/app.
bc43a21d
.js
浏览文件 @
f6867fbe
此差异已折叠。
点击以展开。
dist/js/chunk-202ad2ae.ec4b2bcc.js
0 → 100644
浏览文件 @
f6867fbe
此差异已折叠。
点击以展开。
dist/js/chunk-b5c5face.659b0009.js
已删除
100644 → 0
浏览文件 @
f57ff512
此差异已折叠。
点击以展开。
src/pages/welcome/index.vue
浏览文件 @
f6867fbe
...
@@ -2,8 +2,10 @@
...
@@ -2,8 +2,10 @@
<div>
<div>
<Card
style=
"width:100%"
dis-hover
class=
"HeaderCard"
>
<Card
style=
"width:100%"
dis-hover
class=
"HeaderCard"
>
<div
style=
"padding-bottom: 7px;"
>
<div
style=
"padding-bottom: 7px;"
>
<Button
class=
"letf_bottom_border"
:style=
"ButColor1"
@
click=
"key++,page_index=1,page_size=10,WatingUseFun( approvalState=1,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1"
>
待使用(
{{
this
.
UseCode
.
Wait_Use
}}
)
</Button>
<!--
<Button
class=
"letf_bottom_border"
:style=
"ButColor1"
@
click=
"key++,page_index=1,page_size=10,WatingUseFun( approvalState=1,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1"
>
待使用(
{{
this
.
UseCode
.
Wait_Use
}}
)
</Button>
-->
<Button
type=
"primary"
:style=
"ButColor2"
class=
"center_bottom_border"
@
click=
"key++,page_index=1,page_size=10,WatingUseFun(approvalState=2,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1 "
>
已使用(
{{
this
.
UseCode
.
Use
}}
)
</Button>
<!--
<Button
type=
"primary"
:style=
"ButColor2"
class=
"center_bottom_border"
@
click=
"key++,page_index=1,page_size=10,WatingUseFun(approvalState=2,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1 "
>
已使用(
{{
this
.
UseCode
.
Use
}}
)
</Button>
-->
<Button
type=
"primary"
:style=
"ButColor6"
class=
"center_bottom_border"
@
click=
"key++,page_index=1,page_size=10,WatingUseFun(approvalState=6,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1 "
>
预约(
{{
this
.
UseCode
.
appointment_count
}}
)
</Button>
<Button
type=
"primary"
:style=
"ButColor3"
class=
"center_bottom_border"
@
click=
"key++,page_index=1,page_size=10,WatingUseFun(approvalState=3,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1"
>
预约过期(
{{
this
.
UseCode
.
Expired
}}
)
</Button>
<Button
type=
"primary"
:style=
"ButColor3"
class=
"center_bottom_border"
@
click=
"key++,page_index=1,page_size=10,WatingUseFun(approvalState=3,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1"
>
预约过期(
{{
this
.
UseCode
.
Expired
}}
)
</Button>
<Button
type=
"primary"
:style=
"ButColor4"
class=
"center_bottom_border"
@
click=
"key++,page_index=1,page_size=10,WatingUseFun(approvalState=4,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1"
>
预约变更(
{{
this
.
UseCode
.
changeCount
}}
)
</Button>
<Button
type=
"primary"
:style=
"ButColor4"
class=
"center_bottom_border"
@
click=
"key++,page_index=1,page_size=10,WatingUseFun(approvalState=4,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1"
>
预约变更(
{{
this
.
UseCode
.
changeCount
}}
)
</Button>
<Button
type=
"primary"
:style=
"ButColor0"
class=
"right_bottom_border"
@
click=
"key++,page_index=1,page_size=10,WatingUseFun(approvalState=5,'',StateTransformInitializePageIndexMiddle=1),AloneButControl(),currentPage(1),StateTransformInitializePageIndexMiddle = 1"
>
汇总(
{{
this
.
UseCode
.
ResultSum
}}
)
</Button>
<Button
type=
"primary"
:style=
"ButColor0"
class=
"right_bottom_border"
@
click=
"key++,page_index=1,page_size=10,WatingUseFun(approvalState=5,'',StateTransformInitializePageIndexMiddle=1),AloneButControl(),currentPage(1),StateTransformInitializePageIndexMiddle = 1"
>
汇总(
{{
this
.
UseCode
.
ResultSum
}}
)
</Button>
...
@@ -21,6 +23,9 @@
...
@@ -21,6 +23,9 @@
<
template
#change_remark
="{
row
}"
>
<
template
#change_remark
="{
row
}"
>
{{
row
.
change_remark
}}
{{
row
.
change_remark
}}
</
template
>
</
template
>
<
template
#employ_state
="{
row
}"
>
{{
[
'
已取消
'
,
'
待使用
'
,
'
已使用
'
,
'
预约变更
'
,
'
预约过期
'
,][
Number
(
row
.
employ_state
)]
}}
</
template
>
<
template
#action
="{
row
,
index
}"
>
<
template
#action
="{
row
,
index
}"
>
<Button
type=
"primary"
size=
"small"
style=
"background-color: #d89a7c;border-color: #d89a7c; "
@
click=
"show(index,row)"
>
详情
</Button>
<Button
type=
"primary"
size=
"small"
style=
"background-color: #d89a7c;border-color: #d89a7c; "
@
click=
"show(index,row)"
>
详情
</Button>
...
@@ -99,6 +104,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
...
@@ -99,6 +104,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
ButColor3
:
''
,
ButColor3
:
''
,
ButColor4
:
''
,
ButColor4
:
''
,
ButColor2
:
''
,
ButColor2
:
''
,
ButColor6
:
''
,
ButColor1
:
'
background-color: #d5c4b9 !important;
'
,
// 状态初始化按钮 背景
ButColor1
:
'
background-color: #d5c4b9 !important;
'
,
// 状态初始化按钮 背景
SearchMiddleVakue
:
''
,
// 搜索框中间值
SearchMiddleVakue
:
''
,
// 搜索框中间值
// show_sizer_count:10, //分页 show_sizer 条数
// show_sizer_count:10, //分页 show_sizer 条数
...
@@ -113,9 +119,10 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
...
@@ -113,9 +119,10 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
Expired
:
''
,
Expired
:
''
,
ResultSum
:
''
,
ResultSum
:
''
,
changeCount
:
''
,
changeCount
:
''
,
appointment_count
:
''
,
},
},
Pacemaker
:[],
//详细信息领队人与同行人
Pacemaker
:[],
//详细信息领队人与同行人
approvalState
:
1
,
//控制数据列表的初始值 1 带使用 2使用 3 预约过期 ''为汇总
approvalState
:
6
,
//控制数据列表的初始值 1 带使用 2使用 3 预约过期 ''为汇总
// approvalStates:{
// approvalStates:{
// 1:"待使用",
// 1:"待使用",
// 2:"已使用",
// 2:"已使用",
...
@@ -173,6 +180,12 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
...
@@ -173,6 +180,12 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
key
:
'
PeerPeopleNnmber
'
,
key
:
'
PeerPeopleNnmber
'
,
minWidth
:
100
minWidth
:
100
},
},
// {
// title: '预约状态',
// slot: 'employ_state',
// minWidth:130,
// },
{
{
title
:
'
变更理由
'
,
title
:
'
变更理由
'
,
slot
:
'
change_remark
'
,
slot
:
'
change_remark
'
,
...
@@ -212,29 +225,51 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
...
@@ -212,29 +225,51 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
if
(
newValue
)
{
if
(
newValue
)
{
this
.
SearchMiddleVakue
=
null
this
.
SearchMiddleVakue
=
null
this
.
ButColorControl
()
this
.
ButColorControl
()
console
.
log
(
newValue
,
'
newvalue
'
);
}
}
// newValue === 1 || newValue === 2 || newValue === 3
// newValue === 1 || newValue === 2 || newValue === 3
if
(
newValue
===
1
||
newValue
===
2
||
newValue
===
3
)
{
// if (newValue === 1 || newValue === 2 || newValue === 3) {
if
(
!
this
.
spliceFlag
){
// if (!this.spliceFlag){
this
.
columns
.
splice
(
3
,
1
)
// this.columns.splice(3, 1)
this
.
spliceFlag
=
!
this
.
spliceFlag
// this.spliceFlag = !this.spliceFlag
this
.
spliceFlag1
=
false
// this.spliceFlag1 = false
// }
// }else {
// if (!this.spliceFlag1){
// this.columns.splice(3, 0, {
// title: '变更理由',
// slot: 'change_remark',
// minWidth:130,
// },)
// this.spliceFlag = false
// this.spliceFlag1 = !this.spliceFlag1
// }
// }
if
(
newValue
!==
4
||
newValue
!==
5
)
{
this
.
columns
.
forEach
((
cur
,
index
)
=>
{
if
(
cur
.
slot
===
'
change_remark
'
)
this
.
columns
.
splice
(
index
,
1
)
})
}
}
}
else
{
if
(
newValue
===
4
||
newValue
===
5
){
if
(
!
this
.
spliceFlag1
){
this
.
columns
.
splice
(
3
,
0
,
{
this
.
columns
.
splice
(
3
,
0
,
{
title
:
'
变更理由
'
,
title
:
'
变更理由
'
,
slot
:
'
change_remark
'
,
slot
:
'
change_remark
'
,
minWidth
:
130
,
minWidth
:
130
,
},)
},)
this
.
spliceFlag
=
false
this
.
spliceFlag1
=
!
this
.
spliceFlag1
}
}
if
(
newValue
!==
6
){
this
.
columns
.
forEach
((
cur
,
index
)
=>
{
if
(
cur
.
slot
===
'
employ_state
'
)
this
.
columns
.
splice
(
index
,
1
)
})
}
if
(
newValue
===
6
){
this
.
columns
.
splice
(
4
,
0
,
{
title
:
'
预约状态
'
,
slot
:
'
employ_state
'
,
minWidth
:
130
,
},)
}
}
},
},
immediate
:
true
immediate
:
true
}
}
...
@@ -248,6 +283,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
...
@@ -248,6 +283,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this
.
ButColor2
=
''
this
.
ButColor2
=
''
this
.
ButColor3
=
''
this
.
ButColor3
=
''
this
.
ButColor4
=
''
this
.
ButColor4
=
''
this
.
ButColor6
=
''
},
},
ButColorControl
(){
//状态按钮选中背景控制
ButColorControl
(){
//状态按钮选中背景控制
// console.log("🚀🚀🚀,",this.page_index)
// console.log("🚀🚀🚀,",this.page_index)
...
@@ -258,6 +294,8 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
...
@@ -258,6 +294,8 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this
.
ButColor3
=
''
this
.
ButColor3
=
''
this
.
ButColor0
=
''
this
.
ButColor0
=
''
this
.
ButColor4
=
''
this
.
ButColor4
=
''
this
.
ButColor6
=
''
// console.log('approvalState == 1');
// console.log('approvalState == 1');
}
else
if
(
this
.
approvalState
==
2
){
}
else
if
(
this
.
approvalState
==
2
){
...
@@ -266,6 +304,8 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
...
@@ -266,6 +304,8 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this
.
ButColor3
=
''
this
.
ButColor3
=
''
this
.
ButColor0
=
''
this
.
ButColor0
=
''
this
.
ButColor4
=
''
this
.
ButColor4
=
''
this
.
ButColor6
=
''
}
else
if
(
this
.
approvalState
==
3
){
}
else
if
(
this
.
approvalState
==
3
){
this
.
ButColor3
=
'
background-color: #d5c4b9
'
this
.
ButColor3
=
'
background-color: #d5c4b9
'
...
@@ -273,6 +313,8 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
...
@@ -273,6 +313,8 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this
.
ButColor2
=
''
this
.
ButColor2
=
''
this
.
ButColor0
=
''
this
.
ButColor0
=
''
this
.
ButColor4
=
''
this
.
ButColor4
=
''
this
.
ButColor6
=
''
}
}
else
if
(
this
.
approvalState
==
4
){
else
if
(
this
.
approvalState
==
4
){
...
@@ -281,6 +323,18 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
...
@@ -281,6 +323,18 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this
.
ButColor2
=
''
this
.
ButColor2
=
''
this
.
ButColor0
=
''
this
.
ButColor0
=
''
this
.
ButColor3
=
''
this
.
ButColor3
=
''
this
.
ButColor6
=
''
}
else
if
(
this
.
approvalState
==
6
){
this
.
ButColor6
=
'
background-color: #d5c4b9
'
this
.
ButColor1
=
''
this
.
ButColor2
=
''
this
.
ButColor0
=
''
this
.
ButColor3
=
''
this
.
ButColor4
=
''
}
}
},
},
async
SearchValueAction
(
SearchValue
){
async
SearchValueAction
(
SearchValue
){
...
@@ -326,6 +380,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
...
@@ -326,6 +380,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this
.
UseCode
.
Expired
=
res
.
response
.
exceed_count
this
.
UseCode
.
Expired
=
res
.
response
.
exceed_count
this
.
UseCode
.
ResultSum
=
res
.
response
.
all_count
this
.
UseCode
.
ResultSum
=
res
.
response
.
all_count
this
.
UseCode
.
changeCount
=
res
.
response
.
change_count
this
.
UseCode
.
changeCount
=
res
.
response
.
change_count
this
.
UseCode
.
appointment_count
=
res
.
response
.
appointment_count
})
})
...
@@ -389,6 +444,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
...
@@ -389,6 +444,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
BookAnAdmissionDate
:
res
.
response
.
data
[
index
].
moment
===
1
?
res
.
response
.
data
[
index
].
museum_date
+
'
上午
'
:
res
.
response
.
data
[
index
].
museum_date
+
'
下午
'
,
BookAnAdmissionDate
:
res
.
response
.
data
[
index
].
moment
===
1
?
res
.
response
.
data
[
index
].
museum_date
+
'
上午
'
:
res
.
response
.
data
[
index
].
museum_date
+
'
下午
'
,
appointmentid
:
res
.
response
.
data
[
index
].
appointmentid
,
appointmentid
:
res
.
response
.
data
[
index
].
appointmentid
,
change_remark
:
res
.
response
.
data
[
index
].
change_remark
,
change_remark
:
res
.
response
.
data
[
index
].
change_remark
,
employ_state
:
res
.
response
.
data
[
index
].
employ_state
,
})
})
});
});
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录