From d7d7644b3aaa711aebbee0da204d3b1e69f14358 Mon Sep 17 00:00:00 2001 From: jyt <1592211625@qq.com> Date: Fri, 25 Mar 2022 15:12:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/http.js | 24 +++++ src/components/wechat/WxEditor.vue | 11 ++- src/views/contentManage/updateRecord/list.vue | 94 +++++++++++++------ .../contentManage/updateRecord/update.vue | 71 ++++++++++---- vue.config.js | 4 +- 5 files changed, 151 insertions(+), 53 deletions(-) diff --git a/src/api/modules/http.js b/src/api/modules/http.js index 9151072..1cb9b0e 100644 --- a/src/api/modules/http.js +++ b/src/api/modules/http.js @@ -868,4 +868,28 @@ export function updateListApi(data) { method: 'get', params: data }) +} +// 更新记录新增 +export function updateAddApi(data) { + return request({ + url: 'autoSR/api/zkMessage/insertSelective', + method: 'post', + data + }) +} +// 更新记录详情 +export function updateInfoApi(params) { + return request({ + url: 'autoSR/api/zkMessage/findById', + method: 'get', + params + }) +} +// 更新记录删除 +export function updateDelApi(params) { + return request({ + url: 'autoSR/api/zkMessage/deleteById', + method: 'get', + params + }) } \ No newline at end of file diff --git a/src/components/wechat/WxEditor.vue b/src/components/wechat/WxEditor.vue index 8cb9435..b560c28 100644 --- a/src/components/wechat/WxEditor.vue +++ b/src/components/wechat/WxEditor.vue @@ -9,7 +9,7 @@
- - - - + + + +