From 59625546271581965b0eaf51954f7888c2bc7969 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Sat, 2 Apr 2022 16:40:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=A0=E9=99=A4=E8=B4=B9?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../property/deleteFee/deleteFee.js | 5 +- .../property/carStructure/carStructure.html | 21 ++++++ .../property/carStructure/carStructure.js | 70 +++++++++++++++++++ 3 files changed, 94 insertions(+), 2 deletions(-) create mode 100644 public/pages/property/carStructure/carStructure.html create mode 100644 public/pages/property/carStructure/carStructure.js diff --git a/public/components/property/deleteFee/deleteFee.js b/public/components/property/deleteFee/deleteFee.js index 3e621a7a7..169f6c9ae 100755 --- a/public/components/property/deleteFee/deleteFee.js +++ b/public/components/property/deleteFee/deleteFee.js @@ -28,7 +28,8 @@ }, function(json, res) { //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); - if (res.status == 200) { + let _json = JSON.parse(json); + if (_json.code == 0) { //关闭model $('#deleteFeeModel').modal('hide'); vc.emit('listRoomFee', 'notify', {}); @@ -40,7 +41,7 @@ vc.toast("删除费用成功"); return; } - vc.toast(json); + vc.toast(_json.msg); }, function(errInfo, error) { console.log('请求失败处理'); diff --git a/public/pages/property/carStructure/carStructure.html b/public/pages/property/carStructure/carStructure.html new file mode 100644 index 000000000..8908a7a44 --- /dev/null +++ b/public/pages/property/carStructure/carStructure.html @@ -0,0 +1,21 @@ +