|
|
@@ -2,14 +2,15 @@
|
|
|
<div class="app-container">
|
|
|
<!-- 查询条件 -->
|
|
|
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
- <el-form-item label="订单号" prop="orderCode">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.orderCode"
|
|
|
- placeholder="请输入订单号"
|
|
|
- clearable
|
|
|
- size="small"
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
+ <el-form-item label="升单类型" prop="type">
|
|
|
+ <el-select v-model="queryParams.type" placeholder="请选择升单类型" clearable size="small">
|
|
|
+ <el-option
|
|
|
+ v-for="dict in typeOptions"
|
|
|
+ :key="dict.dictValue"
|
|
|
+ :label="dict.dictLabel"
|
|
|
+ :value="dict.dictValue"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="销售" prop="companyUserName">
|
|
|
<el-input
|
|
|
@@ -56,8 +57,6 @@
|
|
|
|
|
|
<!-- 数据表格 -->
|
|
|
<el-table border v-loading="loading" :data="doctorTaskList">
|
|
|
- <el-table-column label="订单号" align="center" prop="orderCode"/>
|
|
|
- <el-table-column label="套餐包" align="center" prop="packageName"/>
|
|
|
<el-table-column label="销售" align="center" prop="companyUserName"/>
|
|
|
<el-table-column label="客户" align="center" prop="name"/>
|
|
|
<el-table-column label="客户头像" align="center" width="100px">
|
|
|
@@ -70,6 +69,11 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="升单类型" align="center" prop="type">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <dict-tag :options="typeOptions" :value="scope.row.type"/>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="处理状态" align="center" prop="status">
|
|
|
<template slot-scope="scope">
|
|
|
<el-tag
|
|
|
@@ -85,7 +89,6 @@
|
|
|
<span v-else>—</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="备注" align="center" prop="remark"/>
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
@@ -291,7 +294,8 @@ export default {
|
|
|
title: "会员详情",
|
|
|
open: false,
|
|
|
},
|
|
|
-
|
|
|
+ // 1:未升单未购 2:未升单已购单 3:升单未购 4:升单已购字典
|
|
|
+ typeOptions: [],
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
|
pageSize: 10,
|
|
|
@@ -310,6 +314,9 @@ export default {
|
|
|
this.getDicts("sop_task_status").then(response => {
|
|
|
this.statusOptions = response.data;
|
|
|
});
|
|
|
+ this.getDicts("upgrade_order_type").then(response => {
|
|
|
+ this.typeOptions = response.data;
|
|
|
+ });
|
|
|
},
|
|
|
beforeDestroy() {
|
|
|
// 关闭抽屉
|