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
16 KiB
1 lines
16 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/salesman/apply.vue?45dc","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/salesman/apply.vue?bd3d","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/salesman/apply.vue?7005","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/salesman/apply.vue?a445","uni-app:///user/pages/salesman/apply.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","components","data","isLoad","options","tipArr","text","color","buttonArr","type","title","image","salesman_status","form","id","admin_id","user_name","phone","rule","name","checkType","errorMsg","regType","lockTap","computed","primaryColor","subColor","userInfo","onLoad","uni","methods","initIndex","refresh","bg","status","sh_text","initRefresh","confirm","url","openType","validate","item","submit","param","msg","setTimeout"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,cAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;;;AAGpD;AAC6M;AAC7M,gBAAgB,iNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpBA;AAAA;AAAA;AAAA;AAAozB,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACkCx0B;AAIA;AAAA;AAAA,eACA;EACAC;EACAC;IACA;MACAC;MACAC;MACA;MACAC;QACA;UACAC;UACAC;QACA;UACAD;UACAC;QACA;QACA;UACAD;UACAC;QACA;UACAD;UACAC;QACA;QACA;UACAD;UACAC;QACA;QACA;UACAD;UACAC;QACA;MACA;MACAC;QACA;UACAF;UACAG;QACA;QACA;UACAH;UACAG;QACA;QACA;UACAH;UACAG;QACA;QACA;UACAH;UACAG;QACA;UACAH;UACAG;QACA;MACA;MACAC;QACA;QACA;QACA;QACA;QACA;MACA;MACAC;QACA;QACA;QACA;QACA;MACA;MACAC;MACAC;QACAC;QACAC;QACAC;QAAA;QACAC;MACA;;MACAC;QACAC;QACAC;QACAC;QACAC;MACA,GACA;QACAH;QACAC;QACAC;MACA,EACA;MACAE;IACA;EACA;EACAC;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;EACA;EACAC;IAAA;IAAA;MAAA;MAAA;QAAA;UAAA;YAAA;cACA;cAAA,WAGAxB,sCADAW;cAAA,KAEAA;gBAAA;gBAAA;cAAA;cAAA;cAAA;YAAA;cAAA;cAAA;cAAA;YAAA;cAAA;YAAA;cAAAX;cACA;cAAA;cAAA,OACA;YAAA;cAEAM,QAEA,MAFAA,OACAE,kBACA,MADAA;cAEAiB;gBACAnB;cACA;cACA;YAAA;YAAA;cAAA;UAAA;QAAA;MAAA;IAAA;EACA;EACAoB,uDACA,iFACA;IACAC;MAAA;QAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAAC;gBAAA;gBAAA,OASA;cAAA;gBAAA9B;gBACA;kBACA+B;gBACA;gBACA;kBAAA,wBAGA,eADAlB;kBAEA;oBACAb;kBACA;kBACA;oBACA;kBACA;kBAEAgC,SAEAhC,KAFAgC,QACAC,UACAjC,KADAiC;kBAEA;kBACA;oBACA;kBACA;gBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAC;MACA;IACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAEAzB,kBACA,OADAA;gBAAA,MAEAA;kBAAA;kBAAA;gBAAA;gBACA;gBACAiB;kBACAnB;gBACA;gBAAA;cAAA;gBAGA4B;gBACA;gBACA;kBACAA;kBACAC;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA;IACAC;MACA;MACA;QACA,IACArB,OACAsB,KADAtB;QAEAqB;MACA;MACA;MACA;IACA;IACAE;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACAC;gBACAC;gBAAA,KACAA;kBAAA;kBAAA;gBAAA;gBACA;kBACAlC;gBACA;gBAAA;cAAA;gBAIAK,WACA,eADAA;gBAEA;kBACA4B;gBACA;gBAAA,KACA;kBAAA;kBAAA;gBAAA;gBAAA;cAAA;gBACA;gBACA;gBAAA;gBAAA;gBAAA,OAEA;cAAA;gBACA;gBACA;kBACAjC;gBACA;gBACAmC;kBACA;kBACA;oBACAP;oBACAC;kBACA;gBACA;gBAAA;gBAAA;cAAA;gBAAA;gBAAA;gBAEAM;kBACA;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAGA;EAAA;AAEA;AAAA,2B","file":"user/pages/salesman/apply.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './user/pages/salesman/apply.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./apply.vue?vue&type=template&id=bee1be84&\"\nvar renderjs\nimport script from \"./apply.vue?vue&type=script&lang=js&\"\nexport * from \"./apply.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Downloads/HBuilderX.3.99.2023122611/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 = \"user/pages/salesman/apply.vue\"\nexport default component.exports","export * from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./apply.vue?vue&type=template&id=bee1be84&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.isLoad\n ? (_vm.options.admin_id && _vm.salesman_status != -1) ||\n (!_vm.options.admin_id && [1, 2, 3].includes(_vm.salesman_status))\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./apply.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./apply.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"apply-pages\" v-if=\"isLoad\">\r\n\t\t<view class=\"page-height\"\r\n\t\t\tv-if=\"(options.admin_id && salesman_status != -1) || (!options.admin_id && [1,2,3].includes(salesman_status))\">\r\n\t\t\t<abnor percent=\"150%\" @confirm=\"confirm\" @cancel=\"confirm\" :title=\"title[salesman_status]\"\r\n\t\t\t\t:tip=\"tipArr[salesman_status]\" :button=\"buttonArr[salesman_status]\" :image=\"image[salesman_status]\"\r\n\t\t\t\t:tipMax=\"salesman_status == 4? '690rpx':''\"></abnor>\r\n\t\t</view>\r\n\t\t<block v-else>\r\n\t\t\t<view class=\"apply-form\">\r\n\t\t\t\t<view class=\"fill-base mt-md radius-16\">\r\n\t\t\t\t\t<view class=\"flex-between pl-lg pr-lg b-1px-b\">\r\n\t\t\t\t\t\t<view class=\"item-text\">您的姓名</view>\r\n\t\t\t\t\t\t<input v-model=\"form.user_name\" type=\"text\" class=\"item-input flex-1\" maxlength=\"20\"\r\n\t\t\t\t\t\t\t:placeholder=\"rule[0].errorMsg\" />\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flex-between pl-lg pr-lg b-1px-b\">\r\n\t\t\t\t\t\t<view class=\"item-text\">手机号码</view>\r\n\t\t\t\t\t\t<input v-model=\"form.phone\" type=\"text\" class=\"item-input flex-1\"\r\n\t\t\t\t\t\t\t:placeholder=\"rule[1].errorMsg\" />\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"space-max-footer\"></view>\r\n\r\n\t\t\t<fix-bottom-button @confirm=\"submit\" :text=\"[{text:'确定申请',type:'confirm',isAuth:true}]\" bgColor=\"#fff\">\r\n\t\t\t</fix-bottom-button>\r\n\t\t</block>\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapActions,\r\n\t\tmapMutations\r\n\t} from \"vuex\"\r\n\texport default {\r\n\t\tcomponents: {},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tisLoad: false,\r\n\t\t\t\toptions: {},\r\n\t\t\t\t// -1未申请,1审核中,2审核通过,3取消授权,4审核失败(可再次申请)\r\n\t\t\t\ttipArr: {\r\n\t\t\t\t\t'1': [{\r\n\t\t\t\t\t\ttext: '您已经成功提交申请',\r\n\t\t\t\t\t\tcolor: 0\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '审核将在3个工作日内出结果,请耐心等待',\r\n\t\t\t\t\t\tcolor: 0\r\n\t\t\t\t\t}],\r\n\t\t\t\t\t'2': [{\r\n\t\t\t\t\t\ttext: '恭喜您,审核通过!',\r\n\t\t\t\t\t\tcolor: 0\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '您已具备业务员资格,快去分享体验吧~',\r\n\t\t\t\t\t\tcolor: 0\r\n\t\t\t\t\t}],\r\n\t\t\t\t\t'3': [{\r\n\t\t\t\t\t\ttext: '请联系平台管理人员询问原因',\r\n\t\t\t\t\t\tcolor: 0\r\n\t\t\t\t\t}],\r\n\t\t\t\t\t'4': [{\r\n\t\t\t\t\t\ttext: '请联系平台管理人员询问失败原因',\r\n\t\t\t\t\t\tcolor: 0\r\n\t\t\t\t\t}]\r\n\t\t\t\t},\r\n\t\t\t\tbuttonArr: {\r\n\t\t\t\t\t'1': [{\r\n\t\t\t\t\t\ttext: '个人中心',\r\n\t\t\t\t\t\ttype: 'cancel'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\t'2': [{\r\n\t\t\t\t\t\ttext: '去分享',\r\n\t\t\t\t\t\ttype: 'confirm'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\t'3': [{\r\n\t\t\t\t\t\ttext: '个人中心',\r\n\t\t\t\t\t\ttype: 'cancel'\r\n\t\t\t\t\t}],\r\n\t\t\t\t\t'4': [{\r\n\t\t\t\t\t\ttext: '再次申请',\r\n\t\t\t\t\t\ttype: 'confirm'\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\ttext: '个人中心',\r\n\t\t\t\t\t\ttype: 'cancel'\r\n\t\t\t\t\t}]\r\n\t\t\t\t},\r\n\t\t\t\ttitle: {\r\n\t\t\t\t\t'-1': '申请业务员',\r\n\t\t\t\t\t'1': '等待审核',\r\n\t\t\t\t\t'2': '',\r\n\t\t\t\t\t'3': '取消授权',\r\n\t\t\t\t\t'4': '申请失败',\r\n\t\t\t\t},\r\n\t\t\t\timage: {\r\n\t\t\t\t\t'1': 'https://lbqny.migugu.com/admin/public/apply_wait.jpg',\r\n\t\t\t\t\t'2': 'https://lbqny.migugu.com/admin/public/apply_suc.jpg',\r\n\t\t\t\t\t'3': 'https://lbqny.migugu.com/admin/public/apply_fail.jpg',\r\n\t\t\t\t\t'4': 'https://lbqny.migugu.com/admin/public/apply_fail.jpg',\r\n\t\t\t\t},\r\n\t\t\t\tsalesman_status: -1,\r\n\t\t\t\tform: {\r\n\t\t\t\t\tid: 0,\r\n\t\t\t\t\tadmin_id: 0,\r\n\t\t\t\t\tuser_name: '', //姓名 \r\n\t\t\t\t\tphone: '', //手机号\r\n\t\t\t\t},\r\n\t\t\t\trule: [{\r\n\t\t\t\t\t\tname: \"user_name\",\r\n\t\t\t\t\t\tcheckType: \"isNotNull\",\r\n\t\t\t\t\t\terrorMsg: \"请输入您的真实姓名\",\r\n\t\t\t\t\t\tregType: 2\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tname: \"phone\",\r\n\t\t\t\t\t\tcheckType: \"isMobile\",\r\n\t\t\t\t\t\terrorMsg: \"请输入常用手机号码\"\r\n\t\t\t\t\t}\r\n\t\t\t\t],\r\n\t\t\t\tlockTap: false\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: mapState({\r\n\t\t\tprimaryColor: state => state.config.configInfo.primaryColor,\r\n\t\t\tsubColor: state => state.config.configInfo.subColor,\r\n\t\t\tuserInfo: state => state.user.userInfo,\r\n\t\t}),\r\n\t\tasync onLoad(options) {\r\n\t\t\tthis.$util.showLoading()\r\n\t\t\tlet {\r\n\t\t\t\tadmin_id = 0\r\n\t\t\t} = options\r\n\t\t\toptions = admin_id ? await this.updateCommonOptions(options) : options\r\n\t\t\tthis.options = options\r\n\t\t\tawait this.initIndex()\r\n\t\t\tlet {\r\n\t\t\t\ttitle,\r\n\t\t\t\tsalesman_status\r\n\t\t\t} = this\r\n\t\t\tuni.setNavigationBarTitle({\r\n\t\t\t\ttitle: title[salesman_status]\r\n\t\t\t})\r\n\t\t\tthis.isLoad = true\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t...mapActions(['getConfigInfo', 'getUserInfo', 'updateCommonOptions']),\r\n\t\t\t...mapMutations(['updateUserItem']),\r\n\t\t\tasync initIndex(refresh = false) {\r\n\t\t\t\t// #ifdef H5\r\n\t\t\t\tif (!refresh && this.$jweixin.isWechat()) {\r\n\t\t\t\t\tawait this.$jweixin.initJssdk();\r\n\t\t\t\t\tthis.$jweixin.wxReady(() => {\r\n\t\t\t\t\t\tthis.$jweixin.hideOptionMenu()\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\t// #endif\r\n\t\t\t\tlet data = await this.$api.salesman.salesmanInfo()\r\n\t\t\t\tthis.$util.setNavigationBarColor({\r\n\t\t\t\t\tbg: this.primaryColor\r\n\t\t\t\t})\r\n\t\t\t\tif (data.id) {\r\n\t\t\t\t\tlet {\r\n\t\t\t\t\t\tadmin_id = 0\r\n\t\t\t\t\t} = this.options\r\n\t\t\t\t\tif (admin_id) {\r\n\t\t\t\t\t\tdata.admin_id = admin_id\r\n\t\t\t\t\t}\r\n\t\t\t\t\tfor (let key in this.form) {\r\n\t\t\t\t\t\tthis.form[key] = data[key]\r\n\t\t\t\t\t}\r\n\t\t\t\t\tlet {\r\n\t\t\t\t\t\tstatus,\r\n\t\t\t\t\t\tsh_text\r\n\t\t\t\t\t} = data\r\n\t\t\t\t\tthis.salesman_status = !admin_id && status == 4 ? -1 : status\r\n\t\t\t\t\tif (status == 4 && sh_text) {\r\n\t\t\t\t\t\tthis.tipArr[4][0].text = sh_text\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tthis.$util.hideAll()\r\n\t\t\t},\r\n\t\t\tinitRefresh() {\r\n\t\t\t\tthis.initIndex(true)\r\n\t\t\t},\r\n\t\t\t// 个人中心/去分享\r\n\t\t\tasync confirm() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tsalesman_status\r\n\t\t\t\t} = this\r\n\t\t\t\tif (salesman_status == 4) {\r\n\t\t\t\t\tthis.salesman_status = -1\r\n\t\t\t\t\tuni.setNavigationBarTitle({\r\n\t\t\t\t\t\ttitle: '申请业务员'\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\tlet url = salesman_status == 2 ? `/user/pages/salesman/income` : `/pages/mine`\r\n\t\t\t\tthis.$util.log(url)\r\n\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\turl,\r\n\t\t\t\t\topenType: `reLaunch`\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t//表单验证\r\n\t\t\tvalidate(param) {\r\n\t\t\t\tlet validate = new this.$util.Validate();\r\n\t\t\t\tthis.rule.map(item => {\r\n\t\t\t\t\tlet {\r\n\t\t\t\t\t\tname,\r\n\t\t\t\t\t} = item\r\n\t\t\t\t\tvalidate.add(param[name], item);\r\n\t\t\t\t})\r\n\t\t\t\tlet message = validate.start();\r\n\t\t\t\treturn message;\r\n\t\t\t},\r\n\t\t\tasync submit() {\r\n\t\t\t\tlet param = this.$util.deepCopy(this.form)\r\n\t\t\t\tlet msg = this.validate(param);\r\n\t\t\t\tif (msg) {\r\n\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\ttitle: msg\r\n\t\t\t\t\t});\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tlet {\r\n\t\t\t\t\tadmin_id\r\n\t\t\t\t} = this.options\r\n\t\t\t\tif (admin_id) {\r\n\t\t\t\t\tparam.admin_id = admin_id\r\n\t\t\t\t}\r\n\t\t\t\tif (this.lockTap) return\r\n\t\t\t\tthis.lockTap = true\r\n\t\t\t\tthis.$util.showLoading()\r\n\t\t\t\ttry {\r\n\t\t\t\t\tawait this.$api.salesman.applySalesman(param)\r\n\t\t\t\t\tthis.$util.hideAll()\r\n\t\t\t\t\tthis.$util.showToast({\r\n\t\t\t\t\t\ttitle: `提交成功`\r\n\t\t\t\t\t});\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tthis.$util.back()\r\n\t\t\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\t\t\turl: '/user/pages/apply-result?type=4',\r\n\t\t\t\t\t\t\topenType: `redirectTo`\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}, 1000)\r\n\t\t\t\t} catch (e) {\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tthis.lockTap = false\r\n\t\t\t\t\t\tthis.$util.hideAll()\r\n\t\t\t\t\t}, 2000)\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n\r\n<style lang=\"scss\">\r\n</style>"],"sourceRoot":""} |