Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
Project
Project
Details
Activity
Releases
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
华国豪
CRM
Commits
a5a18199
Commit
a5a18199
authored
Sep 06, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
5bb2e911
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
36 deletions
+35
-36
DrainageSummaryStatistics.vue
src/views/workstatistics/DrainageSummaryStatistics.vue
+35
-36
No files found.
src/views/workstatistics/DrainageSummaryStatistics.vue
View file @
a5a18199
...
@@ -396,9 +396,9 @@
...
@@ -396,9 +396,9 @@
</el-button>
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
<el-dialog
@
closed=
"closedDialogEdit"
:modal=
"true"
:visible
.
sync=
"dialogTableVisibleEdit"
width=
"
6
00px"
:close-on-click-modal=
"false"
class=
"addCustomer"
>
<el-dialog
@
closed=
"closedDialogEdit"
:modal=
"true"
:visible
.
sync=
"dialogTableVisibleEdit"
width=
"
9
00px"
:close-on-click-modal=
"false"
class=
"addCustomer"
>
<div
class=
"add-tit"
slot=
"title"
>
<div
class=
"add-tit"
slot=
"title"
>
<p><span></span></p>
<p><span></span>
修改账号数据
</p>
<span
icon=
"el-icon-close"
></span>
<span
icon=
"el-icon-close"
></span>
</div>
</div>
<div
class=
"form-box"
>
<div
class=
"form-box"
>
...
@@ -407,63 +407,63 @@
...
@@ -407,63 +407,63 @@
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"粉丝数量"
prop=
"FansNum"
>
<el-form-item
label=
"粉丝数量"
prop=
"FansNum"
>
<el-input
type=
"Number"
placeholder=
"请输入粉丝数量"
v-model=
"formEdit.FansNum"
></el-input
>
<el-input
-number
:min=
"1"
style=
"margin-top: 10px;"
placeholder=
"请输入粉丝数量"
v-model=
"formEdit.FansNum"
></el-input-number
>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"新增粉丝数量"
prop=
"AddFansNum"
>
<el-form-item
label=
"新增粉丝数量"
prop=
"AddFansNum"
>
<el-input
type=
"Number"
placeholder=
"请输入新增粉丝数量"
v-model=
"formEdit.AddFansNum"
></el-input
>
<el-input
-number
:min=
"1"
style=
"margin-top: 10px;"
placeholder=
"请输入新增粉丝数量"
v-model=
"formEdit.AddFansNum"
></el-input-number
>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"收藏数量"
prop=
"CollectNum"
>
<el-form-item
label=
"收藏数量"
prop=
"CollectNum"
>
<el-input
type=
"Number"
placeholder=
"请输入收藏数量"
v-model=
"formEdit.CollectNum"
CollectNum
></el-input
>
<el-input
-number
:min=
"1"
style=
"margin-top: 10px;"
placeholder=
"请输入收藏数量"
v-model=
"formEdit.CollectNum"
></el-input-number
>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"访客数量"
prop=
"VisitorNum"
>
<el-form-item
label=
"访客数量"
prop=
"VisitorNum"
>
<el-input
type=
"Number"
placeholder=
"请输入访客数量"
v-model=
"formEdit.VisitorNum"
></el-input
>
<el-input
-number
:min=
"1"
style=
"margin-top: 10px;"
placeholder=
"请输入访客数量"
v-model=
"formEdit.VisitorNum"
></el-input-number
>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"观看数量"
prop=
"LookNum"
>
<el-form-item
label=
"观看数量"
prop=
"LookNum"
>
<el-input
type=
"Number"
placeholder=
"请输入观看数量"
v-model=
"formEdit.LookNum"
></el-input
>
<el-input
-number
:min=
"1"
style=
"margin-top: 10px;"
placeholder=
"请输入观看数量"
v-model=
"formEdit.LookNum"
></el-input-number
>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"互动数量"
prop=
"InteractionNum"
>
<el-form-item
label=
"互动数量"
prop=
"InteractionNum"
>
<el-input
type=
"Number"
placeholder=
"请输入互动数量"
v-model=
"formEdit.InteractionNum"
></el-input
>
<el-input
-number
:min=
"1"
style=
"margin-top: 10px;"
placeholder=
"请输入互动数量"
v-model=
"formEdit.InteractionNum"
></el-input-number
>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"评论数量"
prop=
"DiscussNum"
>
<el-form-item
label=
"评论数量"
prop=
"DiscussNum"
>
<el-input
type=
"Number"
placeholder=
"请输入评论数量"
v-model=
"formEdit.DiscussNum"
></el-input
>
<el-input
-number
:min=
"1"
style=
"margin-top: 10px;"
placeholder=
"请输入评论数量"
v-model=
"formEdit.DiscussNum"
></el-input-number
>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"观看总时长"
prop=
"SecondsNum"
>
<el-form-item
label=
"观看总时长"
prop=
"SecondsNum"
>
<el-input
type=
"Number"
placeholder=
"请输入观看总时长"
v-model=
"formEdit.SecondsNum"
></el-input
>
<el-input
-number
:min=
"1"
style=
"margin-top: 10px;"
placeholder=
"请输入观看总时长"
v-model=
"formEdit.SecondsNum"
></el-input-number
>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"笔记数量"
prop=
"NoteNum"
>
<el-form-item
label=
"笔记数量"
prop=
"NoteNum"
>
<el-input
type=
"Number"
placeholder=
"请输入笔记数量"
v-model=
"formEdit.NoteNum"
></el-input
>
<el-input
-number
:min=
"1"
style=
"margin-top: 10px;"
placeholder=
"请输入笔记数量"
v-model=
"formEdit.NoteNum"
></el-input-number
>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -471,8 +471,8 @@
...
@@ -471,8 +471,8 @@
</el-form>
</el-form>
</div>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
class=
"add-box-btn"
@
click=
"submitForm('form')"
>
确 定
</el-button>
<el-button
type=
"primary"
class=
"add-box-btn"
@
click=
"submitForm('form
Edit
')"
>
确 定
</el-button>
<el-button
class=
"add-box-btn add-box-cancel"
@
click=
"dialogTableVisible
= false, resetForm('form
')"
>
取 消
</el-button>
<el-button
class=
"add-box-btn add-box-cancel"
@
click=
"dialogTableVisible
Edit = false, resetFormEdit('formEdit
')"
>
取 消
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -570,25 +570,30 @@
...
@@ -570,25 +570,30 @@
this
.
formEdit
=
JSON
.
parse
(
JSON
.
stringify
(
row
))
this
.
formEdit
=
JSON
.
parse
(
JSON
.
stringify
(
row
))
this
.
dialogTableVisibleEdit
=
true
this
.
dialogTableVisibleEdit
=
true
},
},
submitForm
(
addMsg
)
{
this
.
$refs
[
addMsg
].
validate
(
valid
=>
{
if
(
valid
)
{
this
.
addData
();
}
else
{
return
false
;
}
});
},
addData
(){
addData
(){
if
(
!
this
.
form
.
Name
)
{
if
(
!
this
.
form
Edit
.
Name
)
{
return
this
.
$message
.
error
(
'请输入账号名称'
)
return
this
.
$message
.
error
(
'请输入账号名称'
)
}
}
if
(
!
this
.
form
.
PlatformType
)
{
return
this
.
$message
.
error
(
'请选择平台'
)
}
if
(
!
this
.
form
.
ModuleType
)
{
return
this
.
$message
.
error
(
'请选择板块'
)
}
if
(
this
.
form
.
EmpIds
&&
this
.
form
.
EmpIds
.
length
==
0
)
{
return
this
.
$message
.
error
(
'请选择运营人'
)
}
let
datas
=
{
let
datas
=
{
Id
:
this
.
form
.
Id
?
this
.
form
.
Id
:
0
,
Id
:
''
,
// :'',//明细ID(以小红书为蓝本) 是 [string] 查看
Name
:
this
.
form
.
Name
,
FansNum
:
this
.
formEdit
.
FansNum
,
// 粉丝数量 是 [string] 查看
PlatformType
:
this
.
form
.
PlatformType
,
AddFansNum
:
this
.
formEdit
.
AddFansNum
,
// 添加分数数量 是 [string] 查看
ModuleType
:
this
.
form
.
ModuleType
,
CollectNum
:
this
.
formEdit
.
CollectNum
,
// 收藏数量 是 [string] 查看
EmpIds
:
this
.
form
.
EmpIds
.
join
(
','
),
VisitorNum
:
this
.
formEdit
.
VisitorNum
,
// 访客数量 是 [string] 查看
LookNum
:
this
.
formEdit
.
LookNum
,
// 观看数量 是 [string] 查看
InteractionNum
:
this
.
formEdit
.
InteractionNum
,
// 互动数量 是 [string] 查看
DiscussNum
:
this
.
formEdit
.
DiscussNum
,
// 评论数量 是 [string] 查看
SecondsNum
:
this
.
formEdit
.
SecondsNum
,
// 观看总时长 是 [string] 查看
NoteNum
:
this
.
formEdit
.
NoteNum
,
// 笔记数量
}
}
this
.
apipost
(
'/api/IntroduceFlowStat/SetFlowPeriodsDetial'
,
datas
,
res
=>
{
this
.
apipost
(
'/api/IntroduceFlowStat/SetFlowPeriodsDetial'
,
datas
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
@@ -706,19 +711,14 @@
...
@@ -706,19 +711,14 @@
},
},
init
()
{
init
()
{
if
(
this
.
loading
)
return
;
if
(
this
.
loading
)
return
;
this
.
loading
=
true
;
let
EmpIds
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
.
ModuleTypeIds
))
let
EmpIds
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
.
ModuleTypeIds
))
EmpIds
=
EmpIds
&&
EmpIds
.
length
>
0
?
EmpIds
.
split
(
','
):[]
this
.
loading
=
true
;
let
arr
=
[]
EmpIds
.
forEach
(
item
=>
{
arr
.
push
(
Number
(
item
))
});
this
.
apipost
(
this
.
apipost
(
"/api/IntroduceFlowStat/GetFlowStatList"
,
"/api/IntroduceFlowStat/GetFlowStatList"
,
{
{
PeriodsId
:
this
.
msg
.
PeriodsId
,
PeriodsId
:
this
.
msg
.
PeriodsId
,
PlatformType
:
this
.
msg
.
PlatformType
,
PlatformType
:
this
.
msg
.
PlatformType
,
ModuleTypeIds
:
arr
.
join
(
','
)?
arr
.
join
(
','
):
''
ModuleTypeIds
:
EmpIds
.
join
(
','
)
!==
''
?
EmpIds
.
join
(
','
):
''
},
},
(
res
)
=>
{
(
res
)
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
...
@@ -767,7 +767,6 @@
...
@@ -767,7 +767,6 @@
},
},
// 导出
// 导出
downloadHandler
(
url
,
name
)
{
downloadHandler
(
url
,
name
)
{
this
.
msg
.
ModuleTypeIds
=
this
.
GetLocalFile
(
url
,
{
this
.
GetLocalFile
(
url
,
{
PeriodsId
:
this
.
msg
.
PeriodsId
,
PeriodsId
:
this
.
msg
.
PeriodsId
,
PlatformType
:
this
.
msg
.
PlatformType
,
PlatformType
:
this
.
msg
.
PlatformType
,
...
...
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