Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
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
new-sing
admin-base
Commits
00b8be61
Commit
00b8be61
authored
Oct 26, 2018
by
王
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
群发消息
parent
52e10347
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
298 additions
and
52 deletions
+298
-52
index.vue
src/components/groupSend/index.vue
+273
-50
index.vue
src/components/order/index.vue
+4
-0
index.vue
src/components/userDetail/index.vue
+2
-2
api.js
src/service/api.js
+10
-0
wordbook.js
src/util/wordbook.js
+9
-0
No files found.
src/components/groupSend/index.vue
View file @
00b8be61
This diff is collapsed.
Click to expand it.
src/components/order/index.vue
View file @
00b8be61
...
...
@@ -169,6 +169,10 @@
prop=
"pay_at"
label=
"购买时间"
>
</el-table-column>
<el-table-column
prop=
"created_at"
label=
"下单时间"
>
</el-table-column>
<el-table-column
prop=
"desc"
label=
"备注"
>
...
...
src/components/userDetail/index.vue
View file @
00b8be61
...
...
@@ -217,7 +217,7 @@
<
el
-
table
-
column
label
=
"购买方式"
>
<
template
slot
-
scope
=
"scope"
>
{{
scope
.
row
.
buy_type
===
1
?
'团购'
:
'
单买
'
}}
{{
scope
.
row
.
buy_type
===
1
?
'团购'
:
'
直购
'
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
...
...
@@ -238,7 +238,7 @@
<
/el-table-column
>
<
el
-
table
-
column
prop
=
"created_at"
label
=
"
创建
时间"
>
label
=
"
下单
时间"
>
<
/el-table-column
>
<
/el-table
>
<
page
:
total
=
"total"
:
limit
=
"limit"
@
pageChange
=
"onPageChange"
/>
...
...
src/service/api.js
View file @
00b8be61
...
...
@@ -554,4 +554,14 @@ const getWatchListUrl = '/api/admin/open/subscribe/statistics';
export
const
getWatchListApi
=
function
(
json
)
{
return
Vue
.
prototype
.
$fetch
(
getWatchListUrl
,
json
)
};
// 获取群发结果
const
getMsgListUrl
=
'/api/admin/open/muti/msg'
;
export
const
getMsgListApi
=
function
(
json
)
{
return
Vue
.
prototype
.
$fetch
(
getMsgListUrl
,
json
)
};
// 群发客服消息
const
sendMsgUrl
=
`/api/admin/open/muti/msg`
;
export
const
sendMsgApi
=
function
(
json
)
{
return
Vue
.
prototype
.
$post
(
`
${
sendMsgUrl
}
`
,
json
)
};
src/util/wordbook.js
View file @
00b8be61
...
...
@@ -92,3 +92,12 @@ export const INVITETYPEOPTION = [
value
:
'推广渠道'
}
];
export
const
MSGENVOPTION
=
[
{
id
:
1
,
value
:
'测试'
},
{
id
:
2
,
value
:
'正式'
},
]
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