Commit 68f4893f by liangzhen

ifame

1 parent 5cd51fce
......@@ -144,6 +144,12 @@ export const routes = [
},
]
},
{
path:'/analysisCore',
name:"analysisCore",
component: () => import('@/views/layout/analysisCore.vue'),
}
]
},
......
......@@ -68,8 +68,8 @@
</el-table-column>
<el-table-column prop="batchName" label="评估项目" width="auto">
</el-table-column>
<el-table-column prop="prjsOfExpert" label="已选择数量" width="auto">
</el-table-column>
<!-- <el-table-column prop="prjsOfExpert" label="已选择数量" width="auto">
</el-table-column> -->
</el-table>
</div>
<el-pagination
......@@ -114,11 +114,11 @@
v-model="ruleFormdialogBJ.planReviewDate" disabled
></el-input>
</el-form-item>
<el-form-item label="每位专家可评估项目数:" prop="prjsOfExpert" class="fromItem">
<!-- <el-form-item label="每位专家可评估项目数:" prop="prjsOfExpert" class="fromItem">
<el-input
v-model="ruleFormdialogBJ.prjsOfExpert" disabled
></el-input>
</el-form-item>
</el-form-item> -->
<el-form-item label="工作组织情况:" class="textarea">
<el-input
type="textarea"
......@@ -142,6 +142,7 @@
class="eltable"
:row-class-name="tableRowClassName"
border
>
<el-table-column label="序号" width="55" type="index">
</el-table-column>
......@@ -150,7 +151,7 @@
</el-table-column>
<el-table-column prop="projectYear" label="项目下达年度" width="auto">
</el-table-column>
<el-table-column prop="projectName" label="项目名称" width="auto">
<el-table-column prop="projectName" label="项目名称" width="auto" show-overflow-tooltip>
</el-table-column>
<el-table-column prop="projectCategory" label="建设形式" width="auto">
</el-table-column>
......@@ -196,7 +197,6 @@
:model="ruleFormdialogBJ"
label-width="150px"
class="demo-ruleForm"
:rules="rules"
>
<el-form-item label="批次年度:" prop="batchYear" class="fromItem">
<el-input v-model="ruleFormdialogBJ.batchYear" disabled></el-input>
......@@ -213,7 +213,7 @@
v-model="ruleFormdialogBJ.planReviewDate" disabled
></el-input>
</el-form-item>
<el-form-item label="每位专家可评估项目数:" prop="prjsOfExpert" class="fromItem">
<!-- <el-form-item label="每位专家可评估项目数:" prop="prjsOfExpert" class="fromItem">
<el-select
v-model="ruleFormdialogBJ.prjsOfExpert"
placeholder="请选择"
......@@ -224,7 +224,7 @@
<el-option label="300" value="300"></el-option>
<el-option label="不限" value="不限"></el-option>
</el-select>
</el-form-item>
</el-form-item> -->
<el-form-item label="工作组织情况:" class="textarea">
<el-input
type="textarea"
......@@ -256,7 +256,7 @@
</el-table-column>
<el-table-column prop="projectYear" label="项目下达年度" width="auto">
</el-table-column>
<el-table-column prop="projectName" label="项目名称" width="auto">
<el-table-column prop="projectName" label="项目名称" width="auto" show-overflow-tooltip>
</el-table-column>
<el-table-column prop="projectCategory" label="建设形式" width="auto">
</el-table-column>
......@@ -319,7 +319,7 @@
clearable
></el-input>
</el-form-item>
<el-form-item label="项目名称:" prop="projectName" class="fromItem">
<el-form-item label="项目名称:" prop="projectName" class="fromItem" >
<el-input
v-model="ruleFormZJ.projectName"
placeholder="请输入"
......@@ -385,7 +385,7 @@
</el-table-column>
<el-table-column prop="projectYear" label="项目下达年度" width="200">
</el-table-column>
<el-table-column prop="projectName" label="项目名称" width="200">
<el-table-column prop="projectName" label="项目名称" width="auto" show-overflow-tooltip>
</el-table-column>
<el-table-column prop="projectCategory" label="建设形式" width="200">
</el-table-column>
......@@ -493,16 +493,16 @@ export default {
prjsOfExpert:"",
description: "",
},
rules: {
prjsOfExpert: [
{
required: true,
message: "请选择每位专家可评估项目数",
trigger: "change",
},
]
// rules: {
// prjsOfExpert: [
// {
// required: true,
// message: "请选择每位专家可评估项目数",
// trigger: "change",
// },
// ]
},
// },
tableData: [],
tableDataQD: [], //清单列表
checkedList: [],
......
......@@ -311,6 +311,25 @@ export default {
},
{ 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" },
],
checkedList: [],
currentPage: 1,
pageSize: 10,
......@@ -380,15 +399,16 @@ export default {
current: this.currentPage,
pageSize: this.pageSize,
projectId: this.checkedList[0].projectId,
batchId:this.checkedList[0].batchId
};
let res = await clqdevaluationMaterials(params);
this.tableDataQD =this.tableDataNew
if (res.data.records.length > 0) {
// this.tableDataQD = res.data.records;
this.tableDataQD = this.tableDataQD
.concat(res.data.records)
.reduce((accumulator, currentObj) => {
const existingObj = accumulator.find(
(obj) => obj.itypeCode === currentObj.typeCode
(obj) => obj.typeCode == currentObj.typeCode
);
if (existingObj) {
Object.assign(existingObj, currentObj);
......@@ -422,13 +442,15 @@ export default {
current: this.currentPage,
pageSize: this.pageSize,
projectId: this.checkedList[0].projectId,
batchId:this.checkedList[0].batchId
};
let res = await clqdevaluationMaterials(params);
this.tableDataQD =this.tableDataNew
this.tableDataQD = this.tableDataQD
.concat(res.data.records)
.reduce((accumulator, currentObj) => {
const existingObj = accumulator.find(
(obj) => obj.itypeCode === currentObj.typeCode
(obj) => obj.typeCode == currentObj.typeCode
);
if (existingObj) {
Object.assign(existingObj, currentObj);
......@@ -501,6 +523,7 @@ export default {
formData.append("file", this.file);
formData.append("prjId", this.checkedList[0].projectId);
formData.append("typeCode", row.typeCode);
formData.append("bathId", this.checkedList[0].batchId);
ossupload(formData)
.then((response) => {
......
<template>
<div>
<iframe name="iframeName" id="iframeId" src="./test.html"></iframe>
<!-- <iframe name="iframeName" id="iframeId" src="../static/index.html" frameborder="0"></iframe> -->
<iframe src="/static/index.html" frameborder="0" style="width:100vw;height:100vh;"></iframe>
</div>
</template>
......@@ -11,5 +12,9 @@ export default {
</script>
<style>
#iframeId{
width: 100%;
height: 100vh;
}
</style>
\ No newline at end of file
......@@ -38,7 +38,7 @@
<div id="hpg" @click="navigateToChild('5','/mainLayout')" :class="active=='5'?'active':''">
<span class="between iconfont" >&#xe612;</span>&nbsp;后评估管控中心
</div>
<div id="zhfx" :class="active=='6'?'active':''" @click="navigateToChild('6','/mainLayout')">
<div id="zhfx" :class="active=='6'?'active':''" @click="navigateToChild('6','/analysisCore')">
<span class="between iconfont">&#xe603;</span>&nbsp;综合分析中心
</div>
<div id="xtgl" :class="active=='7'?'active':''">
......
<template>
<div class="layout">
<LeftBar class="bar" :authority="authority" :autho="autho"></LeftBar>
<LeftBar class="bar" :authority="authority" :autho="autho" ref="child"></LeftBar>
<ContinerView class="continer" id="myElement">
<router-view></router-view>
</ContinerView>
......@@ -10,6 +10,8 @@
class="el-menu-vertical-demo"
:unique-opened="true"
@open="handleOpen"
@close="handleClose"
ref="menu"
>
<el-submenu
v-for="(item, index) in menuList"
......@@ -147,8 +149,10 @@ export default {
},
],
authority: null,
autho:null
autho:null,
KeyIndex:"",
};
},
mounted() {
// window.addEventListener("resize", this.handleResize);
......@@ -181,7 +185,16 @@ export default {
sessionStorage.setItem("authorName", a.id);
this.authority = a.id;
this.autho= b.code
this.$refs.menu.close("0");
},
handleOpen(key,bb) {
console.log(key,bb)
this.KeyIndex = key;
},
handleClose(){
this.isCollapsed=!this.isCollapsed
}
},
};
</script>
......
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vue App</title><script defer="defer" src="/js/chunk-vendors.4a9bcec5.js"></script><script defer="defer" src="/js/app.ae14cf60.js"></script><link href="/css/chunk-vendors.10dd4e95.css" rel="stylesheet"><link href="/css/app.9c33aee3.css" rel="stylesheet"></head><body><div id="app"></div></body></html>
\ No newline at end of file
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -13,7 +13,7 @@ module.exports = defineConfig({
hot: true,
proxy: {
'/api':{
target: `http://192.168.50.1:18101`, // pin
target: `http://192.168.50.1:19000/arch-evaluation`, // pin
changeOrigin: true,
pathRewrite:{
"^/api":""
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!