Blame view

绿纤uni-app/unpackage/dist/dev/mp-weixin/pagesA/tech-department-dashboard/tech-department-dashboard.js 105 KB
9854a774   李宇   最新
1
  (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pagesA/tech-department-dashboard/tech-department-dashboard"],{
6d9b821e   李宇   最新
2
  
230d71ee   李宇   最新
3
  /***/ 542:
9854a774   李宇   最新
4
5
6
  /*!**************************************************************************************************************!*\
    !*** D:/work/daima/lvqianmeiye_ERP/绿纤uni-app/pagesA/tech-department-dashboard/tech-department-dashboard.vue ***!
    \**************************************************************************************************************/
6d9b821e   李宇   最新
7
8
9
10
11
  /*! no static exports found */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
230d71ee   李宇   最新
12
13
  /* harmony import */ var _tech_department_dashboard_vue_vue_type_template_id_7934b08d_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./tech-department-dashboard.vue?vue&type=template&id=7934b08d&scoped=true& */ 543);
  /* harmony import */ var _tech_department_dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tech-department-dashboard.vue?vue&type=script&lang=js& */ 545);
6d9b821e   李宇   最新
14
  /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _tech_department_dashboard_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 _tech_department_dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
230d71ee   李宇   最新
15
  /* harmony import */ var _tech_department_dashboard_vue_vue_type_style_index_0_id_7934b08d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./tech-department-dashboard.vue?vue&type=style&index=0&id=7934b08d&lang=scss&scoped=true& */ 547);
6d9b821e   李宇   最新
16
17
18
19
20
21
22
23
24
25
26
27
  /* harmony import */ var _tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 32);
  
  var renderjs
  
  
  
  
  
  /* normalize component */
  
  var component = Object(_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
    _tech_department_dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
9854a774   李宇   最新
28
29
    _tech_department_dashboard_vue_vue_type_template_id_7934b08d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
    _tech_department_dashboard_vue_vue_type_template_id_7934b08d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
6d9b821e   李宇   最新
30
31
    false,
    null,
9854a774   李宇   最新
32
    "7934b08d",
6d9b821e   李宇   最新
33
34
    null,
    false,
9854a774   李宇   最新
35
    _tech_department_dashboard_vue_vue_type_template_id_7934b08d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
6d9b821e   李宇   最新
36
37
38
    renderjs
  )
  
9854a774   李宇   最新
39
  component.options.__file = "pagesA/tech-department-dashboard/tech-department-dashboard.vue"
6d9b821e   李宇   最新
40
41
42
43
  /* harmony default export */ __webpack_exports__["default"] = (component.exports);
  
  /***/ }),
  
230d71ee   李宇   最新
44
  /***/ 543:
9854a774   李宇   最新
45
46
47
  /*!*********************************************************************************************************************************************************!*\
    !*** D:/work/daima/lvqianmeiye_ERP/绿纤uni-app/pagesA/tech-department-dashboard/tech-department-dashboard.vue?vue&type=template&id=7934b08d&scoped=true& ***!
    \*********************************************************************************************************************************************************/
6d9b821e   李宇   最新
48
49
50
51
52
  /*! exports provided: render, staticRenderFns, recyclableRender, components */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
230d71ee   李宇   最新
53
  /* harmony import */ var _tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_vue_vue_type_template_id_7934b08d_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tech-department-dashboard.vue?vue&type=template&id=7934b08d&scoped=true& */ 544);
9854a774   李宇   最新
54
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_vue_vue_type_template_id_7934b08d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
6d9b821e   李宇   最新
55
  
9854a774   李宇   最新
56
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_vue_vue_type_template_id_7934b08d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
6d9b821e   李宇   最新
57
  
9854a774   李宇   最新
58
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_vue_vue_type_template_id_7934b08d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
6d9b821e   李宇   最新
59
  
9854a774   李宇   最新
60
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_vue_vue_type_template_id_7934b08d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
6d9b821e   李宇   最新
61
62
63
64
65
  
  
  
  /***/ }),
  
230d71ee   李宇   最新
66
  /***/ 544:
9854a774   李宇   最新
67
68
69
  /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** ./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!D:/work/daima/lvqianmeiye_ERP/绿纤uni-app/pagesA/tech-department-dashboard/tech-department-dashboard.vue?vue&type=template&id=7934b08d&scoped=true& ***!
    \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
6d9b821e   李宇   最新
70
71
72
73
74
75
76
77
78
  /*! 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; });
6d9b821e   李宇   最新
79
  var components
038fc123   李宇   最新
80
81
82
  try {
    components = {
      uIcon: function () {
230d71ee   李宇   最新
83
        return Promise.all(/*! import() | uni_modules/uview-ui/components/u-icon/u-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-icon/u-icon.vue */ 641))
038fc123   李宇   最新
84
85
      },
      qiunDataCharts: function () {
230d71ee   李宇   最新
86
        return Promise.all(/*! import() | uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts")]).then(__webpack_require__.bind(null, /*! @/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue */ 792))
038fc123   李宇   最新
87
88
      },
      uLoadingIcon: function () {
230d71ee   李宇   最新
89
        return Promise.all(/*! import() | uni_modules/uview-ui/components/u-loading-icon/u-loading-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-loading-icon/u-loading-icon")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue */ 764))
038fc123   李宇   最新
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
      },
    }
  } 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 l0 = _vm.statistics
      ? _vm.__map(_vm.kpiListTop.slice(0, 2), function (kpi, index) {
          var $orig = _vm.__get_orig(kpi)
          var m0 = _vm.getKpiIconName(kpi.key)
          var m1 = kpi.isMoney ? _vm.formatMoney(kpi.value) : null
          var m2 = !kpi.isMoney ? _vm.formatNumber(kpi.value) : null
          return {
            $orig: $orig,
            m0: m0,
            m1: m1,
            m2: m2,
          }
        })
      : null
    var l1 = _vm.statistics
      ? _vm.__map(_vm.kpiListTop.slice(2, 5), function (kpi, index) {
          var $orig = _vm.__get_orig(kpi)
          var m3 = _vm.formatNumber(kpi.value)
          return {
            $orig: $orig,
            m3: m3,
          }
        })
      : null
230d71ee   李宇   最新
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
    var l2 = _vm.statistics
      ? _vm.__map(_vm.kpiListTop.slice(5, 10), function (kpi, index) {
          var $orig = _vm.__get_orig(kpi)
          var m4 = _vm.getKpiIconName(kpi.key)
          var m5 = kpi.isMoney ? _vm.formatMoney(kpi.value) : null
          var m6 = !kpi.isMoney ? _vm.formatNumber(kpi.value) : null
          return {
            $orig: $orig,
            m4: m4,
            m5: m5,
            m6: m6,
          }
        })
      : null
    var m7 =
      _vm.operationStatistics || _vm.statistics
        ? _vm.formatNumber(
            (_vm.operationStatistics &&
              _vm.operationStatistics.BillingAnalysis &&
              _vm.operationStatistics.BillingAnalysis.BillingCount) ||
              0
          )
        : null
    var m8 =
      _vm.operationStatistics || _vm.statistics
        ? _vm.formatMoney((_vm.statistics && _vm.statistics.BillingAmount) || 0)
        : null
    var m9 =
      _vm.operationStatistics || _vm.statistics
        ? _vm.formatMoney(
            (_vm.operationStatistics &&
              _vm.operationStatistics.BillingAnalysis &&
              _vm.operationStatistics.BillingAnalysis.AverageBillingAmount) ||
              0
          )
        : null
    var m10 =
      _vm.operationStatistics || _vm.statistics
        ? _vm.formatNumber(
            (_vm.operationStatistics &&
              _vm.operationStatistics.ConsumeAnalysis &&
              _vm.operationStatistics.ConsumeAnalysis.ConsumeCount) ||
              0
          )
        : null
    var m11 =
      _vm.operationStatistics || _vm.statistics
        ? _vm.formatMoney(
            (_vm.operationStatistics &&
              _vm.operationStatistics.ConsumeAnalysis &&
              _vm.operationStatistics.ConsumeAnalysis.ConsumeAmount) ||
              0
          )
        : null
    var m12 =
      _vm.operationStatistics || _vm.statistics
        ? _vm.formatPercent(
            (_vm.operationStatistics &&
              _vm.operationStatistics.ConsumeAnalysis &&
              _vm.operationStatistics.ConsumeAnalysis.ConsumeRate) ||
              0
          )
        : null
    var m13 =
      _vm.operationStatistics || _vm.statistics
        ? _vm.formatNumber(
            (_vm.operationStatistics &&
              _vm.operationStatistics.RefundAnalysis &&
              _vm.operationStatistics.RefundAnalysis.RefundCount) ||
              0
          )
        : null
    var m14 =
      _vm.operationStatistics || _vm.statistics
        ? _vm.formatMoney(
            (_vm.operationStatistics &&
              _vm.operationStatistics.RefundAnalysis &&
              _vm.operationStatistics.RefundAnalysis.RefundAmount) ||
              0
          )
        : null
    var m15 =
      _vm.operationStatistics || _vm.statistics
        ? _vm.formatPercent(
            (_vm.operationStatistics &&
              _vm.operationStatistics.RefundAnalysis &&
              _vm.operationStatistics.RefundAnalysis.RefundRate) ||
              0
          )
        : null
    var m16 =
      _vm.operationStatistics || _vm.statistics
        ? _vm.formatMoney(
            (_vm.statistics && _vm.statistics.RefundTraceabilityAmount) || 0
          )
        : null
    var m17 =
      _vm.operationStatistics || _vm.statistics
        ? _vm.formatMoney(
            (_vm.statistics && _vm.statistics.BillingCellAmount) || 0
          )
        : null
    var m18 =
      _vm.operationStatistics || _vm.statistics
        ? _vm.formatMoney(
            (_vm.statistics && _vm.statistics.RefundCellAmount) || 0
          )
        : null
038fc123   李宇   最新
245
246
247
248
249
    var g0 =
      _vm.performanceTrend.TrendData && _vm.performanceTrend.TrendData.length > 0
    var g1 =
      _vm.storeDistribution.DistributionData &&
      _vm.storeDistribution.DistributionData.length > 0
230d71ee   李宇   最新
250
    var l3 = g1
038fc123   李宇   最新
251
252
253
254
      ? _vm.__map(
          _vm.storeDistribution.DistributionData.slice(0, 5),
          function (item, index) {
            var $orig = _vm.__get_orig(item)
230d71ee   李宇   最新
255
256
            var m19 = _vm.getDistributionColor(index)
            var m20 = _vm.formatMoney(item.TotalKemeiIncome)
038fc123   李宇   最新
257
258
            return {
              $orig: $orig,
230d71ee   李宇   最新
259
260
              m19: m19,
              m20: m20,
038fc123   李宇   最新
261
262
263
264
265
266
267
            }
          }
        )
      : null
    var g2 =
      _vm.shareTrend.TrendData && _vm.shareTrend.TrendData.length > 0 && false
    var g3 = _vm.storeRanking.length
230d71ee   李宇   最新
268
    var l4 =
038fc123   李宇   最新
269
270
271
      g3 > 0
        ? _vm.__map(_vm.storeRanking.slice(0, 10), function (item, index) {
            var $orig = _vm.__get_orig(item)
230d71ee   李宇   最新
272
            var m21 = _vm.formatMoney(item.TotalKemeiIncome)
038fc123   李宇   最新
273
274
            return {
              $orig: $orig,
230d71ee   李宇   最新
275
              m21: m21,
038fc123   李宇   最新
276
277
278
279
            }
          })
        : null
    var g4 = _vm.teacherRanking.length
230d71ee   李宇   最新
280
    var l5 =
038fc123   李宇   最新
281
282
283
284
      g4 > 0
        ? _vm.__map(_vm.teacherRanking.slice(0, 10), function (item, index) {
            var $orig = _vm.__get_orig(item)
            var g5 = item.EmployeeName ? item.EmployeeName.substring(0, 1) : null
230d71ee   李宇   最新
285
            var m22 = _vm.formatMoney(item.TotalPerformance)
038fc123   李宇   最新
286
287
288
            return {
              $orig: $orig,
              g5: g5,
230d71ee   李宇   最新
289
              m22: m22,
038fc123   李宇   最新
290
291
292
            }
          })
        : null
230d71ee   李宇   最新
293
    var m23 = _vm.comparisonAnalysis
038fc123   李宇   最新
294
295
296
297
      ? _vm.formatPercent(
          _vm.monthOverMonthComparison.TraceabilityAmountChangeRate
        )
      : null
230d71ee   李宇   最新
298
    var m24 = _vm.comparisonAnalysis
038fc123   李宇   最新
299
300
      ? _vm.formatPercent(_vm.monthOverMonthComparison.CellAmountChangeRate)
      : null
230d71ee   李宇   最新
301
    var m25 = _vm.comparisonAnalysis
038fc123   李宇   最新
302
303
      ? _vm.formatPercent(_vm.monthOverMonthComparison.TotalKemeiIncomeChangeRate)
      : null
230d71ee   李宇   最新
304
    var m26 = _vm.comparisonAnalysis
038fc123   李宇   最新
305
306
      ? _vm.formatPercent(_vm.yearOverYearComparison.TraceabilityAmountChangeRate)
      : null
230d71ee   李宇   最新
307
    var m27 = _vm.comparisonAnalysis
038fc123   李宇   最新
308
309
      ? _vm.formatPercent(_vm.yearOverYearComparison.CellAmountChangeRate)
      : null
230d71ee   李宇   最新
310
    var m28 = _vm.comparisonAnalysis
038fc123   李宇   最新
311
312
313
      ? _vm.formatPercent(_vm.yearOverYearComparison.TotalKemeiIncomeChangeRate)
      : null
    var g6 = !_vm.storeDetailList.loading ? _vm.storeDetailList.data.length : null
230d71ee   李宇   最新
314
    var l6 =
038fc123   李宇   最新
315
316
317
      !_vm.storeDetailList.loading && g6 > 0
        ? _vm.__map(_vm.storeDetailList.data, function (item, index) {
            var $orig = _vm.__get_orig(item)
230d71ee   李宇   最新
318
319
320
321
            var m29 = _vm.formatMoney(item.TraceabilityAmount)
            var m30 = _vm.formatMoney(item.CellAmount)
            var m31 = _vm.formatMoney(item.TotalKemeiIncome)
            var m32 = _vm.formatPercent(item.Percentage)
038fc123   李宇   最新
322
323
            return {
              $orig: $orig,
230d71ee   李宇   最新
324
325
326
327
              m29: m29,
              m30: m30,
              m31: m31,
              m32: m32,
038fc123   李宇   最新
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
            }
          })
        : null
    var g7 =
      !_vm.storeDetailList.loading &&
      g6 > 0 &&
      _vm.storeDetailList.pagination.total >
        _vm.storeDetailList.pagination.pageSize
        ? Math.ceil(
            _vm.storeDetailList.pagination.total /
              _vm.storeDetailList.pagination.pageSize
          )
        : null
    var g8 =
      !_vm.storeDetailList.loading &&
      g6 > 0 &&
      _vm.storeDetailList.pagination.total >
        _vm.storeDetailList.pagination.pageSize
        ? Math.ceil(
            _vm.storeDetailList.pagination.total /
              _vm.storeDetailList.pagination.pageSize
          )
        : null
    var g9 = !_vm.teacherDetailList.loading
      ? _vm.teacherDetailList.data.length
      : null
230d71ee   李宇   最新
354
    var l7 =
038fc123   李宇   最新
355
356
357
      !_vm.teacherDetailList.loading && g9 > 0
        ? _vm.__map(_vm.teacherDetailList.data, function (item, index) {
            var $orig = _vm.__get_orig(item)
230d71ee   李宇   最新
358
359
360
361
            var m33 = _vm.formatMoney(item.OrderAchievement)
            var m34 = _vm.formatMoney(item.ConsumeAchievement)
            var m35 = _vm.formatMoney(item.TotalPerformance)
            var m36 = _vm.formatMoney(item.HandworkFee)
038fc123   李宇   最新
362
363
            return {
              $orig: $orig,
230d71ee   李宇   最新
364
365
366
367
              m33: m33,
              m34: m34,
              m35: m35,
              m36: m36,
038fc123   李宇   最新
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
            }
          })
        : null
    var g10 =
      !_vm.teacherDetailList.loading &&
      g9 > 0 &&
      _vm.teacherDetailList.pagination.total >
        _vm.teacherDetailList.pagination.pageSize
        ? Math.ceil(
            _vm.teacherDetailList.pagination.total /
              _vm.teacherDetailList.pagination.pageSize
          )
        : null
    var g11 =
      !_vm.teacherDetailList.loading &&
      g9 > 0 &&
      _vm.teacherDetailList.pagination.total >
        _vm.teacherDetailList.pagination.pageSize
        ? Math.ceil(
            _vm.teacherDetailList.pagination.total /
              _vm.teacherDetailList.pagination.pageSize
          )
        : null
    var g12 =
       false
        ? undefined
        : null
230d71ee   李宇   最新
395
    var l8 =
038fc123   李宇   最新
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
       false
        ? undefined
        : null
    var g13 =
       false
        ? undefined
        : null
    var g14 =
       false
        ? undefined
        : null
    var g15 =
       false
        ? undefined
        : null
230d71ee   李宇   最新
411
    var l9 =
038fc123   李宇   最新
412
413
414
415
416
417
418
419
420
421
422
       false
        ? undefined
        : null
    var g16 =
       false
        ? undefined
        : null
    var g17 =
       false
        ? undefined
        : null
230d71ee   李宇   最新
423
    var l10 = _vm.shareStatistics
038fc123   李宇   最新
424
425
      ? _vm.__map(_vm.shareKpiList, function (kpi, index) {
          var $orig = _vm.__get_orig(kpi)
230d71ee   李宇   最新
426
427
428
          var m41 = _vm.getShareKpiIconName(kpi.key)
          var m42 = kpi.isMoney ? _vm.formatMoney(kpi.value) : null
          var m43 = !kpi.isMoney ? _vm.formatNumber(kpi.value) : null
038fc123   李宇   最新
429
430
          return {
            $orig: $orig,
230d71ee   李宇   最新
431
432
433
            m41: m41,
            m42: m42,
            m43: m43,
038fc123   李宇   最新
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
          }
        })
      : null
    if (!_vm._isMounted) {
      _vm.e0 = function ($event, kpi) {
        var _temp = arguments[arguments.length - 1].currentTarget.dataset,
          _temp2 = _temp.eventParams || _temp["event-params"],
          kpi = _temp2.kpi
        var _temp, _temp2
        return _vm.handleKpiClick(kpi)
      }
      _vm.e1 = function ($event, kpi) {
        var _temp3 = arguments[arguments.length - 1].currentTarget.dataset,
          _temp4 = _temp3.eventParams || _temp3["event-params"],
          kpi = _temp4.kpi
        var _temp3, _temp4
        return _vm.handleKpiClick(kpi)
      }
230d71ee   李宇   最新
452
453
454
455
456
457
458
      _vm.e2 = function ($event, kpi) {
        var _temp5 = arguments[arguments.length - 1].currentTarget.dataset,
          _temp6 = _temp5.eventParams || _temp5["event-params"],
          kpi = _temp6.kpi
        var _temp5, _temp6
        return _vm.handleKpiClick(kpi)
      }
038fc123   李宇   最新
459
460
461
462
463
464
465
    }
    _vm.$mp.data = Object.assign(
      {},
      {
        $root: {
          l0: l0,
          l1: l1,
038fc123   李宇   最新
466
          l2: l2,
230d71ee   李宇   最新
467
          m7: m7,
038fc123   李宇   最新
468
469
470
471
472
473
          m8: m8,
          m9: m9,
          m10: m10,
          m11: m11,
          m12: m12,
          m13: m13,
230d71ee   李宇   最新
474
475
476
477
478
479
480
481
482
483
484
485
          m14: m14,
          m15: m15,
          m16: m16,
          m17: m17,
          m18: m18,
          g0: g0,
          g1: g1,
          l3: l3,
          g2: g2,
          g3: g3,
          l4: l4,
          g4: g4,
038fc123   李宇   最新
486
          l5: l5,
230d71ee   李宇   最新
487
488
489
490
491
492
493
494
          m23: m23,
          m24: m24,
          m25: m25,
          m26: m26,
          m27: m27,
          m28: m28,
          g6: g6,
          l6: l6,
038fc123   李宇   最新
495
496
497
          g7: g7,
          g8: g8,
          g9: g9,
230d71ee   李宇   最新
498
          l7: l7,
038fc123   李宇   最新
499
500
501
          g10: g10,
          g11: g11,
          g12: g12,
230d71ee   李宇   最新
502
          l8: l8,
038fc123   李宇   最新
503
504
505
          g13: g13,
          g14: g14,
          g15: g15,
230d71ee   李宇   最新
506
          l9: l9,
038fc123   李宇   最新
507
508
          g16: g16,
          g17: g17,
230d71ee   李宇   最新
509
          l10: l10,
038fc123   李宇   最新
510
511
512
513
514
515
516
        },
      }
    )
  }
  var recyclableRender = false
  var staticRenderFns = []
  render._withStripped = true
6d9b821e   李宇   最新
517
518
519
520
521
  
  
  
  /***/ }),
  
230d71ee   李宇   最新
522
  /***/ 545:
9854a774   李宇   最新
523
524
525
  /*!***************************************************************************************************************************************!*\
    !*** D:/work/daima/lvqianmeiye_ERP/绿纤uni-app/pagesA/tech-department-dashboard/tech-department-dashboard.vue?vue&type=script&lang=js& ***!
    \***************************************************************************************************************************************/
6d9b821e   李宇   最新
526
527
528
529
530
  /*! no static exports found */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
230d71ee   李宇   最新
531
  /* harmony import */ var _tool_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tech-department-dashboard.vue?vue&type=script&lang=js& */ 546);
6d9b821e   李宇   最新
532
533
534
535
536
537
  /* harmony import */ var _tool_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tool_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
  /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _tool_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_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 _tool_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
   /* harmony default export */ __webpack_exports__["default"] = (_tool_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); 
  
  /***/ }),
  
230d71ee   李宇   最新
538
  /***/ 546:
9854a774   李宇   最新
539
540
541
  /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** ./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!D:/work/daima/lvqianmeiye_ERP/绿纤uni-app/pagesA/tech-department-dashboard/tech-department-dashboard.vue?vue&type=script&lang=js& ***!
    \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
6d9b821e   李宇   最新
542
543
544
545
546
547
548
  /*! 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);
038fc123   李宇   最新
549
  var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
6d9b821e   李宇   最新
550
551
552
553
554
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = void 0;
  var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 43));
aa81040d   李宇   最新
555
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
6d9b821e   李宇   最新
556
  var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 45));
aa81040d   李宇   最新
557
  var _techDepartmentDashboard = _interopRequireDefault(__webpack_require__(/*! @/apis/modules/tech-department-dashboard.js */ 54));
6d9b821e   李宇   最新
558
559
  var _request = _interopRequireDefault(__webpack_require__(/*! @/service/request.js */ 35));
  var _config = _interopRequireDefault(__webpack_require__(/*! @/common/config.js */ 37));
038fc123   李宇   最新
560
561
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
aa81040d   李宇   最新
562
563
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6d9b821e   李宇   最新
564
565
566
567
  var _default = {
    data: function data() {
      return {
        loading: false,
038fc123   李宇   最新
568
569
570
571
        screenshotLoading: false,
        // 截图加载状态
        showScreenshotBtn: true,
        // 是否显示截图按钮
6d9b821e   李宇   最新
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
        selectedMonth: '',
        techDepartmentIndex: -1,
        techDepartmentOptions: [],
        currentTechDepartmentName: '',
        currentTechDepartmentId: '',
        pageScrollTop: 0,
        trendMonthCount: 12,
        shareTrendMonthCount: 12,
        // 统计数据
        statistics: null,
        shareStatistics: null,
        performanceTrend: {
          TrendData: []
        },
        shareTrend: {
          TrendData: []
        },
        storeRanking: [],
        storeDistribution: {
          DistributionData: []
        },
        teacherRanking: [],
        operationStatistics: null,
        comparisonAnalysis: null,
aa81040d   李宇   最新
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
        // 明细列表弹窗
        // 明细列表数据
        storeDetailList: {
          loading: false,
          data: [],
          pagination: {
            currentPage: 1,
            pageSize: 10,
            total: 0
          }
        },
        teacherDetailList: {
          loading: false,
          data: [],
          pagination: {
            currentPage: 1,
            pageSize: 10,
            total: 0
          }
        },
        billingDetailList: {
          loading: false,
          data: [],
          pagination: {
            currentPage: 1,
            pageSize: 10,
            total: 0
          }
        },
        consumeDetailList: {
          loading: false,
          data: [],
          pagination: {
            currentPage: 1,
            pageSize: 10,
            total: 0
          }
        },
6d9b821e   李宇   最新
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
        // 业绩趋势图表数据
        performanceTrendChartData: {},
        performanceTrendChartOpts: {
          color: ["#409EFF", "#67C23A", "#E6A23C"],
          padding: [15, 10, 0, 15],
          enableScroll: true,
          dataLabel: false,
          dataPointShape: true,
          legend: {},
          xAxis: {
            disableGrid: true,
            scrollShow: true,
            itemCount: 4
          },
          yAxis: {
            gridType: "dash",
            dashLength: 2,
            format: function format(val) {
              return val >= 10000 ? (val / 10000).toFixed(1) + '万' : val.toString();
            }
          },
          extra: {
            line: {
              type: "straight",
              width: 2,
              activeType: "hollow"
            },
            tooltip: {
              showBox: true,
              showArrow: true,
              showCategory: true,
              format: function format(item, category) {
                var val = item.data >= 10000 ? (item.data / 10000).toFixed(1) + '万' : item.data.toString();
                return category + '\n' + item.name + ': ¥' + val;
              }
            }
          }
        },
        // 门店分布图表数据
        storeDistributionChartData: {},
        storeDistributionChartOpts: {
          color: ["#F56C6C", "#67C23A", "#409EFF", "#E6A23C", "#909399"],
          padding: [15, 15, 0, 15],
          dataLabel: false,
          legend: {
            show: false
          },
          extra: {
            pie: {
              activeOpacity: 0.5,
              activeRadius: 10,
              offsetAngle: 0,
              labelWidth: 15,
              border: true,
              borderWidth: 3,
              borderColor: '#FFFFFF',
              ringWidth: 30
            },
            tooltip: {
              showBox: true,
              showArrow: true,
              format: function format(item) {
                return item.name + ': ¥' + (item.data >= 10000 ? (item.data / 10000).toFixed(1) + '万' : item.data.toString());
              }
            }
          }
        },
        // 股份趋势图表数据
        shareTrendChartData: {},
        shareTrendChartOpts: {
          color: ["#409EFF", "#F56C6C", "#67C23A"],
          padding: [15, 10, 0, 15],
          enableScroll: true,
          dataLabel: false,
          dataPointShape: true,
          legend: {},
          xAxis: {
            disableGrid: true,
            scrollShow: true,
            itemCount: 4
          },
          yAxis: {
            gridType: "dash",
            dashLength: 2,
            format: function format(val) {
              return val >= 10000 ? (val / 10000).toFixed(1) + '万' : val.toString();
            }
          },
          extra: {
            line: {
              type: "straight",
              width: 2,
              activeType: "hollow"
            },
            tooltip: {
              showBox: true,
              showArrow: true,
              showCategory: true,
              format: function format(item, category) {
                var val = item.data >= 10000 ? (item.data / 10000).toFixed(1) + '万' : item.data.toString();
                return category + '\n' + item.name + ': ¥' + val;
              }
            }
          }
        }
      };
    },
    computed: {
      selectedMonthText: function selectedMonthText() {
        if (!this.selectedMonth) return '请选择月份';
        var date = new Date(this.selectedMonth);
        return "".concat(date.getFullYear(), "\u5E74").concat(String(date.getMonth() + 1).padStart(2, '0'), "\u6708");
      },
      kpiListTop: function kpiListTop() {
        var d = this.statistics || {};
        return [{
          key: 'traceability',
          label: '溯源金额',
          value: d.TraceabilityAmount || 0,
          type: 'primary',
aa81040d   李宇   最新
754
755
          isMoney: true,
          clickable: true
6d9b821e   李宇   最新
756
757
758
759
760
        }, {
          key: 'cell',
          label: 'Cell金额',
          value: d.CellAmount || 0,
          type: 'success',
aa81040d   李宇   最新
761
762
          isMoney: true,
          clickable: true
6d9b821e   李宇   最新
763
764
765
766
767
        }, {
          key: 'total',
          label: '科美总收入',
          value: d.TotalKemeiIncome || 0,
          type: 'warning',
aa81040d   李宇   最新
768
769
          isMoney: true,
          clickable: true
6d9b821e   李宇   最新
770
771
772
773
774
        }, {
          key: 'managed',
          label: '管理门店数',
          value: d.ManagedStoreCount || 0,
          type: 'info',
aa81040d   李宇   最新
775
776
          isMoney: false,
          clickable: true
6d9b821e   李宇   最新
777
778
779
780
781
        }, {
          key: 'active',
          label: '活跃门店数',
          value: d.ActiveStoreCount || 0,
          type: 'danger',
aa81040d   李宇   最新
782
783
          isMoney: false,
          clickable: true
230d71ee   李宇   最新
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
        }, {
          key: 'billingAmount',
          label: '开单金额',
          value: d.BillingAmount || 0,
          type: 'primary',
          isMoney: true,
          clickable: false
        }, {
          key: 'deductAmount',
          label: '储扣金额',
          value: d.DeductAmount || 0,
          type: 'warning',
          isMoney: true,
          clickable: false
        }, {
          key: 'refundAmount',
          label: '退款金额',
          value: d.RefundAmount || 0,
          type: 'danger',
          isMoney: true,
          clickable: false
        }, {
          key: 'consumeAmount',
          label: '消耗金额',
          value: d.ConsumeAmount || 0,
          type: 'success',
          isMoney: true,
          clickable: false
        }, {
          key: 'handworkFee',
          label: '手工费',
          value: d.HandworkFee || 0,
          type: 'info',
          isMoney: true,
          clickable: false
6d9b821e   李宇   最新
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
        }];
      },
      // 对比分析数据简化
      monthOverMonthComparison: function monthOverMonthComparison() {
        if (!this.comparisonAnalysis || !this.comparisonAnalysis.TimeComparison || !this.comparisonAnalysis.TimeComparison.MonthOverMonth) {
          return {
            TraceabilityAmountChangeRate: 0,
            CellAmountChangeRate: 0,
            TotalKemeiIncomeChangeRate: 0
          };
        }
        return this.comparisonAnalysis.TimeComparison.MonthOverMonth;
      },
      yearOverYearComparison: function yearOverYearComparison() {
        if (!this.comparisonAnalysis || !this.comparisonAnalysis.TimeComparison || !this.comparisonAnalysis.TimeComparison.YearOverYear) {
          return {
            TraceabilityAmountChangeRate: 0,
            CellAmountChangeRate: 0,
            TotalKemeiIncomeChangeRate: 0
          };
        }
        return this.comparisonAnalysis.TimeComparison.YearOverYear;
      },
      shareKpiList: function shareKpiList() {
        var d = this.shareStatistics || {};
        var totalCost = (d.CostReimbursement || 0) + (d.CostTeacherBase || 0) + (d.CostTeacherManual || 0) + (d.CostTeacherBillingComm || 0) + (d.CostTeacherConsumeComm || 0) + (d.CostGMBase || 0) + (d.CostGMComm || 0);
        return [{
          key: 'income',
          label: '收入',
          value: d.Income || 0,
          type: 'primary',
          isMoney: true
        }, {
          key: 'cost',
          label: '总成本',
          value: totalCost,
          type: 'warning',
          isMoney: true
        }, {
          key: 'profit',
038fc123   李宇   最新
859
          label: '毛利',
6d9b821e   李宇   最新
860
861
862
863
864
865
866
867
868
869
870
          value: d.Profit || 0,
          type: d.Profit >= 0 ? 'success' : 'danger',
          isMoney: true
        }];
      }
    },
    onLoad: function onLoad() {
      var now = new Date();
      this.selectedMonth = "".concat(now.getFullYear(), "-").concat(String(now.getMonth() + 1).padStart(2, '0'));
      this.loadTechDepartmentOptions();
    },
038fc123   李宇   最新
871
872
873
874
    // 组件挂载时调用(作为组件使用时)
    mounted: function mounted() {
      this.init();
    },
6d9b821e   李宇   最新
875
876
877
878
879
880
881
882
883
    onPullDownRefresh: function onPullDownRefresh() {
      this.search().finally(function () {
        uni.stopPullDownRefresh();
      });
    },
    onPageScroll: function onPageScroll(e) {
      this.pageScrollTop = e.scrollTop || 0;
    },
    methods: {
038fc123   李宇   最新
884
885
886
887
888
889
      // 初始化方法(供父组件调用)
      init: function init() {
        var now = new Date();
        this.selectedMonth = "".concat(now.getFullYear(), "-").concat(String(now.getMonth() + 1).padStart(2, '0'));
        this.loadTechDepartmentOptions();
      },
6d9b821e   李宇   最新
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
      // 月份选择变化
      onMonthChange: function onMonthChange(e) {
        this.selectedMonth = e.detail.value;
        if (this.currentTechDepartmentId) {
          this.search();
        }
      },
      // 科技部选择变化
      onTechDepartmentChange: function onTechDepartmentChange(e) {
        this.techDepartmentIndex = e.detail.value;
        if (this.techDepartmentIndex >= 0 && this.techDepartmentOptions[this.techDepartmentIndex]) {
          var dept = this.techDepartmentOptions[this.techDepartmentIndex];
          this.currentTechDepartmentName = dept.fullName || dept.FullName || '';
          this.currentTechDepartmentId = dept.id || dept.Id || '';
          this.search();
        }
      },
      // 切换趋势月份数量
      switchTrendMonthCount: function switchTrendMonthCount(count) {
        this.trendMonthCount = count;
        this.loadPerformanceTrend();
      },
      // 切换股份趋势月份数量
      switchShareTrendMonthCount: function switchShareTrendMonthCount(count) {
        this.shareTrendMonthCount = count;
        this.loadShareTrend();
      },
      // 加载科技部选项
      loadTechDepartmentOptions: function loadTechDepartmentOptions() {
        var _this = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
9854a774   李宇   最新
921
          var menuData, rootNode, newuserInfo, organizeId, res, allTechDepartments, userDept;
6d9b821e   李宇   最新
922
923
924
925
926
          return _regenerator.default.wrap(function _callee$(_context) {
            while (1) {
              switch (_context.prev = _context.next) {
                case 0:
                  _context.prev = 0;
9854a774   李宇   最新
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
                  // 检查是否有科技部数据开关按钮权限
                  menuData = uni.getStorageSync('appMenuData') || [];
                  if (!(Array.isArray(menuData) && menuData.length > 0)) {
                    _context.next = 8;
                    break;
                  }
                  rootNode = menuData.find(function (item) {
                    return item.fullName == 'app科技部数据开关按钮';
                  });
                  if (!rootNode) {
                    _context.next = 8;
                    break;
                  }
                  _context.next = 7;
                  return _this.loadAllTechDepartments();
                case 7:
                  return _context.abrupt("return");
                case 8:
                  // 如果没有权限,只加载用户自己的科技部
                  newuserInfo = uni.getStorageSync('newuserInfo') || {};
                  organizeId = newuserInfo.organizeId || '';
                  if (organizeId) {
                    _context.next = 13;
                    break;
                  }
                  uni.showToast({
                    title: '未获取到用户组织信息',
                    icon: 'none'
                  });
                  return _context.abrupt("return");
                case 13:
                  _context.next = 15;
6d9b821e   李宇   最新
959
960
961
                  return _request.default.get("".concat(_config.default.getApiBaseUrl(), "/api/Extend/Organize/GetByName"), {
                    organizeName: '科技部'
                  });
9854a774   李宇   最新
962
                case 15:
6d9b821e   李宇   最新
963
964
                  res = _context.sent;
                  if (res.code === 200 && res.data) {
9854a774   李宇   最新
965
                    allTechDepartments = res.data.map(function (item) {
6d9b821e   李宇   最新
966
967
968
969
970
                      return {
                        id: item.Id || item.id,
                        FullName: item.FullName || item.fullName,
                        fullName: item.FullName || item.fullName
                      };
9854a774   李宇   最新
971
972
973
                    }); // 筛选出用户自己的科技部
                    userDept = allTechDepartments.find(function (dept) {
                      return dept.id === organizeId;
6d9b821e   李宇   最新
974
                    });
9854a774   李宇   最新
975
976
977
                    if (userDept) {
                      // 找到用户自己的科技部,只显示这一个
                      _this.techDepartmentOptions = [userDept];
aa81040d   李宇   最新
978
                      _this.techDepartmentIndex = 0;
9854a774   李宇   最新
979
980
                      _this.currentTechDepartmentName = userDept.fullName;
                      _this.currentTechDepartmentId = userDept.id;
aa81040d   李宇   最新
981
982
                      // 自动加载数据
                      _this.search();
9854a774   李宇   最新
983
984
985
986
987
988
989
                    } else {
                      // 如果找不到,提示用户
                      uni.showToast({
                        title: '未找到您的科技部信息',
                        icon: 'none'
                      });
                      _this.techDepartmentOptions = [];
aa81040d   李宇   最新
990
                    }
6d9b821e   李宇   最新
991
                  }
9854a774   李宇   最新
992
                  _context.next = 23;
6d9b821e   李宇   最新
993
                  break;
9854a774   李宇   最新
994
995
                case 19:
                  _context.prev = 19;
6d9b821e   李宇   最新
996
997
998
999
1000
1001
                  _context.t0 = _context["catch"](0);
                  console.error('加载科技部列表失败:', _context.t0);
                  uni.showToast({
                    title: '加载科技部列表失败',
                    icon: 'none'
                  });
9854a774   李宇   最新
1002
                case 23:
6d9b821e   李宇   最新
1003
1004
1005
1006
                case "end":
                  return _context.stop();
              }
            }
9854a774   李宇   最新
1007
          }, _callee, null, [[0, 19]]);
6d9b821e   李宇   最新
1008
1009
        }))();
      },
9854a774   李宇   最新
1010
1011
      // 加载所有科技部
      loadAllTechDepartments: function loadAllTechDepartments() {
6d9b821e   李宇   最新
1012
1013
        var _this2 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
9854a774   李宇   最新
1014
          var res, newuserInfo, organizeId, userDeptIndex, firstDept;
6d9b821e   李宇   最新
1015
1016
1017
1018
          return _regenerator.default.wrap(function _callee2$(_context2) {
            while (1) {
              switch (_context2.prev = _context2.next) {
                case 0:
9854a774   李宇   最新
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
                  _context2.prev = 0;
                  _context2.next = 3;
                  return _request.default.get("".concat(_config.default.getApiBaseUrl(), "/api/Extend/Organize/GetByName"), {
                    organizeName: '科技部'
                  });
                case 3:
                  res = _context2.sent;
                  if (res.code === 200 && res.data) {
                    _this2.techDepartmentOptions = res.data.map(function (item) {
                      return {
                        id: item.Id || item.id,
                        FullName: item.FullName || item.fullName,
                        fullName: item.FullName || item.fullName
                      };
                    });
                    // 获取当前登录用户信息,尝试匹配默认选中
                    newuserInfo = uni.getStorageSync('newuserInfo') || {};
                    organizeId = newuserInfo.organizeId || '';
                    if (organizeId && _this2.techDepartmentOptions.length > 0) {
                      // 尝试找到用户自己的科技部
                      userDeptIndex = _this2.techDepartmentOptions.findIndex(function (dept) {
                        return dept.id === organizeId;
                      });
                      if (userDeptIndex >= 0) {
                        // 找到用户自己的科技部,默认选中
                        _this2.techDepartmentIndex = userDeptIndex;
                        _this2.currentTechDepartmentName = _this2.techDepartmentOptions[userDeptIndex].fullName;
                        _this2.currentTechDepartmentId = _this2.techDepartmentOptions[userDeptIndex].id;
                      } else {
                        // 没找到,默认选择第一个
                        _this2.techDepartmentIndex = 0;
                        _this2.currentTechDepartmentName = _this2.techDepartmentOptions[0].fullName;
                        _this2.currentTechDepartmentId = _this2.techDepartmentOptions[0].id;
                      }
                      // 自动加载数据
                      _this2.search();
                    } else if (_this2.techDepartmentOptions.length > 0 && !_this2.currentTechDepartmentId) {
                      // 如果没有用户信息,默认选择第一个科技部
                      firstDept = _this2.techDepartmentOptions[0];
                      _this2.techDepartmentIndex = 0;
                      _this2.currentTechDepartmentName = firstDept.fullName || firstDept.FullName || '';
                      _this2.currentTechDepartmentId = firstDept.id || firstDept.Id || '';
                      // 自动加载数据
                      _this2.search();
                    }
                  }
                  _context2.next = 11;
                  break;
                case 7:
                  _context2.prev = 7;
                  _context2.t0 = _context2["catch"](0);
                  console.error('加载所有科技部失败:', _context2.t0);
                  uni.showToast({
                    title: '加载科技部列表失败',
                    icon: 'none'
                  });
                case 11:
                case "end":
                  return _context2.stop();
              }
            }
          }, _callee2, null, [[0, 7]]);
        }))();
      },
      // 主搜索方法
      search: function search() {
        var _this3 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
          var statisticsMonth, params;
          return _regenerator.default.wrap(function _callee3$(_context3) {
            while (1) {
              switch (_context3.prev = _context3.next) {
                case 0:
                  if (_this3.selectedMonth) {
                    _context3.next = 3;
6d9b821e   李宇   最新
1094
1095
1096
1097
1098
1099
                    break;
                  }
                  uni.showToast({
                    title: '请选择月份',
                    icon: 'none'
                  });
9854a774   李宇   最新
1100
                  return _context3.abrupt("return");
6d9b821e   李宇   最新
1101
                case 3:
9854a774   李宇   最新
1102
1103
                  if (_this3.currentTechDepartmentId) {
                    _context3.next = 6;
6d9b821e   李宇   最新
1104
1105
1106
1107
1108
1109
                    break;
                  }
                  uni.showToast({
                    title: '请选择科技部',
                    icon: 'none'
                  });
9854a774   李宇   最新
1110
                  return _context3.abrupt("return");
6d9b821e   李宇   最新
1111
                case 6:
9854a774   李宇   最新
1112
1113
1114
                  _context3.prev = 6;
                  _this3.loading = true;
                  statisticsMonth = _this3.selectedMonth.replace('-', '');
6d9b821e   李宇   最新
1115
1116
                  params = {
                    statisticsMonth: statisticsMonth,
9854a774   李宇   最新
1117
                    techDepartmentId: _this3.currentTechDepartmentId,
6d9b821e   李宇   最新
1118
1119
                    storeIds: []
                  };
9854a774   李宇   最新
1120
1121
                  _context3.next = 12;
                  return Promise.all([_this3.loadStatistics(params), _this3.loadShareStatistics(params), _this3.loadPerformanceTrend(), _this3.loadShareTrend(), _this3.loadStoreRanking(params), _this3.loadStoreDistribution(params), _this3.loadTeacherRanking(params), _this3.loadOperationStatistics(params), _this3.loadComparisonAnalysis(params), _this3.loadStoreDetailList(params), _this3.loadTeacherDetailList(params), _this3.loadBillingDetailList(params), _this3.loadConsumeDetailList(params)]);
6d9b821e   李宇   最新
1122
                case 12:
9854a774   李宇   最新
1123
                  _context3.next = 18;
6d9b821e   李宇   最新
1124
1125
                  break;
                case 14:
9854a774   李宇   最新
1126
1127
1128
                  _context3.prev = 14;
                  _context3.t0 = _context3["catch"](6);
                  console.error('加载数据失败:', _context3.t0);
6d9b821e   李宇   最新
1129
1130
1131
1132
1133
                  uni.showToast({
                    title: '网络错误,请重试',
                    icon: 'none'
                  });
                case 18:
9854a774   李宇   最新
1134
1135
1136
                  _context3.prev = 18;
                  _this3.loading = false;
                  return _context3.finish(18);
6d9b821e   李宇   最新
1137
1138
                case 21:
                case "end":
9854a774   李宇   最新
1139
                  return _context3.stop();
6d9b821e   李宇   最新
1140
1141
              }
            }
9854a774   李宇   最新
1142
          }, _callee3, null, [[6, 14, 18, 21]]);
6d9b821e   李宇   最新
1143
1144
1145
1146
        }))();
      },
      // 加载统计数据
      loadStatistics: function loadStatistics(params) {
6d9b821e   李宇   最新
1147
1148
1149
1150
1151
1152
1153
1154
1155
        var _this4 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
          var res;
          return _regenerator.default.wrap(function _callee4$(_context4) {
            while (1) {
              switch (_context4.prev = _context4.next) {
                case 0:
                  _context4.prev = 0;
                  _context4.next = 3;
9854a774   李宇   最新
1156
                  return _techDepartmentDashboard.default.getStatistics(params);
6d9b821e   李宇   最新
1157
1158
1159
                case 3:
                  res = _context4.sent;
                  if (res.code === 200) {
9854a774   李宇   最新
1160
                    _this4.statistics = res.data || null;
6d9b821e   李宇   最新
1161
1162
1163
1164
1165
1166
                  }
                  _context4.next = 10;
                  break;
                case 7:
                  _context4.prev = 7;
                  _context4.t0 = _context4["catch"](0);
9854a774   李宇   最新
1167
                  console.error('加载统计数据失败:', _context4.t0);
6d9b821e   李宇   最新
1168
1169
1170
1171
1172
1173
1174
1175
                case 10:
                case "end":
                  return _context4.stop();
              }
            }
          }, _callee4, null, [[0, 7]]);
        }))();
      },
9854a774   李宇   最新
1176
1177
      // 加载股份统计数据
      loadShareStatistics: function loadShareStatistics(params) {
6d9b821e   李宇   最新
1178
1179
        var _this5 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
9854a774   李宇   最新
1180
          var res;
6d9b821e   李宇   最新
1181
1182
1183
1184
          return _regenerator.default.wrap(function _callee5$(_context5) {
            while (1) {
              switch (_context5.prev = _context5.next) {
                case 0:
9854a774   李宇   最新
1185
1186
1187
1188
                  _context5.prev = 0;
                  _context5.next = 3;
                  return _techDepartmentDashboard.default.getShareStatistics(params);
                case 3:
6d9b821e   李宇   最新
1189
1190
                  res = _context5.sent;
                  if (res.code === 200) {
9854a774   李宇   最新
1191
                    _this5.shareStatistics = res.data || null;
6d9b821e   李宇   最新
1192
                  }
9854a774   李宇   最新
1193
                  _context5.next = 10;
6d9b821e   李宇   最新
1194
                  break;
9854a774   李宇   最新
1195
1196
1197
1198
                case 7:
                  _context5.prev = 7;
                  _context5.t0 = _context5["catch"](0);
                  console.error('加载股份统计数据失败:', _context5.t0);
6d9b821e   李宇   最新
1199
                case 10:
6d9b821e   李宇   最新
1200
1201
1202
1203
                case "end":
                  return _context5.stop();
              }
            }
9854a774   李宇   最新
1204
          }, _callee5, null, [[0, 7]]);
6d9b821e   李宇   最新
1205
1206
        }))();
      },
9854a774   李宇   最新
1207
1208
      // 加载业绩趋势
      loadPerformanceTrend: function loadPerformanceTrend() {
6d9b821e   李宇   最新
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
        var _this6 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {
          var statisticsMonth, res;
          return _regenerator.default.wrap(function _callee6$(_context6) {
            while (1) {
              switch (_context6.prev = _context6.next) {
                case 0:
                  if (!(!_this6.selectedMonth || !_this6.currentTechDepartmentId)) {
                    _context6.next = 2;
                    break;
                  }
                  return _context6.abrupt("return");
                case 2:
                  _context6.prev = 2;
                  statisticsMonth = _this6.selectedMonth.replace('-', '');
                  _context6.next = 6;
9854a774   李宇   最新
1225
                  return _techDepartmentDashboard.default.getPerformanceTrend({
6d9b821e   李宇   最新
1226
1227
1228
                    statisticsMonth: statisticsMonth,
                    techDepartmentId: _this6.currentTechDepartmentId,
                    storeIds: [],
9854a774   李宇   最新
1229
                    monthCount: _this6.trendMonthCount
6d9b821e   李宇   最新
1230
1231
1232
1233
                  });
                case 6:
                  res = _context6.sent;
                  if (res.code === 200) {
9854a774   李宇   最新
1234
                    _this6.performanceTrend = res.data || {
6d9b821e   李宇   最新
1235
1236
1237
                      TrendData: []
                    };
                    _this6.$nextTick(function () {
9854a774   李宇   最新
1238
                      _this6.drawPerformanceTrendChart();
6d9b821e   李宇   最新
1239
1240
1241
1242
1243
1244
1245
                    });
                  }
                  _context6.next = 13;
                  break;
                case 10:
                  _context6.prev = 10;
                  _context6.t0 = _context6["catch"](2);
9854a774   李宇   最新
1246
                  console.error('加载业绩趋势失败:', _context6.t0);
6d9b821e   李宇   最新
1247
1248
1249
1250
1251
1252
1253
1254
                case 13:
                case "end":
                  return _context6.stop();
              }
            }
          }, _callee6, null, [[2, 10]]);
        }))();
      },
9854a774   李宇   最新
1255
1256
      // 加载股份趋势
      loadShareTrend: function loadShareTrend() {
6d9b821e   李宇   最新
1257
1258
        var _this7 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
9854a774   李宇   最新
1259
          var statisticsMonth, res;
6d9b821e   李宇   最新
1260
1261
1262
1263
          return _regenerator.default.wrap(function _callee7$(_context7) {
            while (1) {
              switch (_context7.prev = _context7.next) {
                case 0:
9854a774   李宇   最新
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
                  if (!(!_this7.selectedMonth || !_this7.currentTechDepartmentId)) {
                    _context7.next = 2;
                    break;
                  }
                  return _context7.abrupt("return");
                case 2:
                  _context7.prev = 2;
                  statisticsMonth = _this7.selectedMonth.replace('-', '');
                  _context7.next = 6;
                  return _techDepartmentDashboard.default.getShareTrend({
                    statisticsMonth: statisticsMonth,
                    techDepartmentId: _this7.currentTechDepartmentId,
                    storeIds: [],
                    monthCount: _this7.shareTrendMonthCount
                  });
                case 6:
6d9b821e   李宇   最新
1280
1281
                  res = _context7.sent;
                  if (res.code === 200) {
9854a774   李宇   最新
1282
1283
1284
1285
1286
1287
                    _this7.shareTrend = res.data || {
                      TrendData: []
                    };
                    _this7.$nextTick(function () {
                      _this7.drawShareTrendChart();
                    });
6d9b821e   李宇   最新
1288
                  }
9854a774   李宇   最新
1289
                  _context7.next = 13;
6d9b821e   李宇   最新
1290
                  break;
6d9b821e   李宇   最新
1291
                case 10:
9854a774   李宇   最新
1292
1293
1294
1295
                  _context7.prev = 10;
                  _context7.t0 = _context7["catch"](2);
                  console.error('加载股份趋势失败:', _context7.t0);
                case 13:
6d9b821e   李宇   最新
1296
1297
1298
1299
                case "end":
                  return _context7.stop();
              }
            }
9854a774   李宇   最新
1300
          }, _callee7, null, [[2, 10]]);
6d9b821e   李宇   最新
1301
1302
        }))();
      },
9854a774   李宇   最新
1303
1304
      // 加载门店排行
      loadStoreRanking: function loadStoreRanking(params) {
6d9b821e   李宇   最新
1305
1306
1307
1308
1309
1310
1311
1312
1313
        var _this8 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() {
          var res;
          return _regenerator.default.wrap(function _callee8$(_context8) {
            while (1) {
              switch (_context8.prev = _context8.next) {
                case 0:
                  _context8.prev = 0;
                  _context8.next = 3;
9854a774   李宇   最新
1314
                  return _techDepartmentDashboard.default.getStoreRanking(params);
6d9b821e   李宇   最新
1315
1316
1317
                case 3:
                  res = _context8.sent;
                  if (res.code === 200) {
9854a774   李宇   最新
1318
                    _this8.storeRanking = res.data && res.data.RankingData || [];
6d9b821e   李宇   最新
1319
1320
1321
1322
1323
1324
                  }
                  _context8.next = 10;
                  break;
                case 7:
                  _context8.prev = 7;
                  _context8.t0 = _context8["catch"](0);
9854a774   李宇   最新
1325
                  console.error('加载门店排行失败:', _context8.t0);
6d9b821e   李宇   最新
1326
1327
1328
1329
1330
1331
1332
1333
                case 10:
                case "end":
                  return _context8.stop();
              }
            }
          }, _callee8, null, [[0, 7]]);
        }))();
      },
9854a774   李宇   最新
1334
1335
      // 加载门店分布
      loadStoreDistribution: function loadStoreDistribution(params) {
6d9b821e   李宇   最新
1336
1337
1338
1339
1340
1341
1342
1343
1344
        var _this9 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() {
          var res;
          return _regenerator.default.wrap(function _callee9$(_context9) {
            while (1) {
              switch (_context9.prev = _context9.next) {
                case 0:
                  _context9.prev = 0;
                  _context9.next = 3;
9854a774   李宇   最新
1345
                  return _techDepartmentDashboard.default.getStoreDistribution(params);
6d9b821e   李宇   最新
1346
1347
1348
                case 3:
                  res = _context9.sent;
                  if (res.code === 200) {
9854a774   李宇   最新
1349
1350
1351
1352
1353
1354
                    _this9.storeDistribution = res.data || {
                      DistributionData: []
                    };
                    _this9.$nextTick(function () {
                      _this9.drawStoreDistributionChart();
                    });
6d9b821e   李宇   最新
1355
1356
1357
1358
1359
1360
                  }
                  _context9.next = 10;
                  break;
                case 7:
                  _context9.prev = 7;
                  _context9.t0 = _context9["catch"](0);
9854a774   李宇   最新
1361
                  console.error('加载门店分布失败:', _context9.t0);
6d9b821e   李宇   最新
1362
1363
1364
1365
1366
1367
1368
1369
                case 10:
                case "end":
                  return _context9.stop();
              }
            }
          }, _callee9, null, [[0, 7]]);
        }))();
      },
9854a774   李宇   最新
1370
1371
      // 加载老师排行
      loadTeacherRanking: function loadTeacherRanking(params) {
6d9b821e   李宇   最新
1372
1373
1374
1375
1376
1377
1378
1379
1380
        var _this10 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10() {
          var res;
          return _regenerator.default.wrap(function _callee10$(_context10) {
            while (1) {
              switch (_context10.prev = _context10.next) {
                case 0:
                  _context10.prev = 0;
                  _context10.next = 3;
9854a774   李宇   最新
1381
                  return _techDepartmentDashboard.default.getTeacherRanking(params);
6d9b821e   李宇   最新
1382
1383
1384
                case 3:
                  res = _context10.sent;
                  if (res.code === 200) {
9854a774   李宇   最新
1385
                    _this10.teacherRanking = res.data && res.data.RankingData || [];
6d9b821e   李宇   最新
1386
1387
1388
1389
1390
1391
                  }
                  _context10.next = 10;
                  break;
                case 7:
                  _context10.prev = 7;
                  _context10.t0 = _context10["catch"](0);
9854a774   李宇   最新
1392
                  console.error('加载老师排行失败:', _context10.t0);
6d9b821e   李宇   最新
1393
1394
1395
1396
1397
1398
1399
1400
                case 10:
                case "end":
                  return _context10.stop();
              }
            }
          }, _callee10, null, [[0, 7]]);
        }))();
      },
9854a774   李宇   最新
1401
1402
      // 加载运营统计
      loadOperationStatistics: function loadOperationStatistics(params) {
6d9b821e   李宇   最新
1403
1404
1405
1406
1407
1408
1409
1410
1411
        var _this11 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11() {
          var res;
          return _regenerator.default.wrap(function _callee11$(_context11) {
            while (1) {
              switch (_context11.prev = _context11.next) {
                case 0:
                  _context11.prev = 0;
                  _context11.next = 3;
9854a774   李宇   最新
1412
                  return _techDepartmentDashboard.default.getOperationStatistics(params);
6d9b821e   李宇   最新
1413
1414
1415
                case 3:
                  res = _context11.sent;
                  if (res.code === 200) {
9854a774   李宇   最新
1416
                    _this11.operationStatistics = res.data || null;
6d9b821e   李宇   最新
1417
1418
1419
1420
1421
1422
                  }
                  _context11.next = 10;
                  break;
                case 7:
                  _context11.prev = 7;
                  _context11.t0 = _context11["catch"](0);
9854a774   李宇   最新
1423
                  console.error('加载运营统计失败:', _context11.t0);
6d9b821e   李宇   最新
1424
1425
1426
1427
1428
1429
1430
1431
                case 10:
                case "end":
                  return _context11.stop();
              }
            }
          }, _callee11, null, [[0, 7]]);
        }))();
      },
9854a774   李宇   最新
1432
1433
      // 加载对比分析
      loadComparisonAnalysis: function loadComparisonAnalysis(params) {
aa81040d   李宇   最新
1434
1435
1436
1437
1438
1439
1440
        var _this12 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12() {
          var res;
          return _regenerator.default.wrap(function _callee12$(_context12) {
            while (1) {
              switch (_context12.prev = _context12.next) {
                case 0:
9854a774   李宇   最新
1441
1442
1443
1444
                  _context12.prev = 0;
                  _context12.next = 3;
                  return _techDepartmentDashboard.default.getComparisonAnalysis(params);
                case 3:
aa81040d   李宇   最新
1445
                  res = _context12.sent;
9854a774   李宇   最新
1446
1447
                  if (res.code === 200) {
                    _this12.comparisonAnalysis = res.data || null;
aa81040d   李宇   最新
1448
                  }
9854a774   李宇   最新
1449
                  _context12.next = 10;
aa81040d   李宇   最新
1450
                  break;
9854a774   李宇   最新
1451
1452
1453
1454
1455
                case 7:
                  _context12.prev = 7;
                  _context12.t0 = _context12["catch"](0);
                  console.error('加载对比分析失败:', _context12.t0);
                case 10:
aa81040d   李宇   最新
1456
1457
1458
1459
                case "end":
                  return _context12.stop();
              }
            }
9854a774   李宇   最新
1460
          }, _callee12, null, [[0, 7]]);
aa81040d   李宇   最新
1461
1462
        }))();
      },
9854a774   李宇   最新
1463
1464
      // 加载门店明细列表
      loadStoreDetailList: function loadStoreDetailList(params) {
aa81040d   李宇   最新
1465
1466
1467
1468
1469
1470
1471
        var _this13 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee13() {
          var res;
          return _regenerator.default.wrap(function _callee13$(_context13) {
            while (1) {
              switch (_context13.prev = _context13.next) {
                case 0:
9854a774   李宇   最新
1472
                  _this13.storeDetailList.loading = true;
aa81040d   李宇   最新
1473
1474
                  _context13.prev = 1;
                  _context13.next = 4;
9854a774   李宇   最新
1475
1476
1477
                  return _techDepartmentDashboard.default.getStoreDetailList(_objectSpread(_objectSpread({}, params), {}, {
                    currentPage: _this13.storeDetailList.pagination.currentPage,
                    pageSize: _this13.storeDetailList.pagination.pageSize
aa81040d   李宇   最新
1478
1479
1480
1481
                  }));
                case 4:
                  res = _context13.sent;
                  if (res.code === 200 && res.data) {
9854a774   李宇   最新
1482
1483
                    _this13.storeDetailList.data = res.data.list || [];
                    _this13.storeDetailList.pagination.total = res.data.pagination && res.data.pagination.total || 0;
aa81040d   李宇   最新
1484
1485
1486
1487
1488
1489
                  }
                  _context13.next = 11;
                  break;
                case 8:
                  _context13.prev = 8;
                  _context13.t0 = _context13["catch"](1);
9854a774   李宇   最新
1490
                  console.error('加载门店明细列表失败:', _context13.t0);
aa81040d   李宇   最新
1491
1492
                case 11:
                  _context13.prev = 11;
9854a774   李宇   最新
1493
                  _this13.storeDetailList.loading = false;
aa81040d   李宇   最新
1494
1495
1496
1497
1498
1499
1500
1501
1502
                  return _context13.finish(11);
                case 14:
                case "end":
                  return _context13.stop();
              }
            }
          }, _callee13, null, [[1, 8, 11, 14]]);
        }))();
      },
9854a774   李宇   最新
1503
1504
      // 加载老师明细列表
      loadTeacherDetailList: function loadTeacherDetailList(params) {
aa81040d   李宇   最新
1505
1506
1507
1508
1509
1510
1511
        var _this14 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14() {
          var res;
          return _regenerator.default.wrap(function _callee14$(_context14) {
            while (1) {
              switch (_context14.prev = _context14.next) {
                case 0:
9854a774   李宇   最新
1512
                  _this14.teacherDetailList.loading = true;
aa81040d   李宇   最新
1513
1514
                  _context14.prev = 1;
                  _context14.next = 4;
9854a774   李宇   最新
1515
1516
1517
                  return _techDepartmentDashboard.default.getTeacherDetailList(_objectSpread(_objectSpread({}, params), {}, {
                    currentPage: _this14.teacherDetailList.pagination.currentPage,
                    pageSize: _this14.teacherDetailList.pagination.pageSize
aa81040d   李宇   最新
1518
1519
1520
1521
                  }));
                case 4:
                  res = _context14.sent;
                  if (res.code === 200 && res.data) {
9854a774   李宇   最新
1522
1523
                    _this14.teacherDetailList.data = res.data.list || [];
                    _this14.teacherDetailList.pagination.total = res.data.pagination && res.data.pagination.total || 0;
aa81040d   李宇   最新
1524
1525
1526
1527
1528
1529
                  }
                  _context14.next = 11;
                  break;
                case 8:
                  _context14.prev = 8;
                  _context14.t0 = _context14["catch"](1);
9854a774   李宇   最新
1530
                  console.error('加载老师明细列表失败:', _context14.t0);
aa81040d   李宇   最新
1531
1532
                case 11:
                  _context14.prev = 11;
9854a774   李宇   最新
1533
                  _this14.teacherDetailList.loading = false;
aa81040d   李宇   最新
1534
1535
1536
1537
1538
1539
1540
1541
1542
                  return _context14.finish(11);
                case 14:
                case "end":
                  return _context14.stop();
              }
            }
          }, _callee14, null, [[1, 8, 11, 14]]);
        }))();
      },
9854a774   李宇   最新
1543
1544
      // 加载开单明细列表
      loadBillingDetailList: function loadBillingDetailList(params) {
aa81040d   李宇   最新
1545
1546
1547
1548
1549
1550
1551
        var _this15 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15() {
          var res;
          return _regenerator.default.wrap(function _callee15$(_context15) {
            while (1) {
              switch (_context15.prev = _context15.next) {
                case 0:
9854a774   李宇   最新
1552
                  _this15.billingDetailList.loading = true;
aa81040d   李宇   最新
1553
1554
                  _context15.prev = 1;
                  _context15.next = 4;
9854a774   李宇   最新
1555
1556
1557
                  return _techDepartmentDashboard.default.getBillingDetailList(_objectSpread(_objectSpread({}, params), {}, {
                    currentPage: _this15.billingDetailList.pagination.currentPage,
                    pageSize: _this15.billingDetailList.pagination.pageSize
aa81040d   李宇   最新
1558
1559
1560
1561
                  }));
                case 4:
                  res = _context15.sent;
                  if (res.code === 200 && res.data) {
9854a774   李宇   最新
1562
1563
                    _this15.billingDetailList.data = res.data.list || [];
                    _this15.billingDetailList.pagination.total = res.data.pagination && res.data.pagination.total || 0;
aa81040d   李宇   最新
1564
1565
1566
1567
1568
1569
                  }
                  _context15.next = 11;
                  break;
                case 8:
                  _context15.prev = 8;
                  _context15.t0 = _context15["catch"](1);
9854a774   李宇   最新
1570
                  console.error('加载开单明细列表失败:', _context15.t0);
aa81040d   李宇   最新
1571
1572
                case 11:
                  _context15.prev = 11;
9854a774   李宇   最新
1573
                  _this15.billingDetailList.loading = false;
aa81040d   李宇   最新
1574
1575
1576
1577
1578
1579
1580
1581
1582
                  return _context15.finish(11);
                case 14:
                case "end":
                  return _context15.stop();
              }
            }
          }, _callee15, null, [[1, 8, 11, 14]]);
        }))();
      },
9854a774   李宇   最新
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
      // 加载消耗明细列表
      loadConsumeDetailList: function loadConsumeDetailList(params) {
        var _this16 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee16() {
          var res;
          return _regenerator.default.wrap(function _callee16$(_context16) {
            while (1) {
              switch (_context16.prev = _context16.next) {
                case 0:
                  _this16.consumeDetailList.loading = true;
                  _context16.prev = 1;
                  _context16.next = 4;
                  return _techDepartmentDashboard.default.getConsumeDetailList(_objectSpread(_objectSpread({}, params), {}, {
                    currentPage: _this16.consumeDetailList.pagination.currentPage,
                    pageSize: _this16.consumeDetailList.pagination.pageSize
                  }));
                case 4:
                  res = _context16.sent;
                  if (res.code === 200 && res.data) {
                    _this16.consumeDetailList.data = res.data.list || [];
                    _this16.consumeDetailList.pagination.total = res.data.pagination && res.data.pagination.total || 0;
                  }
                  _context16.next = 11;
                  break;
                case 8:
                  _context16.prev = 8;
                  _context16.t0 = _context16["catch"](1);
                  console.error('加载消耗明细列表失败:', _context16.t0);
                case 11:
                  _context16.prev = 11;
                  _this16.consumeDetailList.loading = false;
                  return _context16.finish(11);
                case 14:
                case "end":
                  return _context16.stop();
              }
            }
          }, _callee16, null, [[1, 8, 11, 14]]);
        }))();
      },
aa81040d   李宇   最新
1623
1624
      // KPI点击滚动到对应明细列表
      handleKpiClick: function handleKpiClick(kpi) {
9854a774   李宇   最新
1625
        var _this17 = this;
aa81040d   李宇   最新
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
        if (!kpi.clickable) return;
        var targetId = '';
        switch (kpi.key) {
          case 'traceability':
          case 'cell':
          case 'total':
            targetId = 'billing-detail-list';
            break;
          case 'managed':
          case 'active':
            targetId = 'store-detail-list';
            break;
          default:
            return;
        }
        if (targetId) {
          this.$nextTick(function () {
9854a774   李宇   最新
1643
            uni.createSelectorQuery().in(_this17).select('#' + targetId).boundingClientRect(function (data) {
aa81040d   李宇   最新
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
              if (data) {
                uni.pageScrollTo({
                  scrollTop: data.top - 100,
                  duration: 300
                });
              }
            }).exec();
          });
        }
      },
      // 门店明细列表分页变化
      handleStoreDetailPageChange: function handleStoreDetailPageChange(page) {
        this.storeDetailList.pagination.currentPage = page;
        var statisticsMonth = this.selectedMonth.replace('-', '');
        var params = {
          statisticsMonth: statisticsMonth,
          techDepartmentId: this.currentTechDepartmentId,
          storeIds: []
        };
        this.loadStoreDetailList(params);
      },
      // 老师明细列表分页变化
      handleTeacherDetailPageChange: function handleTeacherDetailPageChange(page) {
        this.teacherDetailList.pagination.currentPage = page;
        var statisticsMonth = this.selectedMonth.replace('-', '');
        var params = {
          statisticsMonth: statisticsMonth,
          techDepartmentId: this.currentTechDepartmentId,
          storeIds: []
        };
        this.loadTeacherDetailList(params);
      },
      // 开单明细列表分页变化
      handleBillingDetailPageChange: function handleBillingDetailPageChange(page) {
        this.billingDetailList.pagination.currentPage = page;
        var statisticsMonth = this.selectedMonth.replace('-', '');
        var params = {
          statisticsMonth: statisticsMonth,
          techDepartmentId: this.currentTechDepartmentId,
          storeIds: []
        };
        this.loadBillingDetailList(params);
      },
      // 消耗明细列表分页变化
      handleConsumeDetailPageChange: function handleConsumeDetailPageChange(page) {
        this.consumeDetailList.pagination.currentPage = page;
        var statisticsMonth = this.selectedMonth.replace('-', '');
        var params = {
          statisticsMonth: statisticsMonth,
          techDepartmentId: this.currentTechDepartmentId,
          storeIds: []
        };
        this.loadConsumeDetailList(params);
      },
6d9b821e   李宇   最新
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
      // 绘制业绩趋势图表
      drawPerformanceTrendChart: function drawPerformanceTrendChart() {
        if (!this.performanceTrend.TrendData || this.performanceTrend.TrendData.length === 0) {
          this.performanceTrendChartData = {};
          return;
        }
        var dates = this.performanceTrend.TrendData.map(function (item) {
          var month = item.Month;
          if (month && month.length === 6) {
            return month.substring(0, 4) + '-' + month.substring(4, 6);
          }
          return month;
        });
        var series = [{
          name: '溯源金额',
          data: this.performanceTrend.TrendData.map(function (item) {
            return parseFloat((item.TraceabilityAmount || 0).toFixed(2));
          })
        }, {
          name: 'Cell金额',
          data: this.performanceTrend.TrendData.map(function (item) {
            return parseFloat((item.CellAmount || 0).toFixed(2));
          })
        }, {
          name: '科美总收入',
          data: this.performanceTrend.TrendData.map(function (item) {
            return parseFloat((item.TotalKemeiIncome || 0).toFixed(2));
          })
        }];
        this.performanceTrendChartData = {
          categories: dates,
          series: series
        };
      },
      // 绘制门店分布图表
      drawStoreDistributionChart: function drawStoreDistributionChart() {
        if (!this.storeDistribution.DistributionData || this.storeDistribution.DistributionData.length === 0) {
          this.storeDistributionChartData = {};
          return;
        }
        var colors = ['#F56C6C', '#67C23A', '#409EFF', '#E6A23C', '#909399'];
        var data = this.storeDistribution.DistributionData.map(function (item, index) {
          return {
            name: item.StoreName || '未知门店',
            value: item.TotalKemeiIncome || 0,
            color: colors[index % colors.length]
          };
        });
        this.storeDistributionChartData = {
          series: [{
            data: data
          }]
        };
      },
      // 绘制股份趋势图表
      drawShareTrendChart: function drawShareTrendChart() {
        if (!this.shareTrend.TrendData || this.shareTrend.TrendData.length === 0) {
          this.shareTrendChartData = {};
          return;
        }
        var dates = this.shareTrend.TrendData.map(function (item) {
          var month = item.Month;
          if (month && month.length === 6) {
            return month.substring(0, 4) + '-' + month.substring(4, 6);
          }
          return month;
        });
        var series = [{
          name: '收入',
          data: this.shareTrend.TrendData.map(function (item) {
            return parseFloat((item.Income || 0).toFixed(2));
          })
        }, {
          name: '总成本',
          data: this.shareTrend.TrendData.map(function (item) {
            var totalCost = (item.CostReimbursement || 0) + (item.CostTeacherBase || 0) + (item.CostTeacherManual || 0) + (item.CostTeacherBillingComm || 0) + (item.CostTeacherConsumeComm || 0) + (item.CostGMBase || 0) + (item.CostGMComm || 0);
            return parseFloat(totalCost.toFixed(2));
          })
        }, {
          name: '利润',
          data: this.shareTrend.TrendData.map(function (item) {
            return parseFloat((item.Profit || 0).toFixed(2));
          })
        }];
        this.shareTrendChartData = {
          categories: dates,
          series: series
        };
      },
      // 获取KPI图标名称
      getKpiIconName: function getKpiIconName(key) {
        var iconMap = {
          traceability: 'grid',
          cell: 'star',
          total: 'trophy',
          managed: 'home',
230d71ee   李宇   最新
1794
1795
1796
1797
1798
1799
          active: 'checkmark-circle',
          billingAmount: 'red-packet',
          deductAmount: 'list',
          refundAmount: 'close-circle',
          consumeAmount: 'checkmark-circle',
          handworkFee: 'star'
6d9b821e   李宇   最新
1800
1801
1802
1803
1804
1805
        };
        return iconMap[key] || 'chart';
      },
      // 获取股份KPI图标名称
      getShareKpiIconName: function getShareKpiIconName(key) {
        var iconMap = {
aa81040d   李宇   最新
1806
          income: 'red-packet',
6d9b821e   李宇   最新
1807
          cost: 'list',
aa81040d   李宇   最新
1808
          profit: 'star'
6d9b821e   李宇   最新
1809
1810
1811
1812
1813
1814
1815
1816
        };
        return iconMap[key] || 'chart';
      },
      // 获取分布颜色
      getDistributionColor: function getDistributionColor(index) {
        var colors = ['#F56C6C', '#67C23A', '#409EFF', '#E6A23C', '#909399'];
        return colors[index % colors.length];
      },
6d9b821e   李宇   最新
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
      // 格式化数字
      formatNumber: function formatNumber(num) {
        if (num === null || num === undefined) return '0';
        if (typeof num === 'string') num = parseFloat(num);
        if (isNaN(num)) return '0';
        if (num >= 10000) {
          return (num / 10000).toFixed(2) + '万';
        }
        return num.toLocaleString();
      },
      // 格式化金额
      formatMoney: function formatMoney(amount) {
        if (amount === null || amount === undefined) return '0.00';
        if (typeof amount === 'string') amount = parseFloat(amount);
        if (isNaN(amount)) return '0.00';
        if (amount >= 10000) {
          return (amount / 10000).toFixed(2) + '万';
        }
        return amount.toFixed(2);
      },
      // 格式化百分比
      formatPercent: function formatPercent(percent) {
aa81040d   李宇   最新
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
        if (percent === null || percent === undefined || isNaN(percent)) {
          return '0.00';
        }
        if (typeof percent === 'string') {
          percent = parseFloat(percent);
        }
        if (isNaN(percent)) {
          return '0.00';
        }
        return (Math.round(percent * 100) / 100).toFixed(2);
      },
      // 格式化日期
      formatDate: function formatDate(dateValue) {
        if (!dateValue) return '无';
        // 如果是时间戳(数字或字符串数字)
        var timestamp = null;
        if (typeof dateValue === 'number') {
          timestamp = dateValue;
        } else if (typeof dateValue === 'string') {
          // 尝试解析为数字
          var num = parseFloat(dateValue);
          if (!isNaN(num) && num > 1000000000000) {
            // 看起来是时间戳(毫秒)
            timestamp = num;
          } else if (dateValue.length === 8) {
            // YYYYMMDD格式
            return dateValue.substring(0, 4) + '-' + dateValue.substring(4, 6) + '-' + dateValue.substring(6, 8);
          } else if (dateValue.includes('-')) {
            // 已经是日期格式
            return dateValue;
          }
        }
        if (timestamp) {
          var date = new Date(timestamp);
          if (isNaN(date.getTime())) return dateValue;
          var year = date.getFullYear();
          var month = String(date.getMonth() + 1).padStart(2, '0');
          var day = String(date.getDate()).padStart(2, '0');
          var hours = String(date.getHours()).padStart(2, '0');
          var minutes = String(date.getMinutes()).padStart(2, '0');
          return "".concat(year, "-").concat(month, "-").concat(day, " ").concat(hours, ":").concat(minutes);
        }
        return dateValue;
038fc123   李宇   最新
1882
1883
1884
      },
      // 保存截图
      saveScreenshot: function saveScreenshot() {
9854a774   李宇   最新
1885
1886
1887
        var _this18 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee17() {
          return _regenerator.default.wrap(function _callee17$(_context17) {
038fc123   李宇   最新
1888
            while (1) {
9854a774   李宇   最新
1889
              switch (_context17.prev = _context17.next) {
038fc123   李宇   最新
1890
1891
                case 0:
                  // 隐藏截图按钮
9854a774   李宇   最新
1892
                  _this18.showScreenshotBtn = false;
038fc123   李宇   最新
1893
1894
1895
1896
                  // 显示加载提示
                  uni.showLoading({
                    title: '截图中'
                  });
9854a774   李宇   最新
1897
1898
1899
1900
                  _this18.screenshotLoading = true;
                  _context17.prev = 3;
                  _context17.next = 6;
                  return _this18.saveScreenshotMiniProgram();
038fc123   李宇   最新
1901
                case 6:
9854a774   李宇   最新
1902
                  _context17.next = 12;
038fc123   李宇   最新
1903
1904
                  break;
                case 8:
9854a774   李宇   最新
1905
1906
1907
                  _context17.prev = 8;
                  _context17.t0 = _context17["catch"](3);
                  console.error('截图生成失败:', _context17.t0);
038fc123   李宇   最新
1908
                  uni.showToast({
9854a774   李宇   最新
1909
                    title: '截图生成失败: ' + (_context17.t0.message || '未知错误'),
038fc123   李宇   最新
1910
1911
1912
1913
                    icon: 'none',
                    duration: 3000
                  });
                case 12:
9854a774   李宇   最新
1914
1915
                  _context17.prev = 12;
                  _this18.screenshotLoading = false;
038fc123   李宇   最新
1916
1917
1918
                  // 隐藏加载提示
                  uni.hideLoading();
                  // 恢复显示截图按钮
9854a774   李宇   最新
1919
1920
                  _this18.showScreenshotBtn = true;
                  return _context17.finish(12);
038fc123   李宇   最新
1921
1922
                case 17:
                case "end":
9854a774   李宇   最新
1923
                  return _context17.stop();
038fc123   李宇   最新
1924
1925
              }
            }
9854a774   李宇   最新
1926
          }, _callee17, null, [[3, 8, 12, 17]]);
038fc123   李宇   最新
1927
1928
1929
1930
        }))();
      },
      // H5平台截图
      saveScreenshotH5: function saveScreenshotH5() {
9854a774   李宇   最新
1931
1932
        var _this19 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee18() {
038fc123   李宇   最新
1933
          var html2canvas, element, originalBg, options, canvas, dataUrl, link, fileName;
9854a774   李宇   最新
1934
          return _regenerator.default.wrap(function _callee18$(_context18) {
038fc123   李宇   最新
1935
            while (1) {
9854a774   李宇   最新
1936
              switch (_context18.prev = _context18.next) {
038fc123   李宇   最新
1937
                case 0:
9854a774   李宇   最新
1938
1939
                  _context18.prev = 0;
                  _context18.next = 3;
038fc123   李宇   最新
1940
                  return Promise.resolve().then(function () {
230d71ee   李宇   最新
1941
                    return _interopRequireWildcard(__webpack_require__(/*! html2canvas */ 531));
038fc123   李宇   最新
1942
1943
                  });
                case 3:
9854a774   李宇   最新
1944
                  html2canvas = _context18.sent;
038fc123   李宇   最新
1945
1946
1947
                  element = document.querySelector('.warpbox');
                  if (!element) element = document.querySelector('.page');
                  if (element) {
9854a774   李宇   最新
1948
                    _context18.next = 8;
038fc123   李宇   最新
1949
1950
1951
1952
                    break;
                  }
                  throw new Error('未找到要截图的内容');
                case 8:
9854a774   李宇   最新
1953
                  _context18.next = 10;
038fc123   李宇   最新
1954
1955
1956
1957
1958
                  return new Promise(function (resolve) {
                    return setTimeout(resolve, 1000);
                  });
                case 10:
                  window.scrollTo(0, 0);
9854a774   李宇   最新
1959
                  _context18.next = 13;
038fc123   李宇   最新
1960
1961
1962
1963
1964
1965
                  return new Promise(function (resolve) {
                    return setTimeout(resolve, 500);
                  });
                case 13:
                  originalBg = element.style.background;
                  element.style.background = '#ffffff';
9854a774   李宇   最新
1966
                  _context18.next = 17;
038fc123   李宇   最新
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
                  return new Promise(function (resolve) {
                    return setTimeout(resolve, 200);
                  });
                case 17:
                  options = {
                    allowTaint: true,
                    useCORS: true,
                    scale: 2.0,
                    backgroundColor: '#ffffff',
                    logging: false,
                    imageTimeout: 30000,
                    scrollX: 0,
                    scrollY: 0,
                    onclone: function onclone(clonedDoc) {
                      clonedDoc.body.style.backgroundColor = '#ffffff';
                      clonedDoc.documentElement.style.backgroundColor = '#ffffff';
                    }
                  };
9854a774   李宇   最新
1985
1986
                  _context18.prev = 18;
                  _context18.next = 21;
038fc123   李宇   最新
1987
1988
                  return html2canvas.default(element, options);
                case 21:
9854a774   李宇   最新
1989
1990
                  canvas = _context18.sent;
                  _context18.next = 30;
038fc123   李宇   最新
1991
1992
                  break;
                case 24:
9854a774   李宇   最新
1993
1994
1995
1996
                  _context18.prev = 24;
                  _context18.t0 = _context18["catch"](18);
                  console.warn('第一次截图失败,尝试备选方案:', _context18.t0);
                  _context18.next = 29;
038fc123   李宇   最新
1997
1998
1999
2000
2001
2002
2003
2004
2005
                  return html2canvas.default(element, {
                    allowTaint: true,
                    useCORS: true,
                    scale: 2.0,
                    backgroundColor: '#ffffff',
                    logging: false,
                    imageTimeout: 30000
                  });
                case 29:
9854a774   李宇   最新
2006
                  canvas = _context18.sent;
038fc123   李宇   最新
2007
2008
2009
                case 30:
                  dataUrl = canvas.toDataURL('image/png', 1.0);
                  link = document.createElement('a');
9854a774   李宇   最新
2010
                  fileName = "\u79D1\u6280\u90E8\u6570\u636E_".concat(_this19.currentTechDepartmentName || '未选择', "_").concat(_this19.selectedMonth, "_").concat(new Date().toISOString().slice(0, 19).replace(/:/g, '-'), ".png");
038fc123   李宇   最新
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
                  link.download = fileName;
                  link.href = dataUrl;
                  document.body.appendChild(link);
                  link.click();
                  document.body.removeChild(link);
                  element.style.background = originalBg;
                  uni.showToast({
                    title: '截图保存成功',
                    icon: 'success',
                    duration: 2000
                  });
9854a774   李宇   最新
2022
                  _context18.next = 46;
038fc123   李宇   最新
2023
2024
                  break;
                case 42:
9854a774   李宇   最新
2025
2026
2027
2028
                  _context18.prev = 42;
                  _context18.t1 = _context18["catch"](0);
                  console.error('H5截图失败:', _context18.t1);
                  throw _context18.t1;
038fc123   李宇   最新
2029
2030
                case 46:
                case "end":
9854a774   李宇   最新
2031
                  return _context18.stop();
038fc123   李宇   最新
2032
2033
              }
            }
9854a774   李宇   最新
2034
          }, _callee18, null, [[0, 42], [18, 24]]);
038fc123   李宇   最新
2035
2036
2037
2038
        }))();
      },
      // 微信小程序截图
      saveScreenshotMiniProgram: function saveScreenshotMiniProgram() {
9854a774   李宇   最新
2039
2040
2041
        var _this20 = this;
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee19() {
          return _regenerator.default.wrap(function _callee19$(_context19) {
038fc123   李宇   最新
2042
            while (1) {
9854a774   李宇   最新
2043
              switch (_context19.prev = _context19.next) {
038fc123   李宇   最新
2044
                case 0:
9854a774   李宇   最新
2045
                  _context19.prev = 0;
038fc123   李宇   最新
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
                  uni.canvasToTempFilePath({
                    canvasId: 'screenshot-canvas',
                    success: function success(res) {
                      uni.saveImageToPhotosAlbum({
                        filePath: res.tempFilePath,
                        success: function success() {
                          uni.showToast({
                            title: '截图已保存到相册',
                            icon: 'success',
                            duration: 2000
                          });
                        },
                        fail: function fail(err) {
                          console.error('保存到相册失败:', err);
                          uni.previewImage({
                            urls: [res.tempFilePath],
                            current: res.tempFilePath
                          });
                        }
                      });
                    },
                    fail: function fail(err) {
                      console.error('导出图片失败:', err);
                      throw new Error('导出图片失败');
                    }
9854a774   李宇   最新
2071
2072
                  }, _this20);
                  _context19.next = 8;
038fc123   李宇   最新
2073
2074
                  break;
                case 4:
9854a774   李宇   最新
2075
2076
2077
2078
                  _context19.prev = 4;
                  _context19.t0 = _context19["catch"](0);
                  console.error('小程序截图失败:', _context19.t0);
                  throw _context19.t0;
038fc123   李宇   最新
2079
2080
                case 8:
                case "end":
9854a774   李宇   最新
2081
                  return _context19.stop();
038fc123   李宇   最新
2082
2083
              }
            }
9854a774   李宇   最新
2084
          }, _callee19, null, [[0, 4]]);
038fc123   李宇   最新
2085
2086
2087
2088
        }))();
      },
      // 兜底截图方案
      saveScreenshotFallback: function saveScreenshotFallback() {
9854a774   李宇   最新
2089
2090
        return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee20() {
          return _regenerator.default.wrap(function _callee20$(_context20) {
038fc123   李宇   最新
2091
            while (1) {
9854a774   李宇   最新
2092
              switch (_context20.prev = _context20.next) {
038fc123   李宇   最新
2093
                case 0:
9854a774   李宇   最新
2094
                  _context20.next = 2;
038fc123   李宇   最新
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
                  return new Promise(function (resolve) {
                    return setTimeout(resolve, 2000);
                  });
                case 2:
                  uni.showToast({
                    title: '截图功能暂不支持当前平台',
                    icon: 'none',
                    duration: 2000
                  });
                case 3:
                case "end":
9854a774   李宇   最新
2106
                  return _context20.stop();
038fc123   李宇   最新
2107
2108
              }
            }
9854a774   李宇   最新
2109
          }, _callee20);
038fc123   李宇   最新
2110
        }))();
6d9b821e   李宇   最新
2111
2112
2113
2114
2115
2116
2117
2118
      }
    }
  };
  exports.default = _default;
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  
  /***/ }),
  
230d71ee   李宇   最新
2119
  /***/ 547:
9854a774   李宇   最新
2120
2121
2122
  /*!************************************************************************************************************************************************************************!*\
    !*** D:/work/daima/lvqianmeiye_ERP/绿纤uni-app/pagesA/tech-department-dashboard/tech-department-dashboard.vue?vue&type=style&index=0&id=7934b08d&lang=scss&scoped=true& ***!
    \************************************************************************************************************************************************************************/
6d9b821e   李宇   最新
2123
2124
2125
2126
2127
  /*! no static exports found */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
230d71ee   李宇   最新
2128
  /* harmony import */ var _tool_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_tool_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_tool_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_vue_vue_type_style_index_0_id_7934b08d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../tool/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tech-department-dashboard.vue?vue&type=style&index=0&id=7934b08d&lang=scss&scoped=true& */ 548);
9854a774   李宇   最新
2129
2130
2131
  /* harmony import */ var _tool_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_tool_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_tool_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_vue_vue_type_style_index_0_id_7934b08d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tool_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_tool_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_tool_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_vue_vue_type_style_index_0_id_7934b08d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
  /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _tool_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_tool_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_tool_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_vue_vue_type_style_index_0_id_7934b08d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _tool_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_tool_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_tool_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_vue_vue_type_style_index_0_id_7934b08d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
   /* harmony default export */ __webpack_exports__["default"] = (_tool_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_tool_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_tool_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_tool_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_tech_department_dashboard_vue_vue_type_style_index_0_id_7934b08d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); 
6d9b821e   李宇   最新
2132
2133
2134
  
  /***/ }),
  
230d71ee   李宇   最新
2135
  /***/ 548:
9854a774   李宇   最新
2136
2137
2138
  /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/work/daima/lvqianmeiye_ERP/绿纤uni-app/pagesA/tech-department-dashboard/tech-department-dashboard.vue?vue&type=style&index=0&id=7934b08d&lang=scss&scoped=true& ***!
    \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
6d9b821e   李宇   最新
2139
2140
2141
2142
2143
2144
2145
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  // extracted by mini-css-extract-plugin
      if(false) { var cssReload; }
    
  
038fc123   李宇   最新
2146
2147
  /***/ }),
  
230d71ee   李宇   最新
2148
  /***/ 577:
9854a774   李宇   最新
2149
2150
2151
  /*!*********************************************************************************************************************************!*\
    !*** D:/work/daima/lvqianmeiye_ERP/绿纤uni-app/main.js?{"page":"pagesA%2Ftech-department-dashboard%2Ftech-department-dashboard"} ***!
    \*********************************************************************************************************************************/
038fc123   李宇   最新
2152
2153
2154
2155
2156
2157
2158
2159
2160
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  "use strict";
  /* WEBPACK VAR INJECTION */(function(wx, createPage) {
  
  var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  __webpack_require__(/*! uni-pages */ 26);
  var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
230d71ee   李宇   最新
2161
  var _techDepartmentDashboard = _interopRequireDefault(__webpack_require__(/*! ./pagesA/tech-department-dashboard/tech-department-dashboard.vue */ 542));
038fc123   李宇   最新
2162
2163
2164
2165
2166
  // @ts-ignore
  wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
  createPage(_techDepartmentDashboard.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"]))
  
6d9b821e   李宇   最新
2167
2168
  /***/ })
  
230d71ee   李宇   最新
2169
  },[[577,"common/runtime","common/vendor"]]]);
9854a774   李宇   最新
2170
  //# sourceMappingURL=../../../.sourcemap/mp-weixin/pagesA/tech-department-dashboard/tech-department-dashboard.js.map