Commit 6ed6e0be by liangzhen

更新

1 parent 2ebe0e18
......@@ -321,10 +321,14 @@ export function delProject(params){
}
//合规检查结果
//分页
//合规检查结果分页
export function auditTasksResults(params){
return post(`${ARCH_EVALUATION}/auditTasksResults/`, params)
}
//合规检查结果确认分页
export function auditTasksResultsNew(params){
return post(`${ARCH_EVALUATION}/auditTasksResults/ipage`, params)
}
//详情
export function xqauditTasksResults(params){
return post(`${ARCH_EVALUATION}/auditTasksResults/xq`, params)
......
......@@ -1164,15 +1164,12 @@ export default {
ruleFormdialogBJ: {
auditName: "",
auditTime: "",
auditFrequency: "",
auditType: "",
},
dialogAdd: false,
ruleFormdialogAdd: {
auditName: "",
delivery: true,
auditFrequency: "",
auditTime: "",
auditType: "",
},
......@@ -1301,17 +1298,7 @@ export default {
if (res.code == "200") {
this.tableData = res.data.records;
this.tableData.forEach((item) => {
if (item.auditFrequency == 0) {
this.$set(item, "auditFrequencyText", "仅一次");
} else if (item.auditFrequency == 1) {
this.$set(item, "auditFrequencyText", "每周");
} else if (item.auditFrequency == 2) {
this.$set(item, "auditFrequencyText", "每月");
} else if (item.auditFrequency == 3) {
this.$set(item, "auditFrequencyText", "每季度");
} else if (item.auditFrequency == 4) {
this.$set(item, "auditFrequencyText", "每年");
}
});
this.total = res.data.total * 1;
}
......
......@@ -143,7 +143,7 @@
<el-input v-model="ruleFormdialogXQ.projectCategory" disabled></el-input>
</el-form-item> -->
</el-form>
<p class="zjBtn">稽核结果</p>
<p class="zjBtn">稽核异常项目清单</p>
<div class="setscroll">
<el-table
:data="XQtableData"
......@@ -200,7 +200,7 @@ export default {
listData: {},
showButton: true,
ruleForm: {
dates:[]
},
ruleFormdialogXQ: {},
currentPageXQ:1,
......
......@@ -64,11 +64,11 @@
placeholder="请选择"
clearable
>
<el-option label="待整改" value="0"></el-option>
<el-option label="待提交" value="1"></el-option>
<el-option label="已提交" value="2"></el-option>
<el-option label="被退回" value="3"></el-option>
<el-option label="整改完成" value="4"></el-option>
<el-option label="待整改" value="1"></el-option>
<el-option label="待提交" value="2"></el-option>
<el-option label="已提交" value="3"></el-option>
<el-option label="被退回" value="4"></el-option>
<el-option label="整改完成" value="5"></el-option>
</el-select>
</el-form-item>
......@@ -324,20 +324,23 @@
</template>
</el-table-column>
<el-table-column prop="ruleType" label="申诉证明材料" width="auto">
<template slot-scope="scope">
<template slot-scope="scope" v-if="scope.row.confirmStatus == '1'">
<el-tag type="info" v-if="scope.row.sszmFileName" closable size="small" @close="handleClose(scope)" >{{scope.row.sszmFileName}}</el-tag>
<input
v-else
type="file"
@change="handleFileUpload($event,scope.row,'sszmFileId')"
v-if="scope.row.confirmStatus == '1'"
/>
</template>
</el-table-column>
<el-table-column prop="ruleType" label="问题解决佐证材料" width="auto">
<template slot-scope="scope">
<el-tag type="info" v-if="scope.row.sszzFileName" closable size="small" @close="handleCloseZZ(scope)" >{{scope.row.sszzFileName}}</el-tag>
<input
v-else
type="file"
@change="handleFileUpload($event,scope.row,'sszzFileId')"
v-if="scope.row.confirmStatus == '1'"
/>
</template>
</el-table-column>
......@@ -404,6 +407,14 @@ export default {
this.submitForm();
},
methods: {
handleClose(fileName){
// console.log('关闭',fileName)
fileName.row.sszmFileName = ""
},
handleCloseZZ(fileName){
// console.log('关闭',fileName)
fileName.row.sszzFileName = ""
},
timeChange(time) {
if (time) {
//给后端的参数
......@@ -426,15 +437,15 @@ export default {
if (res.code == "200") {
this.tableData = res.data.records;
this.tableData.forEach((item) => {
if (item.rectificationStatus == 0||!item.rectificationStatus) {
if (item.rectificationStatus == 1||!item.rectificationStatus) {
this.$set(item, "rectificationStatusText", "待整改 ");
} else if (item.rectificationStatus == 1) {
this.$set(item, "rectificationStatusText", "待提交");
} else if (item.rectificationStatus == 2) {
this.$set(item, "rectificationStatusText", "提交");
this.$set(item, "rectificationStatusText", "提交");
} else if (item.rectificationStatus == 3) {
this.$set(item, "rectificationStatusText", "已提交");
} else if (item.rectificationStatus == 4) {
this.$set(item, "rectificationStatusText", "被退回");
} else if (item.rectificationStatus == 2) {
} else if (item.rectificationStatus == 5) {
this.$set(item, "rectificationStatusTextt", "整改完成");
}
this.$set(
......@@ -560,6 +571,7 @@ export default {
formData.append("file", this.file);
ossupload(formData)
.then((response) => {
this.$message("上传成功")
console.log(response);
this.file = [];
this.$set(row, type, response.data.fileId);
......@@ -968,4 +980,8 @@ h3 {
position: relative;
overflow: auto;
}
/deep/ .el-tag{
white-space: normal;
height:auto;
}
</style>
\ No newline at end of file
......@@ -64,11 +64,9 @@
placeholder="请选择"
clearable
>
<el-option label="待整改" value="0"></el-option>
<el-option label="待提交" value="1"></el-option>
<el-option label="已提交" value="2"></el-option>
<el-option label="被退回" value="3"></el-option>
<el-option label="整改完成" value="4"></el-option>
<el-option label="已提交" value="3"></el-option>
<el-option label="被退回" value="4"></el-option>
<el-option label="整改完成" value="5"></el-option>
</el-select>
</el-form-item>
......@@ -475,15 +473,15 @@ export default {
this.$set(item, "auditFrequencyText", "每年");
}
if (item.rectificationStatus == 0 || !item.rectificationStatus) {
if (item.rectificationStatus == 1 || !item.rectificationStatus) {
this.$set(item, "rectificationStatusText", "待整改");
} else if (item.rectificationStatus == 1) {
this.$set(item, "rectificationStatusText", "待提交");
} else if (item.rectificationStatus == 2) {
this.$set(item, "rectificationStatusText", "提交");
this.$set(item, "rectificationStatusText", "提交");
} else if (item.rectificationStatus == 3) {
this.$set(item, "rectificationStatusText", "被退回");
this.$set(item, "rectificationStatusText", "已提交");
} else if (item.rectificationStatus == 4) {
this.$set(item, "rectificationStatusText", "被退回");
} else if (item.rectificationStatus == 5) {
this.$set(item, "rectificationStatusText", "整改完成");
}
this.$set(
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!