Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
office-web
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
office-web
Commits
85d1e52c
Commit
85d1e52c
authored
Jul 05, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改日报导出
parent
6ed8e0dd
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
index.html
dist/index.html
+2
-2
app.272e2514cdd80c63e00f1a9314587ead.css
dist/static/css/app.272e2514cdd80c63e00f1a9314587ead.css
+0
-0
25.35717a163e696b2f50e2.js
dist/static/js/25.35717a163e696b2f50e2.js
+2
-0
25.d01f949cdaa75c41de0b.js
dist/static/js/25.d01f949cdaa75c41de0b.js
+0
-2
manifest.b2d925534a8367dc1e7e.js
dist/static/js/manifest.b2d925534a8367dc1e7e.js
+2
-2
daily-export.vue
src/components/app/cloudDaily/daily-export.vue
+1
-1
No files found.
dist/index.html
View file @
85d1e52c
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.20fc58663beb615b0f31b7bc0e9d10ea.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><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>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.71edd96557d89c4a05d1.js
></script><script
type=
text/javascript
src=
./static/js/vendor.ccdd3a2984b37616bc62.js
></script><script
type=
text/javascript
src=
./static/js/app.51b246f4aa30c58591d0.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.272e2514cdd80c63e00f1a9314587ead.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><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>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.b2d925534a8367dc1e7e.js
></script><script
type=
text/javascript
src=
./static/js/vendor.ccdd3a2984b37616bc62.js
></script><script
type=
text/javascript
src=
./static/js/app.51b246f4aa30c58591d0.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.2
0fc58663beb615b0f31b7bc0e9d10ea
.css
→
dist/static/css/app.2
72e2514cdd80c63e00f1a9314587ead
.css
View file @
85d1e52c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/25.35717a163e696b2f50e2.js
0 → 100644
View file @
85d1e52c
webpackJsonp
([
25
],{
"7AZu"
:
function
(
e
,
t
){},
Ujni
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
n
=
a
.
n
(
o
),
i
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
s
=
a
(
"PI0u"
),
l
=
{
name
:
"daily-export"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
var
e
=
this
;
return
{
projectName
:
""
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
dailyRuleForm
:{
dateRange
:[],
storeType
:
""
,
stores
:[]},
templates
:[],
stores
:[],
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
o
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
o
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
2592
e6
,
o
=
e
.
choiceDateCopy
[
0
]
+
2592
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
o
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}},
rules
:{
dateRange
:[{
required
:
!
0
,
message
:
"请选择日期"
,
trigger
:
"change"
}],
storeType
:[{
required
:
!
0
,
message
:
"请选择自定义模板"
,
trigger
:
"change"
}],
stores
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请选择门店"
,
trigger
:
"change"
}]}}},
methods
:{
changeDate
:
function
(
e
){
e
||
(
this
.
choiceDateCopy
=
[],
this
.
dailyRuleForm
.
dateRange
=
[])},
changeTemplate
:
function
(){
var
e
=
this
;
e
.
dailyRuleForm
.
stores
=
[],
e
.
$nextTick
(
function
(){
e
.
getStoreData
()})},
exportForm
:
Object
(
s
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
postDailyExcel
()})},
500
),
postDailyExcel
:
function
(){
var
e
=
this
,
t
=
{
filterStoreIds
:
e
.
dailyRuleForm
.
stores
.
join
(
","
)
||
""
,
startDate
:
e
.
dailyRuleForm
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
dailyRuleForm
.
dateRange
[
1
]
||
""
,
brandId
:
e
.
activeBrand
};
Object
(
i
.
b
)(
"/haoban-app-daily-web/daily/batch-export-brand-task"
,
t
).
then
(
function
(
e
){
if
(
!
e
.
data
)
return
r
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
t
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
a
=
document
.
createElement
(
"a"
);
a
.
download
=
"云日报记录.csv"
,
a
.
style
.
display
=
"none"
,
a
.
href
=
URL
.
createObjectURL
(
t
),
document
.
body
.
appendChild
(
a
),
a
.
click
(),
URL
.
revokeObjectURL
(
a
.
href
),
document
.
body
.
removeChild
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTemplateData
:
function
(){
var
e
=
this
,
t
=
{
brandId
:
e
.
brandId
};
Object
(
i
.
a
)(
"/haoban-app-daily-web/daily/list-define-template"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
r
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
length
&&
(
e
.
templates
=
a
.
result
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getStoreData
:
function
(){
var
e
=
this
,
t
=
{
brandId
:
e
.
activeBrand
,
storeGroupId
:
e
.
activeGroup
,
showChild
:
1
,
showType
:
1
,
status
:
1
,
storeType
:
e
.
dailyRuleForm
.
storeType
,
pageNum
:
1
,
pageSize
:
1
e5
};
Object
(
i
.
a
)(
"/haoban-manage-web/store/findSimplePage"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
r
.
a
.
errorMsg
(
a
):
e
.
stores
=
a
.
result
.
list
||
[]}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
dailyRuleForm
.
storeType
=
""
,
this
.
activeBrand
=
e
,
this
.
getTemplateData
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
this
.
brandId
&&
(
this
.
activeBrand
=
this
.
brandId
,
this
.
activeGroup
=
this
.
activeGroupId
,
this
.
getTemplateData
())}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"daily-export-content"
},[
a
(
"el-form"
,{
ref
:
"dailyRuleForm"
,
staticClass
:
"demo-dailyRuleForm"
,
attrs
:{
model
:
e
.
dailyRuleForm
,
rules
:
e
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
""
,
prop
:
"dateRange"
}},[
a
(
"p"
,{
staticClass
:
"daily-form-label"
},[
e
.
_v
(
"选择时间"
)]),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"search-date"
,
attrs
:{
format
:
"yyyy-MM-dd"
,
"value-format"
:
"yyyy-MM-dd"
,
editable
:
!
1
,
"picker-options"
:
e
.
pickerOptions
,
type
:
"daterange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
dailyRuleForm
.
dateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dailyRuleForm
,
"dateRange"
,
t
)},
expression
:
"dailyRuleForm.dateRange"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
,
prop
:
"storeType"
}},[
a
(
"p"
,{
staticClass
:
"daily-form-label"
},[
e
.
_v
(
"选择自定义模板"
)]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-350"
,
attrs
:{
placeholder
:
"请选择自定义模板"
},
on
:{
change
:
e
.
changeTemplate
},
model
:{
value
:
e
.
dailyRuleForm
.
storeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dailyRuleForm
,
"storeType"
,
t
)},
expression
:
"dailyRuleForm.storeType"
}},
e
.
_l
(
e
.
templates
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
storeType
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
,
prop
:
"stores"
}},[
a
(
"p"
,{
staticClass
:
"daily-form-label"
},[
e
.
_v
(
"选择门店"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-store-select"
},[
a
(
"el-select"
,{
staticClass
:
"w-350"
,
attrs
:{
multiple
:
""
,
"collapse-tags"
:
""
,
placeholder
:
"请选择"
},
model
:{
value
:
e
.
dailyRuleForm
.
stores
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dailyRuleForm
,
"stores"
,
t
)},
expression
:
"dailyRuleForm.stores"
}},
e
.
_l
(
e
.
stores
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
storeName
,
value
:
e
.
storeId
}})})),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"show-select-num"
},[
e
.
_v
(
"已经选择"
+
e
.
_s
(
e
.
dailyRuleForm
.
stores
.
length
)
+
"家门店"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
exportForm
(
"dailyRuleForm"
)}}},[
e
.
_v
(
"导出日报"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
a
(
"7AZu"
)},
"data-v-52a55f84"
,
null
).
exports
,
u
=
a
(
"Ie7z"
),
p
=
a
(
"Ke24"
),
h
=
a
(
"LRn8"
),
m
=
a
(
"3E4D"
),
b
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeName
:
"first"
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
topMenuData
:[{
id
:
"1"
,
name
:
"云日报记录"
}],
activeId
:
"1"
,
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
storeTypeOptions
:[{
value
:
""
,
label
:
"所有"
},{
value
:
"0"
,
label
:
"自营"
},{
value
:
"1"
,
label
:
"联营"
},{
value
:
"2"
,
label
:
"代理"
},{
value
:
"3"
,
label
:
"代销"
},{
value
:
"4"
,
label
:
"托管"
}],
selectRadio
:
0
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
computed
:{},
methods
:{
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
toInput
:
Object
(
s
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
changeStoreType
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
e
){
e
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
delDepart
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
),
this
.
currentPage
=
1
,
this
.
defaultStoreList
=
this
.
conditionObj
.
storeGroup
,
this
.
getTableList
()},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
n
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
[],
o
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
o
.
push
(
e
.
storeId
)});
var
n
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
o
.
join
(
","
)
||
""
,
storeIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
storeId
}).
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
t
.
activeBrand
,
delOptFlag
:
e
.
delOptFlag
,
reason
:
e
.
reason
,
chooseAllFlag
:
t
.
selectRadio
};
Object
(
i
.
e
)(
"/haoban-app-daily-web/daily/batch-delete-brand-task"
,
n
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
m
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
exportExcel
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
o
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
a
.
join
(
","
)
||
""
,
storeGroupIds
:
t
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
e
.
activeBrand
};
Object
(
i
.
b
)(
"/haoban-app-daily-web/daily/batch-export-brand-task"
,
o
).
then
(
function
(
e
){
if
(
!
e
.
data
)
return
r
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
t
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
a
=
document
.
createElement
(
"a"
);
a
.
download
=
"云日报记录.csv"
,
a
.
style
.
display
=
"none"
,
a
.
href
=
URL
.
createObjectURL
(
t
),
document
.
body
.
appendChild
(
a
),
a
.
click
(),
URL
.
revokeObjectURL
(
a
.
href
),
document
.
body
.
removeChild
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
showDialogLayer
:
function
(
e
,
t
){
this
.
selectType
=
e
,
this
.
changed
=
e
,
this
.
defaultStoreList
=
t
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
e
){
this
.
conditionObj
.
storeGroup
=
e
,
this
.
getTableList
()},
toDetail
:
function
(
e
,
t
){
this
.
$router
.
push
(
"dailyDetail?storeId="
+
t
.
storeId
+
"&appIcon= "
+
this
.
$route
.
query
.
appIcon
)},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
[],
o
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
o
.
push
(
e
.
storeId
)});
var
n
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
o
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
currentPage
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
i
.
a
)(
"/haoban-app-daily-web/daily/page-brand-task"
,
n
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
result
||
[],
t
.
total
=
a
.
result
.
totalCount
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
activeBrand
=
this
.
brandId
,
this
.
activeGroup
=
this
.
activeGroupId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
this
.
activeGroup
=
""
,
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
dailyExport
:
d
,
commonDetailTop
:
p
.
a
,
vueSelectStore
:
u
.
a
,
multipleDel
:
h
.
a
}},
f
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"div"
,{
staticClass
:
"common-detail-tab"
},[
a
(
"el-tabs"
,{
staticClass
:
"daily-set-tab"
,
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"云日报记录"
,
name
:
"first"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"云日报导出"
,
name
:
"second"
}})],
1
)],
1
),
e
.
_v
(
" "
),
"first"
==
e
.
activeName
?
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称"
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
conditionObj
.
storeGroup
)}}},[
e
.
conditionObj
.
storeGroup
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
e
.
_v
(
"请选择门店分组"
)]),
e
.
_v
(
" "
),
e
.
conditionObj
.
storeGroup
.
length
?
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
e
.
_l
(
e
.
conditionObj
.
storeGroup
,
function
(
t
,
o
){
return
[
a
(
"span"
,{
key
:
o
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
o
,
e
.
conditionObj
.
storeGroup
)}}})])]})],
2
)]):
e
.
_e
()])])]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeStoreType
},
model
:{
value
:
e
.
conditionObj
.
storeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"storeType"
,
t
)},
expression
:
"conditionObj.storeType"
}},
e
.
_l
(
e
.
storeTypeOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
dateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"dateRange"
,
t
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"任务总数"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
taskCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"已完成(含放弃)"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
completedCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成率(含放弃)"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
completedRate
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
noCompletedCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
overdueCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
toDetail
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
"second"
==
e
.
activeName
?
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"daily-export"
,{
attrs
:{
brandId
:
e
.
brandId
,
activeGroupId
:
e
.
activeGroupId
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
1
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
b
,
f
,
!
1
,
function
(
e
){
a
(
"ipuS"
)},
"data-v-83b88894"
,
null
);
t
.
default
=
g
.
exports
},
ipuS
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/25.d01f949cdaa75c41de0b.js
deleted
100644 → 0
View file @
6ed8e0dd
webpackJsonp
([
25
],{
Ujni
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
n
=
a
.
n
(
o
),
i
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
s
=
a
(
"PI0u"
),
l
=
{
name
:
"daily-export"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
var
e
=
this
;
return
{
projectName
:
""
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
dailyRuleForm
:{
dateRange
:[],
storeType
:
""
,
stores
:[]},
templates
:[],
stores
:[],
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
o
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
o
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
2592
e6
,
o
=
e
.
choiceDateCopy
[
0
]
+
2592
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
o
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}},
rules
:{
dateRange
:[{
required
:
!
0
,
message
:
"请选择日期"
,
trigger
:
"change"
}],
storeType
:[{
required
:
!
0
,
message
:
"请选择自定义模板"
,
trigger
:
"change"
}],
stores
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请选择门店"
,
trigger
:
"change"
}]}}},
methods
:{
changeDate
:
function
(
e
){
e
||
(
this
.
choiceDateCopy
=
[],
this
.
dailyRuleForm
.
dateRange
=
[])},
changeTemplate
:
function
(){
var
e
=
this
;
e
.
dailyRuleForm
.
stores
=
[],
e
.
$nextTick
(
function
(){
e
.
getStoreData
()})},
submitForm
:
Object
(
s
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
postDailyExcel
()})},
500
),
postDailyExcel
:
function
(){
var
e
=
this
,
t
=
{
filterStoreIds
:
e
.
dailyRuleForm
.
stores
.
join
(
","
)
||
""
,
startDate
:
e
.
dailyRuleForm
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
dailyRuleForm
.
dateRange
[
1
]
||
""
,
brandId
:
e
.
activeBrand
};
Object
(
i
.
b
)(
"/haoban-app-daily-web/daily/batch-export-brand-task"
,
t
).
then
(
function
(
e
){
if
(
!
e
.
data
)
return
r
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
t
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
a
=
document
.
createElement
(
"a"
);
a
.
download
=
"云日报记录.csv"
,
a
.
style
.
display
=
"none"
,
a
.
href
=
URL
.
createObjectURL
(
t
),
document
.
body
.
appendChild
(
a
),
a
.
click
(),
URL
.
revokeObjectURL
(
a
.
href
),
document
.
body
.
removeChild
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTemplateData
:
function
(){
var
e
=
this
,
t
=
{
brandId
:
e
.
brandId
};
Object
(
i
.
a
)(
"/haoban-app-daily-web/daily/list-define-template"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
r
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
length
&&
(
e
.
templates
=
a
.
result
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getStoreData
:
function
(){
var
e
=
this
,
t
=
{
brandId
:
e
.
activeBrand
,
storeGroupId
:
e
.
activeGroup
,
showChild
:
1
,
showType
:
1
,
status
:
1
,
storeType
:
e
.
dailyRuleForm
.
storeType
,
pageNum
:
1
,
pageSize
:
1
e5
};
Object
(
i
.
a
)(
"/haoban-manage-web/store/findSimplePage"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
r
.
a
.
errorMsg
(
a
):
e
.
stores
=
a
.
result
.
list
||
[]}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
dailyRuleForm
.
storeType
=
""
,
this
.
activeBrand
=
e
,
this
.
getTemplateData
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
this
.
brandId
&&
(
this
.
activeBrand
=
this
.
brandId
,
this
.
activeGroup
=
this
.
activeGroupId
,
this
.
getTemplateData
())}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"daily-export-content"
},[
a
(
"el-form"
,{
ref
:
"dailyRuleForm"
,
staticClass
:
"demo-dailyRuleForm"
,
attrs
:{
model
:
e
.
dailyRuleForm
,
rules
:
e
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
""
,
prop
:
"dateRange"
}},[
a
(
"p"
,{
staticClass
:
"daily-form-label"
},[
e
.
_v
(
"选择时间"
)]),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"search-date"
,
attrs
:{
format
:
"yyyy-MM-dd"
,
"value-format"
:
"yyyy-MM-dd"
,
editable
:
!
1
,
"picker-options"
:
e
.
pickerOptions
,
type
:
"daterange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
dailyRuleForm
.
dateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dailyRuleForm
,
"dateRange"
,
t
)},
expression
:
"dailyRuleForm.dateRange"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
,
prop
:
"storeType"
}},[
a
(
"p"
,{
staticClass
:
"daily-form-label"
},[
e
.
_v
(
"选择自定义模板"
)]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-350"
,
attrs
:{
placeholder
:
"请选择自定义模板"
},
on
:{
change
:
e
.
changeTemplate
},
model
:{
value
:
e
.
dailyRuleForm
.
storeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dailyRuleForm
,
"storeType"
,
t
)},
expression
:
"dailyRuleForm.storeType"
}},
e
.
_l
(
e
.
templates
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
storeType
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
,
prop
:
"stores"
}},[
a
(
"p"
,{
staticClass
:
"daily-form-label"
},[
e
.
_v
(
"选择门店"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-store-select"
},[
a
(
"el-select"
,{
staticClass
:
"w-350"
,
attrs
:{
multiple
:
""
,
"collapse-tags"
:
""
,
placeholder
:
"请选择"
},
model
:{
value
:
e
.
dailyRuleForm
.
stores
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dailyRuleForm
,
"stores"
,
t
)},
expression
:
"dailyRuleForm.stores"
}},
e
.
_l
(
e
.
stores
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
storeName
,
value
:
e
.
storeId
}})})),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"show-select-num"
},[
e
.
_v
(
"已经选择"
+
e
.
_s
(
e
.
dailyRuleForm
.
stores
.
length
)
+
"家门店"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
exportForm
(
"dailyRuleForm"
)}}},[
e
.
_v
(
"导出日报"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
a
(
"npGH"
)},
"data-v-4cedefa0"
,
null
).
exports
,
u
=
a
(
"Ie7z"
),
p
=
a
(
"Ke24"
),
h
=
a
(
"LRn8"
),
m
=
a
(
"3E4D"
),
b
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeName
:
"first"
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
topMenuData
:[{
id
:
"1"
,
name
:
"云日报记录"
}],
activeId
:
"1"
,
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
storeTypeOptions
:[{
value
:
""
,
label
:
"所有"
},{
value
:
"0"
,
label
:
"自营"
},{
value
:
"1"
,
label
:
"联营"
},{
value
:
"2"
,
label
:
"代理"
},{
value
:
"3"
,
label
:
"代销"
},{
value
:
"4"
,
label
:
"托管"
}],
selectRadio
:
0
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
computed
:{},
methods
:{
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
toInput
:
Object
(
s
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
changeStoreType
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
e
){
e
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
delDepart
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
),
this
.
currentPage
=
1
,
this
.
defaultStoreList
=
this
.
conditionObj
.
storeGroup
,
this
.
getTableList
()},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
n
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
[],
o
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
o
.
push
(
e
.
storeId
)});
var
n
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
o
.
join
(
","
)
||
""
,
storeIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
storeId
}).
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
t
.
activeBrand
,
delOptFlag
:
e
.
delOptFlag
,
reason
:
e
.
reason
,
chooseAllFlag
:
t
.
selectRadio
};
Object
(
i
.
e
)(
"/haoban-app-daily-web/daily/batch-delete-brand-task"
,
n
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
m
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
exportExcel
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
o
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
a
.
join
(
","
)
||
""
,
storeGroupIds
:
t
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
e
.
activeBrand
};
Object
(
i
.
b
)(
"/haoban-app-daily-web/daily/batch-export-brand-task"
,
o
).
then
(
function
(
e
){
if
(
!
e
.
data
)
return
r
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
t
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
a
=
document
.
createElement
(
"a"
);
a
.
download
=
"云日报记录.csv"
,
a
.
style
.
display
=
"none"
,
a
.
href
=
URL
.
createObjectURL
(
t
),
document
.
body
.
appendChild
(
a
),
a
.
click
(),
URL
.
revokeObjectURL
(
a
.
href
),
document
.
body
.
removeChild
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
showDialogLayer
:
function
(
e
,
t
){
this
.
selectType
=
e
,
this
.
changed
=
e
,
this
.
defaultStoreList
=
t
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
e
){
this
.
conditionObj
.
storeGroup
=
e
,
this
.
getTableList
()},
toDetail
:
function
(
e
,
t
){
this
.
$router
.
push
(
"dailyDetail?storeId="
+
t
.
storeId
+
"&appIcon= "
+
this
.
$route
.
query
.
appIcon
)},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
[],
o
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
o
.
push
(
e
.
storeId
)});
var
n
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
o
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
currentPage
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
i
.
a
)(
"/haoban-app-daily-web/daily/page-brand-task"
,
n
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
result
||
[],
t
.
total
=
a
.
result
.
totalCount
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
activeBrand
=
this
.
brandId
,
this
.
activeGroup
=
this
.
activeGroupId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
this
.
activeGroup
=
""
,
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
dailyExport
:
d
,
commonDetailTop
:
p
.
a
,
vueSelectStore
:
u
.
a
,
multipleDel
:
h
.
a
}},
f
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"div"
,{
staticClass
:
"common-detail-tab"
},[
a
(
"el-tabs"
,{
staticClass
:
"daily-set-tab"
,
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"云日报记录"
,
name
:
"first"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"云日报导出"
,
name
:
"second"
}})],
1
)],
1
),
e
.
_v
(
" "
),
"first"
==
e
.
activeName
?
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称"
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
conditionObj
.
storeGroup
)}}},[
e
.
conditionObj
.
storeGroup
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
e
.
_v
(
"请选择门店分组"
)]),
e
.
_v
(
" "
),
e
.
conditionObj
.
storeGroup
.
length
?
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
e
.
_l
(
e
.
conditionObj
.
storeGroup
,
function
(
t
,
o
){
return
[
a
(
"span"
,{
key
:
o
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
o
,
e
.
conditionObj
.
storeGroup
)}}})])]})],
2
)]):
e
.
_e
()])])]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeStoreType
},
model
:{
value
:
e
.
conditionObj
.
storeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"storeType"
,
t
)},
expression
:
"conditionObj.storeType"
}},
e
.
_l
(
e
.
storeTypeOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
dateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"dateRange"
,
t
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"任务总数"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
taskCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"已完成(含放弃)"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
completedCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成率(含放弃)"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
completedRate
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
noCompletedCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
overdueCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
toDetail
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
"second"
==
e
.
activeName
?
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"daily-export"
,{
attrs
:{
brandId
:
e
.
brandId
,
activeGroupId
:
e
.
activeGroupId
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
1
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
b
,
f
,
!
1
,
function
(
e
){
a
(
"ipuS"
)},
"data-v-83b88894"
,
null
);
t
.
default
=
g
.
exports
},
ipuS
:
function
(
e
,
t
){},
npGH
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/manifest.
71edd96557d89c4a05d1
.js
→
dist/static/js/manifest.
b2d925534a8367dc1e7e
.js
View file @
85d1e52c
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
d
[
t
]
&&
u
.
push
(
d
[
t
][
0
]),
d
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
d
=
{
81
:
0
};
function
f
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
d
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
d
.
exports
,
d
,
d
.
exports
,
f
),
d
.
l
=!
0
,
d
.
exports
}
f
.
e
=
function
(
e
){
var
c
=
d
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
f
){
c
=
d
[
e
]
=
[
a
,
f
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"3c6a72763ba8dd753c2b"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"949e969ff9243354980e"
,
3
:
"3282d88c1532d0ca9c9e"
,
4
:
"01be0f85b0acd6f1d6df"
,
5
:
"59a02095c1fc2882827e"
,
6
:
"e9eb2044640fb2e362d3"
,
7
:
"57af0bc90206c6098149"
,
8
:
"9bd56928cea92db3c119"
,
9
:
"860dbe8cf83334f9e3c0"
,
10
:
"956d97940afe04265b88"
,
11
:
"2d0a192288361dd95250"
,
12
:
"3d3797e96dc9e8cc5bd4"
,
13
:
"02c1f318efb8ad51c2f2"
,
14
:
"d9f8f7e5598d599d6b6a"
,
15
:
"360a92075d219ac84088"
,
16
:
"bdc37aea4c14db4484c6"
,
17
:
"ba5230cee7ac3ae9c6e2"
,
18
:
"0970ea79c17262cffb18"
,
19
:
"0e7d5bb6c1dc4b40bc33"
,
20
:
"6be27d5ec89f8a1c293b"
,
21
:
"b0e7348ff74371924c3b"
,
22
:
"dec9447a8c45f2a2c7bb"
,
23
:
"7ecce59b275ffaebbc57"
,
24
:
"4637a4566383d6e864cf"
,
25
:
"d01f949cdaa75c41de0b"
,
26
:
"8f0bb144b5e757399727"
,
27
:
"4767fb6457468f0647c1"
,
28
:
"140ad99228544036c969"
,
29
:
"6c23e5ce31762cfce3c9"
,
30
:
"c6439b279653a45ce256"
,
31
:
"8baa6bca929d1c9a38f6"
,
32
:
"ec0bbd85e6d55909453d"
,
33
:
"1a9ac0c12df7a396447f"
,
34
:
"f9d53c31059aaff9b360"
,
35
:
"80267d39d723d4d02341"
,
36
:
"706cf2b1fed575cc2e7b"
,
37
:
"8016d3ac07df8acaf73d"
,
38
:
"401ecfbced781ca109ff"
,
39
:
"45d0c177c91108351c01"
,
40
:
"18605687ea6ee1539453"
,
41
:
"78d64ae1581e8ea232cc"
,
42
:
"56b8d3d551364d7fcf73"
,
43
:
"9d05f4d2f06b9c6bba0e"
,
44
:
"96d0b6e88fc87f60bac7"
,
45
:
"bca08e89843b50550d0d"
,
46
:
"98fb716c1e5a99ebdcf8"
,
47
:
"de0e290ed4c878d0c8c3"
,
48
:
"6d564387f233c08c800d"
,
49
:
"197cde68ad771fae4c5c"
,
50
:
"331006123edd2049b7d9"
,
51
:
"244dc6f576a64b7c174b"
,
52
:
"3ee35b29a67a32a31d1d"
,
53
:
"9dce74b07cc47cdf56db"
,
54
:
"1503b643475934e2b5e1"
,
55
:
"8d3253cd2f581e7ce20b"
,
56
:
"bf6ca3213cca34608387"
,
57
:
"38ec53bb17e31c729773"
,
58
:
"396c075bf2e02574d826"
,
59
:
"8669556909924307dc86"
,
60
:
"0ec53183da96964b8e4c"
,
61
:
"39a85469e87be40566f6"
,
62
:
"44d1241f8d57451d0c10"
,
63
:
"02272fe3caa4b8c63c2a"
,
64
:
"ebc341a9017c4b2c1112"
,
65
:
"afcb60484e7a9ec39f28"
,
66
:
"0c2656f4decfecb59972"
,
67
:
"57f329b5a1c3658845e9"
,
68
:
"ba49712f562eff6edbc3"
,
69
:
"6262c1a9179f86d6e8cc"
,
70
:
"d5759f121e5783b4c558"
,
71
:
"95b66215f468ac6aa391"
,
72
:
"b9aea07ebd1f712eee71"
,
73
:
"820fe71d89d973ff8cf7"
,
74
:
"317ccff353170ac7c01f"
,
75
:
"44714b271d06e1e87012"
,
76
:
"7eaab216a287b1ffca0e"
,
77
:
"01b9dbf75e1040e81146"
,
80
:
"c4a24f0beb29dbd2892a"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
d
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
f
.
m
=
e
,
f
.
c
=
a
,
f
.
d
=
function
(
e
,
c
,
a
){
f
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
f
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
c
,
"a"
,
c
),
c
},
f
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
f
.
p
=
"./"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
d
[
t
]
&&
u
.
push
(
d
[
t
][
0
]),
d
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
d
=
{
81
:
0
};
function
f
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
d
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
d
.
exports
,
d
,
d
.
exports
,
f
),
d
.
l
=!
0
,
d
.
exports
}
f
.
e
=
function
(
e
){
var
c
=
d
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
f
){
c
=
d
[
e
]
=
[
a
,
f
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"3c6a72763ba8dd753c2b"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"949e969ff9243354980e"
,
3
:
"3282d88c1532d0ca9c9e"
,
4
:
"01be0f85b0acd6f1d6df"
,
5
:
"59a02095c1fc2882827e"
,
6
:
"e9eb2044640fb2e362d3"
,
7
:
"57af0bc90206c6098149"
,
8
:
"9bd56928cea92db3c119"
,
9
:
"860dbe8cf83334f9e3c0"
,
10
:
"956d97940afe04265b88"
,
11
:
"2d0a192288361dd95250"
,
12
:
"3d3797e96dc9e8cc5bd4"
,
13
:
"02c1f318efb8ad51c2f2"
,
14
:
"d9f8f7e5598d599d6b6a"
,
15
:
"360a92075d219ac84088"
,
16
:
"bdc37aea4c14db4484c6"
,
17
:
"ba5230cee7ac3ae9c6e2"
,
18
:
"0970ea79c17262cffb18"
,
19
:
"0e7d5bb6c1dc4b40bc33"
,
20
:
"6be27d5ec89f8a1c293b"
,
21
:
"b0e7348ff74371924c3b"
,
22
:
"dec9447a8c45f2a2c7bb"
,
23
:
"7ecce59b275ffaebbc57"
,
24
:
"4637a4566383d6e864cf"
,
25
:
"35717a163e696b2f50e2"
,
26
:
"8f0bb144b5e757399727"
,
27
:
"4767fb6457468f0647c1"
,
28
:
"140ad99228544036c969"
,
29
:
"6c23e5ce31762cfce3c9"
,
30
:
"c6439b279653a45ce256"
,
31
:
"8baa6bca929d1c9a38f6"
,
32
:
"ec0bbd85e6d55909453d"
,
33
:
"1a9ac0c12df7a396447f"
,
34
:
"f9d53c31059aaff9b360"
,
35
:
"80267d39d723d4d02341"
,
36
:
"706cf2b1fed575cc2e7b"
,
37
:
"8016d3ac07df8acaf73d"
,
38
:
"401ecfbced781ca109ff"
,
39
:
"45d0c177c91108351c01"
,
40
:
"18605687ea6ee1539453"
,
41
:
"78d64ae1581e8ea232cc"
,
42
:
"56b8d3d551364d7fcf73"
,
43
:
"9d05f4d2f06b9c6bba0e"
,
44
:
"96d0b6e88fc87f60bac7"
,
45
:
"bca08e89843b50550d0d"
,
46
:
"98fb716c1e5a99ebdcf8"
,
47
:
"de0e290ed4c878d0c8c3"
,
48
:
"6d564387f233c08c800d"
,
49
:
"197cde68ad771fae4c5c"
,
50
:
"331006123edd2049b7d9"
,
51
:
"244dc6f576a64b7c174b"
,
52
:
"3ee35b29a67a32a31d1d"
,
53
:
"9dce74b07cc47cdf56db"
,
54
:
"1503b643475934e2b5e1"
,
55
:
"8d3253cd2f581e7ce20b"
,
56
:
"bf6ca3213cca34608387"
,
57
:
"38ec53bb17e31c729773"
,
58
:
"396c075bf2e02574d826"
,
59
:
"8669556909924307dc86"
,
60
:
"0ec53183da96964b8e4c"
,
61
:
"39a85469e87be40566f6"
,
62
:
"44d1241f8d57451d0c10"
,
63
:
"02272fe3caa4b8c63c2a"
,
64
:
"ebc341a9017c4b2c1112"
,
65
:
"afcb60484e7a9ec39f28"
,
66
:
"0c2656f4decfecb59972"
,
67
:
"57f329b5a1c3658845e9"
,
68
:
"ba49712f562eff6edbc3"
,
69
:
"6262c1a9179f86d6e8cc"
,
70
:
"d5759f121e5783b4c558"
,
71
:
"95b66215f468ac6aa391"
,
72
:
"b9aea07ebd1f712eee71"
,
73
:
"820fe71d89d973ff8cf7"
,
74
:
"317ccff353170ac7c01f"
,
75
:
"44714b271d06e1e87012"
,
76
:
"7eaab216a287b1ffca0e"
,
77
:
"01b9dbf75e1040e81146"
,
80
:
"c4a24f0beb29dbd2892a"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
d
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
f
.
m
=
e
,
f
.
c
=
a
,
f
.
d
=
function
(
e
,
c
,
a
){
f
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
f
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
c
,
"a"
,
c
),
c
},
f
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
f
.
p
=
"./"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/components/app/cloudDaily/daily-export.vue
View file @
85d1e52c
...
@@ -117,7 +117,7 @@ export default {
...
@@ -117,7 +117,7 @@ export default {
});
});
},
},
submi
tForm
:
_debounce
(
function
(
formName
)
{
expor
tForm
:
_debounce
(
function
(
formName
)
{
const
that
=
this
;
const
that
=
this
;
that
.
$refs
[
formName
].
validate
(
valid
=>
{
that
.
$refs
[
formName
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
...
...
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