|
@@ -101,11 +101,11 @@
|
|
|
<div class="table">
|
|
|
<el-table
|
|
|
v-loading="listLoading"
|
|
|
- :data="dataList"
|
|
|
- element-loading-text="Loading"
|
|
|
- border
|
|
|
- fit
|
|
|
- highlight-current-row
|
|
|
+ :data="dataList"
|
|
|
+ element-loading-text="Loading"
|
|
|
+ border
|
|
|
+ fit
|
|
|
+ highlight-current-row
|
|
|
stripe
|
|
|
@selection-change="handleSelectionChange"
|
|
|
show-summary
|
|
@@ -175,54 +175,54 @@
|
|
|
<el-table-column align="center" label="审核日期" prop="confirmTime" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column align="center" label="操作" width="220" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-popconfirm
|
|
|
- style="margin-right: 10px;"
|
|
|
- title="确定申请吗?"
|
|
|
- @onConfirm="handleSubmit(scope.row.parentId)"
|
|
|
+ <el-popconfirm
|
|
|
+ style="margin-right: 10px;"
|
|
|
+ title="确定申请吗?"
|
|
|
+ @onConfirm="handleSubmit(scope.row.parentId)"
|
|
|
v-if="$checkBtnRole('apply', $route.meta.roles) && scope.row.examineStatus === 'SAVE'" >
|
|
|
<el-button slot="reference" type="text">申请</el-button>
|
|
|
</el-popconfirm>
|
|
|
- <el-popconfirm
|
|
|
- style="margin-right: 10px;"
|
|
|
- title="确定撤回吗?"
|
|
|
- @onConfirm="handleWithdraw(scope.row.parentId)"
|
|
|
+ <el-popconfirm
|
|
|
+ style="margin-right: 10px;"
|
|
|
+ title="确定撤回吗?"
|
|
|
+ @onConfirm="handleWithdraw(scope.row.parentId)"
|
|
|
v-if="$checkBtnRole('apply', $route.meta.roles) && scope.row.examineStatus === 'WAIT'" >
|
|
|
<el-button slot="reference" type="text">撤回</el-button>
|
|
|
</el-popconfirm>
|
|
|
<el-popconfirm
|
|
|
- style="margin-right: 10px;"
|
|
|
+ style="margin-right: 10px;"
|
|
|
title="确定弃审吗?"
|
|
|
- @onConfirm="handleAbandon(scope.row.parentId)"
|
|
|
+ @onConfirm="handleAbandon(scope.row.parentId)"
|
|
|
v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'OK'" >
|
|
|
<el-button slot="reference" type="text">弃审</el-button>
|
|
|
</el-popconfirm>
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
@click="toForm(scope.row)"
|
|
|
v-if="$checkBtnRole('edit', $route.meta.roles) && scope.row.examineStatus === 'SAVE'">
|
|
|
编辑
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
- @click="toExamine(scope.row)"
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ @click="toExamine(scope.row)"
|
|
|
v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'WAIT'">
|
|
|
审批
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
- @click="toReturn(scope.row)"
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ @click="toReturn(scope.row)"
|
|
|
v-if="$checkBtnRole('examine', $route.meta.roles)">
|
|
|
退订
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
@click="toDetail(scope.row)">
|
|
|
详情
|
|
|
</el-button>
|
|
|
<el-popconfirm
|
|
|
- style="margin-left: 10px;"
|
|
|
+ style="margin-left: 10px;"
|
|
|
title="确定删除吗?"
|
|
|
- @onConfirm="handleDelete(scope.row.parentId)"
|
|
|
+ @onConfirm="handleDelete(scope.row.parentId)"
|
|
|
v-if="$checkBtnRole('del', $route.meta.roles) && scope.row.examineStatus !== 'OK'">
|
|
|
<el-button slot="reference" type="text" style="color: #f56c6c;">删除</el-button>
|
|
|
</el-popconfirm>
|
|
@@ -395,7 +395,7 @@ export default {
|
|
|
createName: this.screenForm.createMan,
|
|
|
confirmName: this.screenForm.examineMan,
|
|
|
serviceId: this.screenForm.salesMan,
|
|
|
- customerKeyWord: this.screenForm.dealer,
|
|
|
+ customerKeyword: this.screenForm.dealer,
|
|
|
enginOrderType: 'TRADE', // TRADE=商用 HOME=家用
|
|
|
};
|
|
|
getOrderList(params).then((res) => {
|