修饰审核问题修改

This commit is contained in:
zzyuan 2024-12-11 17:02:53 +08:00
parent b34869cbc6
commit d8d2a594ea
4 changed files with 14 additions and 14 deletions

View File

@ -65,7 +65,7 @@
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<!-- <el-col :span="1.5">
<el-button
type="success"
plain
@ -84,8 +84,8 @@
@click="handleFailAll"
>驳回
</el-button>
</el-col>
<el-col :span="1.5">
</el-col> -->
<!-- <el-col :span="1.5">
<el-button
type="warning"
plain
@ -94,7 +94,7 @@
@click="handleExport"
>导出
</el-button>
</el-col>
</el-col> -->
<right-toolbar
:showSearch.sync="showSearch"
@queryTable="getList"
@ -339,11 +339,11 @@ export default {
taskStatus: this.queryParams.taskStatus,
taskType:5,
};
// getListTestExamineApply(this.addDateRange(params)).then((response) => {
// this.typeList = response.rows;
// this.total = response.total;
getListTestExamineApply(this.addDateRange(params)).then((response) => {
this.typeList = response.rows;
this.total = response.total;
this.loading = false;
// });
});
},
/** 搜索按钮操作 */
handleQuery() {

View File

@ -38,7 +38,7 @@ export default {
data() {
return {
isShowComponent: "Home",
pageContent: "领料申请",
pageContent: "报废审核",
isEdit: false,
editTaskId: "",
editId: "",
@ -54,7 +54,7 @@ export default {
/* 编辑工机具 */
addTools(taskId, id,row) {
this.isEdit = true;
this.pageContent = "审核";
this.pageContent = "报废审核";
this.queryTaskId = taskId;
this.queryId = id;
this.param = row;

View File

@ -276,15 +276,16 @@ export default {
selection.forEach((item) => {
this.passTemp.push({ id: item.id, status: "1",specificationType: item.specificationType,machineTypeName:item.machineTypeName,
unitName:item.unitName,repairNum:item.repairNum,repairedNum:item.repairedNum,typeId:item.typeId,taskId:item.taskId,
auditId:row.id,repairId:row.repairId,maId:row.maId, });
auditId:item.id,repairId:item.repairId,maId:item.maId, });
});
selection.forEach((item) => {
this.failTemp.push({ id: item.id, status: "2",specificationType: item.specificationType,machineTypeName:item.machineTypeName,
unitName:item.unitName,repairNum:item.repairNum,repairedNum:item.repairedNum,typeId:item.typeId,taskId:item.taskId,
auditId:row.id,repairId:row.repairId,maId:row.maId, });
auditId:item.id,repairId:item.repairId,maId:item.maId, });
});
this.single = selection.length != 1;
this.multiple = !selection.length;
console.log(this.multiple)
},
//-
getTaskInfo() {

View File

@ -17,7 +17,6 @@
:isView="isView"
:codingTaskId="codingTaskId"
@addTools="addTools"
@editTools="editTools"
@queryTools="queryTools"
/>
</div>