Commit c3b9f83f authored by zhengke's avatar zhengke

修改设置页

parent 0f2f6515
......@@ -636,8 +636,8 @@
<li>
<span class="Person_Pname">部门</span>
<span class="Person_Company">
{{companyName}}
<span class="Person_Jobs" v-if="Gangwei">{{Gangwei}}</span>
{{u.BranchName}}
<span class="Person_Jobs">{{u.PostName}}</span>
</span>
</li>
<li>
......@@ -870,6 +870,7 @@
return {
//页面切换方式
openMode:0,
u:{},
outerVisible:false,
nameA:'账户名称',
nameB:'开户人',
......@@ -924,27 +925,6 @@
CardNum:[{ required: true, message: '请填写卡号', trigger: 'blur' }],
AccountAlias:[{ required: true, message: '请填写账户别名', trigger: 'blur' }],
},
//公司
companyName:'',
//岗位
Gangwei:'',
//获取公司参数
getCompanyMsg:{
RB_Group_Id:'2',
Status:'0',
},
//获取部门参数
getDepartmentMsg:{
RB_Group_Id:'0',
RB_Branch_Id:'-1',
Status:'0',
},
getPostMsg:{
RB_Group_Id:'0',
RB_Branch_Id:'-1',
RB_Department_Id:'0',
},
//获取银行账户参数
AccountMsg:{
BranchId:'-1',
......@@ -1185,33 +1165,6 @@
}
},err=>{})
},
//获取公司
getCompany(){
this.apipost('admin_get_BranchGetList',this.getCompanyMsg,res=>{
if(res.data.resultCode==1){
let data = res.data.data;
data.forEach(x=>{
if(this.dataList.RB_Branch_id==x.Id){
this.companyName=x.BName;
}
})
}else{}
},err=>{})
},
getPost(){ //岗位
this.getPostMsg.RB_Branch_Id = this.dataList.RB_Branch_Id;
this.getPostMsg.RB_Department_Id = this.dataList.RB_Department_Id;
this.apipost('admin_get_PostGetList',this.getPostMsg,res=>{
if(res.data.resultCode==1){
let data=res.data.data;
data.forEach(x=>{
if(this.dataList.RB_Post_Id==x.PostId){
this.Gangwei = x.PostName;
}
})
}else{}
},err=>{})
},
//过滤电话号码
getBangding(val){
if(val){
......@@ -1397,9 +1350,8 @@
},
mounted() {
this.u = this.getLocalStorage();
this.getList();
this.getCompany();
this.getPost();
this.openMode=localStorage.openMode;
this.radio=localStorage.openMode;
......
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