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

页面修改

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