|  | @@ -302,6 +302,8 @@
 | 
	
		
			
				|  |  |        <van-datetime-picker @confirm="endTimeShow = false" @cancel="endTimeShow = false" type="time" title="请选择营业结束时间"
 | 
	
		
			
				|  |  |          :min-hour="1" :max-hour="24" v-model="personalForm.endtime" />
 | 
	
		
			
				|  |  |      </van-popup>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    <PageLoading ref="pageLoadingRef"></PageLoading>
 | 
	
		
			
				|  |  |    </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  |  <script>
 | 
	
	
		
			
				|  | @@ -309,6 +311,7 @@ import { Area, Popup, DatetimePicker, Uploader, Toast, Picker, Cascader, RadioGr
 | 
	
		
			
				|  |  |  import api from '@/api'
 | 
	
		
			
				|  |  |  import { listSearchMixin } from '@/config/mixin'
 | 
	
		
			
				|  |  |  import AreaList from '../../util/area'
 | 
	
		
			
				|  |  | +import PageLoading from '../../components/pageLoading.vue'
 | 
	
		
			
				|  |  |  export default {
 | 
	
		
			
				|  |  |    mixins: [listSearchMixin],
 | 
	
		
			
				|  |  |    name: 'mPersonalBusiness',
 | 
	
	
		
			
				|  | @@ -323,7 +326,8 @@ export default {
 | 
	
		
			
				|  |  |      [RadioGroup.name]: RadioGroup,
 | 
	
		
			
				|  |  |      [Radio.name]: Radio,
 | 
	
		
			
				|  |  |      [Button.name]: Button,
 | 
	
		
			
				|  |  | -    [Loading.name]: Loading
 | 
	
		
			
				|  |  | +    [Loading.name]: Loading,
 | 
	
		
			
				|  |  | +    PageLoading
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    data() {
 | 
	
		
			
				|  |  |      return {
 | 
	
	
		
			
				|  | @@ -600,8 +604,10 @@ export default {
 | 
	
		
			
				|  |  |          contentType: 'multipart/form-data',
 | 
	
		
			
				|  |  |          data: formData
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | +      this.$refs.pageLoadingRef.showPageLoading('上传中...')
 | 
	
		
			
				|  |  |        self.sendReq(params, (res) => {
 | 
	
		
			
				|  |  |          if (res.code === '200') {
 | 
	
		
			
				|  |  | +          this.$refs.pageLoadingRef.cloasePageLoading()
 | 
	
		
			
				|  |  |            if (type === 'license') {
 | 
	
		
			
				|  |  |              self.personalForm.enterpriseLicense = res.data.url
 | 
	
		
			
				|  |  |            } else if (type === 'positive') {
 | 
	
	
		
			
				|  | @@ -614,6 +620,8 @@ export default {
 | 
	
		
			
				|  |  |          } else {
 | 
	
		
			
				|  |  |            Toast.fail(res.message)
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +      }, () => {
 | 
	
		
			
				|  |  | +        this.$refs.pageLoadingRef.cloasePageLoading()
 | 
	
		
			
				|  |  |        })
 | 
	
		
			
				|  |  |        // file.status = 'uploading'
 | 
	
		
			
				|  |  |        // file.message = '上传中...'
 |