Commit d7127ee6 authored by 18224442217's avatar 18224442217

no message

parent 4d9adfc3
......@@ -38,6 +38,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.DeptId" size="small" placeholder="请选择分组"
@change="init"
filterable>
<el-option
v-for="item in departMentList"
:key="item.DepartmentID"
:label="item.DepartmentName"
:value="item.DepartmentID">
</el-option>
</el-select>
</el-col>
</el-row>
</div>
<div class="activeBox">
......@@ -565,6 +578,20 @@
export default {
data() {
return {
layerDepartMentList:[],
departMentList:[],
getDepartmentMsg: {
RB_Group_Id: "0",
RB_Branch_Id: "-1",
Status: "0"
},
getCompanyMsg: {
RB_Group_Id: "0",
Status: "0"
},
outerVisible: false,
layerCompanyList: [],
companyList: [],
formEdit:{
Id:'',// :'',//明细ID(以小红书为蓝本) 是 [string] 查看
FansNum:'',// 粉丝数量 是 [string] 查看
......@@ -608,7 +635,8 @@
msg: {
PeriodsId: '',
PlatformType: 1,
ModuleTypeIds:[]
ModuleTypeIds:[],
DeptId: 0
},
form:{
PlatformType: '',
......@@ -654,8 +682,52 @@
this.isPermission = false
}
this.getEnumerate()
this.getDerpartMent()
},
methods: {
getDerpartMent() {
this.getDepartmentMsg = {
RB_Group_Id: "1245",
RB_Branch_Id: "2",
Status: "0"
}
//获取部门
this.apipost2(
"admin_get_DepartmentGetList",
this.getDepartmentMsg,
res => {
if (res.data.resultCode == 1) {
if (this.outerVisible) {
this.layerDepartMentList = res.data.data;
} else {
this.departMentList = res.data.data;
}
} else {}
},
err => {}
);
},
// 获取公司
getCompany() {
// RB_Branch_Id: 1245
// RB_Group_Id: 2
// Status: "0"
this.apipost2(
"admin_get_BranchGetList",
this.getCompanyMsg,
res => {
if (res.data.resultCode == 1) {
if (this.outerVisible) {
this.layerCompanyList = res.data.data;
} else {
this.companyList = res.data.data;
}
} else {}
},
err => {}
);
},
clickActive(item){
this.msg.PlatformType = item.Id
if(this.msg.PlatformType==1){
......
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