测试问题修改
This commit is contained in:
parent
9702299f71
commit
133d1ef461
|
|
@ -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) {}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
});
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
});
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
});
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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) {}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
});
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
});
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue