(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/artisan/service-skills"],{ /***/ 321: /*!*********************************************************************************************************!*\ !*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/main.js?{"page":"pages%2Fartisan%2Fservice-skills"} ***! \*********************************************************************************************************/ /*! 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 */ 30); var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25)); var _serviceSkills = _interopRequireDefault(__webpack_require__(/*! ./pages/artisan/service-skills.vue */ 322)); // @ts-ignore wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__; createPage(_serviceSkills.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"])) /***/ }), /***/ 322: /*!**************************************************************************************!*\ !*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/artisan/service-skills.vue ***! \**************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _service_skills_vue_vue_type_template_id_c38404f0_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./service-skills.vue?vue&type=template&id=c38404f0&scoped=true& */ 323); /* harmony import */ var _service_skills_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./service-skills.vue?vue&type=script&lang=js& */ 325); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _service_skills_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 _service_skills_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _service_skills_vue_vue_type_style_index_0_id_c38404f0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./service-skills.vue?vue&type=style&index=0&id=c38404f0&scoped=true&lang=css& */ 327); /* harmony import */ var _Applications_HBuilderX_Alpha_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-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 42); var renderjs /* normalize component */ var component = Object(_Applications_HBuilderX_Alpha_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"])( _service_skills_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _service_skills_vue_vue_type_template_id_c38404f0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], _service_skills_vue_vue_type_template_id_c38404f0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, "c38404f0", null, false, _service_skills_vue_vue_type_template_id_c38404f0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "pages/artisan/service-skills.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /***/ 323: /*!*********************************************************************************************************************************!*\ !*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/artisan/service-skills.vue?vue&type=template&id=c38404f0&scoped=true& ***! \*********************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _Applications_HBuilderX_Alpha_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_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_vue_vue_type_template_id_c38404f0_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Applications/HBuilderX-Alpha.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-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./service-skills.vue?vue&type=template&id=c38404f0&scoped=true& */ 324); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Applications_HBuilderX_Alpha_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_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_vue_vue_type_template_id_c38404f0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Applications_HBuilderX_Alpha_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_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_vue_vue_type_template_id_c38404f0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Applications_HBuilderX_Alpha_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_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_vue_vue_type_template_id_c38404f0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Applications_HBuilderX_Alpha_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_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_vue_vue_type_template_id_c38404f0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /***/ 324: /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/artisan/service-skills.vue?vue&type=template&id=c38404f0&scoped=true& ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 try { components = { customNavbar: function () { return Promise.all(/*! import() | components/custom-navbar/custom-navbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/custom-navbar/custom-navbar")]).then(__webpack_require__.bind(null, /*! @/components/custom-navbar/custom-navbar.vue */ 1437)) }, } } catch (e) { if ( e.message.indexOf("Cannot find module") !== -1 && e.message.indexOf(".vue") !== -1 ) { console.error(e.message) console.error("1. 排查组件名称拼写是否正确") console.error( "2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" ) console.error( "3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" ) } else { throw e } } var render = function () { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h var l0 = !_vm.showPendingSkills ? _vm.__map(_vm.serviceList, function (skill, index) { var $orig = _vm.__get_orig(skill) var m0 = _vm.isCurrentSkillSelected(skill.id) var m1 = _vm.isCurrentSkillSelected(skill.id) return { $orig: $orig, m0: m0, m1: m1, } }) : null _vm.$mp.data = Object.assign( {}, { $root: { l0: l0, }, } ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /***/ 325: /*!***************************************************************************************************************!*\ !*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/artisan/service-skills.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_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./service-skills.vue?vue&type=script&lang=js& */ 326); /* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_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_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /***/ 326: /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/artisan/service-skills.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 _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 34)); var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11)); var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 36)); var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18)); var _request = _interopRequireDefault(__webpack_require__(/*! ../../utils/request */ 37)); 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 _default = { data: function data() { return { serviceList: [], // 服务技能列表 selectedSkills: [], // 已选中的技能ID(待审核的) originalSkills: [], // 原始选中的技能ID(当前生效的) editable: false, // 是否可编辑 buttonType: 'change', // 按钮类型: change-去变更信息, edit-取消/提交, view-查看我的变更 showAuditTip: false, // 是否显示审核中提示 auditStatus: null, // 审核状态 applyId: null, // 申请ID isLoading: true, // 添加加载状态 showPendingSkills: false, // 是否显示待审核的技能 currentSkills: [], // 当前生效的技能ID navTitle: '服务技能', // 导航栏标题 buttonAreaHeight: 120, // 按钮区域高度,用于计算底部padding backText: '', // 驳回原因 identity: '', // 用户身份 lastApplyTime: null //记录最后申请时间 }; }, computed: { selectedSkillsText: function selectedSkillsText() { var selectedTitles = this.serviceList.filter(function (item) { return item.checked; }).map(function (item) { return item.title; }); return selectedTitles.join('、'); }, hasChanges: function hasChanges() { // 检查是否有变更 var current = (0, _toConsumableArray2.default)(this.selectedSkills).sort().join(','); var original = (0, _toConsumableArray2.default)(this.originalSkills).sort().join(','); return current !== original; }, // 检查是否有待处理的申请(基于时间) hasPendingApply: function hasPendingApply() { if (!this.lastApplyTime) return false; // 如果最后申请时间在驳回时间之后,说明有新的申请 return true; }, // 控制驳回提示是否显示 shouldShowRejectReason: function shouldShowRejectReason() { // 只有在审核驳回状态、不显示待审核技能、且没有待处理申请时才显示驳回提示 return this.auditStatus === 3 && !this.showPendingSkills && this.backText && !this.hasPendingApply; } }, onLoad: function onLoad() { this.initPage(); }, onShow: function onShow() { // 页面显示时重新加载数据,确保显示最新状态 this.initPage(); }, onReady: function onReady() { // 获取按钮区域高度,用于设置页面内容padding this.getButtonAreaHeight(); }, methods: { // 初始化页面 initPage: function initPage() { var _this = this; return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() { return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _this.isLoading = true; _context.prev = 1; _context.next = 4; return _this.loadServiceSkills(); case 4: _context.next = 6; return _this.loadApplyDetails(); case 6: _context.next = 11; break; case 8: _context.prev = 8; _context.t0 = _context["catch"](1); console.error('初始化页面失败:', _context.t0); case 11: _context.prev = 11; _this.isLoading = false; return _context.finish(11); case 14: case "end": return _context.stop(); } } }, _callee, null, [[1, 8, 11, 14]]); }))(); }, // 清理驳回技能存储的逻辑 cleanupRejectedSkillsIfNeeded: function cleanupRejectedSkillsIfNeeded() { var _this2 = this; return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() { var rejectedSkills, lastApplyTime, currentSkills, currentSorted, rejectedSorted; return _regenerator.default.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: _context2.prev = 0; rejectedSkills = uni.getStorageSync('rejectedSkills'); lastApplyTime = uni.getStorageSync('lastApplyTime'); if (!(rejectedSkills && rejectedSkills.length > 0)) { _context2.next = 10; break; } _context2.next = 6; return _this2.getCurrentEffectiveSkillIds(); case 6: currentSkills = _context2.sent; currentSorted = (0, _toConsumableArray2.default)(currentSkills).sort().join(','); rejectedSorted = (0, _toConsumableArray2.default)(rejectedSkills).sort().join(','); // 如果当前生效技能与被驳回技能不一致,说明有新的申请已生效 if (currentSorted !== rejectedSorted) { console.log('检测到技能已变更,清理驳回相关存储'); uni.removeStorageSync('rejectedSkills'); uni.removeStorageSync('lastRejectTime'); } case 10: _context2.next = 15; break; case 12: _context2.prev = 12; _context2.t0 = _context2["catch"](0); console.error('清理驳回技能存储失败:', _context2.t0); case 15: case "end": return _context2.stop(); } } }, _callee2, null, [[0, 12]]); }))(); }, // 获取按钮区域高度 getButtonAreaHeight: function getButtonAreaHeight() { var _this3 = this; // 使用setTimeout确保DOM已渲染 setTimeout(function () { var query = uni.createSelectorQuery().in(_this3); query.select('.bottom-actions').boundingClientRect(function (data) { if (data) { _this3.buttonAreaHeight = data.height + 20; // 增加一些边距 } }).exec(); }, 100); }, // 更新导航栏标题 updateNavTitle: function updateNavTitle() { if (this.editable || this.showPendingSkills) { this.navTitle = '服务技能变更'; } else { this.navTitle = '服务技能'; } }, // 加载服务技能列表 loadServiceSkills: function loadServiceSkills() { var _this4 = this; return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() { var res; return _regenerator.default.wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: _context3.prev = 0; _context3.next = 3; return _request.default.post('/user/firstclass'); case 3: res = _context3.sent; _this4.serviceList = res.data.map(function (item) { return _objectSpread(_objectSpread({}, item), {}, { checked: false }); }); console.log('服务技能列表:', _this4.serviceList); _context3.next = 12; break; case 8: _context3.prev = 8; _context3.t0 = _context3["catch"](0); console.error('加载服务技能失败:', _context3.t0); uni.showToast({ title: '加载服务技能失败', icon: 'none' }); case 12: case "end": return _context3.stop(); } } }, _callee3, null, [[0, 8]]); }))(); }, // 加载申请详情 - 手艺人接口 loadApplyDetails: function loadApplyDetails() { var _this5 = this; return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() { var res, detail, skillIds; return _regenerator.default.wrap(function _callee4$(_context4) { while (1) { switch (_context4.prev = _context4.next) { case 0: _context4.prev = 0; console.log('开始加载手艺人申请详情...'); _context4.next = 4; return _request.default.post('/syr/userSyrAuth/details', { apply_type: 2 // 服务技能变更 }); case 4: res = _context4.sent; console.log('手艺人申请详情接口返回:', res); if (!(res.code === 200 && res.data)) { _context4.next = 43; break; } detail = res.data; _this5.applyId = detail.id; _this5.auditStatus = detail.apply_state; _this5.backText = detail.back_text || ''; // 获取驳回原因 console.log('审核状态:', _this5.auditStatus); console.log('原始servers_kill数据:', detail.servers_kill); // 处理服务技能数据 if (!detail.servers_kill) { _context4.next = 38; break; } skillIds = []; if (Array.isArray(detail.servers_kill)) { skillIds = detail.servers_kill.map(function (id) { var num = parseInt(id); return isNaN(num) ? null : num; }).filter(function (id) { return id !== null; }); } else if (typeof detail.servers_kill === 'string') { skillIds = detail.servers_kill.split(',').map(function (id) { var num = parseInt(id.trim()); return isNaN(num) ? null : num; }).filter(function (id) { return id !== null; }); } console.log('解析后的技能ID:', skillIds); // 根据审核状态正确处理数据 if (!(_this5.auditStatus === 1)) { _context4.next = 23; break; } // 审核中 _this5.selectedSkills = (0, _toConsumableArray2.default)(skillIds); console.log('审核中,待审核技能:', _this5.selectedSkills); // 记录申请时间 uni.setStorageSync('lastApplyTime', new Date().getTime()); _context4.next = 37; break; case 23: if (!(_this5.auditStatus === 3)) { _context4.next = 28; break; } _context4.next = 26; return _this5.handleRejectedSkills(skillIds); case 26: _context4.next = 37; break; case 28: if (!(_this5.auditStatus === 2)) { _context4.next = 37; break; } // 审核通过 // 审核通过时,使用申请详情中的技能作为当前生效技能 _this5.currentSkills = (0, _toConsumableArray2.default)(skillIds); _this5.originalSkills = (0, _toConsumableArray2.default)(skillIds); _this5.selectedSkills = (0, _toConsumableArray2.default)(skillIds); console.log('审核通过,设置当前生效技能:', _this5.currentSkills); // 清理驳回相关存储 uni.removeStorageSync('rejectedSkills'); uni.removeStorageSync('lastRejectTime'); // 重要:审核通过后,强制重新加载当前生效技能以确保数据一致 _context4.next = 37; return _this5.forceReloadCurrentSkills(); case 37: _this5.updateCheckedStatus(); case 38: if (!(_this5.auditStatus !== 2)) { _context4.next = 41; break; } _context4.next = 41; return _this5.loadCurrentEffectiveSkills(); case 41: _context4.next = 48; break; case 43: console.log('申请详情返回数据为空或code不为200:', res); // 清理可能的驳回存储 uni.removeStorageSync('rejectedSkills'); uni.removeStorageSync('lastRejectTime'); _context4.next = 48; return _this5.loadCurrentEffectiveSkills(); case 48: // 更新页面状态 _this5.updatePageStatus(); _context4.next = 57; break; case 51: _context4.prev = 51; _context4.t0 = _context4["catch"](0); console.error('加载申请详情失败:', _context4.t0); // 出错时也尝试加载当前生效的技能 _context4.next = 56; return _this5.loadCurrentEffectiveSkills(); case 56: _this5.updatePageStatus(); case 57: case "end": return _context4.stop(); } } }, _callee4, null, [[0, 51]]); }))(); }, // 新增方法:强制重新加载当前生效技能 forceReloadCurrentSkills: function forceReloadCurrentSkills() { var _this6 = this; return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() { var currentSkills, approvedSorted, currentSorted; return _regenerator.default.wrap(function _callee5$(_context5) { while (1) { switch (_context5.prev = _context5.next) { case 0: _context5.prev = 0; console.log('强制重新加载当前生效技能...'); _context5.next = 4; return _this6.getCurrentEffectiveSkillIds(); case 4: currentSkills = _context5.sent; // 比较申请通过的数据和当前生效数据 approvedSorted = (0, _toConsumableArray2.default)(_this6.currentSkills).sort().join(','); currentSorted = (0, _toConsumableArray2.default)(currentSkills).sort().join(','); console.log('申请通过技能:', approvedSorted); console.log('当前生效技能:', currentSorted); if (approvedSorted !== currentSorted) { console.log('数据不一致,使用申请通过的数据'); // 保持使用申请通过的数据 } else { console.log('数据一致,使用当前生效数据'); _this6.currentSkills = (0, _toConsumableArray2.default)(currentSkills); _this6.originalSkills = (0, _toConsumableArray2.default)(currentSkills); _this6.selectedSkills = (0, _toConsumableArray2.default)(currentSkills); } _this6.updateCheckedStatus(); _context5.next = 16; break; case 13: _context5.prev = 13; _context5.t0 = _context5["catch"](0); console.error('强制重新加载当前生效技能失败:', _context5.t0); case 16: case "end": return _context5.stop(); } } }, _callee5, null, [[0, 13]]); }))(); }, // 处理驳回技能逻辑 handleRejectedSkills: function handleRejectedSkills(rejectedSkillIds) { var _this7 = this; return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() { var storedRejectedSkills, lastRejectTime, currentSkills, rejectedSorted, storedSorted, currentSorted; return _regenerator.default.wrap(function _callee6$(_context6) { while (1) { switch (_context6.prev = _context6.next) { case 0: storedRejectedSkills = uni.getStorageSync('rejectedSkills'); lastRejectTime = uni.getStorageSync('lastRejectTime'); // 获取当前生效技能进行比较 _context6.next = 4; return _this7.getCurrentEffectiveSkillIds(); case 4: currentSkills = _context6.sent; rejectedSorted = (0, _toConsumableArray2.default)(rejectedSkillIds).sort().join(','); storedSorted = storedRejectedSkills ? (0, _toConsumableArray2.default)(storedRejectedSkills).sort().join(',') : ''; currentSorted = (0, _toConsumableArray2.default)(currentSkills).sort().join(','); console.log('驳回数据比较:', { rejectedSorted: rejectedSorted, storedSorted: storedSorted, currentSorted: currentSorted }); // 如果驳回的技能与当前生效技能相同,说明驳回数据过时 if (!(rejectedSorted === currentSorted)) { _context6.next = 16; break; } console.log('驳回数据与当前生效技能相同,可能数据过时,忽略本次驳回数据'); _this7.selectedSkills = (0, _toConsumableArray2.default)(currentSkills); // 清理驳回存储 uni.removeStorageSync('rejectedSkills'); uni.removeStorageSync('lastRejectTime'); _this7.backText = ''; // 清空驳回原因 return _context6.abrupt("return"); case 16: // 如果驳回技能与存储的驳回技能不同,更新存储 if (rejectedSorted !== storedSorted) { console.log('发现新的驳回数据,更新存储:', rejectedSkillIds); uni.setStorageSync('rejectedSkills', rejectedSkillIds); uni.setStorageSync('lastRejectTime', new Date().getTime()); } _this7.selectedSkills = (0, _toConsumableArray2.default)(rejectedSkillIds); console.log('审核驳回,被驳回技能:', _this7.selectedSkills); case 19: case "end": return _context6.stop(); } } }, _callee6); }))(); }, // 获取当前生效技能ID getCurrentEffectiveSkillIds: function getCurrentEffectiveSkillIds() { return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() { var params, res, skillIds; return _regenerator.default.wrap(function _callee7$(_context7) { while (1) { switch (_context7.prev = _context7.next) { case 0: _context7.prev = 0; params = { type: 2, // 手艺人 _t: new Date().getTime() // 添加时间戳防止缓存 }; _context7.next = 4; return _request.default.post('/user/getuser', params); case 4: res = _context7.sent; if (!(res.state === 1 && res.data && res.data.servers_kill)) { _context7.next = 10; break; } skillIds = []; if (Array.isArray(res.data.servers_kill)) { skillIds = res.data.servers_kill.map(function (id) { return parseInt(id); }).filter(function (id) { return !isNaN(id); }); } else if (typeof res.data.servers_kill === 'string') { skillIds = res.data.servers_kill.split(',').map(function (id) { return parseInt(id.trim()); }).filter(function (id) { return !isNaN(id); }); } console.log('获取到的当前生效技能ID:', skillIds); return _context7.abrupt("return", skillIds); case 10: return _context7.abrupt("return", []); case 13: _context7.prev = 13; _context7.t0 = _context7["catch"](0); console.error('获取当前生效技能失败:', _context7.t0); return _context7.abrupt("return", []); case 17: case "end": return _context7.stop(); } } }, _callee7, null, [[0, 13]]); }))(); }, // 加载当前生效的服务技能 loadCurrentEffectiveSkills: function loadCurrentEffectiveSkills() { var _this8 = this; return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() { var currentSkills; return _regenerator.default.wrap(function _callee8$(_context8) { while (1) { switch (_context8.prev = _context8.next) { case 0: _context8.prev = 0; console.log('开始加载当前生效的服务技能...'); _context8.next = 4; return _this8.getCurrentEffectiveSkillIds(); case 4: currentSkills = _context8.sent; _this8.currentSkills = (0, _toConsumableArray2.default)(currentSkills); _this8.originalSkills = (0, _toConsumableArray2.default)(currentSkills); console.log('当前生效的技能ID:', _this8.currentSkills); // 只有在无申请状态或审核驳回状态时,才用当前技能更新选中技能 if (_this8.auditStatus === null || _this8.auditStatus === 3) { _this8.selectedSkills = (0, _toConsumableArray2.default)(currentSkills); } // 审核中状态保持原有的selectedSkills不变 _this8.updateCheckedStatus(); _context8.next = 19; break; case 12: _context8.prev = 12; _context8.t0 = _context8["catch"](0); console.error('加载当前生效技能失败:', _context8.t0); _this8.currentSkills = []; _this8.originalSkills = []; if (_this8.auditStatus !== 1) { _this8.selectedSkills = []; } _this8.updateCheckedStatus(); case 19: case "end": return _context8.stop(); } } }, _callee8, null, [[0, 12]]); }))(); }, // 检查技能是否在当前生效的技能中 isCurrentSkillSelected: function isCurrentSkillSelected(skillId) { return this.currentSkills.includes(skillId); }, // 更新选中状态(用于待审核的技能) updateCheckedStatus: function updateCheckedStatus() { var _this9 = this; console.log('更新选中状态,当前服务技能列表:', this.serviceList); console.log('要选中的技能ID:', this.selectedSkills); this.serviceList.forEach(function (item) { item.checked = _this9.selectedSkills.includes(item.id); }); }, // 根据审核状态更新页面状态 updatePageStatus: function updatePageStatus() { console.log('更新页面状态,审核状态:', this.auditStatus); if (this.auditStatus === 1) { // 审核中 this.showAuditTip = true; this.buttonType = 'view'; this.editable = false; this.showPendingSkills = false; } else if (this.auditStatus === 3) { // 审核驳回 // 检查驳回数据是否有效 var rejectedSkills = uni.getStorageSync('rejectedSkills'); var rejectedSorted = rejectedSkills ? (0, _toConsumableArray2.default)(rejectedSkills).sort().join(',') : ''; var currentSorted = (0, _toConsumableArray2.default)(this.currentSkills).sort().join(','); console.log('驳回数据有效性检查:', { rejectedSorted: rejectedSorted, currentSorted: currentSorted }); // 如果驳回技能与当前技能相同,说明驳回数据无效 if (rejectedSorted === currentSorted) { console.log('驳回数据无效,按无申请状态处理'); this.showAuditTip = false; this.buttonType = 'change'; this.editable = false; this.showPendingSkills = false; this.backText = ''; // 清空驳回原因 // 清理存储 uni.removeStorageSync('rejectedSkills'); uni.removeStorageSync('lastRejectTime'); } else { this.showAuditTip = false; this.buttonType = 'change'; this.editable = false; this.showPendingSkills = false; } } else if (this.auditStatus === 2) { // 审核通过 // 审核通过时,确保显示正确的状态 this.showAuditTip = false; this.buttonType = 'change'; this.editable = false; this.showPendingSkills = false; console.log('审核通过状态,当前生效技能:', this.currentSkills); } else { // 无申请 this.showAuditTip = false; this.buttonType = 'change'; this.editable = false; this.showPendingSkills = false; } this.updateNavTitle(); console.log('最终页面状态:', { showAuditTip: this.showAuditTip, buttonType: this.buttonType, editable: this.editable, showPendingSkills: this.showPendingSkills, currentSkills: this.currentSkills, selectedSkills: this.selectedSkills, backText: this.backText }); }, // 切换技能选择状态(仅用于编辑模式) toggleSkillSelect: function toggleSkillSelect(index) { if (!this.editable) return; this.$set(this.serviceList[index], 'checked', !this.serviceList[index].checked); // 更新选中的技能ID数组 this.selectedSkills = this.serviceList.filter(function (item) { return item.checked; }).map(function (item) { return item.id; }); console.log('当前选中的技能ID:', this.selectedSkills); }, // 切换显示待审核的技能 togglePendingSkills: function togglePendingSkills() { this.showPendingSkills = !this.showPendingSkills; // 更新导航栏标题 this.updateNavTitle(); }, // 开始变更 startChange: function startChange() { this.editable = true; this.buttonType = 'edit'; // 进入编辑模式时,显示待审核的技能 this.showPendingSkills = true; // 更新导航栏标题 this.updateNavTitle(); }, // 取消变更 cancelChange: function cancelChange() { // 恢复原始选择 this.selectedSkills = (0, _toConsumableArray2.default)(this.originalSkills); this.updateCheckedStatus(); this.editable = false; this.buttonType = 'change'; this.showPendingSkills = false; // 取消后显示当前生效的技能 // 更新导航栏标题 this.updateNavTitle(); }, // 提交变更 - 手艺人接口(修改为数组格式) submitChange: function submitChange() { var _this10 = this; return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10() { var params, res; return _regenerator.default.wrap(function _callee10$(_context10) { while (1) { switch (_context10.prev = _context10.next) { case 0: if (!(_this10.selectedSkills.length === 0)) { _context10.next = 3; break; } uni.showToast({ title: '请至少选择一个服务技能', icon: 'none' }); return _context10.abrupt("return"); case 3: if (_this10.hasChanges) { _context10.next = 6; break; } uni.showToast({ title: '未检测到变更', icon: 'none' }); return _context10.abrupt("return"); case 6: _context10.prev = 6; uni.showLoading({ title: '提交中...' }); params = { apply_type: 2, // 服务技能变更 servers_kill: _this10.selectedSkills // 直接传递数组 }; console.log('提交的数据:', params); _context10.next = 12; return _request.default.post('/syr/userSyrAuth/apply', params); case 12: res = _context10.sent; uni.hideLoading(); if (res.code === 200) { uni.showToast({ title: '提交成功', icon: 'none' }); // 清理驳回相关存储 uni.removeStorageSync('rejectedSkills'); uni.removeStorageSync('lastRejectTime'); // 记录申请时间 uni.setStorageSync('lastApplyTime', new Date().getTime()); // 更新页面状态为审核中 _this10.showAuditTip = true; _this10.editable = false; _this10.buttonType = 'view'; _this10.auditStatus = 1; // 审核中 _this10.showPendingSkills = false; // 提交后默认显示当前生效的技能 // 更新导航栏标题 _this10.updateNavTitle(); // 重要:提交后强制重新加载数据 setTimeout( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() { return _regenerator.default.wrap(function _callee9$(_context9) { while (1) { switch (_context9.prev = _context9.next) { case 0: _context9.next = 2; return _this10.loadApplyDetails(); case 2: case "end": return _context9.stop(); } } }, _callee9); })), 1000); // 重新加载申请详情获取最新状态 setTimeout(function () { _this10.loadApplyDetails(); }, 1000); } else { uni.showToast({ title: res.msg || '提交失败', icon: 'none' }); } _context10.next = 22; break; case 17: _context10.prev = 17; _context10.t0 = _context10["catch"](6); uni.hideLoading(); console.error('提交变更失败:', _context10.t0); uni.showToast({ title: '提交失败', icon: 'none' }); case 22: case "end": return _context10.stop(); } } }, _callee10, null, [[6, 17]]); }))(); } } }; exports.default = _default; /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) /***/ }), /***/ 327: /*!***********************************************************************************************************************************************!*\ !*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/artisan/service-skills.vue?vue&type=style&index=0&id=c38404f0&scoped=true&lang=css& ***! \***********************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_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_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_vue_vue_type_style_index_0_id_c38404f0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./service-skills.vue?vue&type=style&index=0&id=c38404f0&scoped=true&lang=css& */ 328); /* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_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_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_vue_vue_type_style_index_0_id_c38404f0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_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_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_vue_vue_type_style_index_0_id_c38404f0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_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_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_vue_vue_type_style_index_0_id_c38404f0_scoped_true_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_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_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_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_vue_vue_type_style_index_0_id_c38404f0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_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_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_service_skills_vue_vue_type_style_index_0_id_c38404f0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /***/ 328: /*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/artisan/service-skills.vue?vue&type=style&index=0&id=c38404f0&scoped=true&lang=css& ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // extracted by mini-css-extract-plugin if(false) { var cssReload; } /***/ }) },[[321,"common/runtime","common/vendor"]]]); //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/artisan/service-skills.js.map