| | |
| | | onReachBottom() { |
| | | //这里是判断是否需要继续掉接口 |
| | | if (this.isLoading) { |
| | | console.log('1122111') |
| | | this.status = 'loading' |
| | | //请求一次接口,页码就++ |
| | | this.page.currentPage = ++this.page.currentPage |
| | |
| | | } |
| | | this.getWorkOrder() |
| | | }, |
| | | setData() { |
| | | this.workOderList = [] |
| | | this.page = { |
| | | currentPage: 1, |
| | | pageSize: 10 |
| | | } |
| | | this.getContaminateList() |
| | | }, |
| | | // 获取责任单位list |
| | | getUnitList() { |
| | | this.$http.httpGet('/allocation/unit').then(res => { |
| | |
| | | data.allocationId = e.allocationId |
| | | data.state = e.state |
| | | data.allocationNum = e.allocationNum |
| | | data.current = this.current |
| | | let myData = JSON.stringify(data) |
| | | uni.navigateTo({ |
| | | url: '/pages/actionChange/workOrderDetails/index?infor=' + myData + '&type=jump', |
| | |
| | | </view> |
| | | </u-form-item> |
| | | </u-form> |
| | | <u-picker v-if="showCheckBox" :show="showCheckBox" keyName="label" :columns="actionOptionList" |
| | | @cancel="showCheckBox = false" :default-selector="[0]" :immediateChange='true' |
| | | @confirm="selectBack"></u-picker> |
| | | <u-picker :show="showCheckBox" keyName="label" :columns="actionOptionList" @cancel="showCheckBox = false" |
| | | :default-selector="[0]" :immediateChange='true' @confirm="selectBack"></u-picker> |
| | | <!-- <u-action-sheet v-if="actionOptionList.length > 0" :actions="actionOptionList" :show="showCheckBox" title="请选择" |
| | | @close="showCheckBox = false" @select="selectBack" /> --> |
| | | <view class="bunts"> |
| | |
| | | }, |
| | | methods: { |
| | | handleFile(data) { |
| | | console.log('datadata', data) |
| | | this.fileBaseList = data |
| | | }, |
| | | close() { |
| | |
| | | showTabBar: true |
| | | } |
| | | }) |
| | | uni.redirectTo({ |
| | | url: '/pages/index/index', |
| | | }) |
| | | if (this.option.type === 'share') { |
| | | uni.redirectTo({ |
| | | url: '/pages/index/index', |
| | | }) |
| | | } else { |
| | | uni.navigateBack({ |
| | | delta: 1, //返回上上一级注意这里要设置为2 |
| | | }) |
| | | } |
| | | }, |
| | | refuse() { |
| | | Promise.all([this.$refs.rectificationInfor && this.$refs.rectificationInfor.formVali(), this.$refs |
| | |
| | | console.log('currIndexOn', data) |
| | | this.currIndex = data.data.index |
| | | this.showTabBar = data.data.showTabBar |
| | | this.$refs.agencyPage.getContaminateList() |
| | | this.$refs.agencyPage.setData() |
| | | }) |
| | | this.share.title = this.title |
| | | }, |
| | | methods: { |
| | | getData() { |
| | | console.log('获取数据') |
| | | this.$refs.agencyPage.getContaminateList() |
| | | this.$refs.agencyPage.setData() |
| | | }, |
| | | handleChangeTabe(index) { |
| | | if (index === 2) { |