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
56c87b74
Commit
56c87b74
authored
Mar 24, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
8d3ac721
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
employment.vue
src/pages/studyAbroad/employment.vue
+23
-1
No files found.
src/pages/studyAbroad/employment.vue
View file @
56c87b74
...
...
@@ -17,7 +17,7 @@
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-column-table sticky-right-column-table"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
row-key=
"name"
>
row-key=
"name"
:visible-columns=
"visibleColumns"
>
<template
v-slot:top=
"props"
>
<div
class=
"col-2 q-table__title"
>
就业信息
</div>
<q-space
/>
...
...
@@ -271,6 +271,12 @@
field
:
'Id'
}
],
//表格可见列
visibleColumns
:
[
'Name'
,
'SuggestPrice'
,
'SellPrice'
,
"PreferentialList"
,
"PreferentialListSellCommission"
,
"PreferentialListB2BCommission"
,
"EducationCommission"
,
'SaleStateName'
,
'Id'
,
'SupplierName'
,
],
//可见列
PageCount
:
0
,
isShowStudy
:
false
,
//是否显示留学弹窗
studyObj
:
{},
//留学对象
...
...
@@ -290,6 +296,18 @@
return
action
&&
action
.
FunctionCode
;
}
return
false
;
},
//是否有查看供应商权限
isHaveViewSupplierAction
(
state
)
{
if
(
state
.
user
.
userInfo
.
ActionMenuList
)
{
let
action
=
state
.
user
.
userInfo
.
ActionMenuList
.
find
(
x
=>
{
if
(
x
.
FunctionCode
==
"View_Supplier"
)
{
return
x
;
}
});
return
action
&&
action
.
FunctionCode
;
}
return
false
;
}
}),
mounted
()
{
...
...
@@ -297,6 +315,10 @@
},
created
()
{
this
.
getSaleStateList
();
if
(
!
this
.
isHaveViewSupplierAction
)
{
this
.
visibleColumns
.
splice
(
this
.
visibleColumns
.
length
-
1
,
1
);
}
},
methods
:
{
//获取销售状态列表
...
...
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