测试问题修改

This commit is contained in:
zzyuan 2025-01-24 14:49:15 +08:00
parent 9702299f71
commit 133d1ef461
9 changed files with 21 additions and 21 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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