Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
日
日程管理
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
日程管理
提交
73626ab8
提交
73626ab8
编写于
8月 15, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
V20240814 优化
上级
3eaf5d8a
变更
19
展开全部
显示空白字符变更
内嵌
并排
正在显示
19 个修改的文件
包含
126 行增加
和
67 行删除
+126
-67
chunk-041c3a25.4ba7b626.css
dist/css/chunk-041c3a25.4ba7b626.css
+1
-0
chunk-1ee5acaf.1b69a0ed.css
dist/css/chunk-1ee5acaf.1b69a0ed.css
+0
-1
chunk-3b2f3c45.e3a21c0b.css
dist/css/chunk-3b2f3c45.e3a21c0b.css
+1
-0
chunk-56bcb0e8.b5567c09.css
dist/css/chunk-56bcb0e8.b5567c09.css
+1
-0
chunk-5a7c757d.de5674db.css
dist/css/chunk-5a7c757d.de5674db.css
+0
-1
chunk-8faf3332.18c7b7ab.css
dist/css/chunk-8faf3332.18c7b7ab.css
+1
-0
chunk-91e11bd6.fd40b895.css
dist/css/chunk-91e11bd6.fd40b895.css
+0
-1
index.html
dist/index.html
+1
-1
app.d4f24ede.js
dist/js/app.d4f24ede.js
+15
-0
chunk-041c3a25.5b02aa12.js
dist/js/chunk-041c3a25.5b02aa12.js
+18
-0
chunk-1ee5acaf.ab7fd694.js
dist/js/chunk-1ee5acaf.ab7fd694.js
+0
-1
chunk-3b2f3c45.5e8dc0f1.js
dist/js/chunk-3b2f3c45.5e8dc0f1.js
+1
-0
chunk-56bcb0e8.bfe01cb4.js
dist/js/chunk-56bcb0e8.bfe01cb4.js
+1
-0
chunk-5a7c757d.d15b7abb.js
dist/js/chunk-5a7c757d.d15b7abb.js
+0
-1
chunk-8faf3332.f14154d7.js
dist/js/chunk-8faf3332.f14154d7.js
+1
-0
chunk-91e11bd6.c71ef59a.js
dist/js/chunk-91e11bd6.c71ef59a.js
+0
-18
CEditModal.vue
src/components/common/CEditModal.vue
+75
-30
index.vue
src/pages/dutyConfig/index.vue
+6
-10
index.vue
src/pages/dutychange/index.vue
+4
-3
未找到文件。
dist/css/chunk-041c3a25.4ba7b626.css
0 → 100644
浏览文件 @
73626ab8
.searchDiv
.ivu-form-item
[
data-v-45d49b8a
]
{
margin-bottom
:
12px
}
.searchDiv
.buttonCol
[
data-v-45d49b8a
]
{
margin-left
:
auto
;
text-align
:
right
}
.searchDiv
.buttonCol
.ivu-btn
[
data-v-45d49b8a
]
{
margin-left
:
8px
}
\ No newline at end of file
dist/css/chunk-1ee5acaf.1b69a0ed.css
已删除
100644 → 0
浏览文件 @
3eaf5d8a
.ivu-form-item
[
data-v-e4e4b020
]
{
padding-right
:
15px
}
.fileRow
[
data-v-e4e4b020
]
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
}
.fileRow
.delIcon
[
data-v-e4e4b020
]
{
color
:
#ed4014
}
.fileRow
.delIcon
[
data-v-e4e4b020
]
:hover
{
color
:
#f16643
;
cursor
:
pointer
}
.demo-split
[
data-v-2077d7a0
]
{
height
:
calc
(
100vh
-
112px
)}
.demo-split
.demo-split-pane-L
[
data-v-2077d7a0
]
{
padding
:
10px
;
height
:
100%
;
background-color
:
#fff
}
.demo-split
.demo-split-pane-R
[
data-v-2077d7a0
]
{
padding-left
:
8px
}
\ No newline at end of file
dist/css/chunk-3b2f3c45.e3a21c0b.css
0 → 100644
浏览文件 @
73626ab8
.demo-split
[
data-v-2077d7a0
]
{
height
:
calc
(
100vh
-
112px
)}
.demo-split
.demo-split-pane-L
[
data-v-2077d7a0
]
{
padding
:
10px
;
height
:
100%
;
background-color
:
#fff
}
.demo-split
.demo-split-pane-R
[
data-v-2077d7a0
]
{
padding-left
:
8px
}
\ No newline at end of file
dist/css/chunk-56bcb0e8.b5567c09.css
0 → 100644
浏览文件 @
73626ab8
[
data-v-59f3210f
]
.ivu-form-item-content
{
position
:
relative
;
font-size
:
14px
}
[
data-v-59f3210f
]
.ivu-divider-horizontal
{
display
:
block
;
height
:
1px
;
width
:
100%
;
min-width
:
100%
;
margin
:
0
;
clear
:
both
}
.ivu-form-item
[
data-v-59f3210f
]
{
padding-right
:
15px
}
.fileRow
[
data-v-59f3210f
]
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
}
.fileRow
.delIcon
[
data-v-59f3210f
]
{
color
:
#ed4014
}
.fileRow
.delIcon
[
data-v-59f3210f
]
:hover
{
color
:
#f16643
;
cursor
:
pointer
}
\ No newline at end of file
dist/css/chunk-5a7c757d.de5674db.css
已删除
100644 → 0
浏览文件 @
3eaf5d8a
.container
[
data-v-a00459be
]
{
text-align
:
center
}
.container
.img-bg
[
data-v-a00459be
]
{
width
:
300px
;
text-align
:
center
}
\ No newline at end of file
dist/css/chunk-8faf3332.18c7b7ab.css
0 → 100644
浏览文件 @
73626ab8
.container
[
data-v-72547644
]
{
text-align
:
center
}
.container
.img-bg
[
data-v-72547644
]
{
width
:
300px
;
text-align
:
center
}
\ No newline at end of file
dist/css/chunk-91e11bd6.fd40b895.css
已删除
100644 → 0
浏览文件 @
3eaf5d8a
.ivu-form-item
[
data-v-e4e4b020
]
{
padding-right
:
15px
}
.fileRow
[
data-v-e4e4b020
]
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
}
.fileRow
.delIcon
[
data-v-e4e4b020
]
{
color
:
#ed4014
}
.fileRow
.delIcon
[
data-v-e4e4b020
]
:hover
{
color
:
#f16643
;
cursor
:
pointer
}
.searchDiv
.ivu-form-item
[
data-v-45d49b8a
]
{
margin-bottom
:
12px
}
.searchDiv
.buttonCol
[
data-v-45d49b8a
]
{
margin-left
:
auto
;
text-align
:
right
}
.searchDiv
.buttonCol
.ivu-btn
[
data-v-45d49b8a
]
{
margin-left
:
8px
}
\ No newline at end of file
dist/index.html
浏览文件 @
73626ab8
<!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"
><title>
值班管理
</title><link
href=
css/chunk-vendors.cc1990b1.css
rel=
stylesheet
><link
href=
css/app.a786022a.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.9ae50470.js
></script><script
src=
js/app.d32d3ec8.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"
><title>
值班管理
</title><link
href=
css/chunk-vendors.cc1990b1.css
rel=
stylesheet
><link
href=
css/app.a786022a.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.9ae50470.js
></script><script
src=
js/app.d4f24ede.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/js/app.d
32d3ec8
.js
→
dist/js/app.d
4f24ede
.js
浏览文件 @
73626ab8
此差异已折叠。
点击以展开。
dist/js/chunk-041c3a25.5b02aa12.js
0 → 100644
浏览文件 @
73626ab8
此差异已折叠。
点击以展开。
dist/js/chunk-1ee5acaf.ab7fd694.js
已删除
100644 → 0
浏览文件 @
3eaf5d8a
此差异已折叠。
点击以展开。
dist/js/chunk-3b2f3c45.5e8dc0f1.js
0 → 100644
浏览文件 @
73626ab8
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-3b2f3c45
"
],{
"
25b06
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
a
(
"
28a5
"
),
a
(
"
ac6a
"
),
a
(
"
456d
"
),
a
(
"
7f7f
"
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
_self
.
_c
;
return
e
(
"
div
"
,[
e
(
"
div
"
,{
staticClass
:
"
demo-split
"
},[
e
(
"
Split
"
,{
scopedSlots
:
t
.
_u
([{
key
:
"
left
"
,
fn
:
function
(){
return
[
e
(
"
div
"
,{
staticClass
:
"
demo-split-pane-L
"
},[
t
.
treePanelLoading
?
e
(
"
Spin
"
,{
attrs
:{
size
:
"
large
"
,
fix
:
""
}}):
t
.
_e
(),
e
(
"
Tree
"
,{
attrs
:{
data
:
t
.
typeTree
},
on
:{
"
on-select-change
"
:
t
.
treeNodeChange
}})],
1
)]},
proxy
:
!
0
},{
key
:
"
right
"
,
fn
:
function
(){
return
[
e
(
"
div
"
,{
staticClass
:
"
demo-split-pane-R
"
},[
e
(
"
Card
"
,{
ref
:
"
card
"
,
attrs
:{
"
dis-hover
"
:
""
}},[
e
(
"
Input
"
,{
staticStyle
:{
width
:
"
200px
"
},
attrs
:{
placeholder
:
"
请输入关键词
"
,
clearable
:
""
},
model
:{
value
:
t
.
params
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
params
,
"
name
"
,
e
)},
expression
:
"
params.name
"
}}),
e
(
"
Button
"
,{
staticClass
:
"
ivu-ml-8
"
,
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
doSearch
}},[
t
.
_v
(
"
查找
"
)]),
e
(
"
Button
"
,{
staticClass
:
"
ivu-ml-8
"
,
attrs
:{
type
:
"
primary
"
,
ghost
:
""
,
disabled
:
0
==
Object
.
keys
(
t
.
currentTreeNode
).
length
},
on
:{
click
:
t
.
add
}},[
e
(
"
Icon
"
,{
attrs
:{
type
:
"
md-add
"
}}),
t
.
_v
(
"
新增分类
\n
"
)],
1
),
e
(
"
Table
"
,{
ref
:
"
table
"
,
staticClass
:
"
ivu-mt
"
,
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
tableData
,
loading
:
t
.
tableLoading
,
size
:
"
small
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
is_enable
"
,
fn
:
function
(
a
){
var
n
=
a
.
row
,
i
=
a
.
index
;
return
[
e
(
"
i-switch
"
,{
attrs
:{
size
:
"
large
"
,
"
true-value
"
:
1
,
"
false-value
"
:
0
},
on
:{
"
on-change
"
:
function
(
e
){
return
t
.
switchChange
(
e
,
n
,
i
)}},
model
:{
value
:
n
.
is_enable
,
callback
:
function
(
e
){
t
.
$set
(
n
,
"
is_enable
"
,
e
)},
expression
:
"
row.is_enable
"
}},[
e
(
"
span
"
,{
attrs
:{
slot
:
"
open
"
,
type
:
"
md-checkmark
"
},
slot
:
"
open
"
},[
t
.
_v
(
"
启用
"
)]),
e
(
"
span
"
,{
attrs
:{
slot
:
"
close
"
,
type
:
"
md-close
"
},
slot
:
"
close
"
},[
t
.
_v
(
"
停用
"
)])])]}},{
key
:
"
action
"
,
fn
:
function
(
a
){
var
n
=
a
.
row
;
return
[
e
(
"
div
"
,{
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
t
.
preventDefault
()}}},[
e
(
"
a
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleEdit
(
n
)}}},[
t
.
_v
(
"
编辑
"
)]),
e
(
"
Divider
"
,{
attrs
:{
type
:
"
vertical
"
}}),
e
(
"
a
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleDelete
(
n
.
id
)}}},[
t
.
_v
(
"
删除
"
)])],
1
)]}}])}),
e
(
"
div
"
,{
staticClass
:
"
ivu-mt ivu-text-center
"
},[
e
(
"
Page
"
,{
attrs
:{
total
:
t
.
dataCount
,
current
:
t
.
params
.
page_index
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
"
page-size
"
:
t
.
params
.
page_size
,
"
page-size-opts
"
:[
10
,
30
,
50
,
100
]},
on
:{
"
update:current
"
:
function
(
e
){
return
t
.
$set
(
t
.
params
,
"
page_index
"
,
e
)},
"
on-change
"
:
t
.
handleChangePage
,
"
on-page-size-change
"
:
t
.
handleChangePageSize
}})],
1
)],
1
)],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
split
,
callback
:
function
(
e
){
t
.
split
=
e
},
expression
:
"
split
"
}})],
1
),
e
(
"
CEditModal
"
,{
ref
:
"
ceditmodal
"
,
attrs
:{
formItem
:
t
.
formItem
,
loading
:
t
.
editModalLoading
,
formLabelWidth
:
100
,
width
:
800
},
on
:{
onClose
:
function
(
e
){
t
.
editModalshow
=!
1
},
onSubmit
:
t
.
modalSubmit
},
model
:{
value
:
t
.
editModalshow
,
callback
:
function
(
e
){
t
.
editModalshow
=
e
},
expression
:
"
editModalshow
"
}})],
1
)},
i
=
[],
r
=
(
a
(
"
8e6e
"
),
a
(
"
20d6
"
),
a
(
"
ade3
"
)),
s
=
(
a
(
"
96cf
"
),
a
(
"
1da1
"
)),
o
=
a
(
"
967e
"
),
c
=
a
.
n
(
o
),
l
=
a
(
"
b6bd
"
);
function
d
(
t
){
return
Object
(
l
[
"
a
"
])({
url
:
"
/api/DutyClassify/GetClassifyTree
"
,
method
:
"
get
"
,
params
:
t
})}
function
u
(
t
){
return
Object
(
l
[
"
a
"
])({
url
:
"
/api/DutyClassify/QueryDutyClassify
"
,
method
:
"
get
"
,
params
:
t
})}
function
p
(
t
){
return
Object
(
l
[
"
a
"
])({
url
:
"
/api/DutyClassify/ModifyDutyStatus
"
,
method
:
"
get
"
,
params
:
t
})}
function
f
(
t
){
return
Object
(
l
[
"
a
"
])({
url
:
"
/api/DutyClassify/DeleteDuty
"
,
method
:
"
get
"
,
params
:
t
})}
function
h
(
t
){
return
Object
(
l
[
"
a
"
])({
url
:
"
/api/DutyClassify/AddDutyType
"
,
method
:
"
post
"
,
data
:
t
})}
function
m
(
t
){
return
Object
(
l
[
"
a
"
])({
url
:
"
/api/Common/GetDutyConfigSelect
"
,
method
:
"
get
"
,
params
:
t
})}
function
g
(
t
){
return
Object
(
l
[
"
a
"
])({
url
:
"
/api/DutyClassify/UpdateDutyType
"
,
method
:
"
post
"
,
data
:
t
})}
var
b
=
a
(
"
12cb
"
);
function
y
(
t
,
e
){
var
a
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
a
.
push
.
apply
(
a
,
n
)}
return
a
}
function
v
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
a
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
y
(
Object
(
a
),
!
0
).
forEach
((
function
(
e
){
Object
(
r
[
"
a
"
])(
t
,
e
,
a
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
a
)):
y
(
Object
(
a
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
a
,
e
))}))}
return
t
}
var
_
=
{
components
:{
CEditModal
:
b
[
"
a
"
]},
data
:
function
(){
return
{
split
:
"
250px
"
,
treePanelLoading
:
!
1
,
typeTree
:[],
currentTreeNode
:{},
tableLoading
:
!
1
,
tableData
:[],
dataCount
:
0
,
columns
:[{
type
:
"
index
"
,
title
:
"
序号
"
,
align
:
"
center
"
,
width
:
60
},{
title
:
"
名称
"
,
key
:
"
name
"
},{
title
:
"
启用
"
,
slot
:
"
is_enable
"
},{
title
:
"
操作
"
,
slot
:
"
action
"
,
align
:
"
center
"
,
fixed
:
"
right
"
,
width
:
150
}],
params
:{
page_index
:
1
,
page_size
:
10
,
parent_id
:
"
1
"
,
name
:
""
},
editModalshow
:
!
1
,
editModalLoading
:
!
1
,
isEdit
:
!
1
,
formItem
:[{
id
:
"
name
"
,
name
:
"
分类名称
"
,
type
:
"
input
"
,
disabled
:
!
1
,
require
:
!
1
,
optList
:[]},{
id
:
"
config_id
"
,
name
:
"
配置类型
"
,
type
:
"
multipleselect
"
,
disabled
:
!
1
,
require
:
!
1
,
optList
:[]}],
defaultFormData
:{
id
:
""
,
name
:
""
,
parent_id
:
""
,
config_id
:[]},
configList
:[]}},
mounted
:
function
(){
this
.
getTreeData
(),
this
.
getData
(),
this
.
GetDutyConfigSelect
()},
methods
:{
getTreeData
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
c
.
a
.
mark
((
function
t
(){
var
e
=
this
;
return
c
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
this
.
treePanelLoading
=!
0
,
this
.
currentTreeNode
=
{},
d
().
then
((
function
(
t
){
e
.
typeTree
=
e
.
treeFormat
(
t
),
e
.
treePanelLoading
=!
1
}));
case
3
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
treeNodeChange
:
function
(
t
,
e
){
e
.
expand
=!
0
,
e
.
selected
?(
this
.
currentTreeNode
=
e
,
this
.
params
.
parent_id
=
e
.
id
):(
this
.
currentTreeNode
=
{},
this
.
params
.
parent_id
=
"
1
"
),
this
.
getData
()},
treeFormat
:
function
(
t
){
var
e
=
this
;
return
t
.
map
((
function
(
t
){
return
t
.
children
&&
0
!=
t
.
children
.
length
&&
(
t
.
children
=
e
.
treeFormat
(
t
.
children
)),
v
(
v
({},
t
),{},{
title
:
t
.
name
,
expand
:
"
1
"
==
t
.
id
,
selected
:
!
1
})}))},
GetDutyConfigSelect
:
function
(){
var
t
=
this
;
m
().
then
((
function
(
e
){
var
a
=
t
.
formItem
.
findIndex
((
function
(
t
){
return
"
config_id
"
==
t
.
id
}));
t
.
formItem
[
a
].
optList
=
e
.
map
((
function
(
t
){
return
v
(
v
({},
t
),{},{
label
:
t
.
name
,
value
:
t
.
id
})}))}))},
getData
:
function
(){
var
t
=
this
;
this
.
tableLoading
=!
0
,
u
(
this
.
params
).
then
((
function
(
e
){
t
.
tableData
=
e
.
data
,
t
.
dataCount
=
e
.
data_count
,
t
.
tableLoading
=!
1
}))},
switchChange
:
function
(
t
,
e
,
a
){
var
n
=
this
;
this
.
tableData
[
a
].
is_enable
=
t
,
p
({
id
:
e
.
id
,
is_enable
:
t
}).
then
((
function
(
t
){
n
.
$Message
.
success
(
t
)})).
catch
((
function
(){
n
.
tableData
[
a
].
is_enable
=
0
==
t
?
1
:
0
,
n
.
$Message
.
error
(
res
.
msg_detail
)}))},
handleChangePage
:
function
(
t
){
this
.
params
.
page_index
=
t
,
this
.
getData
()},
handleChangePageSize
:
function
(
t
){
this
.
params
.
page_size
=
t
,
1
==
this
.
params
.
page_index
&&
(
this
.
params
.
page_index
=
t
,
this
.
getData
())},
doSearch
:
function
(){
this
.
params
.
page_size
=
1
,
this
.
getData
()},
handleEdit
:
function
(
t
){
this
.
editModalshow
=!
0
,
this
.
isEdit
=!
0
,
this
.
$refs
.
ceditmodal
.
modalInit
(
"
edit
"
,
v
(
v
({},
t
),{},{
config_id
:
t
.
config_id
.
split
(
"
;
"
)}),
"
编辑分类
"
)},
handleDelete
:
function
(
t
){
var
e
=
this
;
this
.
$Modal
.
confirm
({
title
:
"
确定要删除吗?
"
,
loading
:
!
0
,
onOk
:
function
(){
var
a
=
{
id
:
t
};
f
(
a
).
then
((
function
(){
e
.
$Modal
.
remove
(),
e
.
$Message
.
success
(
"
删除成功
"
),
e
.
getData
()}))}})},
add
:
function
(){
this
.
editModalshow
=!
0
,
this
.
isEdit
=!
1
,
this
.
$refs
.
ceditmodal
.
modalInit
(
"
add
"
,
this
.
defaultFormData
,
"
新增分类
"
)},
modalSubmit
:
function
(
t
){
var
e
=
this
;
console
.
log
(
"
modal提交
"
,
t
);
var
a
=
0
!=
Object
.
keys
(
this
.
currentTreeNode
).
length
;
t
.
parent_id
=
a
?
this
.
currentTreeNode
.
id
:
"
1
"
,
t
.
config_id
=
t
.
config_id
.
join
(
"
;
"
),
console
.
log
(
t
),
this
.
$Modal
.
confirm
({
title
:
"
提示
"
,
content
:
"
是否确定提交?
"
,
loading
:
!
0
,
onOk
:
function
(){
var
a
=
Object
(
s
[
"
a
"
])(
c
.
a
.
mark
((
function
a
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
if
(
!
e
.
isEdit
){
a
.
next
=
6
;
break
}
return
a
.
next
=
3
,
g
(
t
);
case
3
:
a
.
t0
=
a
.
sent
,
a
.
next
=
9
;
break
;
case
6
:
return
a
.
next
=
8
,
h
(
t
);
case
8
:
a
.
t0
=
a
.
sent
;
case
9
:
n
=
a
.
t0
,
e
.
$Message
.
success
(
n
),
e
.
editModalshow
=!
1
,
e
.
getData
(),
e
.
getTreeData
(),
e
.
$Modal
.
remove
();
case
15
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)})));
function
n
(){
return
a
.
apply
(
this
,
arguments
)}
return
n
}()})}}},
D
=
_
,
w
=
(
a
(
"
4fa3
"
),
a
(
"
2877
"
)),
C
=
Object
(
w
[
"
a
"
])(
D
,
n
,
i
,
!
1
,
null
,
"
2077d7a0
"
,
null
);
e
[
"
default
"
]
=
C
.
exports
},
"
4fa3
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
e916
"
)},
e916
:
function
(
t
,
e
,
a
){}}]);
\ No newline at end of file
dist/js/chunk-56bcb0e8.bfe01cb4.js
0 → 100644
浏览文件 @
73626ab8
此差异已折叠。
点击以展开。
dist/js/chunk-5a7c757d.d15b7abb.js
已删除
100644 → 0
浏览文件 @
3eaf5d8a
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-5a7c757d
"
],{
"
166b
"
:
function
(
t
,
n
,
o
){},
"
6d24
"
:
function
(
t
,
n
,
o
){
"
use strict
"
;
o
(
"
166b
"
)},
8354
:
function
(
t
,
n
,
o
){
t
.
exports
=
o
.
p
+
"
img/功能调整中.44ca9bae.png
"
},
"
9d03
"
:
function
(
t
,
n
,
o
){
"
use strict
"
;
o
.
r
(
n
);
var
s
=
function
(){
var
t
=
this
;
t
.
_self
.
_c
;
return
t
.
_m
(
0
)},
a
=
[
function
(){
var
t
=
this
,
n
=
t
.
_self
.
_c
;
return
n
(
"
div
"
,{
staticClass
:
"
container
"
},[
n
(
"
img
"
,{
staticClass
:
"
img-bg
"
,
attrs
:{
src
:
o
(
"
8354
"
)}}),
n
(
"
strong
"
,{
staticStyle
:{
"
font-size
"
:
"
20px
"
,
display
:
"
block
"
,
"
margin-top
"
:
"
16px
"
}},[
t
.
_v
(
"
功能调整中
"
)])])}],
c
=
{
data
:
function
(){
return
{}},
methods
:{
go2Flow
:
function
(){
var
t
=
idt
.
getToken
();
window
.
open
(
"
https://asc.hnasct.cn/#/et?token=
"
.
concat
(
t
,
"
&links=startInfo&templateId=1765383350454104064&formName=表单测试&type=start
"
),
"
_blank
"
)}},
mounted
:
function
(){
this
.
go2Flow
()}},
i
=
c
,
e
=
(
o
(
"
6d24
"
),
o
(
"
2877
"
)),
r
=
Object
(
e
[
"
a
"
])(
i
,
s
,
a
,
!
1
,
null
,
"
a00459be
"
,
null
);
n
[
"
default
"
]
=
r
.
exports
}}]);
\ No newline at end of file
dist/js/chunk-8faf3332.f14154d7.js
0 → 100644
浏览文件 @
73626ab8
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-8faf3332
"
],{
5718
:
function
(
t
,
n
,
o
){},
8354
:
function
(
t
,
n
,
o
){
t
.
exports
=
o
.
p
+
"
img/功能调整中.44ca9bae.png
"
},
"
93e9
"
:
function
(
t
,
n
,
o
){
"
use strict
"
;
o
(
"
5718
"
)},
"
9d03
"
:
function
(
t
,
n
,
o
){
"
use strict
"
;
o
.
r
(
n
);
var
s
=
function
(){
var
t
=
this
;
t
.
_self
.
_c
;
return
t
.
_m
(
0
)},
e
=
[
function
(){
var
t
=
this
,
n
=
t
.
_self
.
_c
;
return
n
(
"
div
"
,{
staticClass
:
"
container
"
},[
n
(
"
img
"
,{
staticClass
:
"
img-bg
"
,
attrs
:{
src
:
o
(
"
8354
"
)}}),
n
(
"
strong
"
,{
staticStyle
:{
"
font-size
"
:
"
20px
"
,
display
:
"
block
"
,
"
margin-top
"
:
"
16px
"
}},[
t
.
_v
(
"
外接流程
"
)])])}],
i
=
{
data
:
function
(){
return
{}},
methods
:{
go2Flow
:
function
(){
window
.
open
(
"
http://192.168.1.75:8081/#/et?token=test&links=startInfo&templateId=1765383350454104064&formName=表单测试&type=start
"
,
"
_blank
"
)}},
mounted
:
function
(){
this
.
go2Flow
()}},
a
=
i
,
c
=
(
o
(
"
93e9
"
),
o
(
"
2877
"
)),
r
=
Object
(
c
[
"
a
"
])(
a
,
s
,
e
,
!
1
,
null
,
"
72547644
"
,
null
);
n
[
"
default
"
]
=
r
.
exports
}}]);
\ No newline at end of file
dist/js/chunk-91e11bd6.c71ef59a.js
已删除
100644 → 0
浏览文件 @
3eaf5d8a
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
src/components/common/CEditModal.vue
浏览文件 @
73626ab8
...
@@ -110,52 +110,70 @@
...
@@ -110,52 +110,70 @@
<Button
ghost
type=
"primary"
@
click=
"setMap"
>
{{
[
'
配置坐标
'
,
'
更改坐标
'
][
regionDot
]
}}
</Button>
<Button
ghost
type=
"primary"
@
click=
"setMap"
>
{{
[
'
配置坐标
'
,
'
更改坐标
'
][
regionDot
]
}}
</Button>
<div
v-for=
"(item,index) in formData['attandence_area']"
v-if=
"formData['attandence_area'].length >0"
<div
v-for=
"(item,index) in formData['attandence_area']"
v-if=
"formData['attandence_area'].length >0"
:key=
"index"
:key=
"index"
style=
"width: 100%;min-height: 20px;display: flex;border-radius: 10px;padding: 5px;border:1px solid #6cb4fd;margin: 5px 0;"
>
>
<div
style=
"width: 100%;min-height: 20px;display: flex;padding: 5px;margin: 5px 0;"
>
<div
style=
"width: 85%;height: 100%;background-color:#ffffff ;"
>
<div
style=
"width: 85%;height: 100%;background-color:#ffffff ;"
>
<div
style=
"width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px"
>
<div
style=
"width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px"
>
地址
{{
index
+
1
}}
:
{{
item
.
address
}}
(范围:
{{
item
.
offset
}}
米)
<Icon
style=
"margin-right: 8px"
type=
"ios-pin-outline"
/>
{{
item
.
address
}}
(范围:
{{
item
.
offset
}}
米)
</div>
</div>
</div>
</div>
<div
<div
style=
"width: 15%;height: 100%;display: flex;justify-content: center;align-items: center;cursor: pointer"
style=
"cursor: pointer; width:15%;height: 100%;background-color:#ffffff ;display: flex;align-items: center;justify-content: center"
>
@
click=
"()=>formData['attandence_area'].splice(index,1)"
>
<Poptip
confirm
title=
"是否确认删除?"
transfer
@
on-ok=
"()=>formData['attandence_area'].splice(index,1)"
>
<Icon
color=
"#A3A3A3"
size=
"20"
type=
"md-close"
/>
<Icon
color=
"#A3A3A3"
size=
"20"
type=
"md-close"
/>
</Poptip>
</div>
</div>
</div>
<divider></divider>
</div>
</div>
</div>
</div>
<div
v-else-if=
"item.type == 'areaTime1'"
>
<div
v-else-if=
"item.type == 'areaTime1'"
>
<Button
ghost
type=
"primary"
@
click=
"setTime1"
>
{{
[
'
配置时间
'
,
'
更改时间
'
][
regionDot
]
}}
</Button>
<Button
ghost
type=
"primary"
@
click=
"setTime1"
>
{{
[
'
配置时间
'
,
'
更改时间
'
][
regionDot
]
}}
</Button>
<div
v-for=
"(item,index) in formData['sign_daytime']"
v-if=
"formData['sign_daytime'].length >0"
<div
v-for=
"(item,index) in formData['sign_daytime']"
v-if=
"formData['sign_daytime'].length >0"
:key=
"index"
:key=
"index"
style=
"width: 100%;min-height: 20px;display: flex;border-radius: 10px;padding: 5px;border:1px solid #6cb4fd;margin: 5px 0;"
>
>
<div
style=
"width: 100%;min-height: 20px;display: flex;padding: 5px;margin: 5px 0;"
>
<div
style=
"width: 85%;height: 100%;background-color:#ffffff ;"
>
<div
style=
"width: 85%;height: 100%;background-color:#ffffff ;"
>
<div
style=
"width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px"
>
<div
style=
"width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px"
>
<Icon
style=
"margin-right: 8px"
type=
"ios-alarm-outline"
/>
{{
item
.
begin
+
'
~
'
+
item
.
end
}}
{{
item
.
begin
+
'
~
'
+
item
.
end
}}
</div>
</div>
</div>
</div>
<div
<div
style=
"width: 15%;height: 100%;display: flex;justify-content: center;align-items: center;cursor: pointer"
style=
"cursor: pointer;width:15%;height: 100%;background-color:#ffffff ;display: flex;align-items: center;justify-content: center"
>
@
click=
"()=>formData['sign_daytime'].splice(index,1)"
>
<Poptip
confirm
title=
"是否确认删除?"
transfer
@
on-ok=
"()=>formData['sign_daytime'].splice(index,1)"
>
<Icon
color=
"#A3A3A3"
size=
"20"
type=
"md-close"
/>
<Icon
color=
"#A3A3A3"
size=
"20"
type=
"md-close"
/>
</Poptip>
</div>
</div>
</div>
</div>
<divider></divider>
</div>
</div>
</div>
<div
v-else-if=
"item.type == 'areaTime2'"
>
<div
v-else-if=
"item.type == 'areaTime2'"
>
<Button
ghost
type=
"primary"
@
click=
"setTime2"
>
{{
[
'
配置时间
'
,
'
更改时间
'
][
regionDot
]
}}
</Button>
<Button
ghost
type=
"primary"
@
click=
"setTime2"
>
{{
[
'
配置时间
'
,
'
更改时间
'
][
regionDot
]
}}
</Button>
<div
v-for=
"(item,index) in formData['sign_night_time']"
v-if=
"formData['sign_night_time'].length >0"
<div
v-for=
"(item,index) in formData['sign_night_time']"
v-if=
"formData['sign_night_time'].length >0"
:key=
"index"
:key=
"index"
style=
"width: 100%;min-height: 20px;display: flex;border-radius: 10px;padding: 5px;border:1px solid #6cb4fd;margin: 5px 0;"
>
>
<div
style=
"width: 100%;min-height: 20px;display: flex;padding: 5px;margin: 5px 0;"
>
<div
style=
"width: 85%;height: 100%;background-color:#ffffff ;"
>
<div
style=
"width: 85%;height: 100%;background-color:#ffffff ;"
>
<div
style=
"width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px"
>
<div
style=
"width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px"
>
<Icon
style=
"margin-right: 8px"
type=
"ios-alarm-outline"
/>
{{
item
.
begin
+
'
~
'
+
item
.
end
}}
{{
item
.
begin
+
'
~
'
+
item
.
end
}}
</div>
</div>
</div>
</div>
<div
<div
style=
"width: 15%;height: 100%;display: flex;justify-content: center;align-items: center;cursor: pointer"
style=
"cursor: pointer;width:15%;height: 100%;background-color:#ffffff ;display: flex;align-items: center;justify-content: center"
>
@
click=
"()=>formData['sign_night_time'].splice(index,1)"
>
<Poptip
confirm
title=
"是否确认删除?"
transfer
@
on-ok=
"()=>formData['sign_night_time'].splice(index,1)"
>
<Icon
color=
"#A3A3A3"
size=
"20"
type=
"md-close"
/>
<Icon
color=
"#A3A3A3"
size=
"20"
type=
"md-close"
/>
</Poptip>
</div>
</div>
</div>
</div>
<divider></divider>
</div>
</div>
</div>
</FormItem>
</FormItem>
...
@@ -207,19 +225,31 @@
...
@@ -207,19 +225,31 @@
<span
v-if=
"item.type == 'areaTime1'"
>
<span
v-if=
"item.type == 'areaTime1'"
>
<div
v-for=
"(item,index) in formData['sign_daytime']"
v-if=
"formData['sign_daytime'].length >0"
<div
v-for=
"(item,index) in formData['sign_daytime']"
v-if=
"formData['sign_daytime'].length >0"
:key=
"index"
:key=
"index"
>
{{
item
.
begin
+
'
~
'
+
item
.
end
}}
</div>
>
<div
style=
"width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px"
>
<Icon
style=
"margin-right: 8px"
type=
"ios-alarm-outline"
/>
{{
item
.
begin
+
'
~
'
+
item
.
end
}}
</div>
</div>
</span>
</span>
<span
v-if=
"item.type == 'areaTime2'"
>
<span
v-if=
"item.type == 'areaTime2'"
>
<div
v-for=
"(item,index) in formData['sign_daytime']"
v-if=
"formData['sign_daytime'].length >0"
<div
v-for=
"(item,index) in formData['sign_daytime']"
v-if=
"formData['sign_daytime'].length >0"
:key=
"index"
:key=
"index"
>
>
{{
item
.
begin
+
'
~
'
+
item
.
end
}}
<div
style=
"width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px"
>
<Icon
style=
"margin-right: 8px"
type=
"ios-alarm-outline"
/>
{{
item
.
begin
+
'
~
'
+
item
.
end
}}
</div>
</div>
</div>
</span>
</span>
<span
v-if=
"item.type == 'area'"
>
<span
v-if=
"item.type == 'area'"
>
<div
v-for=
"(item,index) in formData['attandence_area']"
v-if=
"formData['attandence_area'].length >0"
<div
v-for=
"(item,index) in formData['attandence_area']"
v-if=
"formData['attandence_area'].length >0"
:key=
"index"
:key=
"index"
>
地址
{{
index
+
1
}}
:
{{
item
.
address
}}
(范围:
{{
item
.
offset
}}
米)
</div>
>
<div
style=
"width: 85%;height: 100%;background-color:#ffffff ;"
>
<div
style=
"width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px"
>
<Icon
style=
"margin-right: 8px"
type=
"ios-pin-outline"
/>
{{
item
.
address
}}
(范围:
{{
item
.
offset
}}
米)
</div>
</div>
</div>
</span>
</span>
<!-- 存在问题:性别项,有时返回值为null,select的“不限”值为空字符串,会报错 -->
<!-- 存在问题:性别项,有时返回值为null,select的“不限”值为空字符串,会报错 -->
<span
v-if=
"item.type == 'select'"
>
<span
v-if=
"item.type == 'select'"
>
...
@@ -457,6 +487,21 @@ export default {
...
@@ -457,6 +487,21 @@ export default {
<
/script
>
<
/script
>
<
style
lang
=
"
less
"
scoped
>
<
style
lang
=
"
less
"
scoped
>
/deep/
.
ivu
-
form
-
item
-
content
{
position
:
relative
;
/* line-height: 32px; */
font
-
size
:
14
px
;
}
/deep/
.
ivu
-
divider
-
horizontal
{
display
:
block
;
height
:
1
px
;
width
:
100
%
;
min
-
width
:
100
%
;
margin
:
0
;
clear
:
both
;
}
.
ivu
-
form
-
item
{
.
ivu
-
form
-
item
{
padding
-
right
:
15
px
;
padding
-
right
:
15
px
;
}
}
...
...
src/pages/dutyConfig/index.vue
浏览文件 @
73626ab8
...
@@ -274,7 +274,7 @@ export default {
...
@@ -274,7 +274,7 @@ export default {
{
key
:
'
name
'
,
title
:
'
值班配置值班
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
key
:
'
name
'
,
title
:
'
值班配置值班
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
key
:
'
day_time
'
,
title
:
'
一天值班时间段
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
false
},
{
key
:
'
day_time
'
,
title
:
'
一天值班时间段
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
false
},
{
key
:
'
effect_begin
'
,
title
:
'
配置生效开始时间
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
key
:
'
effect_begin
'
,
title
:
'
配置生效开始时间
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
key
:
'
effect_end
'
,
title
:
'
配置生效结束时间
'
,
align
:
'
center
'
,
minWidth
:
8
0
,
show
:
true
},
{
key
:
'
effect_end
'
,
title
:
'
配置生效结束时间
'
,
align
:
'
center
'
,
minWidth
:
15
0
,
show
:
true
},
{
slot
:
'
log_content
'
,
title
:
'
值班日志
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
slot
:
'
log_content
'
,
title
:
'
值班日志
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
slot
:
'
generalSwitch
'
,
title
:
'
启用
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
slot
:
'
generalSwitch
'
,
title
:
'
启用
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
slot
:
'
actionAndDetails
'
,
title
:
'
操作
'
,
align
:
'
center
'
,
minWidth
:
160
,
show
:
true
,
fixed
:
'
right
'
},
{
slot
:
'
actionAndDetails
'
,
title
:
'
操作
'
,
align
:
'
center
'
,
minWidth
:
160
,
show
:
true
,
fixed
:
'
right
'
},
...
@@ -458,9 +458,7 @@ export default {
...
@@ -458,9 +458,7 @@ export default {
this
.
dataCount
=
res
.
data_count
this
.
dataCount
=
res
.
data_count
this
.
tableLoading
=
false
this
.
tableLoading
=
false
})
})
},
},
// 改变开关
// 改变开关
switchChange
(
val
,
row
,
index
)
{
switchChange
(
val
,
row
,
index
)
{
api
.
getApiDutyConfigModifyDutyConfigStatus
({
id
:
row
.
id
,
is_enable
:
val
}).
then
(
res
=>
{
api
.
getApiDutyConfigModifyDutyConfigStatus
({
id
:
row
.
id
,
is_enable
:
val
}).
then
(
res
=>
{
...
@@ -535,12 +533,12 @@ export default {
...
@@ -535,12 +533,12 @@ export default {
}
}
}),
}),
attandence_area
:
JSON
.
parse
(
res
.
attendance_area
),
attandence_area
:
JSON
.
parse
(
res
.
attendance_area
),
duty_daytime
:
res
.
duty_daytime
.
split
(
'
~
'
),
duty_daytime
:
res
.
duty_daytime
.
split
(
'
~
'
),
//白天
duty_night_time
:
res
.
duty_night_time
.
split
(
'
~
'
),
duty_night_time
:
res
.
duty_night_time
.
split
(
'
~
'
),
//晚上
day_time
:
res
.
day_time
.
split
(
'
~
'
),
day_time
:
res
.
day_time
.
split
(
'
~
'
),
//一天
effect_beginAndEffect_end
:
[
effect_beginAndEffect_end
:
[
dayjs
(
r
ow
.
effect_begin
).
format
(
'
YYYY-MM-DD hh:mm
'
),
dayjs
(
r
es
.
effect_begin
).
format
(
'
YYYY-MM-DD hh:mm
'
),
dayjs
(
r
ow
.
effect_end
).
format
(
'
YYYY-MM-DD hh:mm
'
),
dayjs
(
r
es
.
effect_end
).
format
(
'
YYYY-MM-DD hh:mm
'
),
]
]
})
})
this
.
editModalLoading
=
false
this
.
editModalLoading
=
false
...
@@ -577,7 +575,6 @@ export default {
...
@@ -577,7 +575,6 @@ export default {
let
strategy
=
{
let
strategy
=
{
'
add
'
:
()
=>
{
'
add
'
:
()
=>
{
//新增值班配置
//新增值班配置
this
.
$Modal
.
confirm
({
this
.
$Modal
.
confirm
({
title
:
'
提示
'
,
title
:
'
提示
'
,
content
:
'
是否确定提交?
'
,
content
:
'
是否确定提交?
'
,
...
@@ -612,7 +609,6 @@ export default {
...
@@ -612,7 +609,6 @@ export default {
}
}
}
}
strategy
[
this
.
flag
]()
strategy
[
this
.
flag
]()
},
},
// 删除
// 删除
rowDelete
(
row
)
{
rowDelete
(
row
)
{
...
...
src/pages/dutychange/index.vue
浏览文件 @
73626ab8
<
template
>
<
template
>
<div
class=
"container"
>
<div
class=
"container"
>
<img
src=
"@/assets/images/功能调整中.png"
class=
"img-bg"
/>
<img
src=
"@/assets/images/功能调整中.png"
class=
"img-bg"
/>
<strong
style=
"font-size:20px;display: block;margin-top:16px"
>
功能调整中
</strong>
<strong
style=
"font-size:20px;display: block;margin-top:16px"
>
外接流程
</strong>
</div>
</div>
</
template
>
</
template
>
...
@@ -14,8 +14,9 @@ export default {
...
@@ -14,8 +14,9 @@ export default {
},
},
methods
:{
methods
:{
go2Flow
(){
go2Flow
(){
let
token
=
idt
.
getToken
()
// let token = idt.getToken()
window
.
open
(
`https://asc.hnasct.cn/#/et?token=
${
token
}
&links=startInfo&templateId=1765383350454104064&formName=表单测试&type=start`
,
'
_blank
'
)
window
.
open
(
'
http://192.168.1.75:8081/#/et?token=test&links=startInfo&templateId=1765383350454104064&formName=表单测试&type=start
'
,
'
_blank
'
)
// window.open(`https://asc.hnasct.cn/pcflow/#/et?token=test&links=startInfo&templateId=1765383350454104064&formName=表单测试&type=start`,'_blank')
}
}
},
},
mounted
()
{
mounted
()
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录