Commit 9a5ca2af by liangzhen

暂存

1 parent 68f4893f
......@@ -171,7 +171,7 @@
<el-tab-pane label="问题清单" name="second">
<p class="title"><span></span>项目基本信息</p>
<el-table
:data="qdtableData"
:data="xxtableData"
tooltip-effect="dark"
style="width: 100%"
header-cell-class-name="custom-th-background"
......@@ -243,6 +243,7 @@ export default {
return {
listData: {},
qdtableData: [],
xxtableData:[],
showButton: true,
ruleForm: {
batchYear: "",
......@@ -365,11 +366,11 @@ export default {
};
let res = await wtqdqselect(params);
if (res.code == "200") {
this.qdtableData = res.data.records;
this.xxtableData = res.data.records;
this.total = res.data.total * 1;
}
this.qdtableData.forEach((item) => {
this.xxtableData.forEach((item) => {
switch (item.projectStage) {
case 1:
this.$set(item, "projectStagetext", "1.可研");
......
......@@ -463,6 +463,7 @@ import {
export default {
data() {
return {
oldid:"",
ruleForm: {
batchYear: "",
batchName: "",
......@@ -590,6 +591,7 @@ export default {
console.log("222",this.checkedList);
this.dialogXQ = true;
this.ruleFormdialogBJ=this.checkedList[0]
let params={
current:this.addcurrentPage,
pageSize:this.pageSizeAdd,
......@@ -601,6 +603,7 @@ export default {
if (res.code == "200") {
this.addtableData = res.data.records;
this.addtotal = res.data.total * 1;
}
},
......@@ -628,6 +631,12 @@ export default {
if (res.code == "200") {
this.addtableData = res.data.records;
this.addtotal = res.data.total * 1;
this.oldid ="";
if(this.addtableData.length>0){
this.addtableData.forEach((item) => {
this.oldid= this.oldid.concat(item.projectId+',')
});
}
}
},
closeXQ(){
......@@ -705,6 +714,7 @@ export default {
let params = {
current: this.currentZJ,
pageSize: this.pageSizeZJ,
projectStr:this.oldid
};
Object.assign(params, this.ruleFormZJ);
let res = await getProjectInfo(params);
......
......@@ -241,7 +241,12 @@
<el-table-column label="材料类别" prop="batchtype"> </el-table-column>
<el-table-column prop="typeText" label="资料类型"> </el-table-column>
<el-table-column prop="fileName" label="资料名称"> </el-table-column>
<el-table-column prop="fileName" label="资料名称">
<template slot-scope="scope">
<el-button @click="handleClickXZ(scope.row)">{{scope.row.fileName}}</el-button>
</template>
</el-table-column>
<!-- <el-table-column prop="projectCategory" label="操作">
<template slot-scope="scope">
<input type="file" @change="handleFileUpload">
......@@ -389,10 +394,10 @@ export default {
this.$message("请选择");
return;
}
if (this.checkedList[0].postEvalStateText == "已上传") {
this.$message("已上传评估材料");
return;
}
// if (this.checkedList[0].postEvalStateText == "已上传") {
// this.$message("已上传评估材料");
// return;
// }
console.log("222");
this.dialog = true;
let params = {
......@@ -535,6 +540,15 @@ export default {
});
}
},
handleClickXZ(scope){
console.log(scope.url)
// const link = document.createElement('a')
//_blank表示在新窗口打开链接
// link.target = '_blank'
// link.href =scope.url
window.open(scope.url, '_blank');
}
},
};
</script>
......
<template>
<div>
<!-- <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>
<iframe src="http://192.168.50.1/static/#/" frameborder="0" style="width:100vw;height:100vh;"></iframe>
</div>
</template>
......
......@@ -156,6 +156,8 @@ export default {
},
mounted() {
// window.addEventListener("resize", this.handleResize);
sessionStorage.setItem("author", "sgtig_weizheng");
sessionStorage.setItem("authorName",99);
},
methods: {
handleResize() {
......
......@@ -12,11 +12,11 @@ module.exports = defineConfig({
devServer: {
hot: true,
proxy: {
'/api':{
target: `http://192.168.50.1:19000/arch-evaluation`, // pin
'/arch-evaluation':{
target: `http://192.168.50.1`, // pin
changeOrigin: true,
pathRewrite:{
"^/api":""
// "^/arch-evaluation":"/"
},
}
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!