Commit 00b8be61 authored by 王's avatar

群发消息

parent 52e10347
This diff is collapsed.
...@@ -169,6 +169,10 @@ ...@@ -169,6 +169,10 @@
prop="pay_at" prop="pay_at"
label="购买时间"> label="购买时间">
</el-table-column> </el-table-column>
<el-table-column
prop="created_at"
label="下单时间">
</el-table-column>
<el-table-column <el-table-column
prop="desc" prop="desc"
label="备注"> label="备注">
......
...@@ -217,7 +217,7 @@ ...@@ -217,7 +217,7 @@
<el-table-column <el-table-column
label="购买方式"> label="购买方式">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.buy_type === 1 ? '团购' : '单买'}} {{scope.row.buy_type === 1 ? '团购' : '直购'}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="created_at" prop="created_at"
label="创建时间"> label="下单时间">
</el-table-column> </el-table-column>
</el-table> </el-table>
<page :total="total" :limit="limit" @pageChange="onPageChange"/> <page :total="total" :limit="limit" @pageChange="onPageChange"/>
......
...@@ -554,4 +554,14 @@ const getWatchListUrl = '/api/admin/open/subscribe/statistics'; ...@@ -554,4 +554,14 @@ const getWatchListUrl = '/api/admin/open/subscribe/statistics';
export const getWatchListApi = function (json) { export const getWatchListApi = function (json) {
return Vue.prototype.$fetch(getWatchListUrl,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)
};
...@@ -92,3 +92,12 @@ export const INVITETYPEOPTION = [ ...@@ -92,3 +92,12 @@ export const INVITETYPEOPTION = [
value: '推广渠道' value: '推广渠道'
} }
]; ];
export const MSGENVOPTION = [
{
id: 1, value: '测试'
},
{
id: 2,
value: '正式'
},
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment