| 
					
				 | 
			
			
				@@ -58,11 +58,13 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <template #default="scope">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <div class="max-width">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   <el-button v-if="
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    $store.getters.roles.indexOf('manager') > -1 &&
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    ['完结', '退回'].indexOf(scope.row.sczt) > -1
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  " type="primary" link class="caozuo" @click="openscjl(scope.row)">审查记录</el-button>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <el-button v-if="
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     ['待审', '审查中'].indexOf(scope.row.sczt) > -1
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   " type="primary" link class="caozuo" @click="examdata(scope.row)">审查</el-button>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <el-button v-if="
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <!-- <el-button v-if="
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     $store.getters.roles.indexOf('manager') > -1 &&
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     ['待审', '审查中'].indexOf(scope.row.sczt) === -1
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   " type="primary" link class="caozuo" @click="viewSCJG(scope.row)">查看审查结果</el-button>
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -75,7 +77,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     ['完结', '退回'].indexOf(
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                       scope.row.sczt
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     ) > -1
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  " type="primary" link class="caozuo" @click="download(scope.row)">查看审查报告</el-button>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  " type="primary" link 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> -->
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -95,6 +97,24 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <Details v-if="detailsVisible" v-model:detailsVisible="detailsVisible" :active_bsm="active_bsm"></Details>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <Examination v-if="examinationVisible" v-model:examinationVisible="examinationVisible" :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>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -102,7 +122,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,
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -145,6 +165,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const cgdb = reactive({
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       loading: false,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       detailsVisible: false,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      dialogVisible: false,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      scjllist: [],
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       examinationVisible: false,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       active_bsm: "",
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       active_name: "",
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -172,6 +194,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) {
 
			 |