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
d5472a5f
Commit
d5472a5f
authored
Jul 14, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e9d932c0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
505 additions
and
319 deletions
+505
-319
activeOrder-item.vue
src/components/sale/activeOrder-item.vue
+44
-28
activeSignUpList.vue
src/pages/activity/activeSignUpList.vue
+110
-289
activeSignUpList1.vue
src/pages/activity/activeSignUpList1.vue
+341
-0
activityList.vue
src/pages/activity/activityList.vue
+10
-2
No files found.
src/components/sale/activeOrder-item.vue
View file @
d5472a5f
...
...
@@ -43,7 +43,7 @@
<col
width=
"12%"
/>
<col
width=
"7%"
/>
<col
width=
"10%"
/>
<!--
<col
width=
"7%"
/>
-->
<!--
<col
width=
"7%"
/>
-->
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<!--
<col
width=
"7%"
/>
...
...
@@ -65,7 +65,8 @@
<div>
{{
item
.
PaymentWayName
}}
</div>
<div>
{{
item
.
EduSellName
}}
</div>
<div
v-if=
"item.EduSellName"
>
{{
item
.
EduSellName
}}
</div>
<div
v-if=
"!item.EduSellName"
>
暂未绑定销售
</div>
<div>
{{
item
.
ActivityName
}}
</div>
<div>
活动开始时间:
</div>
<div>
{{
item
.
StartTime
}}
</div>
...
...
@@ -122,11 +123,11 @@
<div
style=
"color:red"
v-if=
"item.CommissionBack>0"
>
补交提成:
{{
item
.
CommissionBack
}}
</div>
</
template
>
</td>
<td
style=
"border:none"
>
{{item.LinkMan}}
</td>
<td
style=
"border:none"
>
{{item.LinkMan}}
</td>
<td
style=
"border:none;"
>
{{item.LinkTel}}
</td>
<!-- <td :style="{color:item.Class_Price!=item. UnitPrice?'var(--q-color-negative)':'','border':'none'}">
<!-- <td :style="{color:item.Class_Price!=item. UnitPrice?'var(--q-color-negative)':'','border':'none'}">
<template v-if="item. UnitPrice>=0">
{{item.UnitPrice }}
</template>
...
...
@@ -204,11 +205,18 @@
</div>
</td>
<td
style=
"border:none"
>
<
template
v-if=
"
isEditOrder||AuthorityObj.isShowEdit
"
>
<
template
v-if=
"
(isEditOrder||AuthorityObj.isShowEdit)&&!formActiveMan
"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"editOrder(item)"
v-if=
"item.EduUserId===loginId&&item.PaymentWay!==1"
/>
@
click=
"editOrder(item)"
v-if=
"item.EduUserId===loginId&&item.PaymentWay!==1"
/>
</
template
>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
v-if=
"item.EduUserId===loginId&&item.PaymentWay!==1"
style=
"margin-left:10px;"
>
<
template
v-if=
"formActiveMan&&item.IsApplyForCancel==1&&item.Status===0"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"同意"
@
click=
"handleApply(1,item)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"拒绝"
@
click=
"handleApply(2,item)"
/>
</
template
>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
v-if=
"item.EduUserId===loginId&&item.PaymentWay!==1&&!formActiveMan"
style=
"margin-left:10px;"
>
<q-list>
<!-- <q-item clickable v-close-popup>
<q-item-section @click="gostudent(item)">
...
...
@@ -273,7 +281,7 @@
</q-tooltip>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
disabled
<q-item
clickable
v-close-popup
disabled
v-else-if=
"item.Status===0&&item.IsApplyForCancel===1&&item.ApplyForCancelStatus===0"
>
<q-item-section>
<q-item-label>
...
...
@@ -284,7 +292,8 @@
</q-tooltip>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-else-if=
"item.Status===0&&item.IsApplyForCancel===0&&item.ApplyForCancelStatus===0"
>
<q-item
clickable
v-close-popup
v-else-if=
"item.Status===0&&item.IsApplyForCancel===0&&item.ApplyForCancelStatus===0"
>
<q-item-section
@
click=
"CancelOrder(item)"
>
<q-item-label>
取消订单
</q-item-label>
</q-item-section>
...
...
@@ -307,8 +316,6 @@
<tr>
<td
:colspan=
"12"
style=
"height: 168px;text-align: left"
>
<div
class=
"col row remarks q-gutter-x-md"
>
<div
class=
"col"
>
<div>
客户备注:
</div>
<div
class=
"remarks-b "
>
...
...
@@ -362,9 +369,8 @@
<div
class=
"col"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
收款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"item.UserId===0"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"goShoukuan(item,1)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"item.UserId===0"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"goShoukuan(item,1)"
/>
<!-- <q-btn flat size="xs" icon="edit"
v-if="AuthorityObj.isShowFinanceBtn&&AuthorityObj.isShowEdit&&item.OrderType==2"
style="font-weight:400;color: #02C499" label="修改" @click="chanceType(item,1)" /> -->
...
...
@@ -406,9 +412,8 @@
</div>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
付款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"item.UserId===0"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"goShoukuan(item,2)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"item.UserId===0"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"goShoukuan(item,2)"
/>
<!-- <q-btn flat size="xs" icon="edit"
v-if="AuthorityObj.isShowFinanceBtn&&AuthorityObj.isShowEdit&&item.OrderType==2"
style="font-weight:400;color: #02C499" label="修改" @click="chanceType(item,2)" /> -->
...
...
@@ -686,7 +691,7 @@
</studyorder-form> -->
<!--修改订单备注-->
<orderremark-form
v-if=
"isShowRemarkOrderForm"
:save-obj=
"orderObj"
:remarkType=
"remarkType"
<orderremark-form
v-if=
"isShowRemarkOrderForm"
:save-obj=
"orderObj"
:remarkType=
"remarkType"
@
close=
"closeRemarkForm"
@
success=
"refreshOrder"
></orderremark-form>
<!--转交订单-->
...
...
@@ -780,6 +785,10 @@
modityOrderType
:
{
type
:
Number
,
default
:
0
,
//1-销售修改,2-OP修改,3-总经理修改
},
formActiveMan
:{
type
:
Boolean
,
default
:
false
}
},
data
()
{
...
...
@@ -831,7 +840,7 @@
isEditOrder
:
false
,
//是否有【总经理】修改订单但权限
newModityOrderType
:
0
,
isChaBan
:
0
,
//是否插班(0-正常报入,1-插班报入)
loginId
:
-
1
,
//登录人id
loginId
:
-
1
,
//登录人id
}
},
created
()
{
...
...
@@ -850,12 +859,12 @@
}
})
}
this
.
loginId
=
JSON
.
parse
(
localStorage
.
getItem
(
"loginUserInfo"
)).
data
.
Id
this
.
loginId
=
JSON
.
parse
(
localStorage
.
getItem
(
"loginUserInfo"
)).
data
.
Id
},
watch
:
{
dataList
:
{
handler
(
val
)
{
},
deep
:
true
},
...
...
@@ -1123,7 +1132,7 @@
}
that
.
apipostDS
(
"/api/Education/CancelCommerceConsult"
,
msg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
that
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
...
...
@@ -1131,9 +1140,9 @@
message
:
'操作成功'
,
position
:
'top'
})
//调用父页面成功方法
//调用父页面成功方法
that
.
$emit
(
'success'
);
}
else
{
}
else
{
that
.
Error
(
res
.
data
.
message
)
}
})
...
...
@@ -1286,8 +1295,8 @@
OrderId
:
OrderId
});
},
//跳转到收款单type=2付款,1收款
goShoukuan
(
item
,
type
)
{
//跳转到收款单type=2付款,1收款
goShoukuan
(
item
,
type
)
{
// let TCIDARR = []
// TCIDARR.push(this.msg.ClassId)
let
orderObj
=
{
...
...
@@ -1297,8 +1306,8 @@
// SourceID: 0,
// TCIDList: TCIDARR,
OtherType
:
40
,
ReFinanceId
:
item
.
ActivityId
,
//活动id
ReFinanceId2
:
item
.
Id
,
//订单id
ReFinanceId
:
item
.
ActivityId
,
//活动id
ReFinanceId2
:
item
.
Id
,
//订单id
}
this
.
$router
.
push
({
path
:
'/financial/financalDocument/ChoiceAddFinancialDocuments'
,
...
...
@@ -1314,6 +1323,13 @@
});
},
handleApply
(
type
,
item
){
//1,同意;2,拒绝
if
(
type
===
1
){
this
.
$emit
(
"agree"
,
item
)
}
else
if
(
type
===
2
){
this
.
$emit
(
"refuse"
,
item
)
}
}
}
}
...
...
src/pages/activity/activeSignUpList.vue
View file @
d5472a5f
This diff is collapsed.
Click to expand it.
src/pages/activity/activeSignUpList1.vue
0 → 100644
View file @
d5472a5f
<
style
>
li
{
list-style-type
:
none
;
}
.activeType
ul
{
padding
:
0px
;
}
.activeType
li
{
background
:
rgba
(
221
,
222
,
224
,
0.2
);
border-radius
:
4px
;
margin-top
:
15px
;
}
.activeType
li
.dline
{
display
:
table
;
width
:
100%
;
display
:
flex
;
flex-direction
:
row
;
}
.activeType
li
.d1
,
.activeType
li
.d2
,
.activeType
li
.d3
,
.activeType
li
.d4
,
.activeType
li
.d5
{
width
:
18%
;
padding
:
20px
20px
10px
;
}
.activeType
li
.d7
{
flex
:
1
;
width
:
1px
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
center
;
}
.activeType
li
.d1
.di-title
{
font-size
:
16px
;
color
:
#111111
;
}
.activeType
li
.d1
.di-c
{
font-size
:
14px
;
display
:
flex
;
line-height
:
28px
;
color
:
#111111
;
}
.activeType
li
.d6
{
padding
:
10px
20px
;
width
:
100%
;
height
:
inherit
;
position
:
relative
;
border-top
:
1px
solid
#dddee0
;
}
.activeType
li
.d6
.progress
{
width
:
100%
;
height
:
5px
;
position
:
absolute
;
left
:
0
;
bottom
:
0
;
}
.activeType
li
.d2
div
{
margin
:
2px
0
;
font-size
:
14px
;
color
:
#111111
;
}
.activeType
li
.d2-n
{
font-size
:
12px
;
color
:
#999999
;
margin-right
:
20px
;
}
.activeType
li
.d3
.d3-s
{
color
:
var
(
--q-color-negative
);
font-weight
:
bold
;
}
.activeType
li
.d3
div
{
margin
:
2px
0
;
font-size
:
14px
;
}
.activeType
li
.d4
div
{
font-size
:
14px
;
color
:
#111111
;
margin
:
2px
0
;
}
.activeType
li
.d5
div
{
font-size
:
14px
;
color
:
#111111
;
margin
:
2px
0
;
}
.activeType
.myCourseNName
{
width
:
25px
;
height
:
25px
;
border-radius
:
50%
;
color
:
#fff
!important
;
text-align
:
center
;
line-height
:
25px
;
background-color
:
#004d40
;
}
.activeType
.app-image
{
background-position
:
center
center
;
width
:
50px
;
height
:
50px
;
border-radius
:
0%
;
float
:
left
;
margin-right
:
8px
;
}
</
style
>
<
template
>
<div
class=
"page-body activeType"
>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-tow-column-table"
separator=
"none"
:data=
"data"
:columns=
"columns"
row-key=
"name"
>
<template
v-slot:top=
"props"
>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
label=
"返回"
@
click=
"goBack"
/>
<div
class=
"col-2 q-table__title"
>
活动报名列表
</div>
</
template
>
<
template
v-slot:body-cell-Status=
"props"
>
<q-td
:props=
"props"
>
<span
v-if=
"props.row.Status===0"
>
正常
</span>
<span
v-if=
"props.row.Status===1"
>
取消
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-OrderStatus=
"props"
>
<q-td
:props=
"props"
>
<span
v-if=
"props.row.OrderStatus===0"
>
未支付
</span>
<span
v-if=
"props.row.OrderStatus===1"
>
已支付
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-quxiaomoney=
"props"
>
<q-td
:props=
"props"
>
<span
v-if=
"props.row.Status===1"
>
{{
props
.
row
.
Money
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-optioned=
"props"
>
<q-td
:props=
"props"
v-if=
"props.row.IsApplyForCancel==1&&props.row.Status===0"
>
<div>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"同意"
@
click=
"agreeApply(props.row)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"拒绝"
@
click=
"jujueMsg(props.row)"
/>
</div>
</q-td>
</
template
>
<
template
v-slot:bottom
>
<!--
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:input=
"true"
@
input=
"changePage"
/>
-->
</
template
>
</q-table>
</div>
<!-- 拒绝报名 -->
<el-dialog
title=
"拒绝报名"
:visible
.
sync=
"showJujue"
width=
"600px"
>
<div
class=
"activityFlex"
>
<el-input
type=
"textarea"
rows=
"4"
v-model=
"bdMsg.RejectRemark"
></el-input>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<!-- <el-button type="primary" size="small" @click="sureJujue">确定</el-button> -->
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
label=
"确定"
@
click=
"sureJujue"
/>
</span>
</el-dialog>
</div>
</template>
<
script
>
export
default
{
meta
:
{
title
:
"报名列表"
},
data
()
{
return
{
data
:
[],
loading
:
true
,
msg
:
{
pageIndex
:
1
,
pageSize
:
10
,
ActivityId
:
0
,
EnrollState
:
3
,
rowsPerPage
:
0
},
pageCount
:
0
,
columns
:
[
{
name
:
"LinkMan"
,
label
:
"联系人"
,
field
:
"LinkMan"
,
align
:
"left"
},
{
name
:
"LinkTel"
,
label
:
"联系电话"
,
field
:
"LinkTel"
,
align
:
"left"
},
{
name
:
"UnitPrice"
,
label
:
"单价"
,
field
:
"UnitPrice"
,
align
:
"left"
,
},
{
name
:
"Money"
,
label
:
"应收"
,
field
:
"Money"
,
align
:
"left"
,
},
{
name
:
"Status"
,
label
:
"状态"
,
field
:
"Status"
,
align
:
"left"
},
{
name
:
"OrderNo"
,
required
:
true
,
label
:
"订单号"
,
field
:
"OrderNo"
,
align
:
"left"
,
},
{
name
:
"OrderStatus"
,
required
:
true
,
label
:
"订单状态"
,
field
:
"OrderStatus"
,
align
:
"left"
,
},
{
name
:
"PaymentTime"
,
label
:
"支付时间"
,
field
:
"PaymentTime"
,
align
:
"left"
},
{
name
:
" quxiaomoney"
,
label
:
"取消金额"
,
align
:
"left"
},
{
name
:
"Remark"
,
label
:
"备注"
,
field
:
"Remark"
,
align
:
"left"
},
{
name
:
'optioned'
,
label
:
'申请取消审核状态'
,
align
:
"left"
}
],
showForm
:
false
,
typeObj
:{},
bdMsg
:
{
Id
:
0
,
//报名id
ApplyForCancelStatus
:
1
,
//申请取消审核状态 1同意 2拒绝
RejectRemark
:
''
},
showJujue
:
false
,
}
},
mounted
()
{
if
(
this
.
$route
.
query
.
name
){
this
.
msg
.
ActivityName
=
this
.
$route
.
query
.
name
;
}
this
.
msg
.
ActivityId
=
this
.
$route
.
query
.
Id
;
this
.
getList
();
},
methods
:
{
getList
(){
this
.
loading
=
true
;
this
.
apipostDS
(
"/api/Education/GetCommerceConsultAndFinancePage"
,
this
.
msg
,(
res
)
=>
{
this
.
loading
=
false
if
(
res
.
data
.
resultCode
===
1
){
this
.
data
=
res
.
data
.
data
;
}
})
},
//同意
agreeApply
(
item
)
{
this
.
bdMsg
.
Id
=
item
.
Id
;
this
.
bdMsg
.
ApplyForCancelStatus
=
1
;
this
.
apipostDS
(
"/api/Education/SetCommerceConsultApplyCancel"
,
this
.
bdMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
"操作成功"
)
this
.
getList
()
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
})
},
jujueMsg
(
item
){
this
.
bdMsg
.
Id
=
item
.
Id
;
this
.
showJujue
=
true
;
},
// 拒绝
sureJujue
(){
if
(
!
this
.
bdMsg
.
RejectRemark
){
this
.
Error
(
"请输入拒绝原因"
)
return
}
this
.
bdMsg
.
ApplyForCancelStatus
=
2
;
this
.
apipostDS
(
"/api/Education/SetCommerceConsultApplyCancel"
,
this
.
bdMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
showJujue
=
false
;
this
.
Success
(
"操作成功"
)
this
.
getList
()
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
})
},
goBack
(){
this
.
$router
.
go
(
-
1
)
}
}
}
</
script
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
</
style
>
src/pages/activity/activityList.vue
View file @
d5472a5f
...
...
@@ -259,7 +259,7 @@
<q-item-label>
删除
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
@
click=
"goUrl('/activity/activeSignUpList',props.row)"
>
<q-item
clickable
v-close-popup
@
click=
"goUrl
1
('/activity/activeSignUpList',props.row)"
>
<q-item-section>
<q-item-label>
报名列表
</q-item-label>
</q-item-section>
...
...
@@ -503,7 +503,15 @@
}
})
}
},
goUrl1
(
url
,
item
){
this
.
$router
.
push
({
path
:
url
,
query
:
{
Id
:
item
.
Id
,
name
:
item
.
ActivityName
}
})
}
}
}
...
...
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