|
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/jobListSearch/index"],{
|
|
|
|
|
|
/***/ 70:
|
|
|
/*!******************************************************************************************************************************!*\
|
|
|
!*** /Users/zhangshaokang/Desktop/git/yicaijob_view/dandelionPlatform2_uni/main.js?{"page":"pages%2FjobListSearch%2Findex"} ***!
|
|
|
\******************************************************************************************************************************/
|
|
|
/*! no static exports found */
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
/* WEBPACK VAR INJECTION */(function(wx, createPage) {
|
|
|
|
|
|
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
|
|
__webpack_require__(/*! uni-pages */ 26);
|
|
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
|
|
|
var _index = _interopRequireDefault(__webpack_require__(/*! ./pages/jobListSearch/index.vue */ 71));
|
|
|
// @ts-ignore
|
|
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
|
|
createPage(_index.default);
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["createPage"]))
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 71:
|
|
|
/*!***********************************************************************************************************!*\
|
|
|
!*** /Users/zhangshaokang/Desktop/git/yicaijob_view/dandelionPlatform2_uni/pages/jobListSearch/index.vue ***!
|
|
|
\***********************************************************************************************************/
|
|
|
/*! no static exports found */
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
/* harmony import */ var _index_vue_vue_type_template_id_1d4b7d46___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.vue?vue&type=template&id=1d4b7d46& */ 72);
|
|
|
/* harmony import */ var _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.vue?vue&type=script&lang=js& */ 74);
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
/* harmony import */ var _index_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.vue?vue&type=style&index=0&lang=css& */ 76);
|
|
|
/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 32);
|
|
|
|
|
|
var renderjs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* normalize component */
|
|
|
|
|
|
var component = Object(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|
|
_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
|
_index_vue_vue_type_template_id_1d4b7d46___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
|
_index_vue_vue_type_template_id_1d4b7d46___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
|
false,
|
|
|
null,
|
|
|
null,
|
|
|
null,
|
|
|
false,
|
|
|
_index_vue_vue_type_template_id_1d4b7d46___WEBPACK_IMPORTED_MODULE_0__["components"],
|
|
|
renderjs
|
|
|
)
|
|
|
|
|
|
component.options.__file = "pages/jobListSearch/index.vue"
|
|
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 72:
|
|
|
/*!******************************************************************************************************************************************!*\
|
|
|
!*** /Users/zhangshaokang/Desktop/git/yicaijob_view/dandelionPlatform2_uni/pages/jobListSearch/index.vue?vue&type=template&id=1d4b7d46& ***!
|
|
|
\******************************************************************************************************************************************/
|
|
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
/* harmony import */ var _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_17_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_1d4b7d46___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../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??ref--17-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??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=1d4b7d46& */ 73);
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _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_17_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_1d4b7d46___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _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_17_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_1d4b7d46___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _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_17_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_1d4b7d46___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
|
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _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_17_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_1d4b7d46___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 73:
|
|
|
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/zhangshaokang/Desktop/git/yicaijob_view/dandelionPlatform2_uni/pages/jobListSearch/index.vue?vue&type=template&id=1d4b7d46& ***!
|
|
|
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
|
|
|
var components
|
|
|
var render = function () {
|
|
|
var _vm = this
|
|
|
var _h = _vm.$createElement
|
|
|
var _c = _vm._self._c || _h
|
|
|
var g0 = _vm.isWannaShow && _vm.historyList.length > 0
|
|
|
var g1 =
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage
|
|
|
? _vm.selectBrandList.length
|
|
|
: null
|
|
|
var g2 =
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage
|
|
|
? _vm.whichOneShow == "brand" && _vm.selectBrandList.length <= 0
|
|
|
: null
|
|
|
var g3 =
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage
|
|
|
? _vm.whichOneShow != "brand" && _vm.selectBrandList.length <= 0
|
|
|
: null
|
|
|
var g4 =
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage
|
|
|
? _vm.selectBrandList.length
|
|
|
: null
|
|
|
var g5 =
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
g4 > 0
|
|
|
? _vm.selectBrandList.length
|
|
|
: null
|
|
|
var g6 =
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage
|
|
|
? _vm.selectJobList.length
|
|
|
: null
|
|
|
var g7 =
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage
|
|
|
? _vm.whichOneShow == "special" && _vm.selectJobList.length <= 0
|
|
|
: null
|
|
|
var g8 =
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage
|
|
|
? _vm.whichOneShow != "special" && _vm.selectJobList.length <= 0
|
|
|
: null
|
|
|
var g9 =
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage
|
|
|
? _vm.selectJobList.length
|
|
|
: null
|
|
|
var g10 =
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
g9 > 0
|
|
|
? _vm.selectJobList.length
|
|
|
: null
|
|
|
var g11 =
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage
|
|
|
? _vm.selectBrandList.length > 0 ||
|
|
|
_vm.selectJobList.length > 0 ||
|
|
|
_vm.activez != "all" ||
|
|
|
_vm.sexid != "-1"
|
|
|
: null
|
|
|
var g12 =
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
g11 &&
|
|
|
_vm.activez != "all"
|
|
|
? _vm.activez != "all" &&
|
|
|
(_vm.selectJobList.length > 0 ||
|
|
|
_vm.selectBrandList.length > 0 ||
|
|
|
_vm.sexid != "-1")
|
|
|
: null
|
|
|
var g13 =
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
g11 &&
|
|
|
_vm.sexid != "-1"
|
|
|
? _vm.sexid != "-1" &&
|
|
|
(_vm.selectJobList.length > 0 || _vm.selectBrandList.length > 0)
|
|
|
: null
|
|
|
var g14 =
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
g11
|
|
|
? _vm.selectBrandList.length
|
|
|
: null
|
|
|
var g15 =
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
g11 &&
|
|
|
g14 > 0
|
|
|
? _vm.selectBrandList.length > 0 && _vm.selectJobList.length > 0
|
|
|
: null
|
|
|
var g16 =
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
!_vm.isWannaShow &&
|
|
|
!_vm.isFilterPage &&
|
|
|
g11
|
|
|
? _vm.selectJobList.length
|
|
|
: null
|
|
|
var g17 =
|
|
|
!_vm.isWannaShow && _vm.toped == 1
|
|
|
? _vm.recordList != null && _vm.recordList.length > 0
|
|
|
: null
|
|
|
var g18 =
|
|
|
!_vm.isWannaShow && _vm.toped == 1 && g17
|
|
|
? _vm.selectBrandList.length > 0 ||
|
|
|
_vm.selectJobList.length > 0 ||
|
|
|
_vm.activez != "all" ||
|
|
|
_vm.sexid != "-1"
|
|
|
: null
|
|
|
var g19 =
|
|
|
!_vm.isWannaShow && _vm.toped == 1 && g17
|
|
|
? _vm.recordList != null && _vm.recordList.length > 0
|
|
|
: null
|
|
|
var l0 =
|
|
|
!_vm.isWannaShow && _vm.toped == 1 && g17
|
|
|
? _vm.__map(_vm.recordList, function (item, index) {
|
|
|
var $orig = _vm.__get_orig(item)
|
|
|
var g20 = item.jobSpecialLabelNameArray.length
|
|
|
return {
|
|
|
$orig: $orig,
|
|
|
g20: g20,
|
|
|
}
|
|
|
})
|
|
|
: null
|
|
|
var g21 =
|
|
|
!_vm.isWannaShow && _vm.toped == 1 && g17
|
|
|
? (_vm.recordList == null || _vm.recordList.length == 0) &&
|
|
|
_vm.storeJobListSearchForm.keys != null &&
|
|
|
_vm.storeJobListSearchForm.keys != ""
|
|
|
: null
|
|
|
var g22 =
|
|
|
!_vm.isWannaShow && _vm.toped == 1 && g17 && !g21 && _vm.isLogin
|
|
|
? !_vm.hasMoreData || _vm.recordList.length == 0
|
|
|
: null
|
|
|
var g23 =
|
|
|
!_vm.isWannaShow && _vm.toped == 1
|
|
|
? _vm.recordList == null ||
|
|
|
(_vm.recordList.length == 0 && _vm.pageShow && !_vm.isWannaShow)
|
|
|
: null
|
|
|
_vm.$mp.data = Object.assign(
|
|
|
{},
|
|
|
{
|
|
|
$root: {
|
|
|
g0: g0,
|
|
|
g1: g1,
|
|
|
g2: g2,
|
|
|
g3: g3,
|
|
|
g4: g4,
|
|
|
g5: g5,
|
|
|
g6: g6,
|
|
|
g7: g7,
|
|
|
g8: g8,
|
|
|
g9: g9,
|
|
|
g10: g10,
|
|
|
g11: g11,
|
|
|
g12: g12,
|
|
|
g13: g13,
|
|
|
g14: g14,
|
|
|
g15: g15,
|
|
|
g16: g16,
|
|
|
g17: g17,
|
|
|
g18: g18,
|
|
|
g19: g19,
|
|
|
l0: l0,
|
|
|
g21: g21,
|
|
|
g22: g22,
|
|
|
g23: g23,
|
|
|
},
|
|
|
}
|
|
|
)
|
|
|
}
|
|
|
var recyclableRender = false
|
|
|
var staticRenderFns = []
|
|
|
render._withStripped = true
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 74:
|
|
|
/*!************************************************************************************************************************************!*\
|
|
|
!*** /Users/zhangshaokang/Desktop/git/yicaijob_view/dandelionPlatform2_uni/pages/jobListSearch/index.vue?vue&type=script&lang=js& ***!
|
|
|
\************************************************************************************************************************************/
|
|
|
/*! no static exports found */
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
/* harmony import */ var _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_13_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___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-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??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& */ 75);
|
|
|
/* harmony import */ var _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_13_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___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_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_13_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___WEBPACK_IMPORTED_MODULE_0__);
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _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_13_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___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _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_13_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___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
/* harmony default export */ __webpack_exports__["default"] = (_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_13_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___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 75:
|
|
|
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/zhangshaokang/Desktop/git/yicaijob_view/dandelionPlatform2_uni/pages/jobListSearch/index.vue?vue&type=script&lang=js& ***!
|
|
|
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
|
/*! no static exports found */
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
/* WEBPACK VAR INJECTION */(function(uni) {
|
|
|
|
|
|
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports.default = void 0;
|
|
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
|
|
|
var _methods;
|
|
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
|
var bottomDrawer = function bottomDrawer() {
|
|
|
Promise.all(/*! require.ensure | components/bottom-drawer/index */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/bottom-drawer/index")]).then((function () {
|
|
|
return resolve(__webpack_require__(/*! ../../components/bottom-drawer/index */ 443));
|
|
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
|
|
};
|
|
|
var app = getApp();
|
|
|
var commonUtil = __webpack_require__(/*! ../../utils/commonUtil.js */ 51);
|
|
|
var _default = {
|
|
|
components: {
|
|
|
bottomDrawer: bottomDrawer
|
|
|
},
|
|
|
data: function data() {
|
|
|
return {
|
|
|
currentInfo: {},
|
|
|
recordShow: false,
|
|
|
toped: '1',
|
|
|
chaShowed: false,
|
|
|
isTrigger: false,
|
|
|
// background: ["../../assets/images/banner1.jpg", "../../assets/images/banner2.jpg", "../../assets/images/banner3.jpg", "../../assets/images/banner4.jpg"],
|
|
|
pullNum: 0,
|
|
|
//下拉次数
|
|
|
tabs: [],
|
|
|
activeTab: 0,
|
|
|
systemInfo: {},
|
|
|
getMenuButtonBoundingClientRect: {},
|
|
|
// 手机基础信息
|
|
|
tabs2: [],
|
|
|
loadMore: '',
|
|
|
loadContent: ['马不停蹄加载更多数据中...', '-- 已经到底了,加不了咯 --'],
|
|
|
statusBarHeight: uni.getStorageSync('statusBarHeight'),
|
|
|
// 状态栏高度
|
|
|
|
|
|
navigationBarHeight: uni.getStorageSync('navigationBarHeight'),
|
|
|
// 导航栏高度
|
|
|
|
|
|
menuButtonHeight: uni.getStorageSync('menuButtonHeight'),
|
|
|
// 胶囊按钮高度
|
|
|
|
|
|
menuButton: uni.getStorageSync('menuButtonInfo'),
|
|
|
// 胶囊信息
|
|
|
navigatorHeight: 60,
|
|
|
activeTab2: 0,
|
|
|
contentIndex: 0,
|
|
|
latestClass: 0,
|
|
|
zoneClass: 0,
|
|
|
recordList: [],
|
|
|
jobSpecialLabelNames: [],
|
|
|
wannaList: ['电子厂', '大龄工', '日结', '保底', '返费', '短期工', '新能源', '富士康', '暑假工', '焊工', '食品', '学生'],
|
|
|
storeJobListSearchForm: {
|
|
|
pageNum: 1,
|
|
|
pageSize: 20,
|
|
|
classify: 1,
|
|
|
sex: -1,
|
|
|
workTypeStr: '',
|
|
|
lat: '',
|
|
|
lng: '',
|
|
|
jobClassify: '',
|
|
|
sortTag: 0,
|
|
|
jobSpecialLabelIds: '',
|
|
|
cityName: '',
|
|
|
brandIds: '',
|
|
|
ujc: 0,
|
|
|
keys: ''
|
|
|
},
|
|
|
loading: true,
|
|
|
topJobList: [],
|
|
|
hasLocation: false,
|
|
|
chooseActive: false,
|
|
|
//筛选是否高亮
|
|
|
labelItems: [],
|
|
|
checkedlabelItems: [],
|
|
|
hasMoreData: true,
|
|
|
//下拉是否还有更多数据
|
|
|
inputShowed: false,
|
|
|
inputVal: '',
|
|
|
wxCode: '',
|
|
|
isCollect: false,
|
|
|
collectTxt: '收藏',
|
|
|
isLogin: app.globalData.isLogin,
|
|
|
hasUserInfo: 0,
|
|
|
searchCityParamStorage: {
|
|
|
name: '',
|
|
|
shortName: ''
|
|
|
},
|
|
|
iosDialog1: false,
|
|
|
iosDialog2: false,
|
|
|
phoneDialog: false,
|
|
|
triggered: false,
|
|
|
pageShow: false,
|
|
|
whichOneShow: '',
|
|
|
siv: '',
|
|
|
activez: 'all',
|
|
|
sexid: '-1',
|
|
|
// 性别筛选的id
|
|
|
dialog1: false,
|
|
|
dialog2: false,
|
|
|
jobSpecialLabelList: [],
|
|
|
brandList: [],
|
|
|
firstMenu: '排序',
|
|
|
// 工价筛选tab显示
|
|
|
secondMenu: '性别',
|
|
|
// 性别筛选tab显示
|
|
|
selectBrandList: [],
|
|
|
// 选中的品牌标签
|
|
|
selectJobList: [],
|
|
|
// 选中的特色标签
|
|
|
tagArray0: [],
|
|
|
tagArray1: [],
|
|
|
tagArray2: [],
|
|
|
tagArray3: [],
|
|
|
recordBillType: '',
|
|
|
// 报名类型(拍照或者直接报名)
|
|
|
signType: 0,
|
|
|
// 职位类型(自营 三方)
|
|
|
recordCount: 0,
|
|
|
totalPage: 0,
|
|
|
currPage: 0,
|
|
|
currentJobDrawer: {},
|
|
|
// 当前简版职位抽屉信息
|
|
|
drawerShow: false,
|
|
|
// 简版职位抽屉显隐
|
|
|
choiceCollect: 0,
|
|
|
//收藏的筛选
|
|
|
corpUserFlag: app.globalData.loginUserInfo.corpUserFlag,
|
|
|
// 内部成员的判断
|
|
|
agencyStatus: app.globalData.loginUserInfo.agencyStatus,
|
|
|
// 是否是代理的判断
|
|
|
serviceInfo: {},
|
|
|
// 代理信息
|
|
|
navigatorBarHeight: 0,
|
|
|
// 头部整体高度信息
|
|
|
iosDialog: false,
|
|
|
// 成为代理弹窗
|
|
|
isLoading: true,
|
|
|
// 成为代理图片加载loading效果
|
|
|
isScrollTop: false,
|
|
|
// 控制职位列表的滚动
|
|
|
isWannaShow: false,
|
|
|
// 猜你想搜是否显示
|
|
|
historyList: [],
|
|
|
// 最近搜索列表
|
|
|
from: '',
|
|
|
// 来自哪个页面
|
|
|
placeholderText: '请输入关键词',
|
|
|
isFilterPage: false,
|
|
|
userInfo: '',
|
|
|
age: false,
|
|
|
isShow: false,
|
|
|
fromProject: false
|
|
|
};
|
|
|
},
|
|
|
onLoad: function onLoad(options) {
|
|
|
var _this = this;
|
|
|
var that = this;
|
|
|
console.log(options);
|
|
|
console.log(that.menuButton);
|
|
|
// let query = wx.createSelectorQuery()
|
|
|
// console.log(query.select('#searchBar'));
|
|
|
console.log(app.globalData.isLogin);
|
|
|
console.log(app.globalData.loginUserInfo.agencyStatus);
|
|
|
console.log();
|
|
|
this.getListByTypeAndIndustry();
|
|
|
this.getBrandNameAllList();
|
|
|
|
|
|
// 查看是否授权
|
|
|
uni.getSetting({
|
|
|
success: function success(res) {
|
|
|
if (res.authSetting['scope.userInfo']) {
|
|
|
// 已经授权,可以直接调用 getUserInfo 获取头像昵称
|
|
|
uni.getUserInfo({
|
|
|
success: function success(res) {
|
|
|
console.log(res.userInfo);
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
// 检查从哪个页面进来的
|
|
|
console.log(options);
|
|
|
if (options.from) {
|
|
|
if (options.from != 'filter') {
|
|
|
this.setData({
|
|
|
isWannaShow: true
|
|
|
});
|
|
|
if (options.listtype) {
|
|
|
this.setData({
|
|
|
toped: options.listtype
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
this.setData({
|
|
|
from: options.from
|
|
|
});
|
|
|
}
|
|
|
if (options.data) {
|
|
|
console.log(JSON.parse(options.data));
|
|
|
that.storeJobListSearchForm = JSON.parse(options.data);
|
|
|
}
|
|
|
if (options.key) {
|
|
|
this.setData({
|
|
|
placeholderText: options.key
|
|
|
});
|
|
|
}
|
|
|
if (app.globalData.isNotEmptyCheck(options.fromSearchPage) && options.fromSearchPage == 1) {
|
|
|
// try {
|
|
|
// var searchCityParamStorage = wx.getStorageSync("searchCityParamStorage");
|
|
|
// var searchValue = wx.getStorageSync("SEARCH_VAL");
|
|
|
// console.log(searchValue);
|
|
|
// if (searchCityParamStorage) {
|
|
|
// console.log("searchCityParamStorage======", searchCityParamStorage);
|
|
|
// that.data.storeJobListSearchForm.cityName = searchCityParamStorage.name;
|
|
|
// if (app.isEmptyCheck(searchCityParamStorage.name)) {
|
|
|
// that.data.storeJobListSearchForm.cityName = "全国";
|
|
|
// }
|
|
|
// console.log(that.data.storeJobListSearchForm);
|
|
|
// console.log(searchValue);
|
|
|
// if (searchValue) {
|
|
|
// that.data.storeJobListSearchForm.keys = searchValue;
|
|
|
// that.data.inputVal = searchValue;
|
|
|
// }
|
|
|
// that.setData({
|
|
|
// searchCityParamStorage: searchCityParamStorage,
|
|
|
// storeJobListSearchForm: that.data.storeJobListSearchForm,
|
|
|
// inputVal: that.data.inputVal,
|
|
|
// });
|
|
|
// this.getJobList();
|
|
|
// }
|
|
|
// } catch (e) {
|
|
|
// console.log("获取缓存设置的查询职位列表参数错误:", e);
|
|
|
// }
|
|
|
} else {
|
|
|
try {
|
|
|
uni.removeStorageSync('searchJobListParamStorage');
|
|
|
} catch (e) {
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('删除缓存设置的查询职位列表参数错误:', e);
|
|
|
}
|
|
|
try {
|
|
|
uni.removeStorageSync('searchCityParamStorage');
|
|
|
} catch (e) {
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('删除缓存设置的查询职位列表参数错误:', e);
|
|
|
}
|
|
|
}
|
|
|
try {
|
|
|
if (app.globalData.isScanQRCodes - 1 == 0) {
|
|
|
uni.showToast({
|
|
|
title: '欢迎查看好工作',
|
|
|
icon: 'success',
|
|
|
duration: 2000
|
|
|
});
|
|
|
if (!getApp().globalData.isLogin) {
|
|
|
setTimeout(function () {
|
|
|
if (!getApp().globalData.isLogin) {
|
|
|
that.openIOS2();
|
|
|
}
|
|
|
}, 5000);
|
|
|
}
|
|
|
}
|
|
|
} catch (e) {
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('获取缓存设置的查询职位列表参数错误:', e);
|
|
|
}
|
|
|
console.log('options==============================1');
|
|
|
console.log(options);
|
|
|
console.log('options==============================2');
|
|
|
if (app.globalData.isNotEmptyCheck(options.scene)) {
|
|
|
//扫小程序码携带参数
|
|
|
var sceneStr = decodeURIComponent(options.scene);
|
|
|
var sceneJson = commonUtil.sceneToJson(sceneStr);
|
|
|
console.log('sceneJson===', sceneJson);
|
|
|
if (sceneJson.fromType == 1) {
|
|
|
app.globalData.isCommission = 1;
|
|
|
uni.setStorageSync('storageSyncAgencyUserId', sceneJson.userId);
|
|
|
}
|
|
|
|
|
|
//先设置代理人缓存人再登录
|
|
|
app.globalData.getLoginUserTokenInfo();
|
|
|
} else if (app.globalData.isNotEmptyCheck(options.fromType)) {
|
|
|
//扫小程序普通二维码携带参数-来源ID
|
|
|
console.log('options.fromType========' + options.fromType);
|
|
|
if (options.fromType == 0) {
|
|
|
console.log('options.id========' + options.id);
|
|
|
console.log('options.userId========' + options.userId);
|
|
|
try {
|
|
|
app.globalData.isCommission = 1;
|
|
|
uni.setStorageSync('fromQrCodeChannelContactId', options.id);
|
|
|
that.getAgencyUserId(options.id);
|
|
|
} catch (e) {
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('0-扫描微信二维码,设置参数错误:', e);
|
|
|
}
|
|
|
} else if (options.fromType.indexOf('0&id=') >= 0) {
|
|
|
//兼容2021-9-9之前的二维码
|
|
|
var paramsTempId = options.fromType.replace('0&id=', '');
|
|
|
console.log('¶msTempId========' + paramsTempId);
|
|
|
try {
|
|
|
app.globalData.isCommission = 1;
|
|
|
uni.setStorageSync('fromQrCodeChannelContactId', paramsTempId);
|
|
|
that.getAgencyUserId(paramsTempId);
|
|
|
} catch (e) {
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('0-扫描微信二维码,设置参数错误:', e);
|
|
|
}
|
|
|
} else {
|
|
|
//兼容2021-9-9之前的二维码
|
|
|
var paramsTempId = options.fromType.replace('0,id=', '');
|
|
|
console.log('=paramsTempId========' + paramsTempId);
|
|
|
try {
|
|
|
app.globalData.isCommission = 1;
|
|
|
uni.setStorageSync('fromQrCodeChannelContactId', paramsTempId);
|
|
|
that.getAgencyUserId(paramsTempId);
|
|
|
} catch (e) {
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('0-扫描微信二维码,设置参数错误:', e);
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
console.log('options.fromType===else=====' + options);
|
|
|
}
|
|
|
|
|
|
//this.wxLogin();
|
|
|
var res = uni.getStorageSync('storeJobId'); //详情页返回
|
|
|
console.log(res);
|
|
|
if (app.globalData.isEmptyCheck(res.data)) {
|
|
|
this.setData({
|
|
|
recordList: []
|
|
|
});
|
|
|
} else {
|
|
|
uni.removeStorageSync({
|
|
|
key: 'storeJobId'
|
|
|
});
|
|
|
}
|
|
|
console.log('on show');
|
|
|
|
|
|
//登录=================================start
|
|
|
if (app.globalData.isLogin) {
|
|
|
this.setData({
|
|
|
isLogin: app.globalData.isLogin,
|
|
|
hasUserInfo: app.globalData.hasUserInfo,
|
|
|
agencyStatus: app.globalData.loginUserInfo.agencyStatus,
|
|
|
corpUserFlag: app.globalData.loginUserInfo.corpUserFlag,
|
|
|
userInfo: app.globalData.loginUserInfo,
|
|
|
serviceInfo: app.globalData.serviceInfo,
|
|
|
isLoading: true
|
|
|
});
|
|
|
} else {
|
|
|
// 由于 userLogin 是网络请求,可能会在 Page.onLoad 之后才返回
|
|
|
// 所以此处加入 callback 以防止这种情况
|
|
|
app.globalData.userLoginCallback = function (res) {
|
|
|
_this.setData({
|
|
|
isLogin: app.globalData.isLogin,
|
|
|
hasUserInfo: app.globalData.hasUserInfo,
|
|
|
agencyStatus: app.globalData.loginUserInfo.agencyStatus,
|
|
|
corpUserFlag: app.globalData.loginUserInfo.corpUserFlag,
|
|
|
userInfo: app.globalData.loginUserInfo,
|
|
|
serviceInfo: app.globalData.serviceInfo
|
|
|
});
|
|
|
console.log(that.serviceInfo);
|
|
|
};
|
|
|
console.log(that.serviceInfo);
|
|
|
}
|
|
|
//登录=================================end
|
|
|
|
|
|
this.getHopeJobLabels();
|
|
|
var agencyUserId = options.agencyUserId;
|
|
|
if (agencyUserId) {
|
|
|
uni.setStorageSync('storageSyncAgencyUserId', agencyUserId);
|
|
|
console.log('agencyUserId', agencyUserId);
|
|
|
app.globalData.isCommission = 1;
|
|
|
}
|
|
|
},
|
|
|
onReady: function onReady() {
|
|
|
var that = this;
|
|
|
},
|
|
|
onShow: function onShow() {
|
|
|
var _this2 = this;
|
|
|
var that = this;
|
|
|
that.storeJobListSearchForm.pageNum = 1;
|
|
|
console.log(that.from);
|
|
|
if (uni.getStorageSync('FROMCITY')) {
|
|
|
try {
|
|
|
var searchCityParamStorage = uni.getStorageSync('searchCityParamStorage');
|
|
|
if (searchCityParamStorage) {
|
|
|
console.log('searchCityParamStorage======', searchCityParamStorage);
|
|
|
that.storeJobListSearchForm.cityName = searchCityParamStorage.name;
|
|
|
if (app.globalData.isEmptyCheck(searchCityParamStorage.name)) {
|
|
|
that.storeJobListSearchForm.cityName = '';
|
|
|
}
|
|
|
that.setData({
|
|
|
searchCityParamStorage: searchCityParamStorage,
|
|
|
storeJobListSearchForm: that.storeJobListSearchForm
|
|
|
});
|
|
|
that.setData({
|
|
|
recordList: []
|
|
|
});
|
|
|
this.getJobList();
|
|
|
}
|
|
|
} catch (e) {
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('获取缓存设置的查询职位列表参数错误:', e);
|
|
|
}
|
|
|
uni.removeStorageSync('FROMCITY');
|
|
|
} else {
|
|
|
// that.setData({
|
|
|
// recordList: [],
|
|
|
// });
|
|
|
// that.getJobList();
|
|
|
}
|
|
|
if (app.globalData.isNotEmptyCheck(uni.getStorageSync('projectSearch')) && that.from == 'project') {
|
|
|
console.log(uni.getStorageSync('projectSearch'));
|
|
|
that.setData({
|
|
|
historyList: uni.getStorageSync('projectSearch')
|
|
|
});
|
|
|
}
|
|
|
if (that.from == 'filter') {
|
|
|
console.log(123);
|
|
|
that.storeJobListSearchForm.keys = '1';
|
|
|
that.setData({
|
|
|
isFilterPage: true,
|
|
|
recordList: []
|
|
|
});
|
|
|
that.getJobList();
|
|
|
uni.setNavigationBarTitle({
|
|
|
title: '职位匹配'
|
|
|
});
|
|
|
}
|
|
|
this.setData({
|
|
|
storeJobListSearchForm: that.storeJobListSearchForm,
|
|
|
isLogin: app.globalData.isLogin,
|
|
|
iosDialog2: app.globalData.isLogin ? false : that.iosDialog2,
|
|
|
recordBillType: ''
|
|
|
});
|
|
|
console.log(app.globalData);
|
|
|
setTimeout(function () {
|
|
|
if (app.globalData.isLogin) {
|
|
|
that.setData({
|
|
|
agencyStatus: app.globalData.loginUserInfo.agencyStatus,
|
|
|
corpUserFlag: app.globalData.loginUserInfo.corpUserFlag,
|
|
|
userInfo: app.globalData.loginUserInfo,
|
|
|
serviceInfo: app.globalData.serviceInfo
|
|
|
});
|
|
|
console.log(app.globalData.loginUserInfo);
|
|
|
} else {
|
|
|
that.setData({
|
|
|
serviceInfo: app.globalData.serviceInfo
|
|
|
});
|
|
|
_this2.wxLogin();
|
|
|
}
|
|
|
}, 100);
|
|
|
console.log(app.globalData.headers);
|
|
|
// if (that.data.inputVal != "") {
|
|
|
// console.log(that.data.inputVal);
|
|
|
// that.setData({
|
|
|
// recordList: [],
|
|
|
// });
|
|
|
|
|
|
// that.getJobList();
|
|
|
// }
|
|
|
|
|
|
uni.removeStorage({
|
|
|
key: 'townsManInfo'
|
|
|
});
|
|
|
uni.removeStorage({
|
|
|
key: 'townsManInfoJob'
|
|
|
});
|
|
|
|
|
|
/*this.wxLogin();
|
|
|
let res = wx.getStorageSync({
|
|
|
key: "storeJobId"
|
|
|
}); //详情页返回
|
|
|
if (app.isEmptyCheck(res.data)) {
|
|
|
this.setData({
|
|
|
recordList: []
|
|
|
});
|
|
|
} else {
|
|
|
wx.removeStorageSync({
|
|
|
key: "storeJobId"
|
|
|
});
|
|
|
}
|
|
|
console.log("on show");
|
|
|
this.getHopeJobLabels();
|
|
|
var reset = true;*/
|
|
|
},
|
|
|
onHide: function onHide() {
|
|
|
console.log('hide');
|
|
|
uni.removeStorageSync('searchJobListParamStorage');
|
|
|
uni.removeStorageSync('searchCityParamStorage');
|
|
|
this.setData({
|
|
|
whichOneShow: ''
|
|
|
});
|
|
|
},
|
|
|
onUnload: function onUnload() {
|
|
|
console.log('destory');
|
|
|
},
|
|
|
methods: (_methods = {
|
|
|
// onPullDownRefresh:function(){
|
|
|
// this.getJobList();
|
|
|
// console.log(123);
|
|
|
// wx.stopPullDownRefresh({
|
|
|
// success() {
|
|
|
// app.refreshSuccess();
|
|
|
// }
|
|
|
// });
|
|
|
// },
|
|
|
goLogin: function goLogin() {
|
|
|
uni.setStorageSync('comeFromPage', 'index');
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/login/index'
|
|
|
});
|
|
|
},
|
|
|
close: function close() {
|
|
|
var that = this;
|
|
|
var brandList = that.brandList;
|
|
|
var selectBrandList = that.selectBrandList;
|
|
|
if (selectBrandList.length > 0) {
|
|
|
for (var i = 0; i < brandList.length; i++) {
|
|
|
console.log('level1');
|
|
|
for (var j = 0; j < selectBrandList.length; j++) {
|
|
|
console.log('level2');
|
|
|
if (brandList[i].id == selectBrandList[j].id) {
|
|
|
return brandList[i].checked = true;
|
|
|
} else {
|
|
|
brandList[i].checked = false;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
brandList.forEach(function (item) {
|
|
|
item.checked = false;
|
|
|
});
|
|
|
}
|
|
|
return brandList;
|
|
|
},
|
|
|
closeFix: function closeFix() {
|
|
|
var that = this;
|
|
|
// let brandList = that.close()
|
|
|
// that.data.brandList.forEach((item) => {
|
|
|
// if (that.data.selectBrandList.length > 0) {
|
|
|
// that.data.selectBrandList.forEach((item1) => {
|
|
|
// if (item.id != item1.id) {
|
|
|
// console.log("isSame");
|
|
|
// item.checked = false;
|
|
|
// console.log(item.checked);
|
|
|
// } else {
|
|
|
// item.checked = true;
|
|
|
// }
|
|
|
// });
|
|
|
// } else {
|
|
|
// item.checked = false;
|
|
|
// }
|
|
|
// });
|
|
|
// console.log(that.data.brandList);
|
|
|
// console.log(that.data.selectBrandList);
|
|
|
console.log('isout');
|
|
|
},
|
|
|
touchStart: function touchStart(e) {
|
|
|
// console.log("滚起来", e);
|
|
|
// this.setData({
|
|
|
// scrollStop: false
|
|
|
// })
|
|
|
this.setData({
|
|
|
// whichOneShow: mark,
|
|
|
siv: ''
|
|
|
});
|
|
|
},
|
|
|
choosenTop: function choosenTop(e) {
|
|
|
var that = this;
|
|
|
// that.data.storeJobListSearchForm.pageNum = 1;
|
|
|
var id = e.currentTarget.dataset.id;
|
|
|
console.log(id);
|
|
|
that.setData({
|
|
|
toped: id
|
|
|
// isScrollTop: false,
|
|
|
});
|
|
|
|
|
|
// 切换标准 简版 重新查询列表
|
|
|
// that.data.storeJobListSearchForm.pageNum = 1;
|
|
|
// that.setData({
|
|
|
// toped: id,
|
|
|
// recordList: [],
|
|
|
// });
|
|
|
// that.getJobList();
|
|
|
},
|
|
|
|
|
|
chooseNl: function chooseNl(e) {
|
|
|
var _this3 = this;
|
|
|
var that = this;
|
|
|
console.log(e);
|
|
|
var mark = '';
|
|
|
var type = e.target.dataset.type;
|
|
|
var whichOneShow = that.whichOneShow;
|
|
|
if (!that.isLogin) {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/login/index'
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
if (type == 'gj') {
|
|
|
if (whichOneShow == 'gj') {
|
|
|
mark = '';
|
|
|
} else {
|
|
|
mark = 'gj';
|
|
|
}
|
|
|
} else if (type == 'sex') {
|
|
|
if (whichOneShow == 'sex') {
|
|
|
mark = '';
|
|
|
} else {
|
|
|
mark = 'sex';
|
|
|
}
|
|
|
} else if (type == 'brand') {
|
|
|
if (whichOneShow == 'brand') {
|
|
|
mark = '';
|
|
|
} else {
|
|
|
mark = 'brand';
|
|
|
}
|
|
|
} else if (type == 'special') {
|
|
|
if (whichOneShow == 'special') {
|
|
|
mark = '';
|
|
|
} else {
|
|
|
mark = 'special';
|
|
|
}
|
|
|
}
|
|
|
if (that.siv != 'menu') {
|
|
|
setTimeout(function () {
|
|
|
that.setData({
|
|
|
whichOneShow: mark
|
|
|
// siv:'menu'
|
|
|
});
|
|
|
|
|
|
console.log(_this3.whichOneShow);
|
|
|
}, 0);
|
|
|
that.setData({
|
|
|
siv: 'menu'
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
toSpecialArea: function toSpecialArea(e) {
|
|
|
var id = e.currentTarget.dataset.id;
|
|
|
uni.navigateTo({
|
|
|
url: '../specialArea/index?id=' + id
|
|
|
});
|
|
|
},
|
|
|
chooseM: function chooseM(e) {
|
|
|
var str = e.currentTarget.dataset.id;
|
|
|
console.log(str);
|
|
|
this.setData({
|
|
|
activez: str
|
|
|
});
|
|
|
},
|
|
|
watch: function watch() {},
|
|
|
choosen: function choosen(e) {
|
|
|
var str = e.currentTarget.dataset.id;
|
|
|
// var ageStr = e.currentTarget.dataset.str;
|
|
|
this.setData({
|
|
|
sexid: str
|
|
|
});
|
|
|
},
|
|
|
choiceSex: function choiceSex(e) {
|
|
|
var that = this;
|
|
|
// let str = that.data.sexid
|
|
|
console.log(e);
|
|
|
var str = e.currentTarget.dataset.id;
|
|
|
console.log(str);
|
|
|
if (str == '1') {
|
|
|
this.secondMenu = '男生';
|
|
|
} else if (str == '2') {
|
|
|
this.secondMenu = '女生';
|
|
|
} else if (str == '-1') {
|
|
|
this.secondMenu = '不限';
|
|
|
}
|
|
|
that.setData({
|
|
|
sexid: str,
|
|
|
secondMenu: this.secondMenu
|
|
|
});
|
|
|
that.storeJobListSearchForm.pageNum = 1;
|
|
|
that.storeJobListSearchForm.sex = str;
|
|
|
that.setData({
|
|
|
storeJobListSearchForm: that.storeJobListSearchForm,
|
|
|
recordList: []
|
|
|
});
|
|
|
that.getJobList().then(function () {
|
|
|
that.setData({
|
|
|
siv: 'menu',
|
|
|
whichOneShow: ''
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
onScrollRefresh: function onScrollRefresh() {
|
|
|
var that = this;
|
|
|
that.storeJobListSearchForm.pageNum = 1;
|
|
|
that.setData({
|
|
|
recordList: []
|
|
|
});
|
|
|
that.getJobList();
|
|
|
|
|
|
// setTimeout(function(){
|
|
|
// that.setData({
|
|
|
// recordList: [],: false,
|
|
|
// })
|
|
|
// },2000);
|
|
|
},
|
|
|
|
|
|
cc: function cc() {}
|
|
|
}, (0, _defineProperty2.default)(_methods, "close", function close() {
|
|
|
this.setData({
|
|
|
dialog1: false,
|
|
|
dialog2: false,
|
|
|
iosDialog1: false,
|
|
|
iosDialog2: false,
|
|
|
phoneDialog: false
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "openIOS1", function openIOS1() {
|
|
|
this.setData({
|
|
|
iosDialog1: true
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "openIOS2", function openIOS2() {
|
|
|
this.setData({
|
|
|
iosDialog2: true
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "showphone", function showphone() {
|
|
|
this.setData({
|
|
|
phoneDialog: true
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "searchKey", function searchKey(e) {
|
|
|
console.log(e);
|
|
|
if (this.inputVal.trim() == '' && this.placeholderText == '请输入关键词') {
|
|
|
uni.showToast({
|
|
|
title: '请输入内容',
|
|
|
icon: 'none'
|
|
|
});
|
|
|
} else {
|
|
|
this.setData({
|
|
|
isWannaShow: false,
|
|
|
recordList: []
|
|
|
});
|
|
|
console.log(this.placeholderText);
|
|
|
this.storeJobListSearchForm.pageNum = 1;
|
|
|
this.storeJobListSearchForm.keys = this.inputVal || this.placeholderText;
|
|
|
this.setData({
|
|
|
inputVal: this.inputVal || this.placeholderText
|
|
|
});
|
|
|
this.getJobList();
|
|
|
this.setHistoryList();
|
|
|
}
|
|
|
}), (0, _defineProperty2.default)(_methods, "setHistoryList", function setHistoryList() {
|
|
|
var that = this;
|
|
|
if (app.globalData.isNotEmptyCheck(uni.getStorageSync('projectSearch'))) {
|
|
|
that.historyList = uni.getStorageSync('projectSearch');
|
|
|
}
|
|
|
if (that.historyList.indexOf(that.inputVal) > -1) {
|
|
|
that.historyList.splice(that.historyList.indexOf(that.inputVal), 1);
|
|
|
that.historyList.unshift(that.inputVal);
|
|
|
} else {
|
|
|
that.historyList.unshift(that.inputVal);
|
|
|
}
|
|
|
if (that.historyList.length > 10) {
|
|
|
that.historyList = that.historyList.splice(0, 10);
|
|
|
}
|
|
|
that.setData({
|
|
|
historyList: that.historyList
|
|
|
});
|
|
|
uni.setStorageSync('projectSearch', that.funQC(that.historyList));
|
|
|
}), (0, _defineProperty2.default)(_methods, "showInput", function showInput() {
|
|
|
this.setData({
|
|
|
inputShowed: true
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "hideInput", function hideInput() {
|
|
|
this.setData({
|
|
|
inputVal: '',
|
|
|
inputShowed: false
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "onShareAppMessage1", function onShareAppMessage1() {
|
|
|
var path = commonUtil.getCurrentPageUrlWithArgs();
|
|
|
if (app.globalData.isLogin && app.globalData.agencyStatus - 0 != 0) {
|
|
|
//当前用户是代理人
|
|
|
path += (path.indexOf('?') >= 0 ? '&' : '?') + 'agencyUserId=' + app.globalData.loginUserInfo.id;
|
|
|
}
|
|
|
console.log(path);
|
|
|
return {
|
|
|
title: '伯才',
|
|
|
path: path
|
|
|
};
|
|
|
}), (0, _defineProperty2.default)(_methods, "clearInput", function clearInput() {
|
|
|
this.setData({
|
|
|
inputVal: '',
|
|
|
chaShowed: false,
|
|
|
inputShowed: false,
|
|
|
hasMoreData: true,
|
|
|
recordList: [],
|
|
|
isWannaShow: true,
|
|
|
placeholderText: '请输入关键词'
|
|
|
});
|
|
|
this.inputBlur();
|
|
|
this.clearFilter();
|
|
|
this.storeJobListSearchForm.pageNum = 1;
|
|
|
this.storeJobListSearchForm.keys = '';
|
|
|
}), (0, _defineProperty2.default)(_methods, "inputTyping", function inputTyping(e) {
|
|
|
this.setData({
|
|
|
inputVal: e.detail.value
|
|
|
});
|
|
|
console.log(this.inputVal == '');
|
|
|
if (this.inputVal == '') {
|
|
|
this.setData({
|
|
|
recordList: [],
|
|
|
isWannaShow: true
|
|
|
});
|
|
|
this.storeJobListSearchForm.pageNum = 1;
|
|
|
this.storeJobListSearchForm.keys = '';
|
|
|
// this.getJobList();
|
|
|
}
|
|
|
}), (0, _defineProperty2.default)(_methods, "clear", function clear() {
|
|
|
uni.clearStorage();
|
|
|
console.log('清除成功');
|
|
|
}), (0, _defineProperty2.default)(_methods, "inputBlur", function inputBlur() {}), (0, _defineProperty2.default)(_methods, "getListByTypeAndIndustry", function getListByTypeAndIndustry() {
|
|
|
var that = this;
|
|
|
uni.request({
|
|
|
url: app.globalData.ip + '/labels/getListByTypeAndIndustry',
|
|
|
data: {
|
|
|
type: 90,
|
|
|
industry: 2
|
|
|
},
|
|
|
header: app.globalData.header,
|
|
|
method: 'GET',
|
|
|
success: function success(res) {
|
|
|
console.log(res.data.data);
|
|
|
// that.setData({
|
|
|
// tagArray0: [],
|
|
|
// tagArray1: [],
|
|
|
// tagArray2: [],
|
|
|
// tagArray3: [],
|
|
|
// });
|
|
|
res.data.data.forEach(function (item) {
|
|
|
if (item.typeClassify == '0') {
|
|
|
that.tagArray0.push(item);
|
|
|
} else if (item.typeClassify == '1') {
|
|
|
that.tagArray1.push(item);
|
|
|
} else if (item.typeClassify == '2') {
|
|
|
that.tagArray2.push(item);
|
|
|
} else if (item.typeClassify == '3') {
|
|
|
that.tagArray3.push(item);
|
|
|
}
|
|
|
});
|
|
|
that.setData({
|
|
|
tagArray0: that.tagArray0,
|
|
|
tagArray1: that.tagArray1,
|
|
|
tagArray2: that.tagArray2,
|
|
|
tagArray3: that.tagArray3
|
|
|
});
|
|
|
var jobSpecialLabelIdArray = that.storeJobListSearchForm.jobSpecialLabelIds.split(',');
|
|
|
res.data.data.forEach(function (item) {
|
|
|
item['checked'] = false;
|
|
|
jobSpecialLabelIdArray.forEach(function (item1) {
|
|
|
if (item.id == item1) {
|
|
|
item['checked'] = true;
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
that.setData({
|
|
|
jobSpecialLabelList: res.data.data
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "getBrandNameAllList", function getBrandNameAllList() {
|
|
|
var that = this;
|
|
|
uni.request({
|
|
|
url: app.globalData.ip + '/labels/type/95',
|
|
|
// 分类列表获取接口
|
|
|
header: app.globalData.header,
|
|
|
method: 'GET',
|
|
|
success: function success(res) {
|
|
|
console.log(res);
|
|
|
if (res.data.status == 200) {
|
|
|
if (that.storeJobListSearchForm.brandIds) {
|
|
|
var brandIdArray = that.storeJobListSearchForm.brandIds.split(',');
|
|
|
}
|
|
|
console.log(res.data.data.labels);
|
|
|
res.data.data.labels.forEach(function (item) {
|
|
|
item['checked'] = false;
|
|
|
if (brandIdArray) {
|
|
|
brandIdArray.forEach(function (item1) {
|
|
|
if (item.id == item1) {
|
|
|
item['checked'] = true;
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
that.setData({
|
|
|
brandList: res.data.data.labels
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
// wx.request({
|
|
|
// url: app.globalData.ip + "/brand/getBrandNameAllList",
|
|
|
// data: {},
|
|
|
// header: app.globalData.header,
|
|
|
// method: "GET",
|
|
|
// success: function (res) {
|
|
|
// console.log(res);
|
|
|
|
|
|
// var brandIdArray = that.data.storeJobListSearchForm.brandIds.split(",");
|
|
|
|
|
|
// res.data.data.pageBean.forEach((item) => {
|
|
|
// item["checked"] = false;
|
|
|
// brandIdArray.forEach((item1) => {
|
|
|
// if (item.id == item1) {
|
|
|
// item["checked"] = true;
|
|
|
// }
|
|
|
// });
|
|
|
// });
|
|
|
// that.setData({
|
|
|
// brandList: res.data.data,
|
|
|
// });
|
|
|
// },
|
|
|
// });
|
|
|
}), (0, _defineProperty2.default)(_methods, "selectJobSpecialLabel", function selectJobSpecialLabel(e) {
|
|
|
var that = this;
|
|
|
var index = e.currentTarget.dataset.index;
|
|
|
var indexTag = e.currentTarget.dataset.indexTag;
|
|
|
console.log(e);
|
|
|
console.log(indexTag);
|
|
|
// debugger;
|
|
|
if (indexTag == '0') {
|
|
|
if (that.tagArray0[index].checked) {
|
|
|
that.tagArray0[index].checked = false;
|
|
|
// index1 = that.data.selectJobList.indexOf(that.data.tagArray0[index]);
|
|
|
// that.data.selectJobList.splice(index1, 1);
|
|
|
} else {
|
|
|
that.tagArray0[index].checked = true;
|
|
|
// that.data.selectJobList.push(that.data.tagArray0[index]);
|
|
|
}
|
|
|
|
|
|
this.setData({
|
|
|
tagArray0: that.tagArray0
|
|
|
});
|
|
|
} else if (indexTag == '1') {
|
|
|
console.log('indexTag == "1"');
|
|
|
if (that.tagArray1[index].checked) {
|
|
|
that.tagArray1[index].checked = false;
|
|
|
// index1 = that.data.selectJobList.indexOf(that.data.tagArray1[index]);
|
|
|
// that.data.selectJobList.splice(index1, 1);
|
|
|
} else {
|
|
|
that.tagArray1[index].checked = true;
|
|
|
// that.data.selectJobList.push(that.data.tagArray1[index]);
|
|
|
}
|
|
|
|
|
|
this.setData({
|
|
|
tagArray1: that.tagArray1
|
|
|
});
|
|
|
} else if (indexTag == '2') {
|
|
|
if (that.tagArray2[index].checked) {
|
|
|
that.tagArray2[index].checked = false;
|
|
|
// index1 = that.data.selectJobList.indexOf(that.data.tagArray2[index]);
|
|
|
// that.data.selectJobList.splice(index1, 1);
|
|
|
} else {
|
|
|
that.tagArray2[index].checked = true;
|
|
|
// that.data.selectJobList.push(that.data.tagArray2[index]);
|
|
|
}
|
|
|
|
|
|
this.setData({
|
|
|
tagArray2: that.tagArray2
|
|
|
});
|
|
|
} else if (indexTag == '3') {
|
|
|
if (that.tagArray3[index].checked) {
|
|
|
that.tagArray3[index].checked = false;
|
|
|
// index1 = that.data.selectJobList.indexOf(that.data.tagArray3[index]);
|
|
|
// that.data.selectJobList.splice(index1, 1);
|
|
|
} else {
|
|
|
that.tagArray3[index].checked = true;
|
|
|
// that.data.selectJobList.push(that.data.tagArray3[index]);
|
|
|
}
|
|
|
|
|
|
this.setData({
|
|
|
tagArray3: that.tagArray3
|
|
|
});
|
|
|
}
|
|
|
this.setData({
|
|
|
selectJobList: that.selectJobList
|
|
|
});
|
|
|
// jobSpecialLabelList
|
|
|
|
|
|
// if(that.data.jobSpecialLabelList[index].checked) {
|
|
|
// that.data.jobSpecialLabelList[index].checked = false;
|
|
|
// } else {
|
|
|
// that.data.jobSpecialLabelList[index].checked = true;
|
|
|
// }
|
|
|
// this.setData({
|
|
|
// jobSpecialLabelList: that.data.jobSpecialLabelList
|
|
|
// });
|
|
|
}), (0, _defineProperty2.default)(_methods, "selectBrand", function selectBrand(e) {
|
|
|
var that = this;
|
|
|
var index = e.currentTarget.dataset.index;
|
|
|
if (that.brandList[index].checked) {
|
|
|
that.brandList[index].checked = false;
|
|
|
// let index1 = that.data.selectBrandList.indexOf(that.data.brandList[index])
|
|
|
// that.data.selectBrandList.splice(index1,1)
|
|
|
} else {
|
|
|
that.brandList[index].checked = true;
|
|
|
}
|
|
|
console.log(that.selectBrandList);
|
|
|
this.setData({
|
|
|
brandList: that.brandList
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "reset", function reset(e) {
|
|
|
var that = this;
|
|
|
console.log(e);
|
|
|
if (e.target.dataset.type == 1) {
|
|
|
//特色
|
|
|
that.jobSpecialLabelList.forEach(function (item) {
|
|
|
// console.log(item);
|
|
|
if (item.checked) {
|
|
|
item.checked = false;
|
|
|
}
|
|
|
});
|
|
|
that.setData({
|
|
|
jobSpecialLabelList: that.jobSpecialLabelList,
|
|
|
tagArray0: that.tagArray0,
|
|
|
tagArray1: that.tagArray1,
|
|
|
tagArray2: that.tagArray2,
|
|
|
tagArray3: that.tagArray3,
|
|
|
selectJobList: [],
|
|
|
whichOneShow: ''
|
|
|
});
|
|
|
that.storeJobListSearchForm.jobSpecialLabelIds = '';
|
|
|
} else if (e.target.dataset.type == 2) {
|
|
|
//品牌
|
|
|
that.brandList.forEach(function (item) {
|
|
|
if (item.checked) {
|
|
|
item.checked = false;
|
|
|
}
|
|
|
});
|
|
|
that.setData({
|
|
|
brandList: that.brandList,
|
|
|
selectBrandList: [],
|
|
|
whichOneShow: ''
|
|
|
});
|
|
|
that.storeJobListSearchForm.jobCategoryLabelIds = '';
|
|
|
// that.data.storeJobListSearchForm.brandIds = "";
|
|
|
} else if (e.target.dataset.type == 4) {
|
|
|
that.setData({
|
|
|
activez: ''
|
|
|
});
|
|
|
}
|
|
|
that.storeJobListSearchForm.pageNum = 1;
|
|
|
that.setData({
|
|
|
recordList: []
|
|
|
});
|
|
|
that.getJobList();
|
|
|
}), (0, _defineProperty2.default)(_methods, "loginOut", function loginOut() {
|
|
|
var that = this;
|
|
|
var jobSpecialLabelIdArray = [];
|
|
|
that.jobSpecialLabelList.forEach(function (item) {
|
|
|
if (item.checked) {
|
|
|
jobSpecialLabelIdArray.push(item.id);
|
|
|
}
|
|
|
});
|
|
|
if (jobSpecialLabelIdArray.length > 0) {
|
|
|
that.storeJobListSearchForm.jobSpecialLabelIds = jobSpecialLabelIdArray.join(',');
|
|
|
} else {
|
|
|
that.storeJobListSearchForm.jobSpecialLabelIds = '';
|
|
|
}
|
|
|
var brandIdArray = [];
|
|
|
that.selectBrandList = [];
|
|
|
that.brandList.forEach(function (item) {
|
|
|
if (item.checked) {
|
|
|
if (that.selectBrandList.indexOf(item) == -1) {
|
|
|
that.selectBrandList.push(item);
|
|
|
}
|
|
|
brandIdArray.push(item.id);
|
|
|
}
|
|
|
});
|
|
|
that.selectJobList = [];
|
|
|
var jobList = that.tagArray0.concat(that.tagArray1, that.tagArray2, that.tagArray3);
|
|
|
jobList.forEach(function (item) {
|
|
|
if (item.checked) {
|
|
|
if (that.selectJobList.indexOf(item) == -1) {
|
|
|
that.selectJobList.push(item);
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
if (brandIdArray.length > 0) {
|
|
|
// that.data.storeJobListSearchForm.brandIds = brandIdArray.join(",");
|
|
|
that.storeJobListSearchForm.jobCategoryLabelIds = brandIdArray.join(',');
|
|
|
} else {
|
|
|
// that.data.storeJobListSearchForm.brandIds = "";
|
|
|
that.storeJobListSearchForm.jobCategoryLabelIds = '';
|
|
|
}
|
|
|
that.storeJobListSearchForm.pageNum = 1;
|
|
|
that.setData({
|
|
|
recordList: [],
|
|
|
siv: '',
|
|
|
whichOneShow: '',
|
|
|
selectBrandList: that.selectBrandList,
|
|
|
selectJobList: that.selectJobList
|
|
|
});
|
|
|
that.getJobList();
|
|
|
}), (0, _defineProperty2.default)(_methods, "onTabClick", function onTabClick(e) {
|
|
|
var index = e.detail.index;
|
|
|
this.setData({
|
|
|
activeTab: index
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "onChange", function onChange(e) {
|
|
|
var index = e.detail.index;
|
|
|
this.setData({
|
|
|
activeTab: index
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "findLocation", function findLocation() {
|
|
|
var that = this;
|
|
|
uni.getLocation({
|
|
|
type: 'gcj02',
|
|
|
success: function success(res1) {
|
|
|
console.log('获取位置2');
|
|
|
console.log(res1);
|
|
|
app.globalData.lng = res1.longitude;
|
|
|
app.globalData.lat = res1.latitude;
|
|
|
},
|
|
|
fail: function fail() {}
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "emptyMethod", function emptyMethod(e) {
|
|
|
console.log(e);
|
|
|
}), (0, _defineProperty2.default)(_methods, "chooseIdCard", function chooseIdCard() {
|
|
|
var that = this;
|
|
|
if (that.agencyStatus != 1) {
|
|
|
this.setData({
|
|
|
iosDialog: true
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
uni.chooseImage({
|
|
|
count: 1,
|
|
|
sizeType: ['original', 'compressed'],
|
|
|
sourceType: ['album', 'camera'],
|
|
|
success: function success(res) {
|
|
|
console.log(res);
|
|
|
uni.navigateTo({
|
|
|
url: "../newEnroll/enroll/index?applyType=1&imgUrl=".concat(res.tempFilePaths[0])
|
|
|
});
|
|
|
// that.uploadIdcardImg(res);
|
|
|
}
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "navigatorToRecord", function navigatorToRecord() {
|
|
|
if (this.agencyStatus != 1) {
|
|
|
this.setData({
|
|
|
iosDialog: true
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
uni.navigateTo({
|
|
|
url: "../newEnroll/enroll/index?applyType=1"
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "PageScroll", function PageScroll(e) {
|
|
|
var that = this;
|
|
|
var query = uni.createSelectorQuery().in(this);
|
|
|
query.select('.sticky').boundingClientRect(function (res) {
|
|
|
console.log(res);
|
|
|
if (res.top <= 5) {
|
|
|
that.setData({
|
|
|
isScrollTop: true
|
|
|
});
|
|
|
} else if (res.top > 0 && res.top < 90) {
|
|
|
that.setData({
|
|
|
isScrollTop: false
|
|
|
});
|
|
|
} else if (res.top >= 90) {
|
|
|
that.setData({
|
|
|
isScrollTop: false
|
|
|
});
|
|
|
}
|
|
|
}).exec();
|
|
|
}), (0, _defineProperty2.default)(_methods, "collectedStoreJobList", function collectedStoreJobList() {
|
|
|
var that = this;
|
|
|
uni.request({
|
|
|
url: app.globalData.ip + '/store/job/collected/list?ujc=1',
|
|
|
method: 'GET',
|
|
|
data: {},
|
|
|
header: app.globalData.headers,
|
|
|
success: function success(res) {
|
|
|
console.log(res);
|
|
|
var collectList = res.data.data.pageBean.recordList;
|
|
|
var jobs = that.recordList;
|
|
|
if (collectList != null && collectList != '' && collectList != undefined && collectList.length != 0 && jobs != null && jobs != '' && jobs != undefined && jobs.length != 0) {
|
|
|
for (var j = 0; j != jobs.length; ++j) {
|
|
|
jobs[j].collected = 2;
|
|
|
}
|
|
|
for (var i = 0; i != collectList.length; ++i) {
|
|
|
for (var j = 0; j != jobs.length; ++j) {
|
|
|
if (collectList[i].storeJobId - jobs[j].id == 0) {
|
|
|
jobs[j].collected = 1;
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
that.setData({
|
|
|
recordList: jobs
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
fail: function fail(res) {}
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "getHopeJobLabels", function getHopeJobLabels() {
|
|
|
var that = this;
|
|
|
uni.request({
|
|
|
url: app.globalData.ip + '/labels/findAllHopeJobLabels',
|
|
|
// ?category=4
|
|
|
method: 'GET',
|
|
|
data: {},
|
|
|
success: function success(res0) {
|
|
|
console.log('感兴趣职位 ↓↓↓');
|
|
|
console.log(res0);
|
|
|
if (res0.data.data != null) {
|
|
|
res0.data.data.forEach(function (item, index) {
|
|
|
item['title'] = item.name;
|
|
|
item['checked'] = false;
|
|
|
if (index == 0 || index == 1) {
|
|
|
item['checked'] = true;
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
that.setData({
|
|
|
labelItems: res0.data.data == null ? [] : res0.data.data
|
|
|
});
|
|
|
that.initData();
|
|
|
console.log('感兴趣职位 赋值title↓↓↓');
|
|
|
console.log(res0);
|
|
|
},
|
|
|
fail: function fail(res) {
|
|
|
console.log(res);
|
|
|
uni.showToast({
|
|
|
title: '获取失败',
|
|
|
icon: 'none',
|
|
|
duration: 2000
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "makePhoneCall", function makePhoneCall() {
|
|
|
var that = this;
|
|
|
uni.makePhoneCall({
|
|
|
phoneNumber: '13937184434'
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "goScreen", function goScreen() {
|
|
|
uni.navigateTo({
|
|
|
url: '../screen/index'
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "goCity", function goCity() {
|
|
|
var that = this;
|
|
|
console.log('search');
|
|
|
if (!that.isLogin) {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/login/index'
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
uni.navigateTo({
|
|
|
url: '../city/index?from=search'
|
|
|
});
|
|
|
uni.setStorageSync('SEARCH_VAL', that.storeJobListSearchForm.keys);
|
|
|
}), (0, _defineProperty2.default)(_methods, "initData", function initData() {
|
|
|
var that = this;
|
|
|
try {
|
|
|
// 获取手机基础信息(头状态栏和标题栏高度)
|
|
|
var systemInfo = uni.getSystemInfoSync();
|
|
|
var getMenuButtonBoundingClientRect = uni.getMenuButtonBoundingClientRect();
|
|
|
console.log(uni.getMenuButtonBoundingClientRect());
|
|
|
this.setData({
|
|
|
systemInfo: systemInfo,
|
|
|
getMenuButtonBoundingClientRect: getMenuButtonBoundingClientRect
|
|
|
});
|
|
|
} catch (e) {
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('CatchClause', e);
|
|
|
console.log(e);
|
|
|
uni.alert({
|
|
|
title: '温馨提示',
|
|
|
content: 'onLoad 执行异常'
|
|
|
});
|
|
|
}
|
|
|
var res0 = uni.getStorageSync('checkedlabelItems');
|
|
|
console.log(app.globalData.isNotEmptyCheck(res0.data));
|
|
|
that.tabs2 = [{
|
|
|
name: '打勾推荐',
|
|
|
category: -1,
|
|
|
id: 406,
|
|
|
checked: true,
|
|
|
title: '打勾推荐'
|
|
|
}];
|
|
|
if (app.globalData.isNotEmptyCheck(res0.data)) {
|
|
|
for (var i = 0; i < res0.data.length; i++) {
|
|
|
res0.data[i]['title'] = res0.data[i].name;
|
|
|
// that.data.tabs2.push(res0.data[i]);
|
|
|
}
|
|
|
|
|
|
console.log('获取缓存'); // res0.data.unshift();
|
|
|
// console.log(res.data.unshift({name: "打勾推荐", category: 3, id: 406, checked: true, title: "打勾推荐"}));
|
|
|
} else {
|
|
|
console.log('无感兴趣职位 push两个职位 ↓↓↓');
|
|
|
console.log(that.labelItems);
|
|
|
that.labelItems.forEach(function (item) {
|
|
|
if (item.name == '理货员' || item.name == '餐饮服务员') {
|
|
|
// that.data.tabs2.push(item);
|
|
|
}
|
|
|
}); // that.data.tabs2.push(that.data.labelItems[0], that.data.labelItems[1])
|
|
|
}
|
|
|
|
|
|
that.setData({
|
|
|
tabs2: that.tabs2
|
|
|
});
|
|
|
var res = uni.getStorageSync('sex'); //性别
|
|
|
if (app.globalData.isNotEmptyCheck(res.data)) {
|
|
|
that.storeJobListSearchForm.sex = res.data;
|
|
|
that.storeJobListSearchForm.pageNum = 1;
|
|
|
} else {
|
|
|
// res.data = [];
|
|
|
}
|
|
|
var res2 = uni.getStorageSync('checkedJobItems'); //筛选职位
|
|
|
var workTypeStrCurr = '';
|
|
|
if (app.globalData.isNotEmptyCheck(res2.data)) {
|
|
|
res2.data.forEach(function (item, index) {
|
|
|
workTypeStrCurr += item.value + ',';
|
|
|
});
|
|
|
if (workTypeStrCurr.length > 0) {
|
|
|
workTypeStrCurr = workTypeStrCurr.substr(0, workTypeStrCurr.length - 1);
|
|
|
}
|
|
|
that.storeJobListSearchForm.workTypeStr = workTypeStrCurr;
|
|
|
that.storeJobListSearchForm.pageNum = 1;
|
|
|
} else {
|
|
|
that.storeJobListSearchForm.workTypeStr = '';
|
|
|
that.storeJobListSearchForm.pageNum = 1;
|
|
|
}
|
|
|
console.log(res.data + '===' + res2.data);
|
|
|
if (res.data == -1 && (res2.data == null || res2.data == '')) {
|
|
|
that.setData({
|
|
|
chooseActive: false
|
|
|
});
|
|
|
} else {
|
|
|
that.setData({
|
|
|
chooseActive: true
|
|
|
});
|
|
|
}
|
|
|
|
|
|
// this.getJobList();
|
|
|
}), (0, _defineProperty2.default)(_methods, "getJobList", function getJobList(e) {
|
|
|
console.log(e);
|
|
|
var that = this;
|
|
|
// debugger
|
|
|
return new Promise(function (resolve, reject) {
|
|
|
if (that.storeJobListSearchForm.sortTag == 2) {
|
|
|
//如果按照距离排序,拼接上坐标
|
|
|
that.storeJobListSearchForm.lng = app.globalData.lng;
|
|
|
that.storeJobListSearchForm.lat = app.globalData.lat;
|
|
|
}
|
|
|
console.log(that.inputVal);
|
|
|
console.log(that.searchCityParamStorage);
|
|
|
that.storeJobListSearchForm.cityName = that.searchCityParamStorage.name;
|
|
|
if (app.globalData.isEmptyCheck(that.searchCityParamStorage.name)) {
|
|
|
that.storeJobListSearchForm.cityName = '';
|
|
|
}
|
|
|
that.storeJobListSearchForm.keys = that.inputVal == '' ? '' : that.inputVal;
|
|
|
// debugger;
|
|
|
uni.showLoading({
|
|
|
title: '加载中...'
|
|
|
});
|
|
|
console.log(that.storeJobListSearchForm);
|
|
|
uni.request({
|
|
|
url: app.globalData.ip + '/yishoudan/custom/job/listApp',
|
|
|
method: 'POST',
|
|
|
header: app.globalData.headers,
|
|
|
data: that.storeJobListSearchForm,
|
|
|
success: function success(res) {
|
|
|
console.log('职位列表↓↓↓↓');
|
|
|
console.log(res);
|
|
|
that.setData({
|
|
|
totalPage: res.data.data.pageBean.pageCount,
|
|
|
currPage: res.data.data.pageBean.currentPage
|
|
|
});
|
|
|
setTimeout(function () {
|
|
|
that.setData({
|
|
|
triggered: false
|
|
|
});
|
|
|
}, 1000);
|
|
|
if (res.data.data.pageBean.recordList == null || res.data.data.pageBean.recordList.length == 0 || res.data.data.pageBean.recordList.length < that.storeJobListSearchForm.pageSize) {
|
|
|
var jobListTemp = commonUtil.disposeJobListData(res.data.data.pageBean.recordList);
|
|
|
that.recordList = that.recordList.concat(jobListTemp);
|
|
|
that.setData({
|
|
|
recordList: that.recordList,
|
|
|
hasMoreData: false,
|
|
|
isTrigger: false
|
|
|
});
|
|
|
} else {
|
|
|
var jobListTemp = commonUtil.disposeJobListData(res.data.data.pageBean.recordList);
|
|
|
that.recordList = that.recordList.concat(jobListTemp);
|
|
|
that.setData({
|
|
|
recordList: that.recordList,
|
|
|
hasMoreData: true,
|
|
|
isTrigger: false
|
|
|
});
|
|
|
}
|
|
|
uni.hideLoading({
|
|
|
success: function success(res) {}
|
|
|
});
|
|
|
that.setData({
|
|
|
loading: false,
|
|
|
pageShow: true,
|
|
|
storeJobListSearchForm: that.storeJobListSearchForm
|
|
|
});
|
|
|
resolve();
|
|
|
that.getTag();
|
|
|
that.recordList.forEach(function (item, index) {
|
|
|
if (app.globalData.isNotEmptyCheck(item.returnFeeType) || item.returnFeeType == '0' || item.returnFee == '0') {
|
|
|
item['fuWuFei'] = commonUtil.getReturnFeeTypeName1ById(item.returnFeeType, item.returnFee);
|
|
|
} else {
|
|
|
item['fuWuFei'] = '';
|
|
|
}
|
|
|
});
|
|
|
that.setData({
|
|
|
recordList: that.recordList,
|
|
|
isWannaShow: that.searchCityParamStorage ? false : true
|
|
|
});
|
|
|
setTimeout(function () {
|
|
|
var query = uni.createSelectorQuery();
|
|
|
query.select('.navigator').boundingClientRect();
|
|
|
query.exec(function (res) {
|
|
|
//res就是 所有标签为v1的元素的信息 的数组
|
|
|
console.log(res);
|
|
|
//取高度
|
|
|
console.log(res[0].height);
|
|
|
that.setData({
|
|
|
navigatorBarHeight: res[0].height
|
|
|
});
|
|
|
console.log(that.navigatorBarHeight);
|
|
|
});
|
|
|
}, 300);
|
|
|
// if (that.data.recordList.length < res.data.data.pageBean.recordCount) {
|
|
|
// that.setData({
|
|
|
// hasMoreData: true,
|
|
|
// });
|
|
|
// } else {
|
|
|
// that.setData({
|
|
|
// hasMoreData: false,
|
|
|
// });
|
|
|
// }
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "onScrollRefresh", function onScrollRefresh() {
|
|
|
this.recordList = [];
|
|
|
this.storeJobListSearchForm.pageNum = 1;
|
|
|
this.getJobList();
|
|
|
}), (0, _defineProperty2.default)(_methods, "getTag", function getTag() {
|
|
|
var that = this;
|
|
|
var query = uni.createSelectorQuery().in(that);
|
|
|
query.selectAll('.tttg').boundingClientRect().exec(function (res) {
|
|
|
res.forEach(function (item) {
|
|
|
item.forEach(function (element, index) {
|
|
|
if (element.width > 200) {
|
|
|
// that.data.recordList[index].isTagShow = true;
|
|
|
var age = 'recordList[' + index + '].isTagShow';
|
|
|
that.setData((0, _defineProperty2.default)({}, age, true));
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
// if(){
|
|
|
|
|
|
// }
|
|
|
// console.log(res);
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "onScrollToLower", function onScrollToLower() {
|
|
|
console.log('====================================================');
|
|
|
var that = this;
|
|
|
if (app.globalData.isLogin) {
|
|
|
that.storeJobListSearchForm.pageNum = that.storeJobListSearchForm.pageNum + 1;
|
|
|
if (that.hasMoreData) {
|
|
|
that.getJobList();
|
|
|
}
|
|
|
// 根据实际数据加载情况设定 loadMore 的值即可,分别为 load 和 over
|
|
|
|
|
|
this.setData({
|
|
|
loadMore: 'load'
|
|
|
// loading:true
|
|
|
});
|
|
|
} else {
|
|
|
// if (that.data.pullNum == 0) {
|
|
|
// that.openIOS1();
|
|
|
// }
|
|
|
}
|
|
|
that.pullNum = that.pullNum + 1;
|
|
|
}), (0, _defineProperty2.default)(_methods, "handleTabClick", function handleTabClick(e) {
|
|
|
var that = this;
|
|
|
var index = e.detail.index;
|
|
|
console.log(e.detail.index);
|
|
|
var categoryCurr = that.tabs2[index].category; // that.data.tabs2.forEach((item,index2) => {
|
|
|
// if (index == index2) {
|
|
|
// categoryCurr = item.category
|
|
|
// }
|
|
|
// if( index == 0){
|
|
|
// categoryCurr = -1
|
|
|
// }
|
|
|
// })
|
|
|
|
|
|
this.setData({
|
|
|
// [tabsName]: index,
|
|
|
contentIndex: index
|
|
|
});
|
|
|
console.log(categoryCurr);
|
|
|
that.storeJobListSearchForm.jobClassify = categoryCurr;
|
|
|
that.storeJobListSearchForm.pageNum = 1;
|
|
|
that.setData({
|
|
|
recordList: []
|
|
|
});
|
|
|
that.getJobList();
|
|
|
}), (0, _defineProperty2.default)(_methods, "goDetail", function goDetail(e) {
|
|
|
console.log(e);
|
|
|
var that = this;
|
|
|
if (this.isLogin) {
|
|
|
uni.navigateTo({
|
|
|
url: '../detail/index?storeJobId=' + e.currentTarget.dataset.id + '&wxCode=' + that.wxCode
|
|
|
});
|
|
|
} else {
|
|
|
uni.navigateTo({
|
|
|
url: '../login/index'
|
|
|
});
|
|
|
}
|
|
|
}), (0, _defineProperty2.default)(_methods, "backIndex", function backIndex() {
|
|
|
console.log(123);
|
|
|
uni.reLaunch({
|
|
|
url: '/pages/firstBill/index',
|
|
|
success: function success(result) {},
|
|
|
fail: function fail() {},
|
|
|
complete: function complete() {}
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "goDrawer", function goDrawer(event) {
|
|
|
var that = this;
|
|
|
console.log(event.currentTarget.dataset.item);
|
|
|
event.currentTarget.dataset.item['jobDesp'] = event.currentTarget.dataset.item.jobDesp.replace(/\*\*\*\*\*/g, '').split('————————')[0];
|
|
|
event.currentTarget.dataset.item['jobDesp1'] = event.currentTarget.dataset.item.jobDesp.replace('⚠', "<i class='t-icon t-icon-zhuyi' style='margin-bottom:-2px;width:17px;height:17px;background-repeat:no-repeat;background-size:100% 100%'></i>");
|
|
|
event.currentTarget.dataset.item['jobDesp1'] = event.currentTarget.dataset.item.jobDesp1.replace('[红包]', "<i class='t-icon t-icon-hongbao' style='margin-bottom:-2px;width:17px;height:17px;background-repeat:no-repeat;background-size:100% 100%'></i>");
|
|
|
that.setData({
|
|
|
currentJobDrawer: _objectSpread(_objectSpread({}, event.currentTarget.dataset.item), {}, {
|
|
|
index: event.currentTarget.dataset.index
|
|
|
}),
|
|
|
drawerShow: true
|
|
|
});
|
|
|
console.log(this.currentJobDrawer);
|
|
|
}), (0, _defineProperty2.default)(_methods, "copyClose", function copyClose() {
|
|
|
var that = this;
|
|
|
var contentInfo;
|
|
|
var query = uni.createSelectorQuery().in(this);
|
|
|
query.select('.contactInfo').boundingClientRect(function (res) {
|
|
|
contentInfo = res.dataset.info;
|
|
|
var text = that.currentJobDrawer.jobDesp + contentInfo;
|
|
|
uni.setClipboardData({
|
|
|
data: text,
|
|
|
success: function success(res) {
|
|
|
uni.getClipboardData({
|
|
|
success: function success(res) {
|
|
|
console.log(res.data); // data
|
|
|
uni.showToast({
|
|
|
title: '内容已复制',
|
|
|
icon: 'none',
|
|
|
duration: 1500
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
}).exec();
|
|
|
}), (0, _defineProperty2.default)(_methods, "hideDrawer", function hideDrawer() {
|
|
|
var that = this;
|
|
|
that.setData({
|
|
|
drawerShow: false
|
|
|
});
|
|
|
setTimeout(function () {
|
|
|
uni.showTabBar({
|
|
|
success: function success(e) {}
|
|
|
});
|
|
|
}, 300);
|
|
|
}), (0, _defineProperty2.default)(_methods, "goEnroll", function goEnroll(e) {
|
|
|
console.log(e);
|
|
|
// wx.navigateTo({
|
|
|
// url: "../newEnroll/index?applyType=0"
|
|
|
// });
|
|
|
var that = this;
|
|
|
uni.removeStorageSync('townsManInfo');
|
|
|
uni.removeStorageSync('townsManInfoJob');
|
|
|
uni.removeStorageSync('storeInfoJob');
|
|
|
|
|
|
// if(app.isNotEmptyCheck(wx.getStorage('townsManInfo'))){
|
|
|
// wx.removeStorageSync('townsManInfo')
|
|
|
// }
|
|
|
// if(app.isNotEmptyCheck(wx.getStorage('townsManInfoJob'))){
|
|
|
// wx.removeStorageSync('townsManInfoJob')
|
|
|
// }
|
|
|
// if(app.isNotEmptyCheck(wx.getStorage('storeInfoJob'))){
|
|
|
// wx.removeStorageSync('storeInfoJob')
|
|
|
// }
|
|
|
// wx.removeStorageSync('townsManInfoJob')
|
|
|
console.log(app.globalData.loginUserInfo.tel);
|
|
|
uni.setStorageSync('jobDetailStorage', that.recordList[e.currentTarget.dataset.idx]);
|
|
|
var argument;
|
|
|
argument = JSON.stringify(e.currentTarget.dataset.info).replace(/\=|\&/g, '3D');
|
|
|
uni.navigateTo({
|
|
|
url: "../newEnroll/enroll/index?applyType=1&info=".concat(argument)
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "wxLogin", function wxLogin() {
|
|
|
var that = this;
|
|
|
uni.login({
|
|
|
success: function success(res) {
|
|
|
if (res.code) {
|
|
|
that.setData({
|
|
|
wxCode: res.code
|
|
|
});
|
|
|
} else {
|
|
|
console.log('获取code失败!' + res.errMsg);
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "changeRecordBillType", function changeRecordBillType(e) {
|
|
|
var that = this;
|
|
|
console.log(e);
|
|
|
that.setData({
|
|
|
recordBillType: e.currentTarget.dataset.type
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "getPhoneNumber", function getPhoneNumber(e) {
|
|
|
var that = this;
|
|
|
console.log(e);
|
|
|
console.log(e.detail.errMsg);
|
|
|
/*wx.setStorageSync({
|
|
|
key: "jobDetailStorage",
|
|
|
data: that.data.recordList[e.currentTarget.dataset.idx]
|
|
|
});*/
|
|
|
|
|
|
uni.setStorageSync('jobDetailStorage', that.recordList[e.currentTarget.dataset.idx]);
|
|
|
|
|
|
// console.log(e);
|
|
|
// console.log(e.detail.errMsg)
|
|
|
// console.log(e.detail.iv)
|
|
|
// console.log(e.detail.encryptedData)
|
|
|
if ('getPhoneNumber:ok' == e.detail.errMsg) {
|
|
|
//同意
|
|
|
var iv = e.detail.iv;
|
|
|
var encryptedData = e.detail.encryptedData;
|
|
|
console.log(iv, '=-=========', encryptedData);
|
|
|
uni.checkSession({
|
|
|
success: function success() {
|
|
|
//session_key 未过期,并且在本生命周期一直有效
|
|
|
uni.request({
|
|
|
url: app.globalData.ip + '/getWechatTel',
|
|
|
data: {
|
|
|
code: that.wxCode,
|
|
|
iv: iv,
|
|
|
encryptedData: encryptedData,
|
|
|
type: 'yishoudan'
|
|
|
},
|
|
|
success: function success(res) {
|
|
|
console.log(res);
|
|
|
app.globalData.openId = res.data.data.pageBean.openId;
|
|
|
var promise = app.globalData.setLoginUserTokenInfo(res.data.data.pageBean.phoneNumber, null);
|
|
|
var collected = e.currentTarget.dataset.collected;
|
|
|
if (collected) {
|
|
|
promise.then(function (res) {
|
|
|
that.setData({
|
|
|
isLogin: app.globalData.isLogin
|
|
|
});
|
|
|
that.doCollected(collected, e.currentTarget.dataset.jobid);
|
|
|
// that.collectedStoreJobList();
|
|
|
});
|
|
|
} else {
|
|
|
if (that.recordBillType == 'photo' || that.recordBillType == 'record') {
|
|
|
promise.then(function (res) {
|
|
|
if (that.recordBillType == 'photo') {
|
|
|
that.chooseIdCard();
|
|
|
} else {
|
|
|
that.navigatorToRecord();
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
|
promise.then(function (res) {
|
|
|
var argument;
|
|
|
argument = JSON.stringify(e.currentTarget.dataset.info).replace(/\=|\&/g, '3D');
|
|
|
uni.navigateTo({
|
|
|
url: "../newEnroll/enroll/index?applyType=1&info=".concat(argument)
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
fail: function fail(res) {
|
|
|
console.log('获取用户手机号错误');
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
fail: function fail() {
|
|
|
// session_key 已经失效,需要重新执行登录流程
|
|
|
uni.login({
|
|
|
success: function success(res) {
|
|
|
if (res.code) {
|
|
|
console.log(res.code);
|
|
|
//发起网络请求
|
|
|
uni.request({
|
|
|
url: app.globalData.ip + '/getWechatTel',
|
|
|
data: {
|
|
|
code: res.code,
|
|
|
iv: iv,
|
|
|
encryptedData: encryptedData,
|
|
|
type: 'yishoudan'
|
|
|
},
|
|
|
success: function success(res) {
|
|
|
console.log(res);
|
|
|
var promise = app.globalData.setLoginUserTokenInfo(res.data.data.pageBean.phoneNumber, null);
|
|
|
var collected = e.currentTarget.dataset.collected;
|
|
|
if (collected) {
|
|
|
promise.then(function (res) {
|
|
|
that.setData({
|
|
|
isLogin: app.globalData.isLogin
|
|
|
});
|
|
|
that.doCollected(collected, e.currentTarget.dataset.jobid);
|
|
|
});
|
|
|
} else {
|
|
|
promise.then(function (res) {
|
|
|
uni.navigateTo({
|
|
|
url: '../enroll/index?applyType=1'
|
|
|
//url: "../enroll/index?applyType=1&tel=" + res.data.data.pageBean.phoneNumber
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
|
|
|
fail: function fail(res) {
|
|
|
console.log('获取用户手机号错误');
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
|
console.log('获取手机号失败!' + res.errMsg);
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
|
//拒绝
|
|
|
var collected = e.currentTarget.dataset.collected;
|
|
|
if (collected) {
|
|
|
try {
|
|
|
uni.setStorageSync('comeFromPage', 'index');
|
|
|
} catch (e) {
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('index-页面跳转,设置参数错误:', e);
|
|
|
}
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/login/index'
|
|
|
});
|
|
|
} else {
|
|
|
uni.navigateTo({
|
|
|
url: '../enroll/index?applyType=1'
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
return false;
|
|
|
}), (0, _defineProperty2.default)(_methods, "getPhoneNumber1", function getPhoneNumber1(e) {
|
|
|
var that = this;
|
|
|
console.log(e);
|
|
|
console.log(e.detail.errMsg);
|
|
|
that.close();
|
|
|
// console.log(e);
|
|
|
// console.log(e.detail.errMsg)
|
|
|
// console.log(e.detail.iv)
|
|
|
// console.log(e.detail.encryptedData)
|
|
|
|
|
|
if ('getPhoneNumber:ok' == e.detail.errMsg) {
|
|
|
//同意
|
|
|
var iv = e.detail.iv;
|
|
|
var encryptedData = e.detail.encryptedData;
|
|
|
uni.checkSession({
|
|
|
success: function success() {
|
|
|
//session_key 未过期,并且在本生命周期一直有效
|
|
|
uni.request({
|
|
|
url: app.globalData.ip + '/getWechatTel',
|
|
|
data: {
|
|
|
code: that.wxCode,
|
|
|
iv: iv,
|
|
|
encryptedData: encryptedData,
|
|
|
type: 'yishoudan'
|
|
|
},
|
|
|
success: function success(res) {
|
|
|
console.log(res);
|
|
|
var promise = app.globalData.setLoginUserTokenInfo(res.data.data.pageBean.phoneNumber, null);
|
|
|
promise.then(function (res) {
|
|
|
that.setData({
|
|
|
isLogin: app.globalData.isLogin
|
|
|
});
|
|
|
that.onScrollToLower();
|
|
|
});
|
|
|
},
|
|
|
fail: function fail(res) {
|
|
|
console.log('获取用户手机号错误');
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
fail: function fail() {
|
|
|
// session_key 已经失效,需要重新执行登录流程
|
|
|
uni.login({
|
|
|
success: function success(res) {
|
|
|
if (res.code) {
|
|
|
console.log(res.code);
|
|
|
//发起网络请求
|
|
|
uni.request({
|
|
|
url: app.globalData.ip + '/getWechatTel',
|
|
|
data: {
|
|
|
code: res.code,
|
|
|
iv: iv,
|
|
|
encryptedData: encryptedData,
|
|
|
type: 'yishoudan'
|
|
|
},
|
|
|
success: function success(res) {
|
|
|
console.log(res);
|
|
|
var promise = app.globalData.setLoginUserTokenInfo(res.data.data.pageBean.phoneNumber, null);
|
|
|
promise.then(function (res) {
|
|
|
that.setData({
|
|
|
isLogin: app.globalData.isLogin
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
fail: function fail(res) {
|
|
|
console.log('获取用户手机号错误');
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
|
console.log('获取手机号失败!' + res.errMsg);
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
|
//拒绝
|
|
|
if (e.currentTarget.dataset.type != 'close') {
|
|
|
try {
|
|
|
uni.setStorageSync('comeFromPage', 'index');
|
|
|
} catch (e) {
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('index-页面跳转,设置参数错误:', e);
|
|
|
}
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/login/index'
|
|
|
});
|
|
|
} else {
|
|
|
that.close();
|
|
|
}
|
|
|
}
|
|
|
return false;
|
|
|
}), (0, _defineProperty2.default)(_methods, "getAgencyUserId", function getAgencyUserId(id) {
|
|
|
var that = this;
|
|
|
uni.request({
|
|
|
url: app.globalData.ip + '/channel/contact/getAgencyUserId',
|
|
|
method: 'GET',
|
|
|
header: app.globalData.header,
|
|
|
data: {
|
|
|
channelContactId: id
|
|
|
},
|
|
|
success: function success(res) {
|
|
|
console.log('获取来源对应的代理人,来源ID:', id);
|
|
|
console.log(res);
|
|
|
try {
|
|
|
if (app.globalData.isNotEmptyCheck(res.data.data)) {
|
|
|
uni.setStorageSync('storageSyncAgencyUserId', res.data.data);
|
|
|
}
|
|
|
//先设置代理人缓存人再登录
|
|
|
app.globalData.getLoginUserTokenInfo();
|
|
|
} catch (e) {
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('CatchClause', e);
|
|
|
console.log('0-扫描微信二维码,设置参数错误:', e);
|
|
|
//先设置代理人缓存人再登录
|
|
|
app.globalData.getLoginUserTokenInfo();
|
|
|
}
|
|
|
},
|
|
|
fail: function fail(res0) {
|
|
|
console.log('获取来源对应的代理人错误', id);
|
|
|
}
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "collectPaste", function collectPaste(e) {
|
|
|
var txt;
|
|
|
var that = this;
|
|
|
if (!this.isLogin) {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/login/index'
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
var collected = e.currentTarget.dataset.collected;
|
|
|
var storeJobId = e.currentTarget.dataset.jobid;
|
|
|
that.doCollected(collected, storeJobId);
|
|
|
// console.log(collected);
|
|
|
// if(!this.data.isCollect){
|
|
|
// that.setData({
|
|
|
// isCollect: true,
|
|
|
// collectTxt:'已收藏'
|
|
|
// })
|
|
|
// txt = '收藏成功'
|
|
|
// }else{
|
|
|
// that.setData({
|
|
|
// isCollect: false,
|
|
|
// collectTxt:'收藏'
|
|
|
// })
|
|
|
// }
|
|
|
}), (0, _defineProperty2.default)(_methods, "doCollected", function doCollected(collected, storeJobId) {
|
|
|
var that = this;
|
|
|
var url = '/yishoudan/custom/job/collect/' + storeJobId;
|
|
|
// if (collected - 1 == 0) {
|
|
|
// url = "/user/collect/job/remove";
|
|
|
// }
|
|
|
// console.log(app.globalData.headers);
|
|
|
//发起网络请求
|
|
|
uni.request({
|
|
|
url: app.globalData.ip + url,
|
|
|
// data: {
|
|
|
// jobId: storeJobId,
|
|
|
// classify:0
|
|
|
// },
|
|
|
header: app.globalData.headers,
|
|
|
method: 'GET',
|
|
|
success: function success(res) {
|
|
|
var txt;
|
|
|
if (collected - 1 == 0) {
|
|
|
//取消收藏
|
|
|
for (var i = 0; i != that.recordList.length; ++i) {
|
|
|
if (that.recordList[i].id - storeJobId == 0) {
|
|
|
that.recordList[i].collected = 0;
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
txt = '取消收藏';
|
|
|
} else {
|
|
|
//收藏
|
|
|
for (var i = 0; i != that.recordList.length; ++i) {
|
|
|
if (that.recordList[i].id - storeJobId == 0) {
|
|
|
that.recordList[i].collected = 1;
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
txt = '收藏成功';
|
|
|
}
|
|
|
that.setData({
|
|
|
recordList: that.recordList,
|
|
|
currentJobDrawer: that.currentJobDrawer,
|
|
|
isLogin: app.globalData.isLogin
|
|
|
});
|
|
|
uni.showToast({
|
|
|
icon: 'none',
|
|
|
title: txt
|
|
|
});
|
|
|
},
|
|
|
fail: function fail(res) {
|
|
|
console.log('操作失败');
|
|
|
}
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "getUserInfoBtn", function getUserInfoBtn(e) {
|
|
|
console.log(e);
|
|
|
var that = this;
|
|
|
var type = e.currentTarget.dataset.type;
|
|
|
var collected = e.currentTarget.dataset.collected;
|
|
|
var storeJobId = e.currentTarget.dataset.jobid;
|
|
|
var idx = e.currentTarget.dataset.idx;
|
|
|
console.log(type);
|
|
|
uni.getUserProfile({
|
|
|
desc: '用于完善会员资料',
|
|
|
// 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写
|
|
|
success: function success(res) {
|
|
|
console.log(res);
|
|
|
//发起网络请求
|
|
|
uni.request({
|
|
|
url: app.globalData.ip + '/updateUserWechatInfo',
|
|
|
data: {
|
|
|
nickName: res.userInfo.nickName,
|
|
|
avatarUrl: res.userInfo.avatarUrl,
|
|
|
gender: res.userInfo.gender,
|
|
|
country: res.userInfo.country,
|
|
|
province: res.userInfo.province,
|
|
|
city: res.userInfo.city
|
|
|
},
|
|
|
method: 'POST',
|
|
|
header: app.globalData.headers,
|
|
|
success: function success(res) {
|
|
|
console.log(res);
|
|
|
app.globalData.hasUserInfo = 1;
|
|
|
that.setData({
|
|
|
hasUserInfo: 1
|
|
|
});
|
|
|
that.doMenuClick(type, collected, storeJobId, idx);
|
|
|
},
|
|
|
fail: function fail(res) {
|
|
|
that.doMenuClick(type, collected, storeJobId, idx);
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
fail: function fail(res) {
|
|
|
console.log(res);
|
|
|
that.doMenuClick(type, collected, storeJobId, idx);
|
|
|
}
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "doMenuClick", function doMenuClick(_type, _collected, _storeJobId, _idx) {
|
|
|
var that = this;
|
|
|
if (_type - 1 == 0) {
|
|
|
//点击全国
|
|
|
that.goCity();
|
|
|
} else if (_type - 2 == 0) {
|
|
|
//搜索
|
|
|
that.showInput();
|
|
|
} else if (_type - 3 == 0) {
|
|
|
//筛选
|
|
|
that.goScreen();
|
|
|
} else if (_type - 4 == 0) {
|
|
|
//收藏
|
|
|
that.doCollected(_collected, _storeJobId);
|
|
|
} else if (_type - 5 == 0) {
|
|
|
//报名
|
|
|
uni.setStorageSync('jobDetailStorage', that.recordList[_idx]);
|
|
|
uni.navigateTo({
|
|
|
url: '../enroll/index?applyType=1&tel=' + app.globalData.loginUserInfo.tel
|
|
|
});
|
|
|
}
|
|
|
}), (0, _defineProperty2.default)(_methods, "changSign", function changSign(e) {
|
|
|
var that = this;
|
|
|
console.log(e);
|
|
|
that.storeJobListSearchForm.pageNum = 1;
|
|
|
if (e.target.dataset.type == 0 && that.signType != 0) {
|
|
|
that.storeJobListSearchForm.signType = '';
|
|
|
that.setData({
|
|
|
signType: e.target.dataset.type,
|
|
|
recordList: [],
|
|
|
storeJobListSearchForm: that.storeJobListSearchForm
|
|
|
});
|
|
|
that.getJobList();
|
|
|
} else if (e.target.dataset.type == 1 && that.signType != 1) {
|
|
|
that.storeJobListSearchForm.signType = 1;
|
|
|
that.setData({
|
|
|
signType: e.target.dataset.type,
|
|
|
recordList: [],
|
|
|
storeJobListSearchForm: that.storeJobListSearchForm
|
|
|
});
|
|
|
that.getJobList();
|
|
|
} else if (e.target.dataset.type == 2 && that.signType != 2) {
|
|
|
that.storeJobListSearchForm.signType = 2;
|
|
|
that.setData({
|
|
|
signType: e.target.dataset.type,
|
|
|
recordList: [],
|
|
|
storeJobListSearchForm: that.storeJobListSearchForm
|
|
|
});
|
|
|
that.getJobList();
|
|
|
}
|
|
|
}), (0, _defineProperty2.default)(_methods, "collectChange", function collectChange(e) {
|
|
|
var that = this;
|
|
|
if (that.isLogin || !that.isLogin && e.currentTarget.dataset.id == 0) {
|
|
|
if (e.currentTarget.dataset.id) {
|
|
|
that.choiceCollect = e.currentTarget.dataset.id;
|
|
|
that.storeJobListSearchForm.ujc = e.currentTarget.dataset.id;
|
|
|
that.storeJobListSearchForm.pageNum = 1;
|
|
|
that.setData({
|
|
|
choiceCollect: that.choiceCollect,
|
|
|
storeJobListSearchForm: that.storeJobListSearchForm,
|
|
|
recordList: [],
|
|
|
hasMoreData: true
|
|
|
});
|
|
|
that.getJobList();
|
|
|
}
|
|
|
} else {
|
|
|
// if(e.currentTarget.dataset.id == 1){
|
|
|
that.setData({
|
|
|
recordList: [],
|
|
|
choiceCollect: 1
|
|
|
});
|
|
|
// }
|
|
|
}
|
|
|
}), (0, _defineProperty2.default)(_methods, "choiceFilter", function choiceFilter(e) {
|
|
|
var that = this;
|
|
|
// let str = that.data.activez
|
|
|
var str = e.currentTarget.dataset.id;
|
|
|
if (str == 'all') {
|
|
|
that.storeJobListSearchForm.sortTag = 0;
|
|
|
that.setData({
|
|
|
firstMenu: '排序',
|
|
|
// storeJobListSearchForm: that.data.storeJobListSearchForm,
|
|
|
recordList: []
|
|
|
});
|
|
|
that.getJobList().then(function () {
|
|
|
that.setData({
|
|
|
siv: 'menu'
|
|
|
});
|
|
|
});
|
|
|
} else if (str == 'zuijin') {
|
|
|
//距离最近
|
|
|
if (that.storeJobListSearchForm.lng && that.storeJobListSearchForm.lat) {
|
|
|
that.storeJobListSearchForm.sortTag = 2;
|
|
|
that.setData({
|
|
|
firstMenu: '距离',
|
|
|
// storeJobListSearchForm: tha t.data.storeJobListSearchForm,
|
|
|
recordList: []
|
|
|
});
|
|
|
that.getJobList().then(function () {
|
|
|
that.setData({
|
|
|
siv: 'menu'
|
|
|
});
|
|
|
});
|
|
|
} else {
|
|
|
uni.getLocation({
|
|
|
type: 'gcj02',
|
|
|
success: function success(res1) {
|
|
|
console.log('获取位置1');
|
|
|
app.globalData.lng = res1.longitude;
|
|
|
app.globalData.lat = res1.latitude;
|
|
|
that.storeJobListSearchForm.lng = res1.longitude;
|
|
|
that.storeJobListSearchForm.lat = res1.latitude;
|
|
|
that.storeJobListSearchForm.sortTag = 2;
|
|
|
that.storeJobListSearchForm.pageNum = 1;
|
|
|
that.setData({
|
|
|
firstMenu: '距离',
|
|
|
storeJobListSearchForm: that.storeJobListSearchForm,
|
|
|
recordList: []
|
|
|
});
|
|
|
that.getJobList().then(function () {
|
|
|
that.setData({
|
|
|
siv: 'menu'
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
fail: function fail() {
|
|
|
console.log('获取位置失败,打开位置设置界面');
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
} else if (str == 'zuigao') {
|
|
|
//工价最高
|
|
|
that.storeJobListSearchForm.sortTag = 1;
|
|
|
that.storeJobListSearchForm.pageNum = 1;
|
|
|
that.setData({
|
|
|
storeJobListSearchForm: that.storeJobListSearchForm,
|
|
|
firstMenu: '工价',
|
|
|
recordList: []
|
|
|
});
|
|
|
that.getJobList().then(function () {
|
|
|
that.setData({
|
|
|
siv: 'menu'
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
that.setData({
|
|
|
activez: str
|
|
|
});
|
|
|
that.setData({
|
|
|
whichOneShow: '',
|
|
|
siv: ''
|
|
|
});
|
|
|
// setTimeout(() => {
|
|
|
// that.setData({
|
|
|
// whichOneShow: "",
|
|
|
// });
|
|
|
// console.log(this.data.whichOneShow);
|
|
|
// console.log("112233");
|
|
|
// }, 1);
|
|
|
}), (0, _defineProperty2.default)(_methods, "clearFilter", function clearFilter() {
|
|
|
var that = this;
|
|
|
that.jobSpecialLabelList.forEach(function (item) {
|
|
|
// console.log(item);
|
|
|
if (item.checked) {
|
|
|
item.checked = false;
|
|
|
}
|
|
|
});
|
|
|
that.brandList.forEach(function (item) {
|
|
|
if (item.checked) {
|
|
|
item.checked = false;
|
|
|
}
|
|
|
});
|
|
|
that.storeJobListSearchForm.jobSpecialLabelIds = '';
|
|
|
// that.data.storeJobListSearchForm.ujc =
|
|
|
// that.data.storeJobListSearchForm.brandIds = "";
|
|
|
that.storeJobListSearchForm.jobCategoryLabelIds = '';
|
|
|
that.storeJobListSearchForm.pageNum = 1;
|
|
|
that.storeJobListSearchForm.sortTag = 0;
|
|
|
that.storeJobListSearchForm.sex = -1;
|
|
|
that.setData({
|
|
|
jobSpecialLabelList: that.jobSpecialLabelList,
|
|
|
tagArray0: that.tagArray0,
|
|
|
tagArray1: that.tagArray1,
|
|
|
tagArray2: that.tagArray2,
|
|
|
tagArray3: that.tagArray3,
|
|
|
brandList: that.brandList,
|
|
|
selectJobList: [],
|
|
|
selectBrandList: [],
|
|
|
recordList: [],
|
|
|
whichOneShow: '',
|
|
|
firstMenu: '排序',
|
|
|
secondMenu: '不限',
|
|
|
sexid: -1,
|
|
|
activez: 'all'
|
|
|
});
|
|
|
if (!that.isWannaShow) {
|
|
|
// that.choiceFilter({
|
|
|
// currentTarget: {
|
|
|
// dataset: {
|
|
|
// id: "all",
|
|
|
// },
|
|
|
// },
|
|
|
// });
|
|
|
// that.choiceSex({
|
|
|
// currentTarget: {
|
|
|
// dataset: {
|
|
|
// id: "-1",
|
|
|
// },
|
|
|
// },
|
|
|
// });
|
|
|
that.getJobList('isWannaShow');
|
|
|
}
|
|
|
}), (0, _defineProperty2.default)(_methods, "scroll", function scroll(e) {
|
|
|
e.preventDefault();
|
|
|
e.stopPropagation();
|
|
|
}), (0, _defineProperty2.default)(_methods, "stoptap", function stoptap(e) {
|
|
|
e.preventDefault();
|
|
|
e.stopPropagation();
|
|
|
}), (0, _defineProperty2.default)(_methods, "changeContact", function changeContact() {
|
|
|
console.log(2123);
|
|
|
uni.navigateTo({
|
|
|
url: "/pages/configAnnunciate/index"
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "hidedrawershow", function hidedrawershow(e) {
|
|
|
console.log(e);
|
|
|
this.setData((0, _defineProperty2.default)({}, e.detail.type, false));
|
|
|
uni.showTabBar({
|
|
|
animation: false,
|
|
|
success: function success(result) {},
|
|
|
fail: function fail() {},
|
|
|
complete: function complete() {}
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "hideDrawer", function hideDrawer() {
|
|
|
var that = this;
|
|
|
this.getTabBar().setData({
|
|
|
isShow: true
|
|
|
});
|
|
|
that.setData({
|
|
|
drawerShow: false
|
|
|
});
|
|
|
// this.getJobList();
|
|
|
// setTimeout(() => {
|
|
|
// wx.showTabBar({
|
|
|
// success(e) {},
|
|
|
// });
|
|
|
// }, 300);
|
|
|
}), (0, _defineProperty2.default)(_methods, "recordBill", function recordBill(e) {
|
|
|
// if (!this.data.isLogin) {
|
|
|
// wx.navigateTo({
|
|
|
// url: "/pages/login/index",
|
|
|
// });
|
|
|
// return;
|
|
|
// }
|
|
|
console.log(e.currentTarget.dataset.job);
|
|
|
this.setData({
|
|
|
recordShow: true,
|
|
|
currentInfo: e.currentTarget.dataset.job
|
|
|
});
|
|
|
console.log(this.recordShow);
|
|
|
uni.hideTabBar({
|
|
|
animation: false,
|
|
|
success: function success(result) {},
|
|
|
fail: function fail() {},
|
|
|
complete: function complete() {}
|
|
|
});
|
|
|
return;
|
|
|
console.log(e.currentTarget.dataset.job);
|
|
|
console.log(123);
|
|
|
var middleInfo = e.currentTarget.dataset.job;
|
|
|
var info = JSON.stringify({
|
|
|
id: middleInfo.id,
|
|
|
jobName: middleInfo.jobName,
|
|
|
storeName: middleInfo.storeName,
|
|
|
aliasName: middleInfo.aliasName,
|
|
|
storeId: middleInfo.storeId
|
|
|
});
|
|
|
console.log(info);
|
|
|
uni.navigateTo({
|
|
|
url: "../../newEnroll/enroll/index?applyType=1&info=".concat(info)
|
|
|
});
|
|
|
// wx.navigateTo({
|
|
|
// url: `../newEnroll/enroll/index?applyType=1&info=${info}`,
|
|
|
// });
|
|
|
}), (0, _defineProperty2.default)(_methods, "imageLoad", function imageLoad() {
|
|
|
this.setData({
|
|
|
isLoading: false
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "setKey", function setKey(e) {
|
|
|
console.log(e);
|
|
|
var data = e.currentTarget.dataset.key;
|
|
|
this.storeJobListSearchForm.keys = data;
|
|
|
this.setData({
|
|
|
inputVal: data,
|
|
|
isWannaShow: false
|
|
|
});
|
|
|
this.setHistoryList();
|
|
|
this.getJobList();
|
|
|
}), (0, _defineProperty2.default)(_methods, "funQC", function funQC(arr) {
|
|
|
var newsArr = [];
|
|
|
for (var i = 0; i < arr.length; i++) {
|
|
|
if (app.globalData.isEmptyCheck(arr[i])) {
|
|
|
continue;
|
|
|
}
|
|
|
if (newsArr.indexOf(arr[i]) === -1) {
|
|
|
newsArr.push(arr[i]);
|
|
|
}
|
|
|
}
|
|
|
return newsArr;
|
|
|
}), (0, _defineProperty2.default)(_methods, "closeDialog", function closeDialog() {
|
|
|
this.setData({
|
|
|
iosDialog: false
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "clearNearSearch", function clearNearSearch() {
|
|
|
var that = this;
|
|
|
uni.showModal({
|
|
|
title: '删除最近搜索',
|
|
|
content: '确定删除所有的最近搜索吗?',
|
|
|
contentColor: '#ccc',
|
|
|
confirmColor: '#ff4400',
|
|
|
confirmText: '确定',
|
|
|
cancelText: '取消',
|
|
|
success: function success(res) {
|
|
|
console.log(res);
|
|
|
if (res.confirm) {
|
|
|
that.setData({
|
|
|
historyList: []
|
|
|
});
|
|
|
uni.removeStorageSync('projectSearch');
|
|
|
uni.showToast({
|
|
|
title: '已删除',
|
|
|
icon: 'none'
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
}), (0, _defineProperty2.default)(_methods, "modalMove", function modalMove() {
|
|
|
return false;
|
|
|
}), _methods)
|
|
|
};
|
|
|
exports.default = _default;
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 76:
|
|
|
/*!********************************************************************************************************************************************!*\
|
|
|
!*** /Users/zhangshaokang/Desktop/git/yicaijob_view/dandelionPlatform2_uni/pages/jobListSearch/index.vue?vue&type=style&index=0&lang=css& ***!
|
|
|
\********************************************************************************************************************************************/
|
|
|
/*! no static exports found */
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
/* harmony import */ var _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___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../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??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??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& */ 77);
|
|
|
/* harmony import */ var _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___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_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___WEBPACK_IMPORTED_MODULE_0__);
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _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___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _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___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
/* harmony default export */ __webpack_exports__["default"] = (_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___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 77:
|
|
|
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/zhangshaokang/Desktop/git/yicaijob_view/dandelionPlatform2_uni/pages/jobListSearch/index.vue?vue&type=style&index=0&lang=css& ***!
|
|
|
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
|
/*! no static exports found */
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
if(false) { var cssReload; }
|
|
|
|
|
|
|
|
|
/***/ })
|
|
|
|
|
|
},[[70,"common/runtime","common/vendor"]]]);
|
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/jobListSearch/index.js.map
|