You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
17 KiB

{"version":3,"sources":["uni-app:///main.js",null,"webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/release/personAuth/index.vue?58e4","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/release/personAuth/index.vue?5dd0","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/release/personAuth/index.vue?dc37","uni-app:///pages/release/personAuth/index.vue","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/release/personAuth/index.vue?2256","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/release/personAuth/index.vue?78c7"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,0G;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACa;;;AAGjE;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAk1B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgDt2B;AACA;AACA,mB;;AAEA;AACA,MADA,kBACA;AACA;AACA;AACA,2BADA;AAEA,sBAFA;AAGA,6BAHA;AAIA,0BAJA;AAKA,2BALA;AAMA,yBANA,EADA;;AASA,mBATA;;AAWA,GAbA;;AAeA,gBAfA;AAgBA,WAhBA;;AAkBA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA;AAWA;AACA;AACA,qCAFA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GArDA;AAsDA;AACA,aADA,qBACA,CADA,EACA;AACA;AACA;;AAEA;AACA;AAAA;AAEA;AACA;AACA,OALA,MAKA;AACA;AAAA;AAEA;AACA;AACA,OALA,MAKA;AACA;AAAA;AAEA;AACA;AACA;AACA,KArBA;;AAuBA,UAvBA,kBAuBA,CAvBA,EAuBA;AACA;AACA;AACA;AACA;AAAA;AAEA;AACA;AACA,SALA,MAKA;AACA;AAAA;AAEA;AACA;AACA,SALA,MAKA;AACA;AAAA;AAEA;AACA;AACA;AACA,OAjBA;AAkBA,KA3CA;;AA6CA,UA7CA,oBA6CA;AACA;;AAEA;AACA;AACA,wBADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,yBADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA;AACA;AACA;AACA,4BADA;AAEA,qCAFA;;AAIA,uBAJA,mBAIA,GAJA,EAIA;AACA;AACA,4BADA;;AAGA,iBARA;;;AAWA,aAZA,MAYA;AACA;AACA,mCADA;AAEA,4BAFA;;AAIA;AACA,WAnBA;AAoBA,SArBA,MAqBA;AACA;AACA;AACA;AACA,4BADA;AAEA,qCAFA;;AAIA,uBAJA,mBAIA,GAJA,EAIA;AACA;AACA,4BADA;;AAGA,iBARA;;;AAWA,aAZA,MAYA;AACA;AACA,mCADA;AAEA,4BAFA;;AAIA;AACA,WAnBA;AAoBA;AACA;AACA,KA/GA,EAtDA,E;;;;;;;;;;;;;ACpDA;AAAA;AAAA;AAAA;AAAqsC,CAAgB,gmCAAG,EAAC,C;;;;;;;;;;;ACAztC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/release/personAuth/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/release/personAuth/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=5231c13e&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/release/personAuth/index.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=5231c13e&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\n<!--pages/release/companyAuth/index.wxml-->\n<view class=\"auth-page\">\n <view class=\"company-info-box\">\n <view class=\"form-item acea-row row-between row-middle\">\n <view class=\"label\">姓名</view>\n <view class=\"inp-box\">\n <input type=\"text\" :value=\"form.legalPersonName\" @input=\"inpChange\" data-type=\"name\" placeholder=\"请填写姓名\">\n </view>\n </view>\n <view class=\"form-item acea-row row-between row-middle\">\n <view class=\"label\">手机号</view>\n <view class=\"inp-box\">\n <input type=\"text\" :value=\"form.legalPhone\" @input=\"inpChange\" data-type=\"phone\" placeholder=\"请填写手机号\">\n </view>\n </view>\n <view class=\"form-item acea-row row-between row-middle\">\n <view class=\"label\">身份证号</view>\n <view class=\"inp-box\">\n <input type=\"text\" :value=\"form.legalPersonIdcard\" @input=\"inpChange\" data-type=\"idcard\" placeholder=\"请填写身份证号\">\n </view>\n </view>\n <!-- <view class=\"form-item noBorder\">\n <view class=\"label\">身份证</view>\n <view class=\"inp-box sfz\">\n <view class=\"acea-row row-between-wrapper\">\n <image src=\"https://download.cyjyyjy.com/sfz1.png\" @tap=\"upCard\" data-type=\"b\" v-if=\"form.idcardPicBehind == ''\"></image>\n <image :src=\"form.idcardPicBehind\" @tap=\"upCard\" data-type=\"b\" v-else></image>\n <image src=\"https://download.cyjyyjy.com/sfzb.png\"></image>\n </view>\n <view class=\"acea-row row-between-wrapper\">\n <image src=\"https://download.cyjyyjy.com/sfz2.png\" @tap=\"upCard\" data-type=\"f\" v-if=\"form.idcardPicFront == ''\"></image>\n <image :src=\"form.idcardPicFront\" @tap=\"upCard\" data-type=\"f\" v-else></image>\n <image src=\"https://download.cyjyyjy.com/sfzz.png\"></image>\n </view>\n <view class=\"acea-row row-between-wrapper\">\n <image src=\"https://download.cyjyyjy.com/sfz3.png\" @tap=\"upCard\" data-type=\"h\" v-if=\"form.idcardPicHold == ''\"></image>\n <image :src=\"form.idcardPicHold\" @tap=\"upCard\" data-type=\"h\" v-else></image>\n <image src=\"https://download.cyjyyjy.com/sfzs.png\"></image>\n </view>\n </view>\n </view> -->\n </view>\n <view class=\"submit-btn\" @tap=\"submit\">保存并提交</view>\n</view>\n</template>\n\n<script>\n// pages/release/personAuth/index.js\nconst util = require(\"../../../utils/util.js\");\nconst app = getApp();\n\nexport default {\n data() {\n return {\n form: {\n legalPersonName: '',\n legalPhone: '',\n legalPersonIdcard: '',\n idcardPicFront: '',\n idcardPicBehind: '',\n idcardPicHold: ''\n },\n isEdit: false\n };\n },\n\n components: {},\n props: {},\n\n /**\n * 生命周期函数--监听页面加载\n */\n onLoad: function (options) {\n if (options.authInfo) {\n let authInfo = JSON.parse(decodeURIComponent(options.authInfo));\n this.setData({\n\t\t\t\t//['form.legalPersonName']: authInfo.legalPersonName\n //['form.legalPhone']: authInfo.legalPhone || ''\n //['form.legalPersonIdcard']: authInfo.legalPersonIdcard\n //['form.idcardPicFront']: authInfo.idcardPicFront\n //['form.idcardPicBehind']: authInfo.idcardPicBehind\n //['form.idcardPicHold']: authInfo.idcardPicHold\n //['form.id']: authInfo.id\n //['form.authorizationType']: 2\n // isEdit: true,\n });\n\t\t\tthis.isEdit = true,\n //try fix\n this.form.authorizationType = 2;\n //try fix\n this.form.id = authInfo.id;\n //try fix\n this.form.idcardPicHold = authInfo.idcardPicHold;\n //try fix\n this.form.idcardPicBehind = authInfo.idcardPicBehind;\n //try fix\n this.form.idcardPicFront = authInfo.idcardPicFront;\n //try fix\n this.form.legalPersonIdcard = authInfo.legalPersonIdcard;\n //try fix\n this.form.legalPhone = authInfo.legalPhone || '';\n //try fix\n this.form.legalPersonName = authInfo.legalPersonName;\n }\n },\n methods: {\n inpChange(e) {\n let type = e.currentTarget.dataset.type;\n let value = e.detail.value;\n\n if (type == 'name') {\n this.setData({//['form.legalPersonName']: value\n });\n //try fix\n this.form.legalPersonName = value;\n } else if (type == 'phone') {\n this.setData({//.form.legalPhone: value\n });\n //try fix\n this.form.legalPhone = value;\n } else if (type == 'idcard') {\n this.setData({//.form.legalPersonIdcard: value\n });\n //try fix\n this.form.legalPersonIdcard = value;\n }\n },\n\n upCard(e) {\n let type = e.currentTarget.dataset.type;\n util.chooseImages(img => {\n if (type == 'f') {\n this.setData({//['form.idcardPicFront']: img\n });\n //try fix\n this.form.idcardPicFront = img;\n } else if (type == 'b') {\n this.setData({//.form.idcardPicBehind: img\n });\n //try fix\n this.form.idcardPicBehind = img;\n } else {\n this.setData({//.form.idcardPicHold: img\n });\n //try fix\n this.form.idcardPicHold = img;\n }\n });\n },\n\n submit() {\n let form = this.form;\n\n if (form.legalPersonName == '') {\n uni.showToast({\n title: '请填写姓名',\n icon: 'none'\n });\n return;\n } else if (form.legalPhone == '') {\n uni.showToast({\n title: '请填写手机号',\n icon: 'none'\n });\n return;\n } else if (form.legalPersonIdcard == '') {\n uni.showToast({\n title: '请填写身份证号',\n icon: 'none'\n });\n return;\n } else {\n if (this.isEdit == false) {\n app.http('post', 'EnterpriseAuthentication/createAuthenticInfoOne', this.form).then(res => {\n if (res.data.success) {\n uni.showModal({\n title: '提示!',\n content: '提交成功!请等待审核',\n\n success(res) {\n uni.navigateBack({\n delta: 1\n });\n }\n\n });\n } else {\n uni.showToast({\n title: res.data.msg,\n icon: 'none'\n });\n }\n });\n } else {\n app.http('post', 'EnterpriseAuthentication/editAuthenticInfo', this.form).then(res => {\n if (res.data.success) {\n uni.showModal({\n title: '提示!',\n content: '提交成功!请等待审核',\n\n success(res) {\n uni.navigateBack({\n delta: 1\n });\n }\n\n });\n } else {\n uni.showToast({\n title: res.data.msg,\n icon: 'none'\n });\n }\n });\n }\n }\n }\n\n }\n};\n</script>\n<style>\n/* pages/release/personAuth/index.wxss */\n@import \"../companyAuth/index.css\";\n</style>","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1635514198515\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}