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%;
......
<template>
<div class="main">
<el-form
:model="ruleForm"
ref="formName"
label-width="100px"
class="demo-ruleForm"
>
<el-form-item label="稽核名称:" prop="auditName" class="fromItem">
<el-input
v-model="ruleForm.auditName"
placeholder="请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label="稽核开始时间:"
prop="auditStartTime"
class="fromItem"
>
<el-date-picker
v-model="ruleForm.auditStartTime"
type="date"
placeholder="选择日期"
>
</el-date-picker>
</el-form-item>
<el-form-item label="稽核结束时间:" prop="auditEndTime" class="fromItem">
<el-date-picker
v-model="ruleForm.auditEndTime"
type="date"
placeholder="选择日期"
>
</el-date-picker>
</el-form-item>
<el-form-item label="稽核频率:" prop="auditFrequency" class="fromItem">
<el-select
v-model="ruleForm.auditFrequency"
placeholder="请选择"
clearable
>
<el-option label="仅一次" value="0"></el-option>
<el-option label="每周" value="1"></el-option>
<el-option label="每月" value="2"></el-option>
<el-option label="每季度" value="3"></el-option>
<el-option label="每年" value="4"></el-option>
</el-select>
</el-form-item>
<el-form-item label="稽核状态:" prop="confirmStatus" class="fromItem">
<el-select
v-model="ruleForm.confirmStatus"
placeholder="请选择"
clearable
>
<el-option label="未确认" value="0"></el-option>
<el-option label="未下发" value="1"></el-option>
<el-option label="已下发" value="2"></el-option>
</el-select>
</el-form-item>
<el-form-item class="button">
<el-button @click="submitForm()">
<img class="buttonIcon" src="../../assets/cx.png" />查询</el-button
>
<el-button @click="resetForm()">
<img class="buttonIcon" src="../../assets/cz.png" />重置</el-button
>
<el-button @click="detailsForm()">
<img class="buttonIcon" src="../../assets/ck.png" />详情</el-button
>
</el-form-item>
</el-form>
<div class="setscroll">
<el-table
@selection-change="handleSelectionChange"
ref="multipleTable"
:data="tableData"
tooltip-effect="dark"
style="width: 100%"
header-cell-class-name="custom-th-background"
class="eltable"
:row-class-name="tableRowClassName"
border
>
<el-table-column label="序号" width="55" type="index">
</el-table-column>
<el-table-column type="selection"> </el-table-column>
<el-table-column label="稽核名称" prop="auditName"> </el-table-column>
<el-table-column prop="auditStartTime" label="稽核开始时间">
</el-table-column>
<el-table-column
prop="auditEndTime"
label="稽核结束时间"
show-overflow-tooltip
>
</el-table-column>
<!-- <el-table-column prop="confirmStatus" label="稽核状态">
</el-table-column> -->
<el-table-column prop="auditFrequencyText" label="稽核频率">
</el-table-column>
<el-table-column prop="abnormalResults" label="检查异常结果">
</el-table-column>
<el-table-column prop="auditEndTime" label="稽核时间">
</el-table-column>
</el-table>
</div>
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="currentPage"
:page-sizes="[10, 15, 20, 50]"
:page-size="100"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
class="elpagination"
>
</el-pagination>
<!-- 详情弹窗 -->
<el-dialog
title="稽核结果详情"
:visible.sync="dialog"
width="90%"
:modal-append-to-body="false"
:append-to-body="false"
>
<div class="dialog">
<el-form
:model="ruleFormdialogXQ"
label-width="100px"
class="demo-ruleForm"
>
<el-form-item label="稽核名称:" prop="auditName" class="fromItem">
<el-input v-model="ruleFormdialogXQ.auditName" disabled></el-input>
</el-form-item>
<el-form-item label="稽核时间:" class="fromItem" prop="dates">
<el-date-picker
@change="timeChange"
v-model="ruleFormdialogXQ.dates"
style="width: 240px"
value-format="yyyy-MM-dd"
type="daterange"
range-separator="-"
start-placeholder="开始日期"
end-placeholder="结束日期"
disabled
></el-date-picker>
</el-form-item>
<el-form-item
label="稽核频率:"
prop="auditFrequency"
class="fromItem"
>
<el-select
v-model="ruleFormdialogXQ.auditFrequency"
placeholder="请选择"
disabled
>
<el-option label="仅一次" value="0"></el-option>
<el-option label="每周" value="1"></el-option>
<el-option label="每月" value="2"></el-option>
<el-option label="每季度" value="3"></el-option>
<el-option label="每年" value="4"></el-option>
</el-select>
</el-form-item>
</el-form>
<p class="zjBtn">稽核规则配置</p>
<div class="setscroll">
<el-table
:data="XQtableData"
tooltip-effect="dark"
style="width: 100%"
header-cell-class-name="custom-th-background"
class="eltable"
:row-class-name="tableRowClassName"
border
>
<el-table-column label="序号" width="55" type="index">
</el-table-column>
<el-table-column label="规则名称" width="ruleName" prop="projectId">
</el-table-column>
<el-table-column prop="ruleType" label="规则类型" width="auto">
</el-table-column>
<el-table-column
prop="projectName"
label="稽核异常项目清单"
width="auto"
show-overflow-tooltip
>
</el-table-column>
</el-table>
</div>
<!-- <el-pagination
@size-change="handleSizeChangeXQ"
@current-change="handleCurrentChangeXQ"
:current-page="currentPageXQ"
:page-sizes="[5, 10, 15, 20]"
:page-size="100"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
class="elpagination"
>
</el-pagination> -->
<p class="midBtn">
<span @click="cancelXQ()">取消</span
><span @click="saveXZ()" v-show="false">保存</span>
</p>
</div>
</el-dialog>
</div>
</template>
<script>
import { auditTasksResults, xqauditTasksResults } from "@/api/index";
export default {
data() {
return {
listData: {},
showButton: true,
ruleForm: {
},
ruleFormdialogXQ: {},
currentPageXQ:'',
pageSizeXQ:'',
tableData: [],
checkedList: [],
currentPage: 1,
pageSize: 10,
total: 0,
dialog: false,
XQtableData: [],
};
},
mounted() {
this.submitForm();
},
methods: {
timeChange(time) {
if (time) {
//给后端的参数
this.ruleFormdialogAdd.auditStartTime = time[0];
this.ruleFormdialogAdd.auditEndTime = time[1];
}
},
async submitForm() {
let params = {
current: this.currentPage,
pageSize: this.pageSize,
};
Object.assign(params, this.ruleForm);
console.log(params);
let res = await auditTasksResults(params);
if (res.code == "200") {
this.tableData = res.data.records;
this.tableData.forEach((item) => {
if (item.auditFrequency == 0) {
this.$set(item, "auditFrequencyText", "仅一次");
} else if (item.auditFrequency == 1) {
this.$set(item, "auditFrequencyText", "每周");
} else if (item.auditFrequency == 2) {
this.$set(item, "auditFrequencyText", "每月");
} else if (item.auditFrequency == 3) {
this.$set(item, "auditFrequencyText", "每季度");
} else if (item.auditFrequency == 4) {
this.$set(item, "auditFrequencyText", "每年");
}
});
this.total = res.data.total * 1;
}
},
resetForm() {
this.$refs.formName.resetFields();
this.currentPage = 1;
this.pageSize = 10;
this.submitForm();
},
//详情
async detailsForm() {
if (this.checkedList.length != 1) {
this.$message("请选择");
return;
}
let params = {
current: this.currentPageXQ,
pageSize: this.pageSizeXQ,
auditId: this.checkedList[0].auditId,
};
let res = await xqauditTasksResults(params);
if (res.code == 200) {
this.ruleFormdialogXQ = this.checkedList[0];
this.ruleFormdialogXQ.dates = [
this.checkedList[0].auditStartTime,
this.checkedList[0].auditEndTime,
];
this.XQtableData = res.data.records;
console.log(this.XQtableData,'XQtableDataXQtableData')
this.dialog = true;
}
},
//表格颜色
tableRowClassName({ row, rowIndex }) {
if (rowIndex % 2 == 1) {
return "warning-row";
}
return "";
},
//主列表选中行信息
handleSelectionChange(selection) {
if (Array.isArray(selection) && selection.length > 1) {
this.$refs.multipleTable.toggleRowSelection(selection[0], false);
this.$refs.multipleTable.toggleRowSelection(selection[1], true);
}
this.checkedList = this.$refs.multipleTable.selection;
this.ruleFormdialog = this.checkedList[0];
console.log(this.checkedList, "2222");
},
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
this.pageSize = val;
this.submitForm();
},
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
this.currentPage = val;
this.submitForm();
},
handleSizeChangeXQ(val) {
console.log(`每页 ${val} 条`);
this.pageSizeXQ = val;
this.detailsForm();
},
handleCurrentChangeXQ(val) {
console.log(`当前页: ${val}`);
this.currentPageXQ = val;
this.detailsForm();
},
cancelXQ() {
this.dialog = false;
},
},
};
</script>
<style scoped lang="scss">
.main {
font-size: 14px;
position: relative;
height: 100%;
width: 100%;
box-sizing: border-box;
overflow-x: hidden;
}
.el-form {
display: flex;
width: 100%;
flex-wrap: wrap;
border-top: 2px solid #23c6c8;
border-left: 1px solid #dee5e7;
border-right: 1px solid #dee5e7;
border-bottom: 1px solid #dee5e7;
padding: 20px 10px;
margin-bottom: 20px;
.fromItem {
min-width: 24%;
margin: 0 0.5%;
margin-bottom: 20px;
.el-input {
width: 226px;
}
.el-select {
width: 226px;
}
}
/deep/ .el-form-item__content {
text-align: left;
display: inline-block;
margin-left: 10px !important;
}
/deep/ .el-form-item__label {
font-weight: bold;
color: #000;
width: 160px !important;
}
.button {
display: inline-block;
width: 100%;
text-align: left;
/deep/ .el-form-item__content {
margin-left: 20px !important;
text-align: left;
img {
width: 14px;
height: 14px;
margin-right: 15px;
vertical-align: middle;
}
}
.el-button {
background-color: #23c6c8;
border-color: #23c6c8;
color: #fff;
}
}
}
.eltable {
width: 100%;
box-sizing: border-box;
}
/deep/ .el-table .warning-row {
background: #f0ffff;
// color: #2785e6;
}
.elpagination {
text-align: right;
margin-right: 100px;
}
/deep/ .el-dialog {
border-radius: 10px;
margin-top: 3vh !important;
margin-left: 3vw !important;
// height: 500px;
// box-sizing: border-box;
// overflow-y: auto;
}
/deep/ .el-dialog__wrapper {
position: absolute;
}
/deep/ .v-modal {
position: absolute;
}
/deep/ .el-dialog__header {
background-color: #0d867f;
// padding-bottom: 20px;
text-align: left;
border-radius: 10px 10px 0 0;
.el-dialog__title {
color: #fff;
}
}
/deep/ .el-table__header th {
background-color: #eeeeee;
font-weight: bold;
.cell {
color: #333;
}
}
/deep/.el-table {
width: 100%;
.el-table__header-wrapper table,
.el-table__body-wrapper table {
width: 100% !important;
}
.el-table__body,
.el-table__footer,
.el-table__header {
table-layout: auto;
}
}
.dialog {
.title {
text-align: left;
font-size: 18px;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 16px;
color: #1ec695;
text-align: left;
height: 20px;
margin-top: 0;
span {
border-radius: 2px;
display: inline-block;
width: 5px;
height: 18px;
background-color: #1ec695;
margin-right: 14px;
vertical-align: middle;
}
}
.content {
width: 100%;
display: flex;
flex-wrap: wrap;
p {
width: 24%;
text-align: left;
display: flex;
label {
display: inline-block;
width: 150px;
flex-shrink: 0;
text-align: right;
font-weight: bold;
margin-right: 20px;
vertical-align: middle;
}
span {
display: inline-block;
text-align: left;
}
}
}
.table {
width: 100%;
display: flex;
p {
width: 150px;
text-align: right;
font-weight: bold;
}
.tablepg {
margin-top: 20px;
margin-left: 5px;
}
}
}
.textarea {
width: 100%;
.el-textarea {
width: 60%;
}
}
.Btn {
width: 200px;
margin: 0 auto;
span {
display: inline-block;
width: 80px;
height: 25px;
line-height: 25px;
text-align: center;
border-radius: 4px;
margin-right: 12px;
}
span:first-of-type {
border: 1px solid #000;
}
span:last-of-type {
background-color: #0d867f;
border: 1px solid #0d867f;
color: #fff;
}
}
/deep/ .el-dialog__headerbtn .el-dialog__close {
color: #fff;
}
/deep/.el-table th.el-table__cell.is-leaf,
.el-table td.el-table__cell {
text-align: center;
}
/deep/ .el-table__cell {
text-align: center;
}
h3 {
text-align: left;
}
/deep/.el-dialog__body {
padding: 0 10px;
h3 {
margin: 10px 0;
}
}
/deep/ .el-descriptions-item__container .el-descriptions-item__label {
font-weight: bold;
width: 100px;
text-align: right;
}
/deep/.el-tabs__content {
overflow: auto;
height: 500px;
padding-bottom: 20px;
}
.close {
width: 100%;
height: 40px;
line-height: 20px;
span {
display: inline-block;
width: 80px;
height: 30px;
line-height: 30px;
border: 1px solid grey;
border-radius: 5px;
}
}
.setscroll {
width: 100%;
height: 650px;
position: relative;
overflow: auto;
}
.setscrolldialog {
width: 100%;
height: 300px;
overflow: auto;
box-sizing: border-box;
/deep/ .el-table {
width: 96% !important;
height: 300px;
overflow: auto;
}
}
.dialog {
.el-form {
border: none !important;
border-top: none;
border-left: none;
border-right: none;
border-bottom: none;
}
}
.zjBtn {
width: 400px;
text-align: left;
vertical-align: middle;
span {
display: inline-block;
width: 140px;
height: 25px;
line-height: 25px;
text-align: center;
border-radius: 5px;
vertical-align: middle;
}
}
.midBtn {
margin: 0 auto;
height: 50px;
line-height: 50px;
span {
display: inline-block;
width: 80px;
height: 25px;
line-height: 25px;
text-align: center;
margin-right: 10px;
border-radius: 5px;
}
span:first-of-type {
border: 1px solid grey;
}
span:last-of-type {
background-color: #4ca6a7;
color: #fff;
}
}
.setscroll {
width: 100%;
height: 600px;
position: relative;
overflow: auto;
}
</style>
\ No newline at end of file
...@@ -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!