修饰审核问题修改

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

View File

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

View File

@ -276,15 +276,16 @@ export default {
selection.forEach((item) => { selection.forEach((item) => {
this.passTemp.push({ id: item.id, status: "1",specificationType: item.specificationType,machineTypeName:item.machineTypeName, 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, 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) => { selection.forEach((item) => {
this.failTemp.push({ id: item.id, status: "2",specificationType: item.specificationType,machineTypeName:item.machineTypeName, 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, 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.single = selection.length != 1;
this.multiple = !selection.length; this.multiple = !selection.length;
console.log(this.multiple)
}, },
//- //-
getTaskInfo() { getTaskInfo() {

View File

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