Commit d4512fe6 by liangzhen

暂存

1 parent 3b193b46
...@@ -363,4 +363,13 @@ export function savaRuleProjectLink(params){ ...@@ -363,4 +363,13 @@ export function savaRuleProjectLink(params){
//提交 //提交
export function tjRuleProjectLink(params){ export function tjRuleProjectLink(params){
return post(`${ARCH_EVALUATION}/auditTasksRuleProjectLinkZg/tj`, 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 [ return [
{ batchtype: "可研", typeText: "可研报告或项目说明书", typeCode: "0" }, { batchtype: "可研", typeText: "可研报告或项目说明书", typeCode: "0" },
{ batchtype: "可研", typeText: "可研评审意见", typeCode: "1" }, { batchtype: "可研", typeText: "可研评审意见", typeCode: "1" },
...@@ -13,11 +13,9 @@ export function MaterialsList(){ ...@@ -13,11 +13,9 @@ export function MaterialsList(){
{ batchtype: "合同", typeText: "项目合同", typeCode: "9" }, { batchtype: "合同", typeText: "项目合同", typeCode: "9" },
{ batchtype: "合同", typeText: "技术协议", typeCode: "10" }, { batchtype: "合同", typeText: "技术协议", typeCode: "10" },
{ batchtype: "执行", typeText: " 合同变更文件(若有)", typeCode: "11" }, { batchtype: "执行", typeText: " 合同变更文件(若有)", typeCode: "11" },
{ batchtype: "执行", typeText: "启动会材料", typeCode: "12" }, { batchtype: "执行", typeText: "启动会材料", typeCode: "12" },
{ batchtype: "执行", typeText: "需求说明书及评审意见", typeCode: "13" }, { batchtype: "执行", typeText: "需求说明书及评审意见", typeCode: "13" },
{ batchtype: "执行", typeText: "概要设计及评审意见", typeCode: "14" }, { batchtype: "执行", typeText: "概要设计及评审意见", typeCode: "14" },
{ batchtype: "执行", typeText: "成果报告及评审意见", typeCode: "15" }, { batchtype: "执行", typeText: "成果报告及评审意见", typeCode: "15" },
{ batchtype: "执行", typeText: "统(应用)第三方测试报告(含功能非功能、安全功能及渗透、源代码测试)", typeCode: "16" }, { batchtype: "执行", typeText: "统(应用)第三方测试报告(含功能非功能、安全功能及渗透、源代码测试)", typeCode: "16" },
{ batchtype: "执行", typeText: "安全防护方案及评审意见", typeCode: "17" }, { batchtype: "执行", typeText: "安全防护方案及评审意见", typeCode: "17" },
...@@ -34,7 +32,6 @@ export function MaterialsList(){ ...@@ -34,7 +32,6 @@ export function MaterialsList(){
{ batchtype: "执行", typeText: "验收意见", typeCode: "28" }, { batchtype: "执行", typeText: "验收意见", typeCode: "28" },
{ batchtype: "执行", typeText: "验收专家签到表", typeCode: "29" }, { batchtype: "执行", typeText: "验收专家签到表", typeCode: "29" },
{ batchtype: "执行", typeText: "实施方案等其他建设资料", typeCode: "30" }, { batchtype: "执行", typeText: "实施方案等其他建设资料", typeCode: "30" },
{ batchtype: "结决算及转资", typeText: "项目结算报告", typeCode: "31" }, { batchtype: "结决算及转资", typeText: "项目结算报告", typeCode: "31" },
{ batchtype: "结决算及转资", typeText: "项目决算报告(仅涉及含资本金的项目)", typeCode: "32" }, { batchtype: "结决算及转资", typeText: "项目决算报告(仅涉及含资本金的项目)", typeCode: "32" },
{ batchtype: "结决算及转资", typeText: "决算审计意见(仅涉及含资本金的项目)", typeCode: "33" }, { batchtype: "结决算及转资", typeText: "决算审计意见(仅涉及含资本金的项目)", typeCode: "33" },
...@@ -42,4 +39,69 @@ export function MaterialsList(){ ...@@ -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 { ...@@ -189,8 +189,19 @@ export default {
}, },
//合规性检查评估 //合规性检查评估
inspectNexts() { inspectNexts() {
if (this.checkedList.length != 1) {
this.$message("请选择");
return;
}
let params = {
projectId:this.checkedList[0].projectId,
batchId:this.checkedList[0].batchId
};
this.$router.push({ this.$router.push({
path: "/mainLayout/Compliance", path: "/mainLayout/Compliance",
query:{
"clqparams":JSON.stringify(params),
}
}); });
}, },
//详情 //详情
......
...@@ -18,21 +18,30 @@ ...@@ -18,21 +18,30 @@
<p class="tableTitle">检查内容</p> <p class="tableTitle">检查内容</p>
<el-tabs v-model="activeName" @tab-click="handleClick"> <el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane <el-tab-pane
v-for="item in tabList" v-for="item in tabListKY"
:key="item.name" :key="item.typeText"
:label="item.label" :label="item.typeText"
:name="item.name" :name="item.typeCode"
> >
<iframe <p style="height:600px"> {{ item.typeText }}</p>
:src="item.content" <!-- <iframe
:src="iframeUrl"
frameborder="0" frameborder="0"
style="width: 80%; height: 60vh; margin: auto; display: block" style="width: 80%; height: 60vh; margin: auto; display: block"
></iframe> ></iframe> -->
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
<div class="right"> <div class="right">
<p class="tableTitle">检查项</p> <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> </div>
</div> </div>
...@@ -40,59 +49,57 @@ ...@@ -40,59 +49,57 @@
</template> </template>
<script> <script>
import { selWtqdFZ,selFile} from "@/api/index";
import { MaterialsListKY,} from '@/utils/cache'
export default { export default {
data() { data() {
return { return {
tabList: [ tabList: [
{ label: "可研", id: "1" }, { label: "可研", id:0 },
{ label: "计划", id: "2" }, { label: "计划", id:1 },
{ label: "采购", id: "3" }, { label: "采购", id: 2 },
{ label: "合同", id: "4" }, { label: "合同", id: 3 },
{ label: "执行", id: "5" }, { label: "执行", id:4 },
{ label: "结决算及转资", id: "6" }, { label: "结决算及转资", id: 5 },
],
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",
},
], ],
tabListKY:MaterialsListKY(1),
active:0,
activeName:'1',
clqparams:{},
iframeUrl:'',
urlList:[]
}; };
}, },
mounted(){ mounted(){
console.log(MaterialsListKY(1),'wwwww')
this.clqparams=JSON.parse(this.$route.query.clqparams)
this.init(this.clqparams);
}, },
methods: { methods: {
change(id) { async init(type) {
console.log("切换"); let params={
this.active = id * 1; 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(){ handleClick(){
}, },
change(id) {
console.log("切换");
this.active = id * 1;
this.tabListKY=MaterialsListKY(id * 1+1)
this.init(this.clqparams)
},
}, },
}; };
</script> </script>
...@@ -144,7 +151,7 @@ export default { ...@@ -144,7 +151,7 @@ export default {
width: 49%; width: 49%;
min-height: 100px; min-height: 100px;
color: #fff; // color: #fff;
} }
.right { .right {
width: 50%; width: 50%;
...@@ -197,4 +204,18 @@ export default { ...@@ -197,4 +204,18 @@ export default {
font-weight: 600; font-weight: 600;
font-size: 15px; font-size: 15px;
} }
.rightContent{
width: 100%;
height: 680px;
overflow-y: auto;
text-align: left;
h3{
margin: 0;
}
p{
margin: 5px 0;
}
}
</style> </style>
\ No newline at end of file
...@@ -824,7 +824,7 @@ export default { ...@@ -824,7 +824,7 @@ export default {
border-right: 1px solid #dee5e7; border-right: 1px solid #dee5e7;
border-bottom: 1px solid #dee5e7; border-bottom: 1px solid #dee5e7;
padding: 20px 10px; padding: 20px 10px;
margin: 20px 0; margin: 0;
.fromItem { .fromItem {
min-width: 24%; min-width: 24%;
margin: 0 0.5%; margin: 0 0.5%;
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<el-option label="2021年" value="2021"></el-option> <el-option label="2021年" value="2021"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="projectId:" prop="projectCode" class="fromItem"> <el-form-item label="项目编码:" prop="projectId" class="fromItem">
<el-input <el-input
v-model="ruleForm.projectCode" v-model="ruleForm.projectCode"
placeholder="请输入" placeholder="请输入"
......
...@@ -86,7 +86,10 @@ ...@@ -86,7 +86,10 @@
<el-table-column prop="abnormalResults" label="检查异常项"> <el-table-column prop="abnormalResults" label="检查异常项">
</el-table-column> </el-table-column>
<el-table-column prop="auditTime" 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-column>
</el-table> </el-table>
</div> </div>
...@@ -103,7 +106,7 @@ ...@@ -103,7 +106,7 @@
</el-pagination> </el-pagination>
<!-- 详情弹窗 --> <!-- 详情弹窗 -->
<el-dialog <el-dialog
title="稽核问题整改" title="稽核问题整改核验"
:visible.sync="dialog" :visible.sync="dialog"
width="90%" width="90%"
:modal-append-to-body="false" :modal-append-to-body="false"
...@@ -191,6 +194,23 @@ ...@@ -191,6 +194,23 @@
</el-switch> </el-switch>
</template> </template>
</el-table-column> </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> </el-table>
</div> </div>
<!-- <el-pagination <!-- <el-pagination
...@@ -213,7 +233,7 @@ ...@@ -213,7 +233,7 @@
<!-- 下发弹窗 --> <!-- 下发弹窗 -->
<el-dialog <el-dialog
title="稽核问题整改" title="稽核问题整改核验"
:visible.sync="dialogXF" :visible.sync="dialogXF"
width="90%" width="90%"
:modal-append-to-body="false" :modal-append-to-body="false"
...@@ -304,20 +324,37 @@ ...@@ -304,20 +324,37 @@
<template slot-scope="scope"> <template slot-scope="scope">
<input <input
type="file" type="file"
@change="handleFileUpload($event,scope.row,'sszmFileId')" @change="handleFileUpload($event, scope.row, 'sszmFileId')"
v-if="scope.row.confirmStatus == '1'" v-if="scope.row.confirmStatus == '1'"
/> />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="ruleType" label="问题解决佐证材料" width="auto"> <el-table-column
prop="ruleType"
label="问题解决佐证材料"
width="auto"
>
<template slot-scope="scope"> <template slot-scope="scope">
<input <input
type="file" type="file"
@change="handleFileUpload($event,scope.row,'sszzFileId')" @change="handleFileUpload($event, scope.row, 'sszzFileId')"
v-if="scope.row.confirmStatus == '1'" v-if="scope.row.confirmStatus == '1'"
/> />
</template> </template>
</el-table-column> </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> </el-table>
</div> </div>
<!-- <el-pagination <!-- <el-pagination
...@@ -331,7 +368,7 @@ ...@@ -331,7 +368,7 @@
class="elpagination" class="elpagination"
> >
</el-pagination> --> </el-pagination> -->
<p class="midBtn"> <p class="midBtn">
<span @click="cancelXQ()">取消</span <span @click="cancelXQ()">取消</span
><span @click="saveXF()">保存</span> ><span @click="saveXF()">保存</span>
<span @click="resaultXF()">提交</span> <span @click="resaultXF()">提交</span>
...@@ -343,7 +380,7 @@ ...@@ -343,7 +380,7 @@
<script> <script>
import { import {
auditTasksRuleProjectLink, auditTasksRuleProjectLinkZg,
zgxqRuleProjectLink, zgxqRuleProjectLink,
savaRuleProjectLink, savaRuleProjectLink,
tjRuleProjectLink, tjRuleProjectLink,
...@@ -392,7 +429,7 @@ export default { ...@@ -392,7 +429,7 @@ export default {
}; };
Object.assign(params, this.ruleForm); Object.assign(params, this.ruleForm);
console.log(params); console.log(params);
let res = await auditTasksRuleProjectLink(params); let res = await auditTasksRuleProjectLinkZg(params);
if (res.code == "200") { if (res.code == "200") {
this.tableData = res.data.records; this.tableData = res.data.records;
...@@ -409,7 +446,7 @@ export default { ...@@ -409,7 +446,7 @@ export default {
this.$set(item, "auditFrequencyText", "每年"); this.$set(item, "auditFrequencyText", "每年");
} }
if (item.rectificationStatus == 0||!item.rectificationStatus) { if (item.rectificationStatus == 0 || !item.rectificationStatus) {
this.$set(item, "rectificationStatusText", "待整改 "); this.$set(item, "rectificationStatusText", "待整改 ");
} else if (item.rectificationStatus == 1) { } else if (item.rectificationStatus == 1) {
this.$set(item, "rectificationStatusText", "待提交"); this.$set(item, "rectificationStatusText", "待提交");
...@@ -421,6 +458,7 @@ export default { ...@@ -421,6 +458,7 @@ export default {
this.$set(item, "rectificationStatusText", "整改完成"); this.$set(item, "rectificationStatusText", "整改完成");
} }
}); });
this.total = res.data.total * 1; this.total = res.data.total * 1;
} }
}, },
...@@ -454,6 +492,9 @@ export default { ...@@ -454,6 +492,9 @@ export default {
) { ) {
this.$set(item, "confirmStatus", "2"); this.$set(item, "confirmStatus", "2");
} }
// if(!item.zgfhStatus){
// this.$set(item, "zgfhStatus", "1");
// }
}); });
console.log(this.XQtableData, "XQtableDataXQtableData"); console.log(this.XQtableData, "XQtableDataXQtableData");
...@@ -509,40 +550,47 @@ export default { ...@@ -509,40 +550,47 @@ export default {
}, },
//结果确认 //结果确认
async saveXF() { async saveXF() {
console.log(this.XQtableData,'this.XQtableData') console.log(this.XQtableData, "this.XQtableData");
let res = await savaRuleProjectLink(this.XQtableData); let res = await savaRuleProjectLink(this.XQtableData);
}, },
//结果下发 //结果下发
async resaultXF() { async resaultXF() {
this.XQtableData.forEach(item=>{
if(!item.zgfhStatus){
this.$message("有未选择的问题整改复核");
throw new Error("主动跳出循环");
}
return
})
let res = await tjRuleProjectLink(this.XQtableData); let res = await tjRuleProjectLink(this.XQtableData);
if (res.code == 200) { if (res.code == 200) {
this.dialogXF = false; this.dialogXF = false;
this.resetForm(); this.resetForm();
} }
}, },
handleFileUpload(event, row,type) { handleFileUpload(event, row, type) {
console.log("来了么"); console.log("来了么");
this.file = event.target.files[0]; this.file = event.target.files[0];
this.submitFile(row,type); this.submitFile(row, type);
}, },
submitFile(row, type) { submitFile(row, type) {
if (this.file) { if (this.file) {
const formData = new FormData(); const formData = new FormData();
formData.append("file", this.file); formData.append("file", this.file);
ossupload(formData) ossupload(formData)
.then((response) => { .then((response) => {
console.log(response); console.log(response);
this.file = []; this.file = [];
this.$set(row, type, response.data.fileId); this.$set(row, type, response.data.fileId);
console.log(this.XQtableData,'XQtableDataXQtableData') console.log(this.XQtableData, "XQtableDataXQtableData");
}) })
.catch((error) => { .catch((error) => {
console.error(error); console.error(error);
}); });
} else { } else {
this.$message("请先选择文件"); this.$message("请先选择文件");
} }
}, },
//问题确认开关 //问题确认开关
controlSwitch(val, row) { controlSwitch(val, row) {
console.log("333", 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!