Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
5e8df1b8
Commit
5e8df1b8
authored
Nov 12, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
1d22bda1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
13 deletions
+20
-13
axios.js
src/boot/axios.js
+5
-0
PlatformAccount.vue
src/pages/financial/PlatformAccount.vue
+13
-12
cssReset.css
src/pages/financial/css/cssReset.css
+2
-1
No files found.
src/boot/axios.js
View file @
5e8df1b8
...
...
@@ -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
src/pages/financial/PlatformAccount.vue
View file @
5e8df1b8
<
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
;
...
...
src/pages/financial/css/cssReset.css
View file @
5e8df1b8
...
...
@@ -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
:
36
px
;
top
:
45
px
;
right
:
20px
;
text-align
:
right
;
margin-right
:
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment