Commit e603c8d3 by liangzhen

申诉暂存

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