|
@@ -164,7 +164,8 @@
|
|
:summary-method="$getSummaries"
|
|
:summary-method="$getSummaries"
|
|
@selection-change="handleSelectionChange"
|
|
@selection-change="handleSelectionChange"
|
|
>
|
|
>
|
|
- <el-table-column align="center" type="selection" width="55" fixed="left" :selectable="selectable" />
|
|
|
|
|
|
+ <!-- :selectable="selectable"-->
|
|
|
|
+ <el-table-column align="center" type="selection" width="55" fixed="left" />
|
|
<el-table-column align="left" label="订单类型" prop="type" min-width="100" show-overflow-tooltip>
|
|
<el-table-column align="left" label="订单类型" prop="type" min-width="100" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{ scope.row.type | orderTypeFilter }}
|
|
{{ scope.row.type | orderTypeFilter }}
|
|
@@ -282,7 +283,7 @@
|
|
<el-table-column align="center" label="操作" width="180" fixed="right">
|
|
<el-table-column align="center" label="操作" width="180" fixed="right">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-popconfirm
|
|
<el-popconfirm
|
|
- v-if=" !scope.row.automaticStatus && $checkBtnRole('apply', $route.meta.roles) && scope.row.examineStatus === 'SAVE'"
|
|
|
|
|
|
+ v-if=" $checkBtnRole('apply', $route.meta.roles) && scope.row.examineStatus === 'SAVE'"
|
|
style="margin-right: 10px;"
|
|
style="margin-right: 10px;"
|
|
title="确定申请吗?"
|
|
title="确定申请吗?"
|
|
@onConfirm="handleSubmit(scope.row.id, 'WAIT')"
|
|
@onConfirm="handleSubmit(scope.row.id, 'WAIT')"
|
|
@@ -290,7 +291,7 @@
|
|
<el-button slot="reference" type="text">申请</el-button>
|
|
<el-button slot="reference" type="text">申请</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
<el-popconfirm
|
|
<el-popconfirm
|
|
- v-if="!scope.row.automaticStatus &&$checkBtnRole('apply', $route.meta.roles) && scope.row.examineStatus === 'WAIT'"
|
|
|
|
|
|
+ v-if="$checkBtnRole('apply', $route.meta.roles) && scope.row.examineStatus === 'WAIT'"
|
|
style="margin-right: 10px;"
|
|
style="margin-right: 10px;"
|
|
title="确定撤回吗?"
|
|
title="确定撤回吗?"
|
|
@onConfirm="handleSubmit(scope.row.id, 'SAVE')"
|
|
@onConfirm="handleSubmit(scope.row.id, 'SAVE')"
|
|
@@ -298,7 +299,7 @@
|
|
<el-button slot="reference" type="text">撤回</el-button>
|
|
<el-button slot="reference" type="text">撤回</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
<el-popconfirm
|
|
<el-popconfirm
|
|
- v-if="!scope.row.automaticStatus &&$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'OK'"
|
|
|
|
|
|
+ v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'OK'"
|
|
style="margin-right: 10px;"
|
|
style="margin-right: 10px;"
|
|
title="确定弃审吗?"
|
|
title="确定弃审吗?"
|
|
@onConfirm="handleAbandon(scope.row.id)"
|
|
@onConfirm="handleAbandon(scope.row.id)"
|
|
@@ -306,21 +307,21 @@
|
|
<el-button slot="reference" type="text">弃审</el-button>
|
|
<el-button slot="reference" type="text">弃审</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
<el-button
|
|
<el-button
|
|
- v-if="!scope.row.automaticStatus &&$checkBtnRole('edit', $route.meta.roles) && (scope.row.examineStatus === 'SAVE' || scope.row.examineStatus === 'FAIL') && scope.row.type === 1"
|
|
|
|
|
|
+ v-if="$checkBtnRole('edit', $route.meta.roles) && (scope.row.examineStatus === 'SAVE' || scope.row.examineStatus === 'FAIL') && scope.row.type === 1"
|
|
type="text"
|
|
type="text"
|
|
@click="toForm(scope.row)"
|
|
@click="toForm(scope.row)"
|
|
>
|
|
>
|
|
编辑
|
|
编辑
|
|
</el-button>
|
|
</el-button>
|
|
<el-button
|
|
<el-button
|
|
- v-if="!scope.row.automaticStatus &&$checkBtnRole('edit', $route.meta.roles) && (scope.row.examineStatus === 'SAVE' || scope.row.examineStatus === 'FAIL') && scope.row.type === 2"
|
|
|
|
|
|
+ v-if="$checkBtnRole('edit', $route.meta.roles) && (scope.row.examineStatus === 'SAVE' || scope.row.examineStatus === 'FAIL') && scope.row.type === 2"
|
|
type="text"
|
|
type="text"
|
|
@click="toReturnForm(scope.row)"
|
|
@click="toReturnForm(scope.row)"
|
|
>
|
|
>
|
|
编辑
|
|
编辑
|
|
</el-button>
|
|
</el-button>
|
|
<el-button
|
|
<el-button
|
|
- v-if="!scope.row.automaticStatus &&$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'WAIT'"
|
|
|
|
|
|
+ v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'WAIT'"
|
|
type="text"
|
|
type="text"
|
|
@click="toExamine(scope.row)"
|
|
@click="toExamine(scope.row)"
|
|
>
|
|
>
|
|
@@ -332,8 +333,9 @@
|
|
>
|
|
>
|
|
详情
|
|
详情
|
|
</el-button>
|
|
</el-button>
|
|
|
|
+ <!-- !scope.row.automaticStatus && -->
|
|
<el-popconfirm
|
|
<el-popconfirm
|
|
- v-if="!scope.row.automaticStatus &&scope.row.examineStatus !== 'OK'"
|
|
|
|
|
|
+ v-if="scope.row.examineStatus !== 'OK'"
|
|
style="margin-left: 10px;"
|
|
style="margin-left: 10px;"
|
|
title="确定删除吗?"
|
|
title="确定删除吗?"
|
|
@onConfirm="handleDelete(scope.row.id)"
|
|
@onConfirm="handleDelete(scope.row.id)"
|