已评价
This commit is contained in:
parent
b270c12684
commit
3464ee6ba0
@ -105,6 +105,9 @@
|
||||
<el-button type="danger" v-if="scope.row.orderStatus == 'REFUNDED'"
|
||||
>退款成功</el-button
|
||||
>
|
||||
<el-button type="warning" v-if="scope.row.orderStatus == 'EVALUATED'"
|
||||
>已评价</el-button
|
||||
>
|
||||
<el-button
|
||||
type="danger"
|
||||
v-if="scope.row.orderStatus == 'RETURNED_GOODS'"
|
||||
|
||||
@ -60,6 +60,11 @@ export default {
|
||||
value: "REFUNDED",
|
||||
label: "退款成功",
|
||||
},
|
||||
{
|
||||
value: "EVALUATED",
|
||||
label: "已评价",
|
||||
},
|
||||
|
||||
],
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -189,6 +194,9 @@ export default {
|
||||
return "待退货";
|
||||
case "RETURNED_GOODS":
|
||||
return "已退货";
|
||||
case "EVALUATED":
|
||||
return "已评价";
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
@ -102,6 +102,9 @@
|
||||
<el-button type="warning" v-if="scope.row.orderStatus == 'REFUNDED'"
|
||||
>退款成功</el-button
|
||||
>
|
||||
<el-button type="warning" v-if="scope.row.orderStatus == 'EVALUATED'"
|
||||
>已评价</el-button
|
||||
>
|
||||
<el-button type="danger" v-if="scope.row.orderStatus == 'CANCEL'"
|
||||
>已取消</el-button
|
||||
>
|
||||
|
||||
@ -15,39 +15,43 @@ export default {
|
||||
return {
|
||||
baseurl: null,
|
||||
orderStatuslist: [{
|
||||
value: "WAIT_PAY",
|
||||
label: "待付款",
|
||||
},
|
||||
{
|
||||
value: "PAY",
|
||||
label: "已付款",
|
||||
},
|
||||
{
|
||||
value: "CANCEL",
|
||||
label: "已取消",
|
||||
},
|
||||
{
|
||||
value: "WAIT_DISPATCH",
|
||||
label: "待派单",
|
||||
},
|
||||
{
|
||||
value: "REFUNDED",
|
||||
label: "已退款",
|
||||
},
|
||||
value: "WAIT_PAY",
|
||||
label: "待付款",
|
||||
},
|
||||
{
|
||||
value: "PAY",
|
||||
label: "已付款",
|
||||
},
|
||||
{
|
||||
value: "CANCEL",
|
||||
label: "已取消",
|
||||
},
|
||||
{
|
||||
value: "WAIT_DISPATCH",
|
||||
label: "待派单",
|
||||
},
|
||||
{
|
||||
value: "REFUNDED",
|
||||
label: "已退款",
|
||||
},
|
||||
|
||||
{
|
||||
value: "WAIT_REFUND",
|
||||
label: "退款中",
|
||||
},
|
||||
{
|
||||
value: "COMPLETE",
|
||||
label: "服务完成",
|
||||
},
|
||||
{
|
||||
value: "WAIT_REFUND",
|
||||
label: "退款中",
|
||||
},
|
||||
{
|
||||
value: "COMPLETE",
|
||||
label: "服务完成",
|
||||
},
|
||||
|
||||
{
|
||||
value: "NOT_FINISH",
|
||||
label: "未完成",
|
||||
},
|
||||
{
|
||||
value: "NOT_FINISH",
|
||||
label: "未完成",
|
||||
},
|
||||
{
|
||||
value: "EVALUATED",
|
||||
label: "已评价",
|
||||
},
|
||||
],
|
||||
value: "",
|
||||
// 遮罩层
|
||||
@ -159,6 +163,8 @@ export default {
|
||||
return "退款中";
|
||||
case "CANCEL":
|
||||
return "已取消";
|
||||
case "EVALUATED":
|
||||
return "已评价";
|
||||
case "REFUNDED":
|
||||
return "已退款";
|
||||
default:
|
||||
@ -312,24 +318,24 @@ export default {
|
||||
handleDelete(row) {
|
||||
// console.log('row :>> ', row);
|
||||
this.$confirm("是否确认删除订单信息的数据项?", "提示", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning",
|
||||
})
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning",
|
||||
})
|
||||
.then(() => {
|
||||
deldetailed(row.appointmentOrderId).then((res) => {
|
||||
this.$message.success("删除成功");
|
||||
this.getList();
|
||||
});
|
||||
})
|
||||
.catch(() => {});
|
||||
.catch(() => { });
|
||||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.download(
|
||||
"system/nurseType/export", {
|
||||
...this.queryParams,
|
||||
},
|
||||
...this.queryParams,
|
||||
},
|
||||
`nurseType_${new Date().getTime()}.xlsx`
|
||||
);
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user