| | |
| | | <template> |
| | | <div class="userList"> |
| | | <myAside /> |
| | | <myAside @selectedDepartment="selectedDepartment" /> |
| | | <store-content :model="'three-pack'" /> |
| | | </div> |
| | | </template> |
| | |
| | | }, |
| | | |
| | | methods: { |
| | | search() { |
| | | getStoreInfoList({ keyword: this.storeCode }) |
| | | search(data) { |
| | | let communityId, streetId; |
| | | if (data) { |
| | | communityId = data.parentId; |
| | | streetId = data.id; |
| | | } |
| | | getStoreInfoList({ keyword: this.storeCode, communityId, streetId }) |
| | | .then(({ list, pageSize, totalPage }) => { |
| | | this.tableData = list; |
| | | this.pageSize = pageSize; |
| | |
| | | return "success-row"; |
| | | } |
| | | }, |
| | | selectedDepartment(data) { |
| | | if (!data.children) { |
| | | this.search(); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | |
| | | dateParams.startTime = dateParams[0]; |
| | | dateParams.endTime = dateParams[1] |
| | | } |
| | | imageManagement.getImageResources({ current: this.currentPage, size: this.pageSize, type: this.type, ...dateParams }) |
| | | imageManagement.getImageResources({ current: this.currentPage, size: this.pageSize, type: this.size, ...dateParams }) |
| | | .then(({ records, total }) => { |
| | | this.tableData = records; |
| | | this.totalNum = total; |