Commit 192dd7be by 陈浩建

一人一码订单页面调整测试提交

parent 42bf7311
#Wed Dec 23 15:15:35 CST 2020
gradle.version=6.7
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<a-range-picker @change="onChange" format="YYYY-MM-DD HH:mm:ss"/> <a-range-picker @change="onChange" format="YYYY-MM-DD HH:mm:ss"/>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :md="3" :sm="6"> <a-col :md="4" :sm="6">
<a-form-item label="客户类型:"> <a-form-item label="客户类型:">
<a-select v-model="queryParam.userType" style="width: 120px"> <a-select v-model="queryParam.userType" style="width: 120px">
<a-select-option value>全部客户</a-select-option> <a-select-option value>全部客户</a-select-option>
...@@ -123,14 +123,14 @@ ...@@ -123,14 +123,14 @@
<p v-if="text=='1'">已审核</p> <p v-if="text=='1'">已审核</p>
</template> </template>
<template slot="operation" slot-scope="text, record"> <template slot="operation" slot-scope="text, record">
<span> <span>
<a @click="showDrawer(record)">查看</a> <a @click="showDrawer(record)">查看</a>
<a-divider type="vertical"/> <a-divider type="vertical"/>
<a @click="abnormal(record.id)">设为异常单</a> <a @click="abnormal(record.id)">设为异常单</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>
</span> </span>
</template> </template>
</s-table> </s-table>
...@@ -449,9 +449,22 @@ ...@@ -449,9 +449,22 @@
}, },
orderInfo: {}, orderInfo: {},
columns: [ columns: [
{dataIndex: "customerName", width: 100, title: "客户姓名", fixed: "left"}, {dataIndex: "customerName", width: 90, title: "客户姓名", fixed: "left"},
{dataIndex: "orderNumber", width: 200, title: "订单编号", fixed: "left"}, {dataIndex: "orderStatus", width: 80, title: "订单状态", fixed: "left"},
{dataIndex: "orderStatus", width: 100, title: "订单状态"}, {
dataIndex: "userType",
width: 100,
title: "订单类型",
scopedSlots: {customRender: "userType"}
, fixed: "left"
},
{dataIndex: "businessNumber", width: 120, title: "办理号码"},
{dataIndex: "contactNumber", width: 120, title: "联系号码"},
{dataIndex: "kapin", width: 160, title: "办理套餐"},
{dataIndex: "hehuorenSchool", width: 200, title: "合伙人学校"},
{dataIndex: "hehuorenName", width: 90, title: "合伙人姓名"},
{dataIndex: "hehuorenPhone", width: 120, title: "合伙人手机"},
{ {
dataIndex: "studentCardCheckStatus", dataIndex: "studentCardCheckStatus",
width: 100, width: 100,
...@@ -459,18 +472,7 @@ ...@@ -459,18 +472,7 @@
scopedSlots: {customRender: "studentCardCheckStatus"} scopedSlots: {customRender: "studentCardCheckStatus"}
}, },
{dataIndex: "businessPackage", width: 120, title: "升级套餐"}, {dataIndex: "businessPackage", width: 120, title: "升级套餐"},
{ {dataIndex: "orderNumber", width: 200, title: "订单编号"},
dataIndex: "userType",
width: 100,
title: "订单类型",
scopedSlots: {customRender: "userType"}
},
{dataIndex: "contactNumber", width: 160, title: "联系号码"},
{dataIndex: "businessNumber", width: 160, title: "办理号码"},
{dataIndex: "kapin", width: 200, title: "办理套餐"},
{dataIndex: "hehuorenSchool", width: 220, title: "合伙人学校"},
{dataIndex: "hehuorenName", width: 150, title: "合伙人姓名"},
{dataIndex: "hehuorenPhone", width: 150, title: "合伙人手机"},
{ {
dataIndex: "operation", dataIndex: "operation",
width: 180, width: 180,
...@@ -809,15 +811,18 @@ ...@@ -809,15 +811,18 @@
} }
}); });
}, },
abnormal(orderId) { abnormal(orderId) {
abnormal({orderId}).then(res => { if (confirm("是否设为异常单!")) {
if (res.state == "success") { abnormal({orderId}).then(res => {
this.search(); if (res.state == "success") {
this.$message.success(res.data, 5); this.search();
} else { this.$message.success(res.data, 5);
this.$message.error(res.msg, 5); } else {
} this.$message.error(res.msg, 5);
}); }
});
}
} }
} }
}; };
......
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