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
059571e8
Commit
059571e8
authored
Mar 18, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
796af1d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
23 deletions
+38
-23
studyabroad.vue
src/pages/studyAbroad/studyabroad.vue
+38
-22
supplier.vue
src/pages/studyAbroad/supplier.vue
+0
-1
No files found.
src/pages/studyAbroad/studyabroad.vue
View file @
059571e8
<
template
>
<div
class=
"page-body"
>
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<q-input
@
input=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.Name"
label=
"项目名称"
@
clear=
"resetSearch"
maxlength=
"20"
/>
</div>
</div>
</div>
<div
class=
"page-content"
>
<q-table
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-column-table"
<q-table
:
pagination=
"msg"
:
loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-column-table"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
row-key=
"name"
>
<template
v-slot:top=
"props"
>
<div
class=
"col-2 q-table__title"
>
留学信息
</div>
...
...
@@ -11,7 +19,7 @@
</div>
</
template
>
<
template
v-slot:bottom
>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.
P
ageIndex"
color=
"primary"
:max=
"PageCount"
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.
p
ageIndex"
color=
"primary"
:max=
"PageCount"
:input=
"true"
@
input=
"changePage"
/>
</
template
>
</q-table>
...
...
@@ -29,22 +37,23 @@
export
default
{
meta
:
{
title
:
"留学"
title
:
"留学
产品
"
},
components
:
{
studyAbroadForm
,
},
data
()
{
return
{
msg
:{
Type
:
1
,
//1留学 2就业
msg
:
{
Type
:
1
,
//1留学 2就业
pageIndex
:
1
,
pageSize
:
12
pageSize
:
10
,
rowsPerPage
:
10
,
Name
:
""
,
},
dataList
:
[],
loading
:
true
,
columns
:
[
{
loading
:
true
,
columns
:
[{
name
:
'Name'
,
label
:
'项目名称'
,
field
:
'Name'
,
...
...
@@ -122,19 +131,19 @@
field
:
'OfferCommissionType'
,
align
:
'left'
},
{
{
name
:
'OfferCommission'
,
label
:
'校企返佣金额'
,
field
:
'OfferCommission'
,
align
:
'left'
},
{
{
name
:
'Remark'
,
label
:
'备注'
,
field
:
'Remark'
,
align
:
'left'
},
{
{
name
:
'SaleState'
,
label
:
'销售状态'
,
field
:
'SaleState'
,
...
...
@@ -146,48 +155,55 @@
field
:
'CateId'
}
],
PageCount
:
0
,
isShowStudy
:
false
,
studyObj
:
{}
PageCount
:
0
,
isShowStudy
:
false
,
//是否显示留学弹窗
studyObj
:
{},
//留学对象
}
},
mounted
()
{
this
.
getList
();
},
created
()
{
},
methods
:
{
//重新查询
resetSearch
()
{
this
.
msg
.
pageIndex
=
1
;
this
.
getsupplierpage
();
},
//获取留学分页列表
getList
()
{
this
.
loading
=
true
;
queryStudyAbroadPage
(
this
.
msg
).
then
(
res
=>
{
this
.
loading
=
false
;
console
.
log
(
res
,
'数据来了'
);
this
.
dataList
=
res
.
Data
.
PageData
;
this
.
p
ageCount
=
res
.
Data
.
PageCount
;
this
.
P
ageCount
=
res
.
Data
.
PageCount
;
})
.
catch
(()
=>
{
this
.
loading
=
false
;
});
},
changePage
(
val
){
this
.
msg
.
pageIndex
=
val
;
changePage
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
//关闭弹窗
closeStudyForm
()
{
this
.
isShowStudy
=
false
},
refreshPage
(){
//刷新页面
refreshPage
()
{
this
.
getList
();
},
//编辑留学
EditStudy
(
obj
){
EditStudy
(
obj
)
{
if
(
obj
)
{
this
.
studyObj
=
obj
;
}
else
{
this
.
studyObj
=
null
;
}
this
.
isShowStudy
=
true
;
this
.
isShowStudy
=
true
;
}
}
}
...
...
src/pages/studyAbroad/supplier.vue
View file @
059571e8
...
...
@@ -22,7 +22,6 @@
<q-td
:props=
"props"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"EditSupplier(props.row)"
/>
<q-btn
flat
size=
"xs"
icon=
"delete"
color=
"negative"
style=
"font-weight:400;"
label=
"删除"
@
click=
"removeSupplier(props.row)"
/>
</q-td>
...
...
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