Commit 60180863 by 陈浩建

存量升级-》受理订单

parent c976fc7a
...@@ -20,6 +20,7 @@ let downloadMoBan = (params) => downFilePost(prefix + "order/downloadMoBan" , pa ...@@ -20,6 +20,7 @@ let downloadMoBan = (params) => downFilePost(prefix + "order/downloadMoBan" , pa
let downloadMoBanKD = (params) => downFilePost(prefix + "order/downloadMoBanKD" , params); let downloadMoBanKD = (params) => downFilePost(prefix + "order/downloadMoBanKD" , params);
let downloadMoBanYZK = (params) => downFilePost(prefix + "order/downloadMoBanYZK" , params); let downloadMoBanYZK = (params) => downFilePost(prefix + "order/downloadMoBanYZK" , params);
let editOrder = (params) => postAction(prefix + "order/editOrder" , 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); let reportList = (params) => postAction(prefix + "order/getHhrOrderInfo",params);
...@@ -41,5 +42,6 @@ export { ...@@ -41,5 +42,6 @@ export {
reportDownload, reportDownload,
editOrder, editOrder,
updateSendType, updateSendType,
updateIccid updateIccid,
setUpgradeStatus
} }
...@@ -154,8 +154,8 @@ ...@@ -154,8 +154,8 @@
<a-divider type="vertical" v-if="isAbnormal"/> <a-divider type="vertical" v-if="isAbnormal"/>
<a @click="abnormal(record.id)" v-if="isAbnormal">设为异常单</a> <a @click="abnormal(record.id)" v-if="isAbnormal">设为异常单</a>
<a-divider v-if="record.orderStatus === '待审核'" type="vertical"/> <!-- <a-divider v-if="record.orderStatus === '待审核'" type="vertical"/>-->
<a v-show="record.orderStatus === '待审核'" @click="reviewStudentIdCard(record)">审核学生证</a> <!-- <a v-show="record.orderStatus === '待审核'" @click="reviewStudentIdCard(record)">审核学生证</a>-->
<!-- <a-divider type="vertical"/>--> <!-- <a-divider type="vertical"/>-->
<!-- <a @click="showDrawer(record,'2')">编辑</a>--> <!-- <a @click="showDrawer(record,'2')">编辑</a>-->
...@@ -305,7 +305,7 @@ ...@@ -305,7 +305,7 @@
<a-button v-show="orderInfo.sendType == null || orderInfo.sendType == ''" @click="openConfigSendType()" type="primary">配送方式</a-button> <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 v-show="orderInfo.businessIccid == null || orderInfo.businessIccid == ''" @click="openConfigIccidFun" type="primary">配置iccid</a-button>
<a-button @click="showReview()" type="primary">审核学生证</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> </div>
<a-divider orientation="left">受理信息</a-divider> <a-divider orientation="left">受理信息</a-divider>
<a-row> <a-row>
...@@ -494,6 +494,35 @@ ...@@ -494,6 +494,35 @@
</a-col> </a-col>
</a-row> </a-row>
</a-modal> </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"> <a-drawer width="1280" placement="right" :closable="false" @close="onClose" :visible="edit">
...@@ -719,7 +748,8 @@ ...@@ -719,7 +748,8 @@
reviewStudentIdCard, reviewStudentIdCard,
editOrder, editOrder,
updateIccid, updateIccid,
updateSendType updateSendType,
setUpgradeStatus
} from "../../../api/school-center/orderAPI"; } from "../../../api/school-center/orderAPI";
import {cloneObject, exportFile} from "@/utils/util"; import {cloneObject, exportFile} from "@/utils/util";
import moment from "moment"; import moment from "moment";
...@@ -777,6 +807,12 @@ ...@@ -777,6 +807,12 @@
orderId:"", orderId:"",
errorMsg: "", errorMsg: "",
}, },
setShowUpgrade:false,
setShowUpgradeStr:{
orderId:"",
auditType:"",
contentMsg: "",
},
edit:false, edit:false,
title: ConstantActivity.title, title: ConstantActivity.title,
Formtable: this.$form.createForm(this), Formtable: this.$form.createForm(this),
...@@ -966,6 +1002,9 @@ ...@@ -966,6 +1002,9 @@
showReview() { showReview() {
this.review = true; this.review = true;
}, },
changeAuditType(e) {
this.setShowUpgradeStr.auditType = e.target.value;
},
reviewStudentIdCard(res) { reviewStudentIdCard(res) {
this.reviewStudentImg = this.apis + res.studentCard; this.reviewStudentImg = this.apis + res.studentCard;
/*this.reviewStudentImg =this.baseUrl+'abstract0'+1+'.jpg'*/ /*this.reviewStudentImg =this.baseUrl+'abstract0'+1+'.jpg'*/
...@@ -1066,6 +1105,44 @@ ...@@ -1066,6 +1105,44 @@
this.setAbnormalStr.errorMsg = ""; this.setAbnormalStr.errorMsg = "";
this.setAbnormal = false; 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(){ editOk(){
let orderInfo = this.orderInfo; let orderInfo = this.orderInfo;
editOrder(orderInfo).then(res => { editOrder(orderInfo).then(res => {
...@@ -1199,6 +1276,7 @@ ...@@ -1199,6 +1276,7 @@
studentCardCheckStatus: "", studentCardCheckStatus: "",
kdOrderId: "", kdOrderId: "",
orderStatus: "", orderStatus: "",
userType:"",
sendType: "", sendType: "",
businessIccid: "" businessIccid: ""
}; };
...@@ -1206,6 +1284,7 @@ ...@@ -1206,6 +1284,7 @@
this.edit = false; this.edit = false;
}, },
showDrawer(data,type) { showDrawer(data,type) {
this.certificatePhoto.push(this.apis + data.idCardz); this.certificatePhoto.push(this.apis + data.idCardz);
this.certificatePhoto.push(this.apis + data.idCardf); this.certificatePhoto.push(this.apis + data.idCardf);
this.certificatePhoto.push(this.apis + data.idCardzs); this.certificatePhoto.push(this.apis + data.idCardzs);
...@@ -1260,6 +1339,7 @@ ...@@ -1260,6 +1339,7 @@
studentCardCheckStatus: data.studentCardCheckStatus, studentCardCheckStatus: data.studentCardCheckStatus,
kdOrderId: data.kdOrderId, kdOrderId: data.kdOrderId,
orderStatus: data.orderStatus, orderStatus: data.orderStatus,
userType:data.userType,
sendType: data.sendType, sendType: data.sendType,
businessIccid: data.businessIccid businessIccid: data.businessIccid
}; };
...@@ -1281,7 +1361,6 @@ ...@@ -1281,7 +1361,6 @@
} }
}, },
onSuccessChange(date, dateString) { onSuccessChange(date, dateString) {
if (dateString.length == 0) { if (dateString.length == 0) {
this.queryParam.successTimeStart = ""; this.queryParam.successTimeStart = "";
this.queryParam.successTimeEnd = ""; this.queryParam.successTimeEnd = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment