From 808f12b3bc81bbe74c9a2be7596b25409d8f4140 Mon Sep 17 00:00:00 2001 From: xiaobai <857694115@qq.com> Date: Thu, 15 Jul 2021 14:28:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/template.js | 16 + src/components/drawerDialog/index.vue | 264 +++++-- src/views/ysjl/elevator/common/index.vue | 855 +++++++++++++++++++++++ src/views/ysjl/elevator/yeyin/index.vue | 0 4 files changed, 1095 insertions(+), 40 deletions(-) create mode 100644 src/views/ysjl/elevator/common/index.vue create mode 100644 src/views/ysjl/elevator/yeyin/index.vue diff --git a/src/api/template.js b/src/api/template.js index 64d8389..abd9b0a 100644 --- a/src/api/template.js +++ b/src/api/template.js @@ -1,4 +1,5 @@ import api from '@/utils/api' +import qs from 'qs' export default { getList: (params) => { @@ -7,5 +8,20 @@ export default { method: 'get', params: params }) + }, + deleteModuleFn: (params) => { + return api({ + url: '/templateSetting', + method: 'delete', + params: qs.stringify(params) + }) + }, + deleteSettingFn: (params) => { + console.log(params) + return api({ + url: '/templateSetting', + method: 'delete', + params: qs.stringify(params) + }) } } diff --git a/src/components/drawerDialog/index.vue b/src/components/drawerDialog/index.vue index 2204aab..aec86ff 100644 --- a/src/components/drawerDialog/index.vue +++ b/src/components/drawerDialog/index.vue @@ -211,6 +211,14 @@ /> +