| | |
| | | inactiveStyle="{color:'#999999'}" :activeStyle="{color:'#017BFC'}"></u-tabs> |
| | | <view class="search"> |
| | | <u-search placeholder="请输入需要查询信息的姓名" v-model="keyWord" :clearabled="true" :showAction="true" |
| | | :animation="true" @search="searchConfirm" @clear="clearConfirm" @custom="searchConfirm"></u-search> |
| | | :animation="true" @search="searchConfirm" @clear="clearConfirm" |
| | | @custom="searchConfirm"></u-search> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <view class="list-item bgc-ff mb-20" v-for="item in reportList" :key="item.id" @click="pushPage(item)"> |
| | | <view class="item-title flex a-i-c j-c-s-b mb-20"> |
| | | <text class="f-32 fw">{{ findObjValue(item.type, typeList, 'type').name }}</text> |
| | | <u-tag class="u_tag" size="mini" plain plainFill :text="findObjValue(item.confirmFlag, tabList, 'status').name" :type="findObjValue(item.confirmFlag, tabList, 'status').type"></u-tag> |
| | | <u-tag class="u_tag" size="mini" plain plainFill |
| | | :text="findObjValue(item.confirmFlag, tabList, 'status').name" |
| | | :type="findObjValue(item.confirmFlag, tabList, 'status').type"></u-tag> |
| | | </view> |
| | | <view class="item-row flex a-i-c j-c-s-b"> |
| | | <text class="f-28">姓名</text> |
| | |
| | | current: 1, |
| | | size: 10 |
| | | }, |
| | | tabList: [ |
| | | { |
| | | tabList: [{ |
| | | name: "全部", |
| | | status: '', |
| | | type: 'warning' |
| | |
| | | type: 'error' |
| | | }, |
| | | ], |
| | | typeList: [ |
| | | { |
| | | typeList: [{ |
| | | name: "公共维修", |
| | | type: 1 |
| | | }, |
| | |
| | | loadingStatus: 'nomore' |
| | | } |
| | | }, |
| | | |
| | | onLoad(option){ |
| | | |
| | | onLoad(option) { |
| | | this.tabIndex = Number(option.type); |
| | | this.tabStatus = option.type == 0?'':option.type |
| | | this.tabStatus = option.type == 0 ? '' : option.type |
| | | }, |
| | | |
| | | |
| | | onShow() { |
| | | this.currentRole = uni.getStorageSync("activeRole") |
| | | this.reportList = [] |
| | |
| | | this.loadingStatus = 'loadingmore' |
| | | const params = { |
| | | realName: this.keyWord, |
| | | confirmFlag: this.tabStatus |
| | | confirmFlag: this.tabStatus, |
| | | houseCode: uni.getStorageSync("siteInfo").houseCode |
| | | } |
| | | const { roleName } = this.currentRole |
| | | const { |
| | | roleName |
| | | } = this.currentRole |
| | | const res = await getPage({ |
| | | ...params, |
| | | roleName, |
| | |
| | | records |
| | | } |
| | | } = res |
| | | |
| | | |
| | | |
| | | |
| | | if (code !== 200) { |
| | | uni.showToast({ |
| | | title: '数据请求失败', |
| | |
| | | |
| | | .item-row { |
| | | padding: 10rpx 0; |
| | | |
| | | .address { |
| | | width: 75%; |
| | | text-align: right; |