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","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/personAuth/index.vue?92d9","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/personAuth/index.vue?0168","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/personAuth/index.vue?2567","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/personAuth/index.vue?20ac","uni-app:///pages/release/personAuth/index.vue","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/personAuth/index.vue?985e","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/personAuth/index.vue?80de"],"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;AAC+M;AAC/M,gBAAgB,uNAAU;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;AAAizB,CAAgB,i0BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgDr0B;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;AAAupC,CAAgB,0oCAAG,EAAC,C;;;;;;;;;;;ACA3qC;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 \"!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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 \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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 \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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 \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n<!--pages/release/companyAuth/index.wxml-->\r\n<view class=\"auth-page\">\r\n <view class=\"company-info-box\">\r\n <view class=\"form-item acea-row row-between row-middle\">\r\n <view class=\"label\">姓名</view>\r\n <view class=\"inp-box\">\r\n <input type=\"text\" :value=\"form.legalPersonName\" @input=\"inpChange\" data-type=\"name\" placeholder=\"请填写姓名\">\r\n </view>\r\n </view>\r\n <view class=\"form-item acea-row row-between row-middle\">\r\n <view class=\"label\">手机号</view>\r\n <view class=\"inp-box\">\r\n <input type=\"text\" :value=\"form.legalPhone\" @input=\"inpChange\" data-type=\"phone\" placeholder=\"请填写手机号\">\r\n </view>\r\n </view>\r\n <view class=\"form-item acea-row row-between row-middle\">\r\n <view class=\"label\">身份证号</view>\r\n <view class=\"inp-box\">\r\n <input type=\"text\" :value=\"form.legalPersonIdcard\" @input=\"inpChange\" data-type=\"idcard\" placeholder=\"请填写身份证号\">\r\n </view>\r\n </view>\r\n <!-- <view class=\"form-item noBorder\">\r\n <view class=\"label\">身份证</view>\r\n <view class=\"inp-box sfz\">\r\n <view class=\"acea-row row-between-wrapper\">\r\n <image src=\"https://download.cyjyyjy.com/sfz1.png\" @tap=\"upCard\" data-type=\"b\" v-if=\"form.idcardPicBehind == ''\"></image>\r\n <image :src=\"form.idcardPicBehind\" @tap=\"upCard\" data-type=\"b\" v-else></image>\r\n <image src=\"https://download.cyjyyjy.com/sfzb.png\"></image>\r\n </view>\r\n <view class=\"acea-row row-between-wrapper\">\r\n <image src=\"https://download.cyjyyjy.com/sfz2.png\" @tap=\"upCard\" data-type=\"f\" v-if=\"form.idcardPicFront == ''\"></image>\r\n <image :src=\"form.idcardPicFront\" @tap=\"upCard\" data-type=\"f\" v-else></image>\r\n <image src=\"https://download.cyjyyjy.com/sfzz.png\"></image>\r\n </view>\r\n <view class=\"acea-row row-between-wrapper\">\r\n <image src=\"https://download.cyjyyjy.com/sfz3.png\" @tap=\"upCard\" data-type=\"h\" v-if=\"form.idcardPicHold == ''\"></image>\r\n <image :src=\"form.idcardPicHold\" @tap=\"upCard\" data-type=\"h\" v-else></image>\r\n <image src=\"https://download.cyjyyjy.com/sfzs.png\"></image>\r\n </view>\r\n </view>\r\n </view> -->\r\n </view>\r\n <view class=\"submit-btn\" @tap=\"submit\">保存并提交</view>\r\n</view>\r\n</template>\r\n\r\n<script>\r\n// pages/release/personAuth/index.js\r\nconst util = require(\"../../../utils/util.js\");\r\nconst app = getApp();\r\n\r\nexport default {\r\n data() {\r\n return {\r\n form: {\r\n legalPersonName: '',\r\n legalPhone: '',\r\n legalPersonIdcard: '',\r\n idcardPicFront: '',\r\n idcardPicBehind: '',\r\n idcardPicHold: ''\r\n },\r\n isEdit: false\r\n };\r\n },\r\n\r\n components: {},\r\n props: {},\r\n\r\n /**\r\n * 生命周期函数--监听页面加载\r\n */\r\n onLoad: function (options) {\r\n if (options.authInfo) {\r\n let authInfo = JSON.parse(decodeURIComponent(options.authInfo));\r\n this.setData({\r\n\t\t\t\t//['form.legalPersonName']: authInfo.legalPersonName\r\n //['form.legalPhone']: authInfo.legalPhone || ''\r\n //['form.legalPersonIdcard']: authInfo.legalPersonIdcard\r\n //['form.idcardPicFront']: authInfo.idcardPicFront\r\n //['form.idcardPicBehind']: authInfo.idcardPicBehind\r\n //['form.idcardPicHold']: authInfo.idcardPicHold\r\n //['form.id']: authInfo.id\r\n //['form.authorizationType']: 2\r\n // isEdit: true,\r\n });\r\n\t\t\tthis.isEdit = true,\r\n //try fix\r\n this.form.authorizationType = 2;\r\n //try fix\r\n this.form.id = authInfo.id;\r\n //try fix\r\n this.form.idcardPicHold = authInfo.idcardPicHold;\r\n //try fix\r\n this.form.idcardPicBehind = authInfo.idcardPicBehind;\r\n //try fix\r\n this.form.idcardPicFront = authInfo.idcardPicFront;\r\n //try fix\r\n this.form.legalPersonIdcard = authInfo.legalPersonIdcard;\r\n //try fix\r\n this.form.legalPhone = authInfo.legalPhone || '';\r\n //try fix\r\n this.form.legalPersonName = authInfo.legalPersonName;\r\n }\r\n },\r\n methods: {\r\n inpChange(e) {\r\n let type = e.currentTarget.dataset.type;\r\n let value = e.detail.value;\r\n\r\n if (type == 'name') {\r\n this.setData({//['form.legalPersonName']: value\r\n });\r\n //try fix\r\n this.form.legalPersonName = value;\r\n } else if (type == 'phone') {\r\n this.setData({//.form.legalPhone: value\r\n });\r\n //try fix\r\n this.form.legalPhone = value;\r\n } else if (type == 'idcard') {\r\n this.setData({//.form.legalPersonIdcard: value\r\n });\r\n //try fix\r\n this.form.legalPersonIdcard = value;\r\n }\r\n },\r\n\r\n upCard(e) {\r\n let type = e.currentTarget.dataset.type;\r\n util.chooseImages(img => {\r\n if (type == 'f') {\r\n this.setData({//['form.idcardPicFront']: img\r\n });\r\n //try fix\r\n this.form.idcardPicFront = img;\r\n } else if (type == 'b') {\r\n this.setData({//.form.idcardPicBehind: img\r\n });\r\n //try fix\r\n this.form.idcardPicBehind = img;\r\n } else {\r\n this.setData({//.form.idcardPicHold: img\r\n });\r\n //try fix\r\n this.form.idcardPicHold = img;\r\n }\r\n });\r\n },\r\n\r\n submit() {\r\n let form = this.form;\r\n\r\n if (form.legalPersonName == '') {\r\n uni.showToast({\r\n title: '请填写姓名',\r\n icon: 'none'\r\n });\r\n return;\r\n } else if (form.legalPhone == '') {\r\n uni.showToast({\r\n title: '请填写手机号',\r\n icon: 'none'\r\n });\r\n return;\r\n } else if (form.legalPersonIdcard == '') {\r\n uni.showToast({\r\n title: '请填写身份证号',\r\n icon: 'none'\r\n });\r\n return;\r\n } else {\r\n if (this.isEdit == false) {\r\n app.http('post', 'EnterpriseAuthentication/createAuthenticInfoOne', this.form).then(res => {\r\n if (res.data.success) {\r\n uni.showModal({\r\n title: '提示!',\r\n content: '提交成功!请等待审核',\r\n\r\n success(res) {\r\n uni.navigateBack({\r\n delta: 1\r\n });\r\n }\r\n\r\n });\r\n } else {\r\n uni.showToast({\r\n title: res.data.msg,\r\n icon: 'none'\r\n });\r\n }\r\n });\r\n } else {\r\n app.http('post', 'EnterpriseAuthentication/editAuthenticInfo', this.form).then(res => {\r\n if (res.data.success) {\r\n uni.showModal({\r\n title: '提示!',\r\n content: '提交成功!请等待审核',\r\n\r\n success(res) {\r\n uni.navigateBack({\r\n delta: 1\r\n });\r\n }\r\n\r\n });\r\n } else {\r\n uni.showToast({\r\n title: res.data.msg,\r\n icon: 'none'\r\n });\r\n }\r\n });\r\n }\r\n }\r\n }\r\n\r\n }\r\n};\r\n</script>\r\n<style>\r\n/* pages/release/personAuth/index.wxss */\r\n@import \"../companyAuth/index.css\";\r\n</style>","import mod from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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 \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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 // 1635767019357\n var cssReload = require(\"D:/Program Files/HBuilderX.3.1.13.20210514/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":""}