Commit 53eb7c99 authored by 黄奎's avatar 黄奎

页面修改

parent 6f2a6f67
......@@ -138,9 +138,8 @@
"></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
......@@ -302,8 +301,7 @@
<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>
......@@ -388,9 +386,9 @@
};
return {
qjGroupId: -1,
F_Finance_Create: false, //制单权限
userInfo: {},
qjGroupId:-1,
F_Finance_Create:false,//制单权限
userInfo:{},
UseNum: 0,
TotalNum: 0,
leaveBtn: "",
......@@ -565,9 +563,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; //集团
......@@ -604,16 +602,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", {},
......
......@@ -1843,7 +1843,7 @@
this.allWindowWidth = allWindowWidth - 50 - 220 - 60;
let maxLength = parseInt(allWindowWidth / 110);
this.maxLength = maxLength;
//this.testApi();
this.testEmp();
//this.testDownLoad();
let userinfo = this.getLocalStorage();
let ActionMenuCode = userinfo.ActionMenuCode;
......@@ -1858,12 +1858,28 @@
},
methods: {
testApi() {
var postMsg={
"configId":"VjrskRJnOlI=","cityId":0,"preview":0,"tcid":"13233","teamType":0,"isGetPriceFlight":true
var postMsg = {
"configId": "VjrskRJnOlI=",
"cityId": 0,
"preview": 0,
"tcid": "13233",
"teamType": 0,
"isGetPriceFlight": true
};
this.apipost(
"b2b_get_GetB2BTravelInfoV1", postMsg,
res => {}
);
},
//测试方法
testEmp() {
var postMsg = {
EmPassword: "+n0yVvDg2xM3nxu2v1oA=="
};
this.apipost(
"admin_get_AnalysisPassword", postMsg,
res => {
console.log("admin_get_AnalysisPassword",res.data);
}
);
},
......@@ -1872,8 +1888,7 @@
var msg = {
FinanceId: "81461"
};
this.GetLocalFile("finance_download_surebook", msg, fileName, res => {
});
this.GetLocalFile("finance_download_surebook", msg, fileName, res => {});
},
GetSupperOrderEditAuth() {
var actiionContract = this.$AuthCode.F_ContractManagement;
......
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