Commit 13153b38 by liangzhen

暂存

1 parent 0fa24916
export function getCurrentDate() {
const date = new Date();
const year = date.getFullYear();
const month = date.getMonth() + 1; // JavaScript的月份是从0开始的,所以需要加1
const day = date.getDate();
const hours = date.getHours().toString().padStart(2, '0'); // 补零
const minutes = date.getMinutes().toString().padStart(2, '0'); // 补零
return `${year}-${month}-${day}-${hours}:${minutes}`;
console.log(this.currentDate, '3322323')
}
......@@ -69,7 +69,7 @@
</el-table-column>
<el-table-column prop="rectificationDeadline" label="问题整改截止时间">
</el-table-column>
<el-table-column prop="postEvalState" label="复核状态"> </el-table-column>
<el-table-column prop="postEvalStateText" label="复核状态"> </el-table-column>
<!-- <el-table-column prop="reviewStatus" label="后评估状态"> </el-table-column> -->
<el-table-column prop="reviewDate" label="评估日期"> </el-table-column>
</el-table>
......@@ -334,9 +334,9 @@
this.tableData = res.data.records;
this.tableData.forEach((item) => {
if (item.reviewStatus >= "4") {
this.$set(item, "postEvalState", "复核已下发");
this.$set(item, "postEvalStateText", "复核已下发");
} else {
this.$set(item, "postEvalState", "复核未下发");
this.$set(item, "postEvalStateText", "复核未下发");
}
});
this.total = res.data.total * 1;
......@@ -522,6 +522,10 @@
this.$message("请选择一条数据进行下发");
return;
}
if(this.checkedList[0].postEvalStateText=='复核已下发'){
this.$message("请选择未下发的数据");
return
}
this.dialogSS = true;
let params = {
projectId: this.checkedList[0].projectId,
......@@ -655,7 +659,7 @@
text-align: center;
width: 150%;
min-width: 150%;
// margin-right: 210px;
margin-right: 210px;
// margin-top: 3vh;
}
/deep/ .el-table .warning-row {
......@@ -807,7 +811,7 @@
}
}
.dialog {
height: 700px;
height: 680px;
overflow-y: auto;
.xqtitle {
text-align: left;
......@@ -928,6 +932,7 @@
width: 100%;
height: 650px;
overflow: auto;
padding-right: 500px;
}
.dialog{
.eltable {
......
......@@ -37,6 +37,7 @@
>
</el-form-item>
</el-form>
<div class="setscroll">
<el-table
@selection-change="handleSelectionChange"
ref="multipleTable"
......@@ -69,10 +70,11 @@
</el-table-column>
<el-table-column prop="rectificationDeadline" label="问题整改截止时间">
</el-table-column>
<el-table-column prop="postEvalState" label="申诉状态"> </el-table-column>
<el-table-column prop="postEvalStateText" label="申诉状态"> </el-table-column>
<!-- <el-table-column prop="reviewStatus" label="后评估状态"> </el-table-column> -->
<el-table-column prop="reviewDate" label="评估日期"> </el-table-column>
</el-table>
</div>
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
......@@ -231,7 +233,7 @@
</div>
<p class="midBtn">
<span @click="cancel()">取消</span
><span @click="save()">确认</span>
><span @click="save()">申诉</span>
</p>
</el-dialog>
......@@ -300,13 +302,13 @@ export default {
this.tableData = res.data.records;
this.tableData.forEach((item) => {
if (item.appealStatus == "1") {
this.$set(item, "postEvalState", "已申诉");
this.$set(item, "postEvalStateText", "已申诉");
} else if (item.appealStatus == "2") {
this.$set(item, "postEvalState", "申诉驳回");
this.$set(item, "postEvalStateText", "申诉驳回");
} else if (item.appealStatus == "3") {
this.$set(item, "postEvalState", "申诉通过");
this.$set(item, "postEvalStateText", "申诉通过");
} else {
this.$set(item, "postEvalState", "未申诉");
this.$set(item, "postEvalStateText", "未申诉");
}
});
this.total = res.data.total * 1;
......@@ -338,22 +340,22 @@ export default {
this.tableDataQR.forEach((item) => {
this.$set(item, "confirmStatus", "2")
switch (item.projectStage) {
case 1:
case "1":
this.$set(item, "projectStagetext", "1.可研");
break;
case 2:
case "2":
this.$set(item, "projectStagetext", "2.计划");
break;
case 3:
case "3":
this.$set(item, "projectStagetext", "3.采购");
break;
case 4:
case "4":
this.$set(item, "projectStagetext", "4.合同");
break;
case 5:
case "5":
this.$set(item, "projectStagetext", "5.执行");
break;
case 6:
case "6":
this.$set(item, "projectStagetext", "6.结决算及转资");
break;
}
......@@ -430,10 +432,12 @@ export default {
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
this.pageSize = val;
this.submitForm()
},
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
this.currentPage = val;
this.submitForm()
},
arraySpanMethod({ row, column, rowIndex, columnIndex }) {
if (columnIndex === 0) {
......@@ -490,6 +494,11 @@ export default {
this.$message("请选择一条数据进行申诉");
return;
}
if(this.checkedList[0].postEvalStateText!='未申诉'){
this.$message("请选择未申诉的数据");
return
}
this.dialogSS = true;
let params = {
projectId: this.checkedList[0].projectId,
......@@ -502,22 +511,22 @@ export default {
this.tableDataSS.forEach((item) => {
this.$set(item, "confirmStatus", "2")
switch (item.projectStage) {
case 1:
case "1":
this.$set(item, "projectStagetext", "1.可研");
break;
case 2:
case "2":
this.$set(item, "projectStagetext", "2.计划");
break;
case 3:
case "3":
this.$set(item, "projectStagetext", "3.采购");
break;
case 4:
case "4":
this.$set(item, "projectStagetext", "4.合同");
break;
case 5:
case "5":
this.$set(item, "projectStagetext", "5.执行");
break;
case 6:
case "6":
this.$set(item, "projectStagetext", "6.结决算及转资");
break;
}
......@@ -771,7 +780,7 @@ export default {
}
}
.dialog {
height: 700px;
height:680px;
overflow-y: auto;
.xqtitle {
text-align: left;
......@@ -888,5 +897,11 @@ h3 {
/deep/ .el-dialog__body{
padding-bottom: 15px;
}
.setscroll {
width: 100%;
height: 650px;
position: relative;
overflow: auto;
}
</style>
\ No newline at end of file
......@@ -415,10 +415,12 @@ export default {
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
this.pageSize = val;
this.submitForm()
},
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
this.currentPage = val;
this.submitForm()
},
cancel() {
this.dialog = false;
......
......@@ -39,6 +39,7 @@
</el-button>
</el-form-item>
</el-form>
<div class="setscroll">
<el-table
@selection-change="handleSelectionChange"
ref="multipleTable"
......@@ -76,6 +77,7 @@
<!-- <el-table-column prop="reviewStatus" label="后评估状态"> </el-table-column> -->
<el-table-column prop="reviewDate" label="评估日期"> </el-table-column>
</el-table>
</div>
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
......@@ -238,6 +240,10 @@ export default {
},
//问题批量下发
sendQuestions() {
if (this.checkedList.length < 1) {
this.$message("请选择项目下发");
return;
}
try {
this.checkedList.forEach((item) => {
if (item.reviewStatus == 1) {
......@@ -274,6 +280,8 @@ export default {
console.log(params, "222");
let res = await wtplxfproblemAssistedDistribution(params);
if (res.code == "200") {
this.resetForm()
this.dialogXQ = false;
} else {
this.$message("下发失败");
......@@ -300,10 +308,12 @@ export default {
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
this.pageSize = val;
this.submitForm()
},
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
this.currentPage = val;
this.submitForm()
},
//点击撤回
......@@ -587,4 +597,10 @@ export default {
/deep/ .el-table__cell {
text-align: center;
}
.setscroll {
width: 100%;
height: 650px;
position: relative;
overflow: auto;
}
</style>
\ No newline at end of file
......@@ -16,7 +16,7 @@
</el-select>
</el-form-item>
<el-form-item label="后评估名称:" prop="batchName" class="fromItem">
<el-input v-model="ruleForm.batchName" placeholder="请输入"></el-input>
<el-input v-model="ruleForm.batchName" placeholder="请输入" ></el-input>
</el-form-item>
<el-form-item label="后评估状态:" prop="postEvalState" class="fromItem">
<el-select v-model="ruleForm.postEvalState" placeholder="请选择">
......@@ -102,97 +102,12 @@
class="elpagination"
>
</el-pagination>
<el-dialog
title="提交评估材料"
:visible.sync="dialog"
width="90%"
:modal-append-to-body="false"
:append-to-body="false"
@close="closeDialog"
>
<div class="dialog">
<p class="xqtitle"><span></span>批次详情</p>
<el-form
:model="ruleFormdialog"
ref="ruleFormdialog"
label-width="100px"
class="demo-ruleForm"
>
<el-form-item label="批次年度:" prop="batchYear" class="fromItem">
<el-input v-model="ruleFormdialog.batchYear" disabled></el-input>
<!-- <el-select v-model="ruleFormdialog.batchYear" placeholder="请选择">
<el-option label="2024年" value="2024"></el-option>
<el-option label="2023年" value="2023"></el-option>
<el-option label="2022年" value="2022"></el-option>
<el-option label="2021年" value="2021"></el-option>
</el-select> -->
</el-form-item>
<el-form-item label="后评估名称:" prop="batchName" class="fromItem">
<el-input v-model="ruleFormdialog.batchName" disabled></el-input>
</el-form-item>
<el-form-item
label="计划评审日期:"
prop="planReviewDate"
class="fromItem"
>
<el-input
v-model="ruleFormdialog.planReviewDate"
disabled
></el-input>
</el-form-item>
<el-form-item label="后评估专家:" prop="fullName" class="fromItem">
<el-input v-model="ruleFormdialog.fullName" disabled></el-input>
</el-form-item>
<el-form-item label="工作组织情况:" class="textarea">
<el-input type="textarea" v-model="ruleFormdialog.desc"></el-input>
</el-form-item>
</el-form>
<p class="xqtitle"><span></span>本项目材料清单</p>
<el-table
@selection-change="handleSelectionChange"
ref="multipleTable"
:data="tableDataQD"
tooltip-effect="dark"
style="width: 100%"
header-cell-class-name="custom-th-background"
class="eltable"
:row-class-name="tableRowClassName"
border
>
<el-table-column label="序号" width="55" type="index">
</el-table-column>
<el-table-column label="材料类别" prop="batchYear"> </el-table-column>
<el-table-column prop="batchName" label="资料类型"> </el-table-column>
<el-table-column prop="projectName" label="资料名称">
</el-table-column>
<el-table-column prop="projectCategory" label="操作">
</el-table-column>
</el-table>
<el-pagination
@size-change="handleSizeChangetjcl"
@current-change="handleCurrentChangetjcl"
:current-page="currentPagetjcl"
:page-sizes="[10, 15, 20, 50]"
:page-size="100"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
class="elpagination"
>
</el-pagination>
<p class="Btn" v-if="showButton">
<span @click="cancel()">取消</span
><span @click="save('add')">确认上传</span>
</p>
</div>
</el-dialog>
</div>
</template>
<script>
import {
evaluationMaterials,
postEvalQuesInfo,
chpostEvalQuesInfo,
qrscevaluationMaterials,
} from "@/api/index";
......@@ -247,7 +162,7 @@ export default {
};
Object.assign(params, this.ruleForm);
console.log(params);
let res = await evaluationMaterials(params);
let res = await postEvalQuesInfo(params);
if (res.code == "200") {
this.tableData = res.data.records;
......@@ -325,6 +240,9 @@ export default {
batchId:this.checkedList[0].batchId
};
let res =await chpostEvalQuesInfo(params)
if(res.code==200){
this.resetForm()
}
},
//表格颜色
......@@ -347,18 +265,12 @@ export default {
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
this.pageSize = val;
this.submitForm()
},
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
this.currentPage = val;
},
handleSizeChangetjcl(val) {
console.log(`每页 ${val} 条`);
this.pageSizetjcl = val;
},
handleCurrentChangetjcl(val) {
console.log(`当前页: ${val}`);
this.currentPagetjcl = val;
this.submitForm()
},
cancel() {
this.dialog = false;
......
......@@ -35,8 +35,8 @@
<img class="buttonIcon" src="../../assets/ck.png" />详情</el-button
>
</el-form-item>
</el-form-item>
</el-form>
<div class="setscroll">
<el-table
@selection-change="handleSelectionChange"
ref="multipleTable"
......@@ -74,6 +74,7 @@
<!-- <el-table-column prop="reviewStatus" label="后评估状态"> </el-table-column> -->
<el-table-column prop="reviewDate" label="评估日期"> </el-table-column>
</el-table>
</div>
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
......@@ -225,10 +226,10 @@
query: {
clqparams: JSON.stringify(params),
fromType:'fzcx',
Form:{
Form:JSON.stringify({
appealDeadline:this.checkedList[0].appealDeadline,
rectificationDeadline:this.checkedList[0].rectificationDeadline,
}
})
},
});
}
......@@ -255,10 +256,12 @@
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
this.pageSize = val;
this.submitForm()
},
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
this.currentPage = val;
this.submitForm()
},
},
};
......@@ -515,4 +518,10 @@
/deep/ .el-table__cell {
text-align: center;
}
.setscroll {
width: 100%;
height: 650px;
position: relative;
overflow: auto;
}
</style>
\ No newline at end of file
......@@ -8,7 +8,7 @@
ref="formName"
>
<el-form-item label="批次年度:" prop="batchYear" class="fromItem">
<el-select v-model="ruleForm.batchYear" placeholder="请选择">
<el-select v-model="ruleForm.batchYear" placeholder="请选择" clearable>
<el-option label="2024年" value="2024"></el-option>
<el-option label="2023年" value="2023"></el-option>
<el-option label="2022年" value="2022"></el-option>
......@@ -16,10 +16,10 @@
</el-select>
</el-form-item>
<el-form-item label="后评估批次名称:" prop="batchName" class="fromItem">
<el-input v-model="ruleForm.batchName" placeholder="请输入"></el-input>
<el-input v-model="ruleForm.batchName" placeholder="请输入" clearable></el-input>
</el-form-item>
<el-form-item label="后评估状态:" prop="postEvalState" class="fromItem">
<el-select v-model="ruleForm.postEvalState" placeholder="请选择">
<el-form-item label="后评估状态:" prop="postEvalState" class="fromItem" >
<el-select v-model="ruleForm.postEvalState" placeholder="请选择" clearable>
<el-option label="未下发" value="0"></el-option>
<el-option label="已下发" value="1"></el-option>
<el-option label="已撤回" value="2"></el-option>
......@@ -560,6 +560,7 @@ import {
delEvalBatchInfo,
chEvalBatchInfo,
} from "@/api/index";
import { getCurrentDate } from '@/utils/format'
export default {
data() {
return {
......@@ -655,15 +656,18 @@ export default {
};
},
mounted() {
console.log(getCurrentDate(),'222222')
this.submitForm();
},
methods: {
async submitForm(formName) {
async submitForm() {
let params = {
current: this.currentPage,
pageSize: this.pageSize,
};
console.log( this.ruleForm,' this.ruleForm')
Object.assign(params, this.ruleForm);
console.log(params);
let res = await evalBatchInfo(params);
......@@ -852,6 +856,8 @@ export default {
});
let params = {
expertStr: expertStr,
creator:sessionStorage.getItem('author'),
createTime:getCurrentDate(),
};
Object.assign(params, this.ruleFormdialogAdd);
this.xfParams = JSON.parse(JSON.stringify(params));
......
......@@ -118,9 +118,11 @@ export default {
mounted() {
this.clqparams = JSON.parse(this.$route.query.clqparams);
if (this.$route.query.fromType == "fzcx") {
this.fromType = true;
this.ruleForm=this.$route.query.Form
this.ruleForm=JSON.parse(this.$route.query.Form);
console.log(this.ruleForm,'ruleForm')
}
console.log(this.fromType,'this.fromType')
console.log(this.clqparams, "this.clqparams");
......
......@@ -48,6 +48,7 @@
>
</el-form-item>
</el-form>
<div class="setscroll">
<el-table
@selection-change="handleSelectionChange"
ref="multipleTable"
......@@ -79,6 +80,7 @@
<el-table-column prop="postEvalState" label="检查评估状态"> </el-table-column>
<el-table-column prop="planReviewDate" label="评估日期"> </el-table-column>
</el-table>
</div>
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
......@@ -90,6 +92,7 @@
class="elpagination"
>
</el-pagination>
<el-dialog
title="国网辽宁电力-桌面终端管理系统合规性检查评估"
:visible.sync="dialog"
......@@ -304,10 +307,12 @@
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
this.currentPage = val;
this.submitForm()
},
handleSizeChangetjcl(val) {
console.log(`每页 ${val} 条`);
this.pageSizetjcl = val;
this.submitForm()
},
handleCurrentChangetjcl(val) {
console.log(`当前页: ${val}`);
......@@ -492,4 +497,10 @@
/deep/ .el-table__cell {
text-align: center;
}
.setscroll {
width: 100%;
height: 650px;
position: relative;
overflow: auto;
}
</style>
\ No newline at end of file
......@@ -298,6 +298,7 @@
width="90%"
:modal-append-to-body="false"
:append-to-body="false"
>
<div class="adzjdialog">
<el-form :model="ruleFormZJ" label-width="100px" class="demo-ruleForm">
......@@ -424,7 +425,7 @@
</el-table>
</div>
<!-- <el-pagination
<el-pagination
@size-change="handleSizeChangeZJ"
@current-change="handleCurrentChangeZJ"
:current-page="currentZJ"
......@@ -434,7 +435,7 @@
:total="zjtotal"
class="elpagination"
>
</el-pagination> -->
</el-pagination>
<p class="midBtn">
<span @click="cancelZJ()">取消</span
......@@ -506,20 +507,18 @@ export default {
pageSizetjcl: 10,
total: 0,
dialogXQ: false,
currentPageBJ:1,
pageSizeBJ:10,
dialogAdd: false,
dialogAddzj: false,
pageSize: 10,
current: 1,
pageSizeZJ: 10,
pageSizeZJ:5,
currentZJ: 1,
addtotal: 0,
currentAdd: 1,
pageSizeAdd: 10,
pageSizeAdd: 5,
currentedit: 1,
pageSizeedit: 10,
pageSizeedit:5,
xfParam: "",
dialogedit: false,
expertIdList: [],
......@@ -578,8 +577,8 @@ export default {
this.dialogXQ = true;
this.ruleFormdialogBJ=this.checkedList[0]
let params={
current:1,
pageSize:10,
current:this.addcurrentPage,
pageSize:this.pageSizeAdd,
batchId:this.checkedList[0].batchId
}
Object.assign(params, this.ruleFormdialogAdd);
......@@ -650,22 +649,22 @@ export default {
handleSizeChangeZJ(val) {
console.log(`每页 ${val} 条`);
this.pageSizeZJ = val;
this.xzExperts()
},
handleCurrentChangeZJ(val) {
console.log(`当前页: ${val}`);
this.currentZJ = val;
this.xzExperts()
},
handleSizeChangeAdd(val) {
this.pageSizeAdd = val;
this.detailsForm()
},
handleCurrentChangeAdd(val) {
this.currentAdd = val;
this.detailsForm()
},
handleCurrentChangeBJ(val) {
console.log(`当前页: ${val}`);
this.currentPageBJ = val;
},
//选择项目
saveZJ() {
if (this.addZJList.length < 1) {
......@@ -697,7 +696,7 @@ export default {
let res = await getProjectInfo(params);
console.log(res.data.records,'res.data.recordsres.data.records')
this.zjtableData = res.data.records;
// this.zjtotal = res.data.total * 1;
this.zjtotal = res.data.total * 1;
console.log(res, "xxx");
},
......@@ -897,6 +896,7 @@ text-align: center;
}
}
.dialog {
height: 680px;
.xqtitle {
text-align: left;
font-size: 18px;
......
......@@ -193,7 +193,7 @@ export default {
width: 98%;
position: absolute;
// height: 80px;
bottom: 150px;
bottom: 120px;
left: 50%;
z-index: 100;
transform: translate(-50%);
......
......@@ -6,6 +6,19 @@
<script>
export default {
data(){
return{
currentDate:""
}
}
,
mounted(){
sessionStorage.setItem('author','sgitg_weizheng')
},
methods:{
}
}
</script>
......
......@@ -373,6 +373,7 @@ export default {
console.log("oldVal:", oldVal); // coderkey
console.log("newVal:", newVal); // pink
if (newVal == 1) {
sessionStorage.setItem('author','sgtig_zhangyu')
this.menuList = [
{
name: "后评估检查",
......@@ -415,6 +416,7 @@ export default {
this.$refs.kzMenu.activeIndex =this.$route.path
} else if (newVal == 2) {
sessionStorage.setItem('author','sgtig_liyiming')
this.menuList = [
{
name: "后评估检查",
......@@ -462,6 +464,7 @@ export default {
});
this.$refs.kzMenu.activeIndex =this.$route.path;
} else if (newVal == 3) {
sessionStorage.setItem('author','sgtig_mengdejian')
this.menuList = [
{
name: "后评估检查",
......@@ -505,10 +508,25 @@ export default {
},
mounted() {
console.log("重新来了么");
this.activeIndex = this.$route.path;
this.handleOpen(0,['0'])
console.log('333333',this.$route.query)
if(this.$route.path=='/mainLayout/Compliancefz'||this.$route.path=='/mainLayout/Compliance'){
this.activeIndex='/mainLayout/auxiliaryInspection'
}else if(this.$route.path=="/mainLayout/qrCompliance"){
this.activeIndex='/mainLayout/confirmChanges'
}else if(this.$route.path=="/mainLayout/Compliancexf"){
if(this.$route.query.fromType=='fzcx'){
this.activeIndex='/mainLayout/auxiliaryQuery'
}else{
this.activeIndex='/mainLayout/assitedDistribution'
}
}else{
this.activeIndex = this.$route.path;
}
// this.$refs.kzMenu.open(0-0,['0','0-0'])
console.log( this.$refs.kzMenu,' this.$refs.kzMenu.open')
// this.handleOpen(0-0,['0','0-0'])
},
......
......@@ -54,7 +54,7 @@ export default {
};
},
mounted() {
window.addEventListener("resize", this.handleResize);
// window.addEventListener("resize", this.handleResize);
},
methods: {
handleResize() {
......@@ -89,14 +89,13 @@ export default {
position: relative;
// overflow: hidden;
.bar {
width: 235px;
width: 235px !important;
height: 100%;
}
.continer {
width: 100%;
min-width: 100%;
height: 100%;
// height:86vh;
flex: 1;
// flex: 1;
box-sizing: border-box;
// overflow: auto;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!