liukang 2 anos atrás
pai
commit
099ff32eb0
84 arquivos alterados com 104 adições e 88 exclusões
  1. 34 26
      page_mine/pages/service/applyMaintenance.vue
  2. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  3. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/my-order/my-order.js.map
  4. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/news-module/news-module.js.map
  5. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/pur-order/pur-order.js.map
  6. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_index/pages/index/changeCity.js.map
  7. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_index/pages/index/noticeDetail.js.map
  8. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_index/pages/index/noticeList.js.map
  9. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/collect/collect.js.map
  10. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/member/index.js.map
  11. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/message/detail.js.map
  12. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/message/message.js.map
  13. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/order/oceanShipping.js.map
  14. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/order/outsourcing.js.map
  15. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/order/production.js.map
  16. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/order/purchase.js.map
  17. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/order/repair.js.map
  18. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/service/applyMaintenance.js.map
  19. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/service/joinPerson.js.map
  20. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/setting/about.js.map
  21. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/setting/account_info.js.map
  22. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/setting/bind_eMail.js.map
  23. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/setting/edit_pwd.js.map
  24. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/setting/personal.js.map
  25. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/setting/real_name.js.map
  26. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/setting/rules.js.map
  27. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/setting/setting.js.map
  28. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/wallet/wallet.js.map
  29. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/wallet/withdrawal.js.map
  30. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/code_login.js.map
  31. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/forgot_pwd.js.map
  32. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/password_login.js.map
  33. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/register.js.map
  34. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/tabbar/index/index.js.map
  35. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/tabbar/mine/mine.js.map
  36. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/tabbar/shipyard/shipyard.js.map
  37. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-badge/u-badge.js.map
  38. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.js.map
  39. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-checkbox/u-checkbox.js.map
  40. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-code/u-code.js.map
  41. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-column-notice/u-column-notice.js.map
  42. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.js.map
  43. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-index-item/u-index-item.js.map
  44. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-index-list/u-index-list.js.map
  45. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-input/u-input.js.map
  46. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-line/u-line.js.map
  47. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-link/u-link.js.map
  48. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.js.map
  49. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-modal/u-modal.js.map
  50. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-navbar/u-navbar.js.map
  51. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-notice-bar/u-notice-bar.js.map
  52. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-overlay/u-overlay.js.map
  53. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-parse/node/node.js.map
  54. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-parse/u-parse.js.map
  55. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-popup/u-popup.js.map
  56. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-row-notice/u-row-notice.js.map
  57. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.js.map
  58. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-status-bar/u-status-bar.js.map
  59. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-steps-item/u-steps-item.js.map
  60. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-steps/u-steps.js.map
  61. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.js.map
  62. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-swiper/u-swiper.js.map
  63. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-tabs/u-tabs.js.map
  64. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-text/u-text.js.map
  65. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-transition/u-transition.js.map
  66. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-upload/u-upload.js.map
  67. 5 5
      unpackage/dist/dev/mp-weixin/common/vendor.js
  68. 35 27
      unpackage/dist/dev/mp-weixin/page_mine/pages/service/applyMaintenance.js
  69. 0 0
      unpackage/dist/dev/mp-weixin/page_mine/pages/service/applyMaintenance.wxml
  70. 2 2
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.json
  71. 2 2
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-checkbox/u-checkbox.json
  72. 2 2
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-code/u-code.json
  73. 2 2
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.json
  74. 2 2
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-index-item/u-index-item.json
  75. 2 2
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-index-list/u-index-list.json
  76. 2 2
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-input/u-input.json
  77. 2 2
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-modal/u-modal.json
  78. 2 2
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-navbar/u-navbar.json
  79. 2 2
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-notice-bar/u-notice-bar.json
  80. 2 2
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-steps-item/u-steps-item.json
  81. 2 2
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-steps/u-steps.json
  82. 2 2
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-swiper/u-swiper.json
  83. 2 2
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-tabs/u-tabs.json
  84. 2 2
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-upload/u-upload.json

+ 34 - 26
page_mine/pages/service/applyMaintenance.vue

@@ -30,7 +30,7 @@
 				<view class="cell">
 					<view class="img_title">身份证人像面照片</view>
 					<view class="upload_img hflex acenter jcenter">
-						<u-upload :fileList="userInfo.just_img" @afterRead="afterRead(1)" @delete="deletePic(1)" :maxCount="1" name="1" multiple :previewFullImage="true" width="110" height="110">
+						<u-upload :fileList="userInfo.fileList1" @afterRead="afterRead" @delete="deletePic" :maxCount="1" name="1" multiple :previewFullImage="true" width="110" height="110">
 							<image src="/static/images/comment/upload-just.png" style="width: 550rpx;height: 324rpx;"></image>
 						</u-upload>
 					</view>
@@ -38,7 +38,7 @@
 				<view class="cell">
 					<view class="img_title">身份证人像面照片</view>
 					<view class="upload_img hflex acenter jcenter">
-						<u-upload :fileList="userInfo.back_img" @afterRead="afterRead(2)" @delete="deletePic(2)" :maxCount="1" name="1" multiple :previewFullImage="true" width="110" height="110">
+						<u-upload :fileList="userInfo.fileList2" @afterRead="afterRead" @delete="deletePic" :maxCount="1" name="1" multiple :previewFullImage="true" width="110" height="110">
 							<image src="/static/images/comment/upload-back.png" style="width: 550rpx;height: 324rpx;"></image>
 						</u-upload>
 					</view>
@@ -47,6 +47,28 @@
 					<view class="btn" @click="next">下一步</view>
 				</view>
 			</view>
+			<view v-if="current == 1">
+				<view class="title">工作信息</view>
+				<view class="cell">
+					<view class="img_title">营业执照(必填)</view>
+					<view class="upload_img hflex acenter jcenter">
+						<u-upload :fileList="userInfo.fileList3" @afterRead="afterRead" @delete="deletePic" :maxCount="1" name="1" multiple :previewFullImage="true" width="110" height="110">
+							<image src="/static/images/comment/upload-just.png" style="width: 550rpx;height: 324rpx;"></image>
+						</u-upload>
+					</view>
+				</view>
+				<view class="cell">
+					<view class="img_title">厂家授权(非必填)</view>
+					<view class="upload_img hflex acenter jcenter">
+						<u-upload :fileList="userInfo.fileList4" @afterRead="afterRead" @delete="deletePic" :maxCount="1" name="1" multiple :previewFullImage="true" width="110" height="110">
+							<image src="/static/images/comment/upload-just.png" style="width: 550rpx;height: 324rpx;"></image>
+						</u-upload>
+					</view>
+				</view>
+				<view class="cell">
+					<view class="img_title">以往业绩</view>
+				</view>
+			</view>
 		</view>
 	</view>
 </template>
@@ -63,8 +85,10 @@
 					idNumber: '',
 					eamil: '',
 					address: '',
-					just_img: [],
-					back_img: [],
+					fileList1: [],
+					fileList2: [],
+					fileList3: [],
+					fileList4: [],
 				}
 			}
 		},
@@ -76,25 +100,14 @@
 			deletePic(event) {
 				// that.userInfo.imgList.splice(event.index, 1)
 				console.log(event)
-				if(event == 1) {
-					that.just_img = []
-				} else {
-					that.back_img = []
-				}
+				this[`fileList${event.name}`].splice(event.index, 1)
 			},
 			// 新增图片
 			async afterRead(event) {
-				var imgList = []
-				// 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式
-				if(event == 1) {
-					imgList = that.just_img
-				} else {
-					imgList = that.back_img
-				}
 				let lists = [].concat(event.file)
-				let imgListLen = imgList.length
+				let fileListLen = this[`fileList${event.name}`].length
 				lists.map((item) => {
-					imgList.push({
+					this[`fileList${event.name}`].push({
 						...item,
 						status: 'uploading',
 						message: '上传中'
@@ -102,18 +115,13 @@
 				})
 				for (let i = 0; i < lists.length; i++) {
 					const result = await this.uploadFilePromise(lists[i].url)
-					let item = imgList[imgListLen]
-					imgList.splice(imgListLen, 1, Object.assign(item, {
+					let item = this[`fileList${event.name}`][fileListLen]
+					this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
 						status: 'success',
 						message: '',
 						url: result
 					}))
-					imgListLen++
-				}
-				if (event == 1) {
-					that.just_img = imgList
-				} else {
-					that.back_img = imgList
+					fileListLen++
 				}
 			},
 			// 上传图片

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/my-order/my-order.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/news-module/news-module.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/pur-order/pur-order.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_index/pages/index/changeCity.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_index/pages/index/noticeDetail.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_index/pages/index/noticeList.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/collect/collect.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/member/index.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/message/detail.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/message/message.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/order/oceanShipping.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/order/outsourcing.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/order/production.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/order/purchase.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/order/repair.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/service/applyMaintenance.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/service/joinPerson.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/setting/about.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/setting/account_info.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/setting/bind_eMail.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/setting/edit_pwd.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/setting/personal.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/setting/real_name.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/setting/rules.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/setting/setting.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/wallet/wallet.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/page_mine/pages/wallet/withdrawal.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/code_login.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/forgot_pwd.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/password_login.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/register.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/tabbar/index/index.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/tabbar/mine/mine.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/tabbar/shipyard/shipyard.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-badge/u-badge.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-checkbox/u-checkbox.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-code/u-code.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-column-notice/u-column-notice.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-index-item/u-index-item.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-index-list/u-index-list.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-input/u-input.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-line/u-line.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-link/u-link.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-modal/u-modal.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-navbar/u-navbar.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-notice-bar/u-notice-bar.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-overlay/u-overlay.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-parse/node/node.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-parse/u-parse.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-popup/u-popup.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-row-notice/u-row-notice.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-status-bar/u-status-bar.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-steps-item/u-steps-item.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-steps/u-steps.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-swiper/u-swiper.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-tabs/u-tabs.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-text/u-text.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-transition/u-transition.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-upload/u-upload.js.map


+ 5 - 5
unpackage/dist/dev/mp-weixin/common/vendor.js

@@ -1464,7 +1464,7 @@ function initData(vueOptions, context) {
     try {
       data = data.call(context); // 支持 Vue.prototype 上挂的数据
     } catch (e) {
-      if (Object({"NODE_ENV":"development","VUE_APP_NAME":"cbz","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
+      if (Object({"VUE_APP_NAME":"cbz","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
         console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
       }
     }
@@ -8556,7 +8556,7 @@ function type(obj) {
 
 function flushCallbacks$1(vm) {
     if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
-        if (Object({"NODE_ENV":"development","VUE_APP_NAME":"cbz","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
+        if (Object({"VUE_APP_NAME":"cbz","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
             var mpInstance = vm.$scope;
             console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
                 ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
@@ -8577,14 +8577,14 @@ function nextTick$1(vm, cb) {
     //1.nextTick 之前 已 setData 且 setData 还未回调完成
     //2.nextTick 之前存在 render watcher
     if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
-        if(Object({"NODE_ENV":"development","VUE_APP_NAME":"cbz","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
+        if(Object({"VUE_APP_NAME":"cbz","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
             var mpInstance = vm.$scope;
             console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
                 ']:nextVueTick');
         }
         return nextTick(cb, vm)
     }else{
-        if(Object({"NODE_ENV":"development","VUE_APP_NAME":"cbz","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
+        if(Object({"VUE_APP_NAME":"cbz","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
             var mpInstance$1 = vm.$scope;
             console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
                 ']:nextMPTick');
@@ -8670,7 +8670,7 @@ var patch = function(oldVnode, vnode) {
     });
     var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
     if (Object.keys(diffData).length) {
-      if (Object({"NODE_ENV":"development","VUE_APP_NAME":"cbz","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
+      if (Object({"VUE_APP_NAME":"cbz","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
         console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
           ']差量更新',
           JSON.stringify(diffData));

+ 35 - 27
unpackage/dist/dev/mp-weixin/page_mine/pages/service/applyMaintenance.js

@@ -218,6 +218,28 @@ __webpack_require__.r(__webpack_exports__);
 
 
 
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 var _api = _interopRequireDefault(__webpack_require__(/*! @/static/js/api.js */ 142));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {try {var info = gen[key](arg);var value = info.value;} catch (error) {reject(error);return;}if (info.done) {resolve(value);} else {Promise.resolve(value).then(_next, _throw);}}function _asyncToGenerator(fn) {return function () {var self = this,args = arguments;return new Promise(function (resolve, reject) {var gen = fn.apply(self, args);function _next(value) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);}function _throw(err) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);}_next(undefined);});};}
 var that = '';var _default =
 {
@@ -229,8 +251,10 @@ var that = '';var _default =
         idNumber: '',
         eamil: '',
         address: '',
-        just_img: [],
-        back_img: [] } };
+        fileList1: [],
+        fileList2: [],
+        fileList3: [],
+        fileList4: [] } };
 
 
   },
@@ -242,45 +266,29 @@ var that = '';var _default =
     deletePic: function deletePic(event) {
       // that.userInfo.imgList.splice(event.index, 1)
       console.log(event);
-      if (event == 1) {
-        that.just_img = [];
-      } else {
-        that.back_img = [];
-      }
+      this["fileList".concat(event.name)].splice(event.index, 1);
     },
     // 新增图片
-    afterRead: function afterRead(event) {var _this = this;return _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee() {var imgList, lists, imgListLen, i, result, item;return _regenerator.default.wrap(function _callee$(_context) {while (1) {switch (_context.prev = _context.next) {case 0:
-                imgList = [];
-                // 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式
-                if (event == 1) {
-                  imgList = that.just_img;
-                } else {
-                  imgList = that.back_img;
-                }
+    afterRead: function afterRead(event) {var _this = this;return _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee() {var lists, fileListLen, i, result, item;return _regenerator.default.wrap(function _callee$(_context) {while (1) {switch (_context.prev = _context.next) {case 0:
                 lists = [].concat(event.file);
-                imgListLen = imgList.length;
+                fileListLen = _this["fileList".concat(event.name)].length;
                 lists.map(function (item) {
-                  imgList.push(_objectSpread(_objectSpread({},
+                  _this["fileList".concat(event.name)].push(_objectSpread(_objectSpread({},
                   item), {}, {
                     status: 'uploading',
                     message: '上传中' }));
 
                 });
-                i = 0;case 6:if (!(i < lists.length)) {_context.next = 16;break;}_context.next = 9;return (
-                  _this.uploadFilePromise(lists[i].url));case 9:result = _context.sent;
-                item = imgList[imgListLen];
-                imgList.splice(imgListLen, 1, Object.assign(item, {
+                i = 0;case 4:if (!(i < lists.length)) {_context.next = 14;break;}_context.next = 7;return (
+                  _this.uploadFilePromise(lists[i].url));case 7:result = _context.sent;
+                item = _this["fileList".concat(event.name)][fileListLen];
+                _this["fileList".concat(event.name)].splice(fileListLen, 1, Object.assign(item, {
                   status: 'success',
                   message: '',
                   url: result }));
 
-                imgListLen++;case 13:i++;_context.next = 6;break;case 16:
+                fileListLen++;case 11:i++;_context.next = 4;break;case 14:case "end":return _context.stop();}}}, _callee);}))();
 
-                if (event == 1) {
-                  that.just_img = imgList;
-                } else {
-                  that.back_img = imgList;
-                }case 17:case "end":return _context.stop();}}}, _callee);}))();
     },
     // 上传图片
     uploadFilePromise: function uploadFilePromise(url) {

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
unpackage/dist/dev/mp-weixin/page_mine/pages/service/applyMaintenance.wxml


+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.json

@@ -1,4 +1,4 @@
 {
-  "component": true,
-  "usingComponents": {}
+  "usingComponents": {},
+  "component": true
 }

+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-checkbox/u-checkbox.json

@@ -1,6 +1,6 @@
 {
-  "component": true,
   "usingComponents": {
     "u-icon": "/uni_modules/uview-ui/components/u-icon/u-icon"
-  }
+  },
+  "component": true
 }

+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-code/u-code.json

@@ -1,4 +1,4 @@
 {
-  "component": true,
-  "usingComponents": {}
+  "usingComponents": {},
+  "component": true
 }

+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.json

@@ -1,4 +1,4 @@
 {
-  "component": true,
-  "usingComponents": {}
+  "usingComponents": {},
+  "component": true
 }

+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-index-item/u-index-item.json

@@ -1,4 +1,4 @@
 {
-  "component": true,
-  "usingComponents": {}
+  "usingComponents": {},
+  "component": true
 }

+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-index-list/u-index-list.json

@@ -1,6 +1,6 @@
 {
-  "component": true,
   "usingComponents": {
     "u-transition": "/uni_modules/uview-ui/components/u-transition/u-transition"
-  }
+  },
+  "component": true
 }

+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-input/u-input.json

@@ -1,6 +1,6 @@
 {
-  "component": true,
   "usingComponents": {
     "u-icon": "/uni_modules/uview-ui/components/u-icon/u-icon"
-  }
+  },
+  "component": true
 }

+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-modal/u-modal.json

@@ -1,8 +1,8 @@
 {
-  "component": true,
   "usingComponents": {
     "u-popup": "/uni_modules/uview-ui/components/u-popup/u-popup",
     "u-line": "/uni_modules/uview-ui/components/u-line/u-line",
     "u-loading-icon": "/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon"
-  }
+  },
+  "component": true
 }

+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-navbar/u-navbar.json

@@ -1,7 +1,7 @@
 {
-  "component": true,
   "usingComponents": {
     "u-status-bar": "/uni_modules/uview-ui/components/u-status-bar/u-status-bar",
     "u-icon": "/uni_modules/uview-ui/components/u-icon/u-icon"
-  }
+  },
+  "component": true
 }

+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-notice-bar/u-notice-bar.json

@@ -1,7 +1,7 @@
 {
-  "component": true,
   "usingComponents": {
     "u-column-notice": "/uni_modules/uview-ui/components/u-column-notice/u-column-notice",
     "u-row-notice": "/uni_modules/uview-ui/components/u-row-notice/u-row-notice"
-  }
+  },
+  "component": true
 }

+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-steps-item/u-steps-item.json

@@ -1,7 +1,7 @@
 {
-  "component": true,
   "usingComponents": {
     "u-icon": "/uni_modules/uview-ui/components/u-icon/u-icon",
     "u--text": "/uni_modules/uview-ui/components/u--text/u--text"
-  }
+  },
+  "component": true
 }

+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-steps/u-steps.json

@@ -1,4 +1,4 @@
 {
-  "component": true,
-  "usingComponents": {}
+  "usingComponents": {},
+  "component": true
 }

+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-swiper/u-swiper.json

@@ -1,7 +1,7 @@
 {
-  "component": true,
   "usingComponents": {
     "u-loading-icon": "/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon",
     "u-swiper-indicator": "/uni_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator"
-  }
+  },
+  "component": true
 }

+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-tabs/u-tabs.json

@@ -1,6 +1,6 @@
 {
-  "component": true,
   "usingComponents": {
     "u-badge": "/uni_modules/uview-ui/components/u-badge/u-badge"
-  }
+  },
+  "component": true
 }

+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-upload/u-upload.json

@@ -1,7 +1,7 @@
 {
-  "component": true,
   "usingComponents": {
     "u-icon": "/uni_modules/uview-ui/components/u-icon/u-icon",
     "u-loading-icon": "/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon"
-  }
+  },
+  "component": true
 }

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff