From a55d35273bac88506b68ee060859cd780ec04f46 Mon Sep 17 00:00:00 2001 From: huangli865118801 <865118801@qq.com> Date: Wed, 25 Aug 2021 11:30:00 +0800 Subject: [PATCH] ddd --- api/user.js | 12 ++ pages.json | 9 ++ pages/deviceByAdd/deviceByAdd.vue | 111 ++++++++++++++++++ pages/deviceByAdd/index.scss | 57 +++++++++ pages/deviceList/deviceList.vue | 11 +- .../stampingRecordList/stampingRecordList.vue | 8 +- 6 files changed, 206 insertions(+), 2 deletions(-) create mode 100644 pages/deviceByAdd/deviceByAdd.vue create mode 100644 pages/deviceByAdd/index.scss diff --git a/api/user.js b/api/user.js index 4e81271..809c828 100644 --- a/api/user.js +++ b/api/user.js @@ -619,3 +619,15 @@ export function lineCheckDevice(data) { data }); } +/** + * 设备列表 + * @param {Object} data + */ +export function deviceRecord(data) { + console.log(data) + return request({ + url: `${functions.getDomain()}/api/device-record`, + method: "post", + data + }); +} \ No newline at end of file diff --git a/pages.json b/pages.json index 07e3071..79317c6 100644 --- a/pages.json +++ b/pages.json @@ -274,6 +274,15 @@ } } + ,{ + "path" : "pages/deviceByAdd/deviceByAdd", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + } ], "globalStyle": { "navigationBarTextStyle": "white", diff --git a/pages/deviceByAdd/deviceByAdd.vue b/pages/deviceByAdd/deviceByAdd.vue new file mode 100644 index 0000000..5de0f6a --- /dev/null +++ b/pages/deviceByAdd/deviceByAdd.vue @@ -0,0 +1,111 @@ +