1406 lines
84 KiB
JavaScript
1406 lines
84 KiB
JavaScript
|
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/artisan/qualification_syr_change"],{
|
|||
|
|
|
|||
|
|
/***/ 338:
|
|||
|
|
/*!*******************************************************************************************************************!*\
|
|||
|
|
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/main.js?{"page":"pages%2Fartisan%2Fqualification_syr_change"} ***!
|
|||
|
|
\*******************************************************************************************************************/
|
|||
|
|
/*! 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 _qualification_syr_change = _interopRequireDefault(__webpack_require__(/*! ./pages/artisan/qualification_syr_change.vue */ 339));
|
|||
|
|
// @ts-ignore
|
|||
|
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
|||
|
|
createPage(_qualification_syr_change.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"]))
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ 339:
|
|||
|
|
/*!************************************************************************************************!*\
|
|||
|
|
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/artisan/qualification_syr_change.vue ***!
|
|||
|
|
\************************************************************************************************/
|
|||
|
|
/*! no static exports found */
|
|||
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|||
|
|
|
|||
|
|
"use strict";
|
|||
|
|
__webpack_require__.r(__webpack_exports__);
|
|||
|
|
/* harmony import */ var _qualification_syr_change_vue_vue_type_template_id_1986c801_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./qualification_syr_change.vue?vue&type=template&id=1986c801&scoped=true& */ 340);
|
|||
|
|
/* harmony import */ var _qualification_syr_change_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./qualification_syr_change.vue?vue&type=script&lang=js& */ 342);
|
|||
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _qualification_syr_change_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 _qualification_syr_change_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|||
|
|
/* harmony import */ var _qualification_syr_change_vue_vue_type_style_index_0_id_1986c801_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./qualification_syr_change.vue?vue&type=style&index=0&id=1986c801&scoped=true&lang=css& */ 344);
|
|||
|
|
/* 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"])(
|
|||
|
|
_qualification_syr_change_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|||
|
|
_qualification_syr_change_vue_vue_type_template_id_1986c801_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|||
|
|
_qualification_syr_change_vue_vue_type_template_id_1986c801_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|||
|
|
false,
|
|||
|
|
null,
|
|||
|
|
"1986c801",
|
|||
|
|
null,
|
|||
|
|
false,
|
|||
|
|
_qualification_syr_change_vue_vue_type_template_id_1986c801_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
|
|||
|
|
renderjs
|
|||
|
|
)
|
|||
|
|
|
|||
|
|
component.options.__file = "pages/artisan/qualification_syr_change.vue"
|
|||
|
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ 340:
|
|||
|
|
/*!*******************************************************************************************************************************************!*\
|
|||
|
|
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/artisan/qualification_syr_change.vue?vue&type=template&id=1986c801&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_qualification_syr_change_vue_vue_type_template_id_1986c801_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!./qualification_syr_change.vue?vue&type=template&id=1986c801&scoped=true& */ 341);
|
|||
|
|
/* 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_qualification_syr_change_vue_vue_type_template_id_1986c801_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_qualification_syr_change_vue_vue_type_template_id_1986c801_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_qualification_syr_change_vue_vue_type_template_id_1986c801_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_qualification_syr_change_vue_vue_type_template_id_1986c801_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ 341:
|
|||
|
|
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|||
|
|
!*** ./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/qualification_syr_change.vue?vue&type=template&id=1986c801&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))
|
|||
|
|
},
|
|||
|
|
uniPopup: function () {
|
|||
|
|
return __webpack_require__.e(/*! import() | uni_modules/uni-popup/components/uni-popup/uni-popup */ "uni_modules/uni-popup/components/uni-popup/uni-popup").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-popup/components/uni-popup/uni-popup.vue */ 1379))
|
|||
|
|
},
|
|||
|
|
}
|
|||
|
|
} 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 m0 =
|
|||
|
|
_vm.formatDateForDisplay(_vm.displayData.health_card_start_date) ||
|
|||
|
|
"选择日期"
|
|||
|
|
var m1 =
|
|||
|
|
_vm.formatDateForDisplay(_vm.displayData.health_card_end_date) || "选择日期"
|
|||
|
|
var g0 = _vm.editable && _vm.displayData.qualifications.length < 9
|
|||
|
|
if (!_vm._isMounted) {
|
|||
|
|
_vm.e0 = function ($event) {
|
|||
|
|
_vm.editable ? _vm.chooseImage("health_card") : null
|
|||
|
|
}
|
|||
|
|
_vm.e1 = function ($event) {
|
|||
|
|
_vm.editable && _vm.setHealthCardValidType("permanent")
|
|||
|
|
}
|
|||
|
|
_vm.e2 = function ($event) {
|
|||
|
|
_vm.editable && _vm.setHealthCardValidType("date")
|
|||
|
|
}
|
|||
|
|
_vm.e3 = function ($event) {
|
|||
|
|
_vm.editable && _vm.openDatePicker("health_card_start_date")
|
|||
|
|
}
|
|||
|
|
_vm.e4 = function ($event) {
|
|||
|
|
_vm.editable &&
|
|||
|
|
_vm.displayData.health_card_expiry_type !== 1 &&
|
|||
|
|
_vm.openDatePicker("health_card_end_date")
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
_vm.$mp.data = Object.assign(
|
|||
|
|
{},
|
|||
|
|
{
|
|||
|
|
$root: {
|
|||
|
|
m0: m0,
|
|||
|
|
m1: m1,
|
|||
|
|
g0: g0,
|
|||
|
|
},
|
|||
|
|
}
|
|||
|
|
)
|
|||
|
|
}
|
|||
|
|
var recyclableRender = false
|
|||
|
|
var staticRenderFns = []
|
|||
|
|
render._withStripped = true
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ 342:
|
|||
|
|
/*!*************************************************************************************************************************!*\
|
|||
|
|
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/artisan/qualification_syr_change.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_qualification_syr_change_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!./qualification_syr_change.vue?vue&type=script&lang=js& */ 343);
|
|||
|
|
/* 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_qualification_syr_change_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_qualification_syr_change_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_qualification_syr_change_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_qualification_syr_change_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_qualification_syr_change_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ 343:
|
|||
|
|
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|||
|
|
!*** ./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/qualification_syr_change.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 _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
|
|||
|
|
var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
|
|||
|
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
|
|||
|
|
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 36));
|
|||
|
|
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; }
|
|||
|
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|||
|
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|||
|
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|||
|
|
var _default = {
|
|||
|
|
data: function data() {
|
|||
|
|
var currentDate = new Date();
|
|||
|
|
var currentYear = new Date().getFullYear();
|
|||
|
|
var years = Array.from({
|
|||
|
|
length: 130
|
|||
|
|
}, function (_, i) {
|
|||
|
|
return 1970 + i;
|
|||
|
|
});
|
|||
|
|
var months = Array.from({
|
|||
|
|
length: 12
|
|||
|
|
}, function (_, i) {
|
|||
|
|
return i + 1;
|
|||
|
|
});
|
|||
|
|
var days = Array.from({
|
|||
|
|
length: 31
|
|||
|
|
}, function (_, i) {
|
|||
|
|
return i + 1;
|
|||
|
|
});
|
|||
|
|
return {
|
|||
|
|
// 页面状态
|
|||
|
|
editable: false,
|
|||
|
|
buttonType: 'change',
|
|||
|
|
// change-变更信息, edit-取消/提交, view-查看我的变更, reject-重新提交
|
|||
|
|
showAuditTip: false,
|
|||
|
|
auditStatus: null,
|
|||
|
|
// 审核状态: null-无申请, 1-审核中, 2-审核通过, 3-审核驳回
|
|||
|
|
applyId: null,
|
|||
|
|
showPendingData: false,
|
|||
|
|
// 是否显示待审核数据
|
|||
|
|
navTitle: '资质信息',
|
|||
|
|
buttonAreaHeight: 120,
|
|||
|
|
backText: '',
|
|||
|
|
// 驳回原因
|
|||
|
|
hasResubmitted: false,
|
|||
|
|
// 数据管理
|
|||
|
|
originalData: {},
|
|||
|
|
// 老数据(当前生效的)
|
|||
|
|
pendingData: {},
|
|||
|
|
// 新数据(待审核的)
|
|||
|
|
displayData: {},
|
|||
|
|
// 当前显示的数据
|
|||
|
|
|
|||
|
|
// 用户信息
|
|||
|
|
userId: null,
|
|||
|
|
identity: null,
|
|||
|
|
applyType: 4,
|
|||
|
|
// 资质信息变更
|
|||
|
|
|
|||
|
|
// 表单相关
|
|||
|
|
currentDateField: '',
|
|||
|
|
years: years,
|
|||
|
|
months: months,
|
|||
|
|
days: days,
|
|||
|
|
dateValue: [currentYear - 1970, currentDate.getMonth(), currentDate.getDate() - 1],
|
|||
|
|
indicatorStyle: 'height: 68rpx;',
|
|||
|
|
userInfo: null,
|
|||
|
|
artisanInfo: null
|
|||
|
|
};
|
|||
|
|
},
|
|||
|
|
computed: {
|
|||
|
|
shouldShowRejectReason: function shouldShowRejectReason() {
|
|||
|
|
return this.auditStatus === 3 && !this.showPendingData && this.backText;
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
onLoad: function onLoad(options) {
|
|||
|
|
this.initPage();
|
|||
|
|
},
|
|||
|
|
onReady: function onReady() {
|
|||
|
|
this.getButtonAreaHeight();
|
|||
|
|
},
|
|||
|
|
onShow: function onShow() {
|
|||
|
|
// 只有在非编辑状态下才重新加载数据
|
|||
|
|
if (!this.editable) {
|
|||
|
|
console.log('非编辑状态,刷新数据');
|
|||
|
|
this.loadApplyDetails();
|
|||
|
|
if (this.auditStatus !== 3) {
|
|||
|
|
this.backText = '';
|
|||
|
|
this.hasResubmitted = false;
|
|||
|
|
}
|
|||
|
|
} else {
|
|||
|
|
console.log('编辑状态,保持当前状态不刷新');
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
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:
|
|||
|
|
_context.prev = 0;
|
|||
|
|
_context.next = 3;
|
|||
|
|
return _this.getUserInfo();
|
|||
|
|
case 3:
|
|||
|
|
_this.identity = getApp().globalData.artisanType;
|
|||
|
|
|
|||
|
|
// 获取用户详细信息
|
|||
|
|
_context.next = 6;
|
|||
|
|
return _this.getUserDetailInfo();
|
|||
|
|
case 6:
|
|||
|
|
_context.next = 8;
|
|||
|
|
return _this.loadApplyDetails();
|
|||
|
|
case 8:
|
|||
|
|
// 恢复保存的数据(如果有)
|
|||
|
|
_this.restoreData();
|
|||
|
|
_context.next = 15;
|
|||
|
|
break;
|
|||
|
|
case 11:
|
|||
|
|
_context.prev = 11;
|
|||
|
|
_context.t0 = _context["catch"](0);
|
|||
|
|
console.error('页面初始化失败:', _context.t0);
|
|||
|
|
uni.showToast({
|
|||
|
|
title: '页面加载失败',
|
|||
|
|
icon: 'none'
|
|||
|
|
});
|
|||
|
|
case 15:
|
|||
|
|
case "end":
|
|||
|
|
return _context.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee, null, [[0, 11]]);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
// 获取用户基本信息(获取用户ID)
|
|||
|
|
getUserInfo: function getUserInfo() {
|
|||
|
|
var _this2 = this;
|
|||
|
|
return new Promise(function (resolve, reject) {
|
|||
|
|
_request.default.post('/user/getuser', {
|
|||
|
|
type: 1
|
|||
|
|
}).then(function (result) {
|
|||
|
|
if (result.state === 1) {
|
|||
|
|
_this2.userId = result.data.id;
|
|||
|
|
_this2.userInfo = result.data;
|
|||
|
|
console.log('用户ID获取成功:', _this2.userId);
|
|||
|
|
resolve(_this2.userId);
|
|||
|
|
} else {
|
|||
|
|
console.error('获取用户信息失败:', result.msg);
|
|||
|
|
reject(result.msg);
|
|||
|
|
}
|
|||
|
|
}).catch(function (error) {
|
|||
|
|
console.error('获取用户信息接口错误:', error);
|
|||
|
|
reject(error);
|
|||
|
|
});
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
// 获取用户详细信息(包括资质信息)
|
|||
|
|
getUserDetailInfo: function getUserDetailInfo() {
|
|||
|
|
var _this3 = this;
|
|||
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|||
|
|
var artisanResult;
|
|||
|
|
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context2.prev = _context2.next) {
|
|||
|
|
case 0:
|
|||
|
|
_context2.prev = 0;
|
|||
|
|
_context2.next = 3;
|
|||
|
|
return _request.default.post('/user/getuser', {
|
|||
|
|
type: 2
|
|||
|
|
});
|
|||
|
|
case 3:
|
|||
|
|
artisanResult = _context2.sent;
|
|||
|
|
if (artisanResult.state === 1) {
|
|||
|
|
_this3.artisanInfo = artisanResult.data;
|
|||
|
|
console.log('手艺人信息原始数据:', JSON.parse(JSON.stringify(_this3.artisanInfo)));
|
|||
|
|
_this3.fillFormWithExistingData();
|
|||
|
|
}
|
|||
|
|
_context2.next = 10;
|
|||
|
|
break;
|
|||
|
|
case 7:
|
|||
|
|
_context2.prev = 7;
|
|||
|
|
_context2.t0 = _context2["catch"](0);
|
|||
|
|
console.error('获取用户详细信息失败:', _context2.t0);
|
|||
|
|
case 10:
|
|||
|
|
case "end":
|
|||
|
|
return _context2.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee2, null, [[0, 7]]);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
// 检查图片是否有变更
|
|||
|
|
hasImageChanged: function hasImageChanged() {
|
|||
|
|
var hasChanged = false;
|
|||
|
|
|
|||
|
|
// 检查健康证图片
|
|||
|
|
if (this.displayData.health_card !== this.originalData.health_card) {
|
|||
|
|
hasChanged = true;
|
|||
|
|
console.log('健康证图片有变更');
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 检查资质照片
|
|||
|
|
var displayQuals = this.displayData.qualifications || [];
|
|||
|
|
var originalQuals = this.originalData.qualifications || [];
|
|||
|
|
|
|||
|
|
// 1. 检查数量是否相同
|
|||
|
|
if (displayQuals.length !== originalQuals.length) {
|
|||
|
|
hasChanged = true;
|
|||
|
|
console.log('资质照片数量有变更', displayQuals.length, originalQuals.length);
|
|||
|
|
return hasChanged; // 数量不同直接返回
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 2. 如果数量相同,检查内容(使用Set来比较,忽略顺序)
|
|||
|
|
var displaySet = new Set(displayQuals);
|
|||
|
|
var originalSet = new Set(originalQuals);
|
|||
|
|
|
|||
|
|
// 检查两个Set是否完全相同
|
|||
|
|
if (displaySet.size !== originalSet.size) {
|
|||
|
|
hasChanged = true;
|
|||
|
|
console.log('资质照片集合大小不同');
|
|||
|
|
} else {
|
|||
|
|
// 检查每个元素是否都存在于对方集合中
|
|||
|
|
var _iterator = _createForOfIteratorHelper(displaySet),
|
|||
|
|
_step;
|
|||
|
|
try {
|
|||
|
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|||
|
|
var item = _step.value;
|
|||
|
|
if (!originalSet.has(item)) {
|
|||
|
|
hasChanged = true;
|
|||
|
|
console.log('资质照片内容不同');
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
} catch (err) {
|
|||
|
|
_iterator.e(err);
|
|||
|
|
} finally {
|
|||
|
|
_iterator.f();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
return hasChanged;
|
|||
|
|
},
|
|||
|
|
// 检查表单数据是否有变更
|
|||
|
|
hasFormDataChanged: function hasFormDataChanged() {
|
|||
|
|
// 检查健康证有效期类型
|
|||
|
|
if (this.displayData.health_card_expiry_type !== this.originalData.health_card_expiry_type) {
|
|||
|
|
console.log('健康证有效期类型有变更');
|
|||
|
|
return true;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 检查开始日期
|
|||
|
|
if (this.displayData.health_card_start_date !== this.originalData.health_card_start_date) {
|
|||
|
|
console.log('开始日期有变更');
|
|||
|
|
return true;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 检查结束日期(仅在指定日期有效时比较)
|
|||
|
|
if (this.displayData.health_card_expiry_type === 2 && this.displayData.health_card_end_date !== this.originalData.health_card_end_date) {
|
|||
|
|
console.log('结束日期有变更');
|
|||
|
|
return true;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 检查图片是否有变更
|
|||
|
|
if (this.hasImageChanged()) {
|
|||
|
|
return true;
|
|||
|
|
}
|
|||
|
|
console.log('没有检测到任何变更');
|
|||
|
|
return false;
|
|||
|
|
},
|
|||
|
|
// 加载申请详情
|
|||
|
|
loadApplyDetails: function loadApplyDetails() {
|
|||
|
|
var _this4 = this;
|
|||
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
|||
|
|
var res, detail;
|
|||
|
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context3.prev = _context3.next) {
|
|||
|
|
case 0:
|
|||
|
|
_context3.prev = 0;
|
|||
|
|
console.log('开始加载申请详情...');
|
|||
|
|
_context3.next = 4;
|
|||
|
|
return _request.default.post('/syr/userSyrAuth/details', {
|
|||
|
|
apply_type: _this4.applyType
|
|||
|
|
});
|
|||
|
|
case 4:
|
|||
|
|
res = _context3.sent;
|
|||
|
|
console.log('申请详情接口返回:', res);
|
|||
|
|
if (res.code === 200 && res.data) {
|
|||
|
|
detail = res.data;
|
|||
|
|
_this4.applyId = detail.id;
|
|||
|
|
_this4.auditStatus = detail.apply_state;
|
|||
|
|
_this4.backText = detail.back_text || '';
|
|||
|
|
console.log('审核状态:', _this4.auditStatus);
|
|||
|
|
console.log('驳回原因:', _this4.backText);
|
|||
|
|
|
|||
|
|
// 更新pendingData
|
|||
|
|
if (_this4.auditStatus === 1 || _this4.auditStatus === 3) {
|
|||
|
|
_this4.pendingData = {
|
|||
|
|
health_card: detail.health_card || _this4.originalData.health_card,
|
|||
|
|
health_card_expiry_type: detail.health_expiry_type || _this4.originalData.health_card_expiry_type,
|
|||
|
|
health_card_start_date: '',
|
|||
|
|
health_card_end_date: '',
|
|||
|
|
qualifications: detail.qualifications || _this4.originalData.qualifications
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
// 处理健康证有效期
|
|||
|
|
if (detail.health_expiry) {
|
|||
|
|
_this4.parseHealthExpiry(detail.health_expiry, _this4.pendingData);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 审核通过时同步数据
|
|||
|
|
if (_this4.auditStatus === 2) {
|
|||
|
|
_this4.originalData = _objectSpread({}, _this4.pendingData);
|
|||
|
|
}
|
|||
|
|
_this4.updatePageStatus();
|
|||
|
|
} else {
|
|||
|
|
console.log('申请详情返回数据为空或code不为200:', res);
|
|||
|
|
_this4.backText = '';
|
|||
|
|
_this4.updatePageStatus();
|
|||
|
|
}
|
|||
|
|
_context3.next = 14;
|
|||
|
|
break;
|
|||
|
|
case 9:
|
|||
|
|
_context3.prev = 9;
|
|||
|
|
_context3.t0 = _context3["catch"](0);
|
|||
|
|
console.error('加载申请详情失败:', _context3.t0);
|
|||
|
|
_this4.backText = '';
|
|||
|
|
_this4.updatePageStatus();
|
|||
|
|
case 14:
|
|||
|
|
case "end":
|
|||
|
|
return _context3.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee3, null, [[0, 9]]);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
// 更新页面状态
|
|||
|
|
updatePageStatus: function updatePageStatus() {
|
|||
|
|
console.log('更新页面状态,审核状态:', this.auditStatus);
|
|||
|
|
|
|||
|
|
// 如果已经重新提交过,强制设置为审核中状态
|
|||
|
|
if (this.hasResubmitted && this.auditStatus === 3) {
|
|||
|
|
console.log('检测到已重新提交,强制设置为审核中状态');
|
|||
|
|
this.auditStatus = 1;
|
|||
|
|
this.backText = '';
|
|||
|
|
}
|
|||
|
|
if (this.auditStatus === 1) {
|
|||
|
|
// 审核中
|
|||
|
|
this.showAuditTip = true;
|
|||
|
|
this.buttonType = 'view';
|
|||
|
|
this.editable = false;
|
|||
|
|
this.showPendingData = false;
|
|||
|
|
this.displayData = _objectSpread({}, this.originalData);
|
|||
|
|
} else if (this.auditStatus === 3) {
|
|||
|
|
// 审核驳回
|
|||
|
|
this.showAuditTip = false;
|
|||
|
|
this.buttonType = 'reject';
|
|||
|
|
this.editable = false;
|
|||
|
|
this.showPendingData = false;
|
|||
|
|
this.displayData = _objectSpread({}, this.originalData);
|
|||
|
|
} else {
|
|||
|
|
// 无申请或审核通过
|
|||
|
|
this.showAuditTip = false;
|
|||
|
|
this.buttonType = 'change';
|
|||
|
|
this.editable = false;
|
|||
|
|
this.showPendingData = false;
|
|||
|
|
this.displayData = _objectSpread({}, this.originalData);
|
|||
|
|
}
|
|||
|
|
this.updateNavTitle();
|
|||
|
|
},
|
|||
|
|
// 更新导航栏标题
|
|||
|
|
updateNavTitle: function updateNavTitle() {
|
|||
|
|
if (this.editable || this.showPendingData) {
|
|||
|
|
this.navTitle = '资质信息变更';
|
|||
|
|
} else {
|
|||
|
|
this.navTitle = '资质信息';
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
// 用现有数据填充表单
|
|||
|
|
fillFormWithExistingData: function fillFormWithExistingData() {
|
|||
|
|
if (!this.artisanInfo) return;
|
|||
|
|
console.log('开始填充表单数据,手艺人信息:', this.artisanInfo);
|
|||
|
|
|
|||
|
|
// 初始化老数据
|
|||
|
|
this.originalData = {
|
|||
|
|
health_card: this.artisanInfo.health_card || '',
|
|||
|
|
health_card_expiry_type: '',
|
|||
|
|
health_card_start_date: '',
|
|||
|
|
health_card_end_date: '',
|
|||
|
|
qualifications: []
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
// 填充健康证信息
|
|||
|
|
if (this.artisanInfo.health_card) {
|
|||
|
|
this.originalData.health_card = this.artisanInfo.health_card;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 填充健康证有效期信息
|
|||
|
|
var healthExpiryType = this.artisanInfo.health_expiry_type;
|
|||
|
|
var healthExpiry = this.artisanInfo.health_expiry;
|
|||
|
|
console.log('健康证有效期类型:', healthExpiryType, '健康证有效期:', healthExpiry);
|
|||
|
|
if (healthExpiryType && healthExpiryType !== '') {
|
|||
|
|
this.originalData.health_card_expiry_type = healthExpiryType;
|
|||
|
|
console.log('健康证有效期类型已设置:', this.originalData.health_card_expiry_type);
|
|||
|
|
|
|||
|
|
// 解析有效期字符串
|
|||
|
|
if (this.artisanInfo.health_expiry) {
|
|||
|
|
console.log('健康证有效期字符串:', this.artisanInfo.health_expiry);
|
|||
|
|
this.parseHealthExpiry(this.artisanInfo.health_expiry, this.originalData);
|
|||
|
|
}
|
|||
|
|
} else {
|
|||
|
|
console.log('健康证有效期类型为空,使用默认值: 2 (指定日期有效)');
|
|||
|
|
this.originalData.health_card_expiry_type = 2;
|
|||
|
|
var currentDate = new Date();
|
|||
|
|
var nextYear = new Date(currentDate.getFullYear() + 1, currentDate.getMonth(), currentDate.getDate());
|
|||
|
|
this.originalData.health_card_start_date = this.formatDateToDisplay(currentDate);
|
|||
|
|
this.originalData.health_card_end_date = this.formatDateToDisplay(nextYear);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 填充资质照片 - 确保是深拷贝
|
|||
|
|
if (this.artisanInfo.qualifications && Array.isArray(this.artisanInfo.qualifications)) {
|
|||
|
|
this.originalData.qualifications = (0, _toConsumableArray2.default)(this.artisanInfo.qualifications);
|
|||
|
|
} else {
|
|||
|
|
this.originalData.qualifications = [];
|
|||
|
|
}
|
|||
|
|
console.log('原始资质照片数量:', this.originalData.qualifications.length);
|
|||
|
|
console.log('原始资质照片内容:', JSON.stringify(this.originalData.qualifications));
|
|||
|
|
|
|||
|
|
// 初始化pendingData和displayData - 确保深拷贝
|
|||
|
|
this.pendingData = {
|
|||
|
|
health_card: this.originalData.health_card,
|
|||
|
|
health_card_expiry_type: this.originalData.health_card_expiry_type,
|
|||
|
|
health_card_start_date: this.originalData.health_card_start_date,
|
|||
|
|
health_card_end_date: this.originalData.health_card_end_date,
|
|||
|
|
qualifications: (0, _toConsumableArray2.default)(this.originalData.qualifications) // 重要:使用深拷贝
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
this.displayData = {
|
|||
|
|
health_card: this.originalData.health_card,
|
|||
|
|
health_card_expiry_type: this.originalData.health_card_expiry_type,
|
|||
|
|
health_card_start_date: this.originalData.health_card_start_date,
|
|||
|
|
health_card_end_date: this.originalData.health_card_end_date,
|
|||
|
|
qualifications: (0, _toConsumableArray2.default)(this.originalData.qualifications) // 重要:使用深拷贝
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
console.log('数据初始化完成:', {
|
|||
|
|
originalData: this.originalData,
|
|||
|
|
pendingData: this.pendingData,
|
|||
|
|
displayData: this.displayData
|
|||
|
|
});
|
|||
|
|
},
|
|||
|
|
// 将日期格式化为显示格式
|
|||
|
|
formatDateToDisplay: function formatDateToDisplay(date) {
|
|||
|
|
var year = date.getFullYear();
|
|||
|
|
var month = date.getMonth() + 1;
|
|||
|
|
var day = date.getDate();
|
|||
|
|
return "".concat(year, "\u5E74").concat(month, "\u6708").concat(day, "\u65E5");
|
|||
|
|
},
|
|||
|
|
// 解析健康证有效期字符串
|
|||
|
|
parseHealthExpiry: function parseHealthExpiry(expiryStr, targetData) {
|
|||
|
|
if (!expiryStr) return;
|
|||
|
|
console.log('解析健康证有效期:', expiryStr);
|
|||
|
|
|
|||
|
|
// 处理不同的分隔符情况
|
|||
|
|
var separators = ['——', '--', '-'];
|
|||
|
|
var parts = [];
|
|||
|
|
for (var _i = 0, _separators = separators; _i < _separators.length; _i++) {
|
|||
|
|
var sep = _separators[_i];
|
|||
|
|
if (expiryStr.includes(sep)) {
|
|||
|
|
parts = expiryStr.split(sep).map(function (part) {
|
|||
|
|
return part.trim();
|
|||
|
|
});
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
if (parts.length === 2) {
|
|||
|
|
// 开始日期
|
|||
|
|
if (parts[0] && parts[0] !== '') {
|
|||
|
|
var startDate = this.parseBackendDate(parts[0]);
|
|||
|
|
if (startDate) {
|
|||
|
|
targetData.health_card_start_date = startDate;
|
|||
|
|
console.log('解析出的开始日期:', startDate);
|
|||
|
|
} else {
|
|||
|
|
console.log('开始日期解析失败,使用当前日期');
|
|||
|
|
targetData.health_card_start_date = this.formatDateToDisplay(new Date());
|
|||
|
|
}
|
|||
|
|
} else {
|
|||
|
|
console.log('开始日期为空,使用当前日期');
|
|||
|
|
targetData.health_card_start_date = this.formatDateToDisplay(new Date());
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 结束日期
|
|||
|
|
if (parts[1] && parts[1] !== '' && parts[1] !== ' ' && parts[1] !== 'permanent') {
|
|||
|
|
var endDate = this.parseBackendDate(parts[1]);
|
|||
|
|
if (endDate) {
|
|||
|
|
targetData.health_card_end_date = endDate;
|
|||
|
|
console.log('解析出的结束日期:', endDate);
|
|||
|
|
} else {
|
|||
|
|
console.log('结束日期解析失败,使用一年后日期');
|
|||
|
|
var currentDate = new Date();
|
|||
|
|
var nextYear = new Date(currentDate.getFullYear() + 1, currentDate.getMonth(), currentDate.getDate());
|
|||
|
|
targetData.health_card_end_date = this.formatDateToDisplay(nextYear);
|
|||
|
|
}
|
|||
|
|
} else {
|
|||
|
|
console.log('结束日期为空或为长久,设置为长久有效');
|
|||
|
|
targetData.health_card_end_date = '长久有效';
|
|||
|
|
targetData.health_card_expiry_type = 1;
|
|||
|
|
}
|
|||
|
|
} else {
|
|||
|
|
console.log('无法解析有效期格式,使用默认日期');
|
|||
|
|
var _currentDate = new Date();
|
|||
|
|
var _nextYear = new Date(_currentDate.getFullYear() + 1, _currentDate.getMonth(), _currentDate.getDate());
|
|||
|
|
targetData.health_card_start_date = this.formatDateToDisplay(_currentDate);
|
|||
|
|
targetData.health_card_end_date = this.formatDateToDisplay(_nextYear);
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
// 解析后端日期格式
|
|||
|
|
parseBackendDate: function parseBackendDate(dateStr) {
|
|||
|
|
if (!dateStr) return '';
|
|||
|
|
console.log('解析后端日期:', dateStr);
|
|||
|
|
|
|||
|
|
// 处理 YYYY-MM-DD 格式
|
|||
|
|
var match1 = dateStr.match(/^(\d{4})-(\d{1,2})-(\d{1,2})$/);
|
|||
|
|
if (match1) {
|
|||
|
|
var year = match1[1];
|
|||
|
|
var month = parseInt(match1[2]);
|
|||
|
|
var day = parseInt(match1[3]);
|
|||
|
|
return "".concat(year, "\u5E74").concat(month, "\u6708").concat(day, "\u65E5");
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 处理 YYYY/MM/DD 格式
|
|||
|
|
var match2 = dateStr.match(/^(\d{4})\/(\d{1,2})\/(\d{1,2})$/);
|
|||
|
|
if (match2) {
|
|||
|
|
var _year = match2[1];
|
|||
|
|
var _month = parseInt(match2[2]);
|
|||
|
|
var _day = parseInt(match2[3]);
|
|||
|
|
return "".concat(_year, "\u5E74").concat(_month, "\u6708").concat(_day, "\u65E5");
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 处理时间戳
|
|||
|
|
if (!isNaN(dateStr)) {
|
|||
|
|
var date = new Date(parseInt(dateStr));
|
|||
|
|
var _year2 = date.getFullYear();
|
|||
|
|
var _month2 = date.getMonth() + 1;
|
|||
|
|
var _day2 = date.getDate();
|
|||
|
|
return "".concat(_year2, "\u5E74").concat(_month2, "\u6708").concat(_day2, "\u65E5");
|
|||
|
|
}
|
|||
|
|
console.log('无法识别的日期格式:', dateStr);
|
|||
|
|
return dateStr;
|
|||
|
|
},
|
|||
|
|
// 开始变更
|
|||
|
|
startChange: function startChange() {
|
|||
|
|
this.editable = true;
|
|||
|
|
this.buttonType = 'edit';
|
|||
|
|
// 进入编辑模式时,将pendingData复制到displayData进行编辑
|
|||
|
|
this.displayData = _objectSpread({}, this.pendingData);
|
|||
|
|
this.updateNavTitle();
|
|||
|
|
},
|
|||
|
|
// 取消变更
|
|||
|
|
cancelChange: function cancelChange() {
|
|||
|
|
this.editable = false;
|
|||
|
|
this.buttonType = 'change';
|
|||
|
|
// 恢复显示原始数据
|
|||
|
|
this.displayData = _objectSpread({}, this.originalData);
|
|||
|
|
this.updateNavTitle();
|
|||
|
|
},
|
|||
|
|
// 切换显示待审核数据
|
|||
|
|
togglePendingData: function togglePendingData() {
|
|||
|
|
this.showPendingData = !this.showPendingData;
|
|||
|
|
if (this.showPendingData) {
|
|||
|
|
// 显示待审核数据
|
|||
|
|
this.displayData = _objectSpread({}, this.pendingData);
|
|||
|
|
} else {
|
|||
|
|
// 显示原始数据
|
|||
|
|
this.displayData = _objectSpread({}, this.originalData);
|
|||
|
|
}
|
|||
|
|
this.updateNavTitle();
|
|||
|
|
},
|
|||
|
|
// 准备提交数据
|
|||
|
|
getSubmitData: function getSubmitData() {
|
|||
|
|
var submitData = {
|
|||
|
|
apply_type: this.applyType,
|
|||
|
|
// 资质信息变更
|
|||
|
|
health_card: this.displayData.health_card,
|
|||
|
|
health_expiry_type: this.displayData.health_card_expiry_type,
|
|||
|
|
health_expiry: this.formatHealthCardExpiry(),
|
|||
|
|
qualifications: this.displayData.qualifications
|
|||
|
|
};
|
|||
|
|
console.log('提交数据详情:', {
|
|||
|
|
health_card: this.displayData.health_card,
|
|||
|
|
health_expiry_type: this.displayData.health_card_expiry_type,
|
|||
|
|
health_expiry: this.formatHealthCardExpiry(),
|
|||
|
|
start_date: this.displayData.health_card_start_date,
|
|||
|
|
end_date: this.displayData.health_card_end_date
|
|||
|
|
});
|
|||
|
|
return submitData;
|
|||
|
|
},
|
|||
|
|
// 格式化健康证有效期
|
|||
|
|
formatHealthCardExpiry: function formatHealthCardExpiry() {
|
|||
|
|
if (!this.displayData.health_card_start_date) {
|
|||
|
|
console.log('没有开始日期,返回空字符串');
|
|||
|
|
return '';
|
|||
|
|
}
|
|||
|
|
var startDate = this.formatDateForBackend(this.displayData.health_card_start_date);
|
|||
|
|
console.log('格式化后的开始日期:', startDate);
|
|||
|
|
if (this.displayData.health_card_expiry_type === 1) {
|
|||
|
|
var result = "".concat(startDate, " \u2014\u2014 ");
|
|||
|
|
console.log('长久有效格式:', result);
|
|||
|
|
return result;
|
|||
|
|
} else if (this.displayData.health_card_end_date) {
|
|||
|
|
var endDate = this.formatDateForBackend(this.displayData.health_card_end_date);
|
|||
|
|
var _result = "".concat(startDate, " \u2014\u2014 ").concat(endDate);
|
|||
|
|
console.log('指定日期格式:', _result);
|
|||
|
|
return _result;
|
|||
|
|
}
|
|||
|
|
console.log('没有有效的有效期数据');
|
|||
|
|
return '';
|
|||
|
|
},
|
|||
|
|
// 日期显示格式化
|
|||
|
|
formatDateForDisplay: function formatDateForDisplay(dateStr) {
|
|||
|
|
if (!dateStr) return '';
|
|||
|
|
if (dateStr === '长久有效') return '长久有效';
|
|||
|
|
if (dateStr.includes('-')) {
|
|||
|
|
var _dateStr$split = dateStr.split('-'),
|
|||
|
|
_dateStr$split2 = (0, _slicedToArray2.default)(_dateStr$split, 3),
|
|||
|
|
year = _dateStr$split2[0],
|
|||
|
|
month = _dateStr$split2[1],
|
|||
|
|
day = _dateStr$split2[2];
|
|||
|
|
return "".concat(year, "\u5E74").concat(parseInt(month), "\u6708").concat(parseInt(day), "\u65E5");
|
|||
|
|
}
|
|||
|
|
return dateStr;
|
|||
|
|
},
|
|||
|
|
// 日期后端格式化
|
|||
|
|
formatDateForBackend: function formatDateForBackend(dateStr) {
|
|||
|
|
if (!dateStr) return '';
|
|||
|
|
if (dateStr === '长久有效') return 'permanent';
|
|||
|
|
var match = dateStr.match(/(\d+)年(\d+)月(\d+)日/);
|
|||
|
|
if (match) {
|
|||
|
|
var year = match[1];
|
|||
|
|
var month = match[2].padStart(2, '0');
|
|||
|
|
var day = match[3].padStart(2, '0');
|
|||
|
|
return "".concat(year, "-").concat(month, "-").concat(day);
|
|||
|
|
}
|
|||
|
|
return dateStr;
|
|||
|
|
},
|
|||
|
|
// 设置健康证有效期类型
|
|||
|
|
setHealthCardValidType: function setHealthCardValidType(type) {
|
|||
|
|
console.log('设置健康证有效期类型:', type);
|
|||
|
|
this.displayData.health_card_expiry_type = type === 'permanent' ? 1 : 2;
|
|||
|
|
if (type === 'permanent') {
|
|||
|
|
this.displayData.health_card_end_date = '长久有效';
|
|||
|
|
} else {
|
|||
|
|
if (this.displayData.health_card_end_date === '长久有效') {
|
|||
|
|
this.displayData.health_card_end_date = '';
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
// 日期选择
|
|||
|
|
openDatePicker: function openDatePicker(field) {
|
|||
|
|
this.currentDateField = field;
|
|||
|
|
console.log('打开日期选择器,字段:', field, '当前值:', this.displayData[field]);
|
|||
|
|
var currentDate = new Date();
|
|||
|
|
var initialDate = currentDate;
|
|||
|
|
if (this.displayData[field]) {
|
|||
|
|
var dateStr = this.displayData[field];
|
|||
|
|
var match = dateStr.match(/(\d+)年(\d+)月(\d+)日/);
|
|||
|
|
if (match) {
|
|||
|
|
initialDate = new Date(parseInt(match[1]), parseInt(match[2]) - 1, parseInt(match[3]));
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
var yearIndex = this.years.indexOf(initialDate.getFullYear());
|
|||
|
|
var monthIndex = initialDate.getMonth();
|
|||
|
|
var dayIndex = initialDate.getDate() - 1;
|
|||
|
|
this.dateValue = [yearIndex >= 0 ? yearIndex : 0, monthIndex, dayIndex];
|
|||
|
|
this.$refs.datePicker.open();
|
|||
|
|
},
|
|||
|
|
hideDatePicker: function hideDatePicker() {
|
|||
|
|
this.$refs.datePicker.close();
|
|||
|
|
},
|
|||
|
|
bindDateChange: function bindDateChange(e) {
|
|||
|
|
this.dateValue = e.detail.value;
|
|||
|
|
},
|
|||
|
|
confirmDate: function confirmDate() {
|
|||
|
|
var _this$dateValue = (0, _slicedToArray2.default)(this.dateValue, 3),
|
|||
|
|
yearIndex = _this$dateValue[0],
|
|||
|
|
monthIndex = _this$dateValue[1],
|
|||
|
|
dayIndex = _this$dateValue[2];
|
|||
|
|
var year = this.years[yearIndex];
|
|||
|
|
var month = this.months[monthIndex];
|
|||
|
|
var day = this.days[dayIndex];
|
|||
|
|
var dateStr = "".concat(year, "\u5E74").concat(month, "\u6708").concat(day, "\u65E5");
|
|||
|
|
console.log('选择的日期:', dateStr, '字段:', this.currentDateField);
|
|||
|
|
this.displayData[this.currentDateField] = dateStr;
|
|||
|
|
this.hideDatePicker();
|
|||
|
|
},
|
|||
|
|
// 图片上传
|
|||
|
|
chooseImage: function chooseImage(type) {
|
|||
|
|
var _this5 = this;
|
|||
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
|||
|
|
var chooseResult, tempFilePath, file, result;
|
|||
|
|
return _regenerator.default.wrap(function _callee4$(_context4) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context4.prev = _context4.next) {
|
|||
|
|
case 0:
|
|||
|
|
_context4.prev = 0;
|
|||
|
|
if (_this5.userId) {
|
|||
|
|
_context4.next = 4;
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
_context4.next = 4;
|
|||
|
|
return _this5.getUserInfo();
|
|||
|
|
case 4:
|
|||
|
|
_context4.next = 6;
|
|||
|
|
return new Promise(function (resolve, reject) {
|
|||
|
|
uni.chooseImage({
|
|||
|
|
count: 1,
|
|||
|
|
sizeType: ['compressed'],
|
|||
|
|
sourceType: ['album', 'camera'],
|
|||
|
|
success: resolve,
|
|||
|
|
fail: reject
|
|||
|
|
});
|
|||
|
|
});
|
|||
|
|
case 6:
|
|||
|
|
chooseResult = _context4.sent;
|
|||
|
|
if (!(!chooseResult.tempFilePaths || chooseResult.tempFilePaths.length === 0)) {
|
|||
|
|
_context4.next = 9;
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
return _context4.abrupt("return");
|
|||
|
|
case 9:
|
|||
|
|
tempFilePath = chooseResult.tempFilePaths[0];
|
|||
|
|
file = {
|
|||
|
|
path: tempFilePath,
|
|||
|
|
size: 0
|
|||
|
|
};
|
|||
|
|
_context4.next = 13;
|
|||
|
|
return _this5.directUpload(file, _this5.userId, _this5.identity + 1);
|
|||
|
|
case 13:
|
|||
|
|
result = _context4.sent;
|
|||
|
|
if (result) {
|
|||
|
|
_this5.displayData[type] = result;
|
|||
|
|
}
|
|||
|
|
_context4.next = 20;
|
|||
|
|
break;
|
|||
|
|
case 17:
|
|||
|
|
_context4.prev = 17;
|
|||
|
|
_context4.t0 = _context4["catch"](0);
|
|||
|
|
console.log('上传图片错误:', _context4.t0);
|
|||
|
|
case 20:
|
|||
|
|
case "end":
|
|||
|
|
return _context4.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee4, null, [[0, 17]]);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
// 直接上传方法
|
|||
|
|
directUpload: function directUpload(file, userId, type) {
|
|||
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
|
|||
|
|
var date, artisan, fileExtension, parts, ext, name, ossConfig;
|
|||
|
|
return _regenerator.default.wrap(function _callee5$(_context5) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context5.prev = _context5.next) {
|
|||
|
|
case 0:
|
|||
|
|
_context5.prev = 0;
|
|||
|
|
date = new Date().getTime();
|
|||
|
|
artisan = type == 1 ? 'yh' : type == 2 ? 'syr' : type == 3 ? 'sj' : '';
|
|||
|
|
fileExtension = 'jpg';
|
|||
|
|
if (file.path.includes('.')) {
|
|||
|
|
parts = file.path.split('.');
|
|||
|
|
ext = parts[parts.length - 1].toLowerCase();
|
|||
|
|
if (ext && ext.length <= 4) {
|
|||
|
|
fileExtension = ext;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
name = "".concat(userId, "_").concat(artisan, "_").concat(date, ".").concat(fileExtension);
|
|||
|
|
_context5.next = 8;
|
|||
|
|
return _request.default.post('/user/getalioss', {
|
|||
|
|
type: type,
|
|||
|
|
kind: 1
|
|||
|
|
});
|
|||
|
|
case 8:
|
|||
|
|
ossConfig = _context5.sent;
|
|||
|
|
_context5.next = 11;
|
|||
|
|
return new Promise(function (resolve, reject) {
|
|||
|
|
uni.uploadFile({
|
|||
|
|
url: ossConfig.host,
|
|||
|
|
filePath: file.path,
|
|||
|
|
name: 'file',
|
|||
|
|
formData: {
|
|||
|
|
key: ossConfig.dir + name,
|
|||
|
|
policy: ossConfig.policy,
|
|||
|
|
OSSAccessKeyId: ossConfig.ossAccessKeyId,
|
|||
|
|
success_action_status: '200',
|
|||
|
|
signature: ossConfig.signature
|
|||
|
|
},
|
|||
|
|
success: function success(res) {
|
|||
|
|
if (res.statusCode === 200) {
|
|||
|
|
var fileUrl = "".concat(ossConfig.host, "/").concat(ossConfig.dir).concat(name);
|
|||
|
|
resolve(fileUrl);
|
|||
|
|
} else {
|
|||
|
|
reject(new Error('上传失败'));
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
fail: reject
|
|||
|
|
});
|
|||
|
|
});
|
|||
|
|
case 11:
|
|||
|
|
return _context5.abrupt("return", _context5.sent);
|
|||
|
|
case 14:
|
|||
|
|
_context5.prev = 14;
|
|||
|
|
_context5.t0 = _context5["catch"](0);
|
|||
|
|
console.error('直接上传失败:', _context5.t0);
|
|||
|
|
throw _context5.t0;
|
|||
|
|
case 18:
|
|||
|
|
case "end":
|
|||
|
|
return _context5.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee5, null, [[0, 14]]);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
// 添加技师资质照片方法
|
|||
|
|
addQualification: function addQualification() {
|
|||
|
|
if (this.displayData.qualifications.length >= 9) {
|
|||
|
|
uni.showToast({
|
|||
|
|
title: '最多只能上传9张资质照片',
|
|||
|
|
icon: 'none'
|
|||
|
|
});
|
|||
|
|
return;
|
|||
|
|
}
|
|||
|
|
this.chooseImageForQualifications();
|
|||
|
|
},
|
|||
|
|
chooseImageForQualifications: function chooseImageForQualifications() {
|
|||
|
|
var _this6 = this;
|
|||
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {
|
|||
|
|
var remainingCount, chooseResult, totalAfterUpload, _iterator2, _step2, tempFilePath, file, result;
|
|||
|
|
return _regenerator.default.wrap(function _callee6$(_context6) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context6.prev = _context6.next) {
|
|||
|
|
case 0:
|
|||
|
|
_context6.prev = 0;
|
|||
|
|
if (_this6.userId) {
|
|||
|
|
_context6.next = 4;
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
_context6.next = 4;
|
|||
|
|
return _this6.getUserInfo();
|
|||
|
|
case 4:
|
|||
|
|
remainingCount = 9 - _this6.displayData.qualifications.length;
|
|||
|
|
_context6.next = 7;
|
|||
|
|
return new Promise(function (resolve, reject) {
|
|||
|
|
uni.chooseImage({
|
|||
|
|
count: remainingCount,
|
|||
|
|
sizeType: ['compressed'],
|
|||
|
|
sourceType: ['album', 'camera'],
|
|||
|
|
success: resolve,
|
|||
|
|
fail: reject
|
|||
|
|
});
|
|||
|
|
});
|
|||
|
|
case 7:
|
|||
|
|
chooseResult = _context6.sent;
|
|||
|
|
if (!(!chooseResult.tempFilePaths || chooseResult.tempFilePaths.length === 0)) {
|
|||
|
|
_context6.next = 10;
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
return _context6.abrupt("return");
|
|||
|
|
case 10:
|
|||
|
|
totalAfterUpload = _this6.displayData.qualifications.length + chooseResult.tempFilePaths.length;
|
|||
|
|
if (!(totalAfterUpload > 9)) {
|
|||
|
|
_context6.next = 14;
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
uni.showToast({
|
|||
|
|
title: '最多只能上传9张资质照片',
|
|||
|
|
icon: 'none'
|
|||
|
|
});
|
|||
|
|
return _context6.abrupt("return");
|
|||
|
|
case 14:
|
|||
|
|
_iterator2 = _createForOfIteratorHelper(chooseResult.tempFilePaths);
|
|||
|
|
_context6.prev = 15;
|
|||
|
|
_iterator2.s();
|
|||
|
|
case 17:
|
|||
|
|
if ((_step2 = _iterator2.n()).done) {
|
|||
|
|
_context6.next = 26;
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
tempFilePath = _step2.value;
|
|||
|
|
file = {
|
|||
|
|
path: tempFilePath,
|
|||
|
|
size: 0
|
|||
|
|
};
|
|||
|
|
_context6.next = 22;
|
|||
|
|
return _this6.directUpload(file, _this6.userId, _this6.identity + 1);
|
|||
|
|
case 22:
|
|||
|
|
result = _context6.sent;
|
|||
|
|
if (result) {
|
|||
|
|
_this6.displayData.qualifications.push(result);
|
|||
|
|
}
|
|||
|
|
case 24:
|
|||
|
|
_context6.next = 17;
|
|||
|
|
break;
|
|||
|
|
case 26:
|
|||
|
|
_context6.next = 31;
|
|||
|
|
break;
|
|||
|
|
case 28:
|
|||
|
|
_context6.prev = 28;
|
|||
|
|
_context6.t0 = _context6["catch"](15);
|
|||
|
|
_iterator2.e(_context6.t0);
|
|||
|
|
case 31:
|
|||
|
|
_context6.prev = 31;
|
|||
|
|
_iterator2.f();
|
|||
|
|
return _context6.finish(31);
|
|||
|
|
case 34:
|
|||
|
|
_context6.next = 39;
|
|||
|
|
break;
|
|||
|
|
case 36:
|
|||
|
|
_context6.prev = 36;
|
|||
|
|
_context6.t1 = _context6["catch"](0);
|
|||
|
|
console.log('上传资质照片错误:', _context6.t1);
|
|||
|
|
case 39:
|
|||
|
|
case "end":
|
|||
|
|
return _context6.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee6, null, [[0, 36], [15, 28, 31, 34]]);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
// 删除资质照片
|
|||
|
|
deleteQualification: function deleteQualification(index) {
|
|||
|
|
console.log('删除前的资质照片列表:', JSON.stringify(this.displayData.qualifications));
|
|||
|
|
console.log('要删除的索引:', index);
|
|||
|
|
console.log('要删除的图片URL:', this.displayData.qualifications[index]);
|
|||
|
|
this.displayData.qualifications.splice(index, 1);
|
|||
|
|
console.log('删除后的资质照片列表:', JSON.stringify(this.displayData.qualifications));
|
|||
|
|
console.log('删除后的长度:', this.displayData.qualifications.length);
|
|||
|
|
},
|
|||
|
|
// 表单验证
|
|||
|
|
validateForm: function validateForm() {
|
|||
|
|
var _this7 = this;
|
|||
|
|
var validationRules = [{
|
|||
|
|
field: 'health_card',
|
|||
|
|
message: '请上传健康证'
|
|||
|
|
}, {
|
|||
|
|
field: 'health_card_expiry_type',
|
|||
|
|
message: '请选择健康证有效期类型'
|
|||
|
|
}, {
|
|||
|
|
field: 'health_card_start_date',
|
|||
|
|
message: '请选择健康证开始日期'
|
|||
|
|
}, {
|
|||
|
|
condition: function condition() {
|
|||
|
|
// 如果选择非永久有效期,则结束日期必填
|
|||
|
|
if (_this7.displayData.health_card_expiry_type === 2 && !_this7.displayData.health_card_end_date) {
|
|||
|
|
return true; // 条件不满足,需要验证
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
return false;
|
|||
|
|
},
|
|||
|
|
message: '请选择健康证结束日期'
|
|||
|
|
}, {
|
|||
|
|
condition: function condition() {
|
|||
|
|
// 至少一张技师资质照片
|
|||
|
|
return !_this7.displayData.qualifications || _this7.displayData.qualifications.length === 0;
|
|||
|
|
},
|
|||
|
|
message: '请上传至少一张技师资质照片'
|
|||
|
|
}];
|
|||
|
|
for (var _i2 = 0, _validationRules = validationRules; _i2 < _validationRules.length; _i2++) {
|
|||
|
|
var rule = _validationRules[_i2];
|
|||
|
|
var isValid = true;
|
|||
|
|
if (rule.field) {
|
|||
|
|
// 简单字段验证
|
|||
|
|
if (!this.displayData[rule.field]) {
|
|||
|
|
isValid = false;
|
|||
|
|
}
|
|||
|
|
} else if (rule.condition) {
|
|||
|
|
// 复杂条件验证
|
|||
|
|
if (rule.condition()) {
|
|||
|
|
isValid = false;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
if (!isValid) {
|
|||
|
|
uni.showToast({
|
|||
|
|
title: rule.message,
|
|||
|
|
icon: 'none'
|
|||
|
|
});
|
|||
|
|
return false;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 日期有效性验证
|
|||
|
|
if (this.displayData.health_card_expiry_type === 2) {
|
|||
|
|
var healthCardStart = new Date(this.formatDateForBackend(this.displayData.health_card_start_date));
|
|||
|
|
var healthCardEnd = new Date(this.formatDateForBackend(this.displayData.health_card_end_date));
|
|||
|
|
if (healthCardEnd <= healthCardStart) {
|
|||
|
|
uni.showToast({
|
|||
|
|
title: '健康证结束日期必须晚于开始日期',
|
|||
|
|
icon: 'none'
|
|||
|
|
});
|
|||
|
|
return false;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
return true;
|
|||
|
|
},
|
|||
|
|
// 提交变更
|
|||
|
|
submitChange: function submitChange() {
|
|||
|
|
var _this8 = this;
|
|||
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
|
|||
|
|
var _this8$originalData$q, _this8$displayData$qu;
|
|||
|
|
var hasChanged, i, displayItem, originalItem, submitData, result;
|
|||
|
|
return _regenerator.default.wrap(function _callee7$(_context7) {
|
|||
|
|
while (1) {
|
|||
|
|
switch (_context7.prev = _context7.next) {
|
|||
|
|
case 0:
|
|||
|
|
console.log('开始提交变更...');
|
|||
|
|
|
|||
|
|
// 添加详细的调试信息
|
|||
|
|
console.log('originalData.qualifications:', JSON.stringify(_this8.originalData.qualifications));
|
|||
|
|
console.log('displayData.qualifications:', JSON.stringify(_this8.displayData.qualifications));
|
|||
|
|
console.log('originalData.qualifications 长度:', ((_this8$originalData$q = _this8.originalData.qualifications) === null || _this8$originalData$q === void 0 ? void 0 : _this8$originalData$q.length) || 0);
|
|||
|
|
console.log('displayData.qualifications 长度:', ((_this8$displayData$qu = _this8.displayData.qualifications) === null || _this8$displayData$qu === void 0 ? void 0 : _this8$displayData$qu.length) || 0);
|
|||
|
|
if (_this8.validateForm()) {
|
|||
|
|
_context7.next = 7;
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
return _context7.abrupt("return");
|
|||
|
|
case 7:
|
|||
|
|
// 检查是否有实际变更
|
|||
|
|
hasChanged = _this8.hasFormDataChanged();
|
|||
|
|
console.log('表单变更检测结果:', hasChanged);
|
|||
|
|
if (hasChanged) {
|
|||
|
|
_context7.next = 14;
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
// 检查数组引用
|
|||
|
|
console.log('displayData.qualifications === originalData.qualifications:', _this8.displayData.qualifications === _this8.originalData.qualifications);
|
|||
|
|
|
|||
|
|
// 逐个比较数组元素
|
|||
|
|
if (_this8.displayData.qualifications && _this8.originalData.qualifications) {
|
|||
|
|
console.log('逐个比较资质照片:');
|
|||
|
|
for (i = 0; i < Math.max(_this8.displayData.qualifications.length, _this8.originalData.qualifications.length); i++) {
|
|||
|
|
displayItem = _this8.displayData.qualifications[i];
|
|||
|
|
originalItem = _this8.originalData.qualifications[i];
|
|||
|
|
console.log("\u7D22\u5F15 ".concat(i, ": display = \"").concat(displayItem, "\", original = \"").concat(originalItem, "\", \u76F8\u7B49 = ").concat(displayItem === originalItem));
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
uni.showToast({
|
|||
|
|
title: '未检测到变更,无需提交',
|
|||
|
|
icon: 'none',
|
|||
|
|
duration: 2000
|
|||
|
|
});
|
|||
|
|
return _context7.abrupt("return");
|
|||
|
|
case 14:
|
|||
|
|
if (_this8.validateForm()) {
|
|||
|
|
_context7.next = 16;
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
return _context7.abrupt("return");
|
|||
|
|
case 16:
|
|||
|
|
if (_this8.hasFormDataChanged()) {
|
|||
|
|
_context7.next = 19;
|
|||
|
|
break;
|
|||
|
|
}
|
|||
|
|
uni.showToast({
|
|||
|
|
title: '未检测到变更,无需提交',
|
|||
|
|
icon: 'none',
|
|||
|
|
duration: 2000
|
|||
|
|
});
|
|||
|
|
return _context7.abrupt("return");
|
|||
|
|
case 19:
|
|||
|
|
_context7.prev = 19;
|
|||
|
|
uni.showLoading({
|
|||
|
|
title: '提交中...',
|
|||
|
|
mask: true
|
|||
|
|
});
|
|||
|
|
submitData = _this8.getSubmitData();
|
|||
|
|
console.log('最终提交数据:', submitData);
|
|||
|
|
_context7.next = 25;
|
|||
|
|
return _request.default.post('/syr/userSyrAuth/apply', submitData);
|
|||
|
|
case 25:
|
|||
|
|
result = _context7.sent;
|
|||
|
|
uni.hideLoading();
|
|||
|
|
|
|||
|
|
// 根据实际接口返回格式判断
|
|||
|
|
if (result.code === 200 || result.state === 1) {
|
|||
|
|
uni.showToast({
|
|||
|
|
title: '提交成功',
|
|||
|
|
icon: 'none',
|
|||
|
|
duration: 2000
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
// 提交成功后重置状态
|
|||
|
|
_this8.backText = '';
|
|||
|
|
_this8.auditStatus = 1;
|
|||
|
|
_this8.hasResubmitted = true;
|
|||
|
|
console.log('提交成功,重置所有状态');
|
|||
|
|
|
|||
|
|
// 更新pendingData为当前提交的数据
|
|||
|
|
_this8.pendingData = _objectSpread({}, _this8.displayData);
|
|||
|
|
|
|||
|
|
// 更新页面状态为审核中
|
|||
|
|
_this8.editable = false;
|
|||
|
|
_this8.buttonType = 'view';
|
|||
|
|
_this8.showAuditTip = true;
|
|||
|
|
_this8.showPendingData = false;
|
|||
|
|
|
|||
|
|
// 重新加载申请详情获取最新状态
|
|||
|
|
setTimeout(function () {
|
|||
|
|
_this8.loadApplyDetails();
|
|||
|
|
}, 1500);
|
|||
|
|
} else {
|
|||
|
|
uni.showToast({
|
|||
|
|
title: result.msg || '提交失败',
|
|||
|
|
icon: 'none'
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
_context7.next = 35;
|
|||
|
|
break;
|
|||
|
|
case 30:
|
|||
|
|
_context7.prev = 30;
|
|||
|
|
_context7.t0 = _context7["catch"](19);
|
|||
|
|
uni.hideLoading();
|
|||
|
|
console.error('提交申请失败:', _context7.t0);
|
|||
|
|
uni.showToast({
|
|||
|
|
title: '网络错误,请重试',
|
|||
|
|
icon: 'none'
|
|||
|
|
});
|
|||
|
|
case 35:
|
|||
|
|
case "end":
|
|||
|
|
return _context7.stop();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, _callee7, null, [[19, 30]]);
|
|||
|
|
}))();
|
|||
|
|
},
|
|||
|
|
// 从全局恢复数据
|
|||
|
|
restoreData: function restoreData() {
|
|||
|
|
var _this9 = this;
|
|||
|
|
var savedData = getApp().globalData.qualificationData;
|
|||
|
|
if (savedData) {
|
|||
|
|
// 恢复数据到表单
|
|||
|
|
Object.keys(this.displayData).forEach(function (key) {
|
|||
|
|
if (savedData[key] !== undefined) {
|
|||
|
|
_this9.displayData[key] = savedData[key];
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
console.log('资质信息数据已恢复:', this.displayData);
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
// 获取按钮区域高度
|
|||
|
|
getButtonAreaHeight: function getButtonAreaHeight() {
|
|||
|
|
var _this10 = this;
|
|||
|
|
setTimeout(function () {
|
|||
|
|
var query = uni.createSelectorQuery().in(_this10);
|
|||
|
|
query.select('.bottom-actions').boundingClientRect(function (data) {
|
|||
|
|
if (data) {
|
|||
|
|
_this10.buttonAreaHeight = data.height + 20;
|
|||
|
|
}
|
|||
|
|
}).exec();
|
|||
|
|
}, 100);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
};
|
|||
|
|
exports.default = _default;
|
|||
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ 344:
|
|||
|
|
/*!*********************************************************************************************************************************************************!*\
|
|||
|
|
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/artisan/qualification_syr_change.vue?vue&type=style&index=0&id=1986c801&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_qualification_syr_change_vue_vue_type_style_index_0_id_1986c801_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!./qualification_syr_change.vue?vue&type=style&index=0&id=1986c801&scoped=true&lang=css& */ 345);
|
|||
|
|
/* 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_qualification_syr_change_vue_vue_type_style_index_0_id_1986c801_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_qualification_syr_change_vue_vue_type_style_index_0_id_1986c801_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_qualification_syr_change_vue_vue_type_style_index_0_id_1986c801_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_qualification_syr_change_vue_vue_type_style_index_0_id_1986c801_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_qualification_syr_change_vue_vue_type_style_index_0_id_1986c801_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|||
|
|
|
|||
|
|
/***/ }),
|
|||
|
|
|
|||
|
|
/***/ 345:
|
|||
|
|
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|||
|
|
!*** ./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/qualification_syr_change.vue?vue&type=style&index=0&id=1986c801&scoped=true&lang=css& ***!
|
|||
|
|
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|||
|
|
/*! no static exports found */
|
|||
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|||
|
|
|
|||
|
|
// extracted by mini-css-extract-plugin
|
|||
|
|
if(false) { var cssReload; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/***/ })
|
|||
|
|
|
|||
|
|
},[[338,"common/runtime","common/vendor"]]]);
|
|||
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/artisan/qualification_syr_change.js.map
|