Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
remarketing-yunying
Project
Project
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
yaobeibei
remarketing-yunying
Commits
1530b8ef
Commit
1530b8ef
authored
Jun 20, 2018
by
yaobeibei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
masteroem
parent
f11c0e21
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
9 deletions
+23
-9
api.js
api/api.js
+0
-0
checkCall.vue
src/components/checkCall.vue
+7
-5
checkNote.vue
src/components/checkNote.vue
+5
-3
login.vue
src/components/login.vue
+11
-1
No files found.
api/api.js
View file @
1530b8ef
This diff is collapsed.
Click to expand it.
src/components/checkCall.vue
View file @
1530b8ef
...
...
@@ -67,6 +67,7 @@
</
template
>
</el-table-column>
<el-table-column
label=
'预计筛选用户数'
prop=
'preNum'
width=
130
></el-table-column>
<el-table-column
label=
'oem'
prop=
'oem'
width=
130
></el-table-column>
<el-table-column
label=
'状态'
prop=
'status'
:filters=
"[{ text: '审核未通过', value: '审核未通过' }, { text: '审核通过', value: '审核通过'}]"
:filter-method=
'filterTag'
filter-placement=
"bottom-end"
></el-table-column>
<el-table-column
label=
'操作'
width=
180
>
<
template
slot-scope=
"scope"
>
...
...
@@ -231,12 +232,13 @@
},
methods
:
{
openForm
(
data
,
index
)
{
this
.
interestlist
=
[]
this
.
hostlist
=
[]
this
.
dialogFormVisible
=
true
console
.
log
(
data
)
this
.
interestlist
=
data
.
popover
.
interestlist
this
.
hostlist
=
data
.
popover
.
hostlist
this
.
currentdata
=
data
this
.
currentIndex
=
index
// scope.row.status = '审核通过'
// scope.row.disable = true
},
closeFrom
()
{
this
.
dialogFormVisible
=
false
...
...
@@ -348,14 +350,14 @@
let
interestlist
=
this
.
interestlist
let
hostlist
=
this
.
hostlist
let
currentdata
=
this
.
currentdata
let
sessionID
=
this
.
sessionID
let
oem
=
currentdata
?
currentdata
.
name
:
row
.
oem
let
taskId
=
currentdata
?
currentdata
.
name
:
row
.
name
let
groupId
=
currentdata
?
currentdata
.
groupID
:
row
.
groupID
this
.
dialogFormVisible
=
false
fetch
(
'/api/send'
,
{
method
:
'POST'
,
headers
:
{
'Content-Type'
:
'application/json;charset=UTF-8'
},
body
:
JSON
.
stringify
({
taskId
,
groupId
,
interestlist
,
hostlist
,
status
,
sessionID
})
body
:
JSON
.
stringify
({
taskId
,
groupId
,
interestlist
,
hostlist
,
status
,
oem
})
}).
then
(
res
=>
{
return
res
.
json
()
}).
then
(
data
=>
{
...
...
src/components/checkNote.vue
View file @
1530b8ef
...
...
@@ -71,6 +71,7 @@
<el-table-column
label=
'预计发送数量'
prop=
'preSendNum'
></el-table-column>
<el-table-column
label=
'短信内容'
prop=
'msgContent'
></el-table-column>
<el-table-column
label=
'预计发送时间'
prop=
'sendTime'
></el-table-column>
<el-table-column
label=
'oem'
prop=
'oem'
></el-table-column>
<el-table-column
label=
'实际发送数量'
prop=
'sendNum'
v-if=
"operatorId !== '联通'"
></el-table-column>
<el-table-column
label=
'审核状态'
prop=
'status'
:filters=
"[{ text: '未审核', value: '未审核' }, { text: '审核通过', value: '审核通过' }, { text: '审核不通过', value: '审核未通过'}]"
:filter-method=
'filterTag'
filter-placement=
"bottom-end"
></el-table-column>
<el-table-column
label=
'操作'
width=
150
>
...
...
@@ -260,6 +261,7 @@
suerSend
(
row
,
taskId
,
status
,
sendNum
)
{
let
self
=
this
let
operatorId
=
self
.
operatorId
let
oem
=
row
.
oem
if
(
operatorId
!==
'联通'
)
{
if
(
sendNum
===
null
||
sendNum
===
undefined
)
{
sendNum
=
row
.
preSendNum
...
...
@@ -279,14 +281,14 @@
if
(
status
===
1
)
{
console
.
log
(
'不通过'
)
row
.
visible1
=
false
row
.
sendNum
=
0
row
.
sendNum
=
0
row
.
status
=
'审核未通过'
row
.
disable
=
true
}
fetch
(
'/api/sendCheckNote'
,
{
method
:
'POST'
,
headers
:
{
'Content-Type'
:
'application/json;charset=UTF-8'
},
body
:
JSON
.
stringify
({
taskId
,
status
,
sendNum
,
operatorId
,
sessionID
:
self
.
sessionID
})
body
:
JSON
.
stringify
({
taskId
,
status
,
sendNum
,
operatorId
,
oem
})
}).
then
(
res
=>
{
return
res
.
json
()
}).
then
(
data
=>
{
console
.
log
(
data
)
self
.
$message
({
...
...
@@ -320,7 +322,7 @@
fetch
(
'/api/sendCheckNote'
,
{
method
:
'POST'
,
headers
:
{
'Content-Type'
:
'application/json;charset=UTF-8'
},
body
:
JSON
.
stringify
({
taskId
,
status
,
sendNum
,
operatorId
,
sessionID
:
self
.
sessionID
})
body
:
JSON
.
stringify
({
taskId
,
status
,
sendNum
,
operatorId
,
oem
})
}).
then
(
res
=>
{
return
res
.
json
()
}).
then
(
data
=>
{
console
.
log
(
data
)
self
.
$message
({
...
...
src/components/login.vue
View file @
1530b8ef
<
template
>
<el-container>
<el-main>
<div
class=
"title"
>
<p>
运营审核平台
</p>
</div>
<div
style=
'margin: 100px auto'
>
<el-row
type=
"flex"
justify=
"center"
style=
"width: 100%;height: 100%"
>
<el-col
:span=
"12"
>
...
...
@@ -78,5 +81,12 @@
</
script
>
<
style
scoped
>
.title
{
font-size
:
24px
;
font-weight
:
800
;
text-align
:
center
;
width
:
100%
;
margin
:
40px
auto
;
letter-spacing
:
3px
;
}
</
style
>
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