|
|
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["technician/pages/apply"],{
|
|
|
|
|
|
|
|
/***/ 621:
|
|
|
|
/*!*************************************************************************************!*\
|
|
|
|
!*** C:/Users/18634/Desktop/项目/xxdj1/main.js?{"page":"technician%2Fpages%2Fapply"} ***!
|
|
|
|
\*************************************************************************************/
|
|
|
|
/*! no static exports found */
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
/* WEBPACK VAR INJECTION */(function(wx, createPage) {
|
|
|
|
|
|
|
|
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
|
|
|
__webpack_require__(/*! uni-pages */ 26);
|
|
|
|
__webpack_require__(/*! @dcloudio/uni-stat/dist/uni-stat.es.js */ 27);
|
|
|
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
|
|
|
|
var _apply = _interopRequireDefault(__webpack_require__(/*! ./technician/pages/apply.vue */ 622));
|
|
|
|
// @ts-ignore
|
|
|
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
|
|
|
createPage(_apply.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"]))
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 622:
|
|
|
|
/*!******************************************************************!*\
|
|
|
|
!*** C:/Users/18634/Desktop/项目/xxdj1/technician/pages/apply.vue ***!
|
|
|
|
\******************************************************************/
|
|
|
|
/*! no static exports found */
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
/* harmony import */ var _apply_vue_vue_type_template_id_2068c046___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./apply.vue?vue&type=template&id=2068c046& */ 623);
|
|
|
|
/* harmony import */ var _apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./apply.vue?vue&type=script&lang=js& */ 625);
|
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _apply_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 _apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
|
/* harmony import */ var _apply_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./apply.vue?vue&type=style&index=0&lang=scss& */ 627);
|
|
|
|
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 66);
|
|
|
|
|
|
|
|
var renderjs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* normalize component */
|
|
|
|
|
|
|
|
var component = Object(_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|
|
|
_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
|
|
_apply_vue_vue_type_template_id_2068c046___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
|
|
_apply_vue_vue_type_template_id_2068c046___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
|
|
false,
|
|
|
|
null,
|
|
|
|
null,
|
|
|
|
null,
|
|
|
|
false,
|
|
|
|
_apply_vue_vue_type_template_id_2068c046___WEBPACK_IMPORTED_MODULE_0__["components"],
|
|
|
|
renderjs
|
|
|
|
)
|
|
|
|
|
|
|
|
component.options.__file = "technician/pages/apply.vue"
|
|
|
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 623:
|
|
|
|
/*!*************************************************************************************************!*\
|
|
|
|
!*** C:/Users/18634/Desktop/项目/xxdj1/technician/pages/apply.vue?vue&type=template&id=2068c046& ***!
|
|
|
|
\*************************************************************************************************/
|
|
|
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_template_id_2068c046___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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!./apply.vue?vue&type=template&id=2068c046& */ 624);
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_template_id_2068c046___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
|
|
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_template_id_2068c046___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
|
|
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_template_id_2068c046___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
|
|
|
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_template_id_2068c046___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 624:
|
|
|
|
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
|
!*** ./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!C:/Users/18634/Desktop/项目/xxdj1/technician/pages/apply.vue?vue&type=template&id=2068c046& ***!
|
|
|
|
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
|
|
/*! 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 = {
|
|
|
|
uPicker: function () {
|
|
|
|
return Promise.all(/*! import() | uni_modules/uview-ui/components/u-picker/u-picker */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-picker/u-picker")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-picker/u-picker.vue */ 948))
|
|
|
|
},
|
|
|
|
}
|
|
|
|
} 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 g0 = _vm.isLoad
|
|
|
|
? (_vm.options.admin_id && [2, 3].includes(_vm.coach_status)) ||
|
|
|
|
_vm.is_update
|
|
|
|
: null
|
|
|
|
var g1 = _vm.isLoad && !g0 ? _vm.form.text.length : null
|
|
|
|
var g2 = _vm.isLoad && !g0 && !(g1 > 300) ? _vm.form.text.length : null
|
|
|
|
if (!_vm._isMounted) {
|
|
|
|
_vm.e0 = function ($event) {
|
|
|
|
return _vm.$util.goUrl({
|
|
|
|
url: 1,
|
|
|
|
openType: "navigateBack",
|
|
|
|
})
|
|
|
|
}
|
|
|
|
_vm.e1 = function ($event, index) {
|
|
|
|
var _temp = arguments[arguments.length - 1].currentTarget.dataset,
|
|
|
|
_temp2 = _temp.eventParams || _temp["event-params"],
|
|
|
|
index = _temp2.index
|
|
|
|
var _temp, _temp2
|
|
|
|
$event.stopPropagation()
|
|
|
|
_vm.form.sex = index
|
|
|
|
}
|
|
|
|
_vm.e2 = function ($event) {
|
|
|
|
_vm.show = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
_vm.$mp.data = Object.assign(
|
|
|
|
{},
|
|
|
|
{
|
|
|
|
$root: {
|
|
|
|
g0: g0,
|
|
|
|
g1: g1,
|
|
|
|
g2: g2,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
)
|
|
|
|
}
|
|
|
|
var recyclableRender = false
|
|
|
|
var staticRenderFns = []
|
|
|
|
render._withStripped = true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 625:
|
|
|
|
/*!*******************************************************************************************!*\
|
|
|
|
!*** C:/Users/18634/Desktop/项目/xxdj1/technician/pages/apply.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 _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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!./apply.vue?vue&type=script&lang=js& */ 626);
|
|
|
|
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_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 _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
|
/* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 626:
|
|
|
|
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
|
!*** ./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!C:/Users/18634/Desktop/项目/xxdj1/technician/pages/apply.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 */ 36));
|
|
|
|
var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
|
|
|
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
|
|
|
|
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 38));
|
|
|
|
var _vuex = __webpack_require__(/*! vuex */ 48);
|
|
|
|
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 wPicker = function wPicker() {
|
|
|
|
__webpack_require__.e(/*! require.ensure | components/w-picker/w-picker */ "components/w-picker/w-picker").then((function () {
|
|
|
|
return resolve(__webpack_require__(/*! @/components/w-picker/w-picker.vue */ 884));
|
|
|
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
|
|
|
};
|
|
|
|
var _default = {
|
|
|
|
components: {
|
|
|
|
wPicker: wPicker
|
|
|
|
},
|
|
|
|
data: function data() {
|
|
|
|
return {
|
|
|
|
isLoad: false,
|
|
|
|
options: {},
|
|
|
|
cityList: [],
|
|
|
|
cityIndex: -1,
|
|
|
|
// -1未申请,1审核中,2审核通过,3取消授权,4审核失败(可再次申请)
|
|
|
|
tipArr: {
|
|
|
|
'-1': [{
|
|
|
|
text: '审核中不可编辑资料',
|
|
|
|
color: 0
|
|
|
|
}],
|
|
|
|
'2': [{
|
|
|
|
text: '快去管理订单吧',
|
|
|
|
color: 0
|
|
|
|
}],
|
|
|
|
'3': [{
|
|
|
|
text: '请联系平台管理人员询问原因',
|
|
|
|
color: 0
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
buttonArr: {
|
|
|
|
'-1': [{
|
|
|
|
text: '返回',
|
|
|
|
type: 'cancel'
|
|
|
|
}],
|
|
|
|
'2': [{
|
|
|
|
text: '去管理',
|
|
|
|
type: 'confirm'
|
|
|
|
}],
|
|
|
|
'3': [{
|
|
|
|
text: '再次申请',
|
|
|
|
type: 'confirm'
|
|
|
|
}, {
|
|
|
|
text: '个人中心',
|
|
|
|
type: 'cancel'
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
title: {
|
|
|
|
'-1': '您已经成功提交申请',
|
|
|
|
'2': '您已经是技师了',
|
|
|
|
'3': '平台管理员已取消授权'
|
|
|
|
},
|
|
|
|
image: {
|
|
|
|
'-1': 'https://lbqny.migugu.com/admin/public/apply_wait.jpg',
|
|
|
|
'2': 'https://lbqny.migugu.com/admin/public/apply_suc.jpg',
|
|
|
|
'3': 'https://lbqny.migugu.com/admin/public/apply_fail.jpg'
|
|
|
|
},
|
|
|
|
is_update: 0,
|
|
|
|
coach_status: 0,
|
|
|
|
form: {
|
|
|
|
id: 0,
|
|
|
|
coach_name: '',
|
|
|
|
//姓名
|
|
|
|
mobile: '',
|
|
|
|
//手机号
|
|
|
|
company_id: null,
|
|
|
|
sex: 0,
|
|
|
|
//性别
|
|
|
|
work_time: '',
|
|
|
|
//从业年份
|
|
|
|
// city: '', //城市
|
|
|
|
lng: '',
|
|
|
|
lat: '',
|
|
|
|
address: '',
|
|
|
|
//详细地址
|
|
|
|
text: '',
|
|
|
|
//备注
|
|
|
|
id_code: '',
|
|
|
|
//身份证号
|
|
|
|
id_card: [],
|
|
|
|
//身份证
|
|
|
|
id_card_fan: [],
|
|
|
|
// 身份证反面
|
|
|
|
id_card_people: [],
|
|
|
|
//手持身份证
|
|
|
|
license: [],
|
|
|
|
//资格证书
|
|
|
|
work_img: [],
|
|
|
|
// 工作照
|
|
|
|
self_img: [],
|
|
|
|
// 生活照
|
|
|
|
city_id: '',
|
|
|
|
// 城市 id
|
|
|
|
video: [],
|
|
|
|
healthy_img: []
|
|
|
|
},
|
|
|
|
store_name: '',
|
|
|
|
rule: [{
|
|
|
|
name: "coach_name",
|
|
|
|
checkType: "isNotNull",
|
|
|
|
errorMsg: "输入您的姓名",
|
|
|
|
regType: 2
|
|
|
|
}, {
|
|
|
|
name: "mobile",
|
|
|
|
checkType: "isMobile",
|
|
|
|
errorMsg: "输入手机号"
|
|
|
|
}, {
|
|
|
|
name: "company_id",
|
|
|
|
checkType: "isNotNull",
|
|
|
|
errorMsg: "输入店铺名称"
|
|
|
|
}, {
|
|
|
|
name: "work_time",
|
|
|
|
checkType: "isNotNull",
|
|
|
|
errorMsg: "请输入从业年份,例如:5"
|
|
|
|
}, {
|
|
|
|
name: "city_id",
|
|
|
|
checkType: "isNotNull",
|
|
|
|
errorMsg: "请选择意向工作城市"
|
|
|
|
}, {
|
|
|
|
name: "address",
|
|
|
|
checkType: "isNotNull",
|
|
|
|
errorMsg: "请选择所在地址"
|
|
|
|
}, {
|
|
|
|
name: "text",
|
|
|
|
checkType: "isNotNull",
|
|
|
|
errorMsg: "请输入技师简介",
|
|
|
|
regType: 2
|
|
|
|
}, {
|
|
|
|
name: "id_code",
|
|
|
|
checkType: "isIdCard",
|
|
|
|
errorMsg: "输入您的身份证号码"
|
|
|
|
}, {
|
|
|
|
name: "id_card",
|
|
|
|
checkType: "isNotNull",
|
|
|
|
errorMsg: "请上传身份证人像面"
|
|
|
|
}, {
|
|
|
|
name: "id_card_fan",
|
|
|
|
checkType: "isNotNull",
|
|
|
|
errorMsg: "请上传身份证国徽面"
|
|
|
|
}, {
|
|
|
|
name: "id_card_people",
|
|
|
|
checkType: "isNotNull",
|
|
|
|
errorMsg: "请上传手持身份证照片"
|
|
|
|
}, {
|
|
|
|
name: "license",
|
|
|
|
checkType: "isNotNull",
|
|
|
|
errorMsg: "请上传资格证书"
|
|
|
|
}, {
|
|
|
|
name: "work_img",
|
|
|
|
checkType: "isNotNull",
|
|
|
|
errorMsg: "请上传工作形象照"
|
|
|
|
}, {
|
|
|
|
name: "healthy_img",
|
|
|
|
checkType: "isNotNull",
|
|
|
|
errorMsg: "请上传健康证"
|
|
|
|
}, {
|
|
|
|
name: "self_img",
|
|
|
|
checkType: "isNotNull",
|
|
|
|
errorMsg: "请上传个人生活照"
|
|
|
|
}],
|
|
|
|
lockTap: false,
|
|
|
|
companyListData: [],
|
|
|
|
show: false
|
|
|
|
};
|
|
|
|
},
|
|
|
|
computed: (0, _vuex.mapState)({
|
|
|
|
primaryColor: function primaryColor(state) {
|
|
|
|
return state.config.configInfo.primaryColor;
|
|
|
|
},
|
|
|
|
subColor: function subColor(state) {
|
|
|
|
return state.config.configInfo.subColor;
|
|
|
|
},
|
|
|
|
userInfo: function userInfo(state) {
|
|
|
|
return state.user.userInfo;
|
|
|
|
},
|
|
|
|
location: function location(state) {
|
|
|
|
return state.user.location;
|
|
|
|
}
|
|
|
|
}),
|
|
|
|
onLoad: function onLoad(options) {
|
|
|
|
var _this = this;
|
|
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
|
|
var _options, _options$is_edit, is_edit, _options2, _options2$admin_id, admin_id, coach_status;
|
|
|
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
|
|
while (1) {
|
|
|
|
switch (_context.prev = _context.next) {
|
|
|
|
case 0:
|
|
|
|
_options = options, _options$is_edit = _options.is_edit, is_edit = _options$is_edit === void 0 ? 0 : _options$is_edit;
|
|
|
|
_this.companyList();
|
|
|
|
options.is_edit = is_edit;
|
|
|
|
_context.next = 5;
|
|
|
|
return _this.updateCommonOptions(options);
|
|
|
|
case 5:
|
|
|
|
options = _context.sent;
|
|
|
|
_this.options = options;
|
|
|
|
_this.$util.showLoading();
|
|
|
|
_context.next = 10;
|
|
|
|
return _this.initIndex();
|
|
|
|
case 10:
|
|
|
|
_options2 = options, _options2$admin_id = _options2.admin_id, admin_id = _options2$admin_id === void 0 ? 0 : _options2$admin_id;
|
|
|
|
coach_status = _this.coach_status;
|
|
|
|
uni.setNavigationBarTitle({
|
|
|
|
title: is_edit ? '编辑资料' : admin_id && [2, 3].includes(coach_status) ? "" : "\u7533\u8BF7\u6280\u5E08"
|
|
|
|
});
|
|
|
|
_this.isLoad = true;
|
|
|
|
case 14:
|
|
|
|
case "end":
|
|
|
|
return _context.stop();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, _callee);
|
|
|
|
}))();
|
|
|
|
},
|
|
|
|
methods: _objectSpread(_objectSpread(_objectSpread({}, (0, _vuex.mapActions)(['getUserInfo', 'updateCommonOptions'])), (0, _vuex.mapMutations)(['updateUserItem'])), {}, {
|
|
|
|
companyList: function companyList() {
|
|
|
|
var _this2 = this;
|
|
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
|
|
var data;
|
|
|
|
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
|
|
while (1) {
|
|
|
|
switch (_context2.prev = _context2.next) {
|
|
|
|
case 0:
|
|
|
|
_context2.next = 2;
|
|
|
|
return _this2.$api.mine.companyList();
|
|
|
|
case 2:
|
|
|
|
data = _context2.sent;
|
|
|
|
_this2.companyListData.push(data);
|
|
|
|
case 4:
|
|
|
|
case "end":
|
|
|
|
return _context2.stop();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, _callee2);
|
|
|
|
}))();
|
|
|
|
},
|
|
|
|
initIndex: function initIndex() {
|
|
|
|
var _arguments = arguments,
|
|
|
|
_this3 = this;
|
|
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
|
|
|
var refresh, data, key;
|
|
|
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
|
|
|
while (1) {
|
|
|
|
switch (_context3.prev = _context3.next) {
|
|
|
|
case 0:
|
|
|
|
refresh = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : false;
|
|
|
|
_context3.next = 3;
|
|
|
|
return _this3.getCityList();
|
|
|
|
case 3:
|
|
|
|
_context3.next = 5;
|
|
|
|
return _this3.$api.technician.coachInfo();
|
|
|
|
case 5:
|
|
|
|
data = _context3.sent;
|
|
|
|
_this3.$util.setNavigationBarColor({
|
|
|
|
bg: _this3.primaryColor
|
|
|
|
});
|
|
|
|
if (!(data && !data.id)) {
|
|
|
|
_context3.next = 10;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
_this3.$util.hideAll();
|
|
|
|
return _context3.abrupt("return");
|
|
|
|
case 10:
|
|
|
|
data.id_card = data.id_card.map(function (item) {
|
|
|
|
return {
|
|
|
|
path: item
|
|
|
|
};
|
|
|
|
});
|
|
|
|
data.id_card_fan = [data.id_card[1]];
|
|
|
|
data.id_card_people = [data.id_card[2]];
|
|
|
|
data.id_card.splice(1, 3);
|
|
|
|
data.license = data.license.map(function (item) {
|
|
|
|
return {
|
|
|
|
path: item
|
|
|
|
};
|
|
|
|
});
|
|
|
|
data.work_img = [{
|
|
|
|
path: data.work_img
|
|
|
|
}];
|
|
|
|
data.healthy_img = [{
|
|
|
|
path: data.healthy_img
|
|
|
|
}];
|
|
|
|
data.self_img = data.self_img.map(function (item) {
|
|
|
|
return {
|
|
|
|
path: item
|
|
|
|
};
|
|
|
|
});
|
|
|
|
data.video = data.video && data.video.length > 0 ? [{
|
|
|
|
path: data.video
|
|
|
|
}] : [];
|
|
|
|
_this3.cityIndex = _this3.cityList.findIndex(function (item) {
|
|
|
|
return item.id == data.city_id;
|
|
|
|
});
|
|
|
|
for (key in _this3.form) {
|
|
|
|
_this3.form[key] = data[key];
|
|
|
|
}
|
|
|
|
_this3.coach_status = data.is_update == 1 ? -1 : data.status;
|
|
|
|
_this3.is_update = data.is_update;
|
|
|
|
_this3.$util.hideAll();
|
|
|
|
case 24:
|
|
|
|
case "end":
|
|
|
|
return _context3.stop();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, _callee3);
|
|
|
|
}))();
|
|
|
|
},
|
|
|
|
initRefresh: function initRefresh() {
|
|
|
|
this.initIndex(true);
|
|
|
|
},
|
|
|
|
getCityList: function getCityList() {
|
|
|
|
var _this4 = this;
|
|
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
|
|
|
var location, _location, _location$lng, lng, _location$lat, lat, city;
|
|
|
|
return _regenerator.default.wrap(function _callee4$(_context4) {
|
|
|
|
while (1) {
|
|
|
|
switch (_context4.prev = _context4.next) {
|
|
|
|
case 0:
|
|
|
|
location = _this4.location;
|
|
|
|
if (location.lat) {
|
|
|
|
_context4.next = 7;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
_context4.next = 4;
|
|
|
|
return _this4.$util.getBmapLocation();
|
|
|
|
case 4:
|
|
|
|
location = _context4.sent;
|
|
|
|
// location = await this.$util.getBmapLocation()
|
|
|
|
console.log(location, "mmnn111");
|
|
|
|
_this4.updateUserItem({
|
|
|
|
key: 'location',
|
|
|
|
val: location
|
|
|
|
});
|
|
|
|
case 7:
|
|
|
|
_location = location, _location$lng = _location.lng, lng = _location$lng === void 0 ? 0 : _location$lng, _location$lat = _location.lat, lat = _location$lat === void 0 ? 0 : _location$lat;
|
|
|
|
console.log(location, "uuuuii");
|
|
|
|
if (!(lat && lng)) {
|
|
|
|
_context4.next = 17;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
_context4.next = 12;
|
|
|
|
return _this4.$api.base.getCity({
|
|
|
|
lng: lng,
|
|
|
|
lat: lat
|
|
|
|
});
|
|
|
|
case 12:
|
|
|
|
city = _context4.sent;
|
|
|
|
console.log(city, "jjjjj");
|
|
|
|
_this4.$util.hideAll();
|
|
|
|
_this4.cityList = city;
|
|
|
|
_this4.form.city_id = city.length > 0 ? city[0].id : 0;
|
|
|
|
case 17:
|
|
|
|
case "end":
|
|
|
|
return _context4.stop();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, _callee4);
|
|
|
|
}))();
|
|
|
|
},
|
|
|
|
pickerChange: function pickerChange(e, val) {
|
|
|
|
console.log('picker发送选择改变,携带值为', e.target.value);
|
|
|
|
this.cityIndex = e.target.value;
|
|
|
|
this.form.city_id = this.cityList[this.cityIndex].id;
|
|
|
|
},
|
|
|
|
pickerChangeCompany: function pickerChangeCompany(val) {
|
|
|
|
console.log('picker发送选择改变,携带值为', val.value);
|
|
|
|
// this.cityIndex = e.target.value
|
|
|
|
this.store_name = val.value[0].name;
|
|
|
|
this.form.company_id = val.value[0].id;
|
|
|
|
this.show = false;
|
|
|
|
},
|
|
|
|
cancelHandle: function cancelHandle() {
|
|
|
|
this.show = false;
|
|
|
|
},
|
|
|
|
imgUpload: function imgUpload(e) {
|
|
|
|
var imagelist = e.imagelist,
|
|
|
|
imgtype = e.imgtype;
|
|
|
|
this.form[imgtype] = imagelist;
|
|
|
|
},
|
|
|
|
// 选择地区
|
|
|
|
toChooseLocation: function toChooseLocation(e) {
|
|
|
|
var _this5 = this;
|
|
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
|
|
|
|
var _yield$uni$chooseLoca, _yield$uni$chooseLoca2, _yield$uni$chooseLoca3, _yield$uni$chooseLoca4, address, longitude, latitude;
|
|
|
|
return _regenerator.default.wrap(function _callee5$(_context5) {
|
|
|
|
while (1) {
|
|
|
|
switch (_context5.prev = _context5.next) {
|
|
|
|
case 0:
|
|
|
|
_context5.next = 2;
|
|
|
|
return _this5.$util.checkAuth({
|
|
|
|
type: 'userLocation'
|
|
|
|
});
|
|
|
|
case 2:
|
|
|
|
_context5.next = 4;
|
|
|
|
return uni.chooseLocation();
|
|
|
|
case 4:
|
|
|
|
_yield$uni$chooseLoca = _context5.sent;
|
|
|
|
_yield$uni$chooseLoca2 = (0, _slicedToArray2.default)(_yield$uni$chooseLoca, 2);
|
|
|
|
_yield$uni$chooseLoca3 = _yield$uni$chooseLoca2[1];
|
|
|
|
_yield$uni$chooseLoca4 = _yield$uni$chooseLoca3.address;
|
|
|
|
address = _yield$uni$chooseLoca4 === void 0 ? '' : _yield$uni$chooseLoca4;
|
|
|
|
longitude = _yield$uni$chooseLoca3.longitude;
|
|
|
|
latitude = _yield$uni$chooseLoca3.latitude;
|
|
|
|
if (address) {
|
|
|
|
_context5.next = 13;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
return _context5.abrupt("return");
|
|
|
|
case 13:
|
|
|
|
_this5.form.address = address;
|
|
|
|
_this5.form.lng = longitude;
|
|
|
|
_this5.form.lat = latitude;
|
|
|
|
case 16:
|
|
|
|
case "end":
|
|
|
|
return _context5.stop();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, _callee5);
|
|
|
|
}))();
|
|
|
|
},
|
|
|
|
// 去管理/再次申请
|
|
|
|
confirm: function confirm() {
|
|
|
|
var _this6 = this;
|
|
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {
|
|
|
|
var coach_status, page, url;
|
|
|
|
return _regenerator.default.wrap(function _callee6$(_context6) {
|
|
|
|
while (1) {
|
|
|
|
switch (_context6.prev = _context6.next) {
|
|
|
|
case 0:
|
|
|
|
coach_status = _this6.coach_status;
|
|
|
|
page = {
|
|
|
|
2: "/pages/mine",
|
|
|
|
3: "/technician/pages/apply"
|
|
|
|
};
|
|
|
|
url = page[coach_status];
|
|
|
|
_this6.$util.log(url);
|
|
|
|
_this6.$util.goUrl({
|
|
|
|
url: url,
|
|
|
|
openType: "reLaunch"
|
|
|
|
});
|
|
|
|
case 5:
|
|
|
|
case "end":
|
|
|
|
return _context6.stop();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, _callee6);
|
|
|
|
}))();
|
|
|
|
},
|
|
|
|
//表单验证
|
|
|
|
validate: function validate(param) {
|
|
|
|
var validate = new this.$util.Validate();
|
|
|
|
this.rule.map(function (item) {
|
|
|
|
var name = item.name;
|
|
|
|
validate.add(param[name], item);
|
|
|
|
});
|
|
|
|
var message = validate.start();
|
|
|
|
return message;
|
|
|
|
},
|
|
|
|
submit: function submit() {
|
|
|
|
var _this7 = this;
|
|
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
|
|
|
|
var param, arr, msg, _this7$options$admin_, admin_id, _this7$options$is_edi, is_edit, methodModel, res, _msg;
|
|
|
|
return _regenerator.default.wrap(function _callee7$(_context7) {
|
|
|
|
while (1) {
|
|
|
|
switch (_context7.prev = _context7.next) {
|
|
|
|
case 0:
|
|
|
|
param = _this7.$util.deepCopy(_this7.form);
|
|
|
|
arr = ['id_card', 'id_card_fan', 'id_card_people', 'work_img', 'healthy_img', 'video'];
|
|
|
|
arr.map(function (item) {
|
|
|
|
param[item] = param[item].length > 0 ? param[item][0].path : '';
|
|
|
|
});
|
|
|
|
param.license = param.license.map(function (item) {
|
|
|
|
return item.path;
|
|
|
|
});
|
|
|
|
param.self_img = param.self_img.map(function (item) {
|
|
|
|
return item.path;
|
|
|
|
});
|
|
|
|
msg = _this7.validate(param);
|
|
|
|
if (!msg) {
|
|
|
|
_context7.next = 9;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
_this7.$util.showToast({
|
|
|
|
title: msg
|
|
|
|
});
|
|
|
|
return _context7.abrupt("return");
|
|
|
|
case 9:
|
|
|
|
_this7$options$admin_ = _this7.options.admin_id, admin_id = _this7$options$admin_ === void 0 ? 0 : _this7$options$admin_;
|
|
|
|
if (admin_id) {
|
|
|
|
param.admin_id = admin_id;
|
|
|
|
}
|
|
|
|
param.id_card = [param.id_card, param.id_card_fan, param.id_card_people];
|
|
|
|
delete param.id_card_fan;
|
|
|
|
delete param.id_card_people;
|
|
|
|
if (!_this7.lockTap) {
|
|
|
|
_context7.next = 16;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
return _context7.abrupt("return");
|
|
|
|
case 16:
|
|
|
|
_this7.lockTap = true;
|
|
|
|
_this7.$util.showLoading();
|
|
|
|
_context7.prev = 18;
|
|
|
|
_this7$options$is_edi = _this7.options.is_edit, is_edit = _this7$options$is_edi === void 0 ? 0 : _this7$options$is_edi;
|
|
|
|
methodModel = param.id && is_edit ? 'coachUpdateV2' : 'coachApply';
|
|
|
|
_context7.next = 23;
|
|
|
|
return _this7.$api.technician[methodModel](param);
|
|
|
|
case 23:
|
|
|
|
res = _context7.sent;
|
|
|
|
console.log(res, "lldd");
|
|
|
|
_this7.$util.hideAll();
|
|
|
|
_msg = param.id && is_edit ? "" : ",\u5373\u5C06\u8DF3\u8F6C\u4E2A\u4EBA\u4E2D\u5FC3";
|
|
|
|
_this7.$util.showToast({
|
|
|
|
title: "\u63D0\u4EA4\u6210\u529F".concat(_msg)
|
|
|
|
});
|
|
|
|
setTimeout(function () {
|
|
|
|
if (param.id && is_edit) {
|
|
|
|
_this7.coach_status = -1;
|
|
|
|
_this7.is_update = 1;
|
|
|
|
// this.$util.goUrl({
|
|
|
|
// url: '/pages/mine',
|
|
|
|
// openType: `reLaunch`
|
|
|
|
// })
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
_this7.$util.back();
|
|
|
|
_this7.$util.goUrl({
|
|
|
|
url: '/pages/mine',
|
|
|
|
openType: "reLaunch"
|
|
|
|
});
|
|
|
|
}, 1500);
|
|
|
|
_context7.next = 34;
|
|
|
|
break;
|
|
|
|
case 31:
|
|
|
|
_context7.prev = 31;
|
|
|
|
_context7.t0 = _context7["catch"](18);
|
|
|
|
setTimeout(function () {
|
|
|
|
_this7.lockTap = false;
|
|
|
|
_this7.$util.hideAll();
|
|
|
|
}, 2000);
|
|
|
|
case 34:
|
|
|
|
case "end":
|
|
|
|
return _context7.stop();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, _callee7, null, [[18, 31]]);
|
|
|
|
}))();
|
|
|
|
}
|
|
|
|
})
|
|
|
|
};
|
|
|
|
exports.default = _default;
|
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 627:
|
|
|
|
/*!****************************************************************************************************!*\
|
|
|
|
!*** C:/Users/18634/Desktop/项目/xxdj1/technician/pages/apply.vue?vue&type=style&index=0&lang=scss& ***!
|
|
|
|
\****************************************************************************************************/
|
|
|
|
/*! no static exports found */
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-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--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./apply.vue?vue&type=style&index=0&lang=scss& */ 628);
|
|
|
|
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
|
/* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 628:
|
|
|
|
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
|
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-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--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/18634/Desktop/项目/xxdj1/technician/pages/apply.vue?vue&type=style&index=0&lang=scss& ***!
|
|
|
|
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
|
|
/*! no static exports found */
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
|
if(false) { var cssReload; }
|
|
|
|
|
|
|
|
|
|
|
|
/***/ })
|
|
|
|
|
|
|
|
},[[621,"common/runtime","common/vendor"]]]);
|
|
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/technician/pages/apply.js.map
|