|
@@ -29,7 +29,7 @@
|
|
|
<!-- 自定义操作按钮 -->
|
|
|
<template slot-scope="{row, index}" slot="menu">
|
|
|
<el-button
|
|
|
- type="primary"
|
|
|
+ type="text"
|
|
|
size="small"
|
|
|
icon="el-icon-view"
|
|
|
@click="viewDetail(row, index)"
|
|
@@ -38,21 +38,23 @@
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
v-if="canApprove(row)"
|
|
|
- type="success"
|
|
|
+ type="text"
|
|
|
size="small"
|
|
|
icon="el-icon-check"
|
|
|
@click="approveRecord(row, index)"
|
|
|
:loading="submitting"
|
|
|
+ style="color: #67c23a;"
|
|
|
>
|
|
|
通过
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
v-if="canReject(row)"
|
|
|
- type="danger"
|
|
|
+ type="text"
|
|
|
size="small"
|
|
|
icon="el-icon-close"
|
|
|
@click="rejectRecord(row, index)"
|
|
|
:loading="submitting"
|
|
|
+ style="color: #f56c6c;"
|
|
|
>
|
|
|
拒绝
|
|
|
</el-button>
|