From 707fa05e06d271b5cf247900092ea0aff7a83fad Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Sun, 9 Mar 2025 18:03:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../listPropertyManage.html | 111 ------------------ .../listPropertyManage/listPropertyManage.js | 92 --------------- .../listStoreManage/listStoreManage.html | 104 ---------------- .../listStoreManage/listStoreManage.js | 77 ------------ 4 files changed, 384 deletions(-) delete mode 100644 public/pages/admin/listPropertyManage/listPropertyManage.html delete mode 100644 public/pages/admin/listPropertyManage/listPropertyManage.js delete mode 100644 public/pages/property/listStoreManage/listStoreManage.html delete mode 100644 public/pages/property/listStoreManage/listStoreManage.js diff --git a/public/pages/admin/listPropertyManage/listPropertyManage.html b/public/pages/admin/listPropertyManage/listPropertyManage.html deleted file mode 100644 index eafa926a6..000000000 --- a/public/pages/admin/listPropertyManage/listPropertyManage.html +++ /dev/null @@ -1,111 +0,0 @@ -
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
- -
-
-
-
-
-
-
-
-
-
- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ID
{{listProperty.storeName}}{{listProperty.staffName}}{{listProperty.staffTel}}{{listProperty.staffId}}{{listProperty.state == '48002'?'限制登录':'正常'}}{{listProperty.createTime}} -
- - - - -
-
-
    -
    - - -
    -
    -
    -
    - - - - - -
    diff --git a/public/pages/admin/listPropertyManage/listPropertyManage.js b/public/pages/admin/listPropertyManage/listPropertyManage.js deleted file mode 100644 index 13b5b22be..000000000 --- a/public/pages/admin/listPropertyManage/listPropertyManage.js +++ /dev/null @@ -1,92 +0,0 @@ -/** - 入驻小区 - **/ -(function (vc) { - var DEFAULT_PAGE = 1; - var DEFAULT_ROWS = 10; - vc.extends({ - data: { - listPropertyManageInfo: { - listPropertys: [], - total: 0, - records: 1, - moreCondition: false, - conditions: { - name: '', - staffName: '', - tel: '', - relCd: '600311000001' - } - } - }, - _initMethod: function () { - $that._listListPropertys(DEFAULT_PAGE, DEFAULT_ROWS); - }, - _initEvent: function () { - - vc.on('listPropertyManage', 'listListProperty', function (_param) { - $that._listListPropertys(DEFAULT_PAGE, DEFAULT_ROWS); - }); - vc.on('pagination', 'page_event', function (_currentPage) { - $that._listListPropertys(_currentPage, DEFAULT_ROWS); - }); - }, - methods: { - _listListPropertys: function (_page, _rows) { - $that.listPropertyManageInfo.conditions.page = _page; - $that.listPropertyManageInfo.conditions.row = _rows; - let param = { - params: $that.listPropertyManageInfo.conditions - }; - - //发送get请求 - vc.http.apiGet('/storeStaff/getPropertyStaffs', - param, - function (json, res) { - let _json = JSON.parse(json); - $that.listPropertyManageInfo.total = _json.total; - $that.listPropertyManageInfo.records = _json.records; - $that.listPropertyManageInfo.listPropertys = _json.data; - vc.emit('pagination', 'init', { - total: $that.listPropertyManageInfo.records, - dataCount: $that.listPropertyManageInfo.total, - currentPage: _page - }); - }, function (errInfo, error) { - console.log('请求失败处理'); - } - ); - }, - _openPropertysCommunityModel: function (_listProperty) { - vc.emit('storesCommunity', 'openStoresCommunity', _listProperty); - }, - _openAdminLoginPropertyModel: function (_listProperty) { - vc.emit('adminLoginProperty', 'login', { - username: _listProperty.staffName, - userId: _listProperty.staffId, - curUserName: vc.getData('/nav/getUserInfo').name - }) - }, - _openUpdateStoreStateModel: function (_listProperty, state) { - vc.emit('updateStoreState', 'open', { - storeId: _listProperty.storeId, - state: state, - stateName: state == '48002' ? '限制登录' : '恢复登录' - }) - }, - _queryListPropertyMethod: function () { - $that._listListPropertys(DEFAULT_PAGE, DEFAULT_ROWS); - - }, - _moreCondition: function () { - if ($that.listPropertyManageInfo.moreCondition) { - $that.listPropertyManageInfo.moreCondition = false; - } else { - $that.listPropertyManageInfo.moreCondition = true; - } - } - - - } - }); -})(window.vc); diff --git a/public/pages/property/listStoreManage/listStoreManage.html b/public/pages/property/listStoreManage/listStoreManage.html deleted file mode 100644 index a5f2b110a..000000000 --- a/public/pages/property/listStoreManage/listStoreManage.html +++ /dev/null @@ -1,104 +0,0 @@ -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    - -
    -
    -
    - -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    {{listStore.name}}{{listStore.address}}{{listStore.tel}}{{listStore.storeTypeName}}{{listStore.artificialPerson}}{{listStore.establishment}} -
    - - - -
    -
    -
      -
      - - -
      -
      -
      -
      - - - -
      diff --git a/public/pages/property/listStoreManage/listStoreManage.js b/public/pages/property/listStoreManage/listStoreManage.js deleted file mode 100644 index 0aada0dff..000000000 --- a/public/pages/property/listStoreManage/listStoreManage.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - 入驻小区 - **/ -(function (vc) { - var DEFAULT_PAGE = 1; - var DEFAULT_ROWS = 10; - vc.extends({ - data: { - listStoreManageInfo: { - listStores: [], - total: 0, - records: 1, - moreCondition: false, - conditions: { - name: '', - storeTypeCd: '', - tel: '' - } - } - }, - _initMethod: function () { - $that._listListStores(DEFAULT_PAGE, DEFAULT_ROWS); - }, - _initEvent: function () { - - vc.on('listStoreManage', 'listListStore', function (_param) { - $that._listListStores(DEFAULT_PAGE, DEFAULT_ROWS); - }); - vc.on('pagination', 'page_event', function (_currentPage) { - $that._listListStores(_currentPage, DEFAULT_ROWS); - }); - }, - methods: { - _listListStores: function (_page, _rows) { - $that.listStoreManageInfo.conditions.page = _page; - $that.listStoreManageInfo.conditions.row = _rows; - var param = { - params: $that.listStoreManageInfo.conditions - }; - - //发送get请求 - vc.http.apiGet('/store.listStores', - param, - function (json, res) { - var _listStoreManageInfo = JSON.parse(json); - $that.listStoreManageInfo.total = _listStoreManageInfo.total; - $that.listStoreManageInfo.records = _listStoreManageInfo.records; - $that.listStoreManageInfo.listStores = _listStoreManageInfo.data; - vc.emit('pagination', 'init', { - total: $that.listStoreManageInfo.records, - dataCount: $that.listStoreManageInfo.total, - currentPage: _page - }); - }, function (errInfo, error) { - console.log('请求失败处理'); - } - ); - }, - _openStoresCommunityModel: function (_listStore) { - vc.emit('storesCommunity','openStoresCommunity', _listStore); - }, - _queryListStoreMethod: function () { - $that._listListStores(DEFAULT_PAGE, DEFAULT_ROWS); - - }, - _moreCondition: function () { - if ($that.listStoreManageInfo.moreCondition) { - $that.listStoreManageInfo.moreCondition = false; - } else { - $that.listStoreManageInfo.moreCondition = true; - } - } - - - } - }); -})(window.vc);