|
|
@@ -1,5 +1,11 @@
|
|
|
<template>
|
|
|
<basic-container>
|
|
|
+ <el-dialog @close="dialogShow=false" append-to-body :close-on-click-modal="false" :visible.sync="dialogShow"
|
|
|
+ :destroy-on-close="true"
|
|
|
+ :title="dialogTitle" width="80%">
|
|
|
+ <handle-mini-c-r-o-shop-audit v-if="dialogTitle=='小微审核'" ref="refName" :operateId="operateId" :processInstanceId="processInstanceId"></handle-mini-c-r-o-shop-audit>
|
|
|
+ <handle-shop-audit v-if="dialogTitle=='商户审核'" ref="refName" :operateId="operateId" :processInstanceId="processInstanceId"></handle-shop-audit>
|
|
|
+ </el-dialog>
|
|
|
<avue-crud :option="option"
|
|
|
:table-loading="loading"
|
|
|
:data="data"
|
|
|
@@ -29,10 +35,17 @@
|
|
|
<script>
|
|
|
import {getList, getDetail, add, update, remove} from "@/api/ldt_shop/audit";
|
|
|
import {mapGetters} from "vuex";
|
|
|
+ import handleMiniCROShopAudit from "./handleMiniCROShopAudit";
|
|
|
+ import handleShopAudit from "./handleShopAudit";
|
|
|
|
|
|
export default {
|
|
|
+ components:{handleMiniCROShopAudit,handleShopAudit},
|
|
|
data() {
|
|
|
return {
|
|
|
+ dialogShow: false,
|
|
|
+ dialogTitle: "",
|
|
|
+ operateId: "",
|
|
|
+ processInstanceId: "",
|
|
|
form: {},
|
|
|
query: {},
|
|
|
loading: true,
|
|
|
@@ -132,10 +145,15 @@
|
|
|
},
|
|
|
methods: {
|
|
|
handleAudit(row){
|
|
|
+ this.dialogShow = true;
|
|
|
+ this.processInstanceId = row.processInstanceId;
|
|
|
+ this.operateId = row.id;
|
|
|
if(row.typeOfEnterprise==="MINICRO"){
|
|
|
- this.$router.push(`/work/process/shop/miniCRO/handle/${row.processInstanceId}/${row.id}`);
|
|
|
+ this.dialogTitle = "小微审核";
|
|
|
+ // this.$router.push(`/work/process/shop/miniCRO/handle/${row.processInstanceId}/${row.id}`);
|
|
|
}else{
|
|
|
- this.$router.push(`/work/process/shop/handle/${row.processInstanceId}/${row.id}`);
|
|
|
+ this.dialogTitle = "商户审核";
|
|
|
+ // this.$router.push(`/work/process/shop/handle/${row.processInstanceId}/${row.id}`);
|
|
|
}
|
|
|
},
|
|
|
rowSave(row, done, loading) {
|