Commit 6f2a6f67 authored by 黄奎's avatar 黄奎

页面修改

parent 76990c04
......@@ -88,7 +88,7 @@
<li>
<span><em>{{$t('admin.admin_company')}}</em>
<el-select filterable :disabled="msg.IsParentCompany==2" v-model='msg.RB_Branch_Id'
:placeholder="$t('pub.unlimitedSel')">
:placeholder="$t('pub.unlimitedSel')" clearable>
<el-option :label="$t('pub.unlimitedSel')" :value='-1'></el-option>
<el-option v-for='item in companyList' :label='item.BName' :value='item.Id' :key="item.Id">
</el-option>
......@@ -757,7 +757,9 @@
this.companyMsg.RB_Branch_Id = userInfo.RB_Branch_id; //公司
this.msg.RB_Branch_Id = userInfo.RB_Branch_id; //公司
this.msg.IsParentCompany = userInfo.IsParentCompany; //是否为总公司
if (userInfo.RB_Branch_id == 49) {
this.msg.IsParentCompany = 1;
}
this.getList();
this.getCompany();
this.getDepartment();
......@@ -767,18 +769,7 @@
this.getAllDepartment()
},
filters: {
// tierFormat(value){
// if(value=='1')
// return '一级'
// if(value=='2')
// return '二级'
// if(value=='3')
// return '三级'
// if(value=='4')
// return '四级'
// if(value=='5')
// return '五级'
// }
},
methods: {
setIsLeave(Id) {
......@@ -811,7 +802,6 @@
this.getPostMsg.RB_Branch_Id = this.addMsg1.RB_Branch_id;
this.getPostMsg.RB_Department_Id = this.addMsg1.RB_Department_Id
this.getPost1()
},
getPost1() { //岗位
this.apipost('admin_get_PostGetList', this.getPostMsg, res => {
......
......@@ -25,7 +25,7 @@
<li>
<span><em>{{ $t("system.table_company") }}</em>
<el-select filterable :disabled="msg.IsParentCompany == 2" v-model="msg.RB_Branch_id"
@change="linkageDepartment()">
@change="linkageDepartment()" clearable>
<el-option :label="$t('pub.unlimitedSel')" :value="-1"></el-option>
<el-option v-for="item in companyList" :label="item.BName" :value="item.Id" :key="item.Id">
</el-option>
......@@ -138,8 +138,9 @@
"></el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('adm.adm_bindaccountinfo')" placement="top">
<el-button v-if="qjGroupId==userInfo.RB_Group_id || F_Finance_Create" type="primary" class="zidingyiFz" icon="iconfont icon-bangdingzhagnhuxinxi" circle
@click="goUrl('empBankAccount', item.EmployeeId)"></el-button>
<el-button v-if="qjGroupId==userInfo.RB_Group_id || F_Finance_Create" type="primary" class="zidingyiFz"
icon="iconfont icon-bangdingzhagnhuxinxi" circle @click="goUrl('empBankAccount', item.EmployeeId)">
</el-button>
</el-tooltip>
<el-tooltip v-if="isSelectFinaceJJ" class="item" effect="dark" content="单据交接" placement="top">
<el-button type="primary" class="zidingyiFz" icon="iconfont icon-zhuanhuan2" circle
......@@ -301,7 +302,8 @@
<tr>
<td>
<el-form-item :label="$t('system.table_phone')" prop="EmMobile">
<el-input class="w217" type="text" maxlength="20" v-model="addMsg.EmMobile" :placeholder="$t('pub.pleaseImport')">
<el-input class="w217" type="text" maxlength="20" v-model="addMsg.EmMobile"
:placeholder="$t('pub.pleaseImport')">
</el-input>
</el-form-item>
</td>
......@@ -386,9 +388,9 @@
};
return {
qjGroupId:-1,
F_Finance_Create:false,//制单权限
userInfo:{},
qjGroupId: -1,
F_Finance_Create: false, //制单权限
userInfo: {},
UseNum: 0,
TotalNum: 0,
leaveBtn: "",
......@@ -563,9 +565,9 @@
},
mounted() {
let userInfo = this.getLocalStorage();
this.userInfo=this.getLocalStorage();
this.userInfo = this.getLocalStorage();
this.GetSupperOrderEditAuth();
this.qjGroupId=this.QjGroupId();
this.qjGroupId = this.QjGroupId();
this.getPostMsg.RB_Group_Id = this.getCompanyMsg.RB_Group_Id = this.getDepartmentMsg.RB_Group_Id = this.addMsg
.RB_Group_id = this.msg.RB_Group_id =
userInfo.RB_Group_id; //集团
......@@ -602,16 +604,16 @@
methods: {
GetSupperOrderEditAuth() {
var actionCodeNew = this.$AuthCode.F_Finance_Create;
// 制单权限
this.CheckUserAuth(actionCodeNew, res => {
if (res.data.resultCode == 1 && res.data.data == 1) {
this.F_Finance_Create = true;
}
});
var actionCodeNew = this.$AuthCode.F_Finance_Create;
},
// 制单权限
this.CheckUserAuth(actionCodeNew, res => {
if (res.data.resultCode == 1 && res.data.data == 1) {
this.F_Finance_Create = true;
}
});
},
getTotalNum() {
this.apipost(
"admin_get_GetGroupEmployeeNum", {},
......
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