Commit b53edf76 by liangzhen

暂存一版

1 parent be71b77c
This diff could not be displayed because it is too large.
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
"axios": "^1.6.2", "axios": "^1.6.2",
"core-js": "^3.8.3", "core-js": "^3.8.3",
"echarts": "^5.5.0", "echarts": "^5.5.0",
"el-table-horizontal-scroll": "^1.2.5",
"element-ui": "^2.15.14", "element-ui": "^2.15.14",
"jquery": "^3.7.1", "jquery": "^3.7.1",
"scss": "^0.2.4", "scss": "^0.2.4",
......
...@@ -9,6 +9,8 @@ import './styles/common.scss' ...@@ -9,6 +9,8 @@ import './styles/common.scss'
import '@/assets/icon/iconfont.css' import '@/assets/icon/iconfont.css'
import initDirective from './directive' import initDirective from './directive'
import horizontalScroll from 'el-table-horizontal-scroll'
import { postRequest, postRequestShared } from '@/api/index' import { postRequest, postRequestShared } from '@/api/index'
initDirective(Vue) initDirective(Vue)
Vue.prototype.$echarts = echarts Vue.prototype.$echarts = echarts
...@@ -16,7 +18,7 @@ Vue.prototype.$echarts = echarts ...@@ -16,7 +18,7 @@ Vue.prototype.$echarts = echarts
Vue.config.productionTip = false Vue.config.productionTip = false
Vue.prototype.$postRequest = postRequest Vue.prototype.$postRequest = postRequest
Vue.prototype.$postRequestShared = postRequestShared Vue.prototype.$postRequestShared = postRequestShared
Vue.use(horizontalScroll)
Vue.use(ElementUI) Vue.use(ElementUI)
Date.prototype.format = function (fmt) { Date.prototype.format = function (fmt) {
if (!fmt) { if (!fmt) {
......
...@@ -44,9 +44,9 @@ ...@@ -44,9 +44,9 @@
<el-option label="已整改" value="2"></el-option> <el-option label="已整改" value="2"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="申诉状态:" prop="appealStatus" class="fromItem"> <!-- <el-form-item label="申诉状态:" prop="appealStatus" class="fromItem">
<el-select <el-select
v-model="ruleForm.reviewStatus" v-model="ruleForm.appealStatus"
placeholder="请选择" placeholder="请选择"
clearable clearable
> >
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<el-option label="申诉通过" value="3"></el-option> <el-option label="申诉通过" value="3"></el-option>
</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">
<el-input <el-input
v-model="ruleForm.projectName" v-model="ruleForm.projectName"
...@@ -626,6 +626,7 @@ export default { ...@@ -626,6 +626,7 @@ export default {
let res = await wtfhappealAssistanceConfirmatio(this.tableDataQR); let res = await wtfhappealAssistanceConfirmatio(this.tableDataQR);
if (res.code == "200") { if (res.code == "200") {
this.$message('保存成功')
this.dialogQR = false; this.dialogQR = false;
this.resetForm(); this.resetForm();
} }
...@@ -1071,6 +1072,7 @@ h3 { ...@@ -1071,6 +1072,7 @@ h3 {
// margin-top: 3vh; // margin-top: 3vh;
} }
} }
// ::-webkit-scrollbar { // ::-webkit-scrollbar {
// width: 6px; // 横向滚动条 // width: 6px; // 横向滚动条
......
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
<p class="title"><span></span>项目基本信息</p> <p class="title"><span></span>项目基本信息</p>
<div class="content"> <div class="content">
<p><label>项目编号:</label>{{ listData.projectId }}</p> <p><label>项目编号:</label>{{ listData.projectId }}</p>
<p><label>项目下达年度:</label>{{ listData.projectYear }}</p> <p><label>项目下达年度:</label>{{ listData.projectYear }}</p>
<p> <p>
<label>项目名称:</label> <label>项目名称:</label>
<span>{{ listData.projectName }}</span> <span>{{ listData.projectName }}</span>
...@@ -165,10 +165,10 @@ ...@@ -165,10 +165,10 @@
>{{ listData.capitalAmountTotal }} >{{ listData.capitalAmountTotal }}
</p> </p>
<p><label>部门:</label>{{ listData.department }}</p> <p><label>部门:</label>{{ listData.department }}</p>
<p><label>创建人:</label>{{ listData.inputuser }}</p> <!-- <p><label>创建人:</label>{{ listData.inputuser }}</p>
<p><label>创建时间:</label>{{ listData.inputuser }}</p> <p><label>创建时间:</label>{{ listData.inputuser }}</p>
<p><label>修改人:</label>{{ listData.lastUpdatedby }}</p> <p><label>修改人:</label>{{ listData.lastUpdatedby }}</p>
<p><label>修改时间:</label>{{ listData.lastUpdateTime }}</p> <p><label>修改时间:</label>{{ listData.lastUpdateTime }}</p> -->
</div> </div>
<div class="table"> <div class="table">
<p>项目后评估资料:</p> <p>项目后评估资料:</p>
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
</div> </div>
<p class="title"><span></span>批次详情</p> <p class="title"><span></span>批次详情</p>
<div class="content"> <div class="content">
<p><label>批次年度:</label>{{ listData.batchYear }}</p> <p><label>批次年度:</label>{{ listData.batchYear }}</p>
<p><label>后评估批次名称:</label>{{ listData.batchName }}</p> <p><label>后评估批次名称:</label>{{ listData.batchName }}</p>
<p><label>计划评审日期:</label>{{ listData.planReviewDate }}</p> <p><label>计划评审日期:</label>{{ listData.planReviewDate }}</p>
</div> </div>
...@@ -263,10 +263,19 @@ ...@@ -263,10 +263,19 @@
> >
</el-table-column> </el-table-column>
<el-table-column label="评估问题" prop="evalQues"> <el-table-column label="评估问题" prop="evalQues">
<!-- <template slot-scope="scope">
<el-input v-model="scope.row.evalQues"></el-input>
</template> -->
</el-table-column> </el-table-column>
<el-table-column label="问题截图" width="auto">
<template slot-scope="scope">
<el-image
class="imgList"
v-for="(img, index) in scope.row.images"
:key="index"
:src="img"
:preview-src-list="scope.row.images"
@click="handleImageClick(scope.row.images)"
></el-image>
</template>
</el-table-column>
</el-table> </el-table>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="评审流程" name="third"> <el-tab-pane label="评审流程" name="third">
...@@ -303,6 +312,7 @@ import { ...@@ -303,6 +312,7 @@ import {
wtqdqselect, wtqdqselect,
clqdselect, clqdselect,
selLcb, selLcb,
presignedUrl,
downloadObject downloadObject
} from "@/api/index"; } from "@/api/index";
import { generateYearOptions ,projectCategoryText} from "@/utils/cache"; import { generateYearOptions ,projectCategoryText} from "@/utils/cache";
...@@ -394,12 +404,10 @@ export default { ...@@ -394,12 +404,10 @@ export default {
projectId: this.checkedList[0].projectId, projectId: this.checkedList[0].projectId,
}; };
Promise.all([fzcxXqselect(params), clqdselect(params)]).then((res) => { Promise.all([fzcxXqselect(params), clqdselect(params)]).then((res) => {
console.log(res[0], res[1], "2222222");
this.listData = res[0].data.records[0]; this.listData = res[0].data.records[0];
this.listData.projectCategory=projectCategoryText(this.listData.projectCategory)
this.qdtableData = JSON.parse(JSON.stringify(this.tableDataNew)); this.qdtableData = JSON.parse(JSON.stringify(this.tableDataNew));
if (res[1].data.records.length > 0) { if (res[1].data.records.length > 0) {
// this.qdtableData = res[1].data.records;
this.qdtableData = this.qdtableData this.qdtableData = this.qdtableData
.concat(res[1].data.records) .concat(res[1].data.records)
.reduce((accumulator, currentObj) => { .reduce((accumulator, currentObj) => {
...@@ -412,9 +420,7 @@ export default { ...@@ -412,9 +420,7 @@ export default {
accumulator.push(currentObj); accumulator.push(currentObj);
} }
return accumulator; return accumulator;
}, []); }, []);
console.log(this.tableDataQD, " mergedArray mergedArray mergedArray");
} }
}); });
}, },
...@@ -494,6 +500,30 @@ export default { ...@@ -494,6 +500,30 @@ export default {
this.$set(item, "projectStagetext", "6.结决算及转资"); this.$set(item, "projectStagetext", "6.结决算及转资");
break; break;
} }
let urlStr = item.url;
let arrUrl = [];
let showUrlList = [];
// 有url拆分调接口换预览
if (urlStr) {
console.log(urlStr, "urlStr");
if (urlStr.includes(",")) {
arrUrl = item.url.split(",");
} else {
arrUrl.push(urlStr);
}
console.log(arrUrl, "arrUrlarrUrl");
arrUrl.forEach(async (showUrl) => {
let paramsUrl = {
url: showUrl,
};
let resUrl = await presignedUrl(paramsUrl);
showUrlList.push(resUrl.msg);
});
console.log(showUrlList, "showUrlList");
this.$set(item, "images", showUrlList);
}
}); });
this.dataPretreatment(); this.dataPretreatment();
} else if (this.activeName == "third") { } else if (this.activeName == "third") {
...@@ -530,6 +560,7 @@ export default { ...@@ -530,6 +560,7 @@ export default {
cancel() { cancel() {
this.dialog = false; this.dialog = false;
}, },
handleImageClick() {},
async handleClickXZ(scope) { async handleClickXZ(scope) {
console.log(scope.fileId); console.log(scope.fileId);
let response = await downloadObject({ let response = await downloadObject({
...@@ -814,4 +845,10 @@ h3 { ...@@ -814,4 +845,10 @@ h3 {
overflow: auto; overflow: auto;
} }
} }
.imgList {
/deep/ .el-image__inner {
width: 60px;
height: 60px;
}
}
</style> </style>
\ No newline at end of file
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
<p class="tips">问题描述:</p> <p class="tips">问题描述:</p>
<div <div
v-for="(items, index) in item.evalList" v-for="(items, index) in item.evalList"
:key="items.ideval" :key="index"
class="inputDiv" class="inputDiv"
> >
<el-input <el-input
...@@ -204,7 +204,6 @@ export default { ...@@ -204,7 +204,6 @@ export default {
fileList: [], fileList: [],
evalList: [ evalList: [
{ {
ideval: "",
evalQues: "", evalQues: "",
hideUploadEdit: false, hideUploadEdit: false,
}, },
...@@ -305,6 +304,7 @@ export default { ...@@ -305,6 +304,7 @@ export default {
async init(type) { async init(type) {
let params = { let params = {
projectStage: this.active * 1 + 1, projectStage: this.active * 1 + 1,
hgx:"hgx",
...type, ...type,
}; };
Promise.all([selFile(params), selWtqdFZ(params)]).then(async (res) => { Promise.all([selFile(params), selWtqdFZ(params)]).then(async (res) => {
...@@ -351,7 +351,6 @@ export default { ...@@ -351,7 +351,6 @@ export default {
} else { } else {
this.$set(item, "evalList", [ this.$set(item, "evalList", [
{ {
ideval: "",
evalQues: "", evalQues: "",
hideUploadEdit: false, hideUploadEdit: false,
}, },
...@@ -481,7 +480,6 @@ export default { ...@@ -481,7 +480,6 @@ export default {
// }) // })
} else { } else {
item.evalList.push({ item.evalList.push({
ideval: "id" + item.Id++,
evalQues: items.checkDesc, evalQues: items.checkDesc,
hideUploadEdit: false, hideUploadEdit: false,
}); });
...@@ -494,11 +492,9 @@ export default { ...@@ -494,11 +492,9 @@ export default {
} }
console.log(item, "22"); console.log(item, "22");
item.evalList.push({ item.evalList.push({
ideval: "id" + item.Id++,
data: "", data: "",
evalQues: "", evalQues: "",
}); });
console.log(item.evalList, "item.evalList");
}, },
changeChecked(item) { changeChecked(item) {
console.log(item, "2222"); console.log(item, "2222");
......
...@@ -40,10 +40,10 @@ ...@@ -40,10 +40,10 @@
<el-button @click="submitForm()"> <el-button @click="submitForm()">
<img class="buttonIcon" src="../../assets/cx.png" />查询</el-button <img class="buttonIcon" src="../../assets/cx.png" />查询</el-button
> >
<el-button @click="resetForm('ruleForm')"> <el-button @click="resetForm()">
<img class="buttonIcon" src="../../assets/cz.png" />重置</el-button <img class="buttonIcon" src="../../assets/cz.png" />重置</el-button
> >
<el-button @click="detailsForm('ruleForm')"> <el-button @click="detailsForm()">
<img class="buttonIcon" src="../../assets/ck.png" />详情</el-button <img class="buttonIcon" src="../../assets/ck.png" />详情</el-button
> >
<el-button @click="configs()" <el-button @click="configs()"
...@@ -72,8 +72,8 @@ ...@@ -72,8 +72,8 @@
<el-table-column label="批次年度" prop="batchYear"> <el-table-column label="批次年度" prop="batchYear">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.batchYear }} {{ scope.row.batchYear }}
</template></el-table-column </template>
> </el-table-column>
<el-table-column prop="batchName" label="后评估批次名称"> <el-table-column prop="batchName" label="后评估批次名称">
</el-table-column> </el-table-column>
...@@ -148,11 +148,6 @@ ...@@ -148,11 +148,6 @@
disabled disabled
></el-input> ></el-input>
</el-form-item> </el-form-item>
<!-- <el-form-item label="每位专家可评估项目数:" prop="prjsOfExpert" class="fromItem">
<el-input
v-model="ruleFormdialogBJ.prjsOfExpert" disabled
></el-input>
</el-form-item> -->
<el-form-item label="工作组织情况:" class="textarea"> <el-form-item label="工作组织情况:" class="textarea">
<el-input <el-input
type="textarea" type="textarea"
...@@ -201,22 +196,14 @@ ...@@ -201,22 +196,14 @@
width="auto" width="auto"
> >
</el-table-column> </el-table-column>
<!-- <el-table-column
prop="projectStatus"
label="项目建设阶段"
width="auto"
>
</el-table-column> -->
<!-- <el-table-column prop="哪个字段" label="历史核查状态" width="auto">
</el-table-column> -->
<el-table-column prop="department" label="部门" width="auto"> <el-table-column prop="department" label="部门" width="auto">
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<el-pagination <el-pagination
@size-change="handleSizeChangeAdd" @size-change="handleSizeChangXQ"
@current-change="handleCurrentChangeAdd" @current-change="handleCurrentChangeXQ"
:current-page="addcurrentPage" :current-page="currentPageXQ"
:page-sizes="[5, 10, 20, 50]" :page-sizes="[5, 10, 20, 50]"
:page-size="100" :page-size="100"
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
...@@ -261,18 +248,8 @@ ...@@ -261,18 +248,8 @@
disabled disabled
></el-input> ></el-input>
</el-form-item> </el-form-item>
<!-- <el-form-item label="每位专家可评估项目数:" prop="prjsOfExpert" class="fromItem">
<el-select
v-model="ruleFormdialogBJ.prjsOfExpert"
placeholder="请选择"
clearable
>
<el-option label="100" value="100"></el-option>
<el-option label="200" value="200"></el-option>
<el-option label="300" value="300"></el-option>
<el-option label="不限" value="不限"></el-option>
</el-select>
</el-form-item> -->
<el-form-item label="工作组织情况:" class="textarea"> <el-form-item label="工作组织情况:" class="textarea">
<el-input <el-input
type="textarea" type="textarea"
...@@ -288,7 +265,11 @@ ...@@ -288,7 +265,11 @@
<div class="setscrolldialog"> <div class="setscrolldialog">
<el-table <el-table
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
:data="addtableData" :data="addtableData.slice(
(addcurrentPage - 1) * pageSizeAdd,
addcurrentPage * pageSizeAdd
)
"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%"
header-cell-class-name="custom-th-background" header-cell-class-name="custom-th-background"
...@@ -323,14 +304,6 @@ ...@@ -323,14 +304,6 @@
width="auto" width="auto"
> >
</el-table-column> </el-table-column>
<!-- <el-table-column
prop="projectStatus"
label="项目建设阶段"
width="auto"
>
</el-table-column> -->
<!-- <el-table-column prop="哪个字段" label="历史核查状态" width="auto">
</el-table-column> -->
<el-table-column prop="department" label="部门" width="auto"> <el-table-column prop="department" label="部门" width="auto">
</el-table-column> </el-table-column>
<el-table-column label="操作" width="130"> <el-table-column label="操作" width="130">
...@@ -513,7 +486,7 @@ ...@@ -513,7 +486,7 @@
</el-table-column> --> </el-table-column> -->
<el-table-column label="总投资计划(万元)" width="300"> <el-table-column label="总投资计划(万元)" width="300">
<el-table-column <el-table-column
prop=" costAmountTotal" prop="costAmountTotal"
label="成本金" label="成本金"
width="auto" width="auto"
> >
...@@ -525,7 +498,7 @@ ...@@ -525,7 +498,7 @@
> >
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
<el-table-column label="当年投资计划(万元)" width="300"> <!-- <el-table-column label="当年投资计划(万元)" width="300">
<el-table-column <el-table-column
prop="costAmountCurrentMfdel" prop="costAmountCurrentMfdel"
label="成本金" label="成本金"
...@@ -538,7 +511,7 @@ ...@@ -538,7 +511,7 @@
width="200" width="200"
> >
</el-table-column> </el-table-column>
</el-table-column> </el-table-column> -->
<el-table-column prop="department" label="部门" width="200"> <el-table-column prop="department" label="部门" width="200">
</el-table-column> </el-table-column>
...@@ -552,10 +525,10 @@ ...@@ -552,10 +525,10 @@
show-overflow-tooltip show-overflow-tooltip
> >
</el-table-column> </el-table-column>
<el-table-column prop="inputuser" label="创建人" width="200"> <!-- <el-table-column prop="inputuser" label="创建人" width="200">
</el-table-column> </el-table-column>
<el-table-column prop="inputtime" label="创建时间" width="200"> <el-table-column prop="inputtime" label="创建时间" width="200">
</el-table-column> </el-table-column> -->
</el-table> </el-table>
</div> </div>
...@@ -649,6 +622,8 @@ export default { ...@@ -649,6 +622,8 @@ export default {
pageSize: 10, pageSize: 10,
current: 1, current: 1,
pageSizeZJ: 5, pageSizeZJ: 5,
pageSizeXQ:5,
currentPageXQ:1,
currentZJ: 1, currentZJ: 1,
addtotal: 0, addtotal: 0,
currentAdd: 1, currentAdd: 1,
...@@ -723,12 +698,12 @@ export default { ...@@ -723,12 +698,12 @@ export default {
return; return;
} }
console.log("222", this.checkedList); console.log("222", this.checkedList);
this.dialogXQ = true;
this.ruleFormdialogBJ = this.checkedList[0]; this.ruleFormdialogBJ = this.checkedList[0];
let params = { let params = {
current: this.addcurrentPage, current: this.currentPageXQ,
pageSize: this.pageSizeAdd, pageSize: this.pageSizeXQ,
batchId: this.checkedList[0].batchId, batchId: this.checkedList[0].batchId,
}; };
Object.assign(params, this.ruleFormdialogAdd); Object.assign(params, this.ruleFormdialogAdd);
...@@ -740,6 +715,8 @@ export default { ...@@ -740,6 +715,8 @@ export default {
this.$set(item, "projectCategory",projectCategoryText(item.projectCategory)); this.$set(item, "projectCategory",projectCategoryText(item.projectCategory));
}); });
this.addtotal = res.data.total * 1; this.addtotal = res.data.total * 1;
console.log(this.addtableData,'this.addtableData')
this.dialogXQ = true;
} }
}, },
//确认评估项目 //确认评估项目
...@@ -819,10 +796,22 @@ export default { ...@@ -819,10 +796,22 @@ export default {
}, },
handleSizeChangeAdd(val) { handleSizeChangeAdd(val) {
this.pageSizeAdd = val; this.pageSizeAdd = val;
this.detailsForm(); // this.detailsForm();
console.log(val,this.addcurrentPage,'1111')
}, },
handleCurrentChangeAdd(val) { handleCurrentChangeAdd(val) {
this.currentAdd = val; console.log(val,this.addcurrentPage,'0000')
this.addcurrentPage=val
// this.detailsForm();
},
handleSizeChangXQ(val) {
this.pageSizeXQ = val;
this.detailsForm();
console.log(val,this.addcurrentPage,'1111')
},
handleCurrentChangeXQ(val) {
console.log(val,this.addcurrentPage,'0000')
this.currentPageXQ=val
this.detailsForm(); this.detailsForm();
}, },
...@@ -840,6 +829,8 @@ export default { ...@@ -840,6 +829,8 @@ export default {
}); });
console.log(this.addtableData, "addtableData"); console.log(this.addtableData, "addtableData");
this.addtotal = this.addtableData.length; this.addtotal = this.addtableData.length;
this.handleCurrentChangeZJ(1)
this.handleSizeChangeAdd(5)
this.dialogAddzj = false; this.dialogAddzj = false;
}, },
cancelZJ() { cancelZJ() {
...@@ -865,20 +856,18 @@ export default { ...@@ -865,20 +856,18 @@ export default {
}, },
saveXZ() { saveXZ() {
console.log("保存验证", this.$refs); console.log("保存验证", this.addtableData);
this.$refs.formNames.validate((valid) => {
if (!valid) {
console.log("error submit!!");
return false;
} else {
if (this.addtableData.length < 1) { if (this.addtableData.length < 1) {
this.$message("请选择待评估项目"); this.$message("请选择待评估项目");
} }
console.log(this.addZJList, "this.addZJList"); console.log(this.addZJList, "this.addZJList");
// 确认发布入参 // 确认发布入参
let expertIdList = ""; let expertIdList = "";
if (this.addZJList.length > 0) { if (this.addtableData.length > 0) {
this.addZJList.forEach((item) => { this.addtableData.forEach((item) => {
expertIdList = expertIdList.concat(item.projectId + ","); expertIdList = expertIdList.concat(item.projectId + ",");
}); });
} }
...@@ -889,17 +878,14 @@ export default { ...@@ -889,17 +878,14 @@ export default {
params.batchId = this.ruleFormdialogBJ.batchId; params.batchId = this.ruleFormdialogBJ.batchId;
params.prjsOfExpert = this.ruleFormdialogBJ.prjsOfExpert; params.prjsOfExpert = this.ruleFormdialogBJ.prjsOfExpert;
console.log(params, "222"); console.log(params, "222");
// return
fbProjectInfo(params).then((res) => { fbProjectInfo(params).then((res) => {
this.dialogAdd = false; this.dialogAdd = false;
this.expertIdList = expertIdList; this.expertIdList = expertIdList;
this.resetForm(); this.resetForm();
}); });
}
});
// this.$emit("listenToChildEvent", "reset");
// }
}, },
cancelXZ() { cancelXZ() {
this.dialogAdd = false; this.dialogAdd = false;
...@@ -912,13 +898,14 @@ export default { ...@@ -912,13 +898,14 @@ export default {
}, },
//点击删除 //点击删除
async handleClick(row, index, rows) { async handleClick(row, index, rows) {
console.log("删除", row); console.log("删除", row, rows);
rows.splice(index, 1); rows.splice(index, 1);
let params = { let params = {
projectId: row.projectId, projectId: row.projectId,
batchId: this.checkedList[0].batchId, batchId: this.checkedList[0].batchId,
}; };
let res = await delProjectInfo(params); let res = await delProjectInfo(params);
this.addtotal=rows.length
// this.configs() // this.configs()
}, },
//点击撤回 //点击撤回
...@@ -1152,7 +1139,7 @@ export default { ...@@ -1152,7 +1139,7 @@ export default {
} }
} }
.midBtn { .midBtn {
margin: 0 auto; margin: 20px auto;
span { span {
display: inline-block; display: inline-block;
width: 80px; width: 80px;
......
...@@ -46,9 +46,10 @@ ...@@ -46,9 +46,10 @@
placeholder="请选择" placeholder="请选择"
clearable clearable
> >
<el-option label="整改提交" value="5"></el-option> <el-option label="问题未整改" value="0"></el-option>
<el-option label="整改未完成" value="6"></el-option> <el-option label="已整改" value="1"></el-option>
<el-option label="整改已完成" value="7"></el-option> <el-option label="整改不合格" value="2"></el-option>
<el-option label="整改已完成" value="3"></el-option>
</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">
...@@ -309,23 +310,18 @@ ...@@ -309,23 +310,18 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="上传整改材料" label="上传整改材料"
prop="zgFileId"
width="400" width="400"
> >
<template slot-scope="scope" v-if="scope.row.confirmStatus == '1'&&scope.row.zgFileId"> <template slot-scope="scope" v-if="scope.row.zgFileId">
{{ {{
scope.row.zgName scope.row.zgName
}} <el-button @click="handleClickXZ(scope.row.zgFileId,scope.row.zgName)">下载</el-button> }} <el-button @click="handleClickXZ(scope.row.zgFileId,scope.row.zgName)">下载</el-button>
</template> </template>
<!-- <template slot-scope="scope" v-if="scope.row.confirmStatus=='1'">
<input type="file" @change="handleFileUpload($event,scope.row, 'zgFileId')" />
</template> -->
</el-table-column> </el-table-column>
<el-table-column label="情况说明" prop="zgqkFileId" width="400"> <el-table-column label="情况说明" prop="zgqkFileId" width="400">
<!-- <template slot-scope="scope" v-if="scope.row.confirmStatus=='1'">
<input type="file" @change="handleFileUpload($event,scope.row, 'zgqkFileId')" /> <template slot-scope="scope" v-if="scope.row.zgqkFileId">
</template> -->
<template slot-scope="scope" v-if="scope.row.confirmStatus == '1'&&scope.row.zgqkFileId">
{{ {{
scope.row.zgqkFileName scope.row.zgqkFileName
}} <el-button @click="handleClickXZ(scope.row.zgqkFileId,scope.row.zgqkFileName)">下载</el-button> }} <el-button @click="handleClickXZ(scope.row.zgqkFileId,scope.row.zgqkFileName)">下载</el-button>
...@@ -336,7 +332,7 @@ ...@@ -336,7 +332,7 @@
prop="rectificationStatus" prop="rectificationStatus"
width="200" width="200"
> >
<template slot-scope="scope" v-if="scope.row.confirmStatus=='1'"> <template slot-scope="scope" v-if="scope.row.evalQues">
<el-select <el-select
v-model="scope.row.rectificationStatus" v-model="scope.row.rectificationStatus"
placeholder="请选择" placeholder="请选择"
......
...@@ -78,9 +78,11 @@ ...@@ -78,9 +78,11 @@
<el-table-column label="序号" width="55" type="index"> <el-table-column label="序号" width="55" type="index">
</el-table-column> </el-table-column>
<el-table-column type="selection"> </el-table-column> <el-table-column type="selection"> </el-table-column>
<el-table-column label="批次年度" prop="batchYear"> <template slot-scope="scope"> <el-table-column label="批次年度" prop="batchYear">
<template slot-scope="scope">
{{scope.row.batchYear}} {{scope.row.batchYear}}
</template></el-table-column> </template>
</el-table-column>
<el-table-column prop="batchName" label="后评估批次名称"> <el-table-column prop="batchName" label="后评估批次名称">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -13,7 +13,7 @@ module.exports = defineConfig({ ...@@ -13,7 +13,7 @@ module.exports = defineConfig({
hot: true, hot: true,
proxy: { proxy: {
'/arch-evaluation':{ '/arch-evaluation':{
target: `http://192.168.50.1:18101`, // pin target: `http://192.168.91.1:18101`, // pin
changeOrigin: true, changeOrigin: true,
pathRewrite:{ pathRewrite:{
"^/arch-evaluation":"/" "^/arch-evaluation":"/"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!