3 files modified
1 files added
| | |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "navigationBarTextStyle": "black" |
| | | } |
| | | }, |
| | | { |
| | | "path": "commentList/commentList", |
| | | "style": { |
| | | "navigationBarTitleText": "我的评价", |
| | | "enablePullDownRefresh": false, |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "navigationBarTextStyle": "black" |
| | | } |
| | | } |
| | | ] |
| | | }, |
| | |
| | | unitCode,
|
| | | buildingCode
|
| | | } = res.data;
|
| | | if (isJur == 1) {
|
| | | // if (isJur == 1) {
|
| | | if (doorplateType == "户室牌") {
|
| | | this.$u.func.globalNavigator(
|
| | | `/subPackage/house/roomDetails/index?id=${code}&from=scan`, "navTo")
|
| | |
| | | `/subPackage/house/list/index?id=${code}&title=${aoiName}&neiName=${neiName}&address=${addressName}&neiCode=${neiCode}&aoiCode=${aoiCode}`,
|
| | | "navTo")
|
| | | }
|
| | | } else {
|
| | | uni.showModal({
|
| | | title: "提示!",
|
| | | content: "该区域不是您管辖范围",
|
| | | showCancel: false
|
| | | })
|
| | | }
|
| | | // } else {
|
| | | // uni.showModal({
|
| | | // title: "提示!",
|
| | | // content: "该区域不是您管辖范围",
|
| | | // showCancel: false
|
| | | // })
|
| | | // }
|
| | | })
|
| | | },
|
| | |
|
| | |
| | | isRec: 1, |
| | | page: 1, |
| | | size: 10, |
| | | propertyCompanyId: this.id |
| | | propertyCompanyId: this.id, |
| | | checkStatus: 2 |
| | | }).then(res => { |
| | | console.log(res) |
| | | this.commentList = res.data.records |
| New file |
| | |
| | | <template> |
| | | <view class=""> |
| | | <z-paging ref="paging" v-model="list" @query="queryList" :refresher-enabled="false" |
| | | loading-more-no-more-text="没有更多了"> |
| | | <view class="bgc-ff"> |
| | | <u-tabs :list="tabList" :current="tabIndex" @click="changeTab" :inactiveStyle="{color:'#999999'}" |
| | | :activeStyle="{color:'#017BFC'}" :scrollable="false"> |
| | | </u-tabs> |
| | | </view> |
| | | |
| | | <view class=""> |
| | | |
| | | </view> |
| | | </z-paging> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | getTenementComment |
| | | } from "@/api/grid/grid.js" |
| | | export default { |
| | | data() { |
| | | return { |
| | | tabList: [ |
| | | |
| | | { |
| | | name: "物业公司" |
| | | }, |
| | | { |
| | | name: "通知公告" |
| | | }, |
| | | ], |
| | | tabIndex: 0, |
| | | list: [] |
| | | } |
| | | }, |
| | | |
| | | |
| | | methods: { |
| | | |
| | | |
| | | changeTab(e) { |
| | | this.tabIndex = e.index; |
| | | this.$refs.paging.reload() |
| | | }, |
| | | |
| | | |
| | | queryList(pageNo, pageSize) { |
| | | if (this.tabIndex == 0) { |
| | | this.getTenementCommentList(pageNo, pageSize) |
| | | } else { |
| | | this.getArticleCommentList(pageNo, pageSize) |
| | | } |
| | | }, |
| | | |
| | | getTenementCommentList(page, size) { |
| | | getTenementComment({ |
| | | isRec: 1, |
| | | page: page, |
| | | size: size, |
| | | propertyCompanyId: this.id, |
| | | checkStatus: 2, |
| | | createUser: uni.getStorageSync("userInfo").user_id |
| | | }).then(res => { |
| | | console.log(res) |
| | | this.$refs.paging.complete(res.data.records); |
| | | }) |
| | | }, |
| | | |
| | | getArticleCommentList(page, size) { |
| | | |
| | | } |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | </style> |