Commit e603c8d3 by liangzhen

申诉暂存

1 parent b9308e7b
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
<el-table-column label="问题检查项" prop="quesCheckItem"> <el-table-column label="问题检查项" prop="quesCheckItem">
</el-table-column> </el-table-column>
<el-table-column label="检查说明" prop="checkDesc"> <el-table-column label="检查说明" prop="checkDesc" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column label="评估问题" prop="evalQues"> <el-table-column label="评估问题" prop="evalQues">
</el-table-column> </el-table-column>
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
<el-table-column label="问题检查项" prop="quesCheckItem"> <el-table-column label="问题检查项" prop="quesCheckItem">
</el-table-column> </el-table-column>
<el-table-column label="检查说明" prop="checkDesc"> <el-table-column label="检查说明" prop="checkDesc" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column label="评估问题" prop="evalQues"> <el-table-column label="评估问题" prop="evalQues">
</el-table-column> </el-table-column>
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
</template> </template>
<script> <script>
import { appealAssistanceConfirmatio, wtfhappealAssistanceConfirmatio,xfappealAssistanceConfirmatio,wtssSelAssistanceConfirmatio} from "@/api/index"; import { appealAssistanceConfirmatio,ossupload, wtfhappealAssistanceConfirmatio,xfappealAssistanceConfirmatio,wtssSelAssistanceConfirmatio} from "@/api/index";
export default { export default {
data() { data() {
return { return {
...@@ -536,7 +536,9 @@ ...@@ -536,7 +536,9 @@
if (res.code == "200") { if (res.code == "200") {
this.tableDataSS = res.data.records; this.tableDataSS = res.data.records;
this.tableDataSS.forEach((item) => { this.tableDataSS.forEach((item) => {
this.$set(item, "confirmStatus", "2") if(!item.confirmStatus){
this.$set(item, "confirmStatus", "2")
}
switch (item.projectStage) { switch (item.projectStage) {
case "1": case "1":
this.$set(item, "projectStagetext", "1.可研"); this.$set(item, "projectStagetext", "1.可研");
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
<el-table-column prop="batchName" label="后评估批次名称"> <el-table-column prop="batchName" label="后评估批次名称">
</el-table-column> </el-table-column>
<el-table-column prop="projectName" label="评估项目名称"> <el-table-column prop="projectName" label="评估项目名称" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="projectCategory" label="建设形式"> <el-table-column prop="projectCategory" label="建设形式">
</el-table-column> </el-table-column>
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
<el-table-column label="问题检查项" prop="quesCheckItem"> <el-table-column label="问题检查项" prop="quesCheckItem">
</el-table-column> </el-table-column>
<el-table-column label="检查说明" prop="checkDesc"> <el-table-column label="检查说明" prop="checkDesc" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column label="评估问题" prop="evalQues"> <el-table-column label="评估问题" prop="evalQues">
</el-table-column> </el-table-column>
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
<el-table-column label="问题检查项" prop="quesCheckItem"> <el-table-column label="问题检查项" prop="quesCheckItem">
</el-table-column> </el-table-column>
<el-table-column label="检查说明" prop="checkDesc"> <el-table-column label="检查说明" prop="checkDesc" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column label="评估问题" prop="evalQues"> <el-table-column label="评估问题" prop="evalQues">
</el-table-column> </el-table-column>
...@@ -207,6 +207,7 @@ ...@@ -207,6 +207,7 @@
active-text="无异议" active-text="无异议"
inactive-text="有异议" inactive-text="有异议"
@change="controlSwitch($event, scope.row)" @change="controlSwitch($event, scope.row)"
disabled
> >
<template v-slot:active> <template v-slot:active>
<span>开启</span> <span>开启</span>
...@@ -219,13 +220,13 @@ ...@@ -219,13 +220,13 @@
</el-table-column> </el-table-column>
<el-table-column label="解释批注" > <el-table-column label="解释批注" >
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="scope.row.feedback"></el-input> <el-input v-model="scope.row.feedback" v-if="scope.row.confirmStatus=='1'"></el-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="附加解释材料" prop="fileId"> <el-table-column label="附加解释材料" prop="fileId" width="400">
<template slot-scope="scope"> <template slot-scope="scope">
<input type="file" @change="handleFileUpload"> <input type="file" @change="handleFileUpload" v-if="scope.row.confirmStatus=='1'">
<button @click="submitFile(scope.row)">上传</button> <button @click="submitFile(scope.row)" v-if="scope.row.confirmStatus=='1'">上传</button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -242,7 +243,7 @@ ...@@ -242,7 +243,7 @@
</template> </template>
<script> <script>
import { ProblemAssistedFeedback, selWtqdpostEvalQuesInfo,qrProblemAssistedFeedback,wtssSelProblemAssistedFeedback,ssProblemAssistedFeedback } from "@/api/index"; import { ProblemAssistedFeedback,ossupload,qrProblemAssistedFeedback,wtssSelProblemAssistedFeedback,ssProblemAssistedFeedback } from "@/api/index";
export default { export default {
data() { data() {
return { return {
...@@ -335,11 +336,14 @@ export default { ...@@ -335,11 +336,14 @@ export default {
batchId: this.checkedList[0].batchId, batchId: this.checkedList[0].batchId,
}; };
let res = await selWtqdpostEvalQuesInfo(params); let res = await wtssSelProblemAssistedFeedback(params);
if (res.code == "200") { if (res.code == "200") {
this.tableDataQR = res.data.records; this.tableDataQR = res.data.records;
this.tableDataQR.forEach((item) => { this.tableDataQR.forEach((item) => {
this.$set(item, "confirmStatus", "2") if(!item.confirmStatus){
this.$set(item, "confirmStatus", "2")
}
switch (item.projectStage) { switch (item.projectStage) {
case "1": case "1":
this.$set(item, "projectStagetext", "1.可研"); this.$set(item, "projectStagetext", "1.可研");
...@@ -470,6 +474,8 @@ export default { ...@@ -470,6 +474,8 @@ export default {
this.dialogQR=false this.dialogQR=false
}, },
async save(){ async save(){
console.log(this.tableDataSS,'this.tableDataSS')
// return
let res= await ssProblemAssistedFeedback(this.tableDataSS) let res= await ssProblemAssistedFeedback(this.tableDataSS)
if(res.code=='200'){ if(res.code=='200'){
this.dialogSS=false this.dialogSS=false
...@@ -495,10 +501,10 @@ export default { ...@@ -495,10 +501,10 @@ export default {
this.$message("请选择一条数据进行申诉"); this.$message("请选择一条数据进行申诉");
return; return;
} }
if(this.checkedList[0].postEvalStateText!='未申诉'){ // if(this.checkedList[0].postEvalStateText!='未申诉'){
this.$message("请选择未申诉的数据"); // this.$message("请选择未申诉的数据");
return // return
} // }
this.dialogSS = true; this.dialogSS = true;
let params = { let params = {
...@@ -510,7 +516,9 @@ export default { ...@@ -510,7 +516,9 @@ export default {
if (res.code == "200") { if (res.code == "200") {
this.tableDataSS = res.data.records; this.tableDataSS = res.data.records;
this.tableDataSS.forEach((item) => { this.tableDataSS.forEach((item) => {
this.$set(item, "confirmStatus", "2") if(!item.confirmStatus){
this.$set(item, "confirmStatus", "2")
}
switch (item.projectStage) { switch (item.projectStage) {
case "1": case "1":
this.$set(item, "projectStagetext", "1.可研"); this.$set(item, "projectStagetext", "1.可研");
...@@ -543,19 +551,19 @@ export default { ...@@ -543,19 +551,19 @@ export default {
this.file = event.target.files[0]; this.file = event.target.files[0];
}, },
submitFile(row) { submitFile(row) {
this.$message('上传还没做') // this.$message('上传还没做')
return // return
console.log(row) console.log(row)
if (this.file) { if (this.file) {
const formData = new FormData(); const formData = new FormData();
formData.append('file', this.file); formData.append('file', this.file);
formData.append('prjId',this.checkedList[0].projectId);
formData.append('typeCode',row.typeCode);
ossupload(formData).then(response => { ossupload(formData).then(response => {
console.log(response); console.log(response);
this.$set(row,'fileName',response.data.fileName) this.$set(row,'file_id',response.data.file_id)
// this.tableDataSS.forEach(item=>{
// })
// this.$set(row,'fileName',response.data.fileName)
}) })
.catch(error => { .catch(error => {
...@@ -907,5 +915,11 @@ h3 { ...@@ -907,5 +915,11 @@ h3 {
position: relative; position: relative;
overflow: auto; overflow: auto;
} }
/deep/.el-table th.el-table__cell.is-leaf,
.el-table td.el-table__cell {
text-align: center;
}
/deep/ .el-table__cell {
text-align: center;
}
</style> </style>
\ No newline at end of file
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
<el-table-column label="问题检查项" prop="quesCheckItem" width="200"> <el-table-column label="问题检查项" prop="quesCheckItem" width="200">
</el-table-column> </el-table-column>
<el-table-column label="检查说明" prop="checkDesc" width="300"> <el-table-column label="检查说明" prop="checkDesc" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column label="评估问题" prop="evalQues" width="300"> <el-table-column label="评估问题" prop="evalQues" width="300">
</el-table-column> </el-table-column>
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
<el-table-column label="问题检查项" prop="quesCheckItem" width="200"> <el-table-column label="问题检查项" prop="quesCheckItem" width="200">
</el-table-column> </el-table-column>
<el-table-column label="检查说明" prop="checkDesc" width="300"> <el-table-column label="检查说明" prop="checkDesc" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column label="评估问题" prop="evalQues" width="300"> <el-table-column label="评估问题" prop="evalQues" width="300">
</el-table-column> </el-table-column>
...@@ -330,6 +330,7 @@ import { ...@@ -330,6 +330,7 @@ import {
wtssSelProblemRectification, wtssSelProblemRectification,
wtzgProblemRectification, wtzgProblemRectification,
wtzgxfProblemRectification, wtzgxfProblemRectification,
ossupload
} from "@/api/index"; } from "@/api/index";
export default { export default {
data() { data() {
...@@ -567,7 +568,9 @@ export default { ...@@ -567,7 +568,9 @@ export default {
if (res.code == "200") { if (res.code == "200") {
this.tableDataSS = res.data.records; this.tableDataSS = res.data.records;
this.tableDataSS.forEach((item) => { this.tableDataSS.forEach((item) => {
this.$set(item, "confirmStatus", "2"); if(!item.confirmStatus){
this.$set(item, "confirmStatus", "2")
}
switch (item.projectStage) { switch (item.projectStage) {
case "1": case "1":
this.$set(item, "projectStagetext", "1.可研"); this.$set(item, "projectStagetext", "1.可研");
......
...@@ -191,7 +191,7 @@ ...@@ -191,7 +191,7 @@
<el-table-column label="问题检查项" prop="quesCheckItem"> <el-table-column label="问题检查项" prop="quesCheckItem">
</el-table-column> </el-table-column>
<el-table-column label="检查说明" prop="checkDesc"> <el-table-column label="检查说明" prop="checkDesc" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column label="评估问题" prop="evalQues"> <el-table-column label="评估问题" prop="evalQues">
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
......
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
<el-table-column label="问题检查项" prop="quesCheckItem"> <el-table-column label="问题检查项" prop="quesCheckItem">
</el-table-column> </el-table-column>
<el-table-column label="检查说明" prop="checkDesc"> <el-table-column label="检查说明" prop="checkDesc" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column label="评估问题" prop="evalQues"> <el-table-column label="评估问题" prop="evalQues">
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<el-table-column prop="batchName" label="后评估批次名称"> <el-table-column prop="batchName" label="后评估批次名称">
</el-table-column> </el-table-column>
<el-table-column prop="projectName" label="评估项目名称"> <el-table-column prop="projectName" label="评估项目名称" show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column prop="projectCategory" label="建设形式"> <el-table-column prop="projectCategory" label="建设形式">
</el-table-column> </el-table-column>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<el-table-column label="问题检查项" prop="quesCheckItem"> <el-table-column label="问题检查项" prop="quesCheckItem">
</el-table-column> </el-table-column>
<el-table-column label="检查说明" prop="checkDesc"> </el-table-column> <el-table-column label="检查说明" prop="checkDesc" show-overflow-tooltip> </el-table-column>
<el-table-column label="评估问题" > <el-table-column label="评估问题" >
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="scope.row.evalQues" :disabled="ishow"></el-input> <el-input v-model="scope.row.evalQues" :disabled="ishow"></el-input>
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<el-table-column label="问题检查项" prop="quesCheckItem"> <el-table-column label="问题检查项" prop="quesCheckItem">
</el-table-column> </el-table-column>
<el-table-column label="检查说明" prop="checkDesc"> </el-table-column> <el-table-column label="检查说明" prop="checkDesc" show-overflow-tooltip> </el-table-column>
<el-table-column label="评估问题" prop="evalQues"> <el-table-column label="评估问题" prop="evalQues">
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
<el-input v-model="scope.row.evalQues"></el-input> <el-input v-model="scope.row.evalQues"></el-input>
......
...@@ -412,6 +412,7 @@ import { ...@@ -412,6 +412,7 @@ import {
wtssSelectificationVerification, wtssSelectificationVerification,
bcrectificationVerification, bcrectificationVerification,
tjrectificationVerification, tjrectificationVerification,
ossupload
} from "@/api/index"; } from "@/api/index";
export default { export default {
data() { data() {
...@@ -655,7 +656,9 @@ export default { ...@@ -655,7 +656,9 @@ export default {
if (res.code == "200") { if (res.code == "200") {
this.tableDataSS = res.data.records; this.tableDataSS = res.data.records;
this.tableDataSS.forEach((item) => { this.tableDataSS.forEach((item) => {
this.$set(item, "confirmStatus", "2"); if(!item.confirmStatus){
this.$set(item, "confirmStatus", "2")
}
switch (item.projectStage) { switch (item.projectStage) {
case "1": case "1":
this.$set(item, "projectStagetext", "1.可研"); this.$set(item, "projectStagetext", "1.可研");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!