| | |
| | | (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/store-apply/store-apply"],{265:function(e,t,r){"use strict";(function(e,t){var a=r(4);r(30);a(r(25));var n=a(r(266));e.__webpack_require_UNI_MP_PLUGIN__=r,t(n.default)}).call(this,r(1)["default"],r(2)["createPage"])},266:function(e,t,r){"use strict";r.r(t);var a=r(267),n=r(269);for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o);r(271);var s,i=r(41),c=Object(i["default"])(n["default"],a["render"],a["staticRenderFns"],!1,null,"43aee78c",null,!1,a["components"],s);c.options.__file="pages/store-apply/store-apply.vue",t["default"]=c.exports},267:function(e,t,r){"use strict";r.r(t);var a=r(268);r.d(t,"render",(function(){return a["render"]})),r.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]})),r.d(t,"recyclableRender",(function(){return a["recyclableRender"]})),r.d(t,"components",(function(){return a["components"]}))},268:function(e,t,r){"use strict";var a;r.r(t),r.d(t,"render",(function(){return n})),r.d(t,"staticRenderFns",(function(){return s})),r.d(t,"recyclableRender",(function(){return o})),r.d(t,"components",(function(){return a}));try{a={uIcon:function(){return Promise.all([r.e("common/vendor"),r.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(r.bind(null,482))},uPicker:function(){return Promise.all([r.e("common/vendor"),r.e("node-modules/uview-ui/components/u-picker/u-picker")]).then(r.bind(null,533))}}}catch(i){if(-1===i.message.indexOf("Cannot find module")||-1===i.message.indexOf(".vue"))throw i;console.error(i.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var n=function(){var e=this,t=e.$createElement,r=(e._self._c,1===e.currentStep?e.areaList&&e.areaList.length>0:null);e._isMounted||(e.e0=function(t){e.currentStep=1},e.e1=function(t){e.currentStep=2},e.e2=function(t){e.showAreaPicker=!0},e.e3=function(t){e.showAreaPicker=!1},e.e4=function(t){e.form.companyType=0},e.e5=function(t){e.form.companyType=1},e.e6=function(t){e.agreed=!e.agreed},e.e7=function(t){e.currentStep=1}),e.$mp.data=Object.assign({},{$root:{g0:r}})},o=!1,s=[];n._withStripped=!0},269:function(e,t,r){"use strict";r.r(t);var a=r(270),n=r.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return a[e]}))}(o);t["default"]=n.a},270:function(e,t,r){"use strict";(function(e){var a=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(34)),o=a(r(18)),s=a(r(36)),i=a(r(11)),c=r(37);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var d={computed:l(l({},(0,c.mapState)(["userInfo"])),{},{fullAreaName:function(){var e=[this.form.provinceName,this.form.cityName,this.form.areaName].filter(Boolean);return e.join("/")}}),data:function(){return{agreed:!1,form:{telephone:"",companyType:0,name:"",provinceName:"",cityName:"",areaName:"",areaId:"",longitude:"",latitude:"",address:"",linkName:"",linkPhone:"",idcard:"",storeFrontImgs:[],storeInteriorImgs:[],otherMaterialImgs:[],idcardImg:"",idcardImgBack:"",laborContractImgs:[],socialSecurityImgs:[],legalPersonCard:"",legalPersonName:"",legalPersonPhone:"",aliAccount:"",aliName:"",businessImg:""},businessImgUrl:"",idcardImgUrl:"",idcardImgBackUrl:"",previewMode:"filled",imgPrefix:"",currentStep:1,showAreaPicker:!1,areaList:[],areaColumns:[],uploadedImagesStoreFront:[],uploadedImagesIdCard:[],uploadedImagesBusiness:[],uploadedImagesPermit:[],uploadedLaborContractImages:[],uploadedSocialSecurityImages:[],storeFrontImages:[],idCardImages:[],permitImages:[],laborContractImages:[],socialSecurityImages:[]}},onLoad:function(){this.form.telephone=this.userInfo.telephone||"",this.getAreaList(),this.getMyShopData()},methods:{goToStep2:function(){if(this.form.name)if(this.form.areaId)if(this.form.address)if(this.form.linkName)if(this.form.linkPhone){var t=/^1\d{10}$/;t.test(this.form.linkPhone)?this.form.idcard?/^\d{18}$/.test(this.form.idcard)?this.form.storeFrontImgs&&0!==this.form.storeFrontImgs.length?this.form.storeInteriorImgs&&0!==this.form.storeInteriorImgs.length?this.currentStep=2:e.showToast({title:"请上传门店内部照片",icon:"none"}):e.showToast({title:"请上传门店门头照片",icon:"none"}):e.showToast({title:"请输入18位身份证号",icon:"none"}):e.showToast({title:"请输入联系人身份证号",icon:"none"}):e.showToast({title:"请输入正确的手机号",icon:"none"})}else e.showToast({title:"请输入联系人电话",icon:"none"});else e.showToast({title:"请输入联系人",icon:"none"});else e.showToast({title:"请选择门店地址",icon:"none"});else e.showToast({title:"请选择所在城市",icon:"none"});else e.showToast({title:"请输入门店名称",icon:"none"})},goToService:function(t){e.navigateTo({url:"/pages/rich-text/rich-text?type="+t})},submitApply:function(){var t=this;return(0,s.default)(n.default.mark((function r(){var a,o,s;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(0!==t.form.companyType){r.next=21;break}if(t.form.idcardImg){r.next=4;break}return e.showToast({title:"请上传身份证人像面",icon:"none"}),r.abrupt("return");case 4:if(t.form.idcardImgBack){r.next=7;break}return e.showToast({title:"请上传身份证国徽面",icon:"none"}),r.abrupt("return");case 7:if(t.form.aliAccount){r.next=10;break}return e.showToast({title:"请输入个人支付宝账号",icon:"none"}),r.abrupt("return");case 10:if(t.form.aliName){r.next=13;break}return e.showToast({title:"请输入支付宝姓名",icon:"none"}),r.abrupt("return");case 13:if(t.form.laborContractImgs&&0!==t.form.laborContractImgs.length){r.next=16;break}return e.showToast({title:"请上传劳动合同",icon:"none"}),r.abrupt("return");case 16:if(t.form.socialSecurityImgs&&0!==t.form.socialSecurityImgs.length){r.next=19;break}return e.showToast({title:"请上传社保缴纳证明",icon:"none"}),r.abrupt("return");case 19:r.next=53;break;case 21:if(t.form.legalPersonName){r.next=24;break}return e.showToast({title:"请输入法人姓名",icon:"none"}),r.abrupt("return");case 24:if(t.form.legalPersonPhone){r.next=27;break}return e.showToast({title:"请输入法人手机号",icon:"none"}),r.abrupt("return");case 27:if(a=/^1\d{10}$/,o=/^\d{3,4}-?\d{7,8}$/,a.test(t.form.legalPersonPhone)||o.test(t.form.legalPersonPhone)){r.next=32;break}return e.showToast({title:"请输入正确的手机号或固定电话",icon:"none"}),r.abrupt("return");case 32:if(t.form.aliAccount){r.next=35;break}return e.showToast({title:"请输入企业支付宝账号",icon:"none"}),r.abrupt("return");case 35:if(t.form.aliName){r.next=38;break}return e.showToast({title:"请输入支付宝姓名",icon:"none"}),r.abrupt("return");case 38:if(t.form.legalPersonCard){r.next=41;break}return e.showToast({title:"请输入法人身份证号",icon:"none"}),r.abrupt("return");case 41:if(/^\d{18}$/.test(t.form.legalPersonCard)){r.next=44;break}return e.showToast({title:"请输入18位身份证号",icon:"none"}),r.abrupt("return");case 44:if(t.form.idcardImg){r.next=47;break}return e.showToast({title:"请上传法人身份证人像面",icon:"none"}),r.abrupt("return");case 47:if(t.form.idcardImgBack){r.next=50;break}return e.showToast({title:"请上传法人身份证国徽面",icon:"none"}),r.abrupt("return");case 50:if(t.form.businessImg){r.next=53;break}return e.showToast({title:"请上传营业执照",icon:"none"}),r.abrupt("return");case 53:if(t.agreed){r.next=56;break}return e.showToast({title:"请先阅读并同意协议",icon:"none"}),r.abrupt("return");case 56:return e.showLoading({title:"提交中...",mask:!0}),r.prev=57,r.next=60,t.$u.api.applyShop(t.form);case 60:s=r.sent,e.hideLoading(),200===s.code?(e.showToast({title:"提交成功",icon:"success"}),setTimeout((function(){e.navigateBack()}),1500)):e.showToast({title:s.msg||"提交失败",icon:"none"}),r.next=69;break;case 65:r.prev=65,r.t0=r["catch"](57),e.hideLoading(),e.showToast({title:"提交失败",icon:"none"});case 69:case"end":return r.stop()}}),r,null,[[57,65]])})))()},getMyShopData:function(){var e=this;return(0,s.default)(n.default.mark((function t(){var r,a;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.$u.api.getMyShop();case 3:r=t.sent,200===r.code&&r.data&&(a=r.data,a.imgPrefix||"",e.imgPrefix=a.imgPrefix||"",e.form.name=a.name||"",e.form.provinceName=a.provinceName||"",e.form.cityName=a.cityName||"",e.form.areaName=a.areaName||"",e.form.areaId=a.areaId||"",e.form.address=a.address||"",e.form.longitude=a.longitude||"",e.form.latitude=a.latitude||"",e.form.linkName=a.linkName||"",e.form.linkPhone=a.linkPhone||"",e.form.idcard=a.idcard||"",e.form.aliAccount=a.aliAccount||"",e.form.aliName=a.aliName||"",e.form.companyType=a.companyType||0,e.form.telephone=a.telephone||e.userInfo.telephone||"",e.form.legalPersonName=a.legalPersonName||"",e.form.legalPersonPhone=a.legalPersonPhone||"",e.businessImgUrl=a.businessImgUrl||"",e.idcardImgUrl=a.idcardImgUrl||"",e.idcardImgBackUrl=a.idcardImgBackUrl||"",e.qualificationType="personal"===a.companyType?"personal":"company",a.storeFrontImgs&&(e.storeFrontImages=a.storeFrontImgUrls,e.uploadedImagesStoreFront=a.storeFrontImgUrls.map((function(e){return{url:e}})),e.form.storeFrontImgs=a.storeFrontImgs),a.storeInteriorImgs&&(e.idCardImages=a.storeInteriorImgUrls,e.uploadedImagesIdCard=a.storeInteriorImgUrls.map((function(e){return{url:e}})),e.form.storeInteriorImgs=a.storeInteriorImgs),a.otherMaterialImgs&&(e.permitImages=a.otherMaterialImgUrls,e.uploadedImagesPermit=a.otherMaterialImgUrls.map((function(e){return{url:e}})),e.form.otherMaterialImgs=a.otherMaterialImgs),e.form.idcardImg=a.idcardImg||"",e.form.idcardImgBack=a.idcardImgBack||"",a.laborContractImgs&&(e.laborContractImages=a.laborContractImgUrls,e.uploadedLaborContractImages=a.laborContractImgUrls.map((function(e){return{url:e}})),e.form.laborContractImgs=a.laborContractImgs),a.socialSecurityImgs&&(e.socialSecurityImages=a.socialSecurityImgUrls,e.uploadedSocialSecurityImages=a.socialSecurityImgUrls.map((function(e){return{url:e}})),e.form.socialSecurityImgs=a.socialSecurityImgs),e.form.legalPersonCard=a.legalPersonCard||"",e.form.businessImg=a.businessImg||""),t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](0),console.log("获取店铺信息失败",t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},getAreaList:function(){var e=this;this.$u.api.treeList({type:0,flag:1}).then((function(t){200===t.code&&(e.areaList=t.data,e.areaColumns[0]=e.areaList.map((function(e){return{id:e.id,text:e.name}})),e.areaColumns[1]=e.areaList[0].childList.map((function(e){return{id:e.id,text:e.name}})),e.areaColumns[2]=e.areaList[0].childList[0].childList.map((function(e){return{id:e.id,text:e.name}})))}))},confirmArea:function(e){this.form.areaId=e.value[e.value.length-1].id,this.form.areaName=e.value[0].text+"/"+e.value[1].text+"/"+e.value[2].text,this.showAreaPicker=!1},chooseAddress:function(){var t=this;e.chooseLocation({success:function(e){t.form.address=e.address,t.form.longitude=e.longitude,t.form.latitude=e.latitude}})},changeAreaHandler:function(e){var t=e.columnIndex,r=e.indexs,a=e.picker,n=void 0===a?this.$refs.uPicker:a;if(0===t){var o=this.areaList[r[0]].childList.map((function(e){return{id:e.id,text:e.name}})),s=this.areaList[r[0]].childList[0].childList.map((function(e){return{id:e.id,text:e.name}}));n.setColumnValues(1,o),n.setColumnValues(2,s)}else if(1===t){var i=this.areaList[r[0]].childList[r[1]].childList.map((function(e){return{id:e.id,text:e.name}}));n.setColumnValues(2,i)}},uploadFiles:function(t){var r=arguments,a=this;return(0,s.default)(n.default.mark((function o(){var s,i,c,u;return n.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(s=r.length>1&&void 0!==r[1]?r[1]:9,t&&0!==t.length){n.next=3;break}return n.abrupt("return",[]);case 3:return i=t.slice(0,s),c=i.map((function(t){return new Promise((function(r,n){e.uploadFile({url:a.$baseUrl+"/web/public/upload",filePath:t,name:"file",formData:{folder:"shop"},success:function(e){if(200===e.statusCode){var t=JSON.parse(e.data);200===t.code?r(t.data):n(new Error(t.msg||"上传失败"))}else n(new Error("上传失败"))},fail:function(e){n(e)}})}))})),n.prev=5,n.next=8,Promise.all(c);case 8:return u=n.sent,n.abrupt("return",u);case 12:throw n.prev=12,n.t0=n["catch"](5),e.showToast({title:"上传失败",icon:"none"}),n.t0;case 16:case"end":return n.stop()}}),o,null,[[5,12]])})))()},deleteStoreFrontImage:function(e){var t=this;this.uploadedImagesStoreFront.splice(e,1),this.storeFrontImages.splice(e,1),this.form.storeFrontImgs=this.storeFrontImages.map((function(e){return t.getShortPath(e)}))},chooseStoreFrontImage:function(){var t=this;return(0,s.default)(n.default.mark((function r(){var a,i,c;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(a=3,i=t.storeFrontImages.length,c=a-i,!(c<=0)){r.next=6;break}return e.showToast({title:"最多上传".concat(a,"张图片"),icon:"none"}),r.abrupt("return");case 6:e.chooseImage({count:c,sizeType:["compressed"],sourceType:["album","camera"],success:function(){var r=(0,s.default)(n.default.mark((function r(s){var i,c,u;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=s.tempFilePaths,e.showLoading({title:"上传中...",mask:!0}),r.prev=2,r.next=5,t.uploadFiles(i,a);case 5:c=r.sent,u=c.map((function(e){return e.url||e.path||e})),t.uploadedImagesStoreFront=[].concat((0,o.default)(t.uploadedImagesStoreFront),(0,o.default)(u.map((function(e){return{url:e}})))),t.storeFrontImages=[].concat((0,o.default)(t.storeFrontImages),(0,o.default)(u)),t.form.storeFrontImgs=[].concat((0,o.default)(t.form.storeFrontImgs),(0,o.default)(c.map((function(e){return e.imgaddr})))),e.hideLoading(),e.showToast({title:"上传成功",icon:"success"}),r.next=17;break;case 14:r.prev=14,r.t0=r["catch"](2),e.hideLoading();case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));function i(e){return r.apply(this,arguments)}return i}()});case 7:case"end":return r.stop()}}),r)})))()},deleteIdCardImage:function(e){var t=this;this.uploadedImagesIdCard.splice(e,1),this.idCardImages.splice(e,1),this.form.storeInteriorImgs=this.idCardImages.map((function(e){return t.getShortPath(e)}))},chooseIdCardImage:function(){var t=this;return(0,s.default)(n.default.mark((function r(){var a,i,c;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(a=3,i=t.idCardImages.length,c=a-i,!(c<=0)){r.next=6;break}return e.showToast({title:"最多上传".concat(a,"张图片"),icon:"none"}),r.abrupt("return");case 6:e.chooseImage({count:c,sizeType:["compressed"],sourceType:["album","camera"],success:function(){var r=(0,s.default)(n.default.mark((function r(s){var i,c,u;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=s.tempFilePaths,e.showLoading({title:"上传中...",mask:!0}),r.prev=2,r.next=5,t.uploadFiles(i,a);case 5:c=r.sent,u=c.map((function(e){return e.url||e.path||e})),t.uploadedImagesIdCard=[].concat((0,o.default)(t.uploadedImagesIdCard),(0,o.default)(u.map((function(e){return{url:e}})))),t.idCardImages=[].concat((0,o.default)(t.idCardImages),(0,o.default)(u)),t.form.storeInteriorImgs=[].concat((0,o.default)(t.form.storeInteriorImgs),(0,o.default)(c.map((function(e){return e.imgaddr})))),e.hideLoading(),e.showToast({title:"上传成功",icon:"success"}),r.next=17;break;case 14:r.prev=14,r.t0=r["catch"](2),e.hideLoading();case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));function i(e){return r.apply(this,arguments)}return i}()});case 7:case"end":return r.stop()}}),r)})))()},deleteBusinessImage:function(e){var t=this;this.uploadedImagesBusiness.splice(e,1),this.businessImages.splice(e,1),this.form.businessImg=this.businessImages.map((function(e){return t.getShortPath(e)})).join(",")},chooseBusinessImage:function(){var t=this;return(0,s.default)(n.default.mark((function r(){return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:e.chooseImage({count:1,sizeType:["compressed"],sourceType:["album","camera"],success:function(){var r=(0,s.default)(n.default.mark((function r(a){var o,s;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return o=a.tempFilePaths,e.showLoading({title:"上传中...",mask:!0}),r.prev=2,r.next=5,t.uploadFiles(o,1);case 5:s=r.sent,t.form.businessImg=s[0].imgaddr,t.businessImgUrl=s[0].url,console.log("=======================",t.businessImgUrl),e.hideLoading(),e.showToast({title:"上传成功",icon:"success"}),r.next=16;break;case 13:r.prev=13,r.t0=r["catch"](2),e.hideLoading();case 16:case"end":return r.stop()}}),r,null,[[2,13]])})));function a(e){return r.apply(this,arguments)}return a}()});case 1:case"end":return r.stop()}}),r)})))()},deletePermitImage:function(e){var t=this;this.uploadedImagesPermit.splice(e,1),this.permitImages.splice(e,1),this.form.otherMaterialImgs=this.permitImages.map((function(e){return t.getShortPath(e)}))},choosePermitImage:function(){var t=this;return(0,s.default)(n.default.mark((function r(){var a,i,c;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(a=3,i=t.permitImages.length,c=a-i,!(c<=0)){r.next=6;break}return e.showToast({title:"最多上传".concat(a,"张图片"),icon:"none"}),r.abrupt("return");case 6:e.chooseImage({count:c,sizeType:["compressed"],sourceType:["album","camera"],success:function(){var r=(0,s.default)(n.default.mark((function r(s){var i,c,u;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=s.tempFilePaths,e.showLoading({title:"上传中...",mask:!0}),r.prev=2,r.next=5,t.uploadFiles(i,a);case 5:c=r.sent,u=c.map((function(e){return e.url||e.path||e})),t.uploadedImagesPermit=[].concat((0,o.default)(t.uploadedImagesPermit),(0,o.default)(u.map((function(e){return{url:e}})))),t.permitImages=[].concat((0,o.default)(t.permitImages),(0,o.default)(u)),t.form.otherMaterialImgs=[].concat((0,o.default)(t.form.otherMaterialImgs),(0,o.default)(c.map((function(e){return e.imgaddr})))),e.hideLoading(),e.showToast({title:"上传成功",icon:"success"}),r.next=17;break;case 14:r.prev=14,r.t0=r["catch"](2),e.hideLoading();case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));function i(e){return r.apply(this,arguments)}return i}()});case 7:case"end":return r.stop()}}),r)})))()},chooseIdCardFront:function(){var t=this;e.chooseImage({count:1,sizeType:["compressed"],sourceType:["album","camera"],success:function(){var r=(0,s.default)(n.default.mark((function r(a){var o,s;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return o=a.tempFilePaths,e.showLoading({title:"上传中...",mask:!0}),r.prev=2,r.next=5,t.uploadFiles(o,1);case 5:s=r.sent,t.form.idcardImg=s[0].imgaddr||s[0].path||s[0],t.idcardImgUrl=s[0].url||s[0].path||s[0],e.hideLoading(),e.showToast({title:"上传成功",icon:"success"}),r.next=15;break;case 12:r.prev=12,r.t0=r["catch"](2),e.hideLoading();case 15:case"end":return r.stop()}}),r,null,[[2,12]])})));function a(e){return r.apply(this,arguments)}return a}()})},chooseIdCardBack:function(){var t=this;e.chooseImage({count:1,sizeType:["compressed"],sourceType:["album","camera"],success:function(){var r=(0,s.default)(n.default.mark((function r(a){var o,s;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return o=a.tempFilePaths,e.showLoading({title:"上传中...",mask:!0}),r.prev=2,r.next=5,t.uploadFiles(o,1);case 5:s=r.sent,t.form.idcardImgBack=s[0].imgaddr||s[0].path||s[0],t.idcardImgBackUrl=s[0].url||s[0].path||s[0],e.hideLoading(),e.showToast({title:"上传成功",icon:"success"}),r.next=15;break;case 12:r.prev=12,r.t0=r["catch"](2),e.hideLoading();case 15:case"end":return r.stop()}}),r,null,[[2,12]])})));function a(e){return r.apply(this,arguments)}return a}()})},chooseLegalPersonCardFront:function(){var t=this;e.chooseImage({count:1,sizeType:["compressed"],sourceType:["album","camera"],success:function(){var r=(0,s.default)(n.default.mark((function r(a){var o,s;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return o=a.tempFilePaths,e.showLoading({title:"上传中...",mask:!0}),r.prev=2,r.next=5,t.uploadFiles(o,1);case 5:s=r.sent,t.form.idcardImg=s[0].imgaddr||s[0].path||s[0],t.idcardImgUrl=s[0].url||s[0].path||s[0],e.hideLoading(),e.showToast({title:"上传成功",icon:"success"}),r.next=15;break;case 12:r.prev=12,r.t0=r["catch"](2),e.hideLoading();case 15:case"end":return r.stop()}}),r,null,[[2,12]])})));function a(e){return r.apply(this,arguments)}return a}()})},chooseLegalPersonCardBack:function(){var t=this;e.chooseImage({count:1,sizeType:["compressed"],sourceType:["album","camera"],success:function(){var r=(0,s.default)(n.default.mark((function r(a){var o,s;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return o=a.tempFilePaths,e.showLoading({title:"上传中...",mask:!0}),r.prev=2,r.next=5,t.uploadFiles(o,1);case 5:s=r.sent,t.form.idcardImgBack=s[0].imgaddr||s[0].path||s[0],t.idcardImgBackUrl=s[0].url||s[0].path||s[0],e.hideLoading(),e.showToast({title:"上传成功",icon:"success"}),r.next=15;break;case 12:r.prev=12,r.t0=r["catch"](2),e.hideLoading();case 15:case"end":return r.stop()}}),r,null,[[2,12]])})));function a(e){return r.apply(this,arguments)}return a}()})},deleteLaborContractImage:function(e){var t=this;this.uploadedLaborContractImages.splice(e,1),this.laborContractImages.splice(e,1),this.form.laborContractImgs=this.laborContractImages.map((function(e){return t.getShortPath(e)}))},chooseLaborContractImage:function(){var t=this;return(0,s.default)(n.default.mark((function r(){var a,i,c;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(a=3,i=t.laborContractImages.length,c=a-i,!(c<=0)){r.next=6;break}return e.showToast({title:"最多上传".concat(a,"张图片"),icon:"none"}),r.abrupt("return");case 6:e.chooseImage({count:c,sizeType:["compressed"],sourceType:["album","camera"],success:function(){var r=(0,s.default)(n.default.mark((function r(s){var i,c,u;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=s.tempFilePaths,e.showLoading({title:"上传中...",mask:!0}),r.prev=2,r.next=5,t.uploadFiles(i,a);case 5:c=r.sent,u=c.map((function(e){return e.url||e.path||e})),t.uploadedLaborContractImages=[].concat((0,o.default)(t.uploadedLaborContractImages),(0,o.default)(u.map((function(e){return{url:e}})))),t.laborContractImages=[].concat((0,o.default)(t.laborContractImages),(0,o.default)(u)),t.form.laborContractImgs=[].concat((0,o.default)(t.form.laborContractImgs),(0,o.default)(c.map((function(e){return e.imgaddr})))),e.hideLoading(),e.showToast({title:"上传成功",icon:"success"}),r.next=17;break;case 14:r.prev=14,r.t0=r["catch"](2),e.hideLoading();case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));function i(e){return r.apply(this,arguments)}return i}()});case 7:case"end":return r.stop()}}),r)})))()},deleteSocialSecurityImage:function(e){var t=this;this.uploadedSocialSecurityImages.splice(e,1),this.socialSecurityImages.splice(e,1),this.form.socialSecurityImgs=this.socialSecurityImages.map((function(e){return t.getShortPath(e)}))},getShortPath:function(e){return e?e.startsWith("http")?e.replace(this.imgPrefix,""):e:""},getFullPath:function(e){return e?e.startsWith("http")?e:(this.$baseUrl||"")+e:""},chooseSocialSecurityImage:function(){var t=this;return(0,s.default)(n.default.mark((function r(){var a,i,c;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(a=3,i=t.socialSecurityImages.length,c=a-i,!(c<=0)){r.next=6;break}return e.showToast({title:"最多上传".concat(a,"张图片"),icon:"none"}),r.abrupt("return");case 6:e.chooseImage({count:c,sizeType:["compressed"],sourceType:["album","camera"],success:function(){var r=(0,s.default)(n.default.mark((function r(s){var i,c,u;return n.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=s.tempFilePaths,e.showLoading({title:"上传中...",mask:!0}),r.prev=2,r.next=5,t.uploadFiles(i,a);case 5:c=r.sent,u=c.map((function(e){return e.url||e.path||e})),t.uploadedSocialSecurityImages=[].concat((0,o.default)(t.uploadedSocialSecurityImages),(0,o.default)(u.map((function(e){return{url:e}})))),t.socialSecurityImages=[].concat((0,o.default)(t.socialSecurityImages),(0,o.default)(u)),t.form.socialSecurityImgs=[].concat((0,o.default)(t.form.socialSecurityImgs),(0,o.default)(c.map((function(e){return e.imgaddr})))),e.hideLoading(),e.showToast({title:"上传成功",icon:"success"}),r.next=17;break;case 14:r.prev=14,r.t0=r["catch"](2),e.hideLoading();case 17:case"end":return r.stop()}}),r,null,[[2,14]])})));function i(e){return r.apply(this,arguments)}return i}()});case 7:case"end":return r.stop()}}),r)})))()}}};t.default=d}).call(this,r(2)["default"])},271:function(e,t,r){"use strict";r.r(t);var a=r(272),n=r.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return a[e]}))}(o);t["default"]=n.a},272:function(e,t,r){}},[[265,"common/runtime","common/vendor"]]]); |
| | | (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/store-apply/store-apply"],{ |
| | | |
| | | /***/ 265: |
| | | /*!**************************************************************************************************************!*\ |
| | | !*** D:/code/idea2023/git/gtzxinglijicun/small-program/main.js?{"page":"pages%2Fstore-apply%2Fstore-apply"} ***! |
| | | \**************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* WEBPACK VAR INJECTION */(function(wx, createPage) { |
| | | |
| | | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4); |
| | | __webpack_require__(/*! uni-pages */ 30); |
| | | var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25)); |
| | | var _storeApply = _interopRequireDefault(__webpack_require__(/*! ./pages/store-apply/store-apply.vue */ 266)); |
| | | // @ts-ignore |
| | | wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__; |
| | | createPage(_storeApply.default); |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["createPage"])) |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 266: |
| | | /*!*******************************************************************************************!*\ |
| | | !*** D:/code/idea2023/git/gtzxinglijicun/small-program/pages/store-apply/store-apply.vue ***! |
| | | \*******************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _store_apply_vue_vue_type_template_id_43aee78c_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./store-apply.vue?vue&type=template&id=43aee78c&scoped=true& */ 267); |
| | | /* harmony import */ var _store_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./store-apply.vue?vue&type=script&lang=js& */ 269); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _store_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _store_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _store_apply_vue_vue_type_style_index_0_id_43aee78c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./store-apply.vue?vue&type=style&index=0&id=43aee78c&lang=scss&scoped=true& */ 271); |
| | | /* harmony import */ var _soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 41); |
| | | |
| | | var renderjs |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( |
| | | _store_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
| | | _store_apply_vue_vue_type_template_id_43aee78c_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _store_apply_vue_vue_type_template_id_43aee78c_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "43aee78c", |
| | | null, |
| | | false, |
| | | _store_apply_vue_vue_type_template_id_43aee78c_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | renderjs |
| | | ) |
| | | |
| | | component.options.__file = "pages/store-apply/store-apply.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 267: |
| | | /*!**************************************************************************************************************************************!*\ |
| | | !*** D:/code/idea2023/git/gtzxinglijicun/small-program/pages/store-apply/store-apply.vue?vue&type=template&id=43aee78c&scoped=true& ***! |
| | | \**************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_template_id_43aee78c_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./store-apply.vue?vue&type=template&id=43aee78c&scoped=true& */ 268); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_template_id_43aee78c_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_template_id_43aee78c_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_template_id_43aee78c_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_template_id_43aee78c_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 268: |
| | | /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/code/idea2023/git/gtzxinglijicun/small-program/pages/store-apply/store-apply.vue?vue&type=template&id=43aee78c&scoped=true& ***! |
| | | \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); |
| | | var components |
| | | try { |
| | | components = { |
| | | uIcon: function () { |
| | | return Promise.all(/*! import() | node-modules/uview-ui/components/u-icon/u-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-icon/u-icon.vue */ 498)) |
| | | }, |
| | | uPicker: function () { |
| | | return Promise.all(/*! import() | node-modules/uview-ui/components/u-picker/u-picker */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-picker/u-picker")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-picker/u-picker.vue */ 549)) |
| | | }, |
| | | } |
| | | } catch (e) { |
| | | if ( |
| | | e.message.indexOf("Cannot find module") !== -1 && |
| | | e.message.indexOf(".vue") !== -1 |
| | | ) { |
| | | console.error(e.message) |
| | | console.error("1. 排查组件名称拼写是否正确") |
| | | console.error( |
| | | "2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" |
| | | ) |
| | | console.error( |
| | | "3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" |
| | | ) |
| | | } else { |
| | | throw e |
| | | } |
| | | } |
| | | var render = function () { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | var g0 = |
| | | _vm.currentStep === 1 ? _vm.areaList && _vm.areaList.length > 0 : null |
| | | if (!_vm._isMounted) { |
| | | _vm.e0 = function ($event) { |
| | | _vm.currentStep = 1 |
| | | } |
| | | _vm.e1 = function ($event) { |
| | | _vm.currentStep = 2 |
| | | } |
| | | _vm.e2 = function ($event) { |
| | | _vm.showAreaPicker = true |
| | | } |
| | | _vm.e3 = function ($event) { |
| | | _vm.showAreaPicker = false |
| | | } |
| | | _vm.e4 = function ($event) { |
| | | _vm.form.companyType = 0 |
| | | } |
| | | _vm.e5 = function ($event) { |
| | | _vm.form.companyType = 1 |
| | | } |
| | | _vm.e6 = function ($event) { |
| | | _vm.agreed = !_vm.agreed |
| | | } |
| | | _vm.e7 = function ($event) { |
| | | _vm.currentStep = 1 |
| | | } |
| | | } |
| | | _vm.$mp.data = Object.assign( |
| | | {}, |
| | | { |
| | | $root: { |
| | | g0: g0, |
| | | }, |
| | | } |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 269: |
| | | /*!********************************************************************************************************************!*\ |
| | | !*** D:/code/idea2023/git/gtzxinglijicun/small-program/pages/store-apply/store-apply.vue?vue&type=script&lang=js& ***! |
| | | \********************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _soft_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./store-apply.vue?vue&type=script&lang=js& */ 270); |
| | | /* harmony import */ var _soft_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_soft_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _soft_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _soft_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_soft_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 270: |
| | | /*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/code/idea2023/git/gtzxinglijicun/small-program/pages/store-apply/store-apply.vue?vue&type=script&lang=js& ***! |
| | | \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* WEBPACK VAR INJECTION */(function(uni) { |
| | | |
| | | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4); |
| | | Object.defineProperty(exports, "__esModule", { |
| | | value: true |
| | | }); |
| | | exports.default = void 0; |
| | | var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 34)); |
| | | var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18)); |
| | | var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 36)); |
| | | var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11)); |
| | | var _vuex = __webpack_require__(/*! vuex */ 37); |
| | | function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); 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 = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } |
| | | var _default = { |
| | | computed: _objectSpread(_objectSpread({}, (0, _vuex.mapState)(['userInfo'])), {}, { |
| | | fullAreaName: function fullAreaName() { |
| | | var arr = [this.form.provinceName, this.form.cityName, this.form.areaName].filter(Boolean); |
| | | return arr.join('/'); |
| | | } |
| | | }), |
| | | data: function data() { |
| | | return { |
| | | agreed: false, |
| | | form: { |
| | | telephone: '', |
| | | companyType: 0, |
| | | name: '', |
| | | provinceName: '', |
| | | cityName: '', |
| | | areaName: '', |
| | | areaId: '', |
| | | longitude: '', |
| | | latitude: '', |
| | | address: '', |
| | | linkName: '', |
| | | linkPhone: '', |
| | | idcard: '', |
| | | storeFrontImgs: [], |
| | | storeInteriorImgs: [], |
| | | otherMaterialImgs: [], |
| | | idcardImg: '', |
| | | idcardImgBack: '', |
| | | laborContractImgs: [], |
| | | socialSecurityImgs: [], |
| | | legalPersonCard: '', |
| | | legalPersonName: '', |
| | | legalPersonPhone: '', |
| | | aliAccount: '', |
| | | aliName: '', |
| | | businessImg: '' |
| | | }, |
| | | businessImgUrl: '', |
| | | idcardImgUrl: '', |
| | | idcardImgBackUrl: '', |
| | | previewMode: 'filled', |
| | | imgPrefix: '', |
| | | currentStep: 1, |
| | | showAreaPicker: false, |
| | | areaList: [], |
| | | areaColumns: [], |
| | | uploadedImagesStoreFront: [], |
| | | uploadedImagesIdCard: [], |
| | | uploadedImagesBusiness: [], |
| | | uploadedImagesPermit: [], |
| | | uploadedLaborContractImages: [], |
| | | uploadedSocialSecurityImages: [], |
| | | storeFrontImages: [], |
| | | idCardImages: [], |
| | | permitImages: [], |
| | | laborContractImages: [], |
| | | socialSecurityImages: [] |
| | | }; |
| | | }, |
| | | onLoad: function onLoad() { |
| | | this.form.telephone = this.userInfo.telephone || ''; |
| | | this.getAreaList(); |
| | | this.getMyShopData(); |
| | | }, |
| | | methods: { |
| | | goToStep2: function goToStep2() { |
| | | if (!this.form.name) { |
| | | uni.showToast({ |
| | | title: '请输入门店名称', |
| | | icon: 'none' |
| | | }); |
| | | return; |
| | | } |
| | | if (!this.form.areaId) { |
| | | uni.showToast({ |
| | | title: '请选择所在城市', |
| | | icon: 'none' |
| | | }); |
| | | return; |
| | | } |
| | | if (!this.form.address) { |
| | | uni.showToast({ |
| | | title: '请选择门店地址', |
| | | icon: 'none' |
| | | }); |
| | | return; |
| | | } |
| | | if (!this.form.linkName) { |
| | | uni.showToast({ |
| | | title: '请输入联系人', |
| | | icon: 'none' |
| | | }); |
| | | return; |
| | | } |
| | | if (!this.form.linkPhone) { |
| | | uni.showToast({ |
| | | title: '请输入联系人电话', |
| | | icon: 'none' |
| | | }); |
| | | return; |
| | | } |
| | | var mobileRegex = /^1\d{10}$/; |
| | | if (!mobileRegex.test(this.form.linkPhone)) { |
| | | uni.showToast({ |
| | | title: '请输入正确的手机号', |
| | | icon: 'none' |
| | | }); |
| | | return; |
| | | } |
| | | if (!this.form.idcard) { |
| | | uni.showToast({ |
| | | title: '请输入联系人身份证号', |
| | | icon: 'none' |
| | | }); |
| | | return; |
| | | } |
| | | if (!/^\d{18}$/.test(this.form.idcard)) { |
| | | uni.showToast({ |
| | | title: '请输入18位身份证号', |
| | | icon: 'none' |
| | | }); |
| | | return; |
| | | } |
| | | if (!this.form.storeFrontImgs || this.form.storeFrontImgs.length === 0) { |
| | | uni.showToast({ |
| | | title: '请上传门店门头照片', |
| | | icon: 'none' |
| | | }); |
| | | return; |
| | | } |
| | | if (!this.form.storeInteriorImgs || this.form.storeInteriorImgs.length === 0) { |
| | | uni.showToast({ |
| | | title: '请上传门店内部照片', |
| | | icon: 'none' |
| | | }); |
| | | return; |
| | | } |
| | | this.currentStep = 2; |
| | | }, |
| | | goToService: function goToService(type) { |
| | | uni.navigateTo({ |
| | | url: '/pages/rich-text/rich-text?type=' + type |
| | | }); |
| | | }, |
| | | submitApply: function submitApply() { |
| | | var _this = this; |
| | | return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() { |
| | | var mobileRegex, landlineRegex, res; |
| | | return _regenerator.default.wrap(function _callee$(_context) { |
| | | while (1) { |
| | | switch (_context.prev = _context.next) { |
| | | case 0: |
| | | if (!(_this.form.companyType === 0)) { |
| | | _context.next = 21; |
| | | break; |
| | | } |
| | | if (_this.form.idcardImg) { |
| | | _context.next = 4; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请上传身份证人像面', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 4: |
| | | if (_this.form.idcardImgBack) { |
| | | _context.next = 7; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请上传身份证国徽面', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 7: |
| | | if (_this.form.aliAccount) { |
| | | _context.next = 10; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请输入个人支付宝账号', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 10: |
| | | if (_this.form.aliName) { |
| | | _context.next = 13; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请输入支付宝姓名', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 13: |
| | | if (!(!_this.form.laborContractImgs || _this.form.laborContractImgs.length === 0)) { |
| | | _context.next = 16; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请上传劳动合同', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 16: |
| | | if (!(!_this.form.socialSecurityImgs || _this.form.socialSecurityImgs.length === 0)) { |
| | | _context.next = 19; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请上传社保缴纳证明', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 19: |
| | | _context.next = 53; |
| | | break; |
| | | case 21: |
| | | if (_this.form.legalPersonName) { |
| | | _context.next = 24; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请输入法人姓名', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 24: |
| | | if (_this.form.legalPersonPhone) { |
| | | _context.next = 27; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请输入法人手机号', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 27: |
| | | mobileRegex = /^1\d{10}$/; |
| | | landlineRegex = /^\d{3,4}-?\d{7,8}$/; |
| | | if (!(!mobileRegex.test(_this.form.legalPersonPhone) && !landlineRegex.test(_this.form.legalPersonPhone))) { |
| | | _context.next = 32; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请输入正确的手机号或固定电话', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 32: |
| | | if (_this.form.aliAccount) { |
| | | _context.next = 35; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请输入企业支付宝账号', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 35: |
| | | if (_this.form.aliName) { |
| | | _context.next = 38; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请输入支付宝姓名', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 38: |
| | | if (_this.form.legalPersonCard) { |
| | | _context.next = 41; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请输入法人身份证号', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 41: |
| | | if (/^\d{18}$/.test(_this.form.legalPersonCard)) { |
| | | _context.next = 44; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请输入18位身份证号', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 44: |
| | | if (_this.form.idcardImg) { |
| | | _context.next = 47; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请上传法人身份证人像面', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 47: |
| | | if (_this.form.idcardImgBack) { |
| | | _context.next = 50; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请上传法人身份证国徽面', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 50: |
| | | if (_this.form.businessImg) { |
| | | _context.next = 53; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请上传营业执照', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 53: |
| | | if (_this.agreed) { |
| | | _context.next = 56; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: '请先阅读并同意协议', |
| | | icon: 'none' |
| | | }); |
| | | return _context.abrupt("return"); |
| | | case 56: |
| | | uni.showLoading({ |
| | | title: '提交中...', |
| | | mask: true |
| | | }); |
| | | _context.prev = 57; |
| | | _context.next = 60; |
| | | return _this.$u.api.applyShop(_this.form); |
| | | case 60: |
| | | res = _context.sent; |
| | | uni.hideLoading(); |
| | | if (res.code === 200) { |
| | | uni.showToast({ |
| | | title: '提交成功', |
| | | icon: 'success' |
| | | }); |
| | | setTimeout(function () { |
| | | uni.navigateBack(); |
| | | }, 1500); |
| | | } else { |
| | | uni.showToast({ |
| | | title: res.msg || '提交失败', |
| | | icon: 'none' |
| | | }); |
| | | } |
| | | _context.next = 69; |
| | | break; |
| | | case 65: |
| | | _context.prev = 65; |
| | | _context.t0 = _context["catch"](57); |
| | | uni.hideLoading(); |
| | | uni.showToast({ |
| | | title: '提交失败', |
| | | icon: 'none' |
| | | }); |
| | | case 69: |
| | | case "end": |
| | | return _context.stop(); |
| | | } |
| | | } |
| | | }, _callee, null, [[57, 65]]); |
| | | }))(); |
| | | }, |
| | | getMyShopData: function getMyShopData() { |
| | | var _this2 = this; |
| | | return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() { |
| | | var res, data, imgPrefix; |
| | | return _regenerator.default.wrap(function _callee2$(_context2) { |
| | | while (1) { |
| | | switch (_context2.prev = _context2.next) { |
| | | case 0: |
| | | _context2.prev = 0; |
| | | _context2.next = 3; |
| | | return _this2.$u.api.getMyShop(); |
| | | case 3: |
| | | res = _context2.sent; |
| | | if (res.code === 200 && res.data) { |
| | | data = res.data; |
| | | imgPrefix = data.imgPrefix || ''; |
| | | _this2.imgPrefix = data.imgPrefix || ''; |
| | | _this2.form.name = data.name || ''; |
| | | _this2.form.provinceName = data.provinceName || ''; |
| | | _this2.form.cityName = data.cityName || ''; |
| | | _this2.form.areaName = data.areaName || ''; |
| | | _this2.form.areaId = data.areaId || ''; |
| | | _this2.form.address = data.address || ''; |
| | | _this2.form.longitude = data.longitude || ''; |
| | | _this2.form.latitude = data.latitude || ''; |
| | | _this2.form.linkName = data.linkName || ''; |
| | | _this2.form.linkPhone = data.linkPhone || ''; |
| | | _this2.form.idcard = data.idcard || ''; |
| | | _this2.form.aliAccount = data.aliAccount || ''; |
| | | _this2.form.aliName = data.aliName || ''; |
| | | _this2.form.companyType = data.companyType || 0; |
| | | _this2.form.telephone = data.telephone || _this2.userInfo.telephone || ''; |
| | | _this2.form.legalPersonName = data.legalPersonName || ''; |
| | | _this2.form.legalPersonPhone = data.legalPersonPhone || ''; |
| | | _this2.businessImgUrl = data.businessImgUrl || ''; |
| | | _this2.idcardImgUrl = data.idcardImgUrl || ''; |
| | | _this2.idcardImgBackUrl = data.idcardImgBackUrl || ''; |
| | | _this2.qualificationType = data.companyType === 'personal' ? 'personal' : 'company'; |
| | | if (data.storeFrontImgs) { |
| | | _this2.storeFrontImages = data.storeFrontImgUrls; |
| | | _this2.uploadedImagesStoreFront = data.storeFrontImgUrls.map(function (url) { |
| | | return { |
| | | url: url |
| | | }; |
| | | }); |
| | | _this2.form.storeFrontImgs = data.storeFrontImgs; |
| | | } |
| | | if (data.storeInteriorImgs) { |
| | | _this2.idCardImages = data.storeInteriorImgUrls; |
| | | _this2.uploadedImagesIdCard = data.storeInteriorImgUrls.map(function (url) { |
| | | return { |
| | | url: url |
| | | }; |
| | | }); |
| | | _this2.form.storeInteriorImgs = data.storeInteriorImgs; |
| | | } |
| | | if (data.otherMaterialImgs) { |
| | | _this2.permitImages = data.otherMaterialImgUrls; |
| | | _this2.uploadedImagesPermit = data.otherMaterialImgUrls.map(function (url) { |
| | | return { |
| | | url: url |
| | | }; |
| | | }); |
| | | _this2.form.otherMaterialImgs = data.otherMaterialImgs; |
| | | } |
| | | _this2.form.idcardImg = data.idcardImg || ''; |
| | | _this2.form.idcardImgBack = data.idcardImgBack || ''; |
| | | if (data.laborContractImgs) { |
| | | _this2.laborContractImages = data.laborContractImgUrls; |
| | | _this2.uploadedLaborContractImages = data.laborContractImgUrls.map(function (url) { |
| | | return { |
| | | url: url |
| | | }; |
| | | }); |
| | | _this2.form.laborContractImgs = data.laborContractImgs; |
| | | } |
| | | if (data.socialSecurityImgs) { |
| | | _this2.socialSecurityImages = data.socialSecurityImgUrls; |
| | | _this2.uploadedSocialSecurityImages = data.socialSecurityImgUrls.map(function (url) { |
| | | return { |
| | | url: url |
| | | }; |
| | | }); |
| | | _this2.form.socialSecurityImgs = data.socialSecurityImgs; |
| | | } |
| | | _this2.form.legalPersonCard = data.legalPersonCard || ''; |
| | | _this2.form.businessImg = data.businessImg || ''; |
| | | } |
| | | _context2.next = 10; |
| | | break; |
| | | case 7: |
| | | _context2.prev = 7; |
| | | _context2.t0 = _context2["catch"](0); |
| | | console.log('获取店铺信息失败', _context2.t0); |
| | | case 10: |
| | | case "end": |
| | | return _context2.stop(); |
| | | } |
| | | } |
| | | }, _callee2, null, [[0, 7]]); |
| | | }))(); |
| | | }, |
| | | getAreaList: function getAreaList() { |
| | | var _this3 = this; |
| | | this.$u.api.treeList({ |
| | | type: 0, |
| | | flag: 1 |
| | | }).then(function (res) { |
| | | if (res.code === 200) { |
| | | _this3.areaList = res.data; |
| | | _this3.areaColumns[0] = _this3.areaList.map(function (item) { |
| | | return { |
| | | id: item.id, |
| | | text: item.name |
| | | }; |
| | | }); |
| | | _this3.areaColumns[1] = _this3.areaList[0].childList.map(function (item) { |
| | | return { |
| | | id: item.id, |
| | | text: item.name |
| | | }; |
| | | }); |
| | | _this3.areaColumns[2] = _this3.areaList[0].childList[0].childList.map(function (item) { |
| | | return { |
| | | id: item.id, |
| | | text: item.name |
| | | }; |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | | confirmArea: function confirmArea(e) { |
| | | this.form.areaId = e.value[e.value.length - 1].id; |
| | | this.form.areaName = e.value[0].text + '/' + e.value[1].text + '/' + e.value[2].text; |
| | | this.showAreaPicker = false; |
| | | }, |
| | | chooseAddress: function chooseAddress() { |
| | | var _this4 = this; |
| | | uni.chooseLocation({ |
| | | success: function success(res) { |
| | | _this4.form.address = res.address; |
| | | _this4.form.longitude = res.longitude; |
| | | _this4.form.latitude = res.latitude; |
| | | } |
| | | }); |
| | | }, |
| | | changeAreaHandler: function changeAreaHandler(e) { |
| | | var columnIndex = e.columnIndex, |
| | | indexs = e.indexs, |
| | | _e$picker = e.picker, |
| | | picker = _e$picker === void 0 ? this.$refs.uPicker : _e$picker; |
| | | if (columnIndex === 0) { |
| | | var city = this.areaList[indexs[0]].childList.map(function (item) { |
| | | return { |
| | | id: item.id, |
| | | text: item.name |
| | | }; |
| | | }); |
| | | var qu = this.areaList[indexs[0]].childList[0].childList.map(function (item) { |
| | | return { |
| | | id: item.id, |
| | | text: item.name |
| | | }; |
| | | }); |
| | | picker.setColumnValues(1, city); |
| | | picker.setColumnValues(2, qu); |
| | | } else if (columnIndex === 1) { |
| | | var _qu = this.areaList[indexs[0]].childList[indexs[1]].childList.map(function (item) { |
| | | return { |
| | | id: item.id, |
| | | text: item.name |
| | | }; |
| | | }); |
| | | picker.setColumnValues(2, _qu); |
| | | } |
| | | }, |
| | | uploadFiles: function uploadFiles(filePaths) { |
| | | var _arguments = arguments, |
| | | _this5 = this; |
| | | return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() { |
| | | var maxCount, limitedPaths, uploadTasks, results; |
| | | return _regenerator.default.wrap(function _callee3$(_context3) { |
| | | while (1) { |
| | | switch (_context3.prev = _context3.next) { |
| | | case 0: |
| | | maxCount = _arguments.length > 1 && _arguments[1] !== undefined ? _arguments[1] : 9; |
| | | if (!(!filePaths || filePaths.length === 0)) { |
| | | _context3.next = 3; |
| | | break; |
| | | } |
| | | return _context3.abrupt("return", []); |
| | | case 3: |
| | | limitedPaths = filePaths.slice(0, maxCount); |
| | | uploadTasks = limitedPaths.map(function (filePath) { |
| | | return new Promise(function (resolve, reject) { |
| | | uni.uploadFile({ |
| | | url: _this5.$baseUrl + '/web/public/upload', |
| | | filePath: filePath, |
| | | name: 'file', |
| | | formData: { |
| | | folder: 'shop' |
| | | }, |
| | | success: function success(res) { |
| | | if (res.statusCode === 200) { |
| | | var data = JSON.parse(res.data); |
| | | if (data.code === 200) { |
| | | resolve(data.data); |
| | | } else { |
| | | reject(new Error(data.msg || '上传失败')); |
| | | } |
| | | } else { |
| | | reject(new Error('上传失败')); |
| | | } |
| | | }, |
| | | fail: function fail(err) { |
| | | reject(err); |
| | | } |
| | | }); |
| | | }); |
| | | }); |
| | | _context3.prev = 5; |
| | | _context3.next = 8; |
| | | return Promise.all(uploadTasks); |
| | | case 8: |
| | | results = _context3.sent; |
| | | return _context3.abrupt("return", results); |
| | | case 12: |
| | | _context3.prev = 12; |
| | | _context3.t0 = _context3["catch"](5); |
| | | uni.showToast({ |
| | | title: '上传失败', |
| | | icon: 'none' |
| | | }); |
| | | throw _context3.t0; |
| | | case 16: |
| | | case "end": |
| | | return _context3.stop(); |
| | | } |
| | | } |
| | | }, _callee3, null, [[5, 12]]); |
| | | }))(); |
| | | }, |
| | | deleteStoreFrontImage: function deleteStoreFrontImage(index) { |
| | | var _this6 = this; |
| | | this.uploadedImagesStoreFront.splice(index, 1); |
| | | this.storeFrontImages.splice(index, 1); |
| | | this.form.storeFrontImgs = this.storeFrontImages.map(function (url) { |
| | | return _this6.getShortPath(url); |
| | | }); |
| | | }, |
| | | chooseStoreFrontImage: function chooseStoreFrontImage() { |
| | | var _this7 = this; |
| | | return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() { |
| | | var maxCount, currentCount, remainingCount; |
| | | return _regenerator.default.wrap(function _callee5$(_context5) { |
| | | while (1) { |
| | | switch (_context5.prev = _context5.next) { |
| | | case 0: |
| | | maxCount = 3; |
| | | currentCount = _this7.storeFrontImages.length; |
| | | remainingCount = maxCount - currentCount; |
| | | if (!(remainingCount <= 0)) { |
| | | _context5.next = 6; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: "\u6700\u591A\u4E0A\u4F20".concat(maxCount, "\u5F20\u56FE\u7247"), |
| | | icon: 'none' |
| | | }); |
| | | return _context5.abrupt("return"); |
| | | case 6: |
| | | uni.chooseImage({ |
| | | count: remainingCount, |
| | | sizeType: ['compressed'], |
| | | sourceType: ['album', 'camera'], |
| | | success: function () { |
| | | var _success = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(res) { |
| | | var tempFilePaths, uploadResults, fullPaths; |
| | | return _regenerator.default.wrap(function _callee4$(_context4) { |
| | | while (1) { |
| | | switch (_context4.prev = _context4.next) { |
| | | case 0: |
| | | tempFilePaths = res.tempFilePaths; |
| | | uni.showLoading({ |
| | | title: '上传中...', |
| | | mask: true |
| | | }); |
| | | _context4.prev = 2; |
| | | _context4.next = 5; |
| | | return _this7.uploadFiles(tempFilePaths, maxCount); |
| | | case 5: |
| | | uploadResults = _context4.sent; |
| | | fullPaths = uploadResults.map(function (item) { |
| | | return item.url || item.path || item; |
| | | }); |
| | | _this7.uploadedImagesStoreFront = [].concat((0, _toConsumableArray2.default)(_this7.uploadedImagesStoreFront), (0, _toConsumableArray2.default)(fullPaths.map(function (url) { |
| | | return { |
| | | url: url |
| | | }; |
| | | }))); |
| | | _this7.storeFrontImages = [].concat((0, _toConsumableArray2.default)(_this7.storeFrontImages), (0, _toConsumableArray2.default)(fullPaths)); |
| | | _this7.form.storeFrontImgs = [].concat((0, _toConsumableArray2.default)(_this7.form.storeFrontImgs), (0, _toConsumableArray2.default)(uploadResults.map(function (item) { |
| | | return item.imgaddr; |
| | | }))); |
| | | uni.hideLoading(); |
| | | uni.showToast({ |
| | | title: '上传成功', |
| | | icon: 'success' |
| | | }); |
| | | _context4.next = 17; |
| | | break; |
| | | case 14: |
| | | _context4.prev = 14; |
| | | _context4.t0 = _context4["catch"](2); |
| | | uni.hideLoading(); |
| | | case 17: |
| | | case "end": |
| | | return _context4.stop(); |
| | | } |
| | | } |
| | | }, _callee4, null, [[2, 14]]); |
| | | })); |
| | | function success(_x) { |
| | | return _success.apply(this, arguments); |
| | | } |
| | | return success; |
| | | }() |
| | | }); |
| | | case 7: |
| | | case "end": |
| | | return _context5.stop(); |
| | | } |
| | | } |
| | | }, _callee5); |
| | | }))(); |
| | | }, |
| | | deleteIdCardImage: function deleteIdCardImage(index) { |
| | | var _this8 = this; |
| | | this.uploadedImagesIdCard.splice(index, 1); |
| | | this.idCardImages.splice(index, 1); |
| | | this.form.storeInteriorImgs = this.idCardImages.map(function (url) { |
| | | return _this8.getShortPath(url); |
| | | }); |
| | | }, |
| | | chooseIdCardImage: function chooseIdCardImage() { |
| | | var _this9 = this; |
| | | return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() { |
| | | var maxCount, currentCount, remainingCount; |
| | | return _regenerator.default.wrap(function _callee7$(_context7) { |
| | | while (1) { |
| | | switch (_context7.prev = _context7.next) { |
| | | case 0: |
| | | maxCount = 3; |
| | | currentCount = _this9.idCardImages.length; |
| | | remainingCount = maxCount - currentCount; |
| | | if (!(remainingCount <= 0)) { |
| | | _context7.next = 6; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: "\u6700\u591A\u4E0A\u4F20".concat(maxCount, "\u5F20\u56FE\u7247"), |
| | | icon: 'none' |
| | | }); |
| | | return _context7.abrupt("return"); |
| | | case 6: |
| | | uni.chooseImage({ |
| | | count: remainingCount, |
| | | sizeType: ['compressed'], |
| | | sourceType: ['album', 'camera'], |
| | | success: function () { |
| | | var _success2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(res) { |
| | | var tempFilePaths, uploadResults, fullPaths; |
| | | return _regenerator.default.wrap(function _callee6$(_context6) { |
| | | while (1) { |
| | | switch (_context6.prev = _context6.next) { |
| | | case 0: |
| | | tempFilePaths = res.tempFilePaths; |
| | | uni.showLoading({ |
| | | title: '上传中...', |
| | | mask: true |
| | | }); |
| | | _context6.prev = 2; |
| | | _context6.next = 5; |
| | | return _this9.uploadFiles(tempFilePaths, maxCount); |
| | | case 5: |
| | | uploadResults = _context6.sent; |
| | | fullPaths = uploadResults.map(function (item) { |
| | | return item.url || item.path || item; |
| | | }); |
| | | _this9.uploadedImagesIdCard = [].concat((0, _toConsumableArray2.default)(_this9.uploadedImagesIdCard), (0, _toConsumableArray2.default)(fullPaths.map(function (url) { |
| | | return { |
| | | url: url |
| | | }; |
| | | }))); |
| | | _this9.idCardImages = [].concat((0, _toConsumableArray2.default)(_this9.idCardImages), (0, _toConsumableArray2.default)(fullPaths)); |
| | | _this9.form.storeInteriorImgs = [].concat((0, _toConsumableArray2.default)(_this9.form.storeInteriorImgs), (0, _toConsumableArray2.default)(uploadResults.map(function (item) { |
| | | return item.imgaddr; |
| | | }))); |
| | | uni.hideLoading(); |
| | | uni.showToast({ |
| | | title: '上传成功', |
| | | icon: 'success' |
| | | }); |
| | | _context6.next = 17; |
| | | break; |
| | | case 14: |
| | | _context6.prev = 14; |
| | | _context6.t0 = _context6["catch"](2); |
| | | uni.hideLoading(); |
| | | case 17: |
| | | case "end": |
| | | return _context6.stop(); |
| | | } |
| | | } |
| | | }, _callee6, null, [[2, 14]]); |
| | | })); |
| | | function success(_x2) { |
| | | return _success2.apply(this, arguments); |
| | | } |
| | | return success; |
| | | }() |
| | | }); |
| | | case 7: |
| | | case "end": |
| | | return _context7.stop(); |
| | | } |
| | | } |
| | | }, _callee7); |
| | | }))(); |
| | | }, |
| | | deleteBusinessImage: function deleteBusinessImage(index) { |
| | | var _this10 = this; |
| | | this.uploadedImagesBusiness.splice(index, 1); |
| | | this.businessImages.splice(index, 1); |
| | | this.form.businessImg = this.businessImages.map(function (url) { |
| | | return _this10.getShortPath(url); |
| | | }).join(','); |
| | | }, |
| | | chooseBusinessImage: function chooseBusinessImage() { |
| | | var _this11 = this; |
| | | return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() { |
| | | return _regenerator.default.wrap(function _callee9$(_context9) { |
| | | while (1) { |
| | | switch (_context9.prev = _context9.next) { |
| | | case 0: |
| | | uni.chooseImage({ |
| | | count: 1, |
| | | sizeType: ['compressed'], |
| | | sourceType: ['album', 'camera'], |
| | | success: function () { |
| | | var _success3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8(res) { |
| | | var tempFilePaths, uploadResults; |
| | | return _regenerator.default.wrap(function _callee8$(_context8) { |
| | | while (1) { |
| | | switch (_context8.prev = _context8.next) { |
| | | case 0: |
| | | tempFilePaths = res.tempFilePaths; |
| | | uni.showLoading({ |
| | | title: '上传中...', |
| | | mask: true |
| | | }); |
| | | _context8.prev = 2; |
| | | _context8.next = 5; |
| | | return _this11.uploadFiles(tempFilePaths, 1); |
| | | case 5: |
| | | uploadResults = _context8.sent; |
| | | _this11.form.businessImg = uploadResults[0].imgaddr; |
| | | _this11.businessImgUrl = uploadResults[0].url; |
| | | console.log("=======================", _this11.businessImgUrl); |
| | | uni.hideLoading(); |
| | | uni.showToast({ |
| | | title: '上传成功', |
| | | icon: 'success' |
| | | }); |
| | | _context8.next = 16; |
| | | break; |
| | | case 13: |
| | | _context8.prev = 13; |
| | | _context8.t0 = _context8["catch"](2); |
| | | uni.hideLoading(); |
| | | case 16: |
| | | case "end": |
| | | return _context8.stop(); |
| | | } |
| | | } |
| | | }, _callee8, null, [[2, 13]]); |
| | | })); |
| | | function success(_x3) { |
| | | return _success3.apply(this, arguments); |
| | | } |
| | | return success; |
| | | }() |
| | | }); |
| | | case 1: |
| | | case "end": |
| | | return _context9.stop(); |
| | | } |
| | | } |
| | | }, _callee9); |
| | | }))(); |
| | | }, |
| | | deletePermitImage: function deletePermitImage(index) { |
| | | var _this12 = this; |
| | | this.uploadedImagesPermit.splice(index, 1); |
| | | this.permitImages.splice(index, 1); |
| | | this.form.otherMaterialImgs = this.permitImages.map(function (url) { |
| | | return _this12.getShortPath(url); |
| | | }); |
| | | }, |
| | | choosePermitImage: function choosePermitImage() { |
| | | var _this13 = this; |
| | | return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11() { |
| | | var maxCount, currentCount, remainingCount; |
| | | return _regenerator.default.wrap(function _callee11$(_context11) { |
| | | while (1) { |
| | | switch (_context11.prev = _context11.next) { |
| | | case 0: |
| | | maxCount = 3; |
| | | currentCount = _this13.permitImages.length; |
| | | remainingCount = maxCount - currentCount; |
| | | if (!(remainingCount <= 0)) { |
| | | _context11.next = 6; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: "\u6700\u591A\u4E0A\u4F20".concat(maxCount, "\u5F20\u56FE\u7247"), |
| | | icon: 'none' |
| | | }); |
| | | return _context11.abrupt("return"); |
| | | case 6: |
| | | uni.chooseImage({ |
| | | count: remainingCount, |
| | | sizeType: ['compressed'], |
| | | sourceType: ['album', 'camera'], |
| | | success: function () { |
| | | var _success4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10(res) { |
| | | var tempFilePaths, uploadResults, fullPaths; |
| | | return _regenerator.default.wrap(function _callee10$(_context10) { |
| | | while (1) { |
| | | switch (_context10.prev = _context10.next) { |
| | | case 0: |
| | | tempFilePaths = res.tempFilePaths; |
| | | uni.showLoading({ |
| | | title: '上传中...', |
| | | mask: true |
| | | }); |
| | | _context10.prev = 2; |
| | | _context10.next = 5; |
| | | return _this13.uploadFiles(tempFilePaths, maxCount); |
| | | case 5: |
| | | uploadResults = _context10.sent; |
| | | fullPaths = uploadResults.map(function (item) { |
| | | return item.url || item.path || item; |
| | | }); |
| | | _this13.uploadedImagesPermit = [].concat((0, _toConsumableArray2.default)(_this13.uploadedImagesPermit), (0, _toConsumableArray2.default)(fullPaths.map(function (url) { |
| | | return { |
| | | url: url |
| | | }; |
| | | }))); |
| | | _this13.permitImages = [].concat((0, _toConsumableArray2.default)(_this13.permitImages), (0, _toConsumableArray2.default)(fullPaths)); |
| | | _this13.form.otherMaterialImgs = [].concat((0, _toConsumableArray2.default)(_this13.form.otherMaterialImgs), (0, _toConsumableArray2.default)(uploadResults.map(function (item) { |
| | | return item.imgaddr; |
| | | }))); |
| | | uni.hideLoading(); |
| | | uni.showToast({ |
| | | title: '上传成功', |
| | | icon: 'success' |
| | | }); |
| | | _context10.next = 17; |
| | | break; |
| | | case 14: |
| | | _context10.prev = 14; |
| | | _context10.t0 = _context10["catch"](2); |
| | | uni.hideLoading(); |
| | | case 17: |
| | | case "end": |
| | | return _context10.stop(); |
| | | } |
| | | } |
| | | }, _callee10, null, [[2, 14]]); |
| | | })); |
| | | function success(_x4) { |
| | | return _success4.apply(this, arguments); |
| | | } |
| | | return success; |
| | | }() |
| | | }); |
| | | case 7: |
| | | case "end": |
| | | return _context11.stop(); |
| | | } |
| | | } |
| | | }, _callee11); |
| | | }))(); |
| | | }, |
| | | chooseIdCardFront: function chooseIdCardFront() { |
| | | var _this14 = this; |
| | | uni.chooseImage({ |
| | | count: 1, |
| | | sizeType: ['compressed'], |
| | | sourceType: ['album', 'camera'], |
| | | success: function () { |
| | | var _success5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12(res) { |
| | | var tempFilePaths, uploadResults; |
| | | return _regenerator.default.wrap(function _callee12$(_context12) { |
| | | while (1) { |
| | | switch (_context12.prev = _context12.next) { |
| | | case 0: |
| | | tempFilePaths = res.tempFilePaths; |
| | | uni.showLoading({ |
| | | title: '上传中...', |
| | | mask: true |
| | | }); |
| | | _context12.prev = 2; |
| | | _context12.next = 5; |
| | | return _this14.uploadFiles(tempFilePaths, 1); |
| | | case 5: |
| | | uploadResults = _context12.sent; |
| | | _this14.form.idcardImg = uploadResults[0].imgaddr || uploadResults[0].path || uploadResults[0]; |
| | | _this14.idcardImgUrl = uploadResults[0].url || uploadResults[0].path || uploadResults[0]; |
| | | uni.hideLoading(); |
| | | uni.showToast({ |
| | | title: '上传成功', |
| | | icon: 'success' |
| | | }); |
| | | _context12.next = 15; |
| | | break; |
| | | case 12: |
| | | _context12.prev = 12; |
| | | _context12.t0 = _context12["catch"](2); |
| | | uni.hideLoading(); |
| | | case 15: |
| | | case "end": |
| | | return _context12.stop(); |
| | | } |
| | | } |
| | | }, _callee12, null, [[2, 12]]); |
| | | })); |
| | | function success(_x5) { |
| | | return _success5.apply(this, arguments); |
| | | } |
| | | return success; |
| | | }() |
| | | }); |
| | | }, |
| | | chooseIdCardBack: function chooseIdCardBack() { |
| | | var _this15 = this; |
| | | uni.chooseImage({ |
| | | count: 1, |
| | | sizeType: ['compressed'], |
| | | sourceType: ['album', 'camera'], |
| | | success: function () { |
| | | var _success6 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee13(res) { |
| | | var tempFilePaths, uploadResults; |
| | | return _regenerator.default.wrap(function _callee13$(_context13) { |
| | | while (1) { |
| | | switch (_context13.prev = _context13.next) { |
| | | case 0: |
| | | tempFilePaths = res.tempFilePaths; |
| | | uni.showLoading({ |
| | | title: '上传中...', |
| | | mask: true |
| | | }); |
| | | _context13.prev = 2; |
| | | _context13.next = 5; |
| | | return _this15.uploadFiles(tempFilePaths, 1); |
| | | case 5: |
| | | uploadResults = _context13.sent; |
| | | _this15.form.idcardImgBack = uploadResults[0].imgaddr || uploadResults[0].path || uploadResults[0]; |
| | | _this15.idcardImgBackUrl = uploadResults[0].url || uploadResults[0].path || uploadResults[0]; |
| | | uni.hideLoading(); |
| | | uni.showToast({ |
| | | title: '上传成功', |
| | | icon: 'success' |
| | | }); |
| | | _context13.next = 15; |
| | | break; |
| | | case 12: |
| | | _context13.prev = 12; |
| | | _context13.t0 = _context13["catch"](2); |
| | | uni.hideLoading(); |
| | | case 15: |
| | | case "end": |
| | | return _context13.stop(); |
| | | } |
| | | } |
| | | }, _callee13, null, [[2, 12]]); |
| | | })); |
| | | function success(_x6) { |
| | | return _success6.apply(this, arguments); |
| | | } |
| | | return success; |
| | | }() |
| | | }); |
| | | }, |
| | | chooseLegalPersonCardFront: function chooseLegalPersonCardFront() { |
| | | var _this16 = this; |
| | | uni.chooseImage({ |
| | | count: 1, |
| | | sizeType: ['compressed'], |
| | | sourceType: ['album', 'camera'], |
| | | success: function () { |
| | | var _success7 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14(res) { |
| | | var tempFilePaths, uploadResults; |
| | | return _regenerator.default.wrap(function _callee14$(_context14) { |
| | | while (1) { |
| | | switch (_context14.prev = _context14.next) { |
| | | case 0: |
| | | tempFilePaths = res.tempFilePaths; |
| | | uni.showLoading({ |
| | | title: '上传中...', |
| | | mask: true |
| | | }); |
| | | _context14.prev = 2; |
| | | _context14.next = 5; |
| | | return _this16.uploadFiles(tempFilePaths, 1); |
| | | case 5: |
| | | uploadResults = _context14.sent; |
| | | _this16.form.idcardImg = uploadResults[0].imgaddr || uploadResults[0].path || uploadResults[0]; |
| | | _this16.idcardImgUrl = uploadResults[0].url || uploadResults[0].path || uploadResults[0]; |
| | | uni.hideLoading(); |
| | | uni.showToast({ |
| | | title: '上传成功', |
| | | icon: 'success' |
| | | }); |
| | | _context14.next = 15; |
| | | break; |
| | | case 12: |
| | | _context14.prev = 12; |
| | | _context14.t0 = _context14["catch"](2); |
| | | uni.hideLoading(); |
| | | case 15: |
| | | case "end": |
| | | return _context14.stop(); |
| | | } |
| | | } |
| | | }, _callee14, null, [[2, 12]]); |
| | | })); |
| | | function success(_x7) { |
| | | return _success7.apply(this, arguments); |
| | | } |
| | | return success; |
| | | }() |
| | | }); |
| | | }, |
| | | chooseLegalPersonCardBack: function chooseLegalPersonCardBack() { |
| | | var _this17 = this; |
| | | uni.chooseImage({ |
| | | count: 1, |
| | | sizeType: ['compressed'], |
| | | sourceType: ['album', 'camera'], |
| | | success: function () { |
| | | var _success8 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15(res) { |
| | | var tempFilePaths, uploadResults; |
| | | return _regenerator.default.wrap(function _callee15$(_context15) { |
| | | while (1) { |
| | | switch (_context15.prev = _context15.next) { |
| | | case 0: |
| | | tempFilePaths = res.tempFilePaths; |
| | | uni.showLoading({ |
| | | title: '上传中...', |
| | | mask: true |
| | | }); |
| | | _context15.prev = 2; |
| | | _context15.next = 5; |
| | | return _this17.uploadFiles(tempFilePaths, 1); |
| | | case 5: |
| | | uploadResults = _context15.sent; |
| | | _this17.form.idcardImgBack = uploadResults[0].imgaddr || uploadResults[0].path || uploadResults[0]; |
| | | _this17.idcardImgBackUrl = uploadResults[0].url || uploadResults[0].path || uploadResults[0]; |
| | | uni.hideLoading(); |
| | | uni.showToast({ |
| | | title: '上传成功', |
| | | icon: 'success' |
| | | }); |
| | | _context15.next = 15; |
| | | break; |
| | | case 12: |
| | | _context15.prev = 12; |
| | | _context15.t0 = _context15["catch"](2); |
| | | uni.hideLoading(); |
| | | case 15: |
| | | case "end": |
| | | return _context15.stop(); |
| | | } |
| | | } |
| | | }, _callee15, null, [[2, 12]]); |
| | | })); |
| | | function success(_x8) { |
| | | return _success8.apply(this, arguments); |
| | | } |
| | | return success; |
| | | }() |
| | | }); |
| | | }, |
| | | deleteLaborContractImage: function deleteLaborContractImage(index) { |
| | | var _this18 = this; |
| | | this.uploadedLaborContractImages.splice(index, 1); |
| | | this.laborContractImages.splice(index, 1); |
| | | this.form.laborContractImgs = this.laborContractImages.map(function (url) { |
| | | return _this18.getShortPath(url); |
| | | }); |
| | | }, |
| | | chooseLaborContractImage: function chooseLaborContractImage() { |
| | | var _this19 = this; |
| | | return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee17() { |
| | | var maxCount, currentCount, remainingCount; |
| | | return _regenerator.default.wrap(function _callee17$(_context17) { |
| | | while (1) { |
| | | switch (_context17.prev = _context17.next) { |
| | | case 0: |
| | | maxCount = 3; |
| | | currentCount = _this19.laborContractImages.length; |
| | | remainingCount = maxCount - currentCount; |
| | | if (!(remainingCount <= 0)) { |
| | | _context17.next = 6; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: "\u6700\u591A\u4E0A\u4F20".concat(maxCount, "\u5F20\u56FE\u7247"), |
| | | icon: 'none' |
| | | }); |
| | | return _context17.abrupt("return"); |
| | | case 6: |
| | | uni.chooseImage({ |
| | | count: remainingCount, |
| | | sizeType: ['compressed'], |
| | | sourceType: ['album', 'camera'], |
| | | success: function () { |
| | | var _success9 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee16(res) { |
| | | var tempFilePaths, uploadResults, fullPaths; |
| | | return _regenerator.default.wrap(function _callee16$(_context16) { |
| | | while (1) { |
| | | switch (_context16.prev = _context16.next) { |
| | | case 0: |
| | | tempFilePaths = res.tempFilePaths; |
| | | uni.showLoading({ |
| | | title: '上传中...', |
| | | mask: true |
| | | }); |
| | | _context16.prev = 2; |
| | | _context16.next = 5; |
| | | return _this19.uploadFiles(tempFilePaths, maxCount); |
| | | case 5: |
| | | uploadResults = _context16.sent; |
| | | fullPaths = uploadResults.map(function (item) { |
| | | return item.url || item.path || item; |
| | | }); |
| | | _this19.uploadedLaborContractImages = [].concat((0, _toConsumableArray2.default)(_this19.uploadedLaborContractImages), (0, _toConsumableArray2.default)(fullPaths.map(function (url) { |
| | | return { |
| | | url: url |
| | | }; |
| | | }))); |
| | | _this19.laborContractImages = [].concat((0, _toConsumableArray2.default)(_this19.laborContractImages), (0, _toConsumableArray2.default)(fullPaths)); |
| | | _this19.form.laborContractImgs = [].concat((0, _toConsumableArray2.default)(_this19.form.laborContractImgs), (0, _toConsumableArray2.default)(uploadResults.map(function (item) { |
| | | return item.imgaddr; |
| | | }))); |
| | | uni.hideLoading(); |
| | | uni.showToast({ |
| | | title: '上传成功', |
| | | icon: 'success' |
| | | }); |
| | | _context16.next = 17; |
| | | break; |
| | | case 14: |
| | | _context16.prev = 14; |
| | | _context16.t0 = _context16["catch"](2); |
| | | uni.hideLoading(); |
| | | case 17: |
| | | case "end": |
| | | return _context16.stop(); |
| | | } |
| | | } |
| | | }, _callee16, null, [[2, 14]]); |
| | | })); |
| | | function success(_x9) { |
| | | return _success9.apply(this, arguments); |
| | | } |
| | | return success; |
| | | }() |
| | | }); |
| | | case 7: |
| | | case "end": |
| | | return _context17.stop(); |
| | | } |
| | | } |
| | | }, _callee17); |
| | | }))(); |
| | | }, |
| | | deleteSocialSecurityImage: function deleteSocialSecurityImage(index) { |
| | | var _this20 = this; |
| | | this.uploadedSocialSecurityImages.splice(index, 1); |
| | | this.socialSecurityImages.splice(index, 1); |
| | | this.form.socialSecurityImgs = this.socialSecurityImages.map(function (url) { |
| | | return _this20.getShortPath(url); |
| | | }); |
| | | }, |
| | | getShortPath: function getShortPath(url) { |
| | | if (!url) return ''; |
| | | if (url.startsWith('http')) { |
| | | return url.replace(this.imgPrefix, ''); |
| | | } |
| | | return url; |
| | | }, |
| | | getFullPath: function getFullPath(url) { |
| | | if (!url) return ''; |
| | | if (url.startsWith('http')) { |
| | | return url; |
| | | } |
| | | return (this.$baseUrl || '') + url; |
| | | }, |
| | | chooseSocialSecurityImage: function chooseSocialSecurityImage() { |
| | | var _this21 = this; |
| | | return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee19() { |
| | | var maxCount, currentCount, remainingCount; |
| | | return _regenerator.default.wrap(function _callee19$(_context19) { |
| | | while (1) { |
| | | switch (_context19.prev = _context19.next) { |
| | | case 0: |
| | | maxCount = 3; |
| | | currentCount = _this21.socialSecurityImages.length; |
| | | remainingCount = maxCount - currentCount; |
| | | if (!(remainingCount <= 0)) { |
| | | _context19.next = 6; |
| | | break; |
| | | } |
| | | uni.showToast({ |
| | | title: "\u6700\u591A\u4E0A\u4F20".concat(maxCount, "\u5F20\u56FE\u7247"), |
| | | icon: 'none' |
| | | }); |
| | | return _context19.abrupt("return"); |
| | | case 6: |
| | | uni.chooseImage({ |
| | | count: remainingCount, |
| | | sizeType: ['compressed'], |
| | | sourceType: ['album', 'camera'], |
| | | success: function () { |
| | | var _success10 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee18(res) { |
| | | var tempFilePaths, uploadResults, fullPaths; |
| | | return _regenerator.default.wrap(function _callee18$(_context18) { |
| | | while (1) { |
| | | switch (_context18.prev = _context18.next) { |
| | | case 0: |
| | | tempFilePaths = res.tempFilePaths; |
| | | uni.showLoading({ |
| | | title: '上传中...', |
| | | mask: true |
| | | }); |
| | | _context18.prev = 2; |
| | | _context18.next = 5; |
| | | return _this21.uploadFiles(tempFilePaths, maxCount); |
| | | case 5: |
| | | uploadResults = _context18.sent; |
| | | fullPaths = uploadResults.map(function (item) { |
| | | return item.url || item.path || item; |
| | | }); |
| | | _this21.uploadedSocialSecurityImages = [].concat((0, _toConsumableArray2.default)(_this21.uploadedSocialSecurityImages), (0, _toConsumableArray2.default)(fullPaths.map(function (url) { |
| | | return { |
| | | url: url |
| | | }; |
| | | }))); |
| | | _this21.socialSecurityImages = [].concat((0, _toConsumableArray2.default)(_this21.socialSecurityImages), (0, _toConsumableArray2.default)(fullPaths)); |
| | | _this21.form.socialSecurityImgs = [].concat((0, _toConsumableArray2.default)(_this21.form.socialSecurityImgs), (0, _toConsumableArray2.default)(uploadResults.map(function (item) { |
| | | return item.imgaddr; |
| | | }))); |
| | | uni.hideLoading(); |
| | | uni.showToast({ |
| | | title: '上传成功', |
| | | icon: 'success' |
| | | }); |
| | | _context18.next = 17; |
| | | break; |
| | | case 14: |
| | | _context18.prev = 14; |
| | | _context18.t0 = _context18["catch"](2); |
| | | uni.hideLoading(); |
| | | case 17: |
| | | case "end": |
| | | return _context18.stop(); |
| | | } |
| | | } |
| | | }, _callee18, null, [[2, 14]]); |
| | | })); |
| | | function success(_x10) { |
| | | return _success10.apply(this, arguments); |
| | | } |
| | | return success; |
| | | }() |
| | | }); |
| | | case 7: |
| | | case "end": |
| | | return _context19.stop(); |
| | | } |
| | | } |
| | | }, _callee19); |
| | | }))(); |
| | | } |
| | | } |
| | | }; |
| | | exports.default = _default; |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 271: |
| | | /*!*****************************************************************************************************************************************************!*\ |
| | | !*** D:/code/idea2023/git/gtzxinglijicun/small-program/pages/store-apply/store-apply.vue?vue&type=style&index=0&id=43aee78c&lang=scss&scoped=true& ***! |
| | | \*****************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _soft_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_soft_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_soft_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_style_index_0_id_43aee78c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./store-apply.vue?vue&type=style&index=0&id=43aee78c&lang=scss&scoped=true& */ 272); |
| | | /* harmony import */ var _soft_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_soft_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_soft_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_style_index_0_id_43aee78c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_soft_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_soft_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_soft_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_style_index_0_id_43aee78c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _soft_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_soft_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_soft_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_style_index_0_id_43aee78c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _soft_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_soft_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_soft_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_style_index_0_id_43aee78c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_soft_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_soft_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_soft_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_soft_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_store_apply_vue_vue_type_style_index_0_id_43aee78c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 272: |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/code/idea2023/git/gtzxinglijicun/small-program/pages/store-apply/store-apply.vue?vue&type=style&index=0&id=43aee78c&lang=scss&scoped=true& ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // extracted by mini-css-extract-plugin |
| | | if(false) { var cssReload; } |
| | | |
| | | |
| | | /***/ }) |
| | | |
| | | },[[265,"common/runtime","common/vendor"]]]); |
| | | //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/store-apply/store-apply.js.map |