Commit 1d930479 authored by youjie's avatar youjie

no message

parent 9bde5e8a
......@@ -37,6 +37,19 @@
</el-option>
</el-select>
</el-col>
<el-col :xs="7" :sm="6" :md="5" :lg="4" :xl="3">
<span class="font-size-12" style="padding-right: 10px">状态</span>
<el-select v-model="msg.State" size="small" placeholder="请选择状态"
@change="init">
<el-option key="0" label="不限" value="0"></el-option>
<el-option
v-for="item in ptionList"
:key="item.Id"
:label="item.Name"
:value="item.Id">
</el-option>
</el-select>
</el-col>
</el-row>
......@@ -182,6 +195,7 @@
Name: "",
PlatformType: '0',//平台
ModuleType: '0',//板块
State: '0'
},
title:'',
form:{
......
......@@ -223,121 +223,6 @@
},
合计: 3
},
// {
// name:'李四',
// ranking:'第二名',
// xhs:[
// {
// name:'机票',
// num:2
// }
// ],
// wb:[
// {
// name:'机票',
// num:3
// }
// ],
// dy:[
// {
// name:'机票',
// num:3
// }
// ],
// hj: 8
// },
// {
// name:'李四',
// ranking:'第三名',
// xhs:[
// {
// name:'机票',
// num:2
// }
// ],
// wb:[
// {
// name:'机票',
// num:3
// }
// ],
// dy:[
// {
// name:'机票',
// num:3
// }
// ],
// hj: 8
// },
// {
// name:'张三',
// ranking:'第一名',
// xhs:[
// {
// name:'机票',
// num:1
// }
// ],
// wb:[
// {
// name:'机票',
// num:1
// }
// ],
// dy:[
// {
// name:'机票',
// num:1
// }
// ],
// hj: 3
// },
// {
// name:'张三',
// ranking:'第二名',
// xhs:[
// {
// name:'机票',
// num:2
// }
// ],
// wb:[
// {
// name:'机票',
// num:3
// }
// ],
// dy:[
// {
// name:'机票',
// num:3
// }
// ],
// hj: 8
// },
// {
// name:'张三',
// ranking:'第三名',
// xhs:[
// {
// name:'机票',
// num:2
// }
// ],
// wb:[
// {
// name:'机票',
// num:3
// }
// ],
// dy:[
// {
// name:'机票',
// num:3
// }
// ],
// hj: 8
// },
],
loading: false,
msg: {
......
......@@ -51,6 +51,36 @@
</el-option>
</el-select>
</el-col>
<el-col :xs="7" :sm="6" :md="5" :lg="4" :xl="3">
<span class="font-size-12" style="padding-right: 10px">状态</span>
<el-select v-model="msg.State" size="small" placeholder="请选择状态"
@change="init">
<el-option key="0" label="不限" value="0"></el-option>
<el-option
v-for="item in statusList"
:key="item.Id"
:label="item.Name"
:value="item.Id">
</el-option>
</el-select>
</el-col>
<el-col :xs="7" :sm="6" :md="5" :lg="4" :xl="3">
<span class="font-size-12" style="padding-right: 10px">运营人</span>
<el-select
size="mini"
filterable
v-model="msg.UpdateBy"
@change="init"
placeholder="运营人">
<el-option key="0" label="不限" value="0"></el-option>
<el-option
v-for="item in EmployeeList"
:label='item.EmName'
:value='item.EmployeeId'
:key='item.EmployeeId'>
</el-option>
</el-select>
</el-col>
</el-row>
</div>
<div class="activeBox">
......@@ -729,6 +759,12 @@
export default {
data() {
return {
EmployeeList:[],
statusList:[
{Name:'正常',Id:1},
{Name:'限流',Id:2},
{Name:'封号',Id:3},
],
layerDepartMentList:[],
departMentList:[],
getDepartmentMsg: {
......@@ -787,7 +823,9 @@
PeriodsId: '',
PlatformType: 1,
ModuleTypeIds:[],
DeptId: '0'
DeptId: '0',
State: '0',
UpdateBy: '0'
},
form:{
PlatformType: '',
......@@ -834,8 +872,31 @@
}
this.getEnumerate()
this.getDerpartMent()
this.Employee()
},
methods: {
// 获取业务员
Employee() {
let userInfo = this.getLocalStorage();
let msg = {
RB_Group_id: userInfo.RB_Group_id,
BranchId: -1,
DepartmentId: 0,
PostId: 0,
IsLeave: 0,
};
this.apipost2(
"admin_get_EmployeeGetList",
msg,
(res) => {
if (res.data.resultCode == 1) {
this.EmployeeList = res.data.data;
} else {
}
},
(err) => {}
);
},
getDerpartMent() {
this.getDepartmentMsg = {
RB_Branch_Id: "1245",
......@@ -1100,7 +1161,8 @@
PeriodsId: this.msg.PeriodsId,
PlatformType: this.msg.PlatformType,
ModuleTypeIds: EmpIds.join(',')!==''?EmpIds.join(','):'',
DeptId: this.msg.DeptId
DeptId: this.msg.DeptId,
UpdateBy: this.msg.UpdateBy
},
(res) => {
this.loading = false;
......@@ -1165,7 +1227,8 @@
PeriodsId: this.msg.PeriodsId,
PlatformType: this.msg.PlatformType,
ModuleTypeIds:this.msg.ModuleTypeIds?this.msg.ModuleTypeIds.join(','):'',
DeptId: this.msg.DeptId
DeptId: this.msg.DeptId,
UpdateBy: this.msg.UpdateBy
}, `${name}.xls`, (res) => {
this.$message({
message: "导出成功",
......
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