|
|
@@ -171,15 +171,15 @@
|
|
|
show-overflow-tooltip
|
|
|
></el-table-column>
|
|
|
<el-table-column prop="remark" label="备注" width="120"></el-table-column>
|
|
|
- <el-table-column label="操作" width="100">
|
|
|
+ <el-table-column label="操作" width="140">
|
|
|
<template slot-scope="{ row }">
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-link v-if="row.type == 3" type="primary" @click="createWord(row)">下载</el-link>
|
|
|
</el-col>
|
|
|
- <!-- <el-col :span="12">
|
|
|
- <el-link type="danger" @click="handleDelete(row)">删除</el-link>
|
|
|
- </el-col> -->
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-link v-if="row.type == 3" type="success" @click="handleFlow(row)">审核详情</el-link>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -198,11 +198,18 @@
|
|
|
:title="modalTitle"
|
|
|
@close="onDetailModalClose"
|
|
|
></businessOut-detail>
|
|
|
+ <businessOut-flow
|
|
|
+ v-if="showModal1"
|
|
|
+ :businessKey="businessKey"
|
|
|
+ :title="modalTitle"
|
|
|
+ @close="onDetailModalClose"
|
|
|
+ ></businessOut-flow>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
import Constant from "@/constant";
|
|
|
import BusinessOutDetail from "./businessOut-detail";
|
|
|
+import BusinessOutFlow from "./businessOut-flow";
|
|
|
import businessOutApi from "@/api/base/businessOut";
|
|
|
import NProgress from "nprogress"; // progress bar
|
|
|
import "nprogress/nprogress.css"; // progress bar style
|
|
|
@@ -229,6 +236,7 @@ export default {
|
|
|
pageSizeList: [10, 20, 30],
|
|
|
multipleSelection: [],
|
|
|
showModal: false,
|
|
|
+ showModal1: false,
|
|
|
modalTitle: "",
|
|
|
businessKey: "",
|
|
|
};
|
|
|
@@ -327,6 +335,11 @@ export default {
|
|
|
this.businessKey = record.id;
|
|
|
this.showModal = true;
|
|
|
},
|
|
|
+ handleFlow(record) {
|
|
|
+ this.modalTitle = "审核详情";
|
|
|
+ this.businessKey = record.id;
|
|
|
+ this.showModal1 = true;
|
|
|
+ },
|
|
|
handleDelete(record) {
|
|
|
var self = this;
|
|
|
|
|
|
@@ -382,6 +395,7 @@ export default {
|
|
|
onDetailModalClose(refreshed) {
|
|
|
//保存成功后回调
|
|
|
this.showModal = false;
|
|
|
+ this.showModal1 = false;
|
|
|
|
|
|
if (refreshed) {
|
|
|
this.changePage(this.pageIndex);
|
|
|
@@ -393,6 +407,7 @@ export default {
|
|
|
},
|
|
|
components: {
|
|
|
"businessOut-detail": BusinessOutDetail,
|
|
|
+ "businessOut-flow": BusinessOutFlow,
|
|
|
},
|
|
|
};
|
|
|
</script>
|