diff --git a/src/views/device/inspectionWork/index.vue b/src/views/device/inspectionWork/index.vue index 2a536cdc..c2afe432 100644 --- a/src/views/device/inspectionWork/index.vue +++ b/src/views/device/inspectionWork/index.vue @@ -323,6 +323,8 @@ + + @@ -672,6 +674,10 @@ export default { this.getList(); }, methods: { + // 生成表头序号 + indexMethod(index) { + return index + 1; + }, // 获取工作中心 setWorkCenter() { getWorkCenter().then(response => { diff --git a/src/views/device/maintenanceWork/index.vue b/src/views/device/maintenanceWork/index.vue index bb5798d1..f10cf76d 100644 --- a/src/views/device/maintenanceWork/index.vue +++ b/src/views/device/maintenanceWork/index.vue @@ -339,6 +339,8 @@ + + @@ -741,6 +743,10 @@ export default { this.getList(); }, methods: { + // 生成表头序号 + indexMethod(index) { + return index + 1; + }, // 获取工作中心 setWorkCenter() { getWorkCenter().then(response => { diff --git a/src/views/device/repairOrderReport/index.vue b/src/views/device/repairOrderReport/index.vue index 35ecbbfe..7c4914e9 100644 --- a/src/views/device/repairOrderReport/index.vue +++ b/src/views/device/repairOrderReport/index.vue @@ -195,7 +195,7 @@ label="维修单号" align="center" prop="workCode" - width="200" + width="180" fixed >