joinMedia.js.map 15 KB

1
  1. {"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/user/joinMedia.vue?4d6d","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/user/joinMedia.vue?4e86","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/user/joinMedia.vue?28d2","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/user/joinMedia.vue?1486","uni-app:///pages/user/joinMedia.vue","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/user/joinMedia.vue?caa0","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/user/joinMedia.vue?a8b5"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,oG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,kBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsH;AACtH;AAC6D;AACL;AACc;;;AAGtE;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,oFAAM;AACR,EAAE,6FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wFAAU;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,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AAAA;AAAA;AAAA;AAAmmB,CAAgB,6nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuDvnB,yD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAIA,EACA,IADA,kBACA,CACA,SACA,MADA,EAEA,QAFA,EAEA;AACA,eAHA,EAGA;AACA,cAJA,EAIA;AACA,oBALA,EAKA;AACA,kBANA,EAMA;AACA,eAPA,EAOA;AACA,8DARA,EASA,MATA,EAUA,SAVA,EAWA,MAXA,GAaA,CAfA,EAgBA,MAhBA,kBAgBA,MAhBA,EAgBA,kBACA,oBACA,2CAEA,KADA,IACA,QADA,IACA,CACA,sBACA,2BACA,+BACA,CAFA,EAGA,4BACA,CARA,EASA,CA3BA,EA4BA,WACA,MADA,oBACA,CACA,sBACA,8BACA,CACA,sBACA,8BACA,CACA,uBACA,gCACA,CACA,uEACA,oBACA,8BACA,CACA,uBACA,8BACA,CACA,oBACA,8BACA,CACA,CACA,wBACA,cADA,EAEA,wBAFA,EAGA,2BAHA,EAIA,sBAJA,EAKA,YALA,EAMA,oBANA;AAOA,sBAPA;AAQA,UARA,CAQA;AACA;AACA,kBADA,CACA;AADA;AAGA,OAZA;AAaA,KAnCA;AAoCA;AACA,kBArCA,0BAqCA,CArCA,EAqCA;AACA;AACA;AACA;AACA,KAzCA;AA0CA;AACA,UA3CA,kBA2CA,CA3CA,EA2CA;AACA;AACA,KA7CA;AA8CA,aA9CA,qBA8CA,CA9CA,EA8CA;AACA;AACA,KAhDA,EA5BA,E;;;;;;;;;;;;;AC3DA;AAAA;AAAA;AAAA;AAA8oC,CAAgB,onCAAG,EAAC,C;;;;;;;;;;;ACAlqC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/user/joinMedia.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/user/joinMedia.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./joinMedia.vue?vue&type=template&id=55ed7d62&\"\nvar renderjs\nimport script from \"./joinMedia.vue?vue&type=script&lang=js&\"\nexport * from \"./joinMedia.vue?vue&type=script&lang=js&\"\nimport style0 from \"./joinMedia.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\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/user/joinMedia.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./joinMedia.vue?vue&type=template&id=55ed7d62&\"","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.post.indexOf(\"董事长\") != -1 || _vm.post.indexOf(\"总经理\") != -1\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 \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./joinMedia.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./joinMedia.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"table\">\r\n\t\t<view class=\"content\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t姓名\r\n\t\t\t</view>\r\n\t\t\t<input type=\"text\" value=\"\" placeholder=\"请输入姓名\" v-model=\"name\" />\r\n\t\t</view>\r\n\t\t<view class=\"content\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t联系电话\r\n\t\t\t</view>\r\n\t\t\t<input type=\"number\" value=\"\" placeholder=\"请输入联系电话\" v-model=\"phone\" />\r\n\t\t</view>\r\n\t\t<view class=\"content\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t职务\r\n\t\t\t</view>\r\n\t\t\t<picker class=\"input\" :range=\"choosePost\" @change=\"bindPickerType\">\r\n\t\t\t\t<view class=\"box-right\" :class=\"{ 'hui' : post == '' }\">{{ post || '请选择职务' }}</view>\r\n\t\t\t</picker>\r\n\t\t\t<!-- <input type=\"text\" value=\"\" focus placeholder=\"请选择所属行业\" v-model=\"hangye\"/> -->\r\n\t\t</view>\r\n\t\t<template v-if=\" (post.indexOf('董事长') != -1)|| (post.indexOf('总经理') != -1)\">\r\n\t\t\t<view class=\"content\">\r\n\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t学历\r\n\t\t\t\t</view>\r\n\t\t\t\t<picker class=\"input\" :range=\"xlList\" @change=\"bindXl\">\r\n\t\t\t\t\t<view class=\"box-right\" :class=\"{ 'hui' : xl == '' }\">{{ xl|| '请选择学历' }}</view>\r\n\t\t\t\t</picker>\r\n\t\t\t\t<!-- <input type=\"text\" value=\"\" focus placeholder=\"请选择所属行业\" v-model=\"hangye\"/> -->\r\n\t\t\t</view>\r\n\t\t\t<view class=\"content\">\r\n\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t生日\r\n\t\t\t\t</view>\r\n\t\t\t\t<picker class=\"input\" mode=\"date\" @change=\"bindBrith\">\r\n\t\t\t\t\t<view class=\"box-right\" :class=\"{ 'hui' : brith == '' }\">{{ brith|| '请选择生日' }}</view>\r\n\t\t\t\t</picker>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"content\">\r\n\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t职称\r\n\t\t\t\t</view>\r\n\t\t\t\t<input type=\"text\" value=\"\" placeholder=\"请输入职称(如高级工程师)\" v-model=\"zc\" />\r\n\t\t\t</view>\r\n\t\t</template>\r\n\t\t<view class=\"button\" @click=\"commit()\">\r\n\t\t\t提交\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tpostlist,\r\n\t\tjoinSubmit\r\n\t} from '@/api/user.js'\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tid: '',\r\n\t\t\t\tname: '', //姓名\r\n\t\t\t\tphone: '', //电话\r\n\t\t\t\tpost: '', //职务\r\n\t\t\t\tchoosePost: [], //职务列表名字\r\n\t\t\t\tpostList: [], //职务列表详情\r\n\t\t\t\tindex: '', //职务id\r\n\t\t\t\txlList: ['博士','硕士','本科','专科','大专','高中','小学','其他'],\r\n\t\t\t\txl:'',\r\n\t\t\t\tbrith: '',\r\n\t\t\t\tzc: ''\r\n\t\t\t};\r\n\t\t},\r\n\t\tonLoad(option) {\r\n\t\t\tthis.id = option.id;\r\n\t\t\tpostlist().then(({\r\n\t\t\t\tdata\r\n\t\t\t}) => {\r\n\t\t\t\tthis.postList = data\r\n\t\t\t\tdata.forEach(e => {\r\n\t\t\t\t\tthis.choosePost.push(e.title)\r\n\t\t\t\t})\r\n\t\t\t\tconsole.log(data, \"123456\");\r\n\t\t\t})\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tcommit() {\r\n\t\t\t\tif (this.name == '') {\r\n\t\t\t\t\treturn this.$api.msg('请输入姓名')\r\n\t\t\t\t}\r\n\t\t\t\tif (this.post == '') {\r\n\t\t\t\t\treturn this.$api.msg('请选择职务')\r\n\t\t\t\t}\r\n\t\t\t\tif (this.phone == '') {\r\n\t\t\t\t\treturn this.$api.msg('请输入联系电话')\r\n\t\t\t\t}\r\n\t\t\t\tif((this.post.indexOf('董事长') != -1) || (this.post.indexOf('总经理') != -1)) {\r\n\t\t\t\t\tif(this.xl == '' ) {\r\n\t\t\t\t\t\treturn this.$api.msg('请选择学历')\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(this.brith == '') {\r\n\t\t\t\t\t\treturn this.$api.msg('请选择生日')\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(this.zc == '') {\r\n\t\t\t\t\t\treturn this.$api.msg('请输入职称')\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tjoinSubmit({\r\n\t\t\t\t\tmerId: this.id,\r\n\t\t\t\t\tapplyUserName: this.name,\r\n\t\t\t\t\tapplyUserMobile: this.phone,\r\n\t\t\t\t\tapplyJobId: this.index,\r\n\t\t\t\t\tedu: this.xl,\r\n\t\t\t\t\tbirthday:this.brith,\r\n\t\t\t\t\ttitle: this.zc\r\n\t\t\t\t}).then(e => {\r\n\t\t\t\t\tuni.navigateBack({\r\n\t\t\t\t\t\tdelta: 1, //返回层数,2则上上页\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t//请选择职务\r\n\t\t\tbindPickerType(e) {\r\n\t\t\t\tthis.post = this.choosePost[e.target.value];\r\n\t\t\t\tthis.index = this.postList[e.target.value].id;\r\n\t\t\t\tconsole.log(this.index);\r\n\t\t\t},\r\n\t\t\t//\r\n\t\t\tbindXl(e) {\r\n\t\t\t\tthis.xl = this.xlList[e.target.value];\r\n\t\t\t},\r\n\t\t\tbindBrith(e) {\r\n\t\t\t\tthis.brith = e.detail.value\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.table {\r\n\t\twidth: 750rpx;\r\n\t\tbackground: #FFFFFF;\r\n\t\t// margin: 30rpx auto;\r\n\t}\r\n\r\n\t.table-title {\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\r\n\t\t.gg {\r\n\t\t\tmargin-left: 30rpx;\r\n\t\t\twidth: 3rpx;\r\n\t\t\theight: 30rpx;\r\n\t\t\tbackground: #FF6061;\r\n\t\t\tborder-radius: 2px;\r\n\t\t}\r\n\r\n\t\t.title {\r\n\t\t\tmargin-left: 15rpx;\r\n\t\t\tfont-size: 30rpx;\r\n\t\t\tfont-weight: bold;\r\n\t\t\tcolor: #333333;\r\n\t\t\tline-height: 80rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.content {\r\n\r\n\t\tborder-top: 2rpx solid #F3F3F3;\r\n\t\tdisplay: flex;\r\n\r\n\t\talign-items: center;\r\n\t\tline-height: 80rpx;\r\n\r\n\t\t.left {\r\n\t\t\twidth: 120rpx;\r\n\t\t\tmargin: 0 30rpx;\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tfont-weight: bold;\r\n\t\t\tcolor: #333333;\r\n\r\n\t\t}\r\n\r\n\t\tinput {\r\n\t\t\tmargin: 0;\r\n\t\t}\r\n\r\n\t\t.input {\r\n\t\t\tmargin: 0;\r\n\t\t}\r\n\t}\r\n\r\n\t.button {\r\n\t\tmargin: 100rpx auto;\r\n\t\twidth: 650rpx;\r\n\t\theight: 80rpx;\r\n\t\tbackground: #FE5341;\r\n\t\tborder-radius: 38rpx;\r\n\t\tfont-size: 30rpx;\r\n\t\tfont-weight: 500;\r\n\t\tcolor: #FFFFFF;\r\n\t\tline-height: 80rpx;\r\n\t\ttext-align: center;\r\n\t}\r\n\r\n\t.hui {\r\n\t\tcolor: #999999 !important;\r\n\t}\r\n</style>\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./joinMedia.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./joinMedia.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1660177693065\n var cssReload = require(\"D:/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":""}