Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-3
Commits
d58478d2
Commit
d58478d2
authored
Apr 20, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改首页
parent
a109429d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
8 deletions
+13
-8
index.html
dist/index.html
+2
-2
app.fbb6d907224fb5ee3a40a1c768c8f985.css
dist/static/css/app.fbb6d907224fb5ee3a40a1c768c8f985.css
+0
-0
7.13b5680356d6e50dcaa0.js
dist/static/js/7.13b5680356d6e50dcaa0.js
+0
-2
7.681da418f09ca43b7f10.js
dist/static/js/7.681da418f09ca43b7f10.js
+2
-0
manifest.3d29dae4d89187197bbe.js
dist/static/js/manifest.3d29dae4d89187197bbe.js
+2
-2
fail-log.vue
src/components/company/fail-log.vue
+7
-2
No files found.
dist/index.html
View file @
d58478d2
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.fc616845369a552354eabe1ed87ff609.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.49d5a3f8abe388cacd3d.js
></script><script
type=
text/javascript
src=
./static/js/vendor.014a23eec35e9d02ede3.js
></script><script
type=
text/javascript
src=
./static/js/app.22fd13a2fb10be5cf2dd.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.fbb6d907224fb5ee3a40a1c768c8f985.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.3d29dae4d89187197bbe.js
></script><script
type=
text/javascript
src=
./static/js/vendor.014a23eec35e9d02ede3.js
></script><script
type=
text/javascript
src=
./static/js/app.22fd13a2fb10be5cf2dd.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.f
c616845369a552354eabe1ed87ff609
.css
→
dist/static/css/app.f
bb6d907224fb5ee3a40a1c768c8f985
.css
View file @
d58478d2
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/7.13b5680356d6e50dcaa0.js
deleted
100644 → 0
View file @
a109429d
webpackJsonp
([
7
],{
"20P3"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"3Xzz"
),
n
=
a
(
"Qs+A"
),
s
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
l
=
{
name
:
"fail-log"
,
props
:{
taskId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
0
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
tableData
:[]}},
computed
:{},
methods
:{
handleClose
:
function
(){
this
.
tableData
=
[],
this
.
$emit
(
"closeLog"
)},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
keyWord
:
e
.
searchInput
||
""
,
taskId
:
e
.
taskId
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
s
.
a
)(
"/haoban-manage3-web/sync-task-detail"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
result
||
[],
e
.
total
=
a
.
result
.
totalCount
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
taskId
:
function
(
t
,
e
){
t
&&
this
.
getTableList
()}},
mounted
:
function
(){
this
.
taskId
&&
this
.
getTableList
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
o
.
a
,
setDepartment
:
n
.
a
}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"查看失败日志"
,
visible
:
t
.
dialogVisible
,
width
:
"995px"
,
"before-close"
:
t
.
handleClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
dialogVisible
=
e
}}},[
a
(
"div"
,{
staticClass
:
"overstore-tip"
},[
a
(
"div"
,{
staticClass
:
"el-alert el-alert--info flex flex-align-start"
,
attrs
:{
role
:
"alert"
}},[
a
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-2f54eb"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-alert__content"
},[
a
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
t
.
_v
(
"失败可能:分组创建失败或门店及成员创建失败"
),
a
(
"br"
),
t
.
_v
(
"
\
n 通讯录同步分为两步串联创建:"
),
a
(
"br"
),
t
.
_v
(
"
\
n 第一步同步分组,若出现分组创建失败,则分组及下面的门店及成员均会创建失败"
),
a
(
"br"
),
t
.
_v
(
"
\
n 第二步同步门店及成员,若分组创建成功,会同步门店及成员,若门店创建失败,则门店下成员也会创建失败"
)])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组/门店名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
dataName
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"分组/门店code"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
dataCode
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"所属分组"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
finishTime
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"同步状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:[
"span-dot"
,
2
==
e
.
row
.
statusFlag
?
"bg-52c41a"
:
"bg-f5222d"
]}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
t
.
_s
(
3
==
e
.
row
.
statusFlag
?
"同步失败"
:
1
==
e
.
row
.
statusFlag
?
"同步处理中"
:
"--"
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"失败原因"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"'--'"
)(
e
.
row
.
reason
)))]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
i
,
!
1
,
function
(
t
){
a
(
"6kBD"
)},
"data-v-c633b58c"
,
null
).
exports
,
u
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
288
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"通讯录"
,
path
:
"/contactsList"
},{
name
:
"通讯录日志"
,
path
:
""
}],
searchInput
:
""
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
tableData
:[],
logShow
:
!
1
,
taskId
:
""
}},
computed
:{},
methods
:{
toShowLog
:
function
(
t
,
e
){
this
.
taskId
=
e
.
taskId
,
this
.
logShow
=!
0
},
closeLog
:
function
(){
this
.
taskId
=
""
,
this
.
logShow
=!
1
},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
keyWord
:
e
.
searchInput
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
s
.
a
)(
"/haoban-manage3-web/sync-task"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
result
||
[],
e
.
total
=
a
.
result
.
totalCount
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
getTableList
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
o
.
a
,
setDepartment
:
n
.
a
,
failLog
:
c
}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
userName
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"同步时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
createTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
createTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
updateTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
updateTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"同步内容"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"'--'"
)(
e
.
row
.
taskDesc
)))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:[
"span-dot"
,
4
==
e
.
row
.
statusFlag
?
"bg-52c41a"
:
"bg-f5222d"
]}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
t
.
_s
(
4
==
e
.
row
.
statusFlag
?
"成功"
:
5
==
e
.
row
.
statusFlag
?
"完成有错误"
:
6
==
e
.
row
.
statusFlag
?
"有错误关闭"
:
""
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
5
==
e
.
row
.
statusFlag
||
6
==
e
.
row
.
statusFlag
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toShowLog
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看失败日志"
)]):
t
.
_e
()]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])])])]),
t
.
_v
(
" "
),
t
.
logShow
?
a
(
"fail-log"
,{
attrs
:{
taskId
:
t
.
taskId
},
on
:{
closeLog
:
t
.
closeLog
}}):
t
.
_e
()],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"overstore-tip"
,
staticStyle
:{
width
:
"643px"
}},[
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info flex flex-align-start"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-2f54eb"
}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"仅保存近一年失败日志"
)])])])])}]};
var
p
=
a
(
"VU/8"
)(
u
,
d
,
!
1
,
function
(
t
){
a
(
"HSXm"
)},
"data-v-52e49995"
,
null
);
e
.
default
=
p
.
exports
},
"6kBD"
:
function
(
t
,
e
){},
HSXm
:
function
(
t
,
e
){},
"Qs+A"
:
function
(
t
,
e
,
a
){
"use strict"
;
var
o
=
a
(
"mvHQ"
),
n
=
a
.
n
(
o
),
s
=
a
(
"Xxa5"
),
r
=
a
.
n
(
s
),
l
=
a
(
"exGp"
),
i
=
a
.
n
(
l
),
c
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
d
=
a
(
"Ch4/"
),
p
=
a
(
"3E4D"
),
f
=
{
props
:{
recoverItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
setVisible
:
!
0
,
treeData
:[],
searchSelect
:
""
,
selectId
:
""
,
groupData
:[],
groupDataCopy
:[],
defaultProps
:{
children
:
"children"
,
label
:
"departmentName"
}}},
computed
:{},
watch
:{
searchSelect
:
function
(
t
){
this
.
$refs
.
groupTree
.
filter
(
t
)}},
methods
:{
loadNode
:
function
(
t
,
e
){
var
a
=
this
;
return
i
()(
r
.
a
.
mark
(
function
o
(){
var
n
;
return
r
.
a
.
wrap
(
function
(
o
){
for
(;;)
switch
(
o
.
prev
=
o
.
next
){
case
0
:
if
(
n
=
a
,
0
!==
t
.
level
){
o
.
next
=
5
;
break
}
return
o
.
abrupt
(
"return"
,
e
(
n
.
getGroup
()));
case
5
:
return
o
.
next
=
7
,
n
.
getGroup
(
t
,
t
.
data
,
e
);
case
7
:
case
"end"
:
return
o
.
stop
()}},
o
,
a
)}))()},
handleClose
:
function
(
t
){
t
(),
this
.
$emit
(
"closeSet"
),
this
.
selectId
=
""
},
cancel
:
function
(){
this
.
$emit
(
"closeSet"
),
this
.
selectId
=
""
},
filterNode
:
function
(
t
,
e
){
return
!
t
||!
e
.
label
||-
1
!==
e
.
label
.
indexOf
(
t
)},
toInput
:
Object
(
c
.
a
)(
function
(
t
,
e
){
if
(
!
this
.
groupDataCopy
.
length
)
return
!
1
},
200
),
clearSearch
:
function
(){
this
.
groupData
=
JSON
.
parse
(
n
()(
this
.
groupDataCopy
))},
handleNodeClick
:
function
(
t
){
console
.
log
(
t
),
this
.
selectId
=
t
.
departmentId
,
this
.
selectData
=
t
},
getGroup
:
function
(
t
,
e
,
a
){
var
o
=
this
,
s
=
{
parentId
:
e
?
e
.
departmentId
:
""
,
isStore
:
0
};
if
(
t
&&
(
!
e
.
hasSonNode
||
1
==
e
.
isStore
))
return
a
([]),
!
1
;
Object
(
u
.
a
)(
"/haoban-manage3-web/department-list-level"
,
s
).
then
(
function
(
s
){
var
r
=
s
.
data
;
if
(
1
==
r
.
errorCode
)
return
r
.
result
&&
r
.
result
.
length
&&
r
.
result
.
forEach
(
function
(
t
){
t
.
expand
=!
1
,
t
.
children
=
[],
t
.
label
=
t
.
departmentName
}),
t
?(
a
(
r
.
result
),
e
.
children
||
o
.
$set
(
e
,
"children"
,[]),
e
.
children
=
r
.
result
||
[],
o
.
$forceUpdate
(),
!
1
):(
o
.
groupData
=
r
.
result
||
[],
void
(
o
.
groupDataCopy
=
JSON
.
parse
(
n
()(
o
.
groupData
))));
d
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
o
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
submitForm
:
function
(){
var
t
=
this
;
if
(
!
t
.
selectId
)
return
p
.
a
.
showmsg
(
"请选择部门"
,
"warning"
),
!
1
;
if
(
1
==
t
.
selectData
.
isStore
)
return
p
.
a
.
showmsg
(
"禁止门店下面添加节点"
,
"warning"
),
!
1
;
var
e
=
{
departmentId
:
t
.
recoverItem
.
departmentId
,
parentId
:
t
.
selectId
};
Object
(
u
.
d
)(
"/haoban-manage3-web/department-repair"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
==
a
.
errorCode
&&
(
p
.
a
.
showmsg
(
"恢复成功"
,
"success"
),
t
.
$emit
(
"closeSet"
,
t
.
selectId
)),
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
components
:{},
mounted
:
function
(){
this
.
getGroup
()}},
h
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
width
:
"600px"
,
title
:
"设置成员所在部门"
,
visible
:
t
.
setVisible
,
"append-to-body"
:
""
,
"before-close"
:
t
.
handleClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
setVisible
=
e
}}},[
a
(
"div"
,{
staticClass
:
"select-search"
},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"296px"
},
attrs
:{
placeholder
:
"请输入内容"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
searchSelect
);
var
a
}},
model
:{
value
:
t
.
searchSelect
,
callback
:
function
(
e
){
t
.
searchSelect
=
e
},
expression
:
"searchSelect"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"select-tree-wrap m-t-20"
},[
a
(
"el-tree"
,{
ref
:
"groupTree"
,
attrs
:{
"filter-node-method"
:
t
.
filterNode
,
data
:
t
.
groupData
,
load
:
t
.
loadNode
,
"node-key"
:
"departmentId"
,
lazy
:
""
,
"default-expand-all"
:
""
,
props
:
t
.
defaultProps
,
"expand-on-click-node"
:
!
1
},
on
:{
"node-click"
:
t
.
handleNodeClick
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
var
o
=
e
.
node
,
n
=
e
.
data
;
return
a
(
"span"
,{
staticClass
:
"custom-tree-node"
},[
a
(
"span"
,{
class
:[
"font-14 p-r-10 iconfont"
,
1
==
n
.
isStore
?
"icondianpu-kuai"
:
"iconqiye-tianchong"
,
1
==
n
.
bindFlag
?
"color-2f54eb"
:
"color-dedfe6"
]}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
t
.
_s
(
o
.
label
))])])}}])})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
t
.
cancel
}},[
t
.
_v
(
"取消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
submitForm
}},[
t
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
f
,
h
,
!
1
,
function
(
t
){
a
(
"mIym"
)},
"data-v-6b4c03fc"
,
null
);
e
.
a
=
g
.
exports
},
mIym
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/7.681da418f09ca43b7f10.js
0 → 100644
View file @
d58478d2
webpackJsonp
([
7
],{
"20P3"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"3Xzz"
),
n
=
a
(
"Qs+A"
),
s
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
l
=
{
name
:
"fail-log"
,
props
:{
taskId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
0
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
tableData
:[]}},
computed
:{},
methods
:{
handleClose
:
function
(){
this
.
tableData
=
[],
this
.
$emit
(
"closeLog"
)},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
keyWord
:
e
.
searchInput
||
""
,
taskId
:
e
.
taskId
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
s
.
a
)(
"/haoban-manage3-web/sync-task-detail"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
result
||
[],
e
.
total
=
a
.
result
.
totalCount
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
taskId
:
function
(
t
,
e
){
t
&&
this
.
getTableList
()}},
mounted
:
function
(){
this
.
taskId
&&
this
.
getTableList
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
o
.
a
,
setDepartment
:
n
.
a
}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"查看失败日志"
,
visible
:
t
.
dialogVisible
,
width
:
"995px"
,
"before-close"
:
t
.
handleClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
dialogVisible
=
e
}}},[
a
(
"div"
,{
staticClass
:
"overstore-tip"
},[
a
(
"div"
,{
staticClass
:
"el-alert el-alert--info flex flex-align-start"
,
attrs
:{
role
:
"alert"
}},[
a
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-2f54eb"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-alert__content"
},[
a
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
t
.
_v
(
"失败可能:分组创建失败或门店及成员创建失败"
),
a
(
"br"
),
t
.
_v
(
"
\
n 通讯录同步分为两步串联创建:"
),
a
(
"br"
),
t
.
_v
(
"
\
n 第一步同步分组,若出现分组创建失败,则分组及下面的门店及成员均会创建失败"
),
a
(
"br"
),
t
.
_v
(
"
\
n 第二步同步门店及成员,若分组创建成功,会同步门店及成员,若门店创建失败,则门店下成员也会创建失败"
)])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
height
:
"450"
,
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组/门店名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
dataName
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"分组/门店code"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
dataCode
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"所属分组"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
chainName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"数据类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
0
==
e
.
row
.
dataType
?
"分组"
:
1
==
e
.
row
.
dataType
?
"门店"
:
"成员"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"同步状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:[
"span-dot"
,
2
==
e
.
row
.
statusFlag
?
"bg-52c41a"
:
"bg-f5222d"
]}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
t
.
_s
(
3
==
e
.
row
.
statusFlag
?
"同步失败"
:
1
==
e
.
row
.
statusFlag
?
"同步处理中"
:
"--"
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"失败原因"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"'--'"
)(
e
.
row
.
reason
)))]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
i
,
!
1
,
function
(
t
){
a
(
"pLnT"
)},
"data-v-02727024"
,
null
).
exports
,
u
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
288
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"通讯录"
,
path
:
"/contactsList"
},{
name
:
"通讯录日志"
,
path
:
""
}],
searchInput
:
""
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
tableData
:[],
logShow
:
!
1
,
taskId
:
""
}},
computed
:{},
methods
:{
toShowLog
:
function
(
t
,
e
){
this
.
taskId
=
e
.
taskId
,
this
.
logShow
=!
0
},
closeLog
:
function
(){
this
.
taskId
=
""
,
this
.
logShow
=!
1
},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
keyWord
:
e
.
searchInput
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
s
.
a
)(
"/haoban-manage3-web/sync-task"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
result
||
[],
e
.
total
=
a
.
result
.
totalCount
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
getTableList
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
o
.
a
,
setDepartment
:
n
.
a
,
failLog
:
c
}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
userName
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"同步时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
createTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
createTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
updateTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
updateTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"同步内容"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"'--'"
)(
e
.
row
.
taskDesc
)))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:[
"span-dot"
,
4
==
e
.
row
.
statusFlag
?
"bg-52c41a"
:
"bg-f5222d"
]}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
t
.
_s
(
4
==
e
.
row
.
statusFlag
?
"成功"
:
5
==
e
.
row
.
statusFlag
?
"完成有错误"
:
6
==
e
.
row
.
statusFlag
?
"有错误关闭"
:
""
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
5
==
e
.
row
.
statusFlag
||
6
==
e
.
row
.
statusFlag
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toShowLog
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看失败日志"
)]):
t
.
_e
()]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])])])]),
t
.
_v
(
" "
),
t
.
logShow
?
a
(
"fail-log"
,{
attrs
:{
taskId
:
t
.
taskId
},
on
:{
closeLog
:
t
.
closeLog
}}):
t
.
_e
()],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"overstore-tip"
,
staticStyle
:{
width
:
"643px"
}},[
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info flex flex-align-start"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-2f54eb"
}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"仅保存近一年失败日志"
)])])])])}]};
var
p
=
a
(
"VU/8"
)(
u
,
d
,
!
1
,
function
(
t
){
a
(
"HSXm"
)},
"data-v-52e49995"
,
null
);
e
.
default
=
p
.
exports
},
HSXm
:
function
(
t
,
e
){},
"Qs+A"
:
function
(
t
,
e
,
a
){
"use strict"
;
var
o
=
a
(
"mvHQ"
),
n
=
a
.
n
(
o
),
s
=
a
(
"Xxa5"
),
r
=
a
.
n
(
s
),
l
=
a
(
"exGp"
),
i
=
a
.
n
(
l
),
c
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
d
=
a
(
"Ch4/"
),
p
=
a
(
"3E4D"
),
f
=
{
props
:{
recoverItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
setVisible
:
!
0
,
treeData
:[],
searchSelect
:
""
,
selectId
:
""
,
groupData
:[],
groupDataCopy
:[],
defaultProps
:{
children
:
"children"
,
label
:
"departmentName"
}}},
computed
:{},
watch
:{
searchSelect
:
function
(
t
){
this
.
$refs
.
groupTree
.
filter
(
t
)}},
methods
:{
loadNode
:
function
(
t
,
e
){
var
a
=
this
;
return
i
()(
r
.
a
.
mark
(
function
o
(){
var
n
;
return
r
.
a
.
wrap
(
function
(
o
){
for
(;;)
switch
(
o
.
prev
=
o
.
next
){
case
0
:
if
(
n
=
a
,
0
!==
t
.
level
){
o
.
next
=
5
;
break
}
return
o
.
abrupt
(
"return"
,
e
(
n
.
getGroup
()));
case
5
:
return
o
.
next
=
7
,
n
.
getGroup
(
t
,
t
.
data
,
e
);
case
7
:
case
"end"
:
return
o
.
stop
()}},
o
,
a
)}))()},
handleClose
:
function
(
t
){
t
(),
this
.
$emit
(
"closeSet"
),
this
.
selectId
=
""
},
cancel
:
function
(){
this
.
$emit
(
"closeSet"
),
this
.
selectId
=
""
},
filterNode
:
function
(
t
,
e
){
return
!
t
||!
e
.
label
||-
1
!==
e
.
label
.
indexOf
(
t
)},
toInput
:
Object
(
c
.
a
)(
function
(
t
,
e
){
if
(
!
this
.
groupDataCopy
.
length
)
return
!
1
},
200
),
clearSearch
:
function
(){
this
.
groupData
=
JSON
.
parse
(
n
()(
this
.
groupDataCopy
))},
handleNodeClick
:
function
(
t
){
console
.
log
(
t
),
this
.
selectId
=
t
.
departmentId
,
this
.
selectData
=
t
},
getGroup
:
function
(
t
,
e
,
a
){
var
o
=
this
,
s
=
{
parentId
:
e
?
e
.
departmentId
:
""
,
isStore
:
0
};
if
(
t
&&
(
!
e
.
hasSonNode
||
1
==
e
.
isStore
))
return
a
([]),
!
1
;
Object
(
u
.
a
)(
"/haoban-manage3-web/department-list-level"
,
s
).
then
(
function
(
s
){
var
r
=
s
.
data
;
if
(
1
==
r
.
errorCode
)
return
r
.
result
&&
r
.
result
.
length
&&
r
.
result
.
forEach
(
function
(
t
){
t
.
expand
=!
1
,
t
.
children
=
[],
t
.
label
=
t
.
departmentName
}),
t
?(
a
(
r
.
result
),
e
.
children
||
o
.
$set
(
e
,
"children"
,[]),
e
.
children
=
r
.
result
||
[],
o
.
$forceUpdate
(),
!
1
):(
o
.
groupData
=
r
.
result
||
[],
void
(
o
.
groupDataCopy
=
JSON
.
parse
(
n
()(
o
.
groupData
))));
d
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
o
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
submitForm
:
function
(){
var
t
=
this
;
if
(
!
t
.
selectId
)
return
p
.
a
.
showmsg
(
"请选择部门"
,
"warning"
),
!
1
;
if
(
1
==
t
.
selectData
.
isStore
)
return
p
.
a
.
showmsg
(
"禁止门店下面添加节点"
,
"warning"
),
!
1
;
var
e
=
{
departmentId
:
t
.
recoverItem
.
departmentId
,
parentId
:
t
.
selectId
};
Object
(
u
.
d
)(
"/haoban-manage3-web/department-repair"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
==
a
.
errorCode
&&
(
p
.
a
.
showmsg
(
"恢复成功"
,
"success"
),
t
.
$emit
(
"closeSet"
,
t
.
selectId
)),
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
components
:{},
mounted
:
function
(){
this
.
getGroup
()}},
h
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
width
:
"600px"
,
title
:
"设置成员所在部门"
,
visible
:
t
.
setVisible
,
"append-to-body"
:
""
,
"before-close"
:
t
.
handleClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
setVisible
=
e
}}},[
a
(
"div"
,{
staticClass
:
"select-search"
},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"296px"
},
attrs
:{
placeholder
:
"请输入内容"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
searchSelect
);
var
a
}},
model
:{
value
:
t
.
searchSelect
,
callback
:
function
(
e
){
t
.
searchSelect
=
e
},
expression
:
"searchSelect"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"select-tree-wrap m-t-20"
},[
a
(
"el-tree"
,{
ref
:
"groupTree"
,
attrs
:{
"filter-node-method"
:
t
.
filterNode
,
data
:
t
.
groupData
,
load
:
t
.
loadNode
,
"node-key"
:
"departmentId"
,
lazy
:
""
,
"default-expand-all"
:
""
,
props
:
t
.
defaultProps
,
"expand-on-click-node"
:
!
1
},
on
:{
"node-click"
:
t
.
handleNodeClick
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
var
o
=
e
.
node
,
n
=
e
.
data
;
return
a
(
"span"
,{
staticClass
:
"custom-tree-node"
},[
a
(
"span"
,{
class
:[
"font-14 p-r-10 iconfont"
,
1
==
n
.
isStore
?
"icondianpu-kuai"
:
"iconqiye-tianchong"
,
1
==
n
.
bindFlag
?
"color-2f54eb"
:
"color-dedfe6"
]}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
t
.
_s
(
o
.
label
))])])}}])})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
t
.
cancel
}},[
t
.
_v
(
"取消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
submitForm
}},[
t
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
f
,
h
,
!
1
,
function
(
t
){
a
(
"mIym"
)},
"data-v-6b4c03fc"
,
null
);
e
.
a
=
g
.
exports
},
mIym
:
function
(
t
,
e
){},
pLnT
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/manifest.
49d5a3f8abe388cacd3d
.js
→
dist/static/js/manifest.
3d29dae4d89187197bbe
.js
View file @
d58478d2
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
c
&&
c
(
a
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
63
:
0
};
function
b
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
b
){
c
=
f
[
e
]
=
[
a
,
b
]});
c
[
2
]
=
a
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"ebfd144322bcfb4044b3"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"87f2d3f9d3a16fb1c072"
,
3
:
"83bca32cb852f7a11daf"
,
4
:
"ab8174a3faedf840b70f"
,
5
:
"bf21cfa1832c94ed8d4c"
,
6
:
"c88b49ddd34f1077c424"
,
7
:
"13b5680356d6e50dcaa0"
,
8
:
"a413be3215a2c04e7132"
,
9
:
"523c0e27c40ad0e2a099"
,
10
:
"70d4cfb73e0ebb1e5a0f"
,
11
:
"fca55db2a20cdb939eed"
,
12
:
"69a7846110e7b239cf01"
,
13
:
"ebba5b82c2826c9ba6e1"
,
14
:
"4093e2a3f16424fbfb07"
,
15
:
"a26c45ac1ee1e5d54a7f"
,
16
:
"bc276325eab50b4b86c0"
,
17
:
"edf42ec3b001b6cfe65e"
,
18
:
"4b0922e27b6b34b18611"
,
19
:
"379162e017a8b5beee8b"
,
20
:
"ba2e2bd0823422a4de6c"
,
21
:
"9e35f4bb567c79f900c4"
,
22
:
"4657c811baa7a2a81fa8"
,
23
:
"b696c3789461b84413c4"
,
24
:
"58c7c6c2d8897eb7c474"
,
25
:
"9e5733792c18c643ff3a"
,
26
:
"dba4d3332f3dbc9d7649"
,
27
:
"8c00b479947588ae7b2c"
,
28
:
"110ab7e5f64abacf9778"
,
29
:
"cebf604cf1225f47e634"
,
30
:
"7c1e52b5c0d36e8632c1"
,
31
:
"5a37b0bffabe56fe5af9"
,
32
:
"f7592089bbd49cf8ae9c"
,
33
:
"6133e1e6b5fd398be401"
,
34
:
"06f8f5b3621074c353c6"
,
35
:
"bf9fd1d5441ee72fc26d"
,
36
:
"93c91e49a2adcaf3793d"
,
37
:
"8f4c7fd433e2fc86ab21"
,
38
:
"0cb1610bc0b7ec39980b"
,
39
:
"61c4e14a1b0ea5ffff85"
,
40
:
"34f2de0ffbb2c4bd22b3"
,
41
:
"be7b959a60f42ef67daa"
,
42
:
"341a71ea503996b11a90"
,
43
:
"f4eee7e60e1d81a3cd65"
,
44
:
"f0e3e88e253d14faf973"
,
45
:
"e1d0ed2694e633eca897"
,
46
:
"d0d7666a8d9e3f155fb7"
,
47
:
"d383bda19a279b17d388"
,
48
:
"41401e6b01697e4f8c14"
,
49
:
"15bc78cea887de215d32"
,
50
:
"c2932bcd17cb7bb00ef7"
,
51
:
"6ecd1c76f129643c28a8"
,
52
:
"9fc13e0d46255e8ef544"
,
53
:
"6598383a315e20061786"
,
54
:
"2859fd12cca9ce86f0c3"
,
55
:
"5921ccabefea7cacacc2"
,
56
:
"91a0acffaeb56fc3566c"
,
57
:
"1a7102c508e3c1a0a222"
,
58
:
"a7fa96edb1538ed5b7ff"
,
59
:
"c71bd5036dd611ea623a"
,
60
:
"775007688f0115e168fb"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
a
},
b
.
m
=
e
,
b
.
c
=
a
,
b
.
d
=
function
(
e
,
c
,
a
){
b
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
b
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
c
,
"a"
,
c
),
c
},
b
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
c
&&
c
(
a
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
63
:
0
};
function
b
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
b
){
c
=
f
[
e
]
=
[
a
,
b
]});
c
[
2
]
=
a
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"ebfd144322bcfb4044b3"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"87f2d3f9d3a16fb1c072"
,
3
:
"83bca32cb852f7a11daf"
,
4
:
"ab8174a3faedf840b70f"
,
5
:
"bf21cfa1832c94ed8d4c"
,
6
:
"c88b49ddd34f1077c424"
,
7
:
"681da418f09ca43b7f10"
,
8
:
"a413be3215a2c04e7132"
,
9
:
"523c0e27c40ad0e2a099"
,
10
:
"70d4cfb73e0ebb1e5a0f"
,
11
:
"fca55db2a20cdb939eed"
,
12
:
"69a7846110e7b239cf01"
,
13
:
"ebba5b82c2826c9ba6e1"
,
14
:
"4093e2a3f16424fbfb07"
,
15
:
"a26c45ac1ee1e5d54a7f"
,
16
:
"bc276325eab50b4b86c0"
,
17
:
"edf42ec3b001b6cfe65e"
,
18
:
"4b0922e27b6b34b18611"
,
19
:
"379162e017a8b5beee8b"
,
20
:
"ba2e2bd0823422a4de6c"
,
21
:
"9e35f4bb567c79f900c4"
,
22
:
"4657c811baa7a2a81fa8"
,
23
:
"b696c3789461b84413c4"
,
24
:
"58c7c6c2d8897eb7c474"
,
25
:
"9e5733792c18c643ff3a"
,
26
:
"dba4d3332f3dbc9d7649"
,
27
:
"8c00b479947588ae7b2c"
,
28
:
"110ab7e5f64abacf9778"
,
29
:
"cebf604cf1225f47e634"
,
30
:
"7c1e52b5c0d36e8632c1"
,
31
:
"5a37b0bffabe56fe5af9"
,
32
:
"f7592089bbd49cf8ae9c"
,
33
:
"6133e1e6b5fd398be401"
,
34
:
"06f8f5b3621074c353c6"
,
35
:
"bf9fd1d5441ee72fc26d"
,
36
:
"93c91e49a2adcaf3793d"
,
37
:
"8f4c7fd433e2fc86ab21"
,
38
:
"0cb1610bc0b7ec39980b"
,
39
:
"61c4e14a1b0ea5ffff85"
,
40
:
"34f2de0ffbb2c4bd22b3"
,
41
:
"be7b959a60f42ef67daa"
,
42
:
"341a71ea503996b11a90"
,
43
:
"f4eee7e60e1d81a3cd65"
,
44
:
"f0e3e88e253d14faf973"
,
45
:
"e1d0ed2694e633eca897"
,
46
:
"d0d7666a8d9e3f155fb7"
,
47
:
"d383bda19a279b17d388"
,
48
:
"41401e6b01697e4f8c14"
,
49
:
"15bc78cea887de215d32"
,
50
:
"c2932bcd17cb7bb00ef7"
,
51
:
"6ecd1c76f129643c28a8"
,
52
:
"9fc13e0d46255e8ef544"
,
53
:
"6598383a315e20061786"
,
54
:
"2859fd12cca9ce86f0c3"
,
55
:
"5921ccabefea7cacacc2"
,
56
:
"91a0acffaeb56fc3566c"
,
57
:
"1a7102c508e3c1a0a222"
,
58
:
"a7fa96edb1538ed5b7ff"
,
59
:
"c71bd5036dd611ea623a"
,
60
:
"775007688f0115e168fb"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
a
},
b
.
m
=
e
,
b
.
c
=
a
,
b
.
d
=
function
(
e
,
c
,
a
){
b
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
b
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
c
,
"a"
,
c
),
c
},
b
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/components/company/fail-log.vue
View file @
d58478d2
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
</div>
</div>
</div>
</div>
<div
class=
"m-t-20"
>
<div
class=
"m-t-20"
>
<el-table
class=
"select-table"
ref=
"multipleTable"
:data=
"tableData"
tooltip-effect=
"dark"
:style=
"
{ width: '100%', minHeight: tableH }">
<el-table
class=
"select-table"
ref=
"multipleTable"
height=
"450"
:data=
"tableData"
tooltip-effect=
"dark"
:style=
"
{ width: '100%', minHeight: tableH }">
<el-table-column
label=
"分组/门店名称"
show-overflow-tooltip
>
<el-table-column
label=
"分组/门店名称"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
dataName
}}
</
template
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
dataName
}}
</
template
>
</el-table-column>
</el-table-column>
...
@@ -29,7 +29,12 @@
...
@@ -29,7 +29,12 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"所属分组"
show-overflow-tooltip
>
<el-table-column
prop=
""
label=
"所属分组"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
finishTime
}}
{{
scope
.
row
.
chainName
}}
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"数据类型"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
dataType
==
0
?
'分组'
:
scope
.
row
.
dataType
==
1
?
'门店'
:
'成员'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"同步状态"
show-overflow-tooltip
>
<el-table-column
prop=
""
label=
"同步状态"
show-overflow-tooltip
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment