From ac962cea64edbea450ec33c02a98946794c492e5 Mon Sep 17 00:00:00 2001 From: shane <88386378@qq.com> Date: Sat, 10 Jul 2021 13:34:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E8=AF=81=E9=87=91=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E3=80=81=E8=BF=9E=E7=BB=AD=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/addAccountBond/addAccountBond.html | 4 +-- .../common/addAccountBond/addAccountBond.js | 33 +++---------------- .../property/editAdvert/editAdvert.html | 2 +- .../accountBondManage/accountBondManage.html | 15 ++++++--- .../accountBondManage/accountBondManage.js | 25 ++++++++++++-- 5 files changed, 41 insertions(+), 38 deletions(-) diff --git a/public/components/common/addAccountBond/addAccountBond.html b/public/components/common/addAccountBond/addAccountBond.html index 8e0fb1270..eea263bd4 100644 --- a/public/components/common/addAccountBond/addAccountBond.html +++ b/public/components/common/addAccountBond/addAccountBond.html @@ -12,8 +12,8 @@
diff --git a/public/pages/admin/accountBondManage/accountBondManage.html b/public/pages/admin/accountBondManage/accountBondManage.html index ca4fbb72a..2973be810 100644 --- a/public/pages/admin/accountBondManage/accountBondManage.html +++ b/public/pages/admin/accountBondManage/accountBondManage.html @@ -18,13 +18,20 @@
- +
+
+ +
- - diff --git a/public/pages/admin/accountBondManage/accountBondManage.js b/public/pages/admin/accountBondManage/accountBondManage.js index 951a5839c..ea63fa046 100644 --- a/public/pages/admin/accountBondManage/accountBondManage.js +++ b/public/pages/admin/accountBondManage/accountBondManage.js @@ -16,11 +16,13 @@ bondName: '', objId: '', - } + }, + shopTypes : [] } }, _initMethod: function () { vc.component._listAccountBonds(DEFAULT_PAGE, DEFAULT_ROWS); + $that._listAddShopTypes(); }, _initEvent: function () { @@ -76,7 +78,26 @@ } else { vc.component.accountBondManageInfo.moreCondition = true; } - } + }, + _listAddShopTypes:function(){ + var param = { + params: { + page: 1, + row: 100 + } + }; + //发送get请求 + vc.http.apiGet('/shopType/queryShopType', + param, + function(json,res){ + var _shopTypeManageInfo=JSON.parse(json); + vc.component.accountBondManageInfo.shopTypes = _shopTypeManageInfo.data; + },function(errInfo,error){ + console.log('请求失败处理'); + } + ); + }, + }