|
@@ -82,6 +82,17 @@
|
|
|
<el-table-column label="操作" fixed="right" align="center">
|
|
|
<template #default="scope">
|
|
|
<div class="max-width">
|
|
|
+ <el-button
|
|
|
+ v-if="
|
|
|
+ scope.row.sczt.indexOf('完结') > -1 ||
|
|
|
+ scope.row.sczt.indexOf('退回') > -1
|
|
|
+ "
|
|
|
+ type="primary"
|
|
|
+ link
|
|
|
+ class="caozuo"
|
|
|
+ @click="openscjl(scope.row)"
|
|
|
+ >审查记录</el-button
|
|
|
+ >
|
|
|
<el-button
|
|
|
v-if="['待审', '审查中'].indexOf(scope.row.sczt) > -1"
|
|
|
type="primary"
|
|
@@ -91,7 +102,7 @@
|
|
|
>审查</el-button
|
|
|
>
|
|
|
|
|
|
- <el-button
|
|
|
+ <!-- <el-button
|
|
|
v-if="scope.row.sczt == '6' || scope.row.sczt == '7'"
|
|
|
type="primary"
|
|
|
link
|
|
@@ -124,7 +135,7 @@
|
|
|
class="caozuo"
|
|
|
@click="download(scope.row)"
|
|
|
>查看审查报告</el-button
|
|
|
- >
|
|
|
+ > -->
|
|
|
<!-- <el-divider v-if="['完结'].indexOf(scope.row.sczt) > -1" direction="vertical"></el-divider>
|
|
|
<el-button v-if="['完结'].indexOf(scope.row.sczt) > -1" type="primary" link class="caozuo"
|
|
|
@click="ruku(scope.row)">入库</el-button> -->
|
|
@@ -160,6 +171,33 @@
|
|
|
:active_bsm="active_bsm"
|
|
|
@getlist="getlist"
|
|
|
></Examination>
|
|
|
+ <el-dialog
|
|
|
+ title="审查记录"
|
|
|
+ v-model="dialogVisible"
|
|
|
+ width="30%"
|
|
|
+ :before-close="handleClose"
|
|
|
+ >
|
|
|
+ <el-collapse>
|
|
|
+ <el-collapse-item
|
|
|
+ v-for="(item, index) in scjllist"
|
|
|
+ :key="index"
|
|
|
+ :title="`${item.username}-->${item.scjl}`"
|
|
|
+ >
|
|
|
+ <template slot="title">
|
|
|
+ 一致性 Consistency<i class="header-icon el-icon-info"></i>
|
|
|
+ </template>
|
|
|
+ <!-- <template slot="title">
|
|
|
+ <span style="float:left;font-weight:bold;font-size:14px;color:#2C8DF4;">{{item.username}}</span>
|
|
|
+ </template> -->
|
|
|
+ <div>审批意见:{{ item.scyj }}</div>
|
|
|
+ <div>审批时间:{{ item.sctime }}</div>
|
|
|
+ </el-collapse-item>
|
|
|
+ </el-collapse>
|
|
|
+ <!-- <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button @click="dialogVisible = false">取 消</el-button>
|
|
|
+ <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
|
|
|
+ </span> -->
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -167,7 +205,7 @@
|
|
|
import { reactive, toRefs, ref } from "@vue/reactivity";
|
|
|
import Details from "@/components/ghcgscygl/details.vue";
|
|
|
import Examination from "@/components/ghcgscygl/examination.vue";
|
|
|
-import { selectCgSclist, cgsc } from "@/api/ghcgysc/cggl.js";
|
|
|
+import { selectCgSclist, cgsc, viewscjl } from "@/api/ghcgysc/cggl.js";
|
|
|
import { GetXzq } from "@/api/homeApi.js";
|
|
|
import {
|
|
|
getCurrentInstance,
|
|
@@ -210,6 +248,8 @@ export default {
|
|
|
const cgdb = reactive({
|
|
|
loading: false,
|
|
|
detailsVisible: false,
|
|
|
+ dialogVisible: false,
|
|
|
+ scjllist: [],
|
|
|
examinationVisible: false,
|
|
|
active_bsm: "",
|
|
|
active_name: "",
|
|
@@ -237,6 +277,16 @@ export default {
|
|
|
cgdb.formInline.page = val;
|
|
|
cgdb.getlist();
|
|
|
},
|
|
|
+ //查看审查记录
|
|
|
+ openscjl(row) {
|
|
|
+ cgdb.dialogVisible = true;
|
|
|
+ cgdb.scjllist = [];
|
|
|
+ let formData = new FormData();
|
|
|
+ formData.append("cgid", row.id);
|
|
|
+ viewscjl(formData).then((res) => {
|
|
|
+ cgdb.scjllist = res.data;
|
|
|
+ });
|
|
|
+ },
|
|
|
// 审查
|
|
|
examdata(row) {
|
|
|
if (row.sczt.indexOf("待审") > -1) {
|