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
923d14c8
Commit
923d14c8
authored
Mar 19, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
4845681b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
264 additions
and
24 deletions
+264
-24
index.js
src/api/studyabroad/index.js
+2
-3
studyproaudit-form.vue
src/components/studyAbroad/studyproaudit-form.vue
+250
-0
studyProAudit.vue
src/pages/studyAbroad/studyProAudit.vue
+11
-20
msgmanage.vue
src/pages/system/msgmanage.vue
+1
-1
No files found.
src/api/studyabroad/index.js
View file @
923d14c8
...
...
@@ -166,11 +166,10 @@ export function saveManagerAudit(data) {
/**
* 获取留学就业审核人配置
*/
export
function
queryStudyAbroadAudit
(
data
)
{
export
function
queryStudyAbroadAudit
()
{
return
request
({
url
:
'/StudyAbroad/GetStudyAbroadAudit'
,
method
:
'post'
,
data
method
:
'post'
})
}
...
...
src/components/studyAbroad/studyproaudit-form.vue
0 → 100644
View file @
923d14c8
<
style
>
.studyproauditInfo
{
margin
:
20px
;
}
.studyproauditInfo
.row
{
margin-bottom
:
20px
;
}
.studyproauditInfo
.border-bottom
{
border-bottom
:
1px
dashed
#EEE
;
padding-bottom
:
5px
;
margin-bottom
:
5px
;
}
.studyproauditInfo
.q-radio
{
margin-bottom
:
0
!important
}
.studyproauditInfo
.audit_List
:last-child
{
margin-bottom
:
10px
;
}
</
style
>
<
template
>
<q-dialog
v-model=
"persistent"
persistent
maximized
full-height
seamless
position=
"right"
@
hide=
"closeperForm"
>
<q-card
style=
"margin-top:61px;width:500px"
class=
"no-border-radius classinfo_Dialog"
>
<div
class=
"drawerTop"
>
<div
style=
"display:flex;align-items:center;margin:20px 0 0 20px;"
>
<span
class=
"drawer_Span"
>
{{
saveObj
.
Type
==
1
?
'留学'
:
'就业'
}}
详情
</span>
</div>
</div>
<div
class=
"studyproauditInfo"
>
<div
class=
"row"
>
<div
class=
"col-12"
>
<span>
项目名称:
{{
saveObj
.
Name
}}
</span>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-6"
>
<span>
创建人:
{{
saveObj
.
CreateByName
}}
</span>
</div>
<div
class=
"col-6"
>
<span>
创建时间:
{{
saveObj
.
CreateTimeStr
}}
</span>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-6"
>
<span>
修改人:
{{
saveObj
.
UpdateByName
}}
</span>
</div>
<div
class=
"col-6"
>
<span>
修改时间:
{{
saveObj
.
UpdateTimeStr
}}
</span>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-6"
>
<span>
供应商:
{{
saveObj
.
SupplierName
}}
</span>
</div>
<div
class=
"col-6"
>
<span>
状态:
{{
saveObj
.
SaleStateName
}}
</span>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-6"
>
<span>
建议卖价:
{{
saveObj
.
SuggestPrice
}}
</span>
</div>
<div
class=
"col-6"
>
<span>
实际卖价:
{{
saveObj
.
SellPrice
}}
</span>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-12"
>
<span>
备注:
{{
saveObj
.
Remark
}}
</span>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-4"
>
优惠政策
</div>
<div
class=
"col-4"
>
销售佣金
</div>
<div
class=
"col-4"
>
同行佣金
</div>
</div>
<div
class=
"row audit_List"
v-for=
"(x,index) in saveObj.PreferentialList"
:key=
"index"
>
<div
class=
"col-4"
>
<template
v-if=
"saveObj.PreferentialList.length>0"
>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 1"
>
买
{{
x
.
BuyNum
}}
送
{{
x
.
SendNum
}}
</div>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 2"
>
单人报名享
{{
100
-
x
.
PriceMoney
}}
折优惠
</div>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 3"
>
双人报名享
{{
100
-
x
.
PriceMoney
}}
折优惠
</div>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 4"
>
续费享
{{
100
-
x
.
PriceMoney
}}
折优惠
</div>
<div
class=
"remark-font"
v-if=
"x.PriceDiscountType == 0"
>
暂无优惠政策
</div>
</
template
>
<
template
v-else
>
<span>
暂无优惠政策
</span>
</
template
>
</div>
<div
class=
"col-4"
>
<
template
v-if=
"saveObj.PreferentialList.length>0"
>
<div
class=
"border-bottom"
style=
"padding-left: 16px;padding-right: 16px"
:class=
"
{ 'text-red': x.SaleCommissionType == 1 }" v-if="x.PriceDiscountType != 0">
{{
x
.
SaleCommissionType
==
1
?
"¥"
:
""
}}{{
x
.
SaleCommissionMoney
}}{{
x
.
SaleCommissionType
==
0
?
"%"
:
""
}}
</div>
<div
v-if=
"x.PriceDiscountType == 0"
>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
</div>
</
template
>
<
template
v-else
>
<span>
暂无优惠政策
</span>
</
template
>
</div>
<div
class=
"col-4"
>
<
template
v-if=
"saveObj.PreferentialList.length>0"
>
<div
class=
"border-bottom"
style=
"padding-left: 16px"
:class=
"
{ 'text-red': x.B2BCommissionType == 1 }"
v-if="x.PriceDiscountType != 0">
{{
x
.
B2BCommissionType
==
1
?
"¥"
:
""
}}{{
x
.
B2BCommissionMoney
}}{{
x
.
B2BCommissionType
==
0
?
"%"
:
""
}}
</div>
<div
v-if=
"x.PriceDiscountType == 0"
>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
</div>
</
template
>
<
template
v-else
>
<span>
暂无优惠政策
</span>
</
template
>
</div>
</div>
<div
class=
"row"
style=
"margin-bottom:0;"
>
<div
class=
"col-12"
>
<q-radio
v-model=
"saveMsg.ManagerStatus"
style=
"margin-right:20px;"
:val=
"0"
size=
"xs"
label=
"通过"
color=
"secondary"
/>
<q-radio
v-model=
"saveMsg.ManagerStatus"
:val=
"1"
size=
"xs"
label=
"拒绝"
color=
"negative"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-12"
>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"saveMsg.ManagerOpinion"
style=
"margin-top: 20px"
type=
"textarea"
class=
"col-12"
label=
"意见"
/>
</div>
</div>
<div
style=
"margin:30px 10px 0 0;text-align:right;"
>
<q-btn
color=
"accent"
class=
"q-mr-md"
icon=
"add"
label=
"提交"
@
click=
"saveSatMsg()"
/>
</div>
</div>
</q-card>
<div
class=
"dialog-out-close"
@
click=
"closeperForm"
style=
"height:40px !important;border-top-left-radius: 4px !important;border-bottom-left-radius: 4px !important;"
>
<q-icon
name=
"iconfont icon-jujue1"
size=
"26px"
/>
</div>
</q-dialog>
</template>
<
script
>
import
{
queryStudyAbroadAudit
,
queryStudyAbroadInfo
}
from
"../../api/studyabroad/index"
;
import
{
mapState
}
from
"vuex"
;
export
default
{
meta
:
{
title
:
"留学详情"
},
props
:
{
Id
:
{
type
:
Number
,
default
:
null
}
},
data
()
{
return
{
persistent
:
true
,
saveMsg
:
{
Id
:
0
,
ManagerOpinion
:
''
,
ManagerStatus
:
0
},
msg
:
{
Id
:
0
,
IsGetPrice
:
1
},
saveObj
:{}
}
},
computed
:
mapState
({
isHavePriceAction
(
state
)
{
// if (state.user.userInfo.ActionMenuList) {
// let action = state.user.userInfo.ActionMenuList.find(x => {
// if (x.FunctionCode == "Edit_CoursePrice") {
// return x;
// }
// });
// return action && action.FunctionCode;
// }
// return false;
}
}),
mounted
()
{
this
.
msg
.
Id
=
this
.
Id
;
this
.
queryStudy
();
this
.
initObj
();
},
methods
:
{
//获取数据
initObj
()
{
queryStudyAbroadInfo
(
this
.
msg
).
then
(
res
=>
{
console
.
log
(
res
,
'数据来了111'
);
this
.
saveObj
=
res
.
Data
;
})
.
catch
(()
=>
{});
},
queryStudy
()
{
queryStudyAbroadAudit
({}).
then
(
res
=>
{
console
.
log
(
res
,
'数据来了'
);
})
.
catch
(()
=>
{});
},
//保存
saveSatMsg
(){
},
closeperForm
()
{
this
.
$emit
(
"close"
);
this
.
persistent
=
false
;
}
}
}
</
script
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
</
style
>
src/pages/studyAbroad/studyProAudit.vue
View file @
923d14c8
...
...
@@ -20,15 +20,15 @@
<template
v-slot:top=
"props"
>
<div
class=
"col-2 q-table__title"
>
留学信息
</div>
<q-space
/>
<div
class=
"page-option"
>
<
!--
<
div
class=
"page-option"
>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
label=
"新增留学"
@
click=
"EditStudy(null)"
/>
</div>
</div>
-->
</
template
>
<
template
v-slot:body-cell-SupplierName=
"props"
>
<q-td>
<div>
{{
props
.
row
.
SupplierName
}}
</div>
<div>
<a
:href=
"props.row.SupplierContract"
style=
"color:#2961FE;text-decoration:none;"
v-if=
"props.row.SupplierContract"
>
<a
:href=
"props.row.SupplierContract"
target=
"_blank"
style=
"color:#2961FE;text-decoration:none;"
v-if=
"props.row.SupplierContract"
>
查看合同
</a>
</div>
...
...
@@ -107,8 +107,8 @@
:input=
"true"
@
input=
"changePage"
/>
</
template
>
</q-table>
<study
Abroad-form
v-if=
"isShowStudy"
:save-obj=
"studyObj"
:Type=
"1"
@
close=
"closeStudyForm"
@
success=
"refreshPage
"
>
</study
Abroad
-form>
<study
proaudit-form
v-if=
"isShowStudy"
:Id=
"Id"
@
close=
"closeStudyForm
"
>
</study
proaudit
-form>
</div>
</div>
</template>
...
...
@@ -117,14 +117,14 @@
import
{
queryStudyAbroadPage
}
from
'../../api/studyabroad/index'
import
study
AbroadForm
from
'../../components/studyAbroad/studyAbroad
-form'
import
study
proauditForm
from
'../../components/studyAbroad/studyproaudit
-form'
export
default
{
meta
:
{
title
:
"留学产品审核"
},
components
:
{
study
Abroad
Form
study
proaudit
Form
},
data
()
{
return
{
...
...
@@ -193,9 +193,9 @@
align
:
'left'
},
{
name
:
'SaleState'
,
name
:
'SaleState
Name
'
,
label
:
'销售状态'
,
field
:
'SaleState'
,
field
:
'SaleState
Name
'
,
align
:
'left'
},
{
...
...
@@ -206,7 +206,7 @@
],
PageCount
:
0
,
isShowStudy
:
false
,
//是否显示留学弹窗
studyObj
:
{},
//留学对象
Id
:
0
,
saleDownList
:[{
Id
:
0
,
...
...
@@ -252,19 +252,10 @@
//关闭弹窗
closeStudyForm
()
{
this
.
isShowStudy
=
false
;
this
.
refreshPage
();
},
//刷新页面
refreshPage
()
{
this
.
getList
();
},
//编辑留学
EditStudy
(
obj
)
{
if
(
obj
)
{
this
.
studyObj
=
obj
;
}
else
{
this
.
studyObj
=
null
;
}
this
.
Id
=
obj
.
Id
;
this
.
isShowStudy
=
true
;
},
//申请审核
...
...
src/pages/system/msgmanage.vue
View file @
923d14c8
...
...
@@ -151,7 +151,7 @@
</div>
</div>
<div
class=
"page-option"
>
<q-btn
color=
"accent"
class=
"q-mr-md"
icon=
"add"
label=
"新增配置"
@
click=
"addConfig(null)"
/>
<q-btn
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"add"
label=
"新增配置"
@
click=
"addConfig(null)"
/>
</div>
</div>
<div
class=
"page-content"
>
...
...
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