| | |
| | | <u-icon name="arrow-down-fill" color="#666666" size="13"></u-icon> |
| | | </view> |
| | | <view class="report_search_row" @click="$refs.pengTree._show()" v-if="['3'].includes(typeId)"> |
| | | <text>{{locationName ? locationName : '发生地点'}}</text> |
| | | <text>{{localtionId ? locationName : '发生地点'}}</text> |
| | | <u-icon name="arrow-down-fill" color="#666666" size="13"></u-icon> |
| | | </view> |
| | | <view class="report_search_row" @click="$refs.pengTree1._show()" v-if="['1'].includes(typeId)"> |
| | | <text>{{locationName ? locationName : '位置'}}</text> |
| | | <text>{{localtionId ? locationName : '位置'}}</text> |
| | | <u-icon name="arrow-down-fill" color="#666666" size="13"></u-icon> |
| | | </view> |
| | | </view> |
| | |
| | | async getLocation() { |
| | | let res = await this.$u.api.categoryTree({ categoryType: 2 }) |
| | | if (res.code === 200) { |
| | | res.data.unshift({ name: '全部', id: '', childList: [] }) |
| | | this.address = res.data |
| | | } |
| | | }, |
| | |
| | | async getLocation1() { |
| | | let res = await this.$u.api.categoryTree({ categoryType: 3 }) |
| | | if (res.code === 200) { |
| | | res.data.unshift({ name: '全部', id: '', childList: [] }) |
| | | this.address1 = res.data |
| | | } |
| | | }, |
| | |
| | | page: this.search.page, |
| | | model: { |
| | | myWorkOrder: 1, |
| | | memberId: this.userInfo.id, |
| | | type: this.typeId, |
| | | dealStatus: this.statusId, |
| | | localtionId: this.localtionId |
| | |
| | | if (type === 0) { |
| | | return 'SHE事件上报' |
| | | } else if (type === 3) { |
| | | return '跌绊滑事件' |
| | | return '跌绊滑事件上报' |
| | | } |
| | | } |
| | | } |