You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1086 lines
71 KiB

(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/mine"],{
/***/ 117:
/*!************************************************************************************************************************************************!*\
!*** C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/main.js?{"page":"pages%2Fmine"} ***!
\************************************************************************************************************************************************/
/*! 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 _mine = _interopRequireDefault(__webpack_require__(/*! ./pages/mine.vue */ 118));
// @ts-ignore
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
createPage(_mine.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"]))
/***/ }),
/***/ 118:
/*!*******************************************************************************************************************************!*\
!*** C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/pages/mine.vue ***!
\*******************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _mine_vue_vue_type_template_id_ef6e6e68___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mine.vue?vue&type=template&id=ef6e6e68& */ 119);
/* harmony import */ var _mine_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mine.vue?vue&type=script&lang=js& */ 121);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _mine_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 _mine_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _mine_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mine.vue?vue&type=style&index=0&lang=scss& */ 123);
/* 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_3__ = __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_3__["default"])(
_mine_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_mine_vue_vue_type_template_id_ef6e6e68___WEBPACK_IMPORTED_MODULE_0__["render"],
_mine_vue_vue_type_template_id_ef6e6e68___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
null,
null,
false,
_mine_vue_vue_type_template_id_ef6e6e68___WEBPACK_IMPORTED_MODULE_0__["components"],
renderjs
)
component.options.__file = "pages/mine.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
/***/ 119:
/*!**************************************************************************************************************************************************************!*\
!*** C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/pages/mine.vue?vue&type=template&id=ef6e6e68& ***!
\**************************************************************************************************************************************************************/
/*! 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_mine_vue_vue_type_template_id_ef6e6e68___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!./mine.vue?vue&type=template&id=ef6e6e68& */ 120);
/* 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_mine_vue_vue_type_template_id_ef6e6e68___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_mine_vue_vue_type_template_id_ef6e6e68___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_mine_vue_vue_type_template_id_ef6e6e68___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_mine_vue_vue_type_template_id_ef6e6e68___WEBPACK_IMPORTED_MODULE_0__["components"]; });
/***/ }),
/***/ 120:
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./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/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/pages/mine.vue?vue&type=template&id=ef6e6e68& ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! 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 m0 =
_vm.isLoad && _vm.userPageType == 2 ? _vm.$t("action.attendantName") : null
var g0 =
_vm.isLoad &&
_vm.userPageType == 1 &&
!(!_vm.userInfo || (_vm.userInfo && !_vm.userInfo.nickName)) &&
_vm.mineInfo.coach_status === 2
? _vm.mineInfo.coach_level &&
_vm.mineInfo.coach_level.length > 0 &&
_vm.mineInfo.coach_level.title
: null
var m1 =
_vm.isLoad &&
_vm.userPageType == 1 &&
!(!_vm.userInfo || (_vm.userInfo && !_vm.userInfo.nickName)) &&
_vm.mineInfo.coach_status === 2 &&
!g0
? _vm.$t("action.attendantName")
: null
var m2 =
_vm.isLoad &&
_vm.userPageType == 1 &&
_vm.toolLoad &&
(_vm.mineInfo.coach_status == 2 || _vm.mineInfo.coach_status == 3)
? _vm.$t("action.attendantName")
: null
if (!_vm._isMounted) {
_vm.e0 = function ($event) {
$event.stopPropagation()
return _vm.$util.goUrl({
url: "/user/pages/setting",
})
}
_vm.e1 = function ($event) {
return _vm.$util.toCheckLogin({
url: "/user/pages/stored/list",
})
}
_vm.e2 = function ($event) {
$event.stopPropagation()
return _vm.$util.toCheckLogin({
url: "/user/pages/collect",
})
}
_vm.e3 = function ($event) {
$event.stopPropagation()
return _vm.$util.toCheckLogin({
url: "/user/pages/coupon/list",
})
}
_vm.e4 = function ($event) {
$event.stopPropagation()
return _vm.$util.goUrl({
url: "/agent/pages/index?agent=0",
})
}
_vm.e5 = function ($event) {
$event.stopPropagation()
return _vm.$util.goUrl({
url: "/technician/pages/time-manage",
})
}
_vm.e6 = function ($event) {
$event.stopPropagation()
return _vm.$util.goUrl({
url: "/technician/pages/income/index",
})
}
_vm.e7 = function ($event) {
$event.stopPropagation()
return _vm.$util.goUrl({
url: "/user/pages/cash-out?type=carfee",
})
}
}
_vm.$mp.data = Object.assign(
{},
{
$root: {
m0: m0,
g0: g0,
m1: m1,
m2: m2,
},
}
)
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true
/***/ }),
/***/ 121:
/*!********************************************************************************************************************************************************!*\
!*** C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/pages/mine.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_mine_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!./mine.vue?vue&type=script&lang=js& */ 122);
/* 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_mine_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_mine_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_mine_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_mine_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_mine_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 122:
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./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/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/pages/mine.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 _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 */ 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 tabbar = function tabbar() {
__webpack_require__.e(/*! require.ensure | components/tabbar */ "components/tabbar").then((function () {
return resolve(__webpack_require__(/*! @/components/tabbar.vue */ 1084));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var _default = {
components: {
tabbar: tabbar
},
data: function data() {
return {
isLoad: false,
toolLoad: false,
options: {},
textType: {
1: '可服务',
2: '服务中',
3: '可预约',
4: '不可预约'
},
is_share: true,
// 我的订单
orderList: [],
orderList2: [{
icon: 'icon-kdd2',
text: '待接单',
url: '/technician/pages/order/list',
number: 0
}, {
icon: 'iconyijiedan',
text: '待服务',
url: '/technician/pages/order/list?tab=1',
number: 0
}, {
icon: 'icon-kll',
text: '服务中',
url: '/technician/pages/order/list?tab=2',
number: 0
}],
commissionList: [],
// 其他
toolList: [{
cover: '/static/mine/dizhiguanli.png',
text: '地址管理',
url: '/user/pages/address/list'
}, {
cover: '/static/mine/yijianfank.png',
text: '问题反馈',
url: '/user/pages/feedback/box'
}, {
cover: '/static/mine/pingjia.png',
text: '我的评价',
url: '/pages/order?tab=4'
}, {
cover: '/static/mine/tuikuan.png',
text: '退款售后',
url: '/user/pages/refund/list'
}, {
cover: '/static/mine/tel.png',
text: '联系客服',
url: ''
}],
toolList2: [{
cover: '/static/mine/dengji.png',
text: '等级管理',
url: '/technician/pages/level'
}, {
cover: '/static/mine/Wallet.png',
text: '储值返佣明细',
url: '/technician/pages/income/cash-integral',
number: 0
}, {
cover: '/static/mine/fencheng.png',
text: '分成明细',
url: '/technician/pages/income/commission-list',
number: 0
}, {
cover: '/static/mine/cfmx.png',
text: '车费明细',
url: '/technician/pages/car-fare'
}, {
cover: '/static/mine/cftx.png',
text: '车费提现记录',
url: '/user/pages/distribution/record?type=3'
}, {
cover: '/static/mine/shop.png',
text: '物料商城',
url: '/technician/pages/shop/list'
}, {
cover: '/static/mine/shens.png',
text: '差评申诉',
url: '/technician/pages/bad-comments/box'
}, {
cover: '/static/mine/pingbi.png',
text: '屏蔽用户',
url: '/technician/pages/shield'
}, {
cover: '/static/mine/qiehuan.png',
text: '切换用户端',
url: 'change'
}],
image_type: {
1: 'user_image',
2: 'coach_image'
},
font_type: {
1: 'user_font_color',
2: 'coach_font_color'
},
showAuth: false,
offsetL: 360,
offsetT: 0
};
},
computed: (0, _vuex.mapState)({
primaryColor: function primaryColor(state) {
return state.config.configInfo.primaryColor;
},
subColor: function subColor(state) {
return state.config.configInfo.subColor;
},
configInfo: function configInfo(state) {
return state.config.configInfo;
},
commonOptions: function commonOptions(state) {
return state.user.commonOptions;
},
userInfo: function userInfo(state) {
return state.user.userInfo;
},
userPageType: function userPageType(state) {
return state.user.userPageType;
},
locationChange: function locationChange(state) {
return state.user.locationChange;
},
location: function location(state) {
return state.user.location;
},
mineInfo: function mineInfo(state) {
return state.user.mineInfo;
},
coachInfo: function coachInfo(state) {
return state.user.coachInfo;
}
}),
onLoad: function onLoad(options) {
this.options = options;
var _options$type = options.type,
type = _options$type === void 0 ? 1 : _options$type;
if (type) {
this.updateUserItem({
key: 'userPageType',
val: type
});
}
var _this$mineInfo$id = this.mineInfo.id,
mine_id = _this$mineInfo$id === void 0 ? -1 : _this$mineInfo$id;
if (mine_id == -1) {
this.$util.showLoading();
}
this.initIndex();
},
onShow: function onShow() {
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:
if (!(_this.userPageType == 2)) {
_context.next = 3;
break;
}
_context.next = 3;
return Promise.all([_this.getCoachInfo(), _this.getOrderNumCall()]);
case 3:
case "end":
return _context.stop();
}
}
}, _callee);
}))();
},
onPullDownRefresh: function onPullDownRefresh() {
uni.showNavigationBarLoading();
this.initRefresh();
uni.stopPullDownRefresh();
},
methods: _objectSpread(_objectSpread(_objectSpread({}, (0, _vuex.mapActions)(['getConfigInfo', 'getUserInfo', 'getMineInfo', 'getCoachInfo', '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, _this2$configInfo, fx_check, _this2$configInfo$plu, plugAuth, _this2$mineInfo, coach_status, _this2$mineInfo$is_ad, is_admin, _this2$mineInfo$is_fx, is_fx, arr, applyText, textArr, agentInd, fxInd, _plugAuth$dynamic, dynamic, dynamicInd, badInd, fdd_auth_status, fddInd;
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;
if (!(!_this2.configInfo.id || refresh || _this2.configInfo.id && !_this2.configInfo.hasOwnProperty('recharge_status'))) {
_context2.next = 4;
break;
}
_context2.next = 4;
return _this2.getConfigInfo();
case 4:
_context2.next = 6;
return _this2.getMineInfo();
case 6:
_this2.isLoad = true;
_this2$configInfo = _this2.configInfo, fx_check = _this2$configInfo.fx_check, _this2$configInfo$plu = _this2$configInfo.plugAuth, plugAuth = _this2$configInfo$plu === void 0 ? {} : _this2$configInfo$plu;
_this2$mineInfo = _this2.mineInfo, coach_status = _this2$mineInfo.coach_status, _this2$mineInfo$is_ad = _this2$mineInfo.is_admin, is_admin = _this2$mineInfo$is_ad === void 0 ? 0 : _this2$mineInfo$is_ad, _this2$mineInfo$is_fx = _this2$mineInfo.is_fx, is_fx = _this2$mineInfo$is_fx === void 0 ? 0 : _this2$mineInfo$is_fx;
if (!(coach_status == 2 || coach_status == 3)) {
_context2.next = 12;
break;
}
_context2.next = 12;
return _this2.getCoachInfo();
case 12:
_this2.updateUserItem({
key: 'userPageType',
val: coach_status == 2 || coach_status == 3 ? _this2.userPageType : 1
});
arr = ['coach_status', 'channel_status', 'salesman_status'];
applyText = '申请' + _this2.$t('action.attendantName');
textArr = {
coach_status: {
text: applyText,
list: {
cover: '/static/mine/jishizhaopin.png',
text: applyText,
url: '/user/pages/apply'
}
},
channel_status: {
text: '申请渠道商',
list: {
cover: '/static/mine/qudao.png',
text: '申请渠道商',
url: '/user/pages/channel/apply'
},
list2: {
cover: '/static/mine/qudao.png',
text: '我是渠道商',
url: '/user/pages/channel/income'
}
},
salesman_status: {
text: '申请业务员',
list: {
cover: '/static/mine/yewu.png',
text: '申请业务员',
url: '/user/pages/salesman/apply'
},
list2: {
cover: '/static/mine/yewu.png',
text: '我是业务员',
url: '/user/pages/salesman/income'
}
}
};
arr.map(function (item) {
if (_this2.mineInfo[item] != 2) {
var _arr = _this2.toolList.filter(function (aitem) {
return aitem.text === textArr[item].text;
});
if (_arr.length === 0 && (item != 'salesman_status' || item == 'salesman_status' && _this2.mineInfo[item] != -1)) {
_this2.toolList.unshift(textArr[item].list);
}
if (item !== 'coach_status') {
var aindex = _this2.toolList.findIndex(function (aitem) {
return aitem.text === textArr[item].list2.text;
});
if (aindex != -1) {
_this2.toolList.splice(aindex, 1);
}
}
} else {
_this2.toolList.map(function (aitem, aindex) {
if (aitem.text === textArr[item].text) {
_this2.toolList.splice(aindex, 1);
}
});
if (item !== 'coach_status') {
var _arr2 = _this2.toolList.filter(function (aitem) {
return aitem.text === textArr[item].list2.text;
});
if (_arr2.length === 0) {
_this2.toolList.unshift(textArr[item].list2);
}
}
}
});
agentInd = _this2.toolList.findIndex(function (item) {
return item.text == '我是代理商' || item.text == '招商加盟';
});
if (agentInd == -1) {
_this2.toolList.unshift({
cover: '/static/mine/Add.png',
text: is_admin ? '我是代理商' : '招商加盟',
url: is_admin ? "/agent/pages/index?agent=1" : "/agent/pages/apply"
});
}
if (agentInd !== -1) {
_this2.toolList[agentInd] = {
cover: '/static/mine/Add.png',
text: is_admin ? '我是代理商' : '招商加盟',
url: is_admin ? "/agent/pages/index?agent=1" : "/agent/pages/apply"
};
}
fxInd = _this2.toolList.findIndex(function (item) {
return item.text == '申请分销商' || item.text == '分销商管理';
});
if (fxInd != -1) {
_this2.toolList.splice(fxInd, 1);
}
_this2.toolList.unshift({
cover: '/static/mine/fenxiao.png',
text: is_fx ? '分销商管理' : '申请分销商',
url: is_fx ? '/user/pages/distribution/income' : '/user/pages/distribution/apply'
});
if (_this2.userPageType == 2) {
_this2.getOrderNumCall();
}
_plugAuth$dynamic = plugAuth.dynamic, dynamic = _plugAuth$dynamic === void 0 ? false : _plugAuth$dynamic;
if (dynamic) {
dynamicInd = _this2.toolList2.findIndex(function (item) {
return item.text == '动态发布';
});
if (plugAuth.dynamic && dynamicInd == -1) {
badInd = _this2.toolList2.findIndex(function (item) {
return item.text == '差评申诉';
});
_this2.toolList2.splice(badInd + 1, 0, {
cover: '/static/mine/jishizhaopin.png',
text: '动态发布',
url: '/dynamic/pages/technician/list'
});
}
}
fdd_auth_status = _this2.coachInfo.fdd_auth_status;
fddInd = _this2.toolList2.findIndex(function (item) {
return item.text == '电签合同';
});
if (fdd_auth_status && fddInd == -1) {
_this2.toolList2.unshift({
cover: '/static/mine/hetong.png',
text: '电签合同',
url: ''
});
}
if (!fdd_auth_status && fddInd !== -1) {
_this2.toolList2.splice(fddInd, 1);
}
_this2.toolLoad = true;
_this2.$util.hideAll();
case 32:
case "end":
return _context2.stop();
}
}
}, _callee2);
}))();
},
initRefresh: function initRefresh() {
this.initIndex(true);
},
getOrderNumCall: function getOrderNumCall() {
var _this3 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
var data;
return _regenerator.default.wrap(function _callee3$(_context3) {
while (1) {
switch (_context3.prev = _context3.next) {
case 0:
_context3.next = 2;
return _this3.$api.technician.getOrderNum();
case 2:
data = _context3.sent;
_this3.orderList2[0].number = data.wait; //待接单
_this3.orderList2[1].number = data.start; //待服务
_this3.orderList2[2].number = data.progress; //服务中
case 6:
case "end":
return _context3.stop();
}
}
}, _callee3);
}))();
},
// 选择地区
toChooseLocation: function toChooseLocation() {
var _this4 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
var coach_status, _this4$coachInfo, _this4$coachInfo$lat, locaLat, _this4$coachInfo$lng, locaLng, param, _yield$uni$chooseLoca, _yield$uni$chooseLoca2, _yield$uni$chooseLoca3, _yield$uni$chooseLoca4, address, longitude, latitude, data;
return _regenerator.default.wrap(function _callee4$(_context4) {
while (1) {
switch (_context4.prev = _context4.next) {
case 0:
coach_status = _this4.mineInfo.coach_status;
if (!(coach_status != 2)) {
_context4.next = 3;
break;
}
return _context4.abrupt("return");
case 3:
_context4.next = 5;
return _this4.$util.checkAuth({
type: 'userLocation'
});
case 5:
_this4$coachInfo = _this4.coachInfo, _this4$coachInfo$lat = _this4$coachInfo.lat, locaLat = _this4$coachInfo$lat === void 0 ? '' : _this4$coachInfo$lat, _this4$coachInfo$lng = _this4$coachInfo.lng, locaLng = _this4$coachInfo$lng === void 0 ? '' : _this4$coachInfo$lng;
param = {};
_context4.next = 9;
return uni.chooseLocation(param);
case 9:
_yield$uni$chooseLoca = _context4.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) {
_context4.next = 18;
break;
}
return _context4.abrupt("return");
case 18:
_context4.next = 20;
return _this4.$api.technician.coachUpdate({
address: address,
lng: longitude,
lat: latitude
});
case 20:
data = _this4.$util.deepCopy(_this4.coachInfo);
data.address = address;
_this4.updateUserItem({
key: 'coachInfo',
val: data
});
_this4.updateUserItem({
key: 'locationChange',
val: true
});
_this4.$util.showToast({
title: "\u66F4\u65B0\u6210\u529F"
});
case 25:
case "end":
return _context4.stop();
}
}
}, _callee4);
}))();
},
// 实时定位
toChangeLocation: function toChangeLocation() {
var _this5 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
var coach_status, _this5$userInfo$coach, coach_position, cur;
return _regenerator.default.wrap(function _callee5$(_context5) {
while (1) {
switch (_context5.prev = _context5.next) {
case 0:
coach_status = _this5.mineInfo.coach_status;
if (!(coach_status != 2)) {
_context5.next = 3;
break;
}
return _context5.abrupt("return");
case 3:
_this5$userInfo$coach = _this5.userInfo.coach_position, coach_position = _this5$userInfo$coach === void 0 ? 0 : _this5$userInfo$coach;
cur = coach_position == 0 ? 1 : 0;
_context5.next = 7;
return _this5.$api.technician.coachUpdate({
coach_position: cur
});
case 7:
_context5.next = 9;
return _this5.getUserInfo();
case 9:
_this5.$util.showToast({
title: "\u64CD\u4F5C\u6210\u529F"
});
_this5.updateUserItem({
key: 'locationChange',
val: cur == 1
});
case 11:
case "end":
return _context5.stop();
}
}
}, _callee5);
}))();
},
toJump: function toJump(key, index) {
var _this$key$index = this[key][index],
url = _this$key$index.url,
text = _this$key$index.text;
var applyText = '申请' + this.$t('action.attendantName');
if ([applyText, '申请分销合伙人', '申请渠道商', '申请业务员'].includes(text)) {
this.toApply(text == applyText ? 1 : text == '申请分销合伙人' ? 2 : text == '申请渠道商' ? 3 : 4);
return;
}
if (text == '切换用户端') {
this.toChange();
return;
}
if (text == '联系客服') {
var _this$configInfo = this.configInfo,
_url = _this$configInfo.mobile,
im_type = _this$configInfo.im_type;
if (im_type == 2) return;
this.$util.goUrl({
url: _url,
openType: 'call'
});
return;
}
if (text == '电签合同') {
this.toFddSign();
return;
}
var openType = key == 'orderList' && index !== 4 ? "reLaunch" : 'navigateTo';
this.$util.log(url);
this.$util.toCheckLogin({
url: url,
openType: openType
});
},
toEditInfo: function toEditInfo() {
var _this$coachInfo = this.coachInfo,
status = _this$coachInfo.status,
fdd_auth_status = _this$coachInfo.fdd_auth_status,
fdd_status = _this$coachInfo.fdd_status;
if (status == 2 && fdd_auth_status && fdd_status != 2) {
this.$util.showToast({
title: "\u8BF7\u5148\u7B7E\u8BA2\u5408\u540C\u54E6"
});
return;
}
this.$util.goUrl({
url: "/technician/pages/edit"
});
},
toFddSign: function toFddSign() {
var _this6 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {
var _this6$coachInfo, coach_status, _this6$coachInfo$admi, admin_id, _this6$coachInfo$fdd_, fdd_agreement, _ref, _ref$viewpdf_url, viewpdf_url, fddRecord, _yield$_this6$$api$te, status, personVerifyUrl, Extsign;
return _regenerator.default.wrap(function _callee6$(_context6) {
while (1) {
switch (_context6.prev = _context6.next) {
case 0:
_this6.updateUserItem({
key: 'fddExtsign',
val: ''
});
_this6$coachInfo = _this6.coachInfo, coach_status = _this6$coachInfo.status, _this6$coachInfo$admi = _this6$coachInfo.admin_id, admin_id = _this6$coachInfo$admi === void 0 ? 0 : _this6$coachInfo$admi, _this6$coachInfo$fdd_ = _this6$coachInfo.fdd_agreement, fdd_agreement = _this6$coachInfo$fdd_ === void 0 ? {} : _this6$coachInfo$fdd_;
_ref = fdd_agreement && fdd_agreement.hasOwnProperty('viewpdf_url') ? fdd_agreement : {
viewpdf_url: ''
}, _ref$viewpdf_url = _ref.viewpdf_url, viewpdf_url = _ref$viewpdf_url === void 0 ? '' : _ref$viewpdf_url;
if (viewpdf_url) {
_context6.next = 29;
break;
}
if (!(coach_status == 3)) {
_context6.next = 7;
break;
}
_this6.$util.showToast({
title: "\u5E73\u53F0\u7BA1\u7406\u5458\u5DF2\u53D6\u6D88\u6388\u6743\uFF0C\u4E0D\u80FD\u7B7E\u7EA6\u54E6"
});
return _context6.abrupt("return");
case 7:
_context6.next = 9;
return _this6.$api.technician.getFddRecord();
case 9:
fddRecord = _context6.sent;
if (fddRecord) {
_context6.next = 29;
break;
}
_this6.updateUserItem({
key: 'personVerifyUrl',
val: ''
});
_context6.next = 14;
return _this6.$api.technician.getAttestationInfo();
case 14:
_yield$_this6$$api$te = _context6.sent;
status = _yield$_this6$$api$te.status;
if (!(status < 2)) {
_context6.next = 25;
break;
}
_context6.next = 19;
return _this6.$api.technician.getPersonVerifyUrl();
case 19:
personVerifyUrl = _context6.sent;
_this6.updateUserItem({
key: 'personVerifyUrl',
val: personVerifyUrl
});
_this6.$util.goUrl({
url: "/user/pages/common/web?url=personVerifyUrl"
});
return _context6.abrupt("return");
case 25:
_context6.next = 27;
return _this6.$api.technician.Extsign({
admin_id: admin_id
});
case 27:
Extsign = _context6.sent;
viewpdf_url = Extsign;
case 29:
_this6.updateUserItem({
key: 'fddExtsign',
val: viewpdf_url
});
_this6.$util.goUrl({
url: "/user/pages/common/web?url=fddExtsign"
});
case 31:
case "end":
return _context6.stop();
}
}
}, _callee6);
}))();
},
toAtv: function toAtv() {
var _this7 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
var options;
return _regenerator.default.wrap(function _callee7$(_context7) {
while (1) {
switch (_context7.prev = _context7.next) {
case 0:
if (_this7.mineInfo.is_atv) {
_context7.next = 3;
break;
}
_this7.$util.showToast({
title: "\u6682\u65E0\u6D3B\u52A8"
});
return _context7.abrupt("return");
case 3:
options = _this7.commonOptions;
options.coupon_atv_id = 0;
_context7.next = 7;
return _this7.updateCommonOptions(options);
case 7:
_this7.$util.toCheckLogin({
url: "/user/pages/coupon/share"
});
case 8:
case "end":
return _context7.stop();
}
}
}, _callee7);
}))();
},
// 申请技-师/分销合伙人/渠道商/业务员
toApply: function toApply(type) {
var _this8 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() {
var _this8$mineInfo, _this8$mineInfo$coach, coach_status, _this8$mineInfo$fx_st, fx_status, _this8$mineInfo$chann, channel_status, _this8$mineInfo$sales, salesman_status, statusArr, status, page, url;
return _regenerator.default.wrap(function _callee8$(_context8) {
while (1) {
switch (_context8.prev = _context8.next) {
case 0:
_this8$mineInfo = _this8.mineInfo, _this8$mineInfo$coach = _this8$mineInfo.coach_status, coach_status = _this8$mineInfo$coach === void 0 ? -1 : _this8$mineInfo$coach, _this8$mineInfo$fx_st = _this8$mineInfo.fx_status, fx_status = _this8$mineInfo$fx_st === void 0 ? -1 : _this8$mineInfo$fx_st, _this8$mineInfo$chann = _this8$mineInfo.channel_status, channel_status = _this8$mineInfo$chann === void 0 ? -1 : _this8$mineInfo$chann, _this8$mineInfo$sales = _this8$mineInfo.salesman_status, salesman_status = _this8$mineInfo$sales === void 0 ? -1 : _this8$mineInfo$sales;
statusArr = {
1: coach_status,
2: fx_status,
3: channel_status,
4: salesman_status
};
status = statusArr[type];
page = {
1: "/technician/pages/apply",
2: "/user/pages/distribution/apply",
3: "/user/pages/channel/apply",
4: "/user/pages/salesman/apply"
}; // -1未申请,1审核中,2审核通过,3取消授权,4审核失败
url = status == -1 ? page[type] : "/user/pages/apply-result?type=".concat(type);
_this8.$util.log(url);
_this8.$util.toCheckLogin({
url: url
});
case 7:
case "end":
return _context8.stop();
}
}
}, _callee8);
}))();
},
// 切换用户/技-师端
toChange: function toChange() {
var _this9 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() {
var _this9$userPageType, userPageType;
return _regenerator.default.wrap(function _callee9$(_context9) {
while (1) {
switch (_context9.prev = _context9.next) {
case 0:
uni.pageScrollTo({
duration: 500,
scrollTop: 0
});
_this9$userPageType = _this9.userPageType, userPageType = _this9$userPageType === void 0 ? 1 : _this9$userPageType;
_context9.next = 4;
return _this9.getCoachInfo();
case 4:
if (userPageType == 1) {
_this9.getOrderNumCall();
}
_this9.updateUserItem({
key: 'userPageType',
val: userPageType == 2 ? 1 : 2
});
case 6:
case "end":
return _context9.stop();
}
}
}, _callee9);
}))();
},
onChange: function onChange(e) {
var _this10 = this;
var _e$detail = e.detail,
x = _e$detail.x,
y = _e$detail.y;
this.$nextTick(function () {
_this10.offsetL = x;
_this10.offsetT = y;
});
},
// 求助
toHelp: function toHelp() {
var _this11 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10() {
var _yield$_this11$$util$, _yield$_this11$$util$2, lat, _yield$_this11$$util$3, lng, _yield$_this11$$util$4, address;
return _regenerator.default.wrap(function _callee10$(_context10) {
while (1) {
switch (_context10.prev = _context10.next) {
case 0:
_this11.$util.showLoading();
_context10.next = 3;
return _this11.$util.getBmapLocation();
case 3:
_yield$_this11$$util$ = _context10.sent;
_yield$_this11$$util$2 = _yield$_this11$$util$.lat;
lat = _yield$_this11$$util$2 === void 0 ? '' : _yield$_this11$$util$2;
_yield$_this11$$util$3 = _yield$_this11$$util$.lng;
lng = _yield$_this11$$util$3 === void 0 ? '' : _yield$_this11$$util$3;
_yield$_this11$$util$4 = _yield$_this11$$util$.address;
address = _yield$_this11$$util$4 === void 0 ? '' : _yield$_this11$$util$4;
if (lat) {
_context10.next = 14;
break;
}
_this11.$util.hideAll();
_this11.$util.showToast({
title: "\u8BF7\u6388\u6743\u5B9A\u4F4D\u5F53\u524D\u5730\u5740"
});
return _context10.abrupt("return");
case 14:
_this11.toPolice({
lat: lat,
lng: lng,
address: address
});
case 15:
case "end":
return _context10.stop();
}
}
}, _callee10);
}))();
},
toPolice: function toPolice(param) {
var _this12 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11() {
return _regenerator.default.wrap(function _callee11$(_context11) {
while (1) {
switch (_context11.prev = _context11.next) {
case 0:
_context11.next = 2;
return _this12.$api.technician.police(param);
case 2:
_this12.$util.hideAll();
_this12.$util.showToast({
title: "\u6C42\u6551\u6210\u529F"
});
case 4:
case "end":
return _context11.stop();
}
}
}, _callee11);
}))();
}
})
};
exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
/***/ }),
/***/ 123:
/*!*****************************************************************************************************************************************************************!*\
!*** C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/pages/mine.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 _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_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_mine_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../../../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!./mine.vue?vue&type=style&index=0&lang=scss& */ 124);
/* harmony import */ var _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_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_mine_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_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_mine_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_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_mine_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 _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_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_mine_vue_vue_type_style_index_0_lang_scss___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_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_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_mine_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 124:
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./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/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/pages/mine.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; }
/***/ })
},[[117,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../.sourcemap/mp-weixin/pages/mine.js.map