eoss 0.1.0-alpha.34 → 0.1.0-alpha.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/0.js +1 -1
- package/lib/1.js +1 -1
- package/lib/10.js +1 -1
- package/lib/11.js +1 -1
- package/lib/12.js +1 -1
- package/lib/13.js +1 -1
- package/lib/14.js +1 -1
- package/lib/15.js +1 -1
- package/lib/16.js +1 -1
- package/lib/17.js +1 -1
- package/lib/18.js +1 -1
- package/lib/19.js +1 -1
- package/lib/20.js +1 -1
- package/lib/21.js +1 -1
- package/lib/22.js +1 -1
- package/lib/23.js +1 -1
- package/lib/24.js +1 -1
- package/lib/25.js +1 -1
- package/lib/26.js +1 -1
- package/lib/27.js +1 -1
- package/lib/28.js +1 -1
- package/lib/29.js +1 -1
- package/lib/3.js +1 -1
- package/lib/30.js +1 -1
- package/lib/31.js +1 -1
- package/lib/32.js +1 -1
- package/lib/33.js +1 -1
- package/lib/34.js +1 -1
- package/lib/35.js +1 -1
- package/lib/36.js +1 -1
- package/lib/37.js +1 -1
- package/lib/38.js +1 -1
- package/lib/39.js +1 -1
- package/lib/4.js +1 -1
- package/lib/40.js +1 -1
- package/lib/41.js +1 -1
- package/lib/42.js +1 -1
- package/lib/43.js +1 -1
- package/lib/44.js +1 -1
- package/lib/45.js +1 -1
- package/lib/46.js +1 -1
- package/lib/47.js +1 -1
- package/lib/48.js +1 -1
- package/lib/49.js +1 -1
- package/lib/5.js +1 -1
- package/lib/50.js +1 -1
- package/lib/51.js +1 -1
- package/lib/52.js +1 -1
- package/lib/53.js +1 -1
- package/lib/54.js +1 -1
- package/lib/55.js +1 -1
- package/lib/56.js +1 -1
- package/lib/57.js +1 -1
- package/lib/58.js +1 -1
- package/lib/59.js +1 -1
- package/lib/6.js +1 -1
- package/lib/60.js +1 -1
- package/lib/61.js +1 -1
- package/lib/62.js +1 -1
- package/lib/63.js +1 -1
- package/lib/64.js +1 -1
- package/lib/65.js +1 -1
- package/lib/66.js +1 -1
- package/lib/67.js +1 -1
- package/lib/68.js +1 -1
- package/lib/69.js +1 -1
- package/lib/7.js +1 -1
- package/lib/70.js +1 -1
- package/lib/71.js +1 -1
- package/lib/72.js +1 -1
- package/lib/73.js +1 -1
- package/lib/74.js +1 -1
- package/lib/75.js +1 -1
- package/lib/76.js +1 -1
- package/lib/77.js +1 -1
- package/lib/78.js +1 -1
- package/lib/79.js +1 -1
- package/lib/8.js +1 -1
- package/lib/80.js +1 -1
- package/lib/81.js +1 -1
- package/lib/9.js +1 -1
- package/lib/account-login.js +985 -1010
- package/lib/alert.js +2 -2
- package/lib/aside.js +2 -2
- package/lib/audit-trajectory.js +145 -145
- package/lib/autocomplete.js +1778 -2002
- package/lib/avatar.js +2 -2
- package/lib/backtop.js +2 -2
- package/lib/badge.js +2 -2
- package/lib/breadcrumb-item.js +4 -4
- package/lib/breadcrumb.js +4 -4
- package/lib/button-group.js +2 -2
- package/lib/button.js +2 -2
- package/lib/ca-login.js +837 -862
- package/lib/calendar.js +837 -862
- package/lib/card.js +2 -2
- package/lib/carousel-item.js +839 -864
- package/lib/carousel.js +839 -864
- package/lib/cascader-panel.js +839 -864
- package/lib/cascader.js +1780 -2004
- package/lib/checkbox-button.js +2 -2
- package/lib/checkbox-group.js +987 -1012
- package/lib/checkbox.js +2 -2
- package/lib/col.js +2 -2
- package/lib/collapse-item.js +839 -864
- package/lib/collapse.js +839 -864
- package/lib/color-picker.js +942 -1141
- package/lib/container.js +2 -2
- package/lib/cron.js +2 -2
- package/lib/data-table.js +987 -1012
- package/lib/date-picker.js +1785 -2009
- package/lib/dialog.js +837 -862
- package/lib/divider.js +2 -2
- package/lib/drawer.js +2 -2
- package/lib/dropdown-item.js +4 -4
- package/lib/dropdown-menu.js +942 -1141
- package/lib/dropdown.js +837 -862
- package/lib/email-login.js +986 -1011
- package/lib/empty.js +2 -2
- package/lib/eoss.common.js +2935 -2523
- package/lib/flip.js +2 -2
- package/lib/flow-group.js +841 -866
- package/lib/flow.js +1073 -1098
- package/lib/flows.js +993 -1018
- package/lib/footer.js +2 -2
- package/lib/form-item.js +2275 -2300
- package/lib/form.js +1034 -1046
- package/lib/guide.js +2 -2
- package/lib/header.js +2 -2
- package/lib/icon.js +981 -1006
- package/lib/icons.js +2 -2
- package/lib/image-viewer.js +837 -862
- package/lib/image.js +4 -4
- package/lib/index.js +1 -1
- package/lib/infinite-scroll.js +2 -2
- package/lib/input-number.js +4 -4
- package/lib/input.js +837 -862
- package/lib/link.js +2 -2
- package/lib/loading.js +2 -2
- package/lib/login.js +1737 -1059
- package/lib/lowcode-view.js +991 -1016
- package/lib/lowcode.js +1088 -1113
- package/lib/main.js +1066 -1091
- package/lib/marquee.js +837 -862
- package/lib/menu-item-group.js +2 -2
- package/lib/menu-item.js +2 -2
- package/lib/menu.js +1779 -2003
- package/lib/message-box.js +837 -862
- package/lib/message.js +837 -862
- package/lib/notification.js +859 -884
- package/lib/option-group.js +4 -4
- package/lib/option.js +839 -864
- package/lib/page-header.js +2 -2
- package/lib/pagination.js +837 -862
- package/lib/phone-login.js +986 -1011
- package/lib/popconfirm.js +4 -4
- package/lib/popover.js +1779 -2003
- package/lib/process-config.js +995 -1020
- package/lib/process-module.js +1056 -1081
- package/lib/process-rule.js +999 -1024
- package/lib/progress.js +2 -2
- package/lib/qr-code.js +4 -4
- package/lib/qrcode-login.js +987 -1012
- package/lib/radio-button.js +2 -2
- package/lib/radio-group.js +987 -1012
- package/lib/radio.js +2 -2
- package/lib/rate.js +837 -862
- package/lib/row.js +2 -2
- package/lib/scrollbar.js +837 -862
- package/lib/select.js +1938 -2162
- package/lib/selector-panel.js +1014 -1039
- package/lib/selector.js +991 -1016
- package/lib/slider.js +2 -2
- package/lib/step.js +4 -4
- package/lib/steps.js +839 -864
- package/lib/submenu.js +944 -1143
- package/lib/switch.js +837 -862
- package/lib/tab-pane.js +4 -4
- package/lib/table-column.js +837 -862
- package/lib/table.js +1927 -2151
- package/lib/tabs.js +839 -864
- package/lib/tag.js +2 -2
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/time-picker.js +1786 -2010
- package/lib/time-select.js +1782 -2006
- package/lib/timeline-item.js +2 -2
- package/lib/timeline.js +2 -2
- package/lib/tips.js +986 -1011
- package/lib/toolbar.js +2 -2
- package/lib/tooltip.js +1778 -2002
- package/lib/transfer.js +837 -862
- package/lib/tree-group.js +982 -1007
- package/lib/tree.js +985 -1010
- package/lib/update-history.js +146 -146
- package/lib/upload.js +999 -1024
- package/lib/utils/helpers.js +52 -0
- package/lib/utils/popper.js +48 -97
- package/lib/wujie.js +841 -866
- package/package.json +1 -1
- package/packages/login/src/login.vue +24 -3
- package/packages/login/src/resetPassword.vue +19 -13
- package/packages/main/src/minxs.js +0 -1
- package/packages/theme-chalk/src/base.scss +1 -2
- package/src/index.js +327 -327
- package/src/utils/helpers.js +49 -0
- package/src/utils/popper.js +70 -109
package/lib/flow.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 179);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -3493,7 +3493,7 @@ var getRgb = function getRgb($color) {
|
|
|
3493
3493
|
|
|
3494
3494
|
/***/ }),
|
|
3495
3495
|
|
|
3496
|
-
/***/
|
|
3496
|
+
/***/ 123:
|
|
3497
3497
|
/***/ (function(module, exports) {
|
|
3498
3498
|
|
|
3499
3499
|
module.exports = require("eoss/lib/table-column");
|
|
@@ -3528,7 +3528,7 @@ module.exports = require("lodash/get");
|
|
|
3528
3528
|
|
|
3529
3529
|
/***/ }),
|
|
3530
3530
|
|
|
3531
|
-
/***/
|
|
3531
|
+
/***/ 179:
|
|
3532
3532
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3533
3533
|
|
|
3534
3534
|
"use strict";
|
|
@@ -7022,7 +7022,7 @@ var table_ = __webpack_require__(91);
|
|
|
7022
7022
|
var table_default = /*#__PURE__*/__webpack_require__.n(table_);
|
|
7023
7023
|
|
|
7024
7024
|
// EXTERNAL MODULE: external "eoss/lib/table-column"
|
|
7025
|
-
var table_column_ = __webpack_require__(
|
|
7025
|
+
var table_column_ = __webpack_require__(123);
|
|
7026
7026
|
var table_column_default = /*#__PURE__*/__webpack_require__.n(table_column_);
|
|
7027
7027
|
|
|
7028
7028
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/table.vue?vue&type=script&lang=js&
|
|
@@ -7370,7 +7370,7 @@ var input_default = /*#__PURE__*/__webpack_require__.n(input_);
|
|
|
7370
7370
|
|
|
7371
7371
|
this.loading = true;
|
|
7372
7372
|
Object(ajax["a" /* ajax */])({
|
|
7373
|
-
url: id ? api["
|
|
7373
|
+
url: id ? api["y" /* editCommonOpion */] : api["a" /* addCommonOpion */],
|
|
7374
7374
|
params: { id: id }
|
|
7375
7375
|
}).then(function (res) {
|
|
7376
7376
|
var status = res.status,
|
|
@@ -7724,7 +7724,7 @@ var _components;
|
|
|
7724
7724
|
var _this = this;
|
|
7725
7725
|
|
|
7726
7726
|
Object(ajax["a" /* ajax */])({
|
|
7727
|
-
url: api["
|
|
7727
|
+
url: api["l" /* commonOpion */],
|
|
7728
7728
|
params: {
|
|
7729
7729
|
userId: Object(storage["a" /* getStorage */])('userId')
|
|
7730
7730
|
},
|
|
@@ -7767,7 +7767,7 @@ var _components;
|
|
|
7767
7767
|
|
|
7768
7768
|
var that = this;
|
|
7769
7769
|
Object(ajax["a" /* ajax */])({
|
|
7770
|
-
url: api["
|
|
7770
|
+
url: api["E" /* findSysParam */],
|
|
7771
7771
|
params: { cpName: 'commonOpinionsSelectType' }
|
|
7772
7772
|
}).then(function (res) {
|
|
7773
7773
|
if (res.status == 'success') {
|
|
@@ -7796,7 +7796,7 @@ var _components;
|
|
|
7796
7796
|
}).then(function () {
|
|
7797
7797
|
_this3.loading = Object(util["K" /* loading */])('删除中');
|
|
7798
7798
|
Object(ajax["a" /* ajax */])({
|
|
7799
|
-
url: api["
|
|
7799
|
+
url: api["p" /* deleteCommonOpion */],
|
|
7800
7800
|
params: {
|
|
7801
7801
|
id: val.id
|
|
7802
7802
|
}
|
|
@@ -7842,7 +7842,7 @@ var _components;
|
|
|
7842
7842
|
}
|
|
7843
7843
|
this.loading = Object(util["K" /* loading */])('提交中');
|
|
7844
7844
|
Object(ajax["a" /* ajax */])({
|
|
7845
|
-
url: data.id ? api["
|
|
7845
|
+
url: data.id ? api["Pc" /* updateCommonOpinion */] : api["cc" /* saveCommonOpinion */],
|
|
7846
7846
|
data: info,
|
|
7847
7847
|
header: { 'Content-Type': 'multipart/form-data' },
|
|
7848
7848
|
method: 'post'
|
|
@@ -9139,7 +9139,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
9139
9139
|
classify: true,
|
|
9140
9140
|
newOptions: [],
|
|
9141
9141
|
newSelectUserList: [],
|
|
9142
|
-
url: api["
|
|
9142
|
+
url: api["ib" /* handleInfo */],
|
|
9143
9143
|
newCheckboxList: [],
|
|
9144
9144
|
newPresetEdit: 0,
|
|
9145
9145
|
newMultiple: false,
|
|
@@ -9268,7 +9268,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
9268
9268
|
if (query !== '') {
|
|
9269
9269
|
this.searchLoading = true;
|
|
9270
9270
|
Object(ajax["a" /* ajax */])({
|
|
9271
|
-
url: api["
|
|
9271
|
+
url: api["ib" /* handleInfo */],
|
|
9272
9272
|
params: { searchKey: query, query: query, type: 'user' }
|
|
9273
9273
|
}).then(function (res) {
|
|
9274
9274
|
var status = res.status,
|
|
@@ -9708,7 +9708,7 @@ var CustomPresetvue_type_script_lang_js_components;
|
|
|
9708
9708
|
nextNodeId: nodeId,
|
|
9709
9709
|
businessId: this.id
|
|
9710
9710
|
};
|
|
9711
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
9711
|
+
Object(ajax["a" /* ajax */])({ url: api["S" /* getNodeInfo */], params: params }).then(function (res) {
|
|
9712
9712
|
var status = res.status,
|
|
9713
9713
|
message = res.message,
|
|
9714
9714
|
_res$data = res.data,
|
|
@@ -9802,7 +9802,7 @@ var CustomPresetvue_type_script_lang_js_components;
|
|
|
9802
9802
|
|
|
9803
9803
|
isNoStart && (this.newPresetList = []);
|
|
9804
9804
|
var params = {
|
|
9805
|
-
url: api["
|
|
9805
|
+
url: api["W" /* getPresetCustomInfo */],
|
|
9806
9806
|
data: {
|
|
9807
9807
|
nodeId: nodeId,
|
|
9808
9808
|
processDefinitionId: processDefinitionId ? processDefinitionId : this.newProcessDefinitionId
|
|
@@ -10180,7 +10180,7 @@ var Presetvue_type_script_lang_js_components;
|
|
|
10180
10180
|
nodeId = this.nodeId;
|
|
10181
10181
|
|
|
10182
10182
|
var params = {
|
|
10183
|
-
url: api["
|
|
10183
|
+
url: api["X" /* getPresetNodeInfo */],
|
|
10184
10184
|
data: {
|
|
10185
10185
|
nextNodeId: nextNodeId,
|
|
10186
10186
|
processDefinitionId: processDefinitionId,
|
|
@@ -11091,7 +11091,7 @@ var radio_group_default = /*#__PURE__*/__webpack_require__.n(radio_group_);
|
|
|
11091
11091
|
if (mainConfig) {
|
|
11092
11092
|
this.userModel = JSON.parse(mainConfig).userModel;
|
|
11093
11093
|
} else {
|
|
11094
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
11094
|
+
Object(ajax["a" /* ajax */])({ url: api["rb" /* loginUserInfo */] }).then(function (res) {
|
|
11095
11095
|
var status = res.status,
|
|
11096
11096
|
data = res.data;
|
|
11097
11097
|
|
|
@@ -11196,7 +11196,7 @@ var radio_group_default = /*#__PURE__*/__webpack_require__.n(radio_group_);
|
|
|
11196
11196
|
var _this3 = this;
|
|
11197
11197
|
|
|
11198
11198
|
Object(ajax["a" /* ajax */])({
|
|
11199
|
-
url: api["
|
|
11199
|
+
url: api["B" /* findCodeValues */],
|
|
11200
11200
|
params: {
|
|
11201
11201
|
ccCode: 'notification_type',
|
|
11202
11202
|
userId: Object(storage["a" /* getStorage */])('userId')
|
|
@@ -11232,7 +11232,7 @@ var radio_group_default = /*#__PURE__*/__webpack_require__.n(radio_group_);
|
|
|
11232
11232
|
if (!this.showBtn) {
|
|
11233
11233
|
params.openMode = 'samepage';
|
|
11234
11234
|
}
|
|
11235
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
11235
|
+
Object(ajax["a" /* ajax */])({ url: api["U" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
|
|
11236
11236
|
if (res.status === 'success') {
|
|
11237
11237
|
if (!_this4.showBtn) {
|
|
11238
11238
|
_this4.oldMessage = res.message;
|
|
@@ -11354,7 +11354,7 @@ var radio_group_default = /*#__PURE__*/__webpack_require__.n(radio_group_);
|
|
|
11354
11354
|
delete params.businessId;
|
|
11355
11355
|
}
|
|
11356
11356
|
Object(ajax["a" /* ajax */])({
|
|
11357
|
-
url: _this5.isFreeStartFlow ? api["
|
|
11357
|
+
url: _this5.isFreeStartFlow ? api["G" /* freeStartFlowWithSubmitTask */] : _this5.formType == 'readTransfer' ? api["gc" /* startReadTransferHandleFlowWithTaskReadEnd */] : _this5.copyHistory ? api["F" /* freeStartFlow */] : api["Tb" /* register */],
|
|
11358
11358
|
method: 'post',
|
|
11359
11359
|
data: params
|
|
11360
11360
|
}).then(function (res) {
|
|
@@ -11399,7 +11399,7 @@ var radio_group_default = /*#__PURE__*/__webpack_require__.n(radio_group_);
|
|
|
11399
11399
|
businessId: this.id,
|
|
11400
11400
|
userId: Object(storage["a" /* getStorage */])('userId')
|
|
11401
11401
|
};
|
|
11402
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
11402
|
+
Object(ajax["a" /* ajax */])({ url: api["S" /* getNodeInfo */], params: params }).then(function (res) {
|
|
11403
11403
|
var status = res.status,
|
|
11404
11404
|
message = res.message,
|
|
11405
11405
|
_res$data = res.data,
|
|
@@ -11497,7 +11497,7 @@ var radio_group_default = /*#__PURE__*/__webpack_require__.n(radio_group_);
|
|
|
11497
11497
|
var _this7 = this;
|
|
11498
11498
|
|
|
11499
11499
|
Object(ajax["a" /* ajax */])({
|
|
11500
|
-
url: api["
|
|
11500
|
+
url: api["D" /* findSysCodes */]
|
|
11501
11501
|
}).then(function (res) {
|
|
11502
11502
|
var status = res.status,
|
|
11503
11503
|
message = res.message;
|
|
@@ -11580,7 +11580,7 @@ var radio_group_default = /*#__PURE__*/__webpack_require__.n(radio_group_);
|
|
|
11580
11580
|
businessId: this.businessId
|
|
11581
11581
|
};
|
|
11582
11582
|
// 获取节点
|
|
11583
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
11583
|
+
Object(ajax["a" /* ajax */])({ url: api["zc" /* toStartFlow */], params: params }).then(function (res) {
|
|
11584
11584
|
//pc接口返回数据处理
|
|
11585
11585
|
var status = res.status,
|
|
11586
11586
|
message = res.message,
|
|
@@ -12350,7 +12350,7 @@ var utils_date = __webpack_require__(7);
|
|
|
12350
12350
|
notificationType = _sendInfo.notificationType;
|
|
12351
12351
|
|
|
12352
12352
|
var params = {
|
|
12353
|
-
url: api["
|
|
12353
|
+
url: api["fc" /* sendMsg */],
|
|
12354
12354
|
headers: { Accept: 'application/json,text/plain' },
|
|
12355
12355
|
method: 'post',
|
|
12356
12356
|
data: {
|
|
@@ -12415,7 +12415,7 @@ var utils_date = __webpack_require__(7);
|
|
|
12415
12415
|
|
|
12416
12416
|
this.loading = true;
|
|
12417
12417
|
Object(ajax["a" /* ajax */])({
|
|
12418
|
-
url: api["
|
|
12418
|
+
url: api["yc" /* toSendMsg */],
|
|
12419
12419
|
params: { pendingId: this.$attrs.pendingId }
|
|
12420
12420
|
}).then(function (res) {
|
|
12421
12421
|
var status = res.status,
|
|
@@ -13330,7 +13330,7 @@ processRejectvue_type_template_id_6cf1cbac_render._withStripped = true
|
|
|
13330
13330
|
var _this = this;
|
|
13331
13331
|
|
|
13332
13332
|
Object(ajax["a" /* ajax */])({
|
|
13333
|
-
url: api["
|
|
13333
|
+
url: api["B" /* findCodeValues */],
|
|
13334
13334
|
params: {
|
|
13335
13335
|
ccCode: 'notification_type',
|
|
13336
13336
|
userId: Object(storage["a" /* getStorage */])('userId'),
|
|
@@ -13376,7 +13376,7 @@ processRejectvue_type_template_id_6cf1cbac_render._withStripped = true
|
|
|
13376
13376
|
userId: Object(storage["a" /* getStorage */])('userId'),
|
|
13377
13377
|
nextNodeId: _this2.nextNode.nextNodeId
|
|
13378
13378
|
};
|
|
13379
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
13379
|
+
Object(ajax["a" /* ajax */])({ url: api["nc" /* taskRejectHtml */], method: 'post', data: params }).then(function (res) {
|
|
13380
13380
|
var status = res.status,
|
|
13381
13381
|
message = res.message;
|
|
13382
13382
|
|
|
@@ -13411,7 +13411,7 @@ processRejectvue_type_template_id_6cf1cbac_render._withStripped = true
|
|
|
13411
13411
|
var _this3 = this;
|
|
13412
13412
|
|
|
13413
13413
|
Object(ajax["a" /* ajax */])({
|
|
13414
|
-
url: api["
|
|
13414
|
+
url: api["D" /* findSysCodes */]
|
|
13415
13415
|
}).then(function (res) {
|
|
13416
13416
|
var status = res.status,
|
|
13417
13417
|
message = res.message;
|
|
@@ -13441,7 +13441,7 @@ processRejectvue_type_template_id_6cf1cbac_render._withStripped = true
|
|
|
13441
13441
|
isSinglePage: false,
|
|
13442
13442
|
opinion: this.option
|
|
13443
13443
|
};
|
|
13444
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
13444
|
+
Object(ajax["a" /* ajax */])({ url: api["Dc" /* toTaskRejectHtml */], params: params }).then(function (res) {
|
|
13445
13445
|
_this4.loading = false;
|
|
13446
13446
|
if (res.status === 'success') {
|
|
13447
13447
|
var _res$data = res.data,
|
|
@@ -14257,7 +14257,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14257
14257
|
} else {
|
|
14258
14258
|
params.appId = this.readParams.appId;
|
|
14259
14259
|
}
|
|
14260
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
14260
|
+
Object(ajax["a" /* ajax */])({ url: api["U" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
|
|
14261
14261
|
if (res.status === 'success') {
|
|
14262
14262
|
_this.newsNoice = res.message;
|
|
14263
14263
|
}
|
|
@@ -14273,7 +14273,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14273
14273
|
taskExamine = this.taskExamine;
|
|
14274
14274
|
|
|
14275
14275
|
var params = {
|
|
14276
|
-
url: api["
|
|
14276
|
+
url: api["Jc" /* toTaskTransferIndex */],
|
|
14277
14277
|
params: {
|
|
14278
14278
|
opinion: opinion,
|
|
14279
14279
|
pendingId: pendingId,
|
|
@@ -14395,7 +14395,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14395
14395
|
var _this4 = this;
|
|
14396
14396
|
|
|
14397
14397
|
var params = {
|
|
14398
|
-
url: api["
|
|
14398
|
+
url: api["Ac" /* toStartTaskRead */],
|
|
14399
14399
|
params: startTaskReadvue_type_script_lang_js_extends({
|
|
14400
14400
|
pendingId: this.pendingId,
|
|
14401
14401
|
taskAction: this.type
|
|
@@ -14441,7 +14441,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14441
14441
|
var _this6 = this;
|
|
14442
14442
|
|
|
14443
14443
|
Object(ajax["a" /* ajax */])({
|
|
14444
|
-
url: api["
|
|
14444
|
+
url: api["B" /* findCodeValues */],
|
|
14445
14445
|
params: {
|
|
14446
14446
|
ccCode: 'fenyue_msg_type',
|
|
14447
14447
|
userId: Object(storage["a" /* getStorage */])('userId')
|
|
@@ -14485,7 +14485,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14485
14485
|
type = this.type;
|
|
14486
14486
|
|
|
14487
14487
|
var params = {
|
|
14488
|
-
url: api["
|
|
14488
|
+
url: api["rc" /* taskTransfer */],
|
|
14489
14489
|
data: {
|
|
14490
14490
|
choiceDeptId: choiceDeptId,
|
|
14491
14491
|
choiceOrgId: choiceOrgId,
|
|
@@ -14595,7 +14595,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14595
14595
|
}
|
|
14596
14596
|
delete _this8.configInfo.taskExamine.taskExamineParam;
|
|
14597
14597
|
Object(ajax["a" /* ajax */])({
|
|
14598
|
-
url: api["
|
|
14598
|
+
url: api["mc" /* taskReadHtml */],
|
|
14599
14599
|
params: { taskAction: _this8.type },
|
|
14600
14600
|
headers: {
|
|
14601
14601
|
Accept: 'application/json,text/plain'
|
|
@@ -14637,7 +14637,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14637
14637
|
|
|
14638
14638
|
this.loading = true;
|
|
14639
14639
|
Object(ajax["a" /* ajax */])({
|
|
14640
|
-
url: api["
|
|
14640
|
+
url: api["D" /* findSysCodes */]
|
|
14641
14641
|
}).then(function (res) {
|
|
14642
14642
|
var status = res.status,
|
|
14643
14643
|
message = res.message,
|
|
@@ -15633,7 +15633,7 @@ var resetvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
15633
15633
|
if (mainConfig) {
|
|
15634
15634
|
this.userModel = JSON.parse(mainConfig).userModel;
|
|
15635
15635
|
} else {
|
|
15636
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
15636
|
+
Object(ajax["a" /* ajax */])({ url: api["rb" /* loginUserInfo */] }).then(function (res) {
|
|
15637
15637
|
var status = res.status,
|
|
15638
15638
|
data = res.data;
|
|
15639
15639
|
|
|
@@ -15722,7 +15722,7 @@ var resetvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
15722
15722
|
var _this2 = this;
|
|
15723
15723
|
|
|
15724
15724
|
Object(ajax["a" /* ajax */])({
|
|
15725
|
-
url: api["
|
|
15725
|
+
url: api["B" /* findCodeValues */],
|
|
15726
15726
|
params: {
|
|
15727
15727
|
ccCode: 'notification_type',
|
|
15728
15728
|
userId: Object(storage["a" /* getStorage */])('userId')
|
|
@@ -15749,7 +15749,7 @@ var resetvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
15749
15749
|
nodeId: this.nextNode.nextNode,
|
|
15750
15750
|
businessId: this.taskExamine.businessId
|
|
15751
15751
|
};
|
|
15752
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
15752
|
+
Object(ajax["a" /* ajax */])({ url: api["U" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
|
|
15753
15753
|
if (res.status === 'success') {
|
|
15754
15754
|
_this3.nextNode.noticeInfo = res.message;
|
|
15755
15755
|
}
|
|
@@ -15833,7 +15833,7 @@ var resetvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
15833
15833
|
}
|
|
15834
15834
|
if (_this4.activeNames != '1') delete params.customPresetUserJson;
|
|
15835
15835
|
Object(ajax["a" /* ajax */])({
|
|
15836
|
-
url: _this4.type == 'reset' ? api["
|
|
15836
|
+
url: _this4.type == 'reset' ? api["Vb" /* resetProcess */] : api["kc" /* taskContinuation */],
|
|
15837
15837
|
method: 'post',
|
|
15838
15838
|
data: params
|
|
15839
15839
|
}).then(function (res) {
|
|
@@ -15870,7 +15870,7 @@ var resetvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
15870
15870
|
businessId: this.taskExamine.businessId,
|
|
15871
15871
|
pendingId: this.taskExamine.pendingId
|
|
15872
15872
|
};
|
|
15873
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
15873
|
+
Object(ajax["a" /* ajax */])({ url: api["S" /* getNodeInfo */], params: params }).then(function (res) {
|
|
15874
15874
|
var status = res.status,
|
|
15875
15875
|
message = res.message,
|
|
15876
15876
|
_res$data = res.data,
|
|
@@ -15974,7 +15974,7 @@ var resetvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
15974
15974
|
var _this6 = this;
|
|
15975
15975
|
|
|
15976
15976
|
Object(ajax["a" /* ajax */])({
|
|
15977
|
-
url: api["
|
|
15977
|
+
url: api["D" /* findSysCodes */]
|
|
15978
15978
|
}).then(function (res) {
|
|
15979
15979
|
var status = res.status,
|
|
15980
15980
|
message = res.message;
|
|
@@ -16040,7 +16040,7 @@ var resetvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
16040
16040
|
var _this7 = this;
|
|
16041
16041
|
|
|
16042
16042
|
var params = {
|
|
16043
|
-
url: this.type == 'continuation' ? api["
|
|
16043
|
+
url: this.type == 'continuation' ? api["Cc" /* toTaskContinuationIndex */] : api["xc" /* toResetProcessIndex */],
|
|
16044
16044
|
params: resetvue_type_script_lang_js_extends({
|
|
16045
16045
|
appId: this.appId
|
|
16046
16046
|
}, this.flowParams)
|
|
@@ -16875,7 +16875,7 @@ taskUnionExaminevue_type_template_id_18ee271e_render._withStripped = true
|
|
|
16875
16875
|
pendingId = this.pendingId;
|
|
16876
16876
|
|
|
16877
16877
|
var params = {
|
|
16878
|
-
url: api["
|
|
16878
|
+
url: api["oc" /* taskReview */],
|
|
16879
16879
|
data: {
|
|
16880
16880
|
nextUserId: nextOtherOrgObj.join(','),
|
|
16881
16881
|
notificationType: noticeType.join(','),
|
|
@@ -16914,7 +16914,7 @@ taskUnionExaminevue_type_template_id_18ee271e_render._withStripped = true
|
|
|
16914
16914
|
var _this2 = this;
|
|
16915
16915
|
|
|
16916
16916
|
var params = {
|
|
16917
|
-
url: api["
|
|
16917
|
+
url: api["Ec" /* toTaskReview */],
|
|
16918
16918
|
params: { pendingId: this.pendingId }
|
|
16919
16919
|
};
|
|
16920
16920
|
Object(ajax["a" /* ajax */])(params).then(function (res) {
|
|
@@ -16947,7 +16947,7 @@ taskUnionExaminevue_type_template_id_18ee271e_render._withStripped = true
|
|
|
16947
16947
|
var _this3 = this;
|
|
16948
16948
|
|
|
16949
16949
|
var params = {
|
|
16950
|
-
url: this.type == 'takeAdvice' ? api["
|
|
16950
|
+
url: this.type == 'takeAdvice' ? api["Ic" /* toTaskTakeAdvice */] : this.type === 'startDraf' ? api["Fc" /* toTaskStartDraft */] : this.type == 'unionSeal' ? api["Lc" /* toTaskUnionSeal */] : this.type == 'twoOfficesDispatch' ? api["Mc" /* toTwoOfficesDispatch */] : api["Kc" /* toTaskUnionExamine */],
|
|
16951
16951
|
params: { pendingId: this.pendingId },
|
|
16952
16952
|
headers: { Accept: 'application/json,text/plain' }
|
|
16953
16953
|
};
|
|
@@ -17088,7 +17088,7 @@ taskUnionExaminevue_type_template_id_18ee271e_render._withStripped = true
|
|
|
17088
17088
|
return Object(util["ab" /* warning */])('当前步骤必须输入意见!');
|
|
17089
17089
|
}
|
|
17090
17090
|
var param = {
|
|
17091
|
-
url: this.type === 'startDraf' ? api["
|
|
17091
|
+
url: this.type === 'startDraf' ? api["pc" /* taskStartDraft */] : this.type == 'unionSeal' ? api["tc" /* taskUnionSeal */] : this.type === 'twoOfficesDispatch' ? api["Oc" /* twoOfficesDispatch */] : this.type == 'takeAdvice' ? api["qc" /* taskTakeAdvice */] : api["sc" /* taskUnionExamine */],
|
|
17092
17092
|
data: {
|
|
17093
17093
|
opinion: opinion,
|
|
17094
17094
|
pendingId: pendingId,
|
|
@@ -17164,7 +17164,7 @@ taskUnionExaminevue_type_template_id_18ee271e_render._withStripped = true
|
|
|
17164
17164
|
var _this5 = this;
|
|
17165
17165
|
|
|
17166
17166
|
Object(ajax["a" /* ajax */])({
|
|
17167
|
-
url: api["
|
|
17167
|
+
url: api["B" /* findCodeValues */],
|
|
17168
17168
|
params: {
|
|
17169
17169
|
ccCode: 'notification_type',
|
|
17170
17170
|
userId: Object(storage["a" /* getStorage */])('userId'),
|
|
@@ -17190,7 +17190,7 @@ taskUnionExaminevue_type_template_id_18ee271e_render._withStripped = true
|
|
|
17190
17190
|
var params = {
|
|
17191
17191
|
pendingId: this.pendingId
|
|
17192
17192
|
};
|
|
17193
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
17193
|
+
Object(ajax["a" /* ajax */])({ url: api["U" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
|
|
17194
17194
|
if (res.status === 'success') {
|
|
17195
17195
|
_this6.infoList.noticeInfo = res.message;
|
|
17196
17196
|
}
|
|
@@ -17203,7 +17203,7 @@ taskUnionExaminevue_type_template_id_18ee271e_render._withStripped = true
|
|
|
17203
17203
|
var _this7 = this;
|
|
17204
17204
|
|
|
17205
17205
|
Object(ajax["a" /* ajax */])({
|
|
17206
|
-
url: api["
|
|
17206
|
+
url: api["D" /* findSysCodes */]
|
|
17207
17207
|
}).then(function (res) {
|
|
17208
17208
|
var status = res.status,
|
|
17209
17209
|
message = res.message;
|
|
@@ -20597,7 +20597,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20597
20597
|
var _this = this;
|
|
20598
20598
|
|
|
20599
20599
|
var params = {
|
|
20600
|
-
url: api["
|
|
20600
|
+
url: api["I" /* getAdjunctFileInfos */],
|
|
20601
20601
|
params: { ownId: ownId, code: code }
|
|
20602
20602
|
};
|
|
20603
20603
|
Object(ajax["a" /* ajax */])(params).then(function (res) {
|
|
@@ -20681,7 +20681,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20681
20681
|
taskAction: 'complete'
|
|
20682
20682
|
};
|
|
20683
20683
|
Object(ajax["a" /* ajax */])({
|
|
20684
|
-
url: api["
|
|
20684
|
+
url: api["mc" /* taskReadHtml */],
|
|
20685
20685
|
params: { taskAction: 'complete' },
|
|
20686
20686
|
headers: {
|
|
20687
20687
|
Accept: 'application/json,text/plain'
|
|
@@ -20720,7 +20720,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20720
20720
|
|
|
20721
20721
|
this.loading = Object(util["K" /* loading */])();
|
|
20722
20722
|
Object(ajax["a" /* ajax */])({
|
|
20723
|
-
url: api["
|
|
20723
|
+
url: api["Bc" /* toStartTaskReadIndex */],
|
|
20724
20724
|
params: { pendingId: this.pendingId }
|
|
20725
20725
|
}).then(function (res) {
|
|
20726
20726
|
var status = res.status,
|
|
@@ -20753,7 +20753,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20753
20753
|
if (mainConfig) {
|
|
20754
20754
|
this.userModel = JSON.parse(mainConfig).userModel;
|
|
20755
20755
|
} else {
|
|
20756
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
20756
|
+
Object(ajax["a" /* ajax */])({ url: api["rb" /* loginUserInfo */] }).then(function (res) {
|
|
20757
20757
|
var status = res.status,
|
|
20758
20758
|
data = res.data;
|
|
20759
20759
|
|
|
@@ -20784,7 +20784,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20784
20784
|
var _this5 = this;
|
|
20785
20785
|
|
|
20786
20786
|
Object(ajax["a" /* ajax */])({
|
|
20787
|
-
url: api["
|
|
20787
|
+
url: api["B" /* findCodeValues */],
|
|
20788
20788
|
params: {
|
|
20789
20789
|
ccCode: 'notification_type',
|
|
20790
20790
|
userId: Object(storage["a" /* getStorage */])('userId'),
|
|
@@ -20847,7 +20847,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20847
20847
|
pendingId: this.pendingId
|
|
20848
20848
|
};
|
|
20849
20849
|
this.loading = Object(util["K" /* loading */])('保存中');
|
|
20850
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
20850
|
+
Object(ajax["a" /* ajax */])({ url: api["uc" /* tempSave */], params: params }).then(function (res) {
|
|
20851
20851
|
var status = res.status,
|
|
20852
20852
|
message = res.message;
|
|
20853
20853
|
|
|
@@ -20920,7 +20920,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20920
20920
|
var _this10 = this;
|
|
20921
20921
|
|
|
20922
20922
|
Object(ajax["a" /* ajax */])({
|
|
20923
|
-
url: api["
|
|
20923
|
+
url: api["D" /* findSysCodes */]
|
|
20924
20924
|
}).then(function (res) {
|
|
20925
20925
|
var status = res.status,
|
|
20926
20926
|
message = res.message;
|
|
@@ -20948,7 +20948,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20948
20948
|
nodeId = _endFlowInfo.nodeId;
|
|
20949
20949
|
|
|
20950
20950
|
var param = {
|
|
20951
|
-
url: api["
|
|
20951
|
+
url: api["N" /* getFreeStartFlowParams */],
|
|
20952
20952
|
params: {
|
|
20953
20953
|
businessId: businessId,
|
|
20954
20954
|
processDefinitionId: processDefinitionId,
|
|
@@ -20988,7 +20988,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20988
20988
|
|
|
20989
20989
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
20990
20990
|
var params = {
|
|
20991
|
-
url: api["
|
|
20991
|
+
url: api["A" /* endFlowHtml */],
|
|
20992
20992
|
headers: { Accept: 'application/json,text/plain' },
|
|
20993
20993
|
method: 'post',
|
|
20994
20994
|
data: freeStartFlowvue_type_script_lang_js_extends({}, _this13.endFlowInfo, _this13.nextNode, {
|
|
@@ -21142,7 +21142,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
21142
21142
|
var _this15 = this;
|
|
21143
21143
|
|
|
21144
21144
|
var params = {
|
|
21145
|
-
url: api["
|
|
21145
|
+
url: api["pb" /* isCanStartSubFlow */],
|
|
21146
21146
|
data: {
|
|
21147
21147
|
appId: this.taskExamineInfo.appId,
|
|
21148
21148
|
inevitableNode: res.inevitableNode
|
|
@@ -21248,7 +21248,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
21248
21248
|
|
|
21249
21249
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
21250
21250
|
var params = {
|
|
21251
|
-
url: api["
|
|
21251
|
+
url: api["Ub" /* rejectAndEnd */],
|
|
21252
21252
|
headers: { Accept: 'application/json,text/plain' },
|
|
21253
21253
|
method: 'post',
|
|
21254
21254
|
data: {
|
|
@@ -21325,7 +21325,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
21325
21325
|
pendingId: this.pendingId,
|
|
21326
21326
|
businessId: this.businessIds
|
|
21327
21327
|
};
|
|
21328
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
21328
|
+
Object(ajax["a" /* ajax */])({ url: api["S" /* getNodeInfo */], params: params }).then(function (res) {
|
|
21329
21329
|
var status = res.status,
|
|
21330
21330
|
message = res.message,
|
|
21331
21331
|
data = res.data;
|
|
@@ -21572,7 +21572,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
21572
21572
|
pendingId: this.pendingId,
|
|
21573
21573
|
userId: Object(storage["a" /* getStorage */])('userId')
|
|
21574
21574
|
};
|
|
21575
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
21575
|
+
Object(ajax["a" /* ajax */])({ url: api["O" /* getHandleInfoHtml */], params: params }).then(function (res) {
|
|
21576
21576
|
//pc返回数据
|
|
21577
21577
|
|
|
21578
21578
|
_this24.loading.close();
|
|
@@ -21861,7 +21861,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
21861
21861
|
// onlyFlag: true
|
|
21862
21862
|
};
|
|
21863
21863
|
this.loading = Object(util["K" /* loading */])();
|
|
21864
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
21864
|
+
Object(ajax["a" /* ajax */])({ url: api["Y" /* getProcessDefList */], params: params }).then(function (res) {
|
|
21865
21865
|
var status = res.status,
|
|
21866
21866
|
message = res.message,
|
|
21867
21867
|
data = res.data;
|
|
@@ -21911,7 +21911,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
21911
21911
|
userId: Object(storage["a" /* getStorage */])('userId'),
|
|
21912
21912
|
type: 2
|
|
21913
21913
|
};
|
|
21914
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
21914
|
+
Object(ajax["a" /* ajax */])({ url: api["Jb" /* pendedhistoryList */], data: params, method: 'post' }).then(function (res) {
|
|
21915
21915
|
var rCode = res.rCode,
|
|
21916
21916
|
msg = res.msg,
|
|
21917
21917
|
results = res.results;
|
|
@@ -22103,7 +22103,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
22103
22103
|
params.isSubFlow = taskExamineInfo.isSubFlow;
|
|
22104
22104
|
params.nodeId = taskExamineInfo.nodeId;
|
|
22105
22105
|
params.needRetrialAuth = needRetrialAuth;
|
|
22106
|
-
return _context.abrupt('return', Object(ajax["a" /* ajax */])({ url: api["
|
|
22106
|
+
return _context.abrupt('return', Object(ajax["a" /* ajax */])({ url: api["lc" /* taskHandleHtml */], method: 'post', data: params }).then(function (res) {
|
|
22107
22107
|
var status = res.status,
|
|
22108
22108
|
message = res.message;
|
|
22109
22109
|
|
|
@@ -22522,7 +22522,7 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
22522
22522
|
pendingUserIds = _nextNode.pendingUserIds;
|
|
22523
22523
|
|
|
22524
22524
|
var params = {
|
|
22525
|
-
url: api["
|
|
22525
|
+
url: api["Hc" /* toTaskSuperviseSub */],
|
|
22526
22526
|
params: {
|
|
22527
22527
|
userId: Object(storage["a" /* getStorage */])('userId'),
|
|
22528
22528
|
urgeUserIds: pendingUserIds,
|
|
@@ -22556,7 +22556,7 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
22556
22556
|
|
|
22557
22557
|
this.loading = Object(util["K" /* loading */])();
|
|
22558
22558
|
Object(ajax["a" /* ajax */])({
|
|
22559
|
-
url: api["
|
|
22559
|
+
url: api["Gc" /* toTaskSupervise */],
|
|
22560
22560
|
params: {
|
|
22561
22561
|
businessId: this.businessId,
|
|
22562
22562
|
appId: this.appId,
|
|
@@ -23096,7 +23096,7 @@ Circulatevue_type_template_id_4a01deae_render._withStripped = true
|
|
|
23096
23096
|
return Object(util["ab" /* warning */])('请选择处理对象!');
|
|
23097
23097
|
}
|
|
23098
23098
|
var param = {
|
|
23099
|
-
url: this.showBtn || this.startFlowPageEmbeddedIntoStartFlowIndex ? api["
|
|
23099
|
+
url: this.showBtn || this.startFlowPageEmbeddedIntoStartFlowIndex ? api["r" /* directStartTaskCircularRead */] : api["z" /* endFlowAndStartTaskCircularRead */],
|
|
23100
23100
|
data: {
|
|
23101
23101
|
opinion: opinion,
|
|
23102
23102
|
businessId: businessId,
|
|
@@ -23182,7 +23182,7 @@ Circulatevue_type_template_id_4a01deae_render._withStripped = true
|
|
|
23182
23182
|
var _this2 = this;
|
|
23183
23183
|
|
|
23184
23184
|
Object(ajax["a" /* ajax */])({
|
|
23185
|
-
url: api["
|
|
23185
|
+
url: api["B" /* findCodeValues */],
|
|
23186
23186
|
params: {
|
|
23187
23187
|
ccCode: 'notification_type',
|
|
23188
23188
|
userId: Object(storage["a" /* getStorage */])('userId'),
|
|
@@ -23215,7 +23215,7 @@ Circulatevue_type_template_id_4a01deae_render._withStripped = true
|
|
|
23215
23215
|
if (!this.showBtn) {
|
|
23216
23216
|
params.openMode = 'samepage';
|
|
23217
23217
|
}
|
|
23218
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
23218
|
+
Object(ajax["a" /* ajax */])({ url: api["U" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
|
|
23219
23219
|
if (res.status === 'success') {
|
|
23220
23220
|
if (!_this3.showBtn) {
|
|
23221
23221
|
_this3.oldMessage = res.message;
|
|
@@ -23233,7 +23233,7 @@ Circulatevue_type_template_id_4a01deae_render._withStripped = true
|
|
|
23233
23233
|
var _this4 = this;
|
|
23234
23234
|
|
|
23235
23235
|
Object(ajax["a" /* ajax */])({
|
|
23236
|
-
url: api["
|
|
23236
|
+
url: api["D" /* findSysCodes */]
|
|
23237
23237
|
}).then(function (res) {
|
|
23238
23238
|
var status = res.status,
|
|
23239
23239
|
message = res.message;
|
|
@@ -23521,7 +23521,7 @@ FreeCirculationvue_type_template_id_4191f68c_render._withStripped = true
|
|
|
23521
23521
|
|
|
23522
23522
|
if (!this.nextNode.nextCurrentOrgObj && !this.nextNode.nextOtherOrgObj) return warning('请选择下步办理对象!');
|
|
23523
23523
|
var param = {
|
|
23524
|
-
url: api["
|
|
23524
|
+
url: api["H" /* freeTaskCircularRead */],
|
|
23525
23525
|
data: {
|
|
23526
23526
|
appId: this.appId || this.params.appId,
|
|
23527
23527
|
nextCurrentOrgObj: this.nextNode.nextCurrentOrgObj,
|
|
@@ -23556,7 +23556,7 @@ FreeCirculationvue_type_template_id_4191f68c_render._withStripped = true
|
|
|
23556
23556
|
var _this2 = this;
|
|
23557
23557
|
|
|
23558
23558
|
var param = {
|
|
23559
|
-
url: api["
|
|
23559
|
+
url: api["wc" /* toFreeTaskCircularRead */],
|
|
23560
23560
|
params: { appId: this.appId || this.params.appId }
|
|
23561
23561
|
};
|
|
23562
23562
|
this.loading = Object(util["K" /* loading */])();
|
|
@@ -25542,7 +25542,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25542
25542
|
var _this = this;
|
|
25543
25543
|
|
|
25544
25544
|
var params = {
|
|
25545
|
-
url: api["
|
|
25545
|
+
url: api["eb" /* getUrgencyLevelChangedNotificationType */],
|
|
25546
25546
|
params: { urgencyLevel: this.urgencyLevel }
|
|
25547
25547
|
};
|
|
25548
25548
|
Object(ajax["a" /* ajax */])(params).then(function (res) {
|
|
@@ -25594,7 +25594,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25594
25594
|
var _this3 = this;
|
|
25595
25595
|
|
|
25596
25596
|
var params = {
|
|
25597
|
-
url: api["
|
|
25597
|
+
url: api["T" /* getNodeInfoForStart */],
|
|
25598
25598
|
params: { processDefinitionId: processDefinitionId }
|
|
25599
25599
|
};
|
|
25600
25600
|
Object(ajax["a" /* ajax */])(params).then(function (res) {
|
|
@@ -25739,7 +25739,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25739
25739
|
var _this5 = this;
|
|
25740
25740
|
|
|
25741
25741
|
var params = {
|
|
25742
|
-
url: api["
|
|
25742
|
+
url: api["I" /* getAdjunctFileInfos */],
|
|
25743
25743
|
params: { ownId: ownId, code: code }
|
|
25744
25744
|
};
|
|
25745
25745
|
Object(ajax["a" /* ajax */])(params).then(function (res) {
|
|
@@ -25823,7 +25823,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25823
25823
|
taskAction: 'complete'
|
|
25824
25824
|
};
|
|
25825
25825
|
Object(ajax["a" /* ajax */])({
|
|
25826
|
-
url: api["
|
|
25826
|
+
url: api["mc" /* taskReadHtml */],
|
|
25827
25827
|
params: { taskAction: 'complete' },
|
|
25828
25828
|
headers: {
|
|
25829
25829
|
Accept: 'application/json,text/plain'
|
|
@@ -25870,7 +25870,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25870
25870
|
|
|
25871
25871
|
this.loading = Object(util["K" /* loading */])();
|
|
25872
25872
|
Object(ajax["a" /* ajax */])({
|
|
25873
|
-
url: api["
|
|
25873
|
+
url: api["Bc" /* toStartTaskReadIndex */],
|
|
25874
25874
|
params: { pendingId: this.pendingId }
|
|
25875
25875
|
}).then(function (res) {
|
|
25876
25876
|
var status = res.status,
|
|
@@ -25911,7 +25911,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25911
25911
|
if (mainConfig) {
|
|
25912
25912
|
this.userModel = JSON.parse(mainConfig).userModel;
|
|
25913
25913
|
} else {
|
|
25914
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
25914
|
+
Object(ajax["a" /* ajax */])({ url: api["rb" /* loginUserInfo */] }).then(function (res) {
|
|
25915
25915
|
var status = res.status,
|
|
25916
25916
|
data = res.data;
|
|
25917
25917
|
|
|
@@ -25942,7 +25942,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25942
25942
|
var _this10 = this;
|
|
25943
25943
|
|
|
25944
25944
|
var params = {
|
|
25945
|
-
url: api["
|
|
25945
|
+
url: api["B" /* findCodeValues */],
|
|
25946
25946
|
params: {
|
|
25947
25947
|
ccCode: 'notification_type',
|
|
25948
25948
|
userId: Object(storage["a" /* getStorage */])('userId'),
|
|
@@ -26006,7 +26006,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26006
26006
|
pendingId: this.pendingId
|
|
26007
26007
|
};
|
|
26008
26008
|
this.loading = Object(util["K" /* loading */])('保存中');
|
|
26009
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
26009
|
+
Object(ajax["a" /* ajax */])({ url: api["uc" /* tempSave */], data: params, method: 'post' }).then(function (res) {
|
|
26010
26010
|
var status = res.status,
|
|
26011
26011
|
message = res.message;
|
|
26012
26012
|
|
|
@@ -26086,7 +26086,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26086
26086
|
var _this15 = this;
|
|
26087
26087
|
|
|
26088
26088
|
Object(ajax["a" /* ajax */])({
|
|
26089
|
-
url: api["
|
|
26089
|
+
url: api["D" /* findSysCodes */]
|
|
26090
26090
|
}).then(function (res) {
|
|
26091
26091
|
var status = res.status,
|
|
26092
26092
|
message = res.message;
|
|
@@ -26114,7 +26114,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26114
26114
|
nodeId = _endFlowInfo.nodeId;
|
|
26115
26115
|
|
|
26116
26116
|
var param = {
|
|
26117
|
-
url: api["
|
|
26117
|
+
url: api["N" /* getFreeStartFlowParams */],
|
|
26118
26118
|
params: {
|
|
26119
26119
|
businessId: businessId,
|
|
26120
26120
|
processDefinitionId: processDefinitionId,
|
|
@@ -26167,7 +26167,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26167
26167
|
|
|
26168
26168
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
26169
26169
|
var params = {
|
|
26170
|
-
url: api["
|
|
26170
|
+
url: api["A" /* endFlowHtml */],
|
|
26171
26171
|
headers: { Accept: 'application/json,text/plain' },
|
|
26172
26172
|
method: 'post',
|
|
26173
26173
|
data: mainvue_type_script_lang_js_extends({}, _this18.endFlowInfo, _this18.nextNode, {
|
|
@@ -26322,7 +26322,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26322
26322
|
var _this20 = this;
|
|
26323
26323
|
|
|
26324
26324
|
var params = {
|
|
26325
|
-
url: api["
|
|
26325
|
+
url: api["pb" /* isCanStartSubFlow */],
|
|
26326
26326
|
data: {
|
|
26327
26327
|
appId: this.taskExamineInfo.appId,
|
|
26328
26328
|
inevitableNode: value.inevitableNode
|
|
@@ -26450,7 +26450,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26450
26450
|
|
|
26451
26451
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
26452
26452
|
var params = {
|
|
26453
|
-
url: api["
|
|
26453
|
+
url: api["Ub" /* rejectAndEnd */],
|
|
26454
26454
|
headers: { Accept: 'application/json,text/plain' },
|
|
26455
26455
|
method: 'post',
|
|
26456
26456
|
data: {
|
|
@@ -26522,7 +26522,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26522
26522
|
pendingId: this.pendingId,
|
|
26523
26523
|
businessId: this.businessIds
|
|
26524
26524
|
};
|
|
26525
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
26525
|
+
Object(ajax["a" /* ajax */])({ url: api["S" /* getNodeInfo */], params: params }).then(function (res) {
|
|
26526
26526
|
var status = res.status,
|
|
26527
26527
|
message = res.message,
|
|
26528
26528
|
data = res.data;
|
|
@@ -26800,7 +26800,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26800
26800
|
pendingId: this.pendingId,
|
|
26801
26801
|
userId: Object(storage["a" /* getStorage */])('userId')
|
|
26802
26802
|
};
|
|
26803
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
26803
|
+
Object(ajax["a" /* ajax */])({ url: api["O" /* getHandleInfoHtml */], params: params }).then(function (res) {
|
|
26804
26804
|
//pc返回数据
|
|
26805
26805
|
|
|
26806
26806
|
_this29.loading && _this29.loading.close();
|
|
@@ -27156,7 +27156,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
27156
27156
|
hideTempSave: true
|
|
27157
27157
|
}, this.param);
|
|
27158
27158
|
this.loading = Object(util["K" /* loading */])();
|
|
27159
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
27159
|
+
Object(ajax["a" /* ajax */])({ url: api["Y" /* getProcessDefList */], params: params }).then(function (res) {
|
|
27160
27160
|
var status = res.status,
|
|
27161
27161
|
message = res.message,
|
|
27162
27162
|
data = res.data;
|
|
@@ -27215,7 +27215,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
27215
27215
|
userId: Object(storage["a" /* getStorage */])('userId'),
|
|
27216
27216
|
type: 2
|
|
27217
27217
|
};
|
|
27218
|
-
Object(ajax["a" /* ajax */])({ url: api["
|
|
27218
|
+
Object(ajax["a" /* ajax */])({ url: api["Jb" /* pendedhistoryList */], data: params, method: 'post' }).then(function (res) {
|
|
27219
27219
|
var rCode = res.rCode,
|
|
27220
27220
|
msg = res.msg,
|
|
27221
27221
|
results = res.results;
|
|
@@ -27541,7 +27541,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
27541
27541
|
if (!currentNodeEnableItemHandleDescription) {
|
|
27542
27542
|
delete params.nextItemHandleDescription;
|
|
27543
27543
|
}
|
|
27544
|
-
return _context.abrupt('return', Object(ajax["a" /* ajax */])({ url: api["
|
|
27544
|
+
return _context.abrupt('return', Object(ajax["a" /* ajax */])({ url: api["lc" /* taskHandleHtml */], method: 'post', data: params }).then(function (res) {
|
|
27545
27545
|
var status = res.status,
|
|
27546
27546
|
message = res.message;
|
|
27547
27547
|
|
|
@@ -28031,146 +28031,146 @@ module.exports = require("eoss/lib/dropdown");
|
|
|
28031
28031
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
28032
28032
|
|
|
28033
28033
|
"use strict";
|
|
28034
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28035
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28036
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28037
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28038
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28039
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28034
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return doCaLogin; });
|
|
28035
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return doUserLogin; });
|
|
28036
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return doQrLogin; });
|
|
28037
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return logout; });
|
|
28038
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return initLogin; });
|
|
28039
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ic", function() { return switchUserTo; });
|
|
28040
28040
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return changeImg; });
|
|
28041
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28042
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28041
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return getLoginCode; });
|
|
28042
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return doCodeLogin; });
|
|
28043
28043
|
/* unused harmony export updateCode */
|
|
28044
|
-
/*
|
|
28045
|
-
/*
|
|
28046
|
-
/*
|
|
28044
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getModifyPassCode; });
|
|
28045
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return codeModifyPass; });
|
|
28046
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return loginModifyPassword; });
|
|
28047
28047
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return authCenter; });
|
|
28048
|
-
/*
|
|
28048
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return initModifyPassword; });
|
|
28049
28049
|
/* unused harmony export doWechatQrLogin */
|
|
28050
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28050
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return getTwoFactorLoginCode; });
|
|
28051
28051
|
/* unused harmony export doTwoFactorLogin */
|
|
28052
28052
|
/* unused harmony export initRetrialAuth */
|
|
28053
28053
|
/* unused harmony export getRetrialAuthCode */
|
|
28054
28054
|
/* unused harmony export scanCodeRetrialAuth */
|
|
28055
28055
|
/* unused harmony export codeRetrialAuth */
|
|
28056
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28057
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28058
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28059
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28060
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28061
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28062
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28063
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28056
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return doAssistanceQrLogin; });
|
|
28057
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vc", function() { return userOnline; });
|
|
28058
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return getUserAppWithTag; });
|
|
28059
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return recordUserApp; });
|
|
28060
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return getUserRecordApp; });
|
|
28061
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return mainConfig; });
|
|
28062
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return initUserSet; });
|
|
28063
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rc", function() { return updateUserInfo; });
|
|
28064
28064
|
/* unused harmony export getUserImgUrl */
|
|
28065
28065
|
/* unused harmony export getDoorIndex */
|
|
28066
28066
|
/* unused harmony export refreshOnlineUsers */
|
|
28067
28067
|
/* unused harmony export getQuickMenuIds */
|
|
28068
28068
|
/* unused harmony export getApplicationIdArray */
|
|
28069
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28070
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28071
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28072
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28069
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getComplexApplications; });
|
|
28070
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getComplexApplicationsNew; });
|
|
28071
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return getMainAppWithTag; });
|
|
28072
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getByType; });
|
|
28073
28073
|
/* unused harmony export getUserCustomInfo */
|
|
28074
28074
|
/* unused harmony export updateUserCustomInfo */
|
|
28075
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28076
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28077
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28078
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28079
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28080
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28081
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28082
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28083
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28084
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28075
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dc", function() { return saveOrUpdate; });
|
|
28076
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jc", function() { return sysMsgPage; });
|
|
28077
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return ignoreSysMsg; });
|
|
28078
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return ignoreAllSysMsg; });
|
|
28079
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ec", function() { return searchType; });
|
|
28080
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return getSysParam; });
|
|
28081
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return getAdjunctProperties; });
|
|
28082
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Uc", function() { return uploads; });
|
|
28083
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tc", function() { return uploadOnlyOne; });
|
|
28084
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getAdjunctFileInfos; });
|
|
28085
28085
|
/* unused harmony export uploadSort */
|
|
28086
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28087
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28088
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28089
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28090
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28091
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28086
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return downloadByAdjunctId; });
|
|
28087
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sc", function() { return uploadDownloads; });
|
|
28088
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return previewAdjunct; });
|
|
28089
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return previewAdjunct2; });
|
|
28090
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return previewAdjunctOffice; });
|
|
28091
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return delAdjunct; });
|
|
28092
28092
|
/* unused harmony export upload_updateClassify */
|
|
28093
28093
|
/* unused harmony export getDeleteAdjunctFileInfos */
|
|
28094
28094
|
/* unused harmony export getPictureBase64 */
|
|
28095
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28096
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28097
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28095
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return getSelectorOrgTree; });
|
|
28096
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return getSelectorOrgDetail; });
|
|
28097
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return getOrgMainTree; });
|
|
28098
28098
|
/* unused harmony export getSelectOrgsubids */
|
|
28099
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28099
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return findSysCode; });
|
|
28100
28100
|
/* unused harmony export getDictList */
|
|
28101
28101
|
/* unused harmony export findUserBaseInfo */
|
|
28102
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28102
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return gethelpdoc; });
|
|
28103
28103
|
/* unused harmony export getCurrentuser */
|
|
28104
28104
|
/* unused harmony export mainDetail */
|
|
28105
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28106
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28107
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28105
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zc", function() { return toStartFlow; });
|
|
28106
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "uc", function() { return tempSave; });
|
|
28107
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return commonOpion; });
|
|
28108
28108
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
|
|
28109
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28110
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28111
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28112
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28113
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28114
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28115
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28116
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28117
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28118
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28119
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28120
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28109
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return editCommonOpion; });
|
|
28110
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cc", function() { return saveCommonOpinion; });
|
|
28111
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pc", function() { return updateCommonOpinion; });
|
|
28112
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return deleteCommonOpion; });
|
|
28113
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return getProcessDefList; });
|
|
28114
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return getNodeInfo; });
|
|
28115
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return findCodeValues; });
|
|
28116
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return findSysParam; });
|
|
28117
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return findSysCodes; });
|
|
28118
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return getNotificationMsg; });
|
|
28119
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return getHandleInfoHtml; });
|
|
28120
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lc", function() { return taskHandleHtml; });
|
|
28121
28121
|
/* unused harmony export getView */
|
|
28122
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28123
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28124
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28125
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28126
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28127
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28128
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28129
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28130
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28131
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28132
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28133
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28134
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28135
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28136
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28137
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28138
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28139
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28140
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28122
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return register; });
|
|
28123
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return pendedhistoryList; });
|
|
28124
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Dc", function() { return toTaskRejectHtml; });
|
|
28125
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nc", function() { return taskRejectHtml; });
|
|
28126
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ac", function() { return toStartTaskRead; });
|
|
28127
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bc", function() { return toStartTaskReadIndex; });
|
|
28128
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mc", function() { return taskReadHtml; });
|
|
28129
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return rejectAndEnd; });
|
|
28130
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yc", function() { return toSendMsg; });
|
|
28131
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fc", function() { return sendMsg; });
|
|
28132
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return endFlowHtml; });
|
|
28133
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return handleInfo; });
|
|
28134
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return loginUserInfo; });
|
|
28135
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wc", function() { return wss; });
|
|
28136
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nc", function() { return topic; });
|
|
28137
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return getPresetCustomInfo; });
|
|
28138
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return getPresetNodeInfo; });
|
|
28139
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jc", function() { return toTaskTransferIndex; });
|
|
28140
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rc", function() { return taskTransfer; });
|
|
28141
28141
|
/* unused harmony export toPresetInfoListIndex */
|
|
28142
28142
|
/* unused harmony export deletePresetInfo */
|
|
28143
28143
|
/* unused harmony export historyListJson */
|
|
28144
28144
|
/* unused harmony export pendedhistoryListJson */
|
|
28145
28145
|
/* unused harmony export pressListJson */
|
|
28146
28146
|
/* unused harmony export deleteFlow */
|
|
28147
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28148
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28149
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28150
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28151
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28152
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28153
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28154
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28155
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28156
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28157
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28158
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28159
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28160
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28161
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28162
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28163
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28164
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28165
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28166
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28167
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28147
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return isCanStartSubFlow; });
|
|
28148
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kc", function() { return toTaskUnionExamine; });
|
|
28149
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sc", function() { return taskUnionExamine; });
|
|
28150
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ic", function() { return toTaskTakeAdvice; });
|
|
28151
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qc", function() { return taskTakeAdvice; });
|
|
28152
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fc", function() { return toTaskStartDraft; });
|
|
28153
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gc", function() { return toTaskSupervise; });
|
|
28154
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hc", function() { return toTaskSuperviseSub; });
|
|
28155
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pc", function() { return taskStartDraft; });
|
|
28156
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ec", function() { return toTaskReview; });
|
|
28157
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "oc", function() { return taskReview; });
|
|
28158
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lc", function() { return toTaskUnionSeal; });
|
|
28159
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tc", function() { return taskUnionSeal; });
|
|
28160
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mc", function() { return toTwoOfficesDispatch; });
|
|
28161
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Oc", function() { return twoOfficesDispatch; });
|
|
28162
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xc", function() { return toResetProcessIndex; });
|
|
28163
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return resetProcess; });
|
|
28164
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cc", function() { return toTaskContinuationIndex; });
|
|
28165
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kc", function() { return taskContinuation; });
|
|
28166
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return getFreeStartFlowParams; });
|
|
28167
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return freeStartFlowWithSubmitTask; });
|
|
28168
28168
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return checkForeignOrgStartedCircularRead; });
|
|
28169
28169
|
/* unused harmony export pendedhistoryListWithCircularReadJson */
|
|
28170
28170
|
/* unused harmony export fyListJson */
|
|
28171
28171
|
/* unused harmony export circularReadWithdraw */
|
|
28172
28172
|
/* unused harmony export taskReadWithDraw */
|
|
28173
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28173
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gc", function() { return startReadTransferHandleFlowWithTaskReadEnd; });
|
|
28174
28174
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return checkBusinessIdStartedReadTransferHandle; });
|
|
28175
28175
|
/* unused harmony export sendList */
|
|
28176
28176
|
/* unused harmony export sendInfo */
|
|
@@ -28179,56 +28179,56 @@ module.exports = require("eoss/lib/dropdown");
|
|
|
28179
28179
|
/* unused harmony export sendDelete */
|
|
28180
28180
|
/* unused harmony export sendBatch */
|
|
28181
28181
|
/* unused harmony export formContents */
|
|
28182
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28183
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28184
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28185
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28186
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28187
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28188
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28189
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28182
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return directStartTaskCircularRead; });
|
|
28183
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return endFlowAndStartTaskCircularRead; });
|
|
28184
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return getNodeInfoForStart; });
|
|
28185
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return freeStartFlow; });
|
|
28186
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return getUrgencyLevelChangedNotificationType; });
|
|
28187
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wc", function() { return toFreeTaskCircularRead; });
|
|
28188
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return freeTaskCircularRead; });
|
|
28189
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return pageLists; });
|
|
28190
28190
|
/* unused harmony export publishedLists */
|
|
28191
28191
|
/* unused harmony export pageInfo */
|
|
28192
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28193
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28194
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28195
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28192
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return pageGroup; });
|
|
28193
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return pageSave; });
|
|
28194
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return pageUpdate; });
|
|
28195
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return pageDelete; });
|
|
28196
28196
|
/* unused harmony export pageTargetDelete */
|
|
28197
28197
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return batchSave; });
|
|
28198
28198
|
/* unused harmony export batchUpdate */
|
|
28199
28199
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return batchDelete; });
|
|
28200
28200
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return batchList; });
|
|
28201
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28202
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28203
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28204
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28205
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28206
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28207
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28208
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28209
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28210
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28211
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28212
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28213
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28214
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28215
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28216
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28217
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28218
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28219
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28201
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return processListJson; });
|
|
28202
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return processInfo; });
|
|
28203
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return processDeleteJson; });
|
|
28204
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return processSave; });
|
|
28205
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return processUpdate; });
|
|
28206
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return nodeListJson; });
|
|
28207
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return nodeDeleteJson; });
|
|
28208
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return nodeSave; });
|
|
28209
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return nodeUpdate; });
|
|
28210
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return nodeInfo; });
|
|
28211
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return moduleListJson; });
|
|
28212
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return moduleInfo; });
|
|
28213
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return moduleDelete; });
|
|
28214
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return moduleSave; });
|
|
28215
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return moduleUpdate; });
|
|
28216
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return ruleListJson; });
|
|
28217
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return ruleEdit; });
|
|
28218
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return ruleRead; });
|
|
28219
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return ruleSave; });
|
|
28220
28220
|
/* unused harmony export ruleSupplement */
|
|
28221
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28222
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28223
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28221
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return ruleUndore; });
|
|
28222
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return ruleAdd; });
|
|
28223
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return companyDetail; });
|
|
28224
28224
|
/* unused harmony export issueDetailList */
|
|
28225
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28226
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28227
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28228
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28229
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28230
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28231
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
28225
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return deleteRule; });
|
|
28226
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return getSysParamV1; });
|
|
28227
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return companyList; });
|
|
28228
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hc", function() { return supplement; });
|
|
28229
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return isAddSource; });
|
|
28230
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vc", function() { return tiggerInTime; });
|
|
28231
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qc", function() { return updateHistory; });
|
|
28232
28232
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return auditTrajectory; });
|
|
28233
28233
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return changeInTime; });
|
|
28234
28234
|
var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
|
|
@@ -28678,759 +28678,736 @@ module.exports = require("eoss/lib/tag");
|
|
|
28678
28678
|
/* unused harmony export getSecond */
|
|
28679
28679
|
/* unused harmony export getWeekday */
|
|
28680
28680
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return timeCycle; });
|
|
28681
|
-
|
|
28682
|
-
|
|
28683
|
-
* The MIT License (MIT)
|
|
28684
|
-
*
|
|
28685
|
-
* Copyright (c) 2015 Taylor Hakes
|
|
28686
|
-
*
|
|
28687
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
28688
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
28689
|
-
* in the Software without restriction, including without limitation the rights
|
|
28690
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
28691
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
28692
|
-
* furnished to do so, subject to the following conditions:
|
|
28693
|
-
*
|
|
28694
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
28695
|
-
* copies or substantial portions of the Software.
|
|
28696
|
-
*
|
|
28697
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
28698
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
28699
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
28700
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
28701
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28702
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28703
|
-
* SOFTWARE.
|
|
28704
|
-
*/
|
|
28705
|
-
|
|
28706
|
-
/*eslint-disable*/
|
|
28707
|
-
// 把 YYYY-MM-DD 改成了 yyyy-MM-dd
|
|
28708
|
-
|
|
28709
|
-
|
|
28681
|
+
|
|
28682
|
+
|
|
28710
28683
|
/**
|
|
28711
28684
|
* Parse or format dates
|
|
28712
28685
|
* @class fecha
|
|
28713
|
-
*/
|
|
28714
|
-
|
|
28715
|
-
|
|
28716
|
-
|
|
28717
|
-
|
|
28718
|
-
|
|
28719
|
-
|
|
28720
|
-
|
|
28721
|
-
|
|
28722
|
-
|
|
28723
|
-
function regexEscape(str) {
|
|
28724
|
-
return str.replace(/[|\\{()[^$+*?.-]/g, '\\$&');
|
|
28725
|
-
}
|
|
28726
|
-
|
|
28727
|
-
function shorten(arr, sLen) {
|
|
28728
|
-
|
|
28729
|
-
for (
|
|
28730
|
-
newArr.push(arr[i].substr(0, sLen));
|
|
28731
|
-
}
|
|
28732
|
-
return newArr;
|
|
28733
|
-
}
|
|
28734
|
-
|
|
28735
|
-
function monthUpdate() {
|
|
28736
|
-
return function (d, v) {
|
|
28737
|
-
|
|
28738
|
-
if (~index) {
|
|
28739
|
-
d.month = index;
|
|
28740
|
-
}
|
|
28741
|
-
};
|
|
28742
|
-
}
|
|
28743
|
-
|
|
28744
|
-
function pad(val, len) {
|
|
28745
|
-
val = String(val);
|
|
28746
|
-
len = len || 2;
|
|
28747
|
-
while (val.length < len) {
|
|
28748
|
-
val = '0' + val;
|
|
28749
|
-
}
|
|
28750
|
-
return val;
|
|
28751
|
-
}
|
|
28752
|
-
|
|
28753
|
-
// 直接使用中文日期名称常量
|
|
28754
|
-
|
|
28755
|
-
|
|
28756
|
-
|
|
28757
|
-
|
|
28758
|
-
|
|
28759
|
-
|
|
28760
|
-
return D + '日';
|
|
28761
|
-
};
|
|
28762
|
-
|
|
28763
|
-
|
|
28764
|
-
D: function(dateObj) {
|
|
28765
|
-
return dateObj.getDay();
|
|
28766
|
-
},
|
|
28767
|
-
DD: function(dateObj) {
|
|
28768
|
-
return pad(dateObj.getDay());
|
|
28769
|
-
},
|
|
28770
|
-
Do: function(dateObj) {
|
|
28771
|
-
return DoFn(dateObj.getDate());
|
|
28772
|
-
},
|
|
28773
|
-
d: function(dateObj) {
|
|
28774
|
-
return dateObj.getDate();
|
|
28775
|
-
},
|
|
28776
|
-
dd: function(dateObj) {
|
|
28777
|
-
return pad(dateObj.getDate());
|
|
28778
|
-
},
|
|
28779
|
-
ddd: function(dateObj) {
|
|
28780
|
-
return dayNamesShort[dateObj.getDay()];
|
|
28781
|
-
},
|
|
28782
|
-
dddd: function(dateObj) {
|
|
28783
|
-
return dayNames[dateObj.getDay()];
|
|
28784
|
-
},
|
|
28785
|
-
M: function(dateObj) {
|
|
28786
|
-
return dateObj.getMonth() + 1;
|
|
28787
|
-
},
|
|
28788
|
-
MM: function(dateObj) {
|
|
28789
|
-
return pad(dateObj.getMonth() + 1);
|
|
28790
|
-
},
|
|
28791
|
-
MMM: function(dateObj) {
|
|
28792
|
-
return monthNamesShort[dateObj.getMonth()];
|
|
28793
|
-
},
|
|
28794
|
-
MMMM: function(dateObj) {
|
|
28795
|
-
return monthNames[dateObj.getMonth()];
|
|
28796
|
-
},
|
|
28797
|
-
yy: function(dateObj) {
|
|
28798
|
-
return pad(String(dateObj.getFullYear()), 4).substr(2);
|
|
28799
|
-
},
|
|
28800
|
-
yyyy: function(dateObj) {
|
|
28801
|
-
return pad(dateObj.getFullYear(), 4);
|
|
28802
|
-
},
|
|
28803
|
-
h: function(dateObj) {
|
|
28804
|
-
return dateObj.getHours() % 12 || 12;
|
|
28805
|
-
},
|
|
28806
|
-
hh: function(dateObj) {
|
|
28807
|
-
return pad(dateObj.getHours() % 12 || 12);
|
|
28808
|
-
},
|
|
28809
|
-
H: function(dateObj) {
|
|
28810
|
-
return dateObj.getHours();
|
|
28811
|
-
},
|
|
28812
|
-
HH: function(dateObj) {
|
|
28813
|
-
return pad(dateObj.getHours());
|
|
28814
|
-
},
|
|
28815
|
-
m: function(dateObj) {
|
|
28816
|
-
return dateObj.getMinutes();
|
|
28817
|
-
},
|
|
28818
|
-
mm: function(dateObj) {
|
|
28819
|
-
return pad(dateObj.getMinutes());
|
|
28820
|
-
},
|
|
28821
|
-
s: function(dateObj) {
|
|
28822
|
-
return dateObj.getSeconds();
|
|
28823
|
-
},
|
|
28824
|
-
ss: function(dateObj) {
|
|
28825
|
-
return pad(dateObj.getSeconds());
|
|
28826
|
-
},
|
|
28827
|
-
S: function(dateObj) {
|
|
28828
|
-
return Math.round(dateObj.getMilliseconds() / 100);
|
|
28829
|
-
},
|
|
28830
|
-
SS: function(dateObj) {
|
|
28831
|
-
return pad(Math.round(dateObj.getMilliseconds() / 10), 2);
|
|
28832
|
-
},
|
|
28833
|
-
SSS: function(dateObj) {
|
|
28834
|
-
return pad(dateObj.getMilliseconds(), 3);
|
|
28835
|
-
},
|
|
28836
|
-
a: function(dateObj) {
|
|
28837
|
-
return dateObj.getHours() < 12 ? '上午' : '下午';
|
|
28838
|
-
},
|
|
28839
|
-
A: function(dateObj) {
|
|
28840
|
-
return dateObj.getHours() < 12 ? '上午' : '下午';
|
|
28841
|
-
},
|
|
28842
|
-
ZZ: function(dateObj) {
|
|
28843
|
-
|
|
28844
|
-
return (o > 0 ? '-' : '+') + pad(Math.floor(Math.abs(o) / 60) * 100 + Math.abs(o) % 60, 4);
|
|
28845
|
-
}
|
|
28846
|
-
};
|
|
28847
|
-
|
|
28848
|
-
|
|
28849
|
-
d: [twoDigits, function (d, v) {
|
|
28850
|
-
d.day = v;
|
|
28851
|
-
}],
|
|
28852
|
-
Do: [twoDigits + word, function (d, v) {
|
|
28853
|
-
d.day = parseInt(v, 10);
|
|
28854
|
-
}],
|
|
28855
|
-
M: [twoDigits, function (d, v) {
|
|
28856
|
-
d.month = v - 1;
|
|
28857
|
-
}],
|
|
28858
|
-
yy: [twoDigits, function (d, v) {
|
|
28859
|
-
|
|
28860
|
-
|
|
28861
|
-
|
|
28862
|
-
|
|
28863
|
-
|
|
28864
|
-
|
|
28865
|
-
|
|
28866
|
-
|
|
28867
|
-
|
|
28868
|
-
|
|
28869
|
-
|
|
28870
|
-
|
|
28871
|
-
|
|
28872
|
-
|
|
28873
|
-
|
|
28874
|
-
|
|
28875
|
-
|
|
28876
|
-
|
|
28877
|
-
|
|
28878
|
-
|
|
28879
|
-
|
|
28880
|
-
|
|
28881
|
-
|
|
28882
|
-
|
|
28883
|
-
|
|
28884
|
-
|
|
28885
|
-
|
|
28886
|
-
|
|
28887
|
-
|
|
28888
|
-
|
|
28889
|
-
|
|
28890
|
-
|
|
28891
|
-
|
|
28892
|
-
|
|
28893
|
-
|
|
28894
|
-
|
|
28895
|
-
|
|
28896
|
-
|
|
28897
|
-
|
|
28898
|
-
|
|
28899
|
-
|
|
28900
|
-
|
|
28901
|
-
|
|
28902
|
-
|
|
28903
|
-
}
|
|
28904
|
-
|
|
28905
|
-
|
|
28906
|
-
parseFlags.
|
|
28907
|
-
parseFlags.
|
|
28908
|
-
parseFlags.
|
|
28909
|
-
parseFlags.
|
|
28910
|
-
parseFlags.
|
|
28911
|
-
parseFlags.
|
|
28912
|
-
|
|
28913
|
-
|
|
28914
|
-
|
|
28915
|
-
|
|
28916
|
-
|
|
28917
|
-
|
|
28918
|
-
|
|
28919
|
-
|
|
28920
|
-
|
|
28921
|
-
|
|
28922
|
-
|
|
28923
|
-
|
|
28924
|
-
|
|
28925
|
-
|
|
28686
|
+
*/
|
|
28687
|
+
var fecha = {};
|
|
28688
|
+
var token = /d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g;
|
|
28689
|
+
var twoDigits = '\\d\\d?';
|
|
28690
|
+
var threeDigits = '\\d{3}';
|
|
28691
|
+
var fourDigits = '\\d{4}';
|
|
28692
|
+
var word = '[^\\s]+';
|
|
28693
|
+
var literal = /\[([^]*?)\]/gm;
|
|
28694
|
+
var noop = function noop() {};
|
|
28695
|
+
|
|
28696
|
+
function regexEscape(str) {
|
|
28697
|
+
return str.replace(/[|\\{()[^$+*?.-]/g, '\\$&');
|
|
28698
|
+
}
|
|
28699
|
+
|
|
28700
|
+
function shorten(arr, sLen) {
|
|
28701
|
+
var newArr = [];
|
|
28702
|
+
for (var i = 0, len = arr.length; i < len; i++) {
|
|
28703
|
+
newArr.push(arr[i].substr(0, sLen));
|
|
28704
|
+
}
|
|
28705
|
+
return newArr;
|
|
28706
|
+
}
|
|
28707
|
+
|
|
28708
|
+
function monthUpdate() {
|
|
28709
|
+
return function (d, v) {
|
|
28710
|
+
var index = ['january', 'february', 'march', 'april', 'may', 'june', 'july', 'august', 'september', 'october', 'november', 'december'].indexOf(v.toLowerCase());
|
|
28711
|
+
if (~index) {
|
|
28712
|
+
d.month = index;
|
|
28713
|
+
}
|
|
28714
|
+
};
|
|
28715
|
+
}
|
|
28716
|
+
|
|
28717
|
+
function pad(val, len) {
|
|
28718
|
+
val = String(val);
|
|
28719
|
+
len = len || 2;
|
|
28720
|
+
while (val.length < len) {
|
|
28721
|
+
val = '0' + val;
|
|
28722
|
+
}
|
|
28723
|
+
return val;
|
|
28724
|
+
}
|
|
28725
|
+
|
|
28726
|
+
// 直接使用中文日期名称常量
|
|
28727
|
+
var dayNames = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'];
|
|
28728
|
+
var monthNames = ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'];
|
|
28729
|
+
var monthNamesShort = ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'];
|
|
28730
|
+
var dayNamesShort = ['日', '一', '二', '三', '四', '五', '六'];
|
|
28731
|
+
var amPm = ['上午', '下午'];
|
|
28732
|
+
var DoFn = function DoFn(D) {
|
|
28733
|
+
return D + '日';
|
|
28734
|
+
};
|
|
28735
|
+
|
|
28736
|
+
var formatFlags = {
|
|
28737
|
+
D: function D(dateObj) {
|
|
28738
|
+
return dateObj.getDay();
|
|
28739
|
+
},
|
|
28740
|
+
DD: function DD(dateObj) {
|
|
28741
|
+
return pad(dateObj.getDay());
|
|
28742
|
+
},
|
|
28743
|
+
Do: function Do(dateObj) {
|
|
28744
|
+
return DoFn(dateObj.getDate());
|
|
28745
|
+
},
|
|
28746
|
+
d: function d(dateObj) {
|
|
28747
|
+
return dateObj.getDate();
|
|
28748
|
+
},
|
|
28749
|
+
dd: function dd(dateObj) {
|
|
28750
|
+
return pad(dateObj.getDate());
|
|
28751
|
+
},
|
|
28752
|
+
ddd: function ddd(dateObj) {
|
|
28753
|
+
return dayNamesShort[dateObj.getDay()];
|
|
28754
|
+
},
|
|
28755
|
+
dddd: function dddd(dateObj) {
|
|
28756
|
+
return dayNames[dateObj.getDay()];
|
|
28757
|
+
},
|
|
28758
|
+
M: function M(dateObj) {
|
|
28759
|
+
return dateObj.getMonth() + 1;
|
|
28760
|
+
},
|
|
28761
|
+
MM: function MM(dateObj) {
|
|
28762
|
+
return pad(dateObj.getMonth() + 1);
|
|
28763
|
+
},
|
|
28764
|
+
MMM: function MMM(dateObj) {
|
|
28765
|
+
return monthNamesShort[dateObj.getMonth()];
|
|
28766
|
+
},
|
|
28767
|
+
MMMM: function MMMM(dateObj) {
|
|
28768
|
+
return monthNames[dateObj.getMonth()];
|
|
28769
|
+
},
|
|
28770
|
+
yy: function yy(dateObj) {
|
|
28771
|
+
return pad(String(dateObj.getFullYear()), 4).substr(2);
|
|
28772
|
+
},
|
|
28773
|
+
yyyy: function yyyy(dateObj) {
|
|
28774
|
+
return pad(dateObj.getFullYear(), 4);
|
|
28775
|
+
},
|
|
28776
|
+
h: function h(dateObj) {
|
|
28777
|
+
return dateObj.getHours() % 12 || 12;
|
|
28778
|
+
},
|
|
28779
|
+
hh: function hh(dateObj) {
|
|
28780
|
+
return pad(dateObj.getHours() % 12 || 12);
|
|
28781
|
+
},
|
|
28782
|
+
H: function H(dateObj) {
|
|
28783
|
+
return dateObj.getHours();
|
|
28784
|
+
},
|
|
28785
|
+
HH: function HH(dateObj) {
|
|
28786
|
+
return pad(dateObj.getHours());
|
|
28787
|
+
},
|
|
28788
|
+
m: function m(dateObj) {
|
|
28789
|
+
return dateObj.getMinutes();
|
|
28790
|
+
},
|
|
28791
|
+
mm: function mm(dateObj) {
|
|
28792
|
+
return pad(dateObj.getMinutes());
|
|
28793
|
+
},
|
|
28794
|
+
s: function s(dateObj) {
|
|
28795
|
+
return dateObj.getSeconds();
|
|
28796
|
+
},
|
|
28797
|
+
ss: function ss(dateObj) {
|
|
28798
|
+
return pad(dateObj.getSeconds());
|
|
28799
|
+
},
|
|
28800
|
+
S: function S(dateObj) {
|
|
28801
|
+
return Math.round(dateObj.getMilliseconds() / 100);
|
|
28802
|
+
},
|
|
28803
|
+
SS: function SS(dateObj) {
|
|
28804
|
+
return pad(Math.round(dateObj.getMilliseconds() / 10), 2);
|
|
28805
|
+
},
|
|
28806
|
+
SSS: function SSS(dateObj) {
|
|
28807
|
+
return pad(dateObj.getMilliseconds(), 3);
|
|
28808
|
+
},
|
|
28809
|
+
a: function a(dateObj) {
|
|
28810
|
+
return dateObj.getHours() < 12 ? '上午' : '下午';
|
|
28811
|
+
},
|
|
28812
|
+
A: function A(dateObj) {
|
|
28813
|
+
return dateObj.getHours() < 12 ? '上午' : '下午';
|
|
28814
|
+
},
|
|
28815
|
+
ZZ: function ZZ(dateObj) {
|
|
28816
|
+
var o = dateObj.getTimezoneOffset();
|
|
28817
|
+
return (o > 0 ? '-' : '+') + pad(Math.floor(Math.abs(o) / 60) * 100 + Math.abs(o) % 60, 4);
|
|
28818
|
+
}
|
|
28819
|
+
};
|
|
28820
|
+
|
|
28821
|
+
var parseFlags = {
|
|
28822
|
+
d: [twoDigits, function (d, v) {
|
|
28823
|
+
d.day = v;
|
|
28824
|
+
}],
|
|
28825
|
+
Do: [twoDigits + word, function (d, v) {
|
|
28826
|
+
d.day = parseInt(v, 10);
|
|
28827
|
+
}],
|
|
28828
|
+
M: [twoDigits, function (d, v) {
|
|
28829
|
+
d.month = v - 1;
|
|
28830
|
+
}],
|
|
28831
|
+
yy: [twoDigits, function (d, v) {
|
|
28832
|
+
var da = new Date(),
|
|
28833
|
+
cent = +('' + da.getFullYear()).substr(0, 2);
|
|
28834
|
+
d.year = '' + (v > 68 ? cent - 1 : cent) + v;
|
|
28835
|
+
}],
|
|
28836
|
+
h: [twoDigits, function (d, v) {
|
|
28837
|
+
d.hour = v;
|
|
28838
|
+
}],
|
|
28839
|
+
m: [twoDigits, function (d, v) {
|
|
28840
|
+
d.minute = v;
|
|
28841
|
+
}],
|
|
28842
|
+
s: [twoDigits, function (d, v) {
|
|
28843
|
+
d.second = v;
|
|
28844
|
+
}],
|
|
28845
|
+
yyyy: [fourDigits, function (d, v) {
|
|
28846
|
+
d.year = v;
|
|
28847
|
+
}],
|
|
28848
|
+
S: ['\\d', function (d, v) {
|
|
28849
|
+
d.millisecond = v * 100;
|
|
28850
|
+
}],
|
|
28851
|
+
SS: ['\\d{2}', function (d, v) {
|
|
28852
|
+
d.millisecond = v * 10;
|
|
28853
|
+
}],
|
|
28854
|
+
SSS: [threeDigits, function (d, v) {
|
|
28855
|
+
d.millisecond = v;
|
|
28856
|
+
}],
|
|
28857
|
+
D: [twoDigits, noop],
|
|
28858
|
+
ddd: [word, noop],
|
|
28859
|
+
MMM: [word, monthUpdate('monthNamesShort')],
|
|
28860
|
+
MMMM: [word, monthUpdate('monthNames')],
|
|
28861
|
+
a: [word, function (d, v) {
|
|
28862
|
+
var val = v.toLowerCase();
|
|
28863
|
+
if (val === '上午') {
|
|
28864
|
+
d.isPm = false;
|
|
28865
|
+
} else if (val === '下午') {
|
|
28866
|
+
d.isPm = true;
|
|
28867
|
+
}
|
|
28868
|
+
}],
|
|
28869
|
+
ZZ: ['[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z', function (d, v) {
|
|
28870
|
+
var parts = (v + '').match(/([+-]|\d\d)/gi),
|
|
28871
|
+
minutes = void 0;
|
|
28872
|
+
|
|
28873
|
+
if (parts) {
|
|
28874
|
+
minutes = +(parts[1] * 60) + parseInt(parts[2], 10);
|
|
28875
|
+
d.timezoneOffset = parts[0] === '+' ? minutes : -minutes;
|
|
28876
|
+
}
|
|
28877
|
+
}]
|
|
28878
|
+
};
|
|
28879
|
+
parseFlags.dd = parseFlags.d;
|
|
28880
|
+
parseFlags.dddd = parseFlags.ddd;
|
|
28881
|
+
parseFlags.DD = parseFlags.D;
|
|
28882
|
+
parseFlags.mm = parseFlags.m;
|
|
28883
|
+
parseFlags.hh = parseFlags.H = parseFlags.HH = parseFlags.h;
|
|
28884
|
+
parseFlags.MM = parseFlags.M;
|
|
28885
|
+
parseFlags.ss = parseFlags.s;
|
|
28886
|
+
parseFlags.A = parseFlags.a;
|
|
28887
|
+
|
|
28888
|
+
// Some common format strings
|
|
28889
|
+
fecha.masks = {
|
|
28890
|
+
default: 'ddd MMM dd yyyy HH:mm:ss',
|
|
28891
|
+
shortDate: 'M/D/yy',
|
|
28892
|
+
mediumDate: 'MMM d, yyyy',
|
|
28893
|
+
longDate: 'MMMM d, yyyy',
|
|
28894
|
+
fullDate: 'dddd, MMMM d, yyyy',
|
|
28895
|
+
shortTime: 'HH:mm',
|
|
28896
|
+
mediumTime: 'HH:mm:ss',
|
|
28897
|
+
longTime: 'HH:mm:ss.SSS'
|
|
28898
|
+
};
|
|
28899
|
+
|
|
28926
28900
|
/***
|
|
28927
28901
|
* Format a date
|
|
28928
28902
|
* @method format
|
|
28929
28903
|
* @param {Date|number} dateObj
|
|
28930
28904
|
* @param {string} mask Format of the date, i.e. 'mm-dd-yy' or 'shortDate'
|
|
28931
|
-
*/
|
|
28932
|
-
fecha.format = function (dateObj, mask) {
|
|
28933
|
-
if (typeof dateObj === 'number') {
|
|
28934
|
-
dateObj = new Date(dateObj);
|
|
28935
|
-
}
|
|
28936
|
-
|
|
28937
|
-
if (Object.prototype.toString.call(dateObj) !== '[object Date]' || isNaN(dateObj.getTime())) {
|
|
28938
|
-
throw new Error('Invalid Date in fecha.format');
|
|
28939
|
-
}
|
|
28940
|
-
|
|
28941
|
-
mask = fecha.masks[mask] || mask || fecha.masks['default'];
|
|
28942
|
-
|
|
28943
|
-
|
|
28944
|
-
|
|
28945
|
-
// Make literals inactive by replacing them with ??
|
|
28946
|
-
mask = mask.replace(literal, function($0, $1) {
|
|
28947
|
-
literals.push($1);
|
|
28948
|
-
return '@@@';
|
|
28949
|
-
});
|
|
28950
|
-
// Apply formatting rules
|
|
28951
|
-
mask = mask.replace(token, function ($0) {
|
|
28952
|
-
return $0 in formatFlags ? formatFlags[$0](dateObj) : $0.slice(1, $0.length - 1);
|
|
28953
|
-
});
|
|
28954
|
-
// Inline literal values back into the formatted value
|
|
28955
|
-
return mask.replace(/@@@/g, function() {
|
|
28956
|
-
return literals.shift();
|
|
28957
|
-
});
|
|
28958
|
-
};
|
|
28959
|
-
|
|
28905
|
+
*/
|
|
28906
|
+
fecha.format = function (dateObj, mask) {
|
|
28907
|
+
if (typeof dateObj === 'number') {
|
|
28908
|
+
dateObj = new Date(dateObj);
|
|
28909
|
+
}
|
|
28910
|
+
|
|
28911
|
+
if (Object.prototype.toString.call(dateObj) !== '[object Date]' || isNaN(dateObj.getTime())) {
|
|
28912
|
+
throw new Error('Invalid Date in fecha.format');
|
|
28913
|
+
}
|
|
28914
|
+
|
|
28915
|
+
mask = fecha.masks[mask] || mask || fecha.masks['default'];
|
|
28916
|
+
|
|
28917
|
+
var literals = [];
|
|
28918
|
+
|
|
28919
|
+
// Make literals inactive by replacing them with ??
|
|
28920
|
+
mask = mask.replace(literal, function ($0, $1) {
|
|
28921
|
+
literals.push($1);
|
|
28922
|
+
return '@@@';
|
|
28923
|
+
});
|
|
28924
|
+
// Apply formatting rules
|
|
28925
|
+
mask = mask.replace(token, function ($0) {
|
|
28926
|
+
return $0 in formatFlags ? formatFlags[$0](dateObj) : $0.slice(1, $0.length - 1);
|
|
28927
|
+
});
|
|
28928
|
+
// Inline literal values back into the formatted value
|
|
28929
|
+
return mask.replace(/@@@/g, function () {
|
|
28930
|
+
return literals.shift();
|
|
28931
|
+
});
|
|
28932
|
+
};
|
|
28933
|
+
|
|
28960
28934
|
/**
|
|
28961
28935
|
* Parse a date string into an object, changes - into /
|
|
28962
28936
|
* @method parse
|
|
28963
28937
|
* @param {string} dateStr Date string
|
|
28964
28938
|
* @param {string} format Date parse format
|
|
28965
28939
|
* @returns {Date|boolean}
|
|
28966
|
-
*/
|
|
28967
|
-
fecha.parse = function (dateStr, format) {
|
|
28968
|
-
if (typeof format !== 'string') {
|
|
28969
|
-
throw new Error('Invalid format in fecha.parse');
|
|
28970
|
-
}
|
|
28971
|
-
|
|
28972
|
-
format = fecha.masks[format] || format;
|
|
28973
|
-
|
|
28974
|
-
// Avoid regular expression denial of service, fail early for really long strings
|
|
28975
|
-
// https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS
|
|
28976
|
-
if (dateStr.length > 1000) {
|
|
28977
|
-
return null;
|
|
28978
|
-
}
|
|
28979
|
-
|
|
28980
|
-
|
|
28981
|
-
|
|
28982
|
-
|
|
28983
|
-
format = format.replace(literal, function($0, $1) {
|
|
28984
|
-
literals.push($1);
|
|
28985
|
-
return '@@@';
|
|
28986
|
-
});
|
|
28987
|
-
|
|
28988
|
-
if (parseFlags[$0]) {
|
|
28989
|
-
|
|
28990
|
-
parseInfo.push(info[1]);
|
|
28991
|
-
return '(' + info[0] + ')';
|
|
28992
|
-
}
|
|
28993
|
-
|
|
28994
|
-
return $0;
|
|
28995
|
-
});
|
|
28996
|
-
newFormat = newFormat.replace(/@@@/g, function() {
|
|
28997
|
-
return literals.shift();
|
|
28998
|
-
});
|
|
28999
|
-
|
|
29000
|
-
if (!matches) {
|
|
29001
|
-
return null;
|
|
29002
|
-
}
|
|
29003
|
-
|
|
29004
|
-
for (
|
|
29005
|
-
parseInfo[i - 1](dateInfo, matches[i]);
|
|
29006
|
-
}
|
|
29007
|
-
|
|
29008
|
-
|
|
29009
|
-
if (dateInfo.isPm === true && dateInfo.hour != null && +dateInfo.hour !== 12) {
|
|
29010
|
-
dateInfo.hour = +dateInfo.hour + 12;
|
|
29011
|
-
} else if (dateInfo.isPm === false && +dateInfo.hour === 12) {
|
|
29012
|
-
dateInfo.hour = 0;
|
|
29013
|
-
}
|
|
29014
|
-
|
|
29015
|
-
|
|
29016
|
-
if (dateInfo.timezoneOffset != null) {
|
|
29017
|
-
dateInfo.minute = +(dateInfo.minute || 0) - +dateInfo.timezoneOffset;
|
|
29018
|
-
date = new Date(Date.UTC(dateInfo.year || today.getFullYear(), dateInfo.month || 0, dateInfo.day || 1,
|
|
29019
|
-
|
|
29020
|
-
|
|
29021
|
-
|
|
29022
|
-
|
|
29023
|
-
|
|
29024
|
-
|
|
29025
|
-
|
|
29026
|
-
|
|
29027
|
-
|
|
29028
|
-
|
|
29029
|
-
|
|
29030
|
-
|
|
29031
|
-
|
|
29032
|
-
|
|
29033
|
-
|
|
29034
|
-
|
|
29035
|
-
|
|
29036
|
-
|
|
29037
|
-
|
|
29038
|
-
|
|
29039
|
-
|
|
29040
|
-
|
|
29041
|
-
|
|
29042
|
-
|
|
29043
|
-
|
|
29044
|
-
|
|
29045
|
-
|
|
29046
|
-
|
|
29047
|
-
|
|
29048
|
-
|
|
29049
|
-
|
|
29050
|
-
|
|
29051
|
-
|
|
29052
|
-
|
|
29053
|
-
|
|
29054
|
-
if (date
|
|
29055
|
-
|
|
29056
|
-
|
|
29057
|
-
|
|
29058
|
-
|
|
29059
|
-
|
|
29060
|
-
|
|
29061
|
-
|
|
29062
|
-
|
|
29063
|
-
|
|
29064
|
-
|
|
29065
|
-
// 处理多种输入类型
|
|
29066
|
-
if (!date) return '';
|
|
29067
|
-
|
|
29068
|
-
// 如果是时间戳,转成日期对象
|
|
29069
|
-
if (typeof date === 'number') {
|
|
29070
|
-
date = new Date(date);
|
|
29071
|
-
}
|
|
29072
|
-
// 如果是字符串,转成日期对象
|
|
29073
|
-
if (typeof date === 'string') {
|
|
29074
|
-
date = new Date(date);
|
|
29075
|
-
}
|
|
29076
|
-
|
|
29077
|
-
// 调用toDate进一步验证和转换
|
|
29078
|
-
date = toDate(date);
|
|
29079
|
-
if (!date) return '';
|
|
29080
|
-
|
|
29081
|
-
// 兼容大写和小写的格式标记
|
|
29082
|
-
// 将大写的YYYY/MM/DD/HH/mm/ss转换为小写的yyyy/mm/dd/hh/mm/ss
|
|
29083
|
-
|
|
29084
|
-
|
|
29085
|
-
|
|
29086
|
-
|
|
29087
|
-
|
|
29088
|
-
|
|
29089
|
-
|
|
29090
|
-
|
|
29091
|
-
|
|
29092
|
-
|
|
29093
|
-
|
|
29094
|
-
|
|
29095
|
-
|
|
29096
|
-
|
|
29097
|
-
|
|
29098
|
-
|
|
29099
|
-
|
|
29100
|
-
|
|
29101
|
-
|
|
29102
|
-
|
|
29103
|
-
return
|
|
29104
|
-
}
|
|
29105
|
-
|
|
29106
|
-
|
|
29107
|
-
|
|
29108
|
-
|
|
29109
|
-
|
|
29110
|
-
|
|
29111
|
-
|
|
29112
|
-
|
|
29113
|
-
|
|
29114
|
-
|
|
29115
|
-
|
|
29116
|
-
|
|
29117
|
-
|
|
29118
|
-
|
|
29119
|
-
|
|
29120
|
-
|
|
29121
|
-
|
|
29122
|
-
|
|
29123
|
-
//
|
|
29124
|
-
|
|
29125
|
-
|
|
29126
|
-
|
|
29127
|
-
return new Date(date.getFullYear(), date.getMonth(), date.getDate() - amount);
|
|
29128
|
-
};
|
|
29129
|
-
|
|
29130
|
-
|
|
29131
|
-
|
|
29132
|
-
|
|
29133
|
-
|
|
29134
|
-
|
|
29135
|
-
|
|
29136
|
-
|
|
29137
|
-
|
|
29138
|
-
|
|
29139
|
-
|
|
29140
|
-
|
|
29141
|
-
return prevDate(result,
|
|
29142
|
-
}
|
|
29143
|
-
|
|
29144
|
-
|
|
29145
|
-
|
|
29146
|
-
|
|
29147
|
-
|
|
29148
|
-
|
|
29149
|
-
|
|
29150
|
-
|
|
29151
|
-
|
|
29152
|
-
|
|
29153
|
-
|
|
29154
|
-
|
|
29155
|
-
|
|
29156
|
-
|
|
29157
|
-
|
|
29158
|
-
|
|
29159
|
-
|
|
29160
|
-
|
|
29161
|
-
//
|
|
29162
|
-
|
|
29163
|
-
//
|
|
29164
|
-
|
|
29165
|
-
//
|
|
29166
|
-
|
|
29167
|
-
|
|
29168
|
-
|
|
29169
|
-
|
|
29170
|
-
|
|
29171
|
-
|
|
29172
|
-
|
|
29173
|
-
|
|
29174
|
-
|
|
29175
|
-
|
|
29176
|
-
|
|
29177
|
-
|
|
29178
|
-
|
|
29179
|
-
|
|
29180
|
-
|
|
29181
|
-
|
|
29182
|
-
|
|
29183
|
-
|
|
29184
|
-
for (
|
|
29185
|
-
hours[i] =
|
|
29186
|
-
}
|
|
29187
|
-
}
|
|
29188
|
-
|
|
29189
|
-
|
|
29190
|
-
}
|
|
29191
|
-
|
|
29192
|
-
|
|
29193
|
-
|
|
29194
|
-
|
|
29195
|
-
|
|
29196
|
-
|
|
29197
|
-
|
|
29198
|
-
|
|
29199
|
-
|
|
29200
|
-
|
|
29201
|
-
|
|
29202
|
-
|
|
29203
|
-
|
|
29204
|
-
};
|
|
29205
|
-
|
|
29206
|
-
|
|
29207
|
-
|
|
29208
|
-
|
|
29209
|
-
|
|
29210
|
-
|
|
29211
|
-
|
|
29212
|
-
|
|
29213
|
-
|
|
29214
|
-
|
|
29215
|
-
|
|
29216
|
-
|
|
29217
|
-
|
|
29218
|
-
|
|
29219
|
-
|
|
29220
|
-
|
|
29221
|
-
|
|
29222
|
-
|
|
29223
|
-
|
|
29224
|
-
|
|
29225
|
-
|
|
29226
|
-
|
|
29227
|
-
|
|
29228
|
-
|
|
29229
|
-
|
|
29230
|
-
|
|
29231
|
-
|
|
29232
|
-
|
|
29233
|
-
|
|
29234
|
-
|
|
29235
|
-
|
|
29236
|
-
|
|
29237
|
-
}
|
|
29238
|
-
|
|
29239
|
-
|
|
29240
|
-
|
|
29241
|
-
|
|
29242
|
-
|
|
29243
|
-
|
|
29244
|
-
|
|
29245
|
-
|
|
29246
|
-
|
|
29247
|
-
|
|
29248
|
-
|
|
29249
|
-
return
|
|
29250
|
-
|
|
29251
|
-
|
|
29252
|
-
|
|
29253
|
-
|
|
29254
|
-
|
|
29255
|
-
|
|
29256
|
-
|
|
29257
|
-
|
|
29258
|
-
|
|
29259
|
-
|
|
29260
|
-
|
|
29261
|
-
|
|
29262
|
-
|
|
29263
|
-
|
|
29264
|
-
|
|
29265
|
-
|
|
29266
|
-
|
|
29267
|
-
|
|
29268
|
-
|
|
29269
|
-
|
|
29270
|
-
|
|
29271
|
-
|
|
29272
|
-
|
|
29273
|
-
|
|
29274
|
-
|
|
29275
|
-
|
|
29276
|
-
|
|
29277
|
-
|
|
29278
|
-
|
|
29279
|
-
|
|
29280
|
-
|
|
29281
|
-
|
|
29282
|
-
|
|
29283
|
-
|
|
29284
|
-
|
|
29285
|
-
|
|
29286
|
-
|
|
29287
|
-
|
|
29288
|
-
|
|
29289
|
-
|
|
29290
|
-
|
|
29291
|
-
|
|
29292
|
-
};
|
|
29293
|
-
|
|
29294
|
-
|
|
29295
|
-
|
|
29296
|
-
|
|
29297
|
-
|
|
29298
|
-
|
|
29299
|
-
|
|
29300
|
-
|
|
29301
|
-
|
|
29302
|
-
|
|
29303
|
-
|
|
29304
|
-
|
|
29305
|
-
|
|
29306
|
-
|
|
29307
|
-
|
|
29308
|
-
|
|
29309
|
-
return
|
|
29310
|
-
|
|
29311
|
-
|
|
29312
|
-
|
|
29313
|
-
|
|
29314
|
-
|
|
29315
|
-
|
|
29316
|
-
|
|
29317
|
-
|
|
29318
|
-
|
|
29319
|
-
|
|
29320
|
-
|
|
29321
|
-
|
|
29322
|
-
|
|
29323
|
-
|
|
29324
|
-
|
|
29325
|
-
|
|
29326
|
-
|
|
29327
|
-
|
|
29328
|
-
|
|
29329
|
-
|
|
29330
|
-
|
|
29331
|
-
|
|
29332
|
-
|
|
29333
|
-
|
|
29334
|
-
|
|
29335
|
-
|
|
29336
|
-
|
|
29337
|
-
|
|
29338
|
-
|
|
29339
|
-
|
|
29340
|
-
|
|
29341
|
-
|
|
29342
|
-
|
|
29343
|
-
|
|
29344
|
-
|
|
29345
|
-
};
|
|
29346
|
-
|
|
29347
|
-
|
|
29348
|
-
return
|
|
29349
|
-
};
|
|
29350
|
-
|
|
28940
|
+
*/
|
|
28941
|
+
fecha.parse = function (dateStr, format) {
|
|
28942
|
+
if (typeof format !== 'string') {
|
|
28943
|
+
throw new Error('Invalid format in fecha.parse');
|
|
28944
|
+
}
|
|
28945
|
+
|
|
28946
|
+
format = fecha.masks[format] || format;
|
|
28947
|
+
|
|
28948
|
+
// Avoid regular expression denial of service, fail early for really long strings
|
|
28949
|
+
// https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS
|
|
28950
|
+
if (dateStr.length > 1000) {
|
|
28951
|
+
return null;
|
|
28952
|
+
}
|
|
28953
|
+
|
|
28954
|
+
var dateInfo = {};
|
|
28955
|
+
var parseInfo = [];
|
|
28956
|
+
var literals = [];
|
|
28957
|
+
format = format.replace(literal, function ($0, $1) {
|
|
28958
|
+
literals.push($1);
|
|
28959
|
+
return '@@@';
|
|
28960
|
+
});
|
|
28961
|
+
var newFormat = regexEscape(format).replace(token, function ($0) {
|
|
28962
|
+
if (parseFlags[$0]) {
|
|
28963
|
+
var info = parseFlags[$0];
|
|
28964
|
+
parseInfo.push(info[1]);
|
|
28965
|
+
return '(' + info[0] + ')';
|
|
28966
|
+
}
|
|
28967
|
+
|
|
28968
|
+
return $0;
|
|
28969
|
+
});
|
|
28970
|
+
newFormat = newFormat.replace(/@@@/g, function () {
|
|
28971
|
+
return literals.shift();
|
|
28972
|
+
});
|
|
28973
|
+
var matches = dateStr.match(new RegExp(newFormat, 'i'));
|
|
28974
|
+
if (!matches) {
|
|
28975
|
+
return null;
|
|
28976
|
+
}
|
|
28977
|
+
|
|
28978
|
+
for (var i = 1; i < matches.length; i++) {
|
|
28979
|
+
parseInfo[i - 1](dateInfo, matches[i]);
|
|
28980
|
+
}
|
|
28981
|
+
|
|
28982
|
+
var today = new Date();
|
|
28983
|
+
if (dateInfo.isPm === true && dateInfo.hour != null && +dateInfo.hour !== 12) {
|
|
28984
|
+
dateInfo.hour = +dateInfo.hour + 12;
|
|
28985
|
+
} else if (dateInfo.isPm === false && +dateInfo.hour === 12) {
|
|
28986
|
+
dateInfo.hour = 0;
|
|
28987
|
+
}
|
|
28988
|
+
|
|
28989
|
+
var date = void 0;
|
|
28990
|
+
if (dateInfo.timezoneOffset != null) {
|
|
28991
|
+
dateInfo.minute = +(dateInfo.minute || 0) - +dateInfo.timezoneOffset;
|
|
28992
|
+
date = new Date(Date.UTC(dateInfo.year || today.getFullYear(), dateInfo.month || 0, dateInfo.day || 1, dateInfo.hour || 0, dateInfo.minute || 0, dateInfo.second || 0, dateInfo.millisecond || 0));
|
|
28993
|
+
} else {
|
|
28994
|
+
date = new Date(dateInfo.year || today.getFullYear(), dateInfo.month || 0, dateInfo.day || 1, dateInfo.hour || 0, dateInfo.minute || 0, dateInfo.second || 0, dateInfo.millisecond || 0);
|
|
28995
|
+
}
|
|
28996
|
+
return date;
|
|
28997
|
+
};
|
|
28998
|
+
|
|
28999
|
+
// 导出fecha对象
|
|
29000
|
+
|
|
29001
|
+
|
|
29002
|
+
// 以下是从date-util.js合并的函数
|
|
29003
|
+
var newArray = function newArray(start, end) {
|
|
29004
|
+
var result = [];
|
|
29005
|
+
for (var i = start; i <= end; i++) {
|
|
29006
|
+
result.push(i);
|
|
29007
|
+
}
|
|
29008
|
+
return result;
|
|
29009
|
+
};
|
|
29010
|
+
|
|
29011
|
+
var getSettings = function getSettings() {
|
|
29012
|
+
return {
|
|
29013
|
+
dayNamesShort: ['日', '一', '二', '三', '四', '五', '六'],
|
|
29014
|
+
dayNames: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
|
|
29015
|
+
monthNamesShort: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
|
|
29016
|
+
monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
|
|
29017
|
+
amPm: ['上午', '下午']
|
|
29018
|
+
};
|
|
29019
|
+
};
|
|
29020
|
+
|
|
29021
|
+
var toDate = function toDate(date) {
|
|
29022
|
+
return isDate(date) ? new Date(date) : null;
|
|
29023
|
+
};
|
|
29024
|
+
|
|
29025
|
+
var isDate = function isDate(date) {
|
|
29026
|
+
if (date === null || date === undefined) return false;
|
|
29027
|
+
if (isNaN(new Date(date).getTime())) return false;
|
|
29028
|
+
if (Array.isArray(date)) return false; // deal with `new Date([ new Date() ]) -> new Date()`
|
|
29029
|
+
return true;
|
|
29030
|
+
};
|
|
29031
|
+
|
|
29032
|
+
var isDateObject = function isDateObject(val) {
|
|
29033
|
+
return val instanceof Date;
|
|
29034
|
+
};
|
|
29035
|
+
|
|
29036
|
+
var formatDate = function formatDate(date) {
|
|
29037
|
+
var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-MM-dd';
|
|
29038
|
+
|
|
29039
|
+
// 处理多种输入类型
|
|
29040
|
+
if (!date) return '';
|
|
29041
|
+
|
|
29042
|
+
// 如果是时间戳,转成日期对象
|
|
29043
|
+
if (typeof date === 'number') {
|
|
29044
|
+
date = new Date(date);
|
|
29045
|
+
}
|
|
29046
|
+
// 如果是字符串,转成日期对象
|
|
29047
|
+
if (typeof date === 'string') {
|
|
29048
|
+
date = new Date(date);
|
|
29049
|
+
}
|
|
29050
|
+
|
|
29051
|
+
// 调用toDate进一步验证和转换
|
|
29052
|
+
date = toDate(date);
|
|
29053
|
+
if (!date) return '';
|
|
29054
|
+
|
|
29055
|
+
// 兼容大写和小写的格式标记
|
|
29056
|
+
// 将大写的YYYY/MM/DD/HH/mm/ss转换为小写的yyyy/mm/dd/hh/mm/ss
|
|
29057
|
+
var lowercaseFormat = format.replace(/YYYY/g, 'yyyy').replace(/D/g, 'd');
|
|
29058
|
+
|
|
29059
|
+
// 使用fecha库进行格式化,支持中文配置
|
|
29060
|
+
var str = fecha.format(date, lowercaseFormat, getSettings());
|
|
29061
|
+
return str;
|
|
29062
|
+
};
|
|
29063
|
+
|
|
29064
|
+
var parseDate = function parseDate(string, format) {
|
|
29065
|
+
return fecha.parse(string, format || 'yyyy-MM-dd', getSettings());
|
|
29066
|
+
};
|
|
29067
|
+
|
|
29068
|
+
var getDayCountOfMonth = function getDayCountOfMonth(year, month) {
|
|
29069
|
+
if (month === 3 || month === 5 || month === 8 || month === 10) {
|
|
29070
|
+
return 30;
|
|
29071
|
+
}
|
|
29072
|
+
|
|
29073
|
+
if (month === 1) {
|
|
29074
|
+
if (year % 4 === 0 && year % 100 !== 0 || year % 400 === 0) {
|
|
29075
|
+
return 29;
|
|
29076
|
+
} else {
|
|
29077
|
+
return 28;
|
|
29078
|
+
}
|
|
29079
|
+
}
|
|
29080
|
+
|
|
29081
|
+
return 31;
|
|
29082
|
+
};
|
|
29083
|
+
|
|
29084
|
+
var getDayCountOfYear = function getDayCountOfYear(year) {
|
|
29085
|
+
var isLeapYear = year % 400 === 0 || year % 100 !== 0 && year % 4 === 0;
|
|
29086
|
+
return isLeapYear ? 366 : 365;
|
|
29087
|
+
};
|
|
29088
|
+
|
|
29089
|
+
var getFirstDayOfMonth = function getFirstDayOfMonth(date) {
|
|
29090
|
+
var temp = new Date(date.getTime());
|
|
29091
|
+
temp.setDate(1);
|
|
29092
|
+
return temp.getDay();
|
|
29093
|
+
};
|
|
29094
|
+
|
|
29095
|
+
// see: https://stackoverflow.com/questions/3674539/incrementing-a-date-in-javascript
|
|
29096
|
+
// {prev, next} Date should work for Daylight Saving Time
|
|
29097
|
+
// Adding 24 * 60 * 60 * 1000 does not work in the above scenario
|
|
29098
|
+
var prevDate = function prevDate(date) {
|
|
29099
|
+
var amount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
29100
|
+
|
|
29101
|
+
return new Date(date.getFullYear(), date.getMonth(), date.getDate() - amount);
|
|
29102
|
+
};
|
|
29103
|
+
|
|
29104
|
+
var nextDate = function nextDate(date) {
|
|
29105
|
+
var amount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
29106
|
+
|
|
29107
|
+
return new Date(date.getFullYear(), date.getMonth(), date.getDate() + amount);
|
|
29108
|
+
};
|
|
29109
|
+
|
|
29110
|
+
var getStartDateOfMonth = function getStartDateOfMonth(year, month) {
|
|
29111
|
+
var result = new Date(year, month, 1);
|
|
29112
|
+
var day = result.getDay();
|
|
29113
|
+
|
|
29114
|
+
if (day === 0) {
|
|
29115
|
+
return prevDate(result, 7);
|
|
29116
|
+
} else {
|
|
29117
|
+
return prevDate(result, day);
|
|
29118
|
+
}
|
|
29119
|
+
};
|
|
29120
|
+
|
|
29121
|
+
var getWeekNumber = function getWeekNumber(date) {
|
|
29122
|
+
// 支持多种输入类型
|
|
29123
|
+
if (!date || !isDate(date)) {
|
|
29124
|
+
date = new Date();
|
|
29125
|
+
}
|
|
29126
|
+
if (typeof date === 'string') {
|
|
29127
|
+
date = new Date(date);
|
|
29128
|
+
}
|
|
29129
|
+
|
|
29130
|
+
// 验证日期有效性
|
|
29131
|
+
if (!isDate(date)) return null;
|
|
29132
|
+
|
|
29133
|
+
var d = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()));
|
|
29134
|
+
// 设置为最近的星期四:当前日期 + 4 - 当前星期数
|
|
29135
|
+
// 将星期日的星期数设为7
|
|
29136
|
+
d.setUTCDate(d.getUTCDate() + 4 - (d.getUTCDay() || 7));
|
|
29137
|
+
// 获取当年的第一天
|
|
29138
|
+
var yearStart = new Date(Date.UTC(d.getUTCFullYear(), 0, 1));
|
|
29139
|
+
// 计算到最近的星期四的完整周数
|
|
29140
|
+
var weekNo = Math.ceil(((d - yearStart) / 86400000 + 1) / 7);
|
|
29141
|
+
// 返回周数
|
|
29142
|
+
return weekNo;
|
|
29143
|
+
};
|
|
29144
|
+
|
|
29145
|
+
var getRangeHours = function getRangeHours(ranges) {
|
|
29146
|
+
var hours = [];
|
|
29147
|
+
var disabledHours = [];
|
|
29148
|
+
|
|
29149
|
+
(ranges || []).forEach(function (range) {
|
|
29150
|
+
var value = range.map(function (date) {
|
|
29151
|
+
return date.getHours();
|
|
29152
|
+
});
|
|
29153
|
+
|
|
29154
|
+
disabledHours = disabledHours.concat(newArray(value[0], value[1]));
|
|
29155
|
+
});
|
|
29156
|
+
|
|
29157
|
+
if (disabledHours.length) {
|
|
29158
|
+
for (var i = 0; i < 24; i++) {
|
|
29159
|
+
hours[i] = disabledHours.indexOf(i) === -1;
|
|
29160
|
+
}
|
|
29161
|
+
} else {
|
|
29162
|
+
for (var _i = 0; _i < 24; _i++) {
|
|
29163
|
+
hours[_i] = false;
|
|
29164
|
+
}
|
|
29165
|
+
}
|
|
29166
|
+
|
|
29167
|
+
return hours;
|
|
29168
|
+
};
|
|
29169
|
+
|
|
29170
|
+
var getPrevMonthLastDays = function getPrevMonthLastDays(date, amount) {
|
|
29171
|
+
if (amount <= 0) return [];
|
|
29172
|
+
var temp = new Date(date.getTime());
|
|
29173
|
+
temp.setDate(0);
|
|
29174
|
+
var lastDay = temp.getDate();
|
|
29175
|
+
return range(amount).map(function (_, index) {
|
|
29176
|
+
return lastDay - (amount - index - 1);
|
|
29177
|
+
});
|
|
29178
|
+
};
|
|
29179
|
+
|
|
29180
|
+
var getMonthDays = function getMonthDays(date) {
|
|
29181
|
+
var temp = new Date(date.getFullYear(), date.getMonth() + 1, 0);
|
|
29182
|
+
var days = temp.getDate();
|
|
29183
|
+
return range(days).map(function (_, index) {
|
|
29184
|
+
return index + 1;
|
|
29185
|
+
});
|
|
29186
|
+
};
|
|
29187
|
+
|
|
29188
|
+
function setRangeData(arr, start, end, value) {
|
|
29189
|
+
for (var i = start; i < end; i++) {
|
|
29190
|
+
arr[i] = value;
|
|
29191
|
+
}
|
|
29192
|
+
}
|
|
29193
|
+
|
|
29194
|
+
var getRangeMinutes = function getRangeMinutes(ranges, hour) {
|
|
29195
|
+
var minutes = new Array(60);
|
|
29196
|
+
|
|
29197
|
+
if (ranges.length > 0) {
|
|
29198
|
+
ranges.forEach(function (range) {
|
|
29199
|
+
var start = range[0];
|
|
29200
|
+
var end = range[1];
|
|
29201
|
+
var startHour = start.getHours();
|
|
29202
|
+
var startMinute = start.getMinutes();
|
|
29203
|
+
var endHour = end.getHours();
|
|
29204
|
+
var endMinute = end.getMinutes();
|
|
29205
|
+
if (startHour === hour && endHour !== hour) {
|
|
29206
|
+
setRangeData(minutes, startMinute, 60, true);
|
|
29207
|
+
} else if (startHour === hour && endHour === hour) {
|
|
29208
|
+
setRangeData(minutes, startMinute, endMinute + 1, true);
|
|
29209
|
+
} else if (startHour !== hour && endHour === hour) {
|
|
29210
|
+
setRangeData(minutes, 0, endMinute + 1, true);
|
|
29211
|
+
} else if (startHour < hour && endHour > hour) {
|
|
29212
|
+
setRangeData(minutes, 0, 60, true);
|
|
29213
|
+
}
|
|
29214
|
+
});
|
|
29215
|
+
} else {
|
|
29216
|
+
setRangeData(minutes, 0, 60, true);
|
|
29217
|
+
}
|
|
29218
|
+
return minutes;
|
|
29219
|
+
};
|
|
29220
|
+
|
|
29221
|
+
var range = function range(n) {
|
|
29222
|
+
// see https://stackoverflow.com/questions/3746725/create-a-javascript-array-containing-1-n
|
|
29223
|
+
return Array.apply(null, { length: n }).map(function (_, n) {
|
|
29224
|
+
return n;
|
|
29225
|
+
});
|
|
29226
|
+
};
|
|
29227
|
+
|
|
29228
|
+
var modifyDate = function modifyDate(date, y, m, d) {
|
|
29229
|
+
return new Date(y, m, d, date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());
|
|
29230
|
+
};
|
|
29231
|
+
|
|
29232
|
+
var modifyTime = function modifyTime(date, h, m, s) {
|
|
29233
|
+
return new Date(date.getFullYear(), date.getMonth(), date.getDate(), h, m, s, date.getMilliseconds());
|
|
29234
|
+
};
|
|
29235
|
+
|
|
29236
|
+
var modifyWithTimeString = function modifyWithTimeString(date, time) {
|
|
29237
|
+
if (date == null || !time) {
|
|
29238
|
+
return date;
|
|
29239
|
+
}
|
|
29240
|
+
time = parseDate(time, 'HH:mm:ss');
|
|
29241
|
+
return modifyTime(date, time.getHours(), time.getMinutes(), time.getSeconds());
|
|
29242
|
+
};
|
|
29243
|
+
|
|
29244
|
+
var clearTime = function clearTime(date) {
|
|
29245
|
+
return new Date(date.getFullYear(), date.getMonth(), date.getDate());
|
|
29246
|
+
};
|
|
29247
|
+
|
|
29248
|
+
var clearMilliseconds = function clearMilliseconds(date) {
|
|
29249
|
+
return new Date(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), 0);
|
|
29250
|
+
};
|
|
29251
|
+
|
|
29252
|
+
var limitTimeRange = function limitTimeRange(date, ranges) {
|
|
29253
|
+
var format = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'HH:mm:ss';
|
|
29254
|
+
|
|
29255
|
+
// TODO: refactory a more elegant solution
|
|
29256
|
+
if (ranges.length === 0) return date;
|
|
29257
|
+
var normalizeDate = function normalizeDate(date) {
|
|
29258
|
+
return fecha.parse(fecha.format(date, format), format);
|
|
29259
|
+
};
|
|
29260
|
+
var ndate = normalizeDate(date);
|
|
29261
|
+
var nranges = ranges.map(function (range) {
|
|
29262
|
+
return range.map(normalizeDate);
|
|
29263
|
+
});
|
|
29264
|
+
if (nranges.some(function (nrange) {
|
|
29265
|
+
return ndate >= nrange[0] && ndate <= nrange[1];
|
|
29266
|
+
})) return date;
|
|
29267
|
+
|
|
29268
|
+
var minDate = nranges[0][0];
|
|
29269
|
+
var maxDate = nranges[0][0];
|
|
29270
|
+
|
|
29271
|
+
nranges.forEach(function (nrange) {
|
|
29272
|
+
minDate = new Date(Math.min(nrange[0], minDate));
|
|
29273
|
+
maxDate = new Date(Math.max(nrange[1], minDate));
|
|
29274
|
+
});
|
|
29275
|
+
|
|
29276
|
+
var ret = ndate < minDate ? minDate : maxDate;
|
|
29277
|
+
// preserve Year/Month/Date
|
|
29278
|
+
return modifyDate(ret, date.getFullYear(), date.getMonth(), date.getDate());
|
|
29279
|
+
};
|
|
29280
|
+
|
|
29281
|
+
var timeWithinRange = function timeWithinRange(date, selectableRange, format) {
|
|
29282
|
+
var limitedDate = limitTimeRange(date, selectableRange, format);
|
|
29283
|
+
return limitedDate.getTime() === date.getTime();
|
|
29284
|
+
};
|
|
29285
|
+
|
|
29286
|
+
var changeYearMonthAndClampDate = function changeYearMonthAndClampDate(date, year, month) {
|
|
29287
|
+
// clamp date to the number of days in `year`, `month`
|
|
29288
|
+
// eg: (2010-1-31, 2010, 2) => 2010-2-28
|
|
29289
|
+
var monthDate = Math.min(date.getDate(), getDayCountOfMonth(year, month));
|
|
29290
|
+
return modifyDate(date, year, month, monthDate);
|
|
29291
|
+
};
|
|
29292
|
+
|
|
29293
|
+
var prevMonth = function prevMonth(date) {
|
|
29294
|
+
var year = date.getFullYear();
|
|
29295
|
+
var month = date.getMonth();
|
|
29296
|
+
return month === 0 ? changeYearMonthAndClampDate(date, year - 1, 11) : changeYearMonthAndClampDate(date, year, month - 1);
|
|
29297
|
+
};
|
|
29298
|
+
|
|
29299
|
+
var nextMonth = function nextMonth(date) {
|
|
29300
|
+
var year = date.getFullYear();
|
|
29301
|
+
var month = date.getMonth();
|
|
29302
|
+
return month === 11 ? changeYearMonthAndClampDate(date, year + 1, 0) : changeYearMonthAndClampDate(date, year, month + 1);
|
|
29303
|
+
};
|
|
29304
|
+
|
|
29305
|
+
var prevYear = function prevYear(date) {
|
|
29306
|
+
var amount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
29307
|
+
|
|
29308
|
+
var year = date.getFullYear();
|
|
29309
|
+
var month = date.getMonth();
|
|
29310
|
+
return changeYearMonthAndClampDate(date, year - amount, month);
|
|
29311
|
+
};
|
|
29312
|
+
|
|
29313
|
+
var nextYear = function nextYear(date) {
|
|
29314
|
+
var amount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
29315
|
+
|
|
29316
|
+
var year = date.getFullYear();
|
|
29317
|
+
var month = date.getMonth();
|
|
29318
|
+
return changeYearMonthAndClampDate(date, year + amount, month);
|
|
29319
|
+
};
|
|
29320
|
+
|
|
29321
|
+
var extractDateFormat = function extractDateFormat(format) {
|
|
29322
|
+
return format.replace(/\W?m{1,2}|\W?ZZ/g, '').replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi, '').trim();
|
|
29323
|
+
};
|
|
29324
|
+
|
|
29325
|
+
var extractTimeFormat = function extractTimeFormat(format) {
|
|
29326
|
+
return format.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?y{2,4}/g, '').trim();
|
|
29327
|
+
};
|
|
29328
|
+
|
|
29329
|
+
var validateRangeInOneMonth = function validateRangeInOneMonth(start, end) {
|
|
29330
|
+
return start.getMonth() === end.getMonth() && start.getFullYear() === end.getFullYear();
|
|
29331
|
+
};
|
|
29332
|
+
|
|
29351
29333
|
/**
|
|
29352
29334
|
* 计算两个日期之间的工作日数量(不包括周末和节假日)
|
|
29353
29335
|
* @param {string} start_date - 开始日期字符串,格式为 "YYYY-MM-DD"
|
|
29354
29336
|
* @param {string} end_date - 结束日期字符串,格式为 "YYYY-MM-DD"
|
|
29355
29337
|
* @param {Array<string>} holidays - 假期日期字符串数组,格式为 "YYYY-MM-DD"
|
|
29356
29338
|
* @returns {number} 工作日数量
|
|
29357
|
-
*/
|
|
29358
|
-
|
|
29359
|
-
|
|
29360
|
-
|
|
29361
|
-
|
|
29362
|
-
);
|
|
29363
|
-
}
|
|
29364
|
-
|
|
29365
|
-
|
|
29366
|
-
|
|
29367
|
-
|
|
29368
|
-
if (isNaN(startDateObj.getTime()) || isNaN(endDateObj.getTime())) {
|
|
29369
|
-
throw new Error(
|
|
29370
|
-
|
|
29371
|
-
|
|
29372
|
-
|
|
29373
|
-
|
|
29374
|
-
|
|
29375
|
-
|
|
29376
|
-
|
|
29377
|
-
|
|
29378
|
-
|
|
29379
|
-
|
|
29380
|
-
|
|
29381
|
-
|
|
29382
|
-
|
|
29383
|
-
|
|
29384
|
-
|
|
29385
|
-
|
|
29386
|
-
|
|
29387
|
-
|
|
29388
|
-
|
|
29389
|
-
|
|
29390
|
-
|
|
29391
|
-
|
|
29392
|
-
|
|
29393
|
-
}
|
|
29394
|
-
|
|
29395
|
-
|
|
29396
|
-
|
|
29397
|
-
|
|
29398
|
-
|
|
29399
|
-
|
|
29400
|
-
|
|
29401
|
-
|
|
29402
|
-
|
|
29403
|
-
|
|
29339
|
+
*/
|
|
29340
|
+
var calculateNetworkDays = function calculateNetworkDays(start_date, end_date) {
|
|
29341
|
+
var holidays = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
|
|
29342
|
+
|
|
29343
|
+
if (typeof start_date !== 'string' || typeof end_date !== 'string') {
|
|
29344
|
+
throw new Error("Invalid input. Please provide valid date strings in the format 'YYYY-MM-DD'.");
|
|
29345
|
+
}
|
|
29346
|
+
|
|
29347
|
+
var startDateObj = new Date(start_date);
|
|
29348
|
+
var endDateObj = new Date(end_date);
|
|
29349
|
+
|
|
29350
|
+
if (isNaN(startDateObj.getTime()) || isNaN(endDateObj.getTime())) {
|
|
29351
|
+
throw new Error("Invalid date format. Please provide valid date strings in the format 'YYYY-MM-DD'.");
|
|
29352
|
+
}
|
|
29353
|
+
|
|
29354
|
+
if (startDateObj > endDateObj) {
|
|
29355
|
+
throw new Error('Start date should be earlier than or equal to end date.');
|
|
29356
|
+
}
|
|
29357
|
+
|
|
29358
|
+
var workdays = 0;
|
|
29359
|
+
|
|
29360
|
+
// Iterate through each day in the date range
|
|
29361
|
+
|
|
29362
|
+
var _loop = function _loop(currentDate) {
|
|
29363
|
+
// Check if the current day is a weekend (Saturday or Sunday)
|
|
29364
|
+
var isWeekend = currentDate.getDay() === 0 || currentDate.getDay() === 6;
|
|
29365
|
+
|
|
29366
|
+
// Check if the current day is a holiday
|
|
29367
|
+
var isHoliday = holidays.some(function (holiday) {
|
|
29368
|
+
var holidayDate = new Date(holiday);
|
|
29369
|
+
return currentDate.toDateString() === holidayDate.toDateString();
|
|
29370
|
+
});
|
|
29371
|
+
|
|
29372
|
+
// If it's a workday (not a weekend or holiday), increment the workdays count
|
|
29373
|
+
if (!isWeekend && !isHoliday) {
|
|
29374
|
+
workdays++;
|
|
29375
|
+
}
|
|
29376
|
+
};
|
|
29377
|
+
|
|
29378
|
+
for (var currentDate = new Date(startDateObj); currentDate <= endDateObj; currentDate.setDate(currentDate.getDate() + 1)) {
|
|
29379
|
+
_loop(currentDate);
|
|
29380
|
+
}
|
|
29381
|
+
|
|
29382
|
+
return workdays;
|
|
29383
|
+
};
|
|
29384
|
+
|
|
29404
29385
|
/**
|
|
29405
29386
|
* 日期加减天数
|
|
29406
29387
|
* @param {string} start_date - 起始日期字符串,格式为 "YYYY-MM-DD"
|
|
29407
29388
|
* @param {number} days - 要加上或减去的天数,正数表示加,负数表示减
|
|
29408
29389
|
* @returns {string} 结果日期,格式为 "YYYY-MM-DD"
|
|
29409
|
-
*/
|
|
29410
|
-
|
|
29411
|
-
if (typeof start_date !== 'string' || !Number.isInteger(days)) {
|
|
29412
|
-
throw new Error(
|
|
29413
|
-
|
|
29414
|
-
|
|
29415
|
-
|
|
29416
|
-
|
|
29417
|
-
|
|
29418
|
-
|
|
29419
|
-
|
|
29420
|
-
|
|
29421
|
-
|
|
29422
|
-
|
|
29423
|
-
|
|
29424
|
-
|
|
29425
|
-
|
|
29426
|
-
|
|
29427
|
-
|
|
29428
|
-
|
|
29429
|
-
|
|
29430
|
-
|
|
29431
|
-
return `${resultYear}-${resultMonth}-${resultDay}`;
|
|
29432
|
-
};
|
|
29433
|
-
|
|
29390
|
+
*/
|
|
29391
|
+
var dateAddDays = function dateAddDays(start_date, days) {
|
|
29392
|
+
if (typeof start_date !== 'string' || !Number.isInteger(days)) {
|
|
29393
|
+
throw new Error("Invalid input. Please provide a valid date string in the format 'YYYY-MM-DD' and a valid integer for the number of days.");
|
|
29394
|
+
}
|
|
29395
|
+
|
|
29396
|
+
var startDateObj = new Date(start_date);
|
|
29397
|
+
if (isNaN(startDateObj.getTime())) {
|
|
29398
|
+
throw new Error("Invalid date format. Please provide a valid date string in the format 'YYYY-MM-DD'.");
|
|
29399
|
+
}
|
|
29400
|
+
|
|
29401
|
+
var resultDateObj = new Date(startDateObj);
|
|
29402
|
+
resultDateObj.setDate(resultDateObj.getDate() + days);
|
|
29403
|
+
|
|
29404
|
+
var resultYear = resultDateObj.getFullYear();
|
|
29405
|
+
var resultMonth = String(resultDateObj.getMonth() + 1).padStart(2, '0');
|
|
29406
|
+
var resultDay = String(resultDateObj.getDate()).padStart(2, '0');
|
|
29407
|
+
|
|
29408
|
+
return resultYear + '-' + resultMonth + '-' + resultDay;
|
|
29409
|
+
};
|
|
29410
|
+
|
|
29434
29411
|
/**
|
|
29435
29412
|
* 计算两个日期之间的差值
|
|
29436
29413
|
* @date 2023年12月14日
|
|
@@ -29438,182 +29415,180 @@ const dateAddDays = function (start_date, days) {
|
|
|
29438
29415
|
* @param {String} end_date - 结束日期字符串
|
|
29439
29416
|
* @param {String} unit - 单位:year/month/day
|
|
29440
29417
|
* @returns {Number} 差值
|
|
29441
|
-
*/
|
|
29442
|
-
|
|
29443
|
-
|
|
29444
|
-
|
|
29445
|
-
|
|
29446
|
-
|
|
29447
|
-
|
|
29448
|
-
|
|
29449
|
-
|
|
29450
|
-
|
|
29451
|
-
|
|
29452
|
-
|
|
29453
|
-
|
|
29454
|
-
|
|
29455
|
-
return (
|
|
29456
|
-
|
|
29457
|
-
|
|
29458
|
-
|
|
29459
|
-
|
|
29460
|
-
|
|
29461
|
-
|
|
29462
|
-
|
|
29463
|
-
|
|
29464
|
-
|
|
29465
|
-
|
|
29466
|
-
|
|
29418
|
+
*/
|
|
29419
|
+
var dateDiff = function dateDiff(start_date, end_date) {
|
|
29420
|
+
var unit = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'day';
|
|
29421
|
+
|
|
29422
|
+
// Assuming date strings are in "YYYY-MM-DD" format
|
|
29423
|
+
var startDate = new Date(start_date);
|
|
29424
|
+
var endDate = new Date(end_date);
|
|
29425
|
+
|
|
29426
|
+
// If the date is invalid, return 0
|
|
29427
|
+
if (isNaN(startDate.getTime()) || isNaN(endDate.getTime())) {
|
|
29428
|
+
return 0;
|
|
29429
|
+
}
|
|
29430
|
+
|
|
29431
|
+
if (unit === 'year') {
|
|
29432
|
+
return endDate.getFullYear() - startDate.getFullYear();
|
|
29433
|
+
} else if (unit === 'month') {
|
|
29434
|
+
return (endDate.getFullYear() - startDate.getFullYear()) * 12 + (endDate.getMonth() - startDate.getMonth());
|
|
29435
|
+
} else {
|
|
29436
|
+
// Default to day
|
|
29437
|
+
var timeDifference = endDate - startDate;
|
|
29438
|
+
// Calculate days (86400000 milliseconds per day)
|
|
29439
|
+
return Math.floor(timeDifference / 86400000);
|
|
29440
|
+
}
|
|
29441
|
+
};
|
|
29442
|
+
|
|
29467
29443
|
/**
|
|
29468
29444
|
* 获取月份中的日期
|
|
29469
29445
|
* @param {string} date - 日期字符串,格式为 "YYYY-MM-DD"
|
|
29470
29446
|
* @returns {number} 月份中的日期(1-31)
|
|
29471
|
-
*/
|
|
29472
|
-
|
|
29473
|
-
if (typeof date !== 'string') {
|
|
29474
|
-
throw new Error(
|
|
29475
|
-
|
|
29476
|
-
|
|
29477
|
-
|
|
29478
|
-
|
|
29479
|
-
|
|
29480
|
-
|
|
29481
|
-
|
|
29482
|
-
|
|
29483
|
-
|
|
29484
|
-
|
|
29485
|
-
|
|
29486
|
-
return dateObj.getDate();
|
|
29487
|
-
};
|
|
29488
|
-
|
|
29447
|
+
*/
|
|
29448
|
+
var dayOfMonth = function dayOfMonth(date) {
|
|
29449
|
+
if (typeof date !== 'string') {
|
|
29450
|
+
throw new Error("Invalid input. Please provide a valid date string in the format 'YYYY-MM-DD'.");
|
|
29451
|
+
}
|
|
29452
|
+
|
|
29453
|
+
var dateObj = new Date(date);
|
|
29454
|
+
if (isNaN(dateObj.getTime())) {
|
|
29455
|
+
throw new Error("Invalid date format. Please provide a valid date string in the format 'YYYY-MM-DD'.");
|
|
29456
|
+
}
|
|
29457
|
+
|
|
29458
|
+
return dateObj.getDate();
|
|
29459
|
+
};
|
|
29460
|
+
|
|
29489
29461
|
/**
|
|
29490
29462
|
* 获取当前日期
|
|
29491
29463
|
* @date 2022年5月7日
|
|
29492
29464
|
* @param {string} format - 日期格式,默认为'YYYY-MM-DD'
|
|
29493
29465
|
* @returns {string} 当前日期的格式化字符串
|
|
29494
|
-
*/
|
|
29495
|
-
|
|
29496
|
-
|
|
29497
|
-
|
|
29498
|
-
|
|
29466
|
+
*/
|
|
29467
|
+
var getCurrentDate = function getCurrentDate() {
|
|
29468
|
+
var format = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'YYYY-MM-DD';
|
|
29469
|
+
|
|
29470
|
+
return formatDate(new Date(), format);
|
|
29471
|
+
};
|
|
29472
|
+
|
|
29499
29473
|
/**
|
|
29500
29474
|
* 获取当前日期时间
|
|
29501
29475
|
* @date 2022年5月7日
|
|
29502
29476
|
* @param {string} format - 日期时间格式,默认为'YYYY-MM-DD HH:mm:ss'
|
|
29503
29477
|
* @returns {string} 当前日期时间的格式化字符串
|
|
29504
|
-
*/
|
|
29505
|
-
|
|
29506
|
-
|
|
29507
|
-
|
|
29508
|
-
|
|
29478
|
+
*/
|
|
29479
|
+
var getCurrentDateTime = function getCurrentDateTime() {
|
|
29480
|
+
var format = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'YYYY-MM-DD HH:mm:ss';
|
|
29481
|
+
|
|
29482
|
+
return formatDate(new Date(), format);
|
|
29483
|
+
};
|
|
29484
|
+
|
|
29509
29485
|
/**
|
|
29510
29486
|
* 获取小时
|
|
29511
29487
|
* @date 2022年5月7日
|
|
29512
29488
|
* @param {Date|string} [date] - 日期对象或日期字符串
|
|
29513
29489
|
* @returns {number} 小时数(0-23)
|
|
29514
|
-
*/
|
|
29515
|
-
|
|
29516
|
-
if (!date) {
|
|
29517
|
-
return new Date().getHours();
|
|
29518
|
-
}
|
|
29519
|
-
if (typeof date === 'string') {
|
|
29520
|
-
date = new Date(date);
|
|
29521
|
-
}
|
|
29522
|
-
return date.getHours();
|
|
29523
|
-
};
|
|
29524
|
-
|
|
29490
|
+
*/
|
|
29491
|
+
var getHour = function getHour(date) {
|
|
29492
|
+
if (!date) {
|
|
29493
|
+
return new Date().getHours();
|
|
29494
|
+
}
|
|
29495
|
+
if (typeof date === 'string') {
|
|
29496
|
+
date = new Date(date);
|
|
29497
|
+
}
|
|
29498
|
+
return date.getHours();
|
|
29499
|
+
};
|
|
29500
|
+
|
|
29525
29501
|
/**
|
|
29526
29502
|
* 获取分钟
|
|
29527
29503
|
* @date 2022年5月7日
|
|
29528
29504
|
* @param {Date|string} [date] - 日期对象或日期字符串
|
|
29529
29505
|
* @returns {number} 分钟数(0-59)
|
|
29530
|
-
*/
|
|
29531
|
-
|
|
29532
|
-
if (!date) {
|
|
29533
|
-
return new Date().getMinutes();
|
|
29534
|
-
}
|
|
29535
|
-
if (typeof date === 'string') {
|
|
29536
|
-
date = new Date(date);
|
|
29537
|
-
}
|
|
29538
|
-
return date.getMinutes();
|
|
29539
|
-
};
|
|
29540
|
-
|
|
29506
|
+
*/
|
|
29507
|
+
var getMinute = function getMinute(date) {
|
|
29508
|
+
if (!date) {
|
|
29509
|
+
return new Date().getMinutes();
|
|
29510
|
+
}
|
|
29511
|
+
if (typeof date === 'string') {
|
|
29512
|
+
date = new Date(date);
|
|
29513
|
+
}
|
|
29514
|
+
return date.getMinutes();
|
|
29515
|
+
};
|
|
29516
|
+
|
|
29541
29517
|
/**
|
|
29542
29518
|
* 获取月份
|
|
29543
29519
|
* @date 2022年5月7日
|
|
29544
29520
|
* @param {Date|string} [date] - 日期对象或日期字符串
|
|
29545
29521
|
* @returns {number} 月份数(1-12)
|
|
29546
|
-
*/
|
|
29547
|
-
|
|
29548
|
-
if (!date) {
|
|
29549
|
-
return new Date().getMonth() + 1;
|
|
29550
|
-
}
|
|
29551
|
-
if (typeof date === 'string') {
|
|
29552
|
-
date = new Date(date);
|
|
29553
|
-
}
|
|
29554
|
-
return date.getMonth() + 1;
|
|
29555
|
-
};
|
|
29556
|
-
|
|
29522
|
+
*/
|
|
29523
|
+
var getMonth = function getMonth(date) {
|
|
29524
|
+
if (!date) {
|
|
29525
|
+
return new Date().getMonth() + 1;
|
|
29526
|
+
}
|
|
29527
|
+
if (typeof date === 'string') {
|
|
29528
|
+
date = new Date(date);
|
|
29529
|
+
}
|
|
29530
|
+
return date.getMonth() + 1;
|
|
29531
|
+
};
|
|
29532
|
+
|
|
29557
29533
|
/**
|
|
29558
29534
|
* 获取秒
|
|
29559
29535
|
* @date 2022年5月7日
|
|
29560
29536
|
* @param {Date|string} [date] - 日期对象或日期字符串
|
|
29561
29537
|
* @returns {number} 秒数(0-59)
|
|
29562
|
-
*/
|
|
29563
|
-
|
|
29564
|
-
if (!date) {
|
|
29565
|
-
return new Date().getSeconds();
|
|
29566
|
-
}
|
|
29567
|
-
if (typeof date === 'string') {
|
|
29568
|
-
date = new Date(date);
|
|
29569
|
-
}
|
|
29570
|
-
return date.getSeconds();
|
|
29571
|
-
};
|
|
29572
|
-
|
|
29538
|
+
*/
|
|
29539
|
+
var getSecond = function getSecond(date) {
|
|
29540
|
+
if (!date) {
|
|
29541
|
+
return new Date().getSeconds();
|
|
29542
|
+
}
|
|
29543
|
+
if (typeof date === 'string') {
|
|
29544
|
+
date = new Date(date);
|
|
29545
|
+
}
|
|
29546
|
+
return date.getSeconds();
|
|
29547
|
+
};
|
|
29548
|
+
|
|
29573
29549
|
/**
|
|
29574
29550
|
* 获取星期几
|
|
29575
29551
|
* @date 2022年5月7日
|
|
29576
29552
|
* @param {Date|string} [date] - 日期对象或日期字符串
|
|
29577
29553
|
* @returns {number} 星期几(0-6,0表示星期日)
|
|
29578
|
-
*/
|
|
29579
|
-
|
|
29580
|
-
if (!date) {
|
|
29581
|
-
return new Date().getDay();
|
|
29582
|
-
}
|
|
29583
|
-
if (typeof date === 'string') {
|
|
29584
|
-
date = new Date(date);
|
|
29585
|
-
}
|
|
29586
|
-
return date.getDay();
|
|
29587
|
-
};
|
|
29588
|
-
|
|
29589
|
-
|
|
29554
|
+
*/
|
|
29555
|
+
var getWeekday = function getWeekday(date) {
|
|
29556
|
+
if (!date) {
|
|
29557
|
+
return new Date().getDay();
|
|
29558
|
+
}
|
|
29559
|
+
if (typeof date === 'string') {
|
|
29560
|
+
date = new Date(date);
|
|
29561
|
+
}
|
|
29562
|
+
return date.getDay();
|
|
29563
|
+
};
|
|
29564
|
+
|
|
29590
29565
|
/**
|
|
29591
29566
|
* @desc 获取上午/下午/晚上
|
|
29592
29567
|
* @author huangbo
|
|
29593
29568
|
* @date 2022年5月7日
|
|
29594
29569
|
* @param {String} [time] - 时间
|
|
29595
|
-
**/
|
|
29596
|
-
|
|
29597
|
-
|
|
29598
|
-
if (!time) {
|
|
29599
|
-
hour = new Date().getHours();
|
|
29600
|
-
} else if (typeof time === 'string') {
|
|
29601
|
-
// 从时间字符串中提取小时
|
|
29602
|
-
|
|
29603
|
-
if (match) {
|
|
29604
|
-
hour = parseInt(match[1], 10);
|
|
29605
|
-
}
|
|
29606
|
-
} else if (typeof time === 'number') {
|
|
29607
|
-
hour = time;
|
|
29608
|
-
}
|
|
29609
|
-
// 判断时间段
|
|
29610
|
-
if (hour >= 5 && hour < 12) {
|
|
29611
|
-
return '上午';
|
|
29612
|
-
} else if (hour >= 12 && hour < 18) {
|
|
29613
|
-
return '下午';
|
|
29614
|
-
} else {
|
|
29615
|
-
return '晚上';
|
|
29616
|
-
}
|
|
29570
|
+
**/
|
|
29571
|
+
var timeCycle = function timeCycle(time) {
|
|
29572
|
+
var hour = 0;
|
|
29573
|
+
if (!time) {
|
|
29574
|
+
hour = new Date().getHours();
|
|
29575
|
+
} else if (typeof time === 'string') {
|
|
29576
|
+
// 从时间字符串中提取小时
|
|
29577
|
+
var match = time.match(/^(\d{1,2})/);
|
|
29578
|
+
if (match) {
|
|
29579
|
+
hour = parseInt(match[1], 10);
|
|
29580
|
+
}
|
|
29581
|
+
} else if (typeof time === 'number') {
|
|
29582
|
+
hour = time;
|
|
29583
|
+
}
|
|
29584
|
+
// 判断时间段
|
|
29585
|
+
if (hour >= 5 && hour < 12) {
|
|
29586
|
+
return '上午';
|
|
29587
|
+
} else if (hour >= 12 && hour < 18) {
|
|
29588
|
+
return '下午';
|
|
29589
|
+
} else {
|
|
29590
|
+
return '晚上';
|
|
29591
|
+
}
|
|
29617
29592
|
};
|
|
29618
29593
|
|
|
29619
29594
|
/***/ }),
|
|
@@ -30471,7 +30446,7 @@ function redirectToLoginPage(loginPage, next) {
|
|
|
30471
30446
|
* @param {function} callback - 回调函数
|
|
30472
30447
|
**/
|
|
30473
30448
|
var getMainConfig = function getMainConfig(callback) {
|
|
30474
|
-
ajax({ url: _config_api__WEBPACK_IMPORTED_MODULE_7__[/* mainConfig */ "
|
|
30449
|
+
ajax({ url: _config_api__WEBPACK_IMPORTED_MODULE_7__[/* mainConfig */ "tb"], params: { userConfigTypes: 'customMenus,customConfig' } }).then(function (res) {
|
|
30475
30450
|
if (res && res.rCode === 0) {
|
|
30476
30451
|
callback(res.results);
|
|
30477
30452
|
}
|
|
@@ -30494,7 +30469,7 @@ var getSysCodeList = function getSysCodeList(_ref4) {
|
|
|
30494
30469
|
method = _ref4$method === undefined ? 'POST' : _ref4$method,
|
|
30495
30470
|
service = _ref4.service,
|
|
30496
30471
|
_ref4$url = _ref4.url,
|
|
30497
|
-
url = _ref4$url === undefined ? _config_api__WEBPACK_IMPORTED_MODULE_7__[/* findSysCode */ "
|
|
30472
|
+
url = _ref4$url === undefined ? _config_api__WEBPACK_IMPORTED_MODULE_7__[/* findSysCode */ "C"] : _ref4$url,
|
|
30498
30473
|
sysCode = _ref4.sysCode,
|
|
30499
30474
|
_ref4$param = _ref4.param,
|
|
30500
30475
|
param = _ref4$param === undefined ? {} : _ref4$param,
|
|
@@ -30604,7 +30579,7 @@ var downloadFile = function downloadFile(_ref6) {
|
|
|
30604
30579
|
file = _ref6.file,
|
|
30605
30580
|
withToken = _ref6.withToken;
|
|
30606
30581
|
|
|
30607
|
-
var dochubConfig = Object(_storage__WEBPACK_IMPORTED_MODULE_4__[/* getStorage */ "a"])('dochubConfig') || { downloadDocumentUrl: _config_api__WEBPACK_IMPORTED_MODULE_7__[/* downloadByAdjunctId */ "
|
|
30582
|
+
var dochubConfig = Object(_storage__WEBPACK_IMPORTED_MODULE_4__[/* getStorage */ "a"])('dochubConfig') || { downloadDocumentUrl: _config_api__WEBPACK_IMPORTED_MODULE_7__[/* downloadByAdjunctId */ "x"] };
|
|
30608
30583
|
|
|
30609
30584
|
var downloadUrl = '';
|
|
30610
30585
|
if (file.adjunctId || file.response && file.response.adjunctId) {
|
|
@@ -30667,7 +30642,7 @@ var downloadZip = function downloadZip(_ref7) {
|
|
|
30667
30642
|
code = _ref7.code,
|
|
30668
30643
|
option = _objectWithoutProperties(_ref7, ['withToken', 'fileName', 'url', 'ownId', 'code']);
|
|
30669
30644
|
|
|
30670
|
-
var dochubConfig = Object(_storage__WEBPACK_IMPORTED_MODULE_4__[/* getStorage */ "a"])('dochubConfig') || { compressDownloadDocumentUrl: _config_api__WEBPACK_IMPORTED_MODULE_7__[/* uploadDownloads */ "
|
|
30645
|
+
var dochubConfig = Object(_storage__WEBPACK_IMPORTED_MODULE_4__[/* getStorage */ "a"])('dochubConfig') || { compressDownloadDocumentUrl: _config_api__WEBPACK_IMPORTED_MODULE_7__[/* uploadDownloads */ "Sc"] };
|
|
30671
30646
|
|
|
30672
30647
|
// 处理URL和参数
|
|
30673
30648
|
var downloadUrl = url ? url : dochubConfig.compressDownloadDocumentUrl;
|
|
@@ -30719,7 +30694,7 @@ var deleteFile = function deleteFile(_ref8) {
|
|
|
30719
30694
|
onSuccess = _ref8.onSuccess,
|
|
30720
30695
|
onError = _ref8.onError;
|
|
30721
30696
|
|
|
30722
|
-
var dochubConfig = JSON.parse(Object(_storage__WEBPACK_IMPORTED_MODULE_4__[/* getStorage */ "a"])('dochubConfig') || '{ deleteDocumentUrl: \'' + _config_api__WEBPACK_IMPORTED_MODULE_7__[/* delAdjunct */ "
|
|
30697
|
+
var dochubConfig = JSON.parse(Object(_storage__WEBPACK_IMPORTED_MODULE_4__[/* getStorage */ "a"])('dochubConfig') || '{ deleteDocumentUrl: \'' + _config_api__WEBPACK_IMPORTED_MODULE_7__[/* delAdjunct */ "o"] + '\' }');
|
|
30723
30698
|
|
|
30724
30699
|
// 处理URL和参数
|
|
30725
30700
|
var deleteUrl = url ? url : dochubConfig.deleteDocumentUrl;
|