Commit c3b9f83f authored by zhengke's avatar zhengke

修改设置页

parent 0f2f6515
...@@ -636,8 +636,8 @@ ...@@ -636,8 +636,8 @@
<li> <li>
<span class="Person_Pname">部门</span> <span class="Person_Pname">部门</span>
<span class="Person_Company"> <span class="Person_Company">
{{companyName}} {{u.BranchName}}
<span class="Person_Jobs" v-if="Gangwei">{{Gangwei}}</span> <span class="Person_Jobs">{{u.PostName}}</span>
</span> </span>
</li> </li>
<li> <li>
...@@ -870,6 +870,7 @@ ...@@ -870,6 +870,7 @@
return { return {
//页面切换方式 //页面切换方式
openMode:0, openMode:0,
u:{},
outerVisible:false, outerVisible:false,
nameA:'账户名称', nameA:'账户名称',
nameB:'开户人', nameB:'开户人',
...@@ -924,27 +925,6 @@ ...@@ -924,27 +925,6 @@
CardNum:[{ required: true, message: '请填写卡号', trigger: 'blur' }], CardNum:[{ required: true, message: '请填写卡号', trigger: 'blur' }],
AccountAlias:[{ 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:{ AccountMsg:{
BranchId:'-1', BranchId:'-1',
...@@ -1185,33 +1165,6 @@ ...@@ -1185,33 +1165,6 @@
} }
},err=>{}) },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){ getBangding(val){
if(val){ if(val){
...@@ -1397,9 +1350,8 @@ ...@@ -1397,9 +1350,8 @@
}, },
mounted() { mounted() {
this.u = this.getLocalStorage();
this.getList(); this.getList();
this.getCompany();
this.getPost();
this.openMode=localStorage.openMode; this.openMode=localStorage.openMode;
this.radio=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