2022-11-15 10:03:13 +00:00
|
|
|
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/worker/my/my"],{
|
|
|
|
|
|
2022-12-21 08:26:21 +00:00
|
|
|
|
/***/ 56:
|
2022-11-28 06:26:17 +00:00
|
|
|
|
/*!********************************************************************************!*\
|
|
|
|
|
!*** D:/Lee/工地打卡小程序/building-sign/main.js?{"page":"pages%2Fworker%2Fmy%2Fmy"} ***!
|
|
|
|
|
\********************************************************************************/
|
2022-11-15 10:03:13 +00:00
|
|
|
|
/*! no static exports found */
|
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
2022-12-21 08:26:21 +00:00
|
|
|
|
/* WEBPACK VAR INJECTION */(function(createPage) {
|
|
|
|
|
|
|
|
|
|
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 3);
|
|
|
|
|
__webpack_require__(/*! uni-pages */ 25);
|
|
|
|
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 24));
|
|
|
|
|
var _my = _interopRequireDefault(__webpack_require__(/*! ./pages/worker/my/my.vue */ 57));
|
|
|
|
|
// @ts-ignore
|
|
|
|
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
|
|
|
|
createPage(_my.default);
|
2022-11-15 10:03:13 +00:00
|
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
2022-12-21 08:26:21 +00:00
|
|
|
|
/***/ 57:
|
2022-11-28 06:26:17 +00:00
|
|
|
|
/*!***********************************************************!*\
|
|
|
|
|
!*** D:/Lee/工地打卡小程序/building-sign/pages/worker/my/my.vue ***!
|
|
|
|
|
\***********************************************************/
|
2022-11-15 10:03:13 +00:00
|
|
|
|
/*! no static exports found */
|
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
2022-12-21 08:26:21 +00:00
|
|
|
|
/* harmony import */ var _my_vue_vue_type_template_id_21031917_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./my.vue?vue&type=template&id=21031917&scoped=true& */ 58);
|
|
|
|
|
/* harmony import */ var _my_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./my.vue?vue&type=script&lang=js& */ 60);
|
|
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _my_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 _my_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
|
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 31);
|
2022-11-15 10:03:13 +00:00
|
|
|
|
|
|
|
|
|
var renderjs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* normalize component */
|
|
|
|
|
|
2022-11-28 06:26:17 +00:00
|
|
|
|
var component = Object(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
2022-11-15 10:03:13 +00:00
|
|
|
|
_my_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
|
|
|
_my_vue_vue_type_template_id_21031917_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
|
|
|
_my_vue_vue_type_template_id_21031917_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
|
|
|
false,
|
|
|
|
|
null,
|
|
|
|
|
"21031917",
|
|
|
|
|
null,
|
|
|
|
|
false,
|
|
|
|
|
_my_vue_vue_type_template_id_21031917_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
|
|
|
|
|
renderjs
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
component.options.__file = "pages/worker/my/my.vue"
|
|
|
|
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
2022-12-21 08:26:21 +00:00
|
|
|
|
/***/ 58:
|
2022-11-28 06:26:17 +00:00
|
|
|
|
/*!******************************************************************************************************!*\
|
|
|
|
|
!*** D:/Lee/工地打卡小程序/building-sign/pages/worker/my/my.vue?vue&type=template&id=21031917&scoped=true& ***!
|
|
|
|
|
\******************************************************************************************************/
|
2022-11-15 10:03:13 +00:00
|
|
|
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
2022-12-21 08:26:21 +00:00
|
|
|
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_template_id_21031917_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./my.vue?vue&type=template&id=21031917&scoped=true& */ 59);
|
2022-11-28 06:26:17 +00:00
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_template_id_21031917_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
2022-11-15 10:03:13 +00:00
|
|
|
|
|
2022-11-28 06:26:17 +00:00
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_template_id_21031917_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
2022-11-15 10:03:13 +00:00
|
|
|
|
|
2022-11-28 06:26:17 +00:00
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_template_id_21031917_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
2022-11-15 10:03:13 +00:00
|
|
|
|
|
2022-11-28 06:26:17 +00:00
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_template_id_21031917_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
2022-11-15 10:03:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
2022-12-21 08:26:21 +00:00
|
|
|
|
/***/ 59:
|
2022-11-28 06:26:17 +00:00
|
|
|
|
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
|
|
!*** ./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--16-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!D:/Lee/工地打卡小程序/building-sign/pages/worker/my/my.vue?vue&type=template&id=21031917&scoped=true& ***!
|
|
|
|
|
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
2022-11-15 10:03:13 +00:00
|
|
|
|
/*! 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 = {
|
2022-12-21 08:26:21 +00:00
|
|
|
|
statusNav: function () {
|
|
|
|
|
return __webpack_require__.e(/*! import() | components/status-nav/status-nav */ "components/status-nav/status-nav").then(__webpack_require__.bind(null, /*! @/components/status-nav/status-nav.vue */ 165))
|
|
|
|
|
},
|
|
|
|
|
tabbar: function () {
|
|
|
|
|
return Promise.all(/*! import() | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then(__webpack_require__.bind(null, /*! @/components/tabbar/tabbar.vue */ 179))
|
2022-11-15 10:03:13 +00:00
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
} 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
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-12-21 08:26:21 +00:00
|
|
|
|
var render = function () {
|
2022-11-15 10:03:13 +00:00
|
|
|
|
var _vm = this
|
|
|
|
|
var _h = _vm.$createElement
|
|
|
|
|
var _c = _vm._self._c || _h
|
2022-12-09 09:56:41 +00:00
|
|
|
|
var l0 = _vm.isLoding
|
2022-12-21 08:26:21 +00:00
|
|
|
|
? _vm.__map(_vm.myMoreList, function (item, index) {
|
2022-12-09 09:56:41 +00:00
|
|
|
|
var $orig = _vm.__get_orig(item)
|
|
|
|
|
var g0 = _vm.showList.indexOf(index)
|
|
|
|
|
return {
|
|
|
|
|
$orig: $orig,
|
2022-12-21 08:26:21 +00:00
|
|
|
|
g0: g0,
|
2022-12-09 09:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
: null
|
|
|
|
|
if (!_vm._isMounted) {
|
2022-12-21 08:26:21 +00:00
|
|
|
|
_vm.e0 = function ($event) {
|
2022-12-09 09:56:41 +00:00
|
|
|
|
_vm.showApply = false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
_vm.$mp.data = Object.assign(
|
|
|
|
|
{},
|
|
|
|
|
{
|
|
|
|
|
$root: {
|
2022-12-21 08:26:21 +00:00
|
|
|
|
l0: l0,
|
|
|
|
|
},
|
2022-12-09 09:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
)
|
2022-11-15 10:03:13 +00:00
|
|
|
|
}
|
|
|
|
|
var recyclableRender = false
|
|
|
|
|
var staticRenderFns = []
|
|
|
|
|
render._withStripped = true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
2022-12-21 08:26:21 +00:00
|
|
|
|
/***/ 60:
|
2022-11-28 06:26:17 +00:00
|
|
|
|
/*!************************************************************************************!*\
|
|
|
|
|
!*** D:/Lee/工地打卡小程序/building-sign/pages/worker/my/my.vue?vue&type=script&lang=js& ***!
|
|
|
|
|
\************************************************************************************/
|
2022-11-15 10:03:13 +00:00
|
|
|
|
/*! no static exports found */
|
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
2022-12-21 08:26:21 +00:00
|
|
|
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./my.vue?vue&type=script&lang=js& */ 61);
|
2022-11-28 06:26:17 +00:00
|
|
|
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
2022-12-21 08:26:21 +00:00
|
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_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 _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
2022-11-28 06:26:17 +00:00
|
|
|
|
/* harmony default export */ __webpack_exports__["default"] = (_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_my_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
2022-11-15 10:03:13 +00:00
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
2022-12-21 08:26:21 +00:00
|
|
|
|
/***/ 61:
|
2022-11-28 06:26:17 +00:00
|
|
|
|
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
|
|
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-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!D:/Lee/工地打卡小程序/building-sign/pages/worker/my/my.vue?vue&type=script&lang=js& ***!
|
|
|
|
|
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
2022-11-15 10:03:13 +00:00
|
|
|
|
/*! no static exports found */
|
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
"use strict";
|
2022-12-21 08:26:21 +00:00
|
|
|
|
/* WEBPACK VAR INJECTION */(function(uni) {
|
|
|
|
|
|
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
|
|
|
value: true
|
|
|
|
|
});
|
|
|
|
|
exports.default = void 0;
|
|
|
|
|
var tabbar = function tabbar() {
|
|
|
|
|
Promise.all(/*! require.ensure | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then((function () {
|
|
|
|
|
return resolve(__webpack_require__(/*! @/components/tabbar/tabbar */ 179));
|
|
|
|
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
|
|
|
|
};
|
|
|
|
|
var _default = {
|
2022-11-15 10:03:13 +00:00
|
|
|
|
components: {
|
2022-12-21 08:26:21 +00:00
|
|
|
|
tabbar: tabbar
|
|
|
|
|
},
|
2022-11-15 10:03:13 +00:00
|
|
|
|
data: function data() {
|
|
|
|
|
return {
|
2022-12-21 08:26:21 +00:00
|
|
|
|
statusHeight: uni.getSystemInfoSync().statusBarHeight,
|
|
|
|
|
//状态栏高度
|
|
|
|
|
userType: '',
|
|
|
|
|
//账户类型 工人:worker 负责人:director
|
|
|
|
|
frontColor: '#ffffff',
|
|
|
|
|
//状态栏文字颜色
|
|
|
|
|
backgroudColor: 'none',
|
|
|
|
|
//导航栏背景
|
|
|
|
|
titleColor: '#ffffff',
|
|
|
|
|
//导航栏颜色
|
|
|
|
|
userInfo: {},
|
|
|
|
|
//用户信息
|
|
|
|
|
myMoreList: [],
|
|
|
|
|
//更多列表
|
|
|
|
|
isLoding: false,
|
|
|
|
|
//是否加载完成
|
|
|
|
|
showApply: false,
|
|
|
|
|
//是否显示离职申请
|
2022-12-09 09:56:41 +00:00
|
|
|
|
showList: [] //展示数组
|
2022-11-15 10:03:13 +00:00
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
onPageScroll: function onPageScroll(object) {
|
2022-11-16 10:20:26 +00:00
|
|
|
|
if (object.scrollTop >= 5) {
|
2022-11-15 10:03:13 +00:00
|
|
|
|
this.frontColor = '#000000';
|
|
|
|
|
this.backgroudColor = '#ffffff';
|
|
|
|
|
this.titleColor = '#3333333';
|
|
|
|
|
// 改变状态栏
|
|
|
|
|
this.changeStatusNav();
|
|
|
|
|
}
|
2022-11-16 10:20:26 +00:00
|
|
|
|
if (object.scrollTop <= 0) {
|
2022-11-15 10:03:13 +00:00
|
|
|
|
this.frontColor = '#ffffff';
|
|
|
|
|
this.backgroudColor = 'none';
|
|
|
|
|
this.titleColor = '#ffffff';
|
|
|
|
|
// 改变状态栏
|
|
|
|
|
this.changeStatusNav();
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-12-09 09:56:41 +00:00
|
|
|
|
onLoad: function onLoad(op) {
|
|
|
|
|
if (op.userType !== '') {
|
|
|
|
|
this.userType = op.userType;
|
|
|
|
|
if (op.userType == 'worker') {
|
2022-12-21 08:26:21 +00:00
|
|
|
|
this.myMoreList = [{
|
|
|
|
|
title: '个人资料',
|
|
|
|
|
url: '/pagesA/information/information',
|
|
|
|
|
icon: '/static/icon/icon-my-01.png',
|
|
|
|
|
iconWidth: 32,
|
|
|
|
|
iconHeight: 32
|
|
|
|
|
}, {
|
|
|
|
|
title: '打卡记录',
|
2022-12-22 08:47:05 +00:00
|
|
|
|
url: '/pagesA/signRecord/signRecord?userType=worker',
|
2022-12-21 08:26:21 +00:00
|
|
|
|
icon: '/static/icon/icon-my-02.png',
|
|
|
|
|
iconWidth: 30,
|
|
|
|
|
iconHeight: 30
|
|
|
|
|
}, {
|
|
|
|
|
title: '工资记录',
|
|
|
|
|
url: '/pagesA/wagesRecord/wagesRecord',
|
|
|
|
|
icon: '/static/icon/icon-my-03.png',
|
|
|
|
|
iconWidth: 30,
|
|
|
|
|
iconHeight: 30
|
|
|
|
|
}, {
|
|
|
|
|
title: '加班记录',
|
|
|
|
|
url: '/pagesA/overtimeRecord/overtimeRecord',
|
|
|
|
|
icon: '/static/icon/icon-my-04.png',
|
|
|
|
|
iconWidth: 32,
|
|
|
|
|
iconHeight: 32
|
|
|
|
|
}, {
|
|
|
|
|
title: '员工手册',
|
|
|
|
|
url: '/pagesA/singlePage/singlePage?type=manual',
|
|
|
|
|
icon: '/static/icon/icon-my-05.png',
|
|
|
|
|
iconWidth: 31,
|
|
|
|
|
iconHeight: 29
|
|
|
|
|
}, {
|
|
|
|
|
title: '安全告知',
|
|
|
|
|
url: '/pagesA/singlePage/singlePage?type=security',
|
|
|
|
|
icon: '/static/icon/icon-my-06.png',
|
|
|
|
|
iconWidth: 28,
|
|
|
|
|
iconHeight: 36
|
|
|
|
|
}, {
|
|
|
|
|
title: '入职申请',
|
|
|
|
|
url: 'workerApply',
|
|
|
|
|
icon: '/static/icon/icon-my-11.png',
|
|
|
|
|
iconWidth: 33,
|
|
|
|
|
iconHeight: 33
|
|
|
|
|
}, {
|
|
|
|
|
title: '离职申请',
|
|
|
|
|
url: 'auitApply',
|
|
|
|
|
icon: '/static/icon/icon-my-07.png',
|
|
|
|
|
iconWidth: 31,
|
|
|
|
|
iconHeight: 31
|
|
|
|
|
}, {
|
|
|
|
|
title: '公告',
|
|
|
|
|
url: '/pagesA/singlePage/singlePage?type=notice',
|
|
|
|
|
icon: '/static/icon/icon-my-08.png',
|
|
|
|
|
iconWidth: 28,
|
|
|
|
|
iconHeight: 30
|
|
|
|
|
}];
|
2022-12-09 09:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
if (op.userType == 'director') {
|
2022-12-21 08:26:21 +00:00
|
|
|
|
this.myMoreList = [{
|
|
|
|
|
title: '个人资料',
|
|
|
|
|
url: '/pagesA/information/information',
|
|
|
|
|
icon: '/static/icon/icon-my-01.png',
|
|
|
|
|
iconWidth: 32,
|
|
|
|
|
iconHeight: 32
|
|
|
|
|
}, {
|
|
|
|
|
title: '打卡记录',
|
2022-12-22 08:47:05 +00:00
|
|
|
|
url: '/pagesA/signRecord/signRecord?userType=director',
|
2022-12-21 08:26:21 +00:00
|
|
|
|
icon: '/static/icon/icon-my-02.png',
|
|
|
|
|
iconWidth: 30,
|
|
|
|
|
iconHeight: 30
|
|
|
|
|
}, {
|
|
|
|
|
title: '工人列表',
|
|
|
|
|
url: '/pagesB/worker/worker',
|
|
|
|
|
icon: '/static/icon/icon-my-10.png',
|
|
|
|
|
iconWidth: 31,
|
|
|
|
|
iconHeight: 33
|
|
|
|
|
}, {
|
|
|
|
|
title: '工人补卡确认',
|
|
|
|
|
url: '/pagesB/repair/repair',
|
|
|
|
|
icon: '/static/icon/icon-my-04.png',
|
|
|
|
|
iconWidth: 28,
|
|
|
|
|
iconHeight: 36
|
|
|
|
|
}, {
|
|
|
|
|
title: '工人离职申请',
|
|
|
|
|
url: '/pagesB/quitApply/quitApply',
|
|
|
|
|
icon: '/static/icon/icon-my-09.png',
|
|
|
|
|
iconWidth: 33,
|
|
|
|
|
iconHeight: 33
|
|
|
|
|
}, {
|
|
|
|
|
title: '公告管理',
|
|
|
|
|
url: '/pagesB/notick/notick',
|
|
|
|
|
icon: '/static/icon/icon-my-08.png',
|
|
|
|
|
iconWidth: 28,
|
|
|
|
|
iconHeight: 30
|
|
|
|
|
}];
|
2022-12-09 09:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2022-11-15 10:03:13 +00:00
|
|
|
|
// 改变状态栏
|
|
|
|
|
this.changeStatusNav();
|
2022-11-16 10:20:26 +00:00
|
|
|
|
// 获取用户信息
|
|
|
|
|
this.getUserInfo();
|
2022-11-15 10:03:13 +00:00
|
|
|
|
},
|
2022-11-28 09:44:22 +00:00
|
|
|
|
onShareAppMessage: function onShareAppMessage(res) {
|
|
|
|
|
var shareObj = {
|
|
|
|
|
title: '工地打卡',
|
|
|
|
|
path: '/pages/pagehome/pagehome',
|
2022-12-21 08:26:21 +00:00
|
|
|
|
imageUrl: '/static/share-logo.jpg'
|
|
|
|
|
};
|
2022-11-28 09:44:22 +00:00
|
|
|
|
// 返回shareObj
|
|
|
|
|
return shareObj;
|
|
|
|
|
},
|
2022-11-15 10:03:13 +00:00
|
|
|
|
methods: {
|
|
|
|
|
// 改变状态栏
|
|
|
|
|
changeStatusNav: function changeStatusNav() {
|
|
|
|
|
wx.setNavigationBarColor({
|
|
|
|
|
frontColor: this.frontColor,
|
2022-12-21 08:26:21 +00:00
|
|
|
|
backgroundColor: 'none'
|
|
|
|
|
});
|
2022-11-16 10:20:26 +00:00
|
|
|
|
},
|
|
|
|
|
// 获取用户信息
|
2022-12-21 08:26:21 +00:00
|
|
|
|
getUserInfo: function getUserInfo() {
|
|
|
|
|
var _this = this;
|
2022-11-16 10:20:26 +00:00
|
|
|
|
this.$requst.post('/api/v1/user/info').then(function (res) {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
console.log(res, '用户信息');
|
2022-12-09 09:56:41 +00:00
|
|
|
|
if (res.data.role == 0) {
|
|
|
|
|
_this.showList = [0, 1, 2, 3, 4, 5, 6, 8];
|
|
|
|
|
}
|
|
|
|
|
if (res.data.role == 1) {
|
|
|
|
|
_this.showList = [0, 1, 2, 3, 4, 5, 7, 8];
|
|
|
|
|
}
|
|
|
|
|
if (res.data.role == 2) {
|
|
|
|
|
_this.showList = [0, 1, 2, 3, 4, 5];
|
|
|
|
|
}
|
2022-11-16 10:20:26 +00:00
|
|
|
|
_this.userInfo = res.data;
|
|
|
|
|
_this.isLoding = true;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
//跳转页面
|
|
|
|
|
toMore: function toMore(url) {
|
2022-12-09 09:56:41 +00:00
|
|
|
|
if (url == 'auitApply') {
|
|
|
|
|
this.showApply = true;
|
|
|
|
|
} else if (url == 'workerApply') {
|
|
|
|
|
uni.reLaunch({
|
2022-12-21 08:26:21 +00:00
|
|
|
|
url: '/pages/worker/sign/sign?userType=worker&apply=join'
|
|
|
|
|
});
|
2022-12-09 09:56:41 +00:00
|
|
|
|
} else {
|
|
|
|
|
uni.navigateTo({
|
2022-12-21 08:26:21 +00:00
|
|
|
|
url: url
|
|
|
|
|
});
|
2022-12-09 09:56:41 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 确认离职
|
|
|
|
|
submitEv: function submitEv() {
|
|
|
|
|
this.showApply = false;
|
2022-12-21 08:26:21 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
exports.default = _default;
|
2022-11-15 10:03:13 +00:00
|
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
|
|
|
|
|
|
|
|
|
/***/ })
|
|
|
|
|
|
2022-12-21 08:26:21 +00:00
|
|
|
|
},[[56,"common/runtime","common/vendor"]]]);
|
2022-11-15 10:03:13 +00:00
|
|
|
|
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/worker/my/my.js.map
|