Commit 465ab405 by liangzhen

问题修改

1 parent 758743d9
......@@ -17,7 +17,7 @@ export function MaterialsList() {
{ batchtype: "执行", typeText: "需求说明书及评审意见", typeCode: "13" },
{ batchtype: "执行", typeText: "概要设计及评审意见", typeCode: "14" },
{ batchtype: "执行", typeText: "成果报告及评审意见", typeCode: "15" },
{ batchtype: "执行", typeText: "统(应用)第三方测试报告(含功能非功能、安全功能及渗透、源代码测试)", typeCode: "16" },
{ batchtype: "执行", typeText: "信息系统(应用)第三方测试报告(含功能非功能、安全功能及渗透、源代码测试)", typeCode: "16" },
{ batchtype: "执行", typeText: "安全防护方案及评审意见", typeCode: "17" },
{ batchtype: "执行", typeText: "上线试运行申请单", typeCode: "18" },
{ batchtype: "执行", typeText: "试运行验收申请单", typeCode: "19" },
......@@ -55,6 +55,7 @@ export function MaterialsListKY(type) {
case 2:
return [
{ batchtype: "计划", typeText: "公司下达计划信息", typeCode: "4" },
{ batchtype: "可研", typeText: "可研批复", typeCode: "2" },
]
break
case 3:
......@@ -63,22 +64,26 @@ export function MaterialsListKY(type) {
{ batchtype: "采购", typeText: "审批单、签报、呈报件等采购资料", typeCode: "6" },
{ batchtype: "采购", typeText: "招标采购技术规范", typeCode: "7" },
{ batchtype: "采购", typeText: "需求变更申请表(若有)", typeCode: "8" },
{ batchtype: "可研", typeText: "可研批复", typeCode: "2" },
{ batchtype: "计划", typeText: "公司下达计划信息", typeCode: "4" },
]
break
case 4:
return [
{ batchtype: "合同", typeText: "项目合同", typeCode: "9" },
{ batchtype: "合同", typeText: "技术协议", typeCode: "10" },
{ batchtype: "执行", typeText: " 合同变更文件(若有)", typeCode: "11" },
{ batchtype: "采购", typeText: "中标(成交)通知书", typeCode: "5" },
]
break
case 5:
return [
{ batchtype: "执行", typeText: " 合同变更文件(若有)", typeCode: "11" },
// { 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: "16" },
{ batchtype: "执行", typeText: "安全防护方案及评审意见", typeCode: "17" },
{ batchtype: "执行", typeText: "上线试运行申请单", typeCode: "18" },
{ batchtype: "执行", typeText: "试运行验收申请单", typeCode: "19" },
......@@ -93,6 +98,7 @@ export function MaterialsListKY(type) {
{ batchtype: "执行", typeText: "验收意见", typeCode: "28" },
{ batchtype: "执行", typeText: "验收专家签到表", typeCode: "29" },
{ batchtype: "执行", typeText: "实施方案等其他建设资料", typeCode: "30" },
{ batchtype: "合同", typeText: "项目合同", typeCode: "9" },
]
break
case 6:
......@@ -101,6 +107,7 @@ export function MaterialsListKY(type) {
{ batchtype: "结决算及转资", typeText: "项目决算报告(仅涉及含资本金的项目)", typeCode: "32" },
{ batchtype: "结决算及转资", typeText: "决算审计意见(仅涉及含资本金的项目)", typeCode: "33" },
{ batchtype: "结决算及转资", typeText: "记账凭证、转资清单、系统中资产截图等其他转资凭证", typeCode: "34" },
{ batchtype: "执行", typeText: "验收意见", typeCode: "28" },
]
break
}
......
......@@ -81,6 +81,7 @@
:autosize="{ minRows: 1, maxRows: 4 }"
placeholder="手动录入问题"
v-model="items.evalQues"
:disabled="items.disabled"
>
</el-input
><el-button @click="delInput(item, index)" type="primary"
......@@ -364,6 +365,9 @@ export default {
this.$set(item, "Id", 0);
});
}
if(this.urlList.length<=0){
return
}
let paramsUrl = {
fileId: this.urlList[0].id,
url: this.urlList[0].url,
......@@ -381,42 +385,68 @@ export default {
async handleClick(tab) {
console.log("切换", tab.name, this.urlList);
this.urlList.forEach(async (item) => {
if (item.typeCode == tab.name) {
let paramsUrl = {
fileId: item.id,
url: item.url,
};
let resUrl = await presignedUrl(paramsUrl);
this.iframeUrl = resUrl.msg;
}
if (item.typeCode == tab.name) {
let paramsUrl = {
fileId: item.id,
url: item.url,
};
let resUrl = await presignedUrl(paramsUrl);
this.iframeUrl = resUrl.msg;
}else{
this.iframeUrl =''
}
});
console.log(this.iframeUrl, "this.iframeUrl");
},
change(id) {
console.log("切换");
console.log("切换类型");
this.active = id * 1;
this.tabListKY = MaterialsListKY(id * 1 + 1);
this.init(this.clqparams);
},
delInput(item, index) {
if (item.evalList.length <= 1) {
item.checked=true
this.changeChecked(item)
// this.$set(item, "evalList", [
// {
// ideval: "",
// evalQues: "",
// hideUploadEdit:false,
// },
// ]);
// this.$set(item, "isProblem", 0);
return false;
}
item.evalList.splice(index, 1);
},
adopt(item, index, items) {
console.log(item, "item");
console.log(items, "items");
item.evalList.push({
if(item.evalList.length==1&&!item.evalList[0].evalQues){
item.evalList[0].evalQues=items.checkDesc
// this.$set(item,evalList,{
// evalQues: items.checkDesc,
// })
}else{
item.evalList.push({
ideval: "id" + item.Id++,
evalQues: items.checkDesc,
hideUploadEdit:false
});
}
},
addInput(item) {
console.log(item.Id, "22");
if(item.evalList[0].disabled==true){
console.log('选择了未发现问题')
return
}
console.log(item, "22");
item.evalList.push({
ideval: "id" + item.Id++,
data: "",
......@@ -432,14 +462,23 @@ export default {
ideval: "",
evalQues: "",
hideUploadEdit:false,
disabled:true
},
]);
this.$set(item, "Id", 0);
]);
this.$set(item, "isProblem", 0);
// this.$set(item, "Id", 0);
}else{
item.evalList[0].disabled=false
this.$set(item, "isProblem", 1);
}
},
cancel() {
console.log("电击取消");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({
path: "/mainLayout/auxiliaryInspection",
});
},
async save() {
let params = {
......
<template>
<div class="mian">
<div class="head-container">
<div class="logo" style="z-index: 10000">
<div class="logo" style="z-index: 10">
<div class="logo-inner">
<img src="../../assets/logo.png" alt="" />
</div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!