Commit d4512fe6 by liangzhen

暂存

1 parent 3b193b46
......@@ -363,4 +363,13 @@ export function savaRuleProjectLink(params){
//提交
export function tjRuleProjectLink(params){
return post(`${ARCH_EVALUATION}/auditTasksRuleProjectLinkZg/tj`, params)
}
//项目辅助检查
//问题清单查询
export function selWtqdFZ(params){
return post(`${ARCH_EVALUATION}/evalQuesInfo/selWtqd`, params)
}
//iframe展示文件
export function selFile(params){
return post(`${ARCH_EVALUATION}/evalQuesInfo/selFile`, params)
}
\ No newline at end of file
export function MaterialsList(){
export function MaterialsList() {
return [
{ batchtype: "可研", typeText: "可研报告或项目说明书", typeCode: "0" },
{ batchtype: "可研", typeText: "可研评审意见", typeCode: "1" },
......@@ -13,11 +13,9 @@ export function MaterialsList(){
{ batchtype: "合同", typeText: "项目合同", typeCode: "9" },
{ batchtype: "合同", typeText: "技术协议", typeCode: "10" },
{ batchtype: "执行", typeText: " 合同变更文件(若有)", typeCode: "11" },
{ batchtype: "执行", typeText: "启动会材料", typeCode: "12" },
{ batchtype: "执行", typeText: "需求说明书及评审意见", typeCode: "13" },
{ batchtype: "执行", typeText: "概要设计及评审意见", typeCode: "14" },
{ batchtype: "执行", typeText: "成果报告及评审意见", typeCode: "15" },
{ batchtype: "执行", typeText: "统(应用)第三方测试报告(含功能非功能、安全功能及渗透、源代码测试)", typeCode: "16" },
{ batchtype: "执行", typeText: "安全防护方案及评审意见", typeCode: "17" },
......@@ -34,7 +32,6 @@ export function MaterialsList(){
{ batchtype: "执行", typeText: "验收意见", typeCode: "28" },
{ batchtype: "执行", typeText: "验收专家签到表", typeCode: "29" },
{ batchtype: "执行", typeText: "实施方案等其他建设资料", typeCode: "30" },
{ batchtype: "结决算及转资", typeText: "项目结算报告", typeCode: "31" },
{ batchtype: "结决算及转资", typeText: "项目决算报告(仅涉及含资本金的项目)", typeCode: "32" },
{ batchtype: "结决算及转资", typeText: "决算审计意见(仅涉及含资本金的项目)", typeCode: "33" },
......@@ -42,4 +39,69 @@ export function MaterialsList(){
]
}
\ No newline at end of file
}
export function MaterialsListKY(type) {
switch (type) {
case 1:
return [
{ batchtype: "可研", typeText: "可研报告或项目说明书", typeCode: "0" },
{ batchtype: "可研", typeText: "可研评审意见", typeCode: "1" },
{ batchtype: "可研", typeText: "可研批复", typeCode: "2" },
{ batchtype: "可研", typeText: "可研变更、论证、批复文件(若有)", typeCode: "3" },
{ batchtype: "可研", typeText: "业务需求报告", typeCode: "99" },
]
break;
case 2:
return [
{ batchtype: "计划", typeText: "公司下达计划信息", typeCode: "4" },
]
break
case 3:
return [
{ batchtype: "采购", typeText: "中标(成交)通知书", typeCode: "5" },
{ batchtype: "采购", typeText: "审批单、签报、呈报件等采购资料", typeCode: "6" },
{ batchtype: "采购", typeText: "招标采购技术规范", typeCode: "7" },
{ batchtype: "采购", typeText: "需求变更申请表(若有)", typeCode: "8" },
]
break
case 4:
return [
{ batchtype: "合同", typeText: "项目合同", typeCode: "9" },
{ batchtype: "合同", typeText: "技术协议", typeCode: "10" },
]
break
case 5:
return [
{ batchtype: "执行", typeText: " 合同变更文件(若有)", typeCode: "11" },
{ batchtype: "执行", typeText: "启动会材料", typeCode: "12" },
{ batchtype: "执行", typeText: "需求说明书及评审意见", typeCode: "13" },
{ batchtype: "执行", typeText: "概要设计及评审意见", typeCode: "14" },
{ batchtype: "执行", typeText: "成果报告及评审意见", typeCode: "15" },
{ batchtype: "执行", typeText: "统(应用)第三方测试报告(含功能非功能、安全功能及渗透、源代码测试)", typeCode: "16" },
{ batchtype: "执行", typeText: "安全防护方案及评审意见", typeCode: "17" },
{ batchtype: "执行", typeText: "上线试运行申请单", typeCode: "18" },
{ batchtype: "执行", typeText: "试运行验收申请单", typeCode: "19" },
{ batchtype: "执行", typeText: "试运行验收意见", typeCode: "20" },
{ batchtype: "执行", typeText: "到货验收单", typeCode: "21" },
{ batchtype: "执行", typeText: "需求变更(终止)申请表(若有)", typeCode: "22" },
{ batchtype: "执行", typeText: "合同终止协议(若有)", typeCode: "23" },
{ batchtype: "执行", typeText: "竣工总结报告", typeCode: "24" },
{ batchtype: "执行", typeText: "用户报告", typeCode: "25" },
{ batchtype: "执行", typeText: "验收申请单", typeCode: "26" },
{ batchtype: "执行", typeText: "系统测评报告", typeCode: "27" },
{ batchtype: "执行", typeText: "验收意见", typeCode: "28" },
{ batchtype: "执行", typeText: "验收专家签到表", typeCode: "29" },
{ batchtype: "执行", typeText: "实施方案等其他建设资料", typeCode: "30" },
]
break
case 6:
return [
{ batchtype: "结决算及转资", typeText: "项目结算报告", typeCode: "31" },
{ batchtype: "结决算及转资", typeText: "项目决算报告(仅涉及含资本金的项目)", typeCode: "32" },
{ batchtype: "结决算及转资", typeText: "决算审计意见(仅涉及含资本金的项目)", typeCode: "33" },
{ batchtype: "结决算及转资", typeText: "记账凭证、转资清单、系统中资产截图等其他转资凭证", typeCode: "34" },
]
break
}
}
......@@ -189,8 +189,19 @@ export default {
},
//合规性检查评估
inspectNexts() {
if (this.checkedList.length != 1) {
this.$message("请选择");
return;
}
let params = {
projectId:this.checkedList[0].projectId,
batchId:this.checkedList[0].batchId
};
this.$router.push({
path: "/mainLayout/Compliance",
query:{
"clqparams":JSON.stringify(params),
}
});
},
//详情
......
......@@ -18,21 +18,30 @@
<p class="tableTitle">检查内容</p>
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane
v-for="item in tabList"
:key="item.name"
:label="item.label"
:name="item.name"
v-for="item in tabListKY"
:key="item.typeText"
:label="item.typeText"
:name="item.typeCode"
>
<iframe
:src="item.content"
<p style="height:600px"> {{ item.typeText }}</p>
<!-- <iframe
:src="iframeUrl"
frameborder="0"
style="width: 80%; height: 60vh; margin: auto; display: block"
></iframe>
></iframe> -->
</el-tab-pane>
</el-tabs>
</div>
<div class="right">
<p class="tableTitle">检查项</p>
<div class="rightContent">
<h3>问题检查项:可研资料缺失</h3>
<p class="msg">应有可研报告或项目说明书、可研评审意见、可研批复</p>
<div class="question">
<p class="tips">问题描述</p>
</div>
</div>
</div>
</div>
</div>
......@@ -40,59 +49,57 @@
</template>
<script>
import { selWtqdFZ,selFile} from "@/api/index";
import { MaterialsListKY,} from '@/utils/cache'
export default {
data() {
return {
tabList: [
{ label: "可研", id: "1" },
{ label: "计划", id: "2" },
{ label: "采购", id: "3" },
{ label: "合同", id: "4" },
{ label: "执行", id: "5" },
{ label: "结决算及转资", id: "6" },
],
active: 0,
activeName: "first",
tabList: [
{
label: "可研报告",
name: "first",
content: "https://slcsp.sinosig.com/app/claimDocuments/%E7%90%86%E8%B5%94%E7%94%B3%E8%AF%B7%E4%B9%A6.pdf",
},
{
label: "项目说明书",
name: "2",
content: "https://img1.baidu.com/it/u=819446249,151808267&fm=253&fmt=auto&app=138&f=JPEG?w=455&h=336",
},
{
label: "可研评审意见",
name: "3",
content: "https://kdocs.cn/l/ctHnSFr1rXTX",
},
{
label: "可研批复",
name: "4",
content:"http://l080-prod.oss-cn-szfinance.aliyuncs.com/app%2F..%2F%E6%9F%A5%E8%AF%A2%E4%BA%A7%E5%93%81%E4%BF%A1%E6%81%AF%E6%8E%A5%E5%8F%A3%E6%96%87%E6%A1%A3.docx?OSSAccessKeyId=LTAIwQgnLaOdLDmj&Expires=1715941816&Signature=LLQmbUM%2F8lBKHoUCiCZxhNIbgOo%3D",
},
{
label: "可研变更、论证、批复文件(若有)",
name: "5",
content:"http://192.168.50.1:19090/arch-file/66442ae56c64ff6c1782c0b2.pdf",
},
{ label: "可研", id:0 },
{ label: "计划", id:1 },
{ label: "采购", id: 2 },
{ label: "合同", id: 3 },
{ label: "执行", id:4 },
{ label: "结决算及转资", id: 5 },
],
tabListKY:MaterialsListKY(1),
active:0,
activeName:'1',
clqparams:{},
iframeUrl:'',
urlList:[]
};
},
mounted(){
console.log(MaterialsListKY(1),'wwwww')
this.clqparams=JSON.parse(this.$route.query.clqparams)
this.init(this.clqparams);
},
methods: {
change(id) {
console.log("切换");
this.active = id * 1;
async init(type) {
let params={
projectStage:this.active*1+1,
...type
}
Promise.all([selFile(params), selWtqdFZ(params)]).then((res) => {
console.log(res[0],res[1],'777777')
this.urlList=res.data
});
// let res = await selWtqdFZ(params);
},
handleClick(){
},
change(id) {
console.log("切换");
this.active = id * 1;
this.tabListKY=MaterialsListKY(id * 1+1)
this.init(this.clqparams)
},
},
};
</script>
......@@ -144,7 +151,7 @@ export default {
width: 49%;
min-height: 100px;
color: #fff;
// color: #fff;
}
.right {
width: 50%;
......@@ -197,4 +204,18 @@ export default {
font-weight: 600;
font-size: 15px;
}
.rightContent{
width: 100%;
height: 680px;
overflow-y: auto;
text-align: left;
h3{
margin: 0;
}
p{
margin: 5px 0;
}
}
</style>
\ No newline at end of file
......@@ -824,7 +824,7 @@ export default {
border-right: 1px solid #dee5e7;
border-bottom: 1px solid #dee5e7;
padding: 20px 10px;
margin: 20px 0;
margin: 0;
.fromItem {
min-width: 24%;
margin: 0 0.5%;
......
......@@ -15,7 +15,7 @@
<el-option label="2021年" value="2021"></el-option>
</el-select>
</el-form-item>
<el-form-item label="projectId:" prop="projectCode" class="fromItem">
<el-form-item label="项目编码:" prop="projectId" class="fromItem">
<el-input
v-model="ruleForm.projectCode"
placeholder="请输入"
......
......@@ -86,7 +86,10 @@
<el-table-column prop="abnormalResults" label="检查异常项">
</el-table-column>
<el-table-column prop="auditTime" label="稽核时间"> </el-table-column>
<el-table-column prop="rectificationStatusText" label="问题整改状态">
<el-table-column
prop="rectificationStatusText"
label="问题整改复核状态"
>
</el-table-column>
</el-table>
</div>
......@@ -103,7 +106,7 @@
</el-pagination>
<!-- 详情弹窗 -->
<el-dialog
title="稽核问题整改"
title="稽核问题整改核验"
:visible.sync="dialog"
width="90%"
:modal-append-to-body="false"
......@@ -191,6 +194,23 @@
</el-switch>
</template>
</el-table-column>
<el-table-column
prop="zgfhStatus"
label="问题整改复核"
width="auto"
>
<template slot-scope="scope">
<el-select
v-model="scope.row.zgfhStatus"
placeholder="请选择"
disabled
>
<el-option label="问题关闭" value="0"></el-option>
<el-option label="问题未整改" value="1"></el-option>
<el-option label="申诉不满足要求" value="2"></el-option>
</el-select>
</template>
</el-table-column>
</el-table>
</div>
<!-- <el-pagination
......@@ -213,7 +233,7 @@
<!-- 下发弹窗 -->
<el-dialog
title="稽核问题整改"
title="稽核问题整改核验"
:visible.sync="dialogXF"
width="90%"
:modal-append-to-body="false"
......@@ -304,20 +324,37 @@
<template slot-scope="scope">
<input
type="file"
@change="handleFileUpload($event,scope.row,'sszmFileId')"
@change="handleFileUpload($event, scope.row, 'sszmFileId')"
v-if="scope.row.confirmStatus == '1'"
/>
</template>
</el-table-column>
<el-table-column prop="ruleType" label="问题解决佐证材料" width="auto">
<el-table-column
prop="ruleType"
label="问题解决佐证材料"
width="auto"
>
<template slot-scope="scope">
<input
type="file"
@change="handleFileUpload($event,scope.row,'sszzFileId')"
@change="handleFileUpload($event, scope.row, 'sszzFileId')"
v-if="scope.row.confirmStatus == '1'"
/>
</template>
</el-table-column>
<el-table-column
prop="zgfhStatus"
label="问题整改复核"
width="auto"
>
<template slot-scope="scope">
<el-select v-model="scope.row.zgfhStatus" placeholder="请选择">
<el-option label="问题关闭" value="0"></el-option>
<el-option label="问题未整改" value="1"></el-option>
<el-option label="申诉不满足要求" value="2"></el-option>
</el-select>
</template>
</el-table-column>
</el-table>
</div>
<!-- <el-pagination
......@@ -331,7 +368,7 @@
class="elpagination"
>
</el-pagination> -->
<p class="midBtn">
<p class="midBtn">
<span @click="cancelXQ()">取消</span
><span @click="saveXF()">保存</span>
<span @click="resaultXF()">提交</span>
......@@ -343,7 +380,7 @@
<script>
import {
auditTasksRuleProjectLink,
auditTasksRuleProjectLinkZg,
zgxqRuleProjectLink,
savaRuleProjectLink,
tjRuleProjectLink,
......@@ -392,7 +429,7 @@ export default {
};
Object.assign(params, this.ruleForm);
console.log(params);
let res = await auditTasksRuleProjectLink(params);
let res = await auditTasksRuleProjectLinkZg(params);
if (res.code == "200") {
this.tableData = res.data.records;
......@@ -409,7 +446,7 @@ export default {
this.$set(item, "auditFrequencyText", "每年");
}
if (item.rectificationStatus == 0||!item.rectificationStatus) {
if (item.rectificationStatus == 0 || !item.rectificationStatus) {
this.$set(item, "rectificationStatusText", "待整改 ");
} else if (item.rectificationStatus == 1) {
this.$set(item, "rectificationStatusText", "待提交");
......@@ -421,6 +458,7 @@ export default {
this.$set(item, "rectificationStatusText", "整改完成");
}
});
this.total = res.data.total * 1;
}
},
......@@ -454,6 +492,9 @@ export default {
) {
this.$set(item, "confirmStatus", "2");
}
// if(!item.zgfhStatus){
// this.$set(item, "zgfhStatus", "1");
// }
});
console.log(this.XQtableData, "XQtableDataXQtableData");
......@@ -509,40 +550,47 @@ export default {
},
//结果确认
async saveXF() {
console.log(this.XQtableData,'this.XQtableData')
console.log(this.XQtableData, "this.XQtableData");
let res = await savaRuleProjectLink(this.XQtableData);
},
//结果下发
async resaultXF() {
this.XQtableData.forEach(item=>{
if(!item.zgfhStatus){
this.$message("有未选择的问题整改复核");
throw new Error("主动跳出循环");
}
return
})
let res = await tjRuleProjectLink(this.XQtableData);
if (res.code == 200) {
this.dialogXF = false;
this.resetForm();
}
},
handleFileUpload(event, row,type) {
handleFileUpload(event, row, type) {
console.log("来了么");
this.file = event.target.files[0];
this.submitFile(row,type);
this.submitFile(row, type);
},
submitFile(row, type) {
if (this.file) {
const formData = new FormData();
formData.append("file", this.file);
ossupload(formData)
.then((response) => {
console.log(response);
this.file = [];
this.$set(row, type, response.data.fileId);
console.log(this.XQtableData,'XQtableDataXQtableData')
})
.catch((error) => {
console.error(error);
});
} else {
this.$message("请先选择文件");
}
},
if (this.file) {
const formData = new FormData();
formData.append("file", this.file);
ossupload(formData)
.then((response) => {
console.log(response);
this.file = [];
this.$set(row, type, response.data.fileId);
console.log(this.XQtableData, "XQtableDataXQtableData");
})
.catch((error) => {
console.error(error);
});
} else {
this.$message("请先选择文件");
}
},
//问题确认开关
controlSwitch(val, row) {
console.log("333", val, row);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!