3.15

parent c430e318
......@@ -708,6 +708,7 @@
this.getUserLook();
},
searchList(value){
console.log(value)
if (value) {
this.classUserLimit = value;
this.classUserNowPage = 1
......
......@@ -49,7 +49,7 @@
label="操作" width="180">
<template slot-scope="scope">
<el-button type="primary" size="mini" @click="onDetail(scope.row)">查看详情</el-button>
<el-button type="warning" size="mini" @click="onEdit(scope.row)">编辑</el-button>
<el-button type="warning" size="mini" v-if="!$store.state.readonly" @click="onEdit(scope.row)">编辑</el-button>
</template>
</el-table-column>
</el-table>
......
This diff is collapsed.
This diff is collapsed.
......@@ -475,7 +475,8 @@ export default {
page2,
pageImage,
pageVideo,
emotion
emotion,
getMsgCountApi
},
data() {
return {
......@@ -779,6 +780,9 @@ export default {
this.clearData();
this.getMsgList();
});
},
getMsgCountApi(){
},
send() {
let json = {};
......
......@@ -98,7 +98,7 @@
<el-button type="primary" plain>导入</el-button>
</el-upload>
</el-form-item>
<el-form-item>
<el-form-item v-if="!$store.state.readonly">
<el-button type="primary" plain @click="downLoad()">excel模板下载</el-button>
</el-form-item>
</el-form>
......@@ -108,7 +108,7 @@
<el-tab-pane label="月课" name="0"/>
<el-tab-pane label="日课" name="1"/>
</el-tabs>
<div style="position: absolute;top: 10px;right: 10px;font-size: 14px">
<div style="position: absolute;top: 10px;right: 10px;font-size: 14px" v-if="!$store.state.readonly">
老师:
<el-select size="small" v-model="teacherId" placeholder="请选择" clearable style="width: 150px" filterable>
<el-option label="暂不分配" value="0">
......@@ -116,7 +116,7 @@
<el-option v-for="(data,index) in teacherList" :key="index" :label="data.name" :value="data.id">
</el-option>
</el-select>
<el-button size="small" type="success" @click="pullAll">批量分配</el-button>
<el-button size="small" type="success" @click="pullAll">批量分配</el-button>
</div>
</div>
<el-table :data="list" size="mini" style="width: 100%"
......
......@@ -992,4 +992,16 @@ const getMsgListUrl = `/api/admin/muti/msg/list`;
export const getMsgListApi = function (json) {
return Vue.prototype.$fetch(getMsgListUrl,json)
};
///api/admin/muti/msg/list
\ No newline at end of file
const getMsgCountUrl = `/api/admin/multi/msg/user`;
export const getMsgCountApi = function (json) {
return Vue.prototype.$fetch(`${getMsgCountUrl}`,json)
};
const updateFansUrl = `/api/admin/init/fans/info`;
export const updateFansApi = function (json) {
return Vue.prototype.$put(`${updateFansUrl}`,json)
};
const updateContactUrl = `/api/admin/other/order/user/status`;
export const updateContactApi = function (json) {
return Vue.prototype.$put(`${updateContactUrl}`,json)
};
//api/admin/other/order/user/status
\ No newline at end of file
......@@ -172,3 +172,15 @@ export const CLASSSOURCE = {
3:'渠道1订单随机',
4:'渠道2订单随机'
};
export const USERSTATUS = {
0:'待处理',
1:'手机号不是微信号',
2:'待通过',
3:'已加微信未激活',
4:'第一次电话无人接/挂断/关机',
5:'第二次电话无人接/挂断/关机',
6:'第三次电话无人接/挂断/关机',
7:'用户已拒绝',
8:'手机号是空号',
9:'已激活',
};
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