|
|
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["user/pages/salesman/apply"],{
|
|
|
|
|
|
|
|
/***/ 305:
|
|
|
|
/*!*****************************************************************************************************!*\
|
|
|
|
!*** C:/Users/Administrator/Desktop/上门按摩/uniapp/main.js?{"page":"user%2Fpages%2Fsalesman%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);
|
|
|
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
|
|
|
|
var _apply = _interopRequireDefault(__webpack_require__(/*! ./user/pages/salesman/apply.vue */ 306));
|
|
|
|
// @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"]))
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 306:
|
|
|
|
/*!********************************************************************************!*\
|
|
|
|
!*** C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/salesman/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_bee1be84___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./apply.vue?vue&type=template&id=bee1be84& */ 307);
|
|
|
|
/* harmony import */ var _apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./apply.vue?vue&type=script&lang=js& */ 309);
|
|
|
|
/* 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 _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 68);
|
|
|
|
|
|
|
|
var renderjs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* normalize component */
|
|
|
|
|
|
|
|
var component = Object(_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
|
|
_apply_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
|
|
_apply_vue_vue_type_template_id_bee1be84___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
|
|
_apply_vue_vue_type_template_id_bee1be84___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
|
|
false,
|
|
|
|
null,
|
|
|
|
null,
|
|
|
|
null,
|
|
|
|
false,
|
|
|
|
_apply_vue_vue_type_template_id_bee1be84___WEBPACK_IMPORTED_MODULE_0__["components"],
|
|
|
|
renderjs
|
|
|
|
)
|
|
|
|
|
|
|
|
component.options.__file = "user/pages/salesman/apply.vue"
|
|
|
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 307:
|
|
|
|
/*!***************************************************************************************************************!*\
|
|
|
|
!*** C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/salesman/apply.vue?vue&type=template&id=bee1be84& ***!
|
|
|
|
\***************************************************************************************************************/
|
|
|
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
/* harmony import */ var _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_template_id_bee1be84___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./apply.vue?vue&type=template&id=bee1be84& */ 308);
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_template_id_bee1be84___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
|
|
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_template_id_bee1be84___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
|
|
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_template_id_bee1be84___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
|
|
|
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_apply_vue_vue_type_template_id_bee1be84___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 308:
|
|
|
|
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
|
!*** ./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/Administrator/Desktop/上门按摩/uniapp/user/pages/salesman/apply.vue?vue&type=template&id=bee1be84& ***!
|
|
|
|
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
|
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
|
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
|
|
|
|
var components
|
|
|
|
var render = function () {
|
|
|
|
var _vm = this
|
|
|
|
var _h = _vm.$createElement
|
|
|
|
var _c = _vm._self._c || _h
|
|
|
|
var g0 = _vm.isLoad
|
|
|
|
? (_vm.options.admin_id && _vm.salesman_status != -1) ||
|
|
|
|
(!_vm.options.admin_id && [1, 2, 3].includes(_vm.salesman_status))
|
|
|
|
: null
|
|
|
|
_vm.$mp.data = Object.assign(
|
|
|
|
{},
|
|
|
|
{
|
|
|
|
$root: {
|
|
|
|
g0: g0,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
)
|
|
|
|
}
|
|
|
|
var recyclableRender = false
|
|
|
|
var staticRenderFns = []
|
|
|
|
render._withStripped = true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 309:
|
|
|
|
/*!*********************************************************************************************************!*\
|
|
|
|
!*** C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/salesman/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 _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_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__(/*! -!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./apply.vue?vue&type=script&lang=js& */ 310);
|
|
|
|
/* harmony import */ var _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_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(_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_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 _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_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 _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_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"] = (_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_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);
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 310:
|
|
|
|
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
|
!*** ./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/Administrator/Desktop/上门按摩/uniapp/user/pages/salesman/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 */ 30));
|
|
|
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
|
|
|
|
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 32));
|
|
|
|
var _vuex = __webpack_require__(/*! vuex */ 33);
|
|
|
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
|
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
|
|
var _default = {
|
|
|
|
components: {},
|
|
|
|
data: function data() {
|
|
|
|
return {
|
|
|
|
isLoad: false,
|
|
|
|
options: {},
|
|
|
|
// -1未申请,1审核中,2审核通过,3取消授权,4审核失败(可再次申请)
|
|
|
|
tipArr: {
|
|
|
|
'1': [{
|
|
|
|
text: '您已经成功提交申请',
|
|
|
|
color: 0
|
|
|
|
}, {
|
|
|
|
text: '审核将在3个工作日内出结果,请耐心等待',
|
|
|
|
color: 0
|
|
|
|
}],
|
|
|
|
'2': [{
|
|
|
|
text: '恭喜您,审核通过!',
|
|
|
|
color: 0
|
|
|
|
}, {
|
|
|
|
text: '您已具备业务员资格,快去分享体验吧~',
|
|
|
|
color: 0
|
|
|
|
}],
|
|
|
|
'3': [{
|
|
|
|
text: '请联系平台管理人员询问原因',
|
|
|
|
color: 0
|
|
|
|
}],
|
|
|
|
'4': [{
|
|
|
|
text: '请联系平台管理人员询问失败原因',
|
|
|
|
color: 0
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
buttonArr: {
|
|
|
|
'1': [{
|
|
|
|
text: '个人中心',
|
|
|
|
type: 'cancel'
|
|
|
|
}],
|
|
|
|
'2': [{
|
|
|
|
text: '去分享',
|
|
|
|
type: 'confirm'
|
|
|
|
}],
|
|
|
|
'3': [{
|
|
|
|
text: '个人中心',
|
|
|
|
type: 'cancel'
|
|
|
|
}],
|
|
|
|
'4': [{
|
|
|
|
text: '再次申请',
|
|
|
|
type: 'confirm'
|
|
|
|
}, {
|
|
|
|
text: '个人中心',
|
|
|
|
type: 'cancel'
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
title: {
|
|
|
|
'-1': '申请业务员',
|
|
|
|
'1': '等待审核',
|
|
|
|
'2': '',
|
|
|
|
'3': '取消授权',
|
|
|
|
'4': '申请失败'
|
|
|
|
},
|
|
|
|
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',
|
|
|
|
'4': 'https://lbqny.migugu.com/admin/public/apply_fail.jpg'
|
|
|
|
},
|
|
|
|
salesman_status: -1,
|
|
|
|
form: {
|
|
|
|
id: 0,
|
|
|
|
admin_id: 0,
|
|
|
|
user_name: '',
|
|
|
|
//姓名
|
|
|
|
phone: '' //手机号
|
|
|
|
},
|
|
|
|
|
|
|
|
rule: [{
|
|
|
|
name: "user_name",
|
|
|
|
checkType: "isNotNull",
|
|
|
|
errorMsg: "请输入您的真实姓名",
|
|
|
|
regType: 2
|
|
|
|
}, {
|
|
|
|
name: "phone",
|
|
|
|
checkType: "isMobile",
|
|
|
|
errorMsg: "请输入常用手机号码"
|
|
|
|
}],
|
|
|
|
lockTap: 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;
|
|
|
|
}
|
|
|
|
}),
|
|
|
|
onLoad: function onLoad(options) {
|
|
|
|
var _this = this;
|
|
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
|
|
var _options, _options$admin_id, admin_id, title, salesman_status;
|
|
|
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
|
|
while (1) {
|
|
|
|
switch (_context.prev = _context.next) {
|
|
|
|
case 0:
|
|
|
|
_this.$util.showLoading();
|
|
|
|
_options = options, _options$admin_id = _options.admin_id, admin_id = _options$admin_id === void 0 ? 0 : _options$admin_id;
|
|
|
|
if (!admin_id) {
|
|
|
|
_context.next = 8;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
_context.next = 5;
|
|
|
|
return _this.updateCommonOptions(options);
|
|
|
|
case 5:
|
|
|
|
_context.t0 = _context.sent;
|
|
|
|
_context.next = 9;
|
|
|
|
break;
|
|
|
|
case 8:
|
|
|
|
_context.t0 = options;
|
|
|
|
case 9:
|
|
|
|
options = _context.t0;
|
|
|
|
_this.options = options;
|
|
|
|
_context.next = 13;
|
|
|
|
return _this.initIndex();
|
|
|
|
case 13:
|
|
|
|
title = _this.title, salesman_status = _this.salesman_status;
|
|
|
|
uni.setNavigationBarTitle({
|
|
|
|
title: title[salesman_status]
|
|
|
|
});
|
|
|
|
_this.isLoad = true;
|
|
|
|
case 16:
|
|
|
|
case "end":
|
|
|
|
return _context.stop();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, _callee);
|
|
|
|
}))();
|
|
|
|
},
|
|
|
|
methods: _objectSpread(_objectSpread(_objectSpread({}, (0, _vuex.mapActions)(['getConfigInfo', 'getUserInfo', 'updateCommonOptions'])), (0, _vuex.mapMutations)(['updateUserItem'])), {}, {
|
|
|
|
initIndex: function initIndex() {
|
|
|
|
var _arguments = arguments,
|
|
|
|
_this2 = this;
|
|
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
|
|
var refresh, data, _this2$options$admin_, admin_id, key, status, sh_text;
|
|
|
|
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
|
|
while (1) {
|
|
|
|
switch (_context2.prev = _context2.next) {
|
|
|
|
case 0:
|
|
|
|
refresh = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : false;
|
|
|
|
_context2.next = 3;
|
|
|
|
return _this2.$api.salesman.salesmanInfo();
|
|
|
|
case 3:
|
|
|
|
data = _context2.sent;
|
|
|
|
_this2.$util.setNavigationBarColor({
|
|
|
|
bg: _this2.primaryColor
|
|
|
|
});
|
|
|
|
if (data.id) {
|
|
|
|
_this2$options$admin_ = _this2.options.admin_id, admin_id = _this2$options$admin_ === void 0 ? 0 : _this2$options$admin_;
|
|
|
|
if (admin_id) {
|
|
|
|
data.admin_id = admin_id;
|
|
|
|
}
|
|
|
|
for (key in _this2.form) {
|
|
|
|
_this2.form[key] = data[key];
|
|
|
|
}
|
|
|
|
status = data.status, sh_text = data.sh_text;
|
|
|
|
_this2.salesman_status = !admin_id && status == 4 ? -1 : status;
|
|
|
|
if (status == 4 && sh_text) {
|
|
|
|
_this2.tipArr[4][0].text = sh_text;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
_this2.$util.hideAll();
|
|
|
|
case 7:
|
|
|
|
case "end":
|
|
|
|
return _context2.stop();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, _callee2);
|
|
|
|
}))();
|
|
|
|
},
|
|
|
|
initRefresh: function initRefresh() {
|
|
|
|
this.initIndex(true);
|
|
|
|
},
|
|
|
|
// 个人中心/去分享
|
|
|
|
confirm: function confirm() {
|
|
|
|
var _this3 = this;
|
|
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
|
|
|
var salesman_status, url;
|
|
|
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
|
|
|
while (1) {
|
|
|
|
switch (_context3.prev = _context3.next) {
|
|
|
|
case 0:
|
|
|
|
salesman_status = _this3.salesman_status;
|
|
|
|
if (!(salesman_status == 4)) {
|
|
|
|
_context3.next = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
_this3.salesman_status = -1;
|
|
|
|
uni.setNavigationBarTitle({
|
|
|
|
title: '申请业务员'
|
|
|
|
});
|
|
|
|
return _context3.abrupt("return");
|
|
|
|
case 5:
|
|
|
|
url = salesman_status == 2 ? "/user/pages/salesman/income" : "/pages/mine";
|
|
|
|
_this3.$util.log(url);
|
|
|
|
_this3.$util.goUrl({
|
|
|
|
url: url,
|
|
|
|
openType: "reLaunch"
|
|
|
|
});
|
|
|
|
case 8:
|
|
|
|
case "end":
|
|
|
|
return _context3.stop();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, _callee3);
|
|
|
|
}))();
|
|
|
|
},
|
|
|
|
//表单验证
|
|
|
|
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 _this4 = this;
|
|
|
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
|
|
|
var param, msg, admin_id;
|
|
|
|
return _regenerator.default.wrap(function _callee4$(_context4) {
|
|
|
|
while (1) {
|
|
|
|
switch (_context4.prev = _context4.next) {
|
|
|
|
case 0:
|
|
|
|
param = _this4.$util.deepCopy(_this4.form);
|
|
|
|
msg = _this4.validate(param);
|
|
|
|
if (!msg) {
|
|
|
|
_context4.next = 5;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
_this4.$util.showToast({
|
|
|
|
title: msg
|
|
|
|
});
|
|
|
|
return _context4.abrupt("return");
|
|
|
|
case 5:
|
|
|
|
admin_id = _this4.options.admin_id;
|
|
|
|
if (admin_id) {
|
|
|
|
param.admin_id = admin_id;
|
|
|
|
}
|
|
|
|
if (!_this4.lockTap) {
|
|
|
|
_context4.next = 9;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
return _context4.abrupt("return");
|
|
|
|
case 9:
|
|
|
|
_this4.lockTap = true;
|
|
|
|
_this4.$util.showLoading();
|
|
|
|
_context4.prev = 11;
|
|
|
|
_context4.next = 14;
|
|
|
|
return _this4.$api.salesman.applySalesman(param);
|
|
|
|
case 14:
|
|
|
|
_this4.$util.hideAll();
|
|
|
|
_this4.$util.showToast({
|
|
|
|
title: "\u63D0\u4EA4\u6210\u529F"
|
|
|
|
});
|
|
|
|
setTimeout(function () {
|
|
|
|
_this4.$util.back();
|
|
|
|
_this4.$util.goUrl({
|
|
|
|
url: '/user/pages/apply-result?type=4',
|
|
|
|
openType: "redirectTo"
|
|
|
|
});
|
|
|
|
}, 1000);
|
|
|
|
_context4.next = 22;
|
|
|
|
break;
|
|
|
|
case 19:
|
|
|
|
_context4.prev = 19;
|
|
|
|
_context4.t0 = _context4["catch"](11);
|
|
|
|
setTimeout(function () {
|
|
|
|
_this4.lockTap = false;
|
|
|
|
_this4.$util.hideAll();
|
|
|
|
}, 2000);
|
|
|
|
case 22:
|
|
|
|
case "end":
|
|
|
|
return _context4.stop();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, _callee4, null, [[11, 19]]);
|
|
|
|
}))();
|
|
|
|
}
|
|
|
|
})
|
|
|
|
};
|
|
|
|
exports.default = _default;
|
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
|
|
|
|
|
/***/ })
|
|
|
|
|
|
|
|
},[[305,"common/runtime","common/vendor"]]]);
|
|
|
|
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/user/pages/salesman/apply.js.map
|