Commit abc2dea4 by liangzhen

暂存

1 parent db0fe8ee
// 架构元模型 // 后评估互查
export const EADC_ARRCHITECTURE = '/eadc-architecture' export const ARCH_EVALUATION = '/arch-evaluation'
// 共享能力 // 共享能力
export const EADC_SHARED_ABILITY = '/eadc-shared-ability' export const EADC_SHARED_ABILITY = '/eadc-shared-ability'
......
export function MaterialsList(){
return [
{ batchtype: "可研", typeText: "可研报告或项目说明书", typeCode: "0" },
{ batchtype: "可研", typeText: "可研评审意见", typeCode: "1" },
{ batchtype: "可研", typeText: "可研批复", typeCode: "2" },
{ batchtype: "可研", typeText: "可研变更、论证、批复文件(若有)", typeCode: "3" },
{ batchtype: "计划", typeText: "公司下达计划信息", typeCode: "4" },
{ batchtype: "采购", typeText: "中标(成交)通知书", typeCode: "5" },
{ batchtype: "采购", typeText: "审批单、签报、呈报件等采购资料", typeCode: "6" },
{ batchtype: "采购", typeText: "招标采购技术规范", typeCode: "7" },
{ batchtype: "采购", typeText: "需求变更申请表(若有)", typeCode: "8" },
{ 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" },
{ 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" },
{ batchtype: "结决算及转资", typeText: "项目结算报告", typeCode: "31" },
{ batchtype: "结决算及转资", typeText: "项目决算报告(仅涉及含资本金的项目)", typeCode: "32" },
{ batchtype: "结决算及转资", typeText: "决算审计意见(仅涉及含资本金的项目)", typeCode: "33" },
{ batchtype: "结决算及转资", typeText: "记账凭证、转资清单、系统中资产截图等其他转资凭证", typeCode: "34" },
]
}
\ No newline at end of file
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<el-table-column prop="batchName" label="后评估批次名称"> <el-table-column prop="batchName" label="后评估批次名称">
</el-table-column> </el-table-column>
<el-table-column prop="projectName" label="评估项目名称"> <el-table-column prop="projectName" label="评估项目名称" show-overflow-tooltip >
</el-table-column> </el-table-column>
<el-table-column prop="projectCategory" label="建设形式"> <el-table-column prop="projectCategory" label="建设形式">
</el-table-column> </el-table-column>
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
</el-pagination> </el-pagination>
<!-- 问题复核 --> <!-- 问题复核 -->
<el-dialog <el-dialog
title="问题确认" title="复核情况"
:visible.sync="dialogQR" :visible.sync="dialogQR"
width="79%" width="79%"
:modal-append-to-body="false" :modal-append-to-body="false"
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
<el-table-column label="序号" width="100" prop="questionId"> <el-table-column label="序号" width="100" prop="questionId">
</el-table-column> </el-table-column>
<el-table-column label="问题检查项" prop="quesCheckItem"> <el-table-column label="问题检查项" prop="quesCheckItem" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="检查说明" label="检查说明"
...@@ -166,20 +166,18 @@ ...@@ -166,20 +166,18 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="解释批注"> <el-table-column label="解释批注">
<template <template slot-scope="scope" v-if="scope.row.confirmStatus == '1'">
slot-scope="scope" <el-input
v-if="scope.row.confirmStatus == '1'" v-model="scope.row.feedback"
>
<el-input v-model="scope.row.feedback"></el-input> ></el-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="附加解释材料" width="400"> <el-table-column label="附加解释材料" width="400">
<template <template slot-scope="scope" v-if="scope.row.confirmStatus == '1'&&scope.row.fileId">
slot-scope="scope" {{
v-if="scope.row.confirmStatus == '1' && scope.row.fileId" scope.row.fileName
> }} <el-button @click="handleClickXZ(scope.row)">下载</el-button>
{{ scope.row.fileName }}
<el-button @click="handleClickXZ(scope.row)">下载</el-button>
</template> </template>
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
<input type="file" @change="handleFileUpload"> <input type="file" @change="handleFileUpload">
...@@ -187,16 +185,14 @@ ...@@ -187,16 +185,14 @@
</template> --> </template> -->
</el-table-column> </el-table-column>
<el-table-column label="复核情况" prop="rectificationStatus"> <el-table-column label="复核情况" prop="rectificationStatus">
<template <template slot-scope="scope" v-if="scope.row.confirmStatus == '1'">
slot-scope="scope"
v-if="scope.row.confirmStatus == '1'"
>
<el-select <el-select
v-model="scope.row.appealStatus" v-model="scope.row.appealStatus"
placeholder="请选择" placeholder="请选择"
> >
<el-option label="请选择" value=""></el-option> <el-option label="请选择" value=""></el-option>
<el-option label="未申诉" :value="0"></el-option> <!-- <el-option label="未申诉" :value="0"></el-option> -->
<el-option label="已申诉" :value="1"></el-option> <el-option label="已申诉" :value="1"></el-option>
<el-option label="申诉驳回" :value="2"></el-option> <el-option label="申诉驳回" :value="2"></el-option>
<el-option label="申诉通过" :value="3"></el-option> <el-option label="申诉通过" :value="3"></el-option>
...@@ -243,7 +239,7 @@ ...@@ -243,7 +239,7 @@
<el-table-column label="序号" width="100" prop="questionId"> <el-table-column label="序号" width="100" prop="questionId">
</el-table-column> </el-table-column>
<el-table-column label="问题检查项" prop="quesCheckItem"> <el-table-column label="问题检查项" prop="quesCheckItem" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="检查说明" label="检查说明"
...@@ -275,33 +271,26 @@ ...@@ -275,33 +271,26 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="解释批注"> <el-table-column label="解释批注">
<template <template slot-scope="scope" v-if="scope.row.confirmStatus == '1'" >
slot-scope="scope" <el-input v-model="scope.row.feedback" disabled></el-input>
v-if="scope.row.confirmStatus == '1'"
>
<el-input v-model="scope.row.feedback"></el-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="附加解释材料" width="400"> <el-table-column label="附加解释材料" width="400">
<template <template slot-scope="scope" v-if="scope.row.confirmStatus == '1'&&scope.row.fileId">
slot-scope="scope" {{
v-if="scope.row.confirmStatus == '1' && scope.row.fileId" scope.row.fileName
> }} <el-button @click="handleClickXZ(scope.row)">下载</el-button>
{{ scope.row.fileName }}
<el-button @click="handleClickXZ(scope.row)">下载</el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="复核情况" prop="rectificationStatus"> <el-table-column label="复核情况" prop="rectificationStatus">
<template <template slot-scope="scope" v-if="scope.row.confirmStatus == '1'">
slot-scope="scope"
v-if="scope.row.confirmStatus == '1'"
>
<el-select <el-select
v-model="scope.row.appealStatus" v-model="scope.row.appealStatus"
placeholder="请选择" placeholder="请选择"
disabled
> >
<el-option label="请选择" :value="null"></el-option> <el-option label="请选择" :value="null"></el-option>
<el-option label="未申诉" :value="0"></el-option> <!-- <el-option label="未申诉" :value="0"></el-option> -->
<el-option label="已申诉" :value="1"></el-option> <el-option label="已申诉" :value="1"></el-option>
<el-option label="申诉驳回" :value="2"></el-option> <el-option label="申诉驳回" :value="2"></el-option>
<el-option label="申诉通过" :value="3"></el-option> <el-option label="申诉通过" :value="3"></el-option>
...@@ -325,7 +314,7 @@ import { ...@@ -325,7 +314,7 @@ import {
wtfhappealAssistanceConfirmatio, wtfhappealAssistanceConfirmatio,
xfappealAssistanceConfirmatio, xfappealAssistanceConfirmatio,
wtssSelAssistanceConfirmatio, wtssSelAssistanceConfirmatio,
downloadObject, downloadObject
} from "@/api/index"; } from "@/api/index";
export default { export default {
data() { data() {
...@@ -557,6 +546,10 @@ export default { ...@@ -557,6 +546,10 @@ export default {
this.dialogSS = false; this.dialogSS = false;
}, },
async saveSS() { async saveSS() {
// this.tableDataQR
let res = await wtfhappealAssistanceConfirmatio(this.tableDataQR); let res = await wtfhappealAssistanceConfirmatio(this.tableDataQR);
if (res.code == "200") { if (res.code == "200") {
this.dialogQR = false; this.dialogQR = false;
...@@ -641,22 +634,26 @@ export default { ...@@ -641,22 +634,26 @@ export default {
console.log("关闭"); console.log("关闭");
this.handleSelectionChange(); this.handleSelectionChange();
}, },
async handleClickXZ(scope) { async handleClickXZ(scope) {
console.log(scope.fileId); console.log(scope.fileId);
let response = await downloadObject({ let response=await downloadObject({
fileId: scope.fileId * 1, fileId:scope.fileId*1
}); })
let blob = new Blob([response]); let blob = new Blob([response]);
if ("download" in document.createElement("a")) { if ('download' in document.createElement('a')) {
let elink = document.createElement("a"); let elink = document.createElement('a');
elink.download = scope.fileName; elink.download = scope.fileName;
elink.style.display = "none"; elink.style.display = 'none';
elink.href = URL.createObjectURL(blob); elink.href = URL.createObjectURL(blob);
document.body.appendChild(elink); document.body.appendChild(elink);
elink.click(); elink.click();
URL.revokeObjectURL(elink.href); // 释放URL 对象 URL.revokeObjectURL(elink.href); // 释放URL 对象
document.body.removeChild(elink); document.body.removeChild(elink);
} }
}, },
}, },
}; };
...@@ -856,8 +853,8 @@ export default { ...@@ -856,8 +853,8 @@ export default {
} }
} }
.midBtn { .midBtn {
margin: 0 auto; margin: 20px auto;
margin-top: 20px; // margin-top: 20px;
span { span {
display: inline-block; display: inline-block;
width: 80px; width: 80px;
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<el-table-column prop="batchName" label="后评估批次名称"> <el-table-column prop="batchName" label="后评估批次名称">
</el-table-column> </el-table-column>
<el-table-column prop="projectName" label="评估项目名称"> <el-table-column prop="projectName" label="评估项目名称" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="projectCategory" label="建设形式"> <el-table-column prop="projectCategory" label="建设形式">
</el-table-column> </el-table-column>
...@@ -544,6 +544,14 @@ export default { ...@@ -544,6 +544,14 @@ export default {
this.dialogSS = false; this.dialogSS = false;
}, },
async saveSS() { async saveSS() {
this.tableDataQR.forEach((item) => {
if (item.confirmStatus == "1") {
if (!item.feedback) {
this.$message("有未填写的的解释批注");
throw new Error("主动跳出循环");
}
}
});
let res = await wtzgProblemRectification(this.tableDataQR); let res = await wtzgProblemRectification(this.tableDataQR);
if (res.code == "200") { if (res.code == "200") {
this.dialogQR = false; this.dialogQR = false;
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<el-table-column prop="batchName" label="后评估批次名称"> <el-table-column prop="batchName" label="后评估批次名称">
</el-table-column> </el-table-column>
<el-table-column prop="projectName" label="评估项目名称"> <el-table-column prop="projectName" label="评估项目名称" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="projectCategory" label="建设形式"> <el-table-column prop="projectCategory" label="建设形式">
</el-table-column> </el-table-column>
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<el-table-column prop="batchName" label="后评估批次名称"> <el-table-column prop="batchName" label="后评估批次名称">
</el-table-column> </el-table-column>
<el-table-column prop="projectName" label="评估项目名称"> <el-table-column prop="projectName" label="评估项目名称" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="projectCategory" label="建设形式"> <el-table-column prop="projectCategory" label="建设形式">
</el-table-column> </el-table-column>
......
...@@ -704,6 +704,8 @@ export default { ...@@ -704,6 +704,8 @@ export default {
} }
/deep/ .el-table__cell { /deep/ .el-table__cell {
text-align: center; text-align: center;
// color:#eeeeee;
} }
.setscroll { .setscroll {
width: 100%; width: 100%;
...@@ -786,4 +788,13 @@ export default { ...@@ -786,4 +788,13 @@ export default {
margin-top: 3vh !important; margin-top: 3vh !important;
margin-left: 3vw !important; margin-left: 3vw !important;
} }
/deep/ .el-table__header th{
// backcolor:#eeeeee;
background-color: #eeeeee;
}
/deep/ .el-table thead.is-group th.el-table__cell{
background-color: #eeeeee !important;
}
// #eeeeee
</style> </style>
\ No newline at end of file
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<el-table-column prop="batchName" label="后评估批次名称"> <el-table-column prop="batchName" label="后评估批次名称">
</el-table-column> </el-table-column>
<el-table-column prop="projectName" label="评估项目名称"> <el-table-column prop="projectName" label="评估项目名称" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="projectCategory" label="建设形式"> <el-table-column prop="projectCategory" label="建设形式">
</el-table-column> </el-table-column>
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
<el-table-column prop="batchName" label="后评估批次名称"> <el-table-column prop="batchName" label="后评估批次名称">
</el-table-column> </el-table-column>
<el-table-column prop="projectName" label="评估项目名称"> <el-table-column prop="projectName" label="评估项目名称" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="projectCategory" label="建设形式"> <el-table-column prop="projectCategory" label="建设形式">
</el-table-column> </el-table-column>
......
...@@ -544,16 +544,18 @@ export default { ...@@ -544,16 +544,18 @@ export default {
'$route.params': { '$route.params': {
immediate: true, immediate: true,
handler(newParams, oldParams) { handler(newParams, oldParams) {
//现在配合demo路由变化掉了两次接口等线上去掉这块时候mounted要调用
this.submitForm(); this.submitForm();
} }
} }
}, },
mounted() { mounted() {
console.log('author') console.log('author')
this.submitForm(); // this.submitForm();
}, },
methods: { methods: {
async submitForm() { async submitForm() {
console.log('来了几次')
let params = { let params = {
current: this.currentPage, current: this.currentPage,
pageSize: this.pageSize, pageSize: this.pageSize,
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="batchName" label="后评估批次名称" width="auto"> <el-table-column prop="batchName" label="后评估批次名称" width="auto">
</el-table-column> </el-table-column>
<el-table-column prop="projectName" label="评估项目名称" width="auto"> <el-table-column prop="projectName" label="评估项目名称" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="projectCategory" label="建设形式" width="auto"> <el-table-column prop="projectCategory" label="建设形式" width="auto">
</el-table-column> </el-table-column>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="项目名称:" prop="projectName" class="fromItem"> <el-form-item label="项目名称:" prop="projectName" class="fromItem" show-overflow-tooltip>
<el-input <el-input
v-model="ruleForm.projectName" v-model="ruleForm.projectName"
placeholder="请输入" placeholder="请输入"
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<el-table-column prop="batchName" label="后评估批次名称"> <el-table-column prop="batchName" label="后评估批次名称">
</el-table-column> </el-table-column>
<el-table-column prop="projectName" label="评估项目名称"> <el-table-column prop="projectName" label="评估项目名称" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="projectCategory" label="建设形式"> <el-table-column prop="projectCategory" label="建设形式">
</el-table-column> </el-table-column>
...@@ -271,6 +271,7 @@ ...@@ -271,6 +271,7 @@
</template> </template>
<script> <script>
import { MaterialsList } from '@/utils/cache'
import { import {
evaluationMaterials, evaluationMaterials,
clqdevaluationMaterials, clqdevaluationMaterials,
...@@ -298,44 +299,47 @@ export default { ...@@ -298,44 +299,47 @@ export default {
fullName: "", fullName: "",
}, },
tableData: [], tableData: [],
tableDataQD: [ // tableDataQD: [
{ batchtype: "开发、实施类", typeText: "技术规范书", typeCode: "0" }, // { batchtype: "开发、实施类", typeText: "技术规范书", typeCode: "0" },
{ // {
batchtype: "开发、实施类", // batchtype: "开发、实施类",
typeText: "可行性研究报告", // typeText: "可行性研究报告",
typeCode: "1", // typeCode: "1",
}, // },
{ // {
batchtype: "开发、实施类", // batchtype: "开发、实施类",
typeText: "需求规格说明书", // typeText: "需求规格说明书",
typeCode: "2", // typeCode: "2",
}, // },
{ // {
batchtype: "开发、实施类", // batchtype: "开发、实施类",
typeText: "概要设计说明书", // typeText: "概要设计说明书",
typeCode: "3", // typeCode: "3",
}, // },
{ batchtype: "开发、实施类", typeText: "安全防护方案", typeCode: "4" }, // { batchtype: "开发、实施类", typeText: "安全防护方案", typeCode: "4" },
], //清单列表 // ], //清单列表
tableDataNew: [ // tableDataNew: [
{ batchtype: "开发、实施类", typeText: "技术规范书", typeCode: "0" }, // { batchtype: "开发、实施类", typeText: "技术规范书", typeCode: "0" },
{ // {
batchtype: "开发、实施类", // batchtype: "开发、实施类",
typeText: "可行性研究报告", // typeText: "可行性研究报告",
typeCode: "1", // typeCode: "1",
}, // },
{ // {
batchtype: "开发、实施类", // batchtype: "开发、实施类",
typeText: "需求规格说明书", // typeText: "需求规格说明书",
typeCode: "2", // typeCode: "2",
}, // },
{ // {
batchtype: "开发、实施类", // batchtype: "开发、实施类",
typeText: "概要设计说明书", // typeText: "概要设计说明书",
typeCode: "3", // typeCode: "3",
}, // },
{ batchtype: "开发、实施类", typeText: "安全防护方案", typeCode: "4" }, // { batchtype: "开发、实施类", typeText: "安全防护方案", typeCode: "4" },
], // ],
tableDataQD:JSON.parse(JSON.stringify(MaterialsList())),
tableDataNew:MaterialsList(),
checkedList: [], checkedList: [],
currentPage: 1, currentPage: 1,
pageSize: 10, pageSize: 10,
...@@ -355,7 +359,7 @@ export default { ...@@ -355,7 +359,7 @@ export default {
} }
}, },
mounted() { mounted() {
this.submitForm(); // this.submitForm();
}, },
methods: { methods: {
async submitForm() { async submitForm() {
...@@ -534,10 +538,17 @@ export default { ...@@ -534,10 +538,17 @@ export default {
ossupload(formData) ossupload(formData)
.then((response) => { .then((response) => {
console.log(response); console.log(response);
this.$set(row, "fileName", response.data.fileName); if(response.code=='200'){
this.$message('上传成功')
this.$set(row, "fileName", response.data.fileName);
}else{
this.$message('上传失败')
}
}) })
.catch((error) => { .catch((error) => {
console.error(error); console.error(error);
this.$message('上传失败')
}); });
} }
}, },
...@@ -623,7 +634,9 @@ export default { ...@@ -623,7 +634,9 @@ export default {
} }
} }
.eltable { .eltable {
widows: 100%; width: 100%;
// height: 650px;
// overflow-y: auto;
box-sizing: border-box; box-sizing: border-box;
} }
/deep/ .el-table .warning-row { /deep/ .el-table .warning-row {
...@@ -701,6 +714,7 @@ export default { ...@@ -701,6 +714,7 @@ export default {
.Btn { .Btn {
width: 200px; width: 200px;
margin: 0 auto; margin: 0 auto;
margin-top: 20px;
span { span {
display: inline-block; display: inline-block;
width: 80px; width: 80px;
...@@ -746,4 +760,10 @@ export default { ...@@ -746,4 +760,10 @@ export default {
overflow: auto; overflow: auto;
} }
} }
.dialog{
.eltable{
height: 650px;
overflow-y: auto;
}
}
</style> </style>
\ No newline at end of file
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<el-table-column prop="batchName" label="后评估批次名称"> <el-table-column prop="batchName" label="后评估批次名称">
</el-table-column> </el-table-column>
<el-table-column prop="projectName" label="评估项目名称"> <el-table-column prop="projectName" label="评估项目名称" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="projectCategory" label="建设形式"> <el-table-column prop="projectCategory" label="建设形式">
</el-table-column> </el-table-column>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!