Commit 9823a45e by yancanhua

fix: 检查测试问题修改

1 parent 200770a2
......@@ -168,8 +168,8 @@ export default class DetectionOrderPage extends PaginationComponent<Vehicle> {
},
},
{ title: '工单单号', dataIndex: 'woId', key: 'woId', align: 'center', fixed: 'left', width: 170, resizable: true, ellipsis: true },
{ title: '车源号', dataIndex: ['vehicle', 'baseInfo', "sourceNo"], key: 'sourceNo', fixed: 'left', align: 'center', width: 170, resizable: true, ellipsis: true },
{ title: '车型名称', dataIndex: ['vehicle', 'baseInfo', "carTypeName"], key: 'carTypeName', align: 'left', fixed: 'left', width: 286, resizable: true, ellipsis: true },
{ title: '车源号', dataIndex: ['vehicle', 'baseInfo', "sourceNo"], key: 'sourceNo', align: 'center', width: 170, resizable: true, ellipsis: true },
{ title: '车型名称', dataIndex: ['vehicle', 'baseInfo', "carTypeName"], key: 'carTypeName', align: 'left', width: 286, resizable: true, ellipsis: true },
{ title: '车牌号', dataIndex: ['vehicle', 'baseInfo', "licensePlate"], key: 'licensePlate', align: 'center', width: 170, resizable: true, ellipsis: true },
{ title: '所属门店', dataIndex: ['vehicle', 'venue', 'venueName'], key: 'venueName', align: 'center', width: 170, resizable: true, ellipsis: true },
{ title: '车辆所在地址', dataIndex: ['vehicle', 'custodianInfo', "handoverAddress"], key: 'handoverAddress', width: 240, resizable: true, ellipsis: true },
......@@ -301,7 +301,7 @@ export default class DetectionOrderPage extends PaginationComponent<Vehicle> {
}
DetectionController.inspectOrderExport(this.axios, paramsData, { responseType: 'blob' }).then(response => {
message.success('导出任务已创建,请在下载中心查看');
ExportUtil.downloadExcelFile(response.data, + this.getNewTime() + '-检测工单管理');
ExportUtil.downloadExcelFile(response.data, this.getNewTime() + '-检测工单管理');
}).catch(error => {
console.error('Error downloading Word file:', error);
}).finally(() => {
......
......@@ -49,9 +49,9 @@
<a-form-item name="inspectorId" label="检测人员" :rules="[{ required: true, message: '请选择检测人员' }]">
<a-select ref="select" v-model:value="postData.inspectorId" placeholder="请选择检测人员"
style="width: 376px;" show-search option-filter-prop="label">
<a-select-option v-for="item in inspectPageList" :key="item.id" :label="item.name"
<a-select-option v-for="item in inspectPageList" :key="item.id" :label="item.name + item.phone"
:value="item.id">
{{ item.name }}
{{ item.name }} {{ item.phone || '-' }}
</a-select-option>
</a-select>
</a-form-item>
......
......@@ -130,12 +130,12 @@ export default class DetectionReportPage extends PaginationComponent<Vehicle> {
*/
columns: TableColumnsType = [
{
title: '序号', key: 'index', width: 70, align: 'center', sorter: false,
title: '序号', key: 'index', width: 70, align: 'center', fixed: 'left', sorter: false,
customRender: ({ index }) => {
return (this.getPagination().pageIndex - 1) * this.getPagination().pageSize + index + 1;
},
},
{ title: '报告编号', dataIndex: 'reportNo', key: 'reportNo', align: 'center', width: 150, resizable: true, ellipsis: true },
{ title: '报告编号', dataIndex: 'reportNo', key: 'reportNo', align: 'center', fixed: 'left', width: 150, resizable: true, ellipsis: true },
{ title: '生成时间', dataIndex: 'createTime', key: 'createTime', align: 'center', width: 170, resizable: true, ellipsis: true, sorter: true },
{ title: '工单单号', dataIndex: "woId", key: 'woId', align: 'center', width: 150, resizable: true, ellipsis: true },
{ title: '车源号', dataIndex: ['vehicle', 'baseInfo', "sourceNo"], key: 'sourceNo', align: 'center', width: 170, resizable: true, ellipsis: true },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!