building-sign/unpackage/dist/dev/mp-weixin/pages/director/sign/sign.js

370 lines
26 KiB
JavaScript
Raw Normal View History

2022-11-15 10:03:13 +00:00
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/director/sign/sign"],{
2023-01-14 03:15:59 +00:00
/***/ 63:
2022-11-28 06:26:17 +00:00
/*!**************************************************************************************!*\
!*** D:/Lee//building-sign/main.js?{"page":"pages%2Fdirector%2Fsign%2Fsign"} ***!
\**************************************************************************************/
2022-11-15 10:03:13 +00:00
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
2023-01-14 03:15:59 +00:00
/* WEBPACK VAR INJECTION */(function(wx, createPage) {
2022-12-21 08:26:21 +00:00
2023-01-14 03:15:59 +00:00
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
__webpack_require__(/*! uni-pages */ 26);
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
var _sign = _interopRequireDefault(__webpack_require__(/*! ./pages/director/sign/sign.vue */ 64));
2022-12-21 08:26:21 +00:00
// @ts-ignore
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
createPage(_sign.default);
2023-01-14 03:15:59 +00:00
/* 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"]))
2022-11-15 10:03:13 +00:00
/***/ }),
2023-01-14 03:15:59 +00:00
/***/ 64:
2022-11-28 06:26:17 +00:00
/*!*****************************************************************!*\
!*** D:/Lee//building-sign/pages/director/sign/sign.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__);
2023-01-14 03:15:59 +00:00
/* harmony import */ var _sign_vue_vue_type_template_id_cabccb76_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./sign.vue?vue&type=template&id=cabccb76&scoped=true& */ 65);
/* harmony import */ var _sign_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./sign.vue?vue&type=script&lang=js& */ 67);
2022-12-21 08:26:21 +00:00
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _sign_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 _sign_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
2023-01-14 03:15:59 +00:00
/* 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 */ 32);
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
_sign_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_sign_vue_vue_type_template_id_cabccb76_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
_sign_vue_vue_type_template_id_cabccb76_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
"cabccb76",
null,
false,
_sign_vue_vue_type_template_id_cabccb76_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
renderjs
)
component.options.__file = "pages/director/sign/sign.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
2023-01-14 03:15:59 +00:00
/***/ 65:
2022-11-28 06:26:17 +00:00
/*!************************************************************************************************************!*\
!*** D:/Lee//building-sign/pages/director/sign/sign.vue?vue&type=template&id=cabccb76&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__);
2023-01-14 03:15:59 +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_sign_vue_vue_type_template_id_cabccb76_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!./sign.vue?vue&type=template&id=cabccb76&scoped=true& */ 66);
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_sign_vue_vue_type_template_id_cabccb76_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_sign_vue_vue_type_template_id_cabccb76_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_sign_vue_vue_type_template_id_cabccb76_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_sign_vue_vue_type_template_id_cabccb76_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
2022-11-15 10:03:13 +00:00
/***/ }),
2023-01-14 03:15:59 +00:00
/***/ 66:
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/director/sign/sign.vue?vue&type=template&id=cabccb76&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 () {
2023-01-14 03:15:59 +00:00
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 */ 178))
2022-11-18 10:33:37 +00:00
},
2022-12-21 08:26:21 +00:00
subNav: function () {
2023-01-14 03:15:59 +00:00
return Promise.all(/*! import() | components/sub-nav/sub-nav */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/sub-nav/sub-nav")]).then(__webpack_require__.bind(null, /*! @/components/sub-nav/sub-nav.vue */ 199))
2022-12-21 08:26:21 +00:00
},
tabbar: function () {
2023-01-14 03:15:59 +00:00
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 */ 192))
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
2023-01-14 03:15:59 +00:00
var g0 = _vm.status == 0 && _vm.signList.length > 0
var g1 = _vm.signList.length
_vm.$mp.data = Object.assign(
{},
{
$root: {
g0: g0,
g1: g1,
},
}
)
2022-11-15 10:03:13 +00:00
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true
/***/ }),
2023-01-14 03:15:59 +00:00
/***/ 67:
2022-11-28 06:26:17 +00:00
/*!******************************************************************************************!*\
!*** D:/Lee//building-sign/pages/director/sign/sign.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__);
2023-01-14 03:15:59 +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_sign_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!./sign.vue?vue&type=script&lang=js& */ 68);
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_sign_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_sign_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_sign_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_sign_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_sign_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
2022-11-15 10:03:13 +00:00
/***/ }),
2023-01-14 03:15:59 +00:00
/***/ 68:
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/director/sign/sign.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 subNav = function subNav() {
Promise.all(/*! require.ensure | components/sub-nav/sub-nav */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/sub-nav/sub-nav")]).then((function () {
2023-01-14 03:15:59 +00:00
return resolve(__webpack_require__(/*! @/components/sub-nav/sub-nav.vue */ 199));
2022-12-21 08:26:21 +00:00
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var tabbar = function tabbar() {
Promise.all(/*! require.ensure | components/tabbar/tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabbar/tabbar")]).then((function () {
2023-01-14 03:15:59 +00:00
return resolve(__webpack_require__(/*! @/components/tabbar/tabbar */ 192));
2022-12-21 08:26:21 +00:00
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var _default = {
2022-11-15 10:03:13 +00:00
components: {
2022-11-18 10:33:37 +00:00
subNav: subNav,
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 工作台workbench
2022-12-21 08:26:21 +00:00
signList: [],
//打卡列表
2022-11-18 10:33:37 +00:00
page: 1,
size: 10,
status: 0,
total: 0,
2022-12-21 08:26:21 +00:00
isAll: false,
//是否全选
2022-11-18 10:33:37 +00:00
ids: '' //选中的id
2022-11-15 10:03:13 +00:00
};
},
onLoad: function onLoad(op) {
if (op.userType) {
this.userType = op.userType;
}
},
2022-11-18 10:33:37 +00:00
onShow: function onShow() {
// 获取打卡列表
this.getSignList();
},
onReachBottom: function onReachBottom() {
if (this.signList.length < this.total) {
this.page++;
// 获取打卡列表
this.getSignList();
}
},
2022-11-28 06:26:17 +00:00
onPullDownRefresh: function onPullDownRefresh() {
this.page = 1;
// 获取打卡列表
this.getSignList();
// 关闭下拉刷新
uni.stopPullDownRefresh();
},
2022-11-18 10:33:37 +00:00
methods: {
// 选择栏目
changeEv: function changeEv(index) {
this.status = index;
this.page = 1;
// 获取打卡列表
this.getSignList();
},
// 选中事件
chooseEv: function chooseEv(index) {
this.signList[index].ifcheck = !this.signList[index].ifcheck;
2022-12-21 08:26:21 +00:00
var exit = this.signList.filter(function (item) {
return item.ifcheck == false;
});
2022-11-18 10:33:37 +00:00
if (exit.length > 0) {
this.isAll = false;
} else {
this.isAll = true;
}
2022-12-21 08:26:21 +00:00
var idsTemparr = this.signList.filter(function (item) {
return item.ifcheck == true;
});
2022-11-18 10:33:37 +00:00
var idsArr = [];
idsTemparr.forEach(function (item) {
idsArr.push(item.id);
});
// 选中的id
this.ids = idsArr.join(',');
},
// 全选事件
chooseAll: function chooseAll() {
2022-12-21 08:26:21 +00:00
var exit = this.signList.filter(function (item) {
return item.ifcheck == false;
});
2022-11-18 10:33:37 +00:00
if (exit.length > 0) {
this.isAll = true;
2022-12-21 08:26:21 +00:00
this.signList.forEach(function (item) {
return item.ifcheck = true;
});
2022-11-18 10:33:37 +00:00
} else {
this.isAll = false;
2022-12-21 08:26:21 +00:00
this.signList.forEach(function (item) {
item.ifcheck = false;
});
2022-11-18 10:33:37 +00:00
}
2022-12-21 08:26:21 +00:00
var idsTemparr = this.signList.filter(function (item) {
return item.ifcheck == true;
});
2022-11-18 10:33:37 +00:00
var idsArr = [];
idsTemparr.forEach(function (item) {
idsArr.push(item.id);
});
// 选中的id
this.ids = idsArr.join(',');
},
// 确认&退回事件
2022-12-21 08:26:21 +00:00
submitEv: function submitEv(id, type) {
var _this = this;
2022-11-18 10:33:37 +00:00
var params = {
id: id,
2022-12-21 08:26:21 +00:00
type: type
};
2022-11-18 10:33:37 +00:00
this.$requst.post('/api/v1/manager/check-clock', params).then(function (res) {
if (res.code == 0) {
if (type == 0) {
_this.$toolAll.tools.showToast('已退回');
} else {
_this.$toolAll.tools.showToast('已确认');
}
// 获取打卡列表
_this.getSignList();
}
});
},
// 批量确认&退回事件
2022-12-21 08:26:21 +00:00
submitAll: function submitAll(type) {
var _this2 = this;
2022-11-18 10:33:37 +00:00
var params = {
id: this.ids,
2022-12-21 08:26:21 +00:00
type: type
};
2022-11-18 10:33:37 +00:00
this.$requst.post('/api/v1/manager/check-clock', params).then(function (res) {
if (res.code == 0) {
if (type == 0) {
_this2.$toolAll.tools.showToast('已退回');
} else {
_this2.$toolAll.tools.showToast('已确认');
}
// 获取打卡列表
_this2.getSignList();
}
});
},
// 获取打卡列表
2022-12-21 08:26:21 +00:00
getSignList: function getSignList() {
var _this3 = this;
2022-11-18 10:33:37 +00:00
var params = {
page: this.page,
size: this.size,
2022-12-21 08:26:21 +00:00
status: this.status
};
2022-11-18 10:33:37 +00:00
if (this.page == 1) this.signList = [];
this.$requst.post('/api/v1/manager/clock-list', params).then(function (res) {
if (res.code == 0) {
console.log(res, '打卡列表');
_this3.total = res.data.total;
var signArr = [];
res.data.list.forEach(function (item) {
var obj = {
id: item.id,
created_at: item.created_at,
status: item.status,
status_text: item.status_text,
worksite_name: item.worksite_name,
worker_name: item.worker_name,
type_text: item.type_text,
is_statistic: item.is_statistic,
2022-12-21 08:26:21 +00:00
ifcheck: false
};
2022-11-18 10:33:37 +00:00
signArr.push(obj);
});
_this3.signList = _this3.signList.concat(signArr);
}
});
2022-12-21 08:26:21 +00:00
}
}
};
exports.default = _default;
2023-01-14 03:15:59 +00:00
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
2022-11-15 10:03:13 +00:00
/***/ })
2023-01-14 03:15:59 +00:00
},[[63,"common/runtime","common/vendor"]]]);
2022-11-15 10:03:13 +00:00
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/director/sign/sign.js.map