配件领用接口未对接

This commit is contained in:
zzyuan 2025-01-08 16:37:02 +08:00
parent 9107897db6
commit 22a890a385
2 changed files with 29 additions and 29 deletions

View File

@ -257,13 +257,13 @@ export default {
}, },
//- //-
getTaskInfo() { getTaskInfo() {
this.loading = true; // this.loading = true;
getAuditInfo({ taskId: this.taskId }).then((response) => { // getAuditInfo({ taskId: this.taskId }).then((response) => {
this.maForm = this.paramTemp; // this.maForm = this.paramTemp;
this.equipmentList = response.rows; // this.equipmentList = response.rows;
this.total = response.total; // this.total = response.total;
this.loading = false; this.loading = false;
}); // });
}, },
// //
handlePass(row) { handlePass(row) {

View File

@ -317,21 +317,21 @@ export default {
} }
}, },
getList() { getList() {
this.loading = true; // this.loading = true;
const params = { // const params = {
keyword: this.queryParams.keyword, // keyword: this.queryParams.keyword,
startTime: this.queryParams.time && this.queryParams.time[0], // startTime: this.queryParams.time && this.queryParams.time[0],
endTime: this.queryParams.time && this.queryParams.time[1], // endTime: this.queryParams.time && this.queryParams.time[1],
pageSize: this.queryParams.pageSize, // pageSize: this.queryParams.pageSize,
pageNum: this.queryParams.pageNum, // pageNum: this.queryParams.pageNum,
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() {
@ -468,15 +468,15 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download( // this.download(
"/material/repair_audit_details/export", // "/material/repair_audit_details/export",
{ // {
...this.queryParams, // ...this.queryParams,
startTime: this.queryParams.time && this.queryParams.time[0], // startTime: this.queryParams.time && this.queryParams.time[0],
endTime: this.queryParams.time && this.queryParams.time[1], // endTime: this.queryParams.time && this.queryParams.time[1],
}, // },
`修试审核_${new Date().getTime()}.xlsx` // `_${new Date().getTime()}.xlsx`
); // );
}, },
// //