From 4cab569dd18677a4e50398a7992ed0c1ebaf5970 Mon Sep 17 00:00:00 2001 From: huangli865118801 <865118801@qq.com> Date: Fri, 13 Aug 2021 16:16:35 +0800 Subject: [PATCH] ddd --- api/user.js | 13 ++ pages/stopLine/stopLine.vue | 261 ++++++++++++++++++++++++++++-------- 2 files changed, 215 insertions(+), 59 deletions(-) diff --git a/api/user.js b/api/user.js index 2986bb4..fe5f7a5 100644 --- a/api/user.js +++ b/api/user.js @@ -500,4 +500,17 @@ export function rawFormDetail(data) { method: "get", data }); +} + +/** + * 员工 + * @param {Object} data + */ +export function staff(data) { + console.log(data) + return request({ + url: `${functions.getDomain()}/api/staff`, + method: "get", + data + }); } \ No newline at end of file diff --git a/pages/stopLine/stopLine.vue b/pages/stopLine/stopLine.vue index 06d6bb3..43bc739 100644 --- a/pages/stopLine/stopLine.vue +++ b/pages/stopLine/stopLine.vue @@ -31,11 +31,13 @@ - + 停线原因 - {{reason[reasonIds]}} + 请选择 + {{reason[reasonIds].item}} + @@ -43,11 +45,11 @@ 设备维修 - + 设备编号 - {{deviceNo[froms.device[0].device_id-1]}} + {{deviceNo[devIds].name}} @@ -61,78 +63,96 @@ + 原因分析 - + {{deviceCauseAnalysis[devYyIds].name}} + + + 维修描述 - + {{deviceRepairDescription[devRepairids].name}} + - + + + 维修人员 - + {{staffList[staffIdx].name}} + +