Commit 7ba7408a by bingobo

开发互查

1 parent 367a645c
......@@ -107,7 +107,7 @@
>
<el-table-column prop="batchName" label="后评估批次名称"> </el-table-column>
<el-table-column prop="expertName" label="评审专家" width="90"> </el-table-column>
<el-table-column prop="projectLeader" label="项目负责人" width="90"> </el-table-column>
<el-table-column prop="projectCode" label="项目编码" width="130"> </el-table-column>
<el-table-column prop="projectName" label="项目名称" show-overflow-tooltip>
</el-table-column>
......@@ -218,9 +218,10 @@
></el-image>
</template>
</el-table-column>
<el-table-column label="问题响应" min-width="100">
<el-table-column label="是否申述" min-width="100">
<template slot-scope="scope">
<el-switch
<span>{{ scope.row.confirmStatus == 1 ? '是' : '否' }}</span>
<!-- <el-switch
v-model="scope.row.confirmStatus"
active-color="#C0C0C0"
inactive-color="#13ce66"
......@@ -237,11 +238,11 @@
<template v-slot:inactive>
<span>关闭</span>
</template>
</el-switch>
</el-switch> -->
</template>
</el-table-column>
<el-table-column
label="解释批注"
label="整改说明"
prop="feedback"
min-width="100"
show-overflow-tooltip
......
<!-- 评估批次发起 -->
<!-- 互查 评估批次发起 -->
<template>
<div class="main">
<el-form :model="ruleForm" label-width="100px" class="demo-ruleForm" ref="formName">
......@@ -80,7 +80,11 @@
<el-table-column label="批次年度" width="120" prop="batchYear">
<template slot-scope="scope"> {{ scope.row.batchYear }}</template>
</el-table-column>
<el-table-column prop="batchName" label="后评估批次名称" width="auto"> </el-table-column>
<el-table-column prop="batchName" label="后评估批次名称" width="auto">
<template slot-scope="scope">
<div @click="routeToResultView(scope.row)" style="cursor: pointer;">{{ scope.row.batchName }}</div>
</template>
</el-table-column>
<el-table-column prop="expertName" label="后评估专家" width="auto"> </el-table-column>
<!-- <el-table-column prop="id" label="专家编号" width="auto">
......@@ -91,7 +95,7 @@
<!-- <el-table-column prop="postEvalState" label="后评估状态" width="auto">
</el-table-column> -->
<el-table-column prop="creator" label="发起人" width="120"> </el-table-column>
<el-table-column prop="creatorName" label="发起人" width="120"> </el-table-column>
<el-table-column prop="createTime" label="发起时间" width="220"> </el-table-column>
</el-table>
</div>
......@@ -275,6 +279,8 @@
<el-table-column label="单位" width="auto" prop="orgName"> </el-table-column>
<el-table-column prop="talentName" label="专家姓名" width="auto"> </el-table-column>
<el-table-column prop="iscUserId" label="ISC账号" width="auto">
</el-table-column>
<!-- <el-table-column prop="id" label="专家编号" width="auto"> </el-table-column> -->
<el-table-column prop="sex" label="性别" width="auto">
<template slot-scope="scope">{{ scope.row.sex | filtergender }}</template>
......@@ -369,11 +375,12 @@
</el-form-item>
</el-form>
<div class="setscrolldialog">
<!-- @row-click="
(row, column, event) => handleRowClick(row, column, event, 'multipleTableZJ')
" -->
<el-table
@selection-change="handleSelectionChangeZJ"
@row-click="
(row, column, event) => handleRowClick(row, column, event, 'multipleTableZJ')
"
@current-change="currentChange"
ref="multipleTableZJ"
:data="zjtableData"
tooltip-effect="dark myTooltips"
......@@ -389,6 +396,8 @@
<!-- <el-table-column type="selection"> </el-table-column> -->
<el-table-column label="单位" width="auto" prop="orgName"> </el-table-column>
<el-table-column prop="talentName" label="专家姓名" width="auto"> </el-table-column>
<el-table-column prop="iscUserId" label="ISC账号" width="auto">
</el-table-column>
<!-- <el-table-column prop="id" label="专家编号" width="auto"> </el-table-column> -->
<el-table-column prop="sex" label="性别" width="auto">
<template slot-scope="scope">{{ scope.row.sex | filtergender }}</template>
......@@ -516,13 +525,15 @@
<el-table-column label="单位" width="auto" prop="orgName"> </el-table-column>
<el-table-column prop="talentName" label="专家姓名" width="auto"> </el-table-column>
<el-table-column prop="iscUserId" label="ISC账号" width="auto">
</el-table-column>
<!-- <el-table-column prop="id" label="专家编号" width="auto"> </el-table-column> -->
<el-table-column prop="sex" label="性别" width="auto">
<template slot-scope="scope">{{ scope.row.sex | filtergender }}</template>
</el-table-column>
<el-table-column prop="birthDay" label="出生日期" width="auto"> </el-table-column>
<el-table-column prop="education" label="学历" width="auto">
<template slot-scope="scope">{{ scope.row.seducation | filterexpert }}</template>
<template slot-scope="scope">{{ scope.row.education | filterexpert }}</template>
</el-table-column>
<el-table-column prop="mobile" label="联系方式" width="auto"> </el-table-column>
<el-table-column prop="email" label="邮箱" width="auto"> </el-table-column>
......@@ -734,6 +745,20 @@ export default {
},
methods: {
routeToResultView(row) {
console.log(66666, row);
const params = {
name: 'bingo'
}
this.$router.push({
path: '/mainLayout/assistedViewing',
query: {
// clqparams: JSON.stringify(params),
batchName: row.batchName,
}
})
},
timeChange(time) {
if (time) {
//给后端的参数
......@@ -887,10 +912,25 @@ export default {
},
//保存专家
saveZJ() {
const iscUserIdEqualNull = this.addZJList.find(
(item) => item.iscUserId === null
);
// console.log('保存专家', iscUserIdEqualNull);
if (iscUserIdEqualNull !== undefined) {
this.$message("不能保存ISC账号为空的选项");
return;
}
if (this.addZJList.length < 1) {
this.$message('请选择专家')
return
}
if(this.dialogAdd === true) {
// 新增后评估批次信息 弹窗
// 只保留专家弹窗中选择的一条数据
this.addtableData = [];
}
if (this.dialogedit == true) {
console.log('编辑专家')
this.addtableData = []
......@@ -965,6 +1005,18 @@ export default {
cancelXZ() {
this.dialogAdd = false
},
//选中的专家
handleSelectionChangeZJ(val) {
if (val.length > 1) {
this.$refs.multipleTableZJ.clearSelection();
this.$refs.multipleTableZJ.toggleRowSelection(val[val.length - 1]);
}
this.addZJList = [val[val.length - 1]];
// console.log("选中的专家1-", this.addZJList);
},
currentChange(val) {
this.$refs.multipleTableZJ.toggleRowSelection(val);
},
saveBJ() {
this.$refs.formNameBJ.validate((valid) => {
if (!valid) {
......@@ -993,10 +1045,7 @@ export default {
}
})
},
//选中的专家
handleSelectionChangeZJ() {
this.addZJList = this.$refs.multipleTableZJ.selection
},
convertTimeFormat(isoTime) {
const date = new Date(isoTime)
const year = date.getFullYear()
......@@ -1380,6 +1429,13 @@ export default {
height: 400px;
overflow: auto;
}
::v-deep thead {
.el-table-column--selection {
.cell {
display: none;
}
}
}
}
.setscrolldialogx {
width: 100%;
......
......@@ -70,12 +70,17 @@
<el-table-column label="批次年度" prop="batchYear" width="120">
<template slot-scope="scope"> {{ scope.row.batchYear }}</template>
</el-table-column>
<el-table-column prop="batchName" label="后评估批次名称"> </el-table-column>
<el-table-column prop="batchName" label="后评估批次名称">
<template slot-scope="scope">
<div @click="routeToResultView(scope.row)" style="cursor: pointer;">{{ scope.row.batchName }}</div>
</template>
</el-table-column>
<el-table-column prop="projectNum" label="项目数量" width="auto">
</el-table-column>
<el-table-column prop="expertName" label="评审专家" width="auto"> </el-table-column>
<el-table-column prop="projectName" label="待评估项目" width="auto" show-overflow-tooltip>
</el-table-column>
<!-- <el-table-column prop="projectName" label="待评估项目" width="auto" show-overflow-tooltip>
</el-table-column> -->
<el-table-column prop="planReviewDate" label="计划评估日期" width="auto"> </el-table-column>
<!-- <el-table-column
prop="postEvalStateText"
......@@ -308,7 +313,7 @@
</el-table-column>
<el-table-column prop="projectLeader" label="负责人" min-width="110"> </el-table-column>
<el-table-column label="操作" min-width="130" fixed="right">
<el-table-column label="操作" min-width="130" >
<template slot-scope="scope">
<el-button
@click="handleClick(scope.row, scope.$index, addtableData)"
......@@ -592,6 +597,15 @@ export default {
// this.submitForm();
},
methods: {
routeToResultView(row) {
console.log(66666, row);
this.$router.push({
path: '/mainLayout/auxiliaryInspection',
query: {
batchName: row.batchName,
}
})
},
handleRowClickSelf(row, column, event) {
if (!['1', '2', '3'].includes(row.zcstate) && row.contractNumber && row.projectCode) {
this.$refs['multipleTableZJ'].toggleRowSelection(row)
......
......@@ -110,6 +110,7 @@
</el-table-column>
<el-table-column prop="batchName" label="后评估批次名称"> </el-table-column>
<el-table-column prop="expertName" label="评审专家"> </el-table-column>
<el-table-column prop="projectLeader" label="项目负责人"> </el-table-column>
<el-table-column prop="projectCode" label="项目编码"> </el-table-column>
<el-table-column prop="projectName" label="项目名称" show-overflow-tooltip>
</el-table-column>
......@@ -282,9 +283,18 @@
></el-image>
</template>
</el-table-column>
<el-table-column label="问题响应" width="100">
<el-table-column label="是否申述" width="100">
<template slot-scope="scope">
<el-switch
<el-checkbox
v-if="scope.row.evalQues"
:disabled="scope.row.rectificationStatus == 2"
v-model="scope.row.confirmStatus"
true-label="1" false-label="2"
>
{{ '是' }}
<!-- {{ scope.row.confirmStatus == 1 ? '是' : '否' }} -->
</el-checkbox>
<!-- <el-switch
:disabled="scope.row.rectificationStatus == 2"
v-if="scope.row.evalQues"
v-model="scope.row.confirmStatus"
......@@ -302,7 +312,7 @@
<template v-slot:inactive>
<span>关闭</span>
</template>
</el-switch>
</el-switch> -->
</template>
</el-table-column>
<el-table-column label="上传档案材料" prop="dacl" width="120">
......@@ -325,7 +335,7 @@
</router-link>
</template>
</el-table-column>
<el-table-column label="整改说明(填)" width="220">
<el-table-column label="整改说明(申述必填)" width="220">
<template slot-scope="scope">
<el-input
v-model="scope.row.feedback"
......@@ -333,6 +343,7 @@
:disabled="scope.row.rectificationStatus == 2"
type="textarea"
:rows="3"
:class="{ 'is-empty': scope.row.confirmStatus == 1 && !scope.row.feedback?.trim() }"
></el-input>
</template>
</el-table-column>
......@@ -352,12 +363,16 @@
</el-table-column>
<el-table-column label="整改复核状态" prop="checkDesc">
<template slot-scope="scope">
<el-select v-model="scope.row.rectificationStatus" placeholder="请选择" disabled>
<span v-if="scope.row.rectificationStatus == null"></span>
<span v-if="scope.row.rectificationStatus == 0">问题未整改</span>
<span v-if="scope.row.rectificationStatus == 1">整改不合格</span>
<span v-if="scope.row.rectificationStatus == 2">整改完成</span>
<!-- <el-select v-model="scope.row.rectificationStatus" placeholder="请选择" disabled>
<el-option label="待复核" :value="null"></el-option>
<el-option label="问题未整改" :value="0"></el-option>
<el-option label="整改不合格" :value="1"></el-option>
<el-option label="整改完成" :value="2"></el-option>
</el-select>
</el-select> -->
</template>
</el-table-column>
......@@ -527,6 +542,9 @@ export default {
},
mounted() {
// this.submitForm();
this.$nextTick(() => {
this.$refs.multipleTable.doLayout()
})
},
methods: {
timeChange(time) {
......@@ -746,6 +764,13 @@ export default {
this.handleSelectionChange()
},
async saveSS() {
const confirmStatusArr = this.tableDataQR.filter(item => item.confirmStatus == 1)
const nullFeedBack = confirmStatusArr.filter(item => !item.feedback?.trim())
console.log('保存--this.tableDataQR', this.tableDataQR, confirmStatusArr, nullFeedBack);
if (nullFeedBack.length > 0) {
this.$message.warning('整改说明(申述必填)');
return
}
let res = await qrProblemAssistedFeedback(this.tableDataQR)
if (res.code == '200') {
this.$message('保存成功')
......@@ -756,6 +781,13 @@ export default {
}
},
async saveSubmit() {
const confirmStatusArr = this.tableDataQR.filter(item => item.confirmStatus == 1)
const nullFeedBack = confirmStatusArr.filter(item => !item.feedback?.trim())
console.log('提交--this.tableDataQR', this.tableDataQR, confirmStatusArr, nullFeedBack);
if (nullFeedBack.length > 0) {
this.$message.warning('整改说明(申述必填)');
return
}
let res = await wtzgxfProblemRectification(this.tableDataQR)
this.$refs.myTable.doLayout() // 解决表格错位
if (res.code == '200') {
......
......@@ -108,7 +108,6 @@
<el-table-column prop="batchName" label="后评估批次名称"> </el-table-column>
<el-table-column prop="expertName" label="评审专家" width="90"> </el-table-column>
<el-table-column prop="projectLeader" label="项目负责人" width="90"> </el-table-column>
<el-table-column prop="projectNum" label="项目数量" width="90"> </el-table-column>
<el-table-column prop="projectCode" label="项目编码" width="130"> </el-table-column>
<el-table-column prop="projectName" label="项目名称" show-overflow-tooltip>
</el-table-column>
......
<!-- 评估批次发起 -->
<!-- 自查 评估批次发起 -->
<template>
<div class="main">
<el-form
......
......@@ -117,6 +117,8 @@
</template>
</el-table-column>
<el-table-column prop="projectNum" label="项目数量" width="auto">
</el-table-column>
<el-table-column prop="expertName" label="评审专家" width="auto">
</el-table-column>
<!-- <el-table-column prop="projectName" label="待评估项目" width="auto" show-overflow-tooltip></el-table-column> -->
......
......@@ -224,7 +224,6 @@
</div>
</div>
</el-dialog>
<!-- 问题整改 -->
<el-dialog title="问题整改" :visible.sync="dialogQR" width="91%" :modal-append-to-body="false" :append-to-body="false"
@close="closed">
<div class="dialog">
......@@ -996,20 +995,6 @@ export default {
})
},
methods: {
getProType(val) {
console.log(' | proType', val);
if (val == 1) {
return '咨询设计类'
} else if (val == 2) {
return '开发实施类'
} else if (val == 3) {
return '业务运营类'
} else if (val == 4) {
return '数据工程类'
} else if (val == 5) {
return '产品购置类'
}
},
timeChange(time) {
if (time) {
//给后端的参数
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!