diff --git a/src/pages/dateUpdate/index.vue b/src/pages/dateUpdate/index.vue index 4bab40b..8afbac9 100644 --- a/src/pages/dateUpdate/index.vue +++ b/src/pages/dateUpdate/index.vue @@ -1,229 +1,338 @@ - - - - - - - - - - 二维码 - - - - - - - - 查询 - - + + + + + + + + + + + 二维码 + + + + + + - {{ typeName || '请选择对应机具' }} + + + 查询 + + + - - 设备类型:{{ formData.maType }} - 规格型号:{{ formData.typeName }} - 设备编码:{{ formData.code }} - 本次检修人员:{{ formData.repairer }} - 本次检修时间:{{ formData.repairTime }} - 下次检修时间:{{ formData.nextRepairTime }} - - - 确认修改 - - - - - {{ item.name }} - - - - + + + + + + + 设备类型:{{ formData.maType }} + 规格型号:{{ formData.typeName }} + 设备编码:{{ formData.code }} + 本次检修人员:{{ formData.repairer }} + 本次检修时间:{{ formData.repairTime }} + 下次检修时间:{{ formData.nextRepairTime }} + + + + + 确认修改 + + + + + + + + + {{ item.name }} + + + + + + - - ::v-deep .uni-data-checklist { - // 去掉 flex: 1 - flex: none; - } - \ No newline at end of file diff --git a/src/pages/repair/wsMaInfo/index.vue b/src/pages/repair/wsMaInfo/index.vue index 53f48c6..2b6474d 100644 --- a/src/pages/repair/wsMaInfo/index.vue +++ b/src/pages/repair/wsMaInfo/index.vue @@ -1,403 +1,424 @@ - - - - - - + + + + 填充编码 + + + + + + {{ item }} + + - - - - - - - - - - - - - - + + + + + - - - + + + + + + + + + - - - + + + + + + + + - - - - - + + + - - - 填充编码 - - - + + + - - {{ item }} - - + + + + + - - 清空 - 确认 - - + + + 清空 + 确认 + + \ No newline at end of file + &:active { + background: #f7f8fa; + } + } + } + } +} + diff --git a/src/services/wsMaInfo/wsMaInfo.js b/src/services/wsMaInfo/wsMaInfo.js index 562ea56..40d4c17 100644 --- a/src/services/wsMaInfo/wsMaInfo.js +++ b/src/services/wsMaInfo/wsMaInfo.js @@ -64,11 +64,11 @@ export const getMaModeData = (parentId) => { } -export const updateCheckTime = (id) => { +export const updateCheckTime = (maCode) => { return http({ method: 'POST', url: '/material/wsMaInfo/updateCheckTime', - data: {id} + data: {maCode} }) } @@ -82,4 +82,4 @@ export const getSupplier = () => { url: '/material/wsMaInfo/getSupplier', data: {} }) -} \ No newline at end of file +}