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
29 KiB
1 lines
29 KiB
{"version":3,"sources":["uni-app:///main.js",null,"webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/release/companyAuth/index.vue?d468","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/release/companyAuth/index.vue?5746","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/release/companyAuth/index.vue?40c5","uni-app:///pages/release/companyAuth/index.vue","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/release/companyAuth/index.vue?54ec","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/release/companyAuth/index.vue?7229"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,2G;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4It2B;AACA;AACA,mB;;AAEA;AACA,MADA,kBACA;AACA;AACA;AACA,wBADA;AAEA;AACA,6BAHA;AAIA;AACA,0BALA;AAMA;AACA,sBAPA;AAQA;AACA,sBATA;AAUA;AACA,8BAXA;AAYA;AACA,2BAbA;AAcA;AACA,uBAfA;AAgBA;AACA,oBAjBA;AAkBA;AACA,sBAnBA;AAoBA;AACA,2BArBA;AAsBA;AACA,sBAvBA;AAwBA;AACA,6BAzBA;AA0BA;AACA,0BA3BA;AA4BA;AACA,2BA7BA;AA8BA;AACA,yBA/BA,CA+BA;AA/BA,OADA;;AAmCA,mBAnCA;AAoCA,gEApCA;AAqCA,uBArCA;AAsCA,sBAtCA;;AAwCA,GA1CA;;AA4CA,gBA5CA;AA6CA,WA7CA;;AA+CA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GA5FA;AA6FA;AACA;AACA,wBAFA,kCAEA;AACA;AACA;AACA;AACA;AACA,wCADA;;AAGA;AACA,OAPA;AAQA,KAXA;;AAaA,mBAbA,2BAaA,CAbA,EAaA;AACA;AACA;AACA;AACA,yBADA;;AAGA;AACA;AACA,KArBA;;AAuBA;AACA,gBAxBA,0BAwBA;AACA;AACA;AACA,KA3BA;;AA6BA,aA7BA,qBA6BA,CA7BA,EA6BA;AACA;AACA;AACA,mCADA;AAEA,UAFA,CAEA;AACA;AACA;AAAA;AAEA;AACA;AACA;AACA,OATA;AAUA,KAzCA;;AA2CA,aA3CA,qBA2CA,CA3CA,EA2CA;AACA;AACA;;AAEA;AACA;AACA;AAAA;AAEA;AACA;AACA;;AAEA;AACA;AAAA;AAEA;AACA;AACA;;AAEA;AACA;AAAA;AAEA;AACA;AACA;;AAEA;AACA;AAAA;AAEA;AACA;AACA;;AAEA;AACA;AAAA;AAEA;AACA;AACA;;AAEA;AACA;AAAA;AAEA;AACA;AACA;;AAEA;AACA;AAAA;AAEA;AACA;AACA;;AAEA;AACA;AAAA;AAEA;AACA;AACA,gBAvDA;;AAyDA,KAxGA;;AA0GA,UA1GA,kBA0GA,CA1GA,EA0GA;AACA;AACA;AACA;AACA;AAAA;AAEA;AACA;AACA,SALA,MAKA;AACA;AAAA;AAEA;AACA;AACA,SALA,MAKA;AACA;AAAA;AAEA;AACA;AACA,SALA,MAKA;AACA;AAAA;AAEA;AACA;AACA,SALA,MAKA;AACA;AAAA;AAEA;AACA;AACA;AACA,OA3BA;AA4BA,KAxIA;;AA0IA,oBA1IA,4BA0IA,CA1IA,EA0IA;AACA;AAAA;AAEA;AACA;AACA,KA/IA;;AAiJA,cAjJA,sBAiJA,CAjJA,EAiJA;AACA;AAAA;AAEA;AACA;AACA,KAtJA;;AAwJA,WAxJA,mBAwJA,CAxJA,EAwJA;AACA;AACA;AACA;AACA,KA5JA;;AA8JA,UA9JA,oBA8JA;AACA;AACA;;AAEA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;AACA;AACA,0BADA;AAEA,sBAFA;;AAIA;AACA,OANA,MAMA;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,KAjRA,EA7FA,E;;;;;;;;;;;;;AChJA;AAAA;AAAA;AAAA;AAAqsC,CAAgB,gmCAAG,EAAC,C;;;;;;;;;;;ACAztC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/release/companyAuth/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/release/companyAuth/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=6b5d9bd7&\"\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/companyAuth/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=6b5d9bd7&\"","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=\"is-legal-box\">\n <view class=\"acea-row row-between row-middle\">\n <view>申请人是否为企业法人</view>\n <radio-group @change=\"radioClick\" class=\"acea-row row-between row-middle\">\n <label>\n <radio value=\"1\" :checked=\"form.isLegalPerson == 1\"></radio>是\n </label>\n <label>\n <radio value=\"0\" :checked=\"form.isLegalPerson == 0\"></radio>否\n </label>\n </radio-group>\n </view>\n <view class=\"authbook-box\" v-if=\"form.isLegalPerson == 0\">\n <view class=\"tips\">非法人申请需上传加盖公章的申请授权书</view>\n <view class=\"upload-box acea-row row-between\">\n <image src=\"https://download.cyjyyjy.com/sq.png\" v-if=\"form.authorizationPath == ''\" @tap=\"upCard\" data-type=\"ap\"></image>\n <image :src=\"form.authorizationPath\" v-else @tap=\"upCard\" data-type=\"ap\"></image>\n <image src=\"https://download.cyjyyjy.com/sqs.png\" @tap=\"prevImg\"></image>\n </view>\n </view>\n </view>\n <view class=\"splitLine\"></view>\n <view class=\"company-info-box\">\n <view class=\"title\">企业信息</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=\"企业\" disabled=\"disabled\">\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.enterpriseName\" @input=\"inpChange\" data-type=\"enterpriseName\" 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.creditCode\" @input=\"inpChange\" data-type=\"creditCode\" placeholder=\"13位或18位数字及大写字母\">\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 acea-row row-right row-middle\">\n <!-- <input type=\"text\" value=\"{{form.profession}}\" disabled=\"true\" placeholder=\"请选择\" />\n <image src=\"https://download.cyjyyjy.com/home/arrow-r.png\" class=\"arrorR\"></image> -->\n <picker class=\"pick-box\" @change=\"resourcesChange\" :value=\"idx\" :range=\"resourcesList\" :range-key=\"'cagetoryName'\" mode=\"selector\">\n <view class=\"picker\">{{resourcesList[resourcesIdx].cagetoryName || '请选择'}}</view>\n </picker>\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 <picker @change=\"bindPickerChange\" :value=\"form.enterpriseScale\" :range=\"scaleArr\">\n <view class=\"picker\">{{form.enterpriseScale}}</view>\n </picker>\n </view>\n </view>\n <view class=\"form-item noBorder\">\n <view class=\"label\">营业执照</view>\n <view class=\"inp-box yyzz\">\n <image src=\"https://download.cyjyyjy.com/yyzz.png\" v-if=\"form.businessLicense == ''\" @tap=\"upCard\" data-type=\"bl\"></image>\n <image :src=\"form.businessLicense\" v-else @tap=\"upCard\" data-type=\"bl\"></image>\n </view>\n </view>\n </view>\n <view class=\"splitLine\"></view>\n <view class=\"company-info-box\">\n <view class=\"title\">对公银行信息</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.bankAccount\" @input=\"inpChange\" @blur=\"checkBank\" data-type=\"bankAccount\" 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.bankName\" @input=\"inpChange\" data-type=\"bankName\" 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.bankBranch\" @input=\"inpChange\" data-type=\"bankBranch\" placeholder=\"请填写开户网点\">\n </view>\n </view>\n </view>\n <view class=\"splitLine\"></view>\n <view class=\"company-info-box\">\n <view class=\"title\">法人/申请人信息</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.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/companyAuth/index.js\nconst util = require(\"../../../utils/util.js\");\nconst app = getApp();\n\nexport default {\n data() {\n return {\n form: {\n isLegalPerson: 0,\n //是否为企业法人\n authorizationPath: '',\n // 授权书图片\n enterpriseName: '',\n //企业名称\n creditCode: '',\n //信用代码\n industryId: '',\n //所在行业\n enterpriseScale: '请选择',\n //企业规模\n businessLicense: '',\n //营业执照照片\n bankAccount: '',\n //银行账号\n bankName: '',\n // 开户银行\n bankBranch: '',\n // 开户网点\n legalPersonName: '',\n //法人姓名\n legalPhone: '',\n //法人手机号\n legalPersonIdcard: '',\n // 法人身份证\n idcardPicFront: '',\n // 法人身份证正面照\n idcardPicBehind: '',\n // 法人身份证背面照\n idcardPicHold: '' // 法人手持身份证\n\n },\n isEdit: false,\n scaleArr: ['0-25', '25-99', '99-200', '200-500', '500及以上'],\n resourcesList: \"\",\n resourcesIdx: \"\"\n };\n },\n\n components: {},\n props: {},\n\n /**\n * 生命周期函数--监听页面加载\n */\n onLoad: function (options) {\n this.getResourcesCagetory();\n\n if (options.authInfo) {\n let authInfo = JSON.parse(decodeURIComponent(options.authInfo));\n\t\t\t\t//try fix\n\t\t\t\tthis.form.authorizationType = 1;\n\t\t\t\t//try fix\n\t\t\t\tthis.form.id = authInfo.id;\n\t\t\t\t//try fix\n\t\t\t\tthis.form.enterpriseId = authInfo.enterpriseId;\n\t\t\t\t//try fix\n\t\t\t\tthis.form.idcardPicHold = authInfo.idcardPicHold || '';\n\t\t\t\t//try fix\n\t\t\t\tthis.form.idcardPicBehind = authInfo.idcardPicBehind || '';\n\t\t\t\t//try fix\n\t\t\t\tthis.form.idcardPicFront = authInfo.idcardPicFront || '';\n\t\t\t\t//try fix\n\t\t\t\tthis.form.legalPersonIdcard = authInfo.legalPersonIdcard || '';\n\t\t\t\t//try fix\n\t\t\t\tthis.form.legalPhone = authInfo.legalPhone || '';\n\t\t\t\t//try fix\n\t\t\t\tthis.form.legalPersonName = authInfo.legalPersonName || '';\n\t\t\t\t//try fix\n\t\t\t\tthis.form.bankBranch = authInfo.bankBranch || '';\n\t\t\t\t//try fix\n\t\t\t\tthis.form.bankName = authInfo.bankName || '';\n\t\t\t\t//try fix\n\t\t\t\tthis.form.bankAccount = authInfo.bankAccount || '';\n\t\t\t\t//try fix\n\t\t\t\tthis.form.businessLicense = authInfo.businessLicense || '';\n\t\t\t\t//try fix\n\t\t\t\tthis.form.enterpriseScale = authInfo.enterpriseScale || '请选择';\n\t\t\t\t//try fix\n\t\t\t\tthis.form.creditCode = authInfo.creditCode;\n\t\t\t\t//try fix\n\t\t\t\tthis.form.enterpriseName = authInfo.enterpriseName;\n\t\t\t\t//try fix\n\t\t\t\tthis.form.authorizationPath = authInfo.authorizationPath || '';\n\t\t\t\t//try fix\n\t\t\t\tthis.form.isLegalPerson = 0;\n }\n },\n methods: {\n //获取供应、需求类型\n getResourcesCagetory() {\n app.http('GET', 'ResourcesCagetory/listResourcesCagetory').then(res => {\n // console.log(res)\n if (res.data.success) {\n this.setData({\n resourcesList: res.data.data\n });\n }\n });\n },\n\n resourcesChange(e) {\n // console.log(e)\n let idx = Number(e.detail.value);\n this.setData({//['form.industryId']: this.data.resourcesList[idx].id\n resourcesIdx: idx,\n });\n //try fix\n this.form.industryId = this.resourcesList[idx].id;\n },\n\n //选择行业\n toProfession() {// wx.navigateTo({\n // url: '/pages/user/profession/index',\n // })\n },\n\n checkBank(e) {\n // console.log(e.detail.value)\n app.http('get', 'EnterpriseAuthentication/getBankName', {\n bankAccount: e.detail.value\n }).then(res => {\n if (res.data.success) {\n this.setData({//['form.bankName']: res.data.data\n });\n //try fix\n this.form.bankName = res.data.data;\n }\n });\n },\n\n inpChange(e) {\n let type = e.currentTarget.dataset.type;\n let value = e.detail.value;\n\n switch (type) {\n case 'enterpriseName':\n this.setData({//['form.enterpriseName']: value\n });\n //try fix\n this.form.enterpriseName = value;\n break;\n\n case 'creditCode':\n this.setData({//['form.creditCode']: value\n });\n //try fix\n this.form.creditCode = value;\n break;\n\n case 'bankAccount':\n this.setData({//['form.bankAccount']: value\n });\n //try fix\n this.form.bankAccount = value;\n break;\n\n case 'bankName':\n this.setData({//['form.bankName']: value\n });\n //try fix\n this.form.bankName = value;\n break;\n\n case 'bankBranch':\n this.setData({//['form.bankBranch']: value\n });\n //try fix\n this.form.bankBranch = value;\n break;\n\n case 'name':\n this.setData({//['form.legalPersonName']: value\n });\n //try fix\n this.form.legalPersonName = value;\n break;\n\n case 'phone':\n this.setData({//['form.legalPhone']: value\n });\n //try fix\n this.form.legalPhone = value;\n break;\n\n case 'idcard':\n this.setData({//['form.legalPersonIdcard']: value\n });\n //try fix\n this.form.legalPersonIdcard = value;\n break;\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 if (type == 'h') {\n this.setData({//.form.idcardPicHold: img\n });\n //try fix\n this.form.idcardPicHold = img;\n } else if (type == 'ap') {\n this.setData({//.form.authorizationPath: img\n });\n //try fix\n this.form.authorizationPath = img;\n } else if (type == 'bl') {\n this.setData({//.form.businessLicense: img\n });\n //try fix\n this.form.businessLicense = img;\n }\n });\n },\n\n bindPickerChange(e) {\n this.setData({//['form.enterpriseScale']: this.data.scaleArr[e.detail.value]\n });\n //try fix\n this.form.enterpriseScale = this.scaleArr[e.detail.value];\n },\n\n radioClick(e) {\n this.setData({//.form.isLegalPerson: e.detail.value\n });\n //try fix\n this.form.isLegalPerson = e.detail.value;\n },\n\n prevImg(e) {// let url = e.currentTarget.dataset.url;\n // wx.previewImage({\n // urls: [url],\n // })\n },\n\n submit() {\n let form = this.form;\n console.log(form);\n\n if (form.isLegalPerson == 0 && form.authorizationPath == '') {\n uni.showToast({\n title: '请上传授权书!',\n icon: 'none'\n });\n return;\n } else if (form.enterpriseName == '') {\n uni.showToast({\n title: '请填写企业名称',\n icon: 'none'\n });\n return;\n } else if (form.creditCode == '') {\n uni.showToast({\n title: '请填写信用代码',\n icon: 'none'\n });\n return;\n } else if (form.enterpriseScale == '请选择') {\n uni.showToast({\n title: '请选择企业规模',\n icon: 'none'\n });\n return;\n } else if (form.businessLicense == '') {\n uni.showToast({\n title: '请上传营业执照',\n icon: 'none'\n });\n return;\n } else if (form.bankAccount == '') {\n uni.showToast({\n title: '请输入银行账号',\n icon: 'none'\n });\n return;\n } else if (form.bankName == '') {\n uni.showToast({\n title: '请输入银行名称',\n icon: 'none'\n });\n return;\n } else if (form.bankName == '') {\n uni.showToast({\n title: '请输入开户网点',\n icon: 'none'\n });\n return;\n } else 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) {\n app.http('post', 'EnterpriseAuthentication/createAuthenticInfoTwo', 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/companyAuth/index.wxss */\n\n.is-legal-box{\n width: 100%;\n padding: 30rpx 40rpx;\n}\n.is-legal-box label{\n margin-right: 40rpx;\n}\n.authbook-box{\n font-size: 28rpx;\n color: #666;\n}\n.tips{\n margin: 40rpx 0;\n}\n.upload-box image{\n width: 332rpx;\n height: 204rpx;\n}\n.splitLine{\n width: 100%;\n height: 20rpx;\n background-color: #eee;\n}\n.company-info-box{\n width: 100%;\n padding: 32rpx 40rpx;\n}\n.title{\n font-size: 32rpx;\n color: #1D1D1D;\n margin-bottom: 38rpx;\n font-weight: 500;\n}\n.form-item{\n font-size: 28rpx;\n color: #666666;\n padding: 16rpx 0;\n border-bottom: 2rpx solid #EEEEEE;\n}\n.form-item .inp-box{\n width: 70%;\n text-align: right;\n}\n.yyzz image{\n width: 670rpx;\n height: 368rpx;\n margin-top: 26rpx;\n}\n.noBorder{\n border: none;\n}\n.form-item .sfz{\n width: 100%;\n margin-top: 26rpx;\n}\n.sfz image{\n width: 332rpx;\n height: 205rpx;\n margin-bottom: 10rpx;\n}\n.submit-btn{\n width: 670rpx;\n height: 76rpx;\n background: linear-gradient(144deg, #FFA782 0%, #FF5100 100%);\n border-radius: 38rpx;\n color: #fff;\n font-size: 28rpx;\n line-height: 76rpx;\n text-align: center;\n margin:40rpx auto;\n}\n.arrorR{\n width: 14rpx;\n height: 24rpx;\n margin-left: 10rpx;\n}\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 // 1635513432567\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":""} |