Merge branch 'material-ui' of http://192.168.0.75:3000/bonus/bonus-ui into material-ui

This commit is contained in:
hongchao 2025-01-24 16:39:49 +08:00
commit 1340792d48
11 changed files with 30 additions and 30 deletions

View File

@ -373,8 +373,8 @@ export default {
...this.queryParams,
}
const res = await getBackApplyList(params)
this.typeList = res.rows
this.total = res.total
this.typeList = res.data.rows
this.total = res.data.total
this.loading = false
} catch (error) {}
},

View File

@ -430,7 +430,7 @@ export default {
const res = await addQrCodeApi(this.dialogForm)
if (res.code == 200) {
this.$message({ type: 'success', message: "新增成功" })
this.open=true;
this.open=false;
this.resetQuery()
}
}

View File

@ -443,9 +443,9 @@ export default {
pageNum: this.queryParams.pageNum,
statusList:[this.queryParams.taskStatus]
};
getListLeaseApply(this.addDateRange(params)).then((response) => {
this.typeList = response.rows;
this.total = response.total;
getListLeaseApply(params).then((response) => {
this.typeList = response.data.rows;
this.total = response.data.total;
this.loading = false;
});
},

View File

@ -490,9 +490,9 @@ export default {
pageSize: this.queryParams.pageSize,
pageNum: this.queryParams.pageNum,
};
getListLeaseApply(this.addDateRange(params)).then((response) => {
this.typeList = response.rows;
this.total = response.total;
getListLeaseApply(params).then((response) => {
this.typeList = response.data.rows;
this.total = response.data.total;
this.loading = false;
});
},

View File

@ -933,8 +933,8 @@ export default {
params.statusList=[this.queryParams.taskStatus]
}
getListLeaseApply(this.addDateRange(params)).then((response) => {
this.typeList = response.rows;
this.total = response.total;
this.typeList = response.data.rows;
this.total = response.data.total;
this.loading = false;
});
},

View File

@ -334,8 +334,8 @@ export default {
taskStatus: this.queryParams.taskStatus,
};
getPartLeaseInfoListApi(params).then((response) => {
this.tableList = response.rows;
this.total = response.total;
this.tableList = response.data.rows;
this.total = response.data.total;
this.loading = false;
});
},

View File

@ -1253,13 +1253,13 @@ export default {
this.$message.error("配件数量不能为0");
return;
}
const isCost = this.backTableList.some(
(item) => item.backCost == 0 || item.backCost == undefined
);
if (isCost) {
this.$message.error("维修金额不能为0");
return;
}
// const isCost = this.backTableList.some(
// (item) => item.backCost == 0 || item.backCost == undefined
// );
// if (isCost) {
// this.$message.error("0");
// return;
// }
this.backTableList.forEach(item=>{
item.supplierId = this.backForm.supplierId
item.remark = this.backForm.remark

View File

@ -378,8 +378,8 @@ export default {
...this.queryParams,
}
const res = await getRepairTaskList(params)
this.tableList = res.rows
this.total = res.total
this.tableList = res.data.rows
this.total = res.data.total
this.loading = false
} catch (error) {}
},

View File

@ -45,12 +45,12 @@
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<!-- <el-col :span="1.5">
<el-button type="success" plain icon="el-icon-check" size="mini" @click="handlePassAll">通过</el-button>
</el-col>
<el-col :span="1.5">
<el-button type="danger" plain icon="el-icon-close" size="mini" @click="handleFailAll">驳回</el-button>
</el-col>
</el-col> -->
<el-col :span="1.5">
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport">导出</el-button>
</el-col>
@ -163,8 +163,8 @@ export default {
pageNum: this.queryParams.pageNum,
};
getScrapApplyListApi(params).then((response) => {
this.tableList = response.rows;
this.total = response.total;
this.tableList = response.data.rows;
this.total = response.data.total;
this.loading = false;
});
},

View File

@ -354,8 +354,8 @@ export default {
taskType:5,
};
getListTestExamineApply(this.addDateRange(params)).then((response) => {
this.typeList = response.rows;
this.total = response.total;
this.typeList = response.data.rows;
this.total = response.data.total;
this.loading = false;
});
},

View File

@ -197,8 +197,8 @@ export default {
getList() {
this.loading = true;
getTestedListApi(this.queryParams).then((response) => {
this.testedList = response.rows;
this.total = response.total;
this.testedList = response.data.rows;
this.total = response.data.total;
this.loading = false;
});
},