Commit 5e8df1b8 authored by zhengke's avatar zhengke

修改

parent 1d22bda1
......@@ -3,10 +3,15 @@ import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import Erpindex from '../utils/erpindex'
import axios from 'axios'
import 'vue-easytable/libs/themes-base/index.css'
import {VTable,VPagination} from 'vue-easytable'
Vue.http = Vue.prototype.$http = axios
Vue.use(ElementUI)
Vue.use(Erpindex)
Vue.component(VTable.name, VTable)
Vue.component(VPagination.name, VPagination)
Vue.prototype.$axios = axios
<template>
<div class="flexOne page_PlatformAccount">
<div class="flexOne page_PlatformAccount" style="height:100%">
<div class="query-box">
<ul>
<li>
......@@ -18,7 +18,7 @@
v-if="isReady"
is-horizontal-resize
column-width-drag
style="width:100%"
style="width:100%;"
:columns="columns"
:table-data="DataList"
:filter-method="filterMethod"
......@@ -1191,16 +1191,16 @@ export default {
},
mounted() {
this.msg.pageSize = this.calcPageSize(40);
let userInfo = this.getLocalStorage();
this.getCompanyMsg.RB_Group_Id = userInfo.RB_Group_id; //集团ID
var branchId = userInfo.RB_Branch_id;
this.addMsg.BranchIdS = branchId;
if(branchId==0||branchId==49){
this.getCompanyList();
}else{
this.getCompanyList(2,userInfo);
this.msg.RB_Branch_Id = branchId;
}
// let userInfo = this.getLocalStorage();
// this.getCompanyMsg.RB_Group_Id = userInfo.RB_Group_id; //集团ID
// var branchId = userInfo.RB_Branch_id;
// this.addMsg.BranchIdS = branchId;
// if(branchId==0||branchId==49){
// this.getCompanyList();
// }else{
// this.getCompanyList(2,userInfo);
// this.msg.RB_Branch_Id = branchId;
// }
this.getList();
this.initColums();
......@@ -1238,6 +1238,7 @@ export default {
</script>
<style scoped>
@import "css/cssReset.css";
.page_PlatformAccount .query-box li label {
display: inline-block;
min-width: 80px;
......
......@@ -313,6 +313,7 @@ input:-webkit-autofill {
.absolute {
position: absolute;
height:100%;
}
.inlineblock {
......@@ -763,7 +764,7 @@ input:-webkit-autofill {
.query-box li:last-child {
float: right;
position: fixed;
top: 36px;
top: 45px;
right: 20px;
text-align: right;
margin-right: 0;
......
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