Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
60180863
Commit
60180863
authored
Feb 24, 2021
by
陈浩建
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
存量升级-》受理订单
parent
c976fc7a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
87 additions
and
6 deletions
+87
-6
src/api/school-center/orderAPI.js
+3
-1
src/views/school-center/order/order.vue
+84
-5
No files found.
src/api/school-center/orderAPI.js
View file @
60180863
...
...
@@ -20,6 +20,7 @@ let downloadMoBan = (params) => downFilePost(prefix + "order/downloadMoBan" , pa
let
downloadMoBanKD
=
(
params
)
=>
downFilePost
(
prefix
+
"order/downloadMoBanKD"
,
params
);
let
downloadMoBanYZK
=
(
params
)
=>
downFilePost
(
prefix
+
"order/downloadMoBanYZK"
,
params
);
let
editOrder
=
(
params
)
=>
postAction
(
prefix
+
"order/editOrder"
,
params
);
let
setUpgradeStatus
=
(
params
)
=>
postAction
(
prefix
+
"order/setUpgradeStatus"
,
params
);
//报表
let
reportList
=
(
params
)
=>
postAction
(
prefix
+
"order/getHhrOrderInfo"
,
params
);
...
...
@@ -41,5 +42,6 @@ export {
reportDownload
,
editOrder
,
updateSendType
,
updateIccid
updateIccid
,
setUpgradeStatus
}
src/views/school-center/order/order.vue
View file @
60180863
...
...
@@ -154,8 +154,8 @@
<a-divider
type=
"vertical"
v-if=
"isAbnormal"
/>
<a
@
click=
"abnormal(record.id)"
v-if=
"isAbnormal"
>
设为异常单
</a>
<a-divider
v-if=
"record.orderStatus === '待审核'"
type=
"vertical"
/
>
<a
v-show=
"record.orderStatus === '待审核'"
@
click=
"reviewStudentIdCard(record)"
>
审核学生证
</a
>
<!--
<a-divider
v-if=
"record.orderStatus === '待审核'"
type=
"vertical"
/>
--
>
<!--
<a
v-show=
"record.orderStatus === '待审核'"
@
click=
"reviewStudentIdCard(record)"
>
审核学生证
</a>
--
>
<!--
<a-divider
type=
"vertical"
/>
-->
<!--
<a
@
click=
"showDrawer(record,'2')"
>
编辑
</a>
-->
...
...
@@ -305,7 +305,7 @@
<a-button
v-show=
"orderInfo.sendType == null || orderInfo.sendType == ''"
@
click=
"openConfigSendType()"
type=
"primary"
>
配送方式
</a-button>
<a-button
v-show=
"orderInfo.businessIccid == null || orderInfo.businessIccid == ''"
@
click=
"openConfigIccidFun"
type=
"primary"
>
配置iccid
</a-button>
<a-button
@
click=
"showReview()"
type=
"primary"
>
审核学生证
</a-button>
<a-button
v-show=
"orderInfo.userType == '1' && orderInfo.orderStatus == '待受理'"
@
click=
"showUpgrade"
type=
"primary"
>
存量升级受理
</a-button>
</div>
<a-divider
orientation=
"left"
>
受理信息
</a-divider>
<a-row>
...
...
@@ -494,6 +494,35 @@
</a-col>
</a-row>
</a-modal>
<a-modal
title=
"存量升级审计"
:visible=
"setShowUpgrade"
@
ok=
"setUpgradeOk"
@
cancel=
"setUpgradeCancel"
html-type=
"submit"
width=
"1024px"
>
<a-row
:gutter=
"24"
style=
"text-align: right"
>
<a-col
:md=
"6"
:sm=
"12"
>
<p>
受理结果:
</p>
</a-col>
<a-col
:md=
"6"
:sm=
"12"
>
<a-radio-group
v-model=
"setShowUpgradeStr.auditType"
@
change=
"changeAuditType"
>
<a-radio
value=
"1"
>
受理通过
</a-radio>
<a-radio
value=
"0"
>
受理不通过
</a-radio>
</a-radio-group>
</a-col>
</a-row>
<a-row
:gutter=
"24"
style=
"text-align: right"
>
<a-col
:md=
"6"
:sm=
"12"
>
<p>
受理意见:
</p>
</a-col>
<a-col
:md=
"12"
:sm=
"12"
>
<a-input
type=
"hidden"
placeholder=
"获取id"
v-model=
"setShowUpgradeStr.orderId"
></a-input>
<a-input
placeholder=
"受理意见"
v-model=
"setShowUpgradeStr.contentMsg"
></a-input>
</a-col>
</a-row>
</a-modal>
<!--抽屉 编辑-->
<a-drawer
width=
"1280"
placement=
"right"
:closable=
"false"
@
close=
"onClose"
:visible=
"edit"
>
...
...
@@ -719,7 +748,8 @@
reviewStudentIdCard
,
editOrder
,
updateIccid
,
updateSendType
updateSendType
,
setUpgradeStatus
}
from
"../../../api/school-center/orderAPI"
;
import
{
cloneObject
,
exportFile
}
from
"@/utils/util"
;
import
moment
from
"moment"
;
...
...
@@ -777,6 +807,12 @@
orderId
:
""
,
errorMsg
:
""
,
},
setShowUpgrade
:
false
,
setShowUpgradeStr
:{
orderId
:
""
,
auditType
:
""
,
contentMsg
:
""
,
},
edit
:
false
,
title
:
ConstantActivity
.
title
,
Formtable
:
this
.
$form
.
createForm
(
this
),
...
...
@@ -966,6 +1002,9 @@
showReview
()
{
this
.
review
=
true
;
},
changeAuditType
(
e
)
{
this
.
setShowUpgradeStr
.
auditType
=
e
.
target
.
value
;
},
reviewStudentIdCard
(
res
)
{
this
.
reviewStudentImg
=
this
.
apis
+
res
.
studentCard
;
/*this.reviewStudentImg =this.baseUrl+'abstract0'+1+'.jpg'*/
...
...
@@ -1066,6 +1105,44 @@
this
.
setAbnormalStr
.
errorMsg
=
""
;
this
.
setAbnormal
=
false
;
},
showUpgrade
(){
this
.
setShowUpgrade
=
true
;
},
setUpgradeOk
(){
if
(
this
.
setShowUpgradeStr
.
contentMsg
.
length
<
3
){
this
.
$notification
.
error
({
message
:
"请输入不小于三个字的操作结果"
,
description
:
""
,
duration
:
4
});
}
else
{
this
.
setShowUpgradeStr
.
orderId
=
this
.
orderInfo
.
id
;
setUpgradeStatus
(
this
.
setShowUpgradeStr
).
then
(
res
=>
{
if
(
res
.
state
==
"success"
)
{
this
.
$notification
.
success
({
message
:
"更新成功!"
,
description
:
""
,
duration
:
4
});
this
.
setUpgradeCancel
();
this
.
search
();
}
else
{
this
.
$notification
.
error
({
message
:
"更新失败!"
,
description
:
""
,
duration
:
4
});
}
this
.
onClose
();
});
}
},
setUpgradeCancel
(){
this
.
setShowUpgradeStr
.
orderId
=
""
;
this
.
setShowUpgradeStr
.
auditType
=
""
;
this
.
setShowUpgradeStr
.
contentMsg
=
""
;
this
.
setShowUpgrade
=
false
;
},
editOk
(){
let
orderInfo
=
this
.
orderInfo
;
editOrder
(
orderInfo
).
then
(
res
=>
{
...
...
@@ -1199,6 +1276,7 @@
studentCardCheckStatus
:
""
,
kdOrderId
:
""
,
orderStatus
:
""
,
userType
:
""
,
sendType
:
""
,
businessIccid
:
""
};
...
...
@@ -1206,6 +1284,7 @@
this
.
edit
=
false
;
},
showDrawer
(
data
,
type
)
{
this
.
certificatePhoto
.
push
(
this
.
apis
+
data
.
idCardz
);
this
.
certificatePhoto
.
push
(
this
.
apis
+
data
.
idCardf
);
this
.
certificatePhoto
.
push
(
this
.
apis
+
data
.
idCardzs
);
...
...
@@ -1260,6 +1339,7 @@
studentCardCheckStatus
:
data
.
studentCardCheckStatus
,
kdOrderId
:
data
.
kdOrderId
,
orderStatus
:
data
.
orderStatus
,
userType
:
data
.
userType
,
sendType
:
data
.
sendType
,
businessIccid
:
data
.
businessIccid
};
...
...
@@ -1281,7 +1361,6 @@
}
},
onSuccessChange
(
date
,
dateString
)
{
if
(
dateString
.
length
==
0
)
{
this
.
queryParam
.
successTimeStart
=
""
;
this
.
queryParam
.
successTimeEnd
=
""
;
...
...
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