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
ccb36cf9
Commit
ccb36cf9
authored
Mar 30, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
0cbb133c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
134 additions
and
1 deletion
+134
-1
employment.vue
src/pages/studyAbroad/employment.vue
+12
-0
studyabroad.vue
src/pages/studyAbroad/studyabroad.vue
+12
-0
studyemploymentorder.vue
src/pages/studyAbroad/studyemploymentorder.vue
+105
-0
routes.js
src/router/routes.js
+5
-1
No files found.
src/pages/studyAbroad/employment.vue
View file @
ccb36cf9
...
...
@@ -163,6 +163,11 @@
<q-item-label>
申请审核
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
@
click=
"GoToOrder(props.row)"
>
<q-item-section>
<q-item-label>
订单中心
</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
</q-td>
...
...
@@ -352,6 +357,13 @@
}
},
methods
:
{
//跳转到留学就业订单中心
GoToOrder
(
item
)
{
var
tempStr
=
'/studyAbroad/studyemploymentorder?SourceId='
+
item
.
Id
;
this
.
$router
.
push
({
path
:
tempStr
});
},
//显示详情
ShowInfo
(
item
)
{
this
.
studyObj
=
item
;
...
...
src/pages/studyAbroad/studyabroad.vue
View file @
ccb36cf9
...
...
@@ -163,6 +163,11 @@
<q-item-label>
申请审核
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
@
click=
"GoToOrder(props.row)"
>
<q-item-section>
<q-item-label>
订单中心
</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
</q-td>
...
...
@@ -353,6 +358,13 @@
}
},
methods
:
{
//跳转到留学就业订单中心
GoToOrder
(
item
)
{
var
tempStr
=
'/studyAbroad/studyemploymentorder?SourceId='
+
item
.
Id
;
this
.
$router
.
push
({
path
:
tempStr
});
},
//显示详情
ShowInfo
(
item
)
{
this
.
studyObj
=
item
;
...
...
src/pages/studyAbroad/studyemploymentorder.vue
0 → 100644
View file @
ccb36cf9
<
template
>
<div
class=
"page-body myOrder"
>
<div
class=
"row col"
style=
"height: 40px"
>
<div
class=
"row col"
style=
"justify-content: space-between;align-items: center;margin-bottom: 10px"
>
<div>
<template
v-if=
"data&& data.ClassInfo"
>
{{
data
.
ClassInfo
.
StudyName
}}
</
template
>
</div>
</div>
</div>
<div
class=
"page-content"
>
<orderlist
:dataList=
"dataList"
ref=
"orderL"
:authObj=
"authObj"
:cancelList=
"CancelList"
@
success=
"refreshClassOrder"
></orderlist>
</div>
</div>
</template>
<
script
>
import
{
quertClassOrderList
}
from
'../../api/sale/sale'
;
import
orderlist
from
'../../components/sale/orderlist'
export
default
{
components
:
{
orderlist
},
data
()
{
return
{
data
:
{},
msg
:
{
SourceId
:
0
},
//正常订单
dataList
:
[],
//取消订单
CancelList
:
[],
//权限判断
authObj
:
{
isShowName
:
false
,
//不显示班级名称
isShowEditSale
:
true
,
//显示修改销售按钮
isShowEducationRemark
:
true
,
//显示修改教务备注
isShowPrincipalRemark
:
true
,
//显示校长备注
isShowManagerRemark
:
true
,
//显示总经理备注
isShowCommissionEdit
:
true
,
//显示修改提成按钮
isShowRewardEdit
:
true
,
//显示修改额外提成按钮
}
}
},
created
()
{
if
(
this
.
$route
.
query
.
SourceId
)
{
this
.
msg
.
SourceId
=
this
.
$route
.
query
.
SourceId
;
}
this
.
getList
();
},
mounted
()
{
},
methods
:
{
//获取菜单分页列表
getList
()
{
this
.
loading
=
true
;
quertClassOrderList
(
this
.
msg
).
then
(
res
=>
{
this
.
data
=
res
.
Data
;
if
(
this
.
data
&&
this
.
data
.
OrderList
&&
this
.
data
.
OrderList
.
NorList
)
{
this
.
dataList
=
this
.
data
.
OrderList
.
NorList
;
let
OrderIds
=
[]
this
.
dataList
.
forEach
(
x
=>
{
OrderIds
.
push
(
x
.
OrderId
)
})
if
(
OrderIds
.
length
>
0
)
{
OrderIds
=
OrderIds
.
join
(
','
)
if
(
this
.
dataList
.
length
>
0
)
{
this
.
$refs
.
orderL
.
getOrderFinanceList
(
OrderIds
,
1
)
}
}
}
if
(
this
.
data
&&
this
.
data
.
OrderList
&&
this
.
data
.
OrderList
.
CancelList
)
{
this
.
CancelList
=
this
.
data
.
OrderList
.
CancelList
;
let
OrderIds
=
[]
this
.
CancelList
.
forEach
(
x
=>
{
OrderIds
.
push
(
x
.
OrderId
)
})
if
(
OrderIds
.
length
>
0
)
{
OrderIds
=
OrderIds
.
join
(
','
)
if
(
this
.
CancelList
.
length
>
0
)
{
this
.
$refs
.
orderL
.
getOrderFinanceList
(
OrderIds
,
2
)
}
}
}
this
.
loading
=
false
}).
catch
(()
=>
{
this
.
loading
=
false
})
},
//刷新页面
refreshClassOrder
()
{
this
.
getList
();
}
}
}
</
script
>
<
style
>
</
style
>
src/router/routes.js
View file @
ccb36cf9
...
...
@@ -127,7 +127,6 @@ const routes = [{
component
:
()
=>
import
(
"pages/course/classorder.vue"
)
},
{
path
:
"/course/socialclass"
,
//教学奖励-社会班设置
component
:
()
=>
...
...
@@ -552,6 +551,11 @@ const routes = [{
component
:
()
=>
import
(
"pages/studyAbroad/employment.vue"
)
},
{
path
:
"/studyAbroad/studyemploymentorder"
,
//留学就业订单中心
component
:
()
=>
import
(
"pages/studyAbroad/studyemploymentorder.vue"
)
},
{
path
:
"/studyAbroad/supplier"
,
//供应商
component
:
()
=>
...
...
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