| | |
| | | </view>
|
| | | <view class="item-row flex a-i-c j-c-s-b">
|
| | | <text class="f-28">地址</text>
|
| | | <text class="address f-28 c-66">{{ item.localtion ? item.localtion : '未完善' }}</text>
|
| | | <text class="address f-28 c-66">{{ item.location ? item.location : '未完善' }}</text>
|
| | | </view>
|
| | | <view class="item-row flex a-i-c j-c-s-b">
|
| | | <text class="f-28">法人信息</text>
|
| | |
| | | <u-toast ref="uToast"></u-toast>
|
| | | <u-loadmore :status="loadingStatus" loadmoreText="开始加载" loadingText="数据加载中" nomoreText="没有更多了" line />
|
| | |
|
| | | |
| | |
|
| | | |
| | |
|
| | | <date-range-modal ref="dateRane" @comfirm="handleComfirmDate" @rest="handleRestDate" />
|
| | |
|
| | |
|
| | | <date-range-modal ref="dateRane" @comfirm="handleComfirmDate" @rest="handleRestDate" />
|
| | | </view>
|
| | | </template>
|
| | |
|
| | |
| | | import {
|
| | | getSiteMaintenanceData
|
| | | } from '@/api/placeExp/placeExp.js'
|
| | | |
| | |
|
| | | import dateRangeModal from '@/components/dateRangeModal/modal.vue';
|
| | | |
| | |
|
| | | export default {
|
| | | components:{
|
| | | components: {
|
| | | dateRangeModal
|
| | | },
|
| | | data() {
|
| | |
| | | loadingStatus: 'nomore',
|
| | | clickInfo: {},
|
| | | currentRole: {},
|
| | | selectDate:[],
|
| | | selectDate: [],
|
| | | }
|
| | | },
|
| | | |
| | | |
| | | onLoad(option){
|
| | | if(option.from){
|
| | |
|
| | |
|
| | | onLoad(option) {
|
| | | if (option.from) {
|
| | | this.tabIndex = 1;
|
| | | this.tabStatus = 1;
|
| | | }
|
| | | },
|
| | | |
| | |
|
| | | onShow() {
|
| | | this.currentRole = uni.getStorageSync("activeRole")
|
| | | this.resetParams()
|
| | |
| | | this.pagingParams.current++
|
| | | this.getSiteList()
|
| | | },
|
| | | |
| | |
|
| | |
|
| | | methods: {
|
| | | |
| | |
|
| | |
|
| | | async getSiteList() {
|
| | | this.$nextTick(() => {
|
| | |
| | | })
|
| | | this.loadingStatus = 'loadingmore'
|
| | | })
|
| | | |
| | |
|
| | | const params = {
|
| | | placeName: this.keyWord,
|
| | | confirmFlag: this.tabStatus
|
| | | }
|
| | | if(this.selectDate.length){
|
| | | params.startTime = this.selectDate[0],
|
| | | params.endTime = this.selectDate[1]
|
| | | if (this.selectDate.length) {
|
| | | params.startTime = this.selectDate[0],
|
| | | params.endTime = this.selectDate[1]
|
| | | }
|
| | | const {
|
| | | roleName
|
| | |
| | | this.resetParams()
|
| | | this.searchConfirm()
|
| | | },
|
| | | |
| | | |
| | | showDateModal(){
|
| | |
|
| | |
|
| | | showDateModal() {
|
| | | this.$refs.dateRane.open();
|
| | | },
|
| | | |
| | | |
| | |
|
| | |
|
| | | resetParams() {
|
| | | this.siteList = []
|
| | | this.pagingParams.current = 1
|
| | |
| | | this.$u.func.globalNavigator(`/subPackage/workbench/views/examine?id=${id}&placeId=${placeId}`)
|
| | | },
|
| | |
|
| | | handleRestDate(){
|
| | | handleRestDate() {
|
| | | this.selectDate = [];
|
| | | this.resetParams();
|
| | | this.getSiteList()
|
| | | },
|
| | | handleComfirmDate(val){
|
| | | handleComfirmDate(val) {
|
| | | this.selectDate = val;
|
| | | this.resetParams();
|
| | | this.getSiteList()
|