mrr.sj.front/unpackage/dist/dev/mp-weixin/pages/ruzhu/complete.js

1814 lines
73 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/ruzhu/complete"],{
/***/ 281:
/*!*************************************************************************************************!*\
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/main.js?{"page":"pages%2Fruzhu%2Fcomplete"} ***!
\*************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(wx, createPage) {
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
__webpack_require__(/*! uni-pages */ 30);
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
var _complete = _interopRequireDefault(__webpack_require__(/*! ./pages/ruzhu/complete.vue */ 282));
// @ts-ignore
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
createPage(_complete.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"]))
/***/ }),
/***/ 282:
/*!******************************************************************************!*\
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/ruzhu/complete.vue ***!
\******************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _complete_vue_vue_type_template_id_fab55886___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./complete.vue?vue&type=template&id=fab55886& */ 283);
/* harmony import */ var _complete_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./complete.vue?vue&type=script&lang=js& */ 285);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _complete_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 _complete_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _complete_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./complete.vue?vue&type=style&index=0&lang=css& */ 287);
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 42);
var renderjs
/* normalize component */
var component = Object(_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
_complete_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_complete_vue_vue_type_template_id_fab55886___WEBPACK_IMPORTED_MODULE_0__["render"],
_complete_vue_vue_type_template_id_fab55886___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
null,
null,
false,
_complete_vue_vue_type_template_id_fab55886___WEBPACK_IMPORTED_MODULE_0__["components"],
renderjs
)
component.options.__file = "pages/ruzhu/complete.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
/***/ 283:
/*!*************************************************************************************************************!*\
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/ruzhu/complete.vue?vue&type=template&id=fab55886& ***!
\*************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_template_id_fab55886___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./complete.vue?vue&type=template&id=fab55886& */ 284);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_template_id_fab55886___WEBPACK_IMPORTED_MODULE_0__["render"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_template_id_fab55886___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_template_id_fab55886___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_template_id_fab55886___WEBPACK_IMPORTED_MODULE_0__["components"]; });
/***/ }),
/***/ 284:
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/ruzhu/complete.vue?vue&type=template&id=fab55886& ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components
try {
components = {
customNavbar: function () {
return Promise.all(/*! import() | components/custom-navbar/custom-navbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/custom-navbar/custom-navbar")]).then(__webpack_require__.bind(null, /*! @/components/custom-navbar/custom-navbar.vue */ 1437))
},
aliOssUploader: function () {
return Promise.all(/*! import() | components/ali-oss-uploader/ali-oss-uploader */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/ali-oss-uploader/ali-oss-uploader")]).then(__webpack_require__.bind(null, /*! @/components/ali-oss-uploader/ali-oss-uploader.vue */ 1573))
},
}
} catch (e) {
if (
e.message.indexOf("Cannot find module") !== -1 &&
e.message.indexOf(".vue") !== -1
) {
console.error(e.message)
console.error("1. 排查组件名称拼写是否正确")
console.error(
"2. 排查组件是否符合 easycom 规范文档https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
)
console.error(
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
)
} else {
throw e
}
}
var render = function () {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
var g0 = _vm.formData.servers_kill.length
var g1 = _vm.identity == "1" ? _vm.formData.servers_region.length : null
var m0 = _vm.formatTime(_vm.startTime)
var m1 = _vm.formatTime(_vm.endTime)
_vm.$mp.data = Object.assign(
{},
{
$root: {
g0: g0,
g1: g1,
m0: m0,
m1: m1,
},
}
)
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true
/***/ }),
/***/ 285:
/*!*******************************************************************************************************!*\
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/ruzhu/complete.vue?vue&type=script&lang=js& ***!
\*******************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./complete.vue?vue&type=script&lang=js& */ 286);
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 286:
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/ruzhu/complete.vue?vue&type=script&lang=js& ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 34));
var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 36));
var _request = _interopRequireDefault(__webpack_require__(/*! ../../utils/request */ 37));
var _debounce = __webpack_require__(/*! @/utils/debounce.js */ 190);
var _ChinaCitys = _interopRequireDefault(__webpack_require__(/*! ../../static/data/ChinaCitys.json */ 277));
var _uploadImage = _interopRequireDefault(__webpack_require__(/*! ../../utils/uploadImage */ 278));
var _per = _interopRequireDefault(__webpack_require__(/*! ../../utils/per */ 191));
var _locationService = _interopRequireDefault(__webpack_require__(/*! ../../utils/locationService */ 192));
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var _default = {
data: function data() {
return {
isShowPer: false,
nowQer: 'xc',
identity: '',
userId: null,
indicatorStyle: 'height: 68rpx;',
formData: {
head_photo: '',
name: '',
account: '',
idcard_num: '',
idcard_positive: '',
idcard_negative: '',
idcard_hands: '',
health_card: '',
qualifications: [],
detail: '',
dependency: '',
address: '',
get_msg_method: '',
invite_code_other: '',
servers_kill: [],
servers_region: [],
major: '',
work_state: '',
second_phone: '',
default_times: '',
uscc_photo: '',
shop_photo: '',
legal_name: '',
legal_phone: '',
legal_idcard_num: '',
legal_idcard_positive: '',
legal_idcard_negative: '',
for_shop: ''
},
ChinaCitys: '',
work_state: '',
get_msg_method: '',
major: '',
showServicePopupFlag: false,
selectedServicesText: '',
serviceList: [],
showLocationPopupFlag: false,
showRegionPopupFlag: false,
currentTab: 0,
regionTabs: ['省', '市', '区'],
cityList: [],
districtList: [],
selectedProvince: null,
selectedCity: null,
selectedDistricts: [],
selectedRegionText: '',
locatinCitys: [],
locationAreas: [],
locationValue: [0, 0, 0],
showTimePicker: false,
pickerValue: [8, 0, 0, 18, 0],
hours: Array.from({
length: 24
}, function (_, i) {
return i < 10 ? "0".concat(i) : "".concat(i);
}),
minutes: Array.from({
length: 60
}, function (_, i) {
return i < 10 ? "0".concat(i) : "".concat(i);
}),
timeType: 'start',
isSubmit: false
};
},
onLoad: function onLoad(options) {
var _this = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
var that, result, type;
return _regenerator.default.wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
_this.identity = getApp().globalData.artisanType;
that = _this;
that.ChinaCitys = _ChinaCitys.default;
that.locatinCitys = that.ChinaCitys[0].citys;
that.locationAreas = that.locatinCitys[0].areas;
// 请求服务技能列表接口
_request.default.post('/user/firstclass').then(function (res) {
that.serviceList = res.data;
});
_context.next = 8;
return _request.default.post('/user/getsyrorsjstate', {
type: that.identity
});
case 8:
result = _context.sent;
type = that.identity == 1 ? 2 : that.identity == 2 ? 3 : '';
if (result.data.apply_state == 3) {
_request.default.post('/user/getuser', {
type: type
}).then(function (res) {
that.formData = res.data;
// 服务技能
that.decideKill();
that.selectedServicesText = that.formData.servers_kill_arr.join('、');
// 消息途径
that.get_msg_method = ['朋友圈', '抖音', '地推', '朋友介绍', '微博'][that.formData.get_msg_method - 1];
// 专业经验
that.major = ['实习', '1-3年', '3-5年', '5-10年', '10年以上'][that.formData.major - 1];
if (that.identity == 1) {
// 服务区域
that.selectedRegionText = that.formData.servers_region.join('、');
// 有无工作
that.work_state = ['有工作', '无工作'][that.formData.work_state - 1];
}
});
}
that.getUserInfo();
// 创建防抖处理后的提交函数
// that.debouncedSubmit = debounce(that.submit, 500)
case 12:
case "end":
return _context.stop();
}
}
}, _callee);
}))();
},
computed: {
startTime: function startTime() {
return {
hour: this.hours[this.pickerValue[0]],
minute: this.minutes[this.pickerValue[1]]
};
},
endTime: function endTime() {
return {
hour: this.hours[this.pickerValue[3]],
minute: this.minutes[this.pickerValue[4]]
};
}
},
methods: {
// // 选择图片
// chooseImage(type) {
// uni.chooseImage({
// count: 1,
// sizeType: ['compressed'],
// sourceType: ['album', 'camera'],
// success: (res) => {
// // 压缩图片
// this.compressImage(res.tempFilePaths[0], type)
// }
// })
// },
// // 压缩图片
// compressImage(path, type) {
// uni.compressImage({
// src: path,
// quality: 80,
// success: (res) => {
// this.formData[type] = res.tempFilePath
// // TODO: 上传图片到服务器
// }
// })
// },
getUserInfo: function getUserInfo() {
var _this2 = this;
_request.default.post('/user/getuser', {
type: 1
}).then(function (result) {
_this2.formData.account = result.data.account;
_this2.userId = result.data.id;
});
},
addImg: function addImg(arr) {
this.formData.qualifications = this.formData.qualifications.concat(arr);
},
// 删除图片
deleteImage: function deleteImage(index) {
this.formData.qualifications.splice(index, 1);
},
// 详细地址
getAddressInfo: function getAddressInfo() {
if (this.formData.dependency) {
uni.navigateTo({
url: "/pages/address/search?dependency=".concat(this.formData.dependency)
});
} else {
uni.navigateTo({
url: '/pages/address/search'
});
}
},
editAddress: function editAddress(item) {
var location = item.location.split(',');
this.$set(this.formData, 'address', item.name);
this.$set(this.formData, 'latitude', location[1]);
this.$set(this.formData, 'longitude', location[0]);
},
// 打开选择器
openPicker: function openPicker(type) {
var _this3 = this;
// TODO: 实现选择器逻辑
if (type == 'get_msg_method') {
uni.showActionSheet({
itemList: ['朋友圈', '抖音', '地推', '朋友介绍', '微博'],
success: function success(res) {
_this3.formData.get_msg_method = [1, 2, 3, 4, 5][res.tapIndex];
_this3.get_msg_method = ['朋友圈', '抖音', '地推', '朋友介绍', '微博'][res.tapIndex];
}
});
} else if (type == 'major') {
uni.showActionSheet({
itemList: ['实习', '1-3年', '3-5年', '5-10年', '10年以上'],
success: function success(res) {
_this3.formData.major = [1, 2, 3, 4, 5][res.tapIndex];
_this3.major = ['实习', '1-3年', '3-5年', '5-10年', '10年以上'][res.tapIndex];
}
});
} else if (type == 'default_times') {
this.showTimePicker = true;
} else if (type == 'dependency') {
this.showLocationPopupFlag = true;
} else if (type == 'work_state') {
uni.showActionSheet({
itemList: ['有工作', '无工作'],
success: function success(res) {
_this3.formData.work_state = [1, 2][res.tapIndex];
_this3.work_state = ['有工作', '无工作'][res.tapIndex];
}
});
}
},
// 显示服务技能弹出框
showServicePopup: function showServicePopup() {
this.showServicePopupFlag = true;
},
// 判断技能选中状态
decideKill: function decideKill() {
var that = this;
that.serviceList.forEach(function (service, index) {
that.formData.servers_kill.forEach(function (kill, i) {
if (service.id == kill) {
that.$set(that.serviceList[index], 'checked', true);
}
});
});
},
// 隐藏服务技能弹出框
hideServicePopup: function hideServicePopup() {
this.showServicePopupFlag = false;
},
hideLocationPopup: function hideLocationPopup() {
this.showLocationPopupFlag = false;
},
// 切换服务技能选择状态
toggleServiceSelect: function toggleServiceSelect(index) {
// this.serviceList[index].checked = !this.serviceList[index].checked;
this.$set(this.serviceList[index], 'checked', !this.serviceList[index].checked);
// this.$forceUpdate()
},
// 确认服务技能选择
confirmServiceSelect: function confirmServiceSelect() {
var selectedServices = this.serviceList.filter(function (item) {
return item.checked;
}).map(function (item) {
return item.title;
});
var selectedServicesId = this.serviceList.filter(function (item) {
return item.checked;
}).map(function (item) {
return item.id;
});
if (selectedServices.length === 0) {
uni.showToast({
title: '请至少选择一个服务技能',
icon: 'none'
});
return;
}
// 更新表单数据
this.formData.servers_kill = selectedServicesId;
this.selectedServicesText = selectedServices.join('、');
this.hideServicePopup();
},
// 显示地区选择弹出框
showRegionPopup: function showRegionPopup() {
this.showRegionPopupFlag = true;
this.currentTab = 0;
},
// 隐藏地区选择弹出框
hideRegionPopup: function hideRegionPopup() {
this.showRegionPopupFlag = false;
this.currentTab = 0;
this.cityList = [];
this.districtList = [];
this.selectedProvince = null;
this.selectedCity = null;
this.selectedDistricts = [];
},
// 切换标签页
switchTab: function switchTab(index) {
if (index < this.currentTab) {
this.currentTab = index;
}
},
// 选择省份
selectProvince: function selectProvince(province, index) {
this.selectedProvince = province.province;
this.currentTab = 1;
// 获取城市列表
this.cityList = this.ChinaCitys[index].citys || [];
},
// 选择城市
selectCity: function selectCity(city, index) {
this.selectedCity = city.city;
this.currentTab = 2;
// 获取区县列表
this.districtList = this.cityList[index].areas || [];
},
// 切换区县选择状态
toggleDistrictSelect: function toggleDistrictSelect(index) {
this.$set(this.districtList[index], 'checked', !this.districtList[index].checked);
},
// 确认地区选择
confirmRegionSelect: function confirmRegionSelect() {
var _this4 = this;
var selectedDistricts = this.districtList.filter(function (item) {
return item.checked;
}).map(function (item) {
return item.area;
});
selectedDistricts.forEach(function (item, i) {
selectedDistricts[i] = _this4.selectedProvince + '-' + _this4.selectedCity + '-' + item;
});
if (selectedDistricts.length === 0) {
uni.showToast({
title: '请至少选择一个区县',
icon: 'none'
});
return;
}
// 更新表单数据
this.formData.servers_region = selectedDistricts;
this.selectedRegionText = selectedDistricts.join('、');
this.districtList.forEach(function (item, i) {
_this4.districtList[i].checked = false;
});
this.hideRegionPopup();
},
bindChangeLocation: function bindChangeLocation(e) {
this.locationValue = e.detail.value;
var index1 = e.detail.value[0] || 0;
var index2 = e.detail.value[1] || 0;
this.locatinCitys = this.ChinaCitys[index1].citys;
this.locationAreas = this.locatinCitys[index2].areas;
},
confirmLocationSelect: function confirmLocationSelect() {
var valueArr = this.locationValue;
var index1 = valueArr[0] || 0;
var index2 = valueArr[1] || 0;
var index3 = valueArr[2] || 0;
var province = this.ChinaCitys[index1].province;
var city = this.locatinCitys[index2].city;
var area = this.locationAreas[index3].area;
this.formData.dependency = province + '-' + city + '-' + area;
this.formData.dependency_code = this.locationAreas[index3].code;
this.showLocationPopupFlag = false;
},
// 打开时间选择器
openTimePicker: function openTimePicker() {
this.showTimePicker = true;
},
// 切换时间类型(开始/结束)
switchTimeType: function switchTimeType(type) {
this.timeType = type;
},
// 处理时间变化
handleTimeChange: function handleTimeChange(e) {
var values = e.detail.value;
// 检查开始时间是否大于结束时间
var startMinutes = parseInt(this.hours[values[0]]) * 60 + parseInt(this.minutes[values[1]]);
var endMinutes = parseInt(this.hours[values[3]]) * 60 + parseInt(this.minutes[values[4]]);
if (startMinutes >= endMinutes) {
// 如果开始时间大于等于结束时间,将结束时间设置为开始时间后一小时
var newEndHour = (parseInt(this.hours[values[0]]) + 1) % 24;
values[3] = newEndHour;
values[4] = values[1];
}
this.pickerValue = values;
},
// 格式化时间显示
formatTime: function formatTime(time) {
return "".concat(time.hour, ":").concat(time.minute);
},
// 确认选择
confirmTime: function confirmTime() {
if (this.identity == '1') {
this.formData.default_times = this.formatTime(this.startTime) + '-' + this.formatTime(this.endTime);
} else {
this.formData.business_time = this.formatTime(this.startTime) + '-' + this.formatTime(this.endTime);
}
this.hideTimePopup();
},
// 关闭timer弹框
hideTimePopup: function hideTimePopup() {
this.showTimePicker = false;
},
ckeckisShowPer: function ckeckisShowPer(value) {
this.isShowPer = value;
},
ckecknowQer: function ckecknowQer(value) {
this.nowQer = value;
},
// 打开相机
openCamera: function openCamera(type) {
var _this5 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
var res;
return _regenerator.default.wrap(function _callee2$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {
case 0:
console.log('type============', type);
_this5.isShowPer = false;
_context2.prev = 2;
_context2.next = 5;
return _uploadImage.default.handleUpload(_this5.userId, _this5.identity + 1);
case 5:
res = _context2.sent;
console.log('上传单张图片', res);
uni.hideLoading();
if (!(type == 'avatar')) {
_context2.next = 11;
break;
}
_this5.formData.head_photo = res;
return _context2.abrupt("return");
case 11:
if (_this5.identity == '1') {
if (type == 'idcard_positive') {
_this5.formData.idcard_positive = res;
} else if (type == 'idcard_negative') {
_this5.formData.idcard_negative = res;
} else if (type == 'idcard_hands') {
_this5.formData.idcard_hands = res;
} else if (type == 'health_card') {
_this5.formData.health_card = res;
} else if (type == 'uscc_photo') {
_this5.formData.uscc_photo = res;
} else if (type == 'shop_photo') {
_this5.formData.shop_photo = res;
}
} else {
if (type == 'legal_idcard_positive') {
_this5.formData.legal_idcard_positive = res;
} else if (type == 'legal_idcard_negative') {
_this5.formData.legal_idcard_negative = res;
} else if (type == 'uscc_photo') {
_this5.formData.uscc_photo = res;
}
}
_context2.next = 17;
break;
case 14:
_context2.prev = 14;
_context2.t0 = _context2["catch"](2);
console.log(_context2.t0);
case 17:
case "end":
return _context2.stop();
}
}
}, _callee2, null, [[2, 14]]);
}))();
},
// 显示权限说明弹窗
showPermissionDialog: function showPermissionDialog(title, content) {
return new Promise(function (resolve) {
uni.showModal({
title: title,
content: content,
confirmText: '去开启',
success: function success(res) {
resolve(res.confirm);
}
});
});
},
// 选择图片
chooseImage: function chooseImage(type) {
var _this6 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
var systemInfo, xcpermission, xjpermission, xjfirstRequest, xcfirstRequest, xc, xj, confirm, result1, result2;
return _regenerator.default.wrap(function _callee3$(_context3) {
while (1) {
switch (_context3.prev = _context3.next) {
case 0:
_context3.prev = 0;
systemInfo = uni.getSystemInfoSync();
if (!(systemInfo.platform === 'ios')) {
_context3.next = 6;
break;
}
_this6.openCamera(type);
_context3.next = 37;
break;
case 6:
xcpermission = '';
xjpermission = '';
if (systemInfo.platform === 'ios') {
xcpermission = 'photo_library', xjpermission = 'camera';
} else {
xcpermission = "android.permission.READ_EXTERNAL_STORAGE,android.permission.WRITE_EXTERNAL_STORAGE";
xjpermission = 'android.permission.CAMERA';
}
xjfirstRequest = !plus.storage.getItem("perm_".concat(xjpermission));
xcfirstRequest = !plus.storage.getItem("perm_".concat(xcpermission));
if (xcfirstRequest || xjfirstRequest) {
_this6.isShowPer = true;
}
// 1. 检查权限
// const { granted } = await permissionUtils.checkPermission('photo_library', '需要相册权限用于上传照片');
_this6.nowQer = 'xc';
_context3.next = 15;
return _per.default.checkPermission('photo_library', '需要相册权限用于上传照片');
case 15:
xc = _context3.sent;
_this6.nowQer = 'xj';
_context3.next = 19;
return _per.default.checkPermission('camera', '需要相机权限用于拍摄照片');
case 19:
xj = _context3.sent;
_this6.isShowPer = false;
_this6.nowQer = '';
if (!(xc.granted && xj.granted)) {
_context3.next = 25;
break;
}
_this6.openCamera(type);
return _context3.abrupt("return");
case 25:
_context3.next = 27;
return _this6.showPermissionDialog('相机相册权限申请', '我们需要访问您的相机以及相册以完成更换头像功能');
case 27:
confirm = _context3.sent;
if (confirm) {
_context3.next = 30;
break;
}
return _context3.abrupt("return");
case 30:
_context3.next = 32;
return _per.default.requestPermission('photo_library', '我们需要访问您的相册以上传图片/视频');
case 32:
result1 = _context3.sent;
_context3.next = 35;
return _per.default.requestPermission('camera', '我们需要访问您的相机以上传图片/视频');
case 35:
result2 = _context3.sent;
if (result1 && result2) {
_this6.openCamera(type);
} else {
_locationService.default.openAppSettings();
// uni.showToast({ title: '相机权限被拒绝', icon: 'none' });
}
case 37:
_context3.next = 42;
break;
case 39:
_context3.prev = 39;
_context3.t0 = _context3["catch"](0);
console.log(_context3.t0);
case 42:
case "end":
return _context3.stop();
}
}
}, _callee3, null, [[0, 39]]);
}))();
},
onUploadSuccess: function onUploadSuccess(file) {
console.log('上传成功:', file);
},
onUploadError: function onUploadError(error) {
console.error('上传失败:', error);
uni.showToast({
title: '上传失败',
icon: 'none'
});
},
onFileDelete: function onFileDelete(file, index) {
console.log('删除文件:', file, index);
},
// 上传多个图片接口
// uploadPhoto() {
// let that = this;
// const promises = that.imagesList.map(item => {
// return new Promise((resolve, reject) => {
// request.uploadImage('/user/uploadphoto',item.url,{type: item.type}).then(res=>{
// resolve(res)
// })
// })
// })
// Promise.all(promises)
// .then(results => {
// uni.hideLoading();
// var arr = [];
// arr = results.map(item =>
// item.path
// )
// that.formData.qualifications = that.formData.qualifications.concat(arr);
// // uni.showToast({
// // title: '上传成功',
// // icon: 'success'
// // })
// })
// .catch(err => {
// console.log('上传结果err',err)
// uni.showToast({
// title: '上传失败',
// icon: 'none'
// })
// })
// },
submit: (0, _debounce.debounce)( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
var _this7 = this;
var formData, checkRes, _formData;
return _regenerator.default.wrap(function _callee4$(_context4) {
while (1) {
switch (_context4.prev = _context4.next) {
case 0:
if (!this.isSubmit) {
_context4.next = 2;
break;
}
return _context4.abrupt("return");
case 2:
delete this.formData.apply_state;
delete this.formData.servers_kill_arr;
if (!(this.identity == '1')) {
_context4.next = 106;
break;
}
if (this.formData.head_photo) {
_context4.next = 9;
break;
}
uni.showToast({
title: '请上传头像',
icon: 'none'
});
_context4.next = 104;
break;
case 9:
if (this.formData.name) {
_context4.next = 13;
break;
}
uni.showToast({
title: '请输入真实姓名',
icon: 'none'
});
_context4.next = 104;
break;
case 13:
if (this.formData.idcard_num) {
_context4.next = 17;
break;
}
uni.showToast({
title: '请输入身份证号',
icon: 'none'
});
_context4.next = 104;
break;
case 17:
if (this.formData.idcard_positive) {
_context4.next = 21;
break;
}
uni.showToast({
title: '请上传身份证正面(人像面)',
icon: 'none'
});
_context4.next = 104;
break;
case 21:
if (this.formData.idcard_negative) {
_context4.next = 25;
break;
}
uni.showToast({
title: '请上传身份证反面(国徽面)',
icon: 'none'
});
_context4.next = 104;
break;
case 25:
if (this.formData.idcard_hands) {
_context4.next = 29;
break;
}
uni.showToast({
title: '请上传手持身份证照',
icon: 'none'
});
_context4.next = 104;
break;
case 29:
if (this.formData.health_card) {
_context4.next = 33;
break;
}
uni.showToast({
title: '请上传健康证',
icon: 'none'
});
_context4.next = 104;
break;
case 33:
if (this.formData.uscc_photo) {
_context4.next = 37;
break;
}
uni.showToast({
title: '请上传营业执照',
icon: 'none'
});
_context4.next = 104;
break;
case 37:
if (this.formData.shop_photo) {
_context4.next = 41;
break;
}
uni.showToast({
title: '请上传门头照片',
icon: 'none'
});
_context4.next = 104;
break;
case 41:
if (this.formData.detail) {
_context4.next = 45;
break;
}
uni.showToast({
title: '请输入个人介绍',
icon: 'none'
});
_context4.next = 104;
break;
case 45:
if (this.formData.dependency) {
_context4.next = 49;
break;
}
uni.showToast({
title: '请选择所在地',
icon: 'none'
});
_context4.next = 104;
break;
case 49:
if (this.formData.address) {
_context4.next = 53;
break;
}
uni.showToast({
title: '请选择详细地址',
icon: 'none'
});
_context4.next = 104;
break;
case 53:
if (this.formData.second_phone) {
_context4.next = 57;
break;
}
uni.showToast({
title: '请输入备用联系方式',
icon: 'none'
});
_context4.next = 104;
break;
case 57:
if (this.formData.for_shop) {
_context4.next = 61;
break;
}
uni.showToast({
title: '请输入所属店铺',
icon: 'none'
});
_context4.next = 104;
break;
case 61:
if (!(!this.formData.get_msg_method || this.formData.get_msg_method.length == 0)) {
_context4.next = 65;
break;
}
uni.showToast({
title: '请选择获取消息方式',
icon: 'none'
});
_context4.next = 104;
break;
case 65:
if (this.formData.invite_code_other) {
_context4.next = 69;
break;
}
uni.showToast({
title: '请输入邀请码',
icon: 'none'
});
_context4.next = 104;
break;
case 69:
if (!(!this.formData.servers_kill || this.formData.servers_kill.length == 0)) {
_context4.next = 73;
break;
}
uni.showToast({
title: '请选择服务技能',
icon: 'none'
});
_context4.next = 104;
break;
case 73:
if (!(!this.formData.servers_region || this.formData.servers_region.length == 0)) {
_context4.next = 77;
break;
}
uni.showToast({
title: '请选择服务区域',
icon: 'none'
});
_context4.next = 104;
break;
case 77:
if (this.formData.default_times) {
_context4.next = 81;
break;
}
uni.showToast({
title: '请选择服务时间',
icon: 'none'
});
_context4.next = 104;
break;
case 81:
if (this.formData.major) {
_context4.next = 85;
break;
}
uni.showToast({
title: '请选择专业经验',
icon: 'none'
});
_context4.next = 104;
break;
case 85:
if (this.formData.work_state) {
_context4.next = 89;
break;
}
uni.showToast({
title: '请选择目前工作状态',
icon: 'none'
});
_context4.next = 104;
break;
case 89:
if (!(this.formData.account === this.formData.second_phone)) {
_context4.next = 93;
break;
}
uni.showToast({
title: '备用手机号不能和联系方式一样',
icon: 'none'
});
_context4.next = 104;
break;
case 93:
formData = Object.fromEntries(Object.entries(this.formData).filter(function (_ref2) {
var _ref3 = (0, _slicedToArray2.default)(_ref2, 2),
key = _ref3[0],
value = _ref3[1];
return value !== null && value !== undefined && value !== '' && value.length != 0;
}));
_context4.next = 96;
return _request.default.post('/user/check', {
name: formData.name,
idcard: formData.idcard_num
});
case 96:
checkRes = _context4.sent;
if (!(checkRes.Code == '401')) {
_context4.next = 100;
break;
}
uni.showToast({
title: '您的身份证号与姓名不匹配',
icon: 'none'
});
return _context4.abrupt("return");
case 100:
if (!(checkRes.ResultObject.BizCode != '1')) {
_context4.next = 103;
break;
}
uni.showToast({
title: '您的身份证号与姓名不匹配',
icon: 'none'
});
return _context4.abrupt("return");
case 103:
_request.default.post('/user/usersyradd', formData).then(function (res) {
if (res.state == 1) {
_this7.isSubmit = true;
uni.redirectTo({
url: '/pages/ruzhu/submitres?applyState=1'
});
} else {
_this7.isSubmit = false;
uni.showToast({
title: res.msg,
icon: 'none'
});
}
}).catch(function (err) {
console.log(err);
_this7.isSubmit = false;
});
case 104:
_context4.next = 107;
break;
case 106:
if (!this.formData.head_photo) {
uni.showToast({
title: '请上传店铺logo',
icon: 'none'
});
} else if (!this.formData.name) {
uni.showToast({
title: '请输入店铺名称',
icon: 'none'
});
} else if (!this.formData.legal_name) {
uni.showToast({
title: '请输入法人姓名',
icon: 'none'
});
} else if (!this.formData.legal_phone) {
uni.showToast({
title: '请输入法人手机号',
icon: 'none'
});
} else if (!this.formData.legal_idcard_num) {
uni.showToast({
title: '请输入法人身份证',
icon: 'none'
});
} else if (!this.formData.legal_idcard_positive) {
uni.showToast({
title: '请上传法人身份证正面(人像面)',
icon: 'none'
});
} else if (!this.formData.legal_idcard_negative) {
uni.showToast({
title: '请上传法人身份证反面(国徽面)',
icon: 'none'
});
} else if (!this.formData.uscc_photo) {
uni.showToast({
title: '请上传营业执照',
icon: 'none'
});
} else if (!this.formData.dependency) {
uni.showToast({
title: '请选择所在地',
icon: 'none'
});
} else if (!this.formData.address) {
uni.showToast({
title: '请选择详细地址',
icon: 'none'
});
} else if (!this.formData.get_msg_method || this.formData.get_msg_method.length == 0) {
uni.showToast({
title: '请选择获取消息方式',
icon: 'none'
});
} else if (!this.formData.invite_code_other) {
uni.showToast({
title: '请输入邀请码',
icon: 'none'
});
} else if (!this.formData.servers_kill || this.formData.servers_kill.length == 0) {
uni.showToast({
title: '请选择服务技能',
icon: 'none'
});
} else if (!this.formData.business_time) {
uni.showToast({
title: '请选择营业时间',
icon: 'none'
});
} else if (!this.formData.major) {
uni.showToast({
title: '请选择专业经验',
icon: 'none'
});
} else {
_formData = Object.fromEntries(Object.entries(this.formData).filter(function (_ref4) {
var _ref5 = (0, _slicedToArray2.default)(_ref4, 2),
key = _ref5[0],
value = _ref5[1];
return value !== null && value !== undefined && value !== '' && value.length != 0;
}));
console.log(_formData);
_request.default.post('/user/usersjadd', _formData).then(function (res) {
if (res.state == 1) {
_this7.isSubmit = true;
uni.redirectTo({
url: '/pages/ruzhu/submitres?applyState=1'
});
} else {
uni.showToast({
title: res.msg,
icon: 'none'
});
_this7.isSubmit = false;
}
}).catch(function (err) {
_this7.isSubmit = false;
});
}
case 107:
case "end":
return _context4.stop();
}
}
}, _callee4, this);
})), 500)
}
};
exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
/***/ }),
/***/ 287:
/*!***************************************************************************************************************!*\
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/ruzhu/complete.vue?vue&type=style&index=0&lang=css& ***!
\***************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./complete.vue?vue&type=style&index=0&lang=css& */ 288);
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_complete_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 288:
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/ruzhu/complete.vue?vue&type=style&index=0&lang=css& ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
if(false) { var cssReload; }
/***/ })
},[[281,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/ruzhu/complete.js.map