school-search.js.map 14.6 KB
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/my/school-search/school-search.vue?a9ee","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/my/school-search/school-search.vue?7caf","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/my/school-search/school-search.vue?0702","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/my/school-search/school-search.vue?7ede","uni-app:///pages/student/my/school-search/school-search.vue","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/my/school-search/school-search.vue?b4cd","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/my/school-search/school-search.vue?76b9"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,+H;AACAA,UAAU,CAACC,qBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsI;AACtI;AACiE;AACL;AACsC;;;AAGlG;AACyN;AACzN,gBAAgB,iNAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,oGAAM;AACR,EAAE,6GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wGAAU;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,aAAa,oNAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAw3B,CAAgB,2yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoB54B,gD;;;;;AAKA;AACA,MADA,kBACA;AACA;AACA,gBADA;AAEA,cAFA;;AAIA,GANA;;AAQA;AACA,iEADA,CARA;;;AAYA,QAZA,kBAYA,CAZA,EAYA;AACA;AACA;AACA;AACA,GAhBA;;AAkBA;;AAEA,gBAFA,wBAEA,KAFA,EAEA;AACA;AACA,KAJA;;AAMA,WANA,qBAMA;AACA;AACA;AACA,6BADA;;AAGA;AACA;AACA;AACA,KAdA;;AAgBA,aAhBA,uBAgBA;AACA;AACA,KAlBA;;AAoBA,eApBA,uBAoBA,KApBA,EAoBA;;AAEA,4BAFA,GAEA,EAFA;;AAIA,6DAJA;AAKA;AACA,oCADA;AAEA,4CAFA;AAGA,kCAHA;AAIA,oCAJA;AAKA,qCALA;AAMA,iCANA;AAOA,0BAPA;AAQA,4BARA,IALA;;AAeA,uEAfA;AAgBA,yEAhBA;AAiBA,kEAjBA;;AAmBA;AACA,oCADA;AAEA,4CAFA,IAnBA;;;;AAyBA,kFAzBA;;;AA4BA;AACA,kEADA;AAEA,sCAFA;AAGA;AACA,sCADA,EAHA,GA5BA;;;;AAoCA,KAxDA,EAlBA,E;;;;;;;;;;;;ACzBA;AAAA;AAAA;AAAA;AAA6mD,CAAgB,65CAAG,EAAC,C;;;;;;;;;;;ACAjoD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/student/my/school-search/school-search.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/student/my/school-search/school-search.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./school-search.vue?vue&type=template&id=688a2246&scoped=true&\"\nvar renderjs\nimport script from \"./school-search.vue?vue&type=script&lang=js&\"\nexport * from \"./school-search.vue?vue&type=script&lang=js&\"\nimport style0 from \"./school-search.vue?vue&type=style&index=0&id=688a2246&lang=scss&scoped=true&\"\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  \"688a2246\",\n  null,\n  false,\n  components,\n  renderjs\n)\n\ncomponent.options.__file = \"pages/student/my/school-search/school-search.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!./school-search.vue?vue&type=template&id=688a2246&scoped=true&\"","var components\ntry {\n  components = {\n    uSearch: function() {\n      return import(\n        /* webpackChunkName: \"uview-ui/components/u-search/u-search\" */ \"@/uview-ui/components/u-search/u-search.vue\"\n      )\n    }\n  }\n} catch (e) {\n  if (\n    e.message.indexOf(\"Cannot find module\") !== -1 &&\n    e.message.indexOf(\".vue\") !== -1\n  ) {\n    console.error(e.message)\n    console.error(\"1. 排查组件名称拼写是否正确\")\n    console.error(\n      \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n    )\n    console.error(\n      \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n    )\n  } else {\n    throw e\n  }\n}\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!./school-search.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!./school-search.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"internship\">\r\n\t\t<view class=\"box\">\r\n\t\t\t<view class=\"search\">\r\n\t\t\t\t<u-search v-model=\"school\" placeholder=\"搜索学校名称\" @change=\"handelChange\" @search=\"getList\"\r\n\t\t\t\t\t@clear=\"clearList\" placeholder-color=\"rgba(0,0,0,0.65)\" input-align=\"left\" :clearabled=\"true\"\r\n\t\t\t\t\t:show-action=\"true\"></u-search>\r\n\t\t\t</view>\r\n\r\n\r\n\t\t\t<view class=\"list\" v-if=\"schoolList.length > 0\">\r\n\t\t\t\t<view class=\"items\" v-for=\"item in schoolList\" :key=\"item.id\" @click=\"handelClick(item)\">\r\n\t\t\t\t\t{{item.fullName}}\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\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} from 'vuex'\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tschool: '',\n\t\t\t\ttype: ''\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tcomputed: {\r\n\t\t\t...mapState('internship', ['schoolList', 'schoolForm']),\r\n\t\t},\n\t\t\n\t\tonLoad(e) {\n\t\t\tif (e && e.type) {\n\t\t\t\tthis.type = e.type\n\t\t\t}\n\t\t},\r\n\r\n\t\tmethods: {\r\n\r\n\t\t\thandelChange(value) {\r\n\t\t\t\tthis.getList()\r\n\t\t\t},\r\n\r\n\t\t\tgetList() {\r\n\t\t\t\tif (this.school) {\r\n\t\t\t\t\tthis.$store.dispatch(`internship/getSchoolList`, {\r\n\t\t\t\t\t\tschool: this.school\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\tthis.$store.commit(`internship/clearSchoolList`);\r\n\t\t\t},\r\n\r\n\t\t\tclearList() {\r\n\t\t\t\tthis.$store.commit(`internship/clearSchoolList`);\r\n\t\t\t},\r\n\r\n\t\t\tasync handelClick(value) {\n\t\t\t\t\r\n\t\t\t\tlet newSchoolObj = {};\r\n\r\n\t\t\t\tif (this.schoolForm && this.schoolForm.schoolId) {\r\n\t\t\t\t\tnewSchoolObj = Object.assign({}, this.schoolForm, {\r\n\t\t\t\t\t\tschoolId: value.id,\r\n\t\t\t\t\t\tschoolName: value.fullName,\r\n\t\t\t\t\t\tdepartmentId: '',\r\n\t\t\t\t\t\tprofessionalId: '',\r\n\t\t\t\t\t\tstartSchoolYear: '',\r\n\t\t\t\t\t\tclassInfoId: '',\n\t\t\t\t\t\tname: '',\n\t\t\t\t\t\tnumber: '',\r\n\t\t\t\t\t});\n\t\t\t\t\tawait this.$store.commit(`internship/clearDepartmentList`);\n\t\t\t\t\tawait this.$store.commit(`internship/clearProfessionalList`);\n\t\t\t\t\tawait this.$store.commit(`internship/clearClassList`);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tnewSchoolObj = Object.assign({}, this.schoolForm,{\r\n\t\t\t\t\t\tschoolId: value.id,\r\n\t\t\t\t\t\tschoolName: value.fullName,\r\n\t\t\t\t\t});\r\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tawait this.$store.commit(`internship/updateSchoolForm`, newSchoolObj);\n\t\t\t\t// await this.$u.route('/pages/common/student-done/student-done');\r\n\r\n\t\t\t\tawait this.$u.route({\n\t\t\t\t\turl: '/pages/common/student-done/student-done',\n\t\t\t\t\ttype: 'redirectTo',\n\t\t\t\t\tparams: {\n\t\t\t\t\t\ttype: this.type\n\t\t\t\t\t}\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<style lang=\"scss\" scoped>\r\n\t.list /deep/ .u-cell {\r\n\t\tpadding: 8rpx 32rpx;\r\n\r\n\t\t.u-flex {\r\n\t\t\tposition: relative;\r\n\t\t\ttop: -2rpx;\r\n\t\t}\r\n\r\n\t\t.u-cell_title {\r\n\t\t\tmargin: 0 16rpx;\r\n\t\t\tcolor: rgba(0, 0, 0, 0.65);\r\n\t\t}\r\n\t}\r\n\r\n\t.internship {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tbackground-color: #F7F7F7;\r\n\r\n\t\t.box {\r\n\t\t\t.search {\r\n\t\t\t\tpadding: 16rpx 0;\r\n\t\t\t\tmargin: 0 auto;\r\n\t\t\t\twidth: 686rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.list {\r\n\t\t\t\twidth: 686rpx;\r\n\t\t\t\tmargin: 0 auto;\r\n\t\t\t\tpadding: 16rpx 0;\r\n\t\t\t\tborder-radius: 8rpx;\r\n\t\t\t\tbackground-color: #FFFFFF;\r\n\r\n\t\t\t\t.items {\r\n\t\t\t\t\theight: 60rpx;\r\n\t\t\t\t\tline-height: 60rpx;\r\n\t\t\t\t\tpadding: 0 0 0 24rpx;\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-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--8-oneOf-1-2!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../../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!./school-search.vue?vue&type=style&index=0&id=688a2246&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-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--8-oneOf-1-2!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../../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!./school-search.vue?vue&type=style&index=0&id=688a2246&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n    if(module.hot) {\n      // 1700461805896\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":""}