|
@@ -144,26 +144,23 @@
|
144
|
144
|
</el-table-column>
|
145
|
145
|
<el-table-column label="操作" align="center" width="350px">
|
146
|
146
|
<template slot-scope="scope">
|
147
|
|
- <el-button
|
148
|
|
- size="small"
|
149
|
|
- type="primary"
|
150
|
|
- @click="examine(scope.row, scope.row.$index)"
|
151
|
|
- >审核
|
152
|
|
- </el-button>
|
153
|
|
- <el-button
|
154
|
|
- size="small"
|
155
|
|
- type="primary"
|
156
|
|
- icon="el-icon-edit-outline"
|
157
|
|
- @click="edit(scope.row, scope.row.$index)"
|
158
|
|
- >
|
159
|
|
- </el-button>
|
160
|
|
- <el-button
|
161
|
|
- size="small"
|
162
|
|
- type="danger"
|
163
|
|
- icon="el-icon-delete"
|
164
|
|
- @click="toDelete(scope.row, scope.row.$index)"
|
165
|
|
- >
|
166
|
|
- </el-button>
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+ <span v-if="scope.row.trial_status == 0 && scope.row.deposit_status == 3"><!--未审核-->
|
|
150
|
+ <el-button size="small" type="primary" @click="examine(scope.row, scope.row.$index)">审核</el-button>
|
|
151
|
+ <el-button size="small" type="primary" icon="el-icon-edit-outline" @click="edit(scope.row, scope.row.$index)"></el-button>
|
|
152
|
+ <el-button size="small" type="danger" icon="el-icon-delete" @click="toDelete(scope.row, scope.row.$index)"></el-button>
|
|
153
|
+ </span>
|
|
154
|
+ <span v-if="scope.row.trial_status == 1 && scope.row.deposit_status == 3"><!--已审核-->
|
|
155
|
+ -
|
|
156
|
+ </span>
|
|
157
|
+ <span v-if="scope.row.trial_status == 2 && scope.row.deposit_status == 3"><!--审核拒绝-->
|
|
158
|
+ <el-button size="small" type="danger" icon="el-icon-delete" @click="toDelete(scope.row, scope.row.$index)"></el-button>
|
|
159
|
+ </span>
|
|
160
|
+ <span v-if="scope.row.deposit_status == 4">-
|
|
161
|
+
|
|
162
|
+ </span>
|
|
163
|
+
|
167
|
164
|
</template>
|
168
|
165
|
</el-table-column>
|
169
|
166
|
</el-table>
|
|
@@ -276,9 +273,20 @@ export default {
|
276
|
273
|
this.search()
|
277
|
274
|
})
|
278
|
275
|
},
|
279
|
|
-
|
280
|
|
- examine(){
|
281
|
|
-
|
|
276
|
+ //审核(单个)
|
|
277
|
+ examine(val,index){
|
|
278
|
+ var params = {
|
|
279
|
+ ids:val.id,
|
|
280
|
+ trial_status: 1,
|
|
281
|
+ };
|
|
282
|
+ refundreview(params).then((res) => {
|
|
283
|
+ if (res.data.state == 1){
|
|
284
|
+ this.$message.success("审核通过");
|
|
285
|
+ this.search();
|
|
286
|
+ }else {
|
|
287
|
+ this.$message.error("审核失败:" + res.data.msg);
|
|
288
|
+ }
|
|
289
|
+ })
|
282
|
290
|
},
|
283
|
291
|
updaterefundtype(){
|
284
|
292
|
console.log("refundtype",this.refundtype)
|
|
@@ -403,7 +411,7 @@ export default {
|
403
|
411
|
}).catch(() => {});
|
404
|
412
|
},
|
405
|
413
|
|
406
|
|
- // 审核通过
|
|
414
|
+ // 批量审核通过
|
407
|
415
|
pass_exam() {
|
408
|
416
|
if(this.multipleSelection.length < 1){
|
409
|
417
|
this.$message.error("未选择任何信息")
|