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