eoss-ui 0.7.52 → 0.7.53
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/button-group.js +290 -279
- package/lib/button.js +290 -280
- package/lib/calendar.js +2 -2
- package/lib/calogin.js +523 -512
- package/lib/card.js +2 -2
- package/lib/cascader.js +2 -2
- package/lib/checkbox-group.js +294 -283
- package/lib/clients.js +2 -2
- package/lib/config/api.js +3 -1
- package/lib/data-table-form.js +293 -282
- package/lib/data-table.js +292 -281
- package/lib/date-picker.js +290 -280
- package/lib/dialog.js +293 -282
- package/lib/enable-drag.js +2 -2
- package/lib/enterprise.js +2 -2
- package/lib/eoss-ui.common.js +5515 -5675
- package/lib/error-page.js +2 -2
- package/lib/flow-group.js +354 -362
- package/lib/flow-list.js +435 -412
- package/lib/flow.js +608 -599
- package/lib/form.js +295 -284
- package/lib/handle-user.js +384 -392
- package/lib/handler.js +290 -280
- package/lib/icon.js +291 -281
- package/lib/icons.js +5 -5
- package/lib/index.js +1 -1
- package/lib/input-number.js +290 -280
- package/lib/input.js +294 -284
- package/lib/label.js +2 -2
- package/lib/layout.js +4 -4
- package/lib/login.js +303 -292
- package/lib/main.js +466 -455
- package/lib/menu.js +4 -4
- package/lib/nav.js +292 -282
- package/lib/notify.js +74 -71
- package/lib/page.js +290 -280
- package/lib/pagination.js +290 -280
- package/lib/player.js +373 -385
- package/lib/qr-code.js +305 -295
- package/lib/radio-group.js +301 -291
- package/lib/retrial-auth.js +294 -284
- package/lib/select-ganged.js +292 -282
- package/lib/select.js +299 -289
- package/lib/selector-panel.js +295 -284
- package/lib/selector.js +292 -282
- package/lib/sizer.js +290 -280
- package/lib/steps.js +292 -282
- package/lib/switch.js +290 -280
- package/lib/table-form.js +297 -287
- package/lib/tabs-panel.js +2 -2
- package/lib/tabs.js +290 -280
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff +0 -0
- package/lib/theme-chalk/icon.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/menu.css +1 -1
- package/lib/theme-chalk/simplicity.css +1 -1
- package/lib/theme-chalk/sizer.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/tips.js +292 -282
- package/lib/toolbar.js +2 -2
- package/lib/tree-group.js +290 -280
- package/lib/tree.js +292 -282
- package/lib/upload.js +304 -293
- package/lib/utils/util.js +8 -12
- package/lib/wujie.js +290 -280
- package/lib/wxlogin.js +290 -280
- package/package.json +160 -160
- package/packages/button/index.js +5 -5
- package/packages/button/src/main.vue +418 -418
- package/packages/button-group/index.js +5 -5
- package/packages/button-group/src/main.vue +346 -346
- package/packages/calendar/index.js +5 -5
- package/packages/calogin/index.js +5 -5
- package/packages/calogin/src/main.vue +412 -412
- package/packages/calogin/src/plugin.js +915 -915
- package/packages/card/index.js +5 -5
- package/packages/card/src/main.vue +156 -156
- package/packages/cascader/index.js +5 -5
- package/packages/cascader/src/main.vue +168 -168
- package/packages/checkbox-group/index.js +5 -5
- package/packages/checkbox-group/src/main.vue +333 -333
- package/packages/clients/index.js +5 -5
- package/packages/clients/src/main.vue +151 -151
- package/packages/data-table/index.js +5 -5
- package/packages/data-table/src/children.vue +39 -39
- package/packages/data-table/src/column.vue +992 -992
- package/packages/data-table/src/main.vue +1840 -1840
- package/packages/data-table/src/sizer.vue +195 -195
- package/packages/data-table-form/index.js +5 -5
- package/packages/data-table-form/src/checkbox.vue +101 -101
- package/packages/data-table-form/src/colgroup.vue +17 -17
- package/packages/data-table-form/src/main.vue +181 -181
- package/packages/data-table-form/src/radio.vue +65 -65
- package/packages/data-table-form/src/table.vue +233 -233
- package/packages/data-table-form/src/tbody.vue +336 -336
- package/packages/data-table-form/src/thead.vue +68 -68
- package/packages/date-picker/index.js +5 -5
- package/packages/date-picker/src/main.vue +236 -236
- package/packages/dialog/index.js +5 -5
- package/packages/enable-drag/index.js +5 -5
- package/packages/enterprise/index.js +5 -5
- package/packages/enterprise/src/main.vue +66 -66
- package/packages/error-page/index.js +5 -5
- package/packages/error-page/src/main.vue +44 -44
- package/packages/flow/index.js +5 -5
- package/packages/flow/src/component/Circulate.vue +413 -413
- package/packages/flow/src/component/CommonOpinions.vue +373 -373
- package/packages/flow/src/component/CustomPreset.vue +322 -322
- package/packages/flow/src/component/FileList.vue +97 -97
- package/packages/flow/src/component/FreeCirculation.vue +240 -240
- package/packages/flow/src/component/Preset.vue +255 -255
- package/packages/flow/src/component/SendMsg.vue +242 -242
- package/packages/flow/src/component/TimeLimit.vue +190 -190
- package/packages/flow/src/component/taskUnionExamine.vue +756 -756
- package/packages/flow/src/form.vue +121 -121
- package/packages/flow/src/freeStartFlow.vue +2846 -2846
- package/packages/flow/src/main.vue +3878 -3879
- package/packages/flow/src/processForm.vue +1365 -1365
- package/packages/flow/src/processReject.vue +309 -309
- package/packages/flow/src/reset.vue +942 -942
- package/packages/flow/src/startTaskRead.vue +692 -692
- package/packages/flow/src/supervise.vue +159 -159
- package/packages/flow/src/table.vue +58 -58
- package/packages/flow-group/index.js +5 -5
- package/packages/flow-group/src/main.vue +717 -717
- package/packages/flow-list/index.js +5 -5
- package/packages/flow-list/src/main.vue +1801 -1787
- package/packages/form/index.js +5 -5
- package/packages/form/src/main.vue +3901 -3901
- package/packages/form/src/table.vue +1512 -1512
- package/packages/handle-user/index.js +5 -5
- package/packages/handle-user/src/main.vue +137 -137
- package/packages/handler/index.js +5 -5
- package/packages/handler/src/main.vue +496 -496
- package/packages/icon/index.js +5 -5
- package/packages/icon/src/main.vue +104 -104
- package/packages/icons/index.js +5 -5
- package/packages/icons/src/icon.json +1 -1
- package/packages/icons/src/main.vue +81 -81
- package/packages/input/index.js +5 -5
- package/packages/input/src/main.vue +356 -356
- package/packages/input-number/index.js +5 -5
- package/packages/input-number/src/main.vue +106 -106
- package/packages/label/index.js +5 -5
- package/packages/label/src/main.vue +457 -457
- package/packages/layout/index.js +5 -5
- package/packages/layout/src/item.vue +152 -152
- package/packages/layout/src/main.vue +31 -31
- package/packages/login/index.js +5 -5
- package/packages/login/src/main.vue +2082 -2082
- package/packages/login/src/resetPassword.vue +557 -557
- package/packages/main/index.js +5 -5
- package/packages/main/src/default/message.vue +249 -249
- package/packages/main/src/default/notice.vue +157 -157
- package/packages/main/src/default/userinfo.vue +503 -503
- package/packages/main/src/public/online.vue +89 -89
- package/packages/main/src/public/search.vue +464 -464
- package/packages/main/src/public/settings.vue +227 -227
- package/packages/main/src/simplicity/apps.vue +388 -388
- package/packages/main/src/simplicity/avatar.vue +82 -82
- package/packages/main/src/simplicity/handler.vue +160 -160
- package/packages/main/src/simplicity/index.vue +2277 -2277
- package/packages/main/src/simplicity/lists.vue +84 -84
- package/packages/main/src/simplicity/menu-list.vue +135 -135
- package/packages/main/src/simplicity/message.vue +293 -293
- package/packages/main/src/simplicity/notice.vue +222 -222
- package/packages/main/src/simplicity/router-page.vue +45 -45
- package/packages/main/src/simplicity/sub-menu.vue +274 -274
- package/packages/main/src/simplicity/user.vue +259 -259
- package/packages/main/src/simplicity/userinfo.vue +401 -401
- package/packages/menu/index.js +5 -5
- package/packages/menu/src/main.vue +595 -595
- package/packages/nav/index.js +5 -5
- package/packages/nav/src/main.vue +351 -351
- package/packages/notify/index.js +5 -5
- package/packages/notify/src/main.vue +538 -538
- package/packages/page/index.js +5 -5
- package/packages/page/src/main.vue +167 -167
- package/packages/pagination/index.js +5 -5
- package/packages/pagination/src/main.vue +96 -96
- package/packages/player/index.js +5 -5
- package/packages/player/src/main.vue +194 -194
- package/packages/qr-code/index.js +5 -5
- package/packages/qr-code/src/main.vue +170 -170
- package/packages/radio-group/index.js +6 -6
- package/packages/radio-group/src/main.vue +319 -319
- package/packages/retrial-auth/index.js +5 -5
- package/packages/retrial-auth/src/main.vue +280 -280
- package/packages/select/index.js +5 -5
- package/packages/select/src/main.vue +782 -782
- package/packages/select-ganged/index.js +5 -5
- package/packages/select-ganged/src/main.vue +724 -724
- package/packages/selector/index.js +5 -5
- package/packages/selector/src/main.vue +761 -761
- package/packages/selector-panel/index.js +5 -5
- package/packages/selector-panel/src/main.vue +1027 -1027
- package/packages/selector-panel/src/selection.vue +170 -170
- package/packages/selector-panel/src/tree.vue +129 -129
- package/packages/sizer/index.js +5 -5
- package/packages/sizer/src/main.vue +254 -254
- package/packages/steps/index.js +5 -5
- package/packages/steps/src/main.vue +181 -181
- package/packages/switch/index.js +5 -5
- package/packages/switch/src/main.vue +170 -170
- package/packages/table-form/index.js +5 -5
- package/packages/tabs/index.js +5 -5
- package/packages/tabs/src/main.vue +788 -788
- package/packages/tabs-panel/index.js +5 -5
- package/packages/tabs-panel/src/main.vue +29 -29
- package/packages/theme-chalk/lib/base.css +1 -1
- package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/lib/icon.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/menu.css +1 -1
- package/packages/theme-chalk/lib/simplicity.css +1 -1
- package/packages/theme-chalk/lib/sizer.css +1 -1
- package/packages/theme-chalk/lib/upload.css +1 -1
- package/packages/theme-chalk/src/base.scss +261 -261
- package/packages/theme-chalk/src/button-group.scss +176 -176
- package/packages/theme-chalk/src/button.scss +24 -24
- package/packages/theme-chalk/src/calendar.scss +113 -113
- package/packages/theme-chalk/src/card.scss +99 -99
- package/packages/theme-chalk/src/checkbox-group.scss +8 -8
- package/packages/theme-chalk/src/clients.scss +87 -87
- package/packages/theme-chalk/src/data-table-form.scss +67 -67
- package/packages/theme-chalk/src/data-table.scss +297 -297
- package/packages/theme-chalk/src/date-picker.scss +7 -7
- package/packages/theme-chalk/src/dialog.scss +77 -77
- package/packages/theme-chalk/src/enable-drag.scss +181 -181
- package/packages/theme-chalk/src/enterprise.scss +5 -5
- package/packages/theme-chalk/src/error-page.scss +18 -18
- package/packages/theme-chalk/src/flow-group.scss +110 -110
- package/packages/theme-chalk/src/flow-list.scss +39 -39
- package/packages/theme-chalk/src/flow.scss +351 -351
- package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/src/form.scss +501 -501
- package/packages/theme-chalk/src/handle-user.scss +40 -40
- package/packages/theme-chalk/src/handler.scss +148 -148
- package/packages/theme-chalk/src/icon.scss +1540 -1456
- package/packages/theme-chalk/src/icons.scss +99 -99
- package/packages/theme-chalk/src/input.scss +9 -9
- package/packages/theme-chalk/src/label.scss +24 -24
- package/packages/theme-chalk/src/layout.scss +46 -46
- package/packages/theme-chalk/src/login.scss +1006 -1006
- package/packages/theme-chalk/src/main.scss +663 -663
- package/packages/theme-chalk/src/menu.scss +224 -224
- package/packages/theme-chalk/src/mixins/color.scss +117 -117
- package/packages/theme-chalk/src/nav.scss +111 -111
- package/packages/theme-chalk/src/page.scss +3 -3
- package/packages/theme-chalk/src/pagination.scss +29 -29
- package/packages/theme-chalk/src/player.scss +9 -9
- package/packages/theme-chalk/src/qr-code.scss +17 -17
- package/packages/theme-chalk/src/radio-group.scss +9 -9
- package/packages/theme-chalk/src/retrial-auth.scss +38 -38
- package/packages/theme-chalk/src/select-ganged.scss +8 -8
- package/packages/theme-chalk/src/select.scss +8 -8
- package/packages/theme-chalk/src/selector-panel.scss +204 -204
- package/packages/theme-chalk/src/selector.scss +114 -114
- package/packages/theme-chalk/src/simplicity.scss +1395 -1395
- package/packages/theme-chalk/src/sizer.scss +36 -36
- package/packages/theme-chalk/src/steps.scss +88 -88
- package/packages/theme-chalk/src/switch.scss +3 -3
- package/packages/theme-chalk/src/table-form.scss +1 -1
- package/packages/theme-chalk/src/tabs.scss +87 -87
- package/packages/theme-chalk/src/tips.scss +7 -7
- package/packages/theme-chalk/src/toolbar.scss +179 -179
- package/packages/theme-chalk/src/tree-group.scss +72 -72
- package/packages/theme-chalk/src/tree.scss +165 -165
- package/packages/theme-chalk/src/upload.scss +172 -172
- package/packages/theme-chalk/src/wxlogin.scss +3 -3
- package/packages/tips/index.js +5 -5
- package/packages/tips/src/main.vue +141 -141
- package/packages/toolbar/index.js +5 -5
- package/packages/toolbar/src/main.vue +430 -430
- package/packages/tree/index.js +5 -5
- package/packages/tree-group/index.js +5 -5
- package/packages/upload/index.js +5 -5
- package/packages/upload/src/main.vue +1344 -1344
- package/packages/upload/src/picture.js +15 -15
- package/packages/wujie/index.js +5 -5
- package/packages/wujie/src/main.vue +145 -145
- package/packages/wxlogin/index.js +5 -5
- package/packages/wxlogin/src/main.vue +128 -128
- package/src/config/api.js +317 -315
- package/src/config/image.js +2 -2
- package/src/index.js +163 -163
- package/src/utils/bus.js +3 -3
- package/src/utils/date-util.js +312 -312
- package/src/utils/http.js +50 -50
- package/src/utils/rules.js +18 -18
- package/src/utils/store.js +21 -21
- package/src/utils/util.js +7 -10
- package/src/utils/webSocket.js +107 -107
- package/packages/.DS_Store +0 -0
- package/packages/calogin/.DS_Store +0 -0
- package/packages/date-picker/.DS_Store +0 -0
- package/packages/date-picker/src/.DS_Store +0 -0
- package/packages/dialog/.DS_Store +0 -0
- package/packages/flow/.DS_Store +0 -0
- package/packages/flow/src/.DS_Store +0 -0
- package/packages/flow-list/.DS_Store +0 -0
- package/packages/form/.DS_Store +0 -0
- package/packages/icon/.DS_Store +0 -0
- package/packages/login/.DS_Store +0 -0
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/menu/.DS_Store +0 -0
- package/packages/select/.DS_Store +0 -0
- package/packages/selector/.DS_Store +0 -0
- package/packages/selector-panel/.DS_Store +0 -0
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/upload/.DS_Store +0 -0
- package/src/.DS_Store +0 -0
- package/src/utils/.DS_Store +0 -0
package/lib/flow-list.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 = 48);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ([
|
|
@@ -90,20 +90,174 @@ module.exports =
|
|
|
90
90
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
91
91
|
|
|
92
92
|
"use strict";
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
93
|
+
|
|
94
|
+
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
95
|
+
var regenerator_ = __webpack_require__(4);
|
|
96
|
+
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator_);
|
|
97
|
+
|
|
98
|
+
// EXTERNAL MODULE: ./src/config/api.js
|
|
99
|
+
var api = __webpack_require__(1);
|
|
100
|
+
|
|
101
|
+
// EXTERNAL MODULE: external "axios"
|
|
102
|
+
var external_axios_ = __webpack_require__(6);
|
|
103
|
+
var external_axios_default = /*#__PURE__*/__webpack_require__.n(external_axios_);
|
|
104
|
+
|
|
105
|
+
// EXTERNAL MODULE: external "qs"
|
|
106
|
+
var external_qs_ = __webpack_require__(5);
|
|
107
|
+
var external_qs_default = /*#__PURE__*/__webpack_require__.n(external_qs_);
|
|
108
|
+
|
|
109
|
+
// EXTERNAL MODULE: external "json-bigint"
|
|
110
|
+
var external_json_bigint_ = __webpack_require__(7);
|
|
111
|
+
var external_json_bigint_default = /*#__PURE__*/__webpack_require__.n(external_json_bigint_);
|
|
112
|
+
|
|
113
|
+
// EXTERNAL MODULE: external "sockjs-client"
|
|
114
|
+
var external_sockjs_client_ = __webpack_require__(8);
|
|
115
|
+
var external_sockjs_client_default = /*#__PURE__*/__webpack_require__.n(external_sockjs_client_);
|
|
116
|
+
|
|
117
|
+
// EXTERNAL MODULE: external "stompjs"
|
|
118
|
+
var external_stompjs_ = __webpack_require__(9);
|
|
119
|
+
var external_stompjs_default = /*#__PURE__*/__webpack_require__.n(external_stompjs_);
|
|
120
|
+
|
|
121
|
+
// CONCATENATED MODULE: ./src/utils/webSocket.js
|
|
122
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
var webSocket_WebSocket = function () {
|
|
128
|
+
// 构造函数
|
|
129
|
+
function WebSocket() {
|
|
130
|
+
_classCallCheck(this, WebSocket);
|
|
131
|
+
|
|
132
|
+
this.host = sessionStorage.getItem('wshost') || '';
|
|
133
|
+
this.tryTimes = 1; // 重连次数
|
|
134
|
+
this.callback = null; // 回调函数
|
|
135
|
+
this.client = null; // stomp对象
|
|
136
|
+
this.reconTimeout = null; // 重连延时器
|
|
137
|
+
this.debug = true; // 调试
|
|
138
|
+
this.interval = 20; // 重连间隔时间
|
|
139
|
+
this.vm = null;
|
|
140
|
+
this.nextDate = 0;
|
|
141
|
+
this.connects = 1;
|
|
142
|
+
this.recon = false;
|
|
143
|
+
this.sendTimeout = null;
|
|
144
|
+
this.socket = null;
|
|
145
|
+
this.subscription = null;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/** socket连接 */
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
WebSocket.prototype.connect = function connect() {
|
|
152
|
+
var _this = this;
|
|
153
|
+
|
|
154
|
+
if (!this.client) {
|
|
155
|
+
// 连接SockJS
|
|
156
|
+
this.socket = new external_sockjs_client_default.a(this.host + this.url, { timeout: 60000 });
|
|
157
|
+
this.client = external_stompjs_default.a.over(this.socket);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// 日志不打印
|
|
161
|
+
if (!this.debug) {
|
|
162
|
+
this.client.debug = function () {};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// 向服务器发起websocket连接
|
|
166
|
+
this.client.connect({}, function () {
|
|
167
|
+
_this.recon = true;
|
|
168
|
+
// tryTimes定义重置
|
|
169
|
+
_this.connects = 1;
|
|
170
|
+
// 订阅消息
|
|
171
|
+
_this.subscribe();
|
|
172
|
+
}, function (error) {
|
|
173
|
+
_this.unsubscribe();
|
|
174
|
+
_this.client = null;
|
|
175
|
+
var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
|
|
176
|
+
if (_this.connects > 5 && diffSecond < _this.interval) {
|
|
177
|
+
_this.error && _this.error(error);
|
|
178
|
+
} else {
|
|
179
|
+
_this.reconTimeout = setTimeout(function () {
|
|
180
|
+
_this.connect();
|
|
181
|
+
_this.connects++;
|
|
182
|
+
}, 5000);
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
}; // 清除订阅
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
WebSocket.prototype.unsubscribe = function unsubscribe() {
|
|
189
|
+
if (this.subscription) {
|
|
190
|
+
this.subscription.unsubscribe();
|
|
191
|
+
this.subscription = null;
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
/** 订阅服务端 */
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
WebSocket.prototype.subscribe = function subscribe() {
|
|
198
|
+
var _this2 = this;
|
|
199
|
+
|
|
200
|
+
// 订阅服务端提供的某个topic
|
|
201
|
+
this.subscription = this.client.subscribe(this.take, function (response) {
|
|
202
|
+
if (response && (_this2.callback || _this2.success)) {
|
|
203
|
+
var callback = _this2.callback || _this2.success;
|
|
204
|
+
callback(JSON.parse(response.body));
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
/** 赋值、初始化socket */
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
WebSocket.prototype.init = function init(option, vm) {
|
|
213
|
+
for (var i in option) {
|
|
214
|
+
this[i] = option[i];
|
|
215
|
+
}
|
|
216
|
+
this.vm = vm;
|
|
217
|
+
// 初始化连接
|
|
218
|
+
this.connect();
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
/** 发送消息 */
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
WebSocket.prototype.send = function send(data) {
|
|
225
|
+
var _this3 = this;
|
|
226
|
+
|
|
227
|
+
if (this.recon) {
|
|
228
|
+
clearTimeout(this.sendTimeout);
|
|
229
|
+
this.client.send(this.take, {}, typeof data === 'string' ? data : JSON.stringify(data));
|
|
230
|
+
} else {
|
|
231
|
+
this.sendTimeout = setTimeout(function () {
|
|
232
|
+
_this3.send(data);
|
|
233
|
+
}, 1000);
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
/** 销毁 */
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
WebSocket.prototype.destroy = function destroy() {
|
|
241
|
+
// 断开连接,清除定时器
|
|
242
|
+
this.unsubscribe();
|
|
243
|
+
if (this.client) {
|
|
244
|
+
this.client.disconnect();
|
|
245
|
+
};
|
|
246
|
+
this.reconTimeout && clearTimeout(this.reconTimeout);
|
|
247
|
+
this.sendTimeout && clearTimeout(this.sendTimeout);
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
return WebSocket;
|
|
251
|
+
}();
|
|
252
|
+
|
|
253
|
+
/* harmony default export */ var webSocket = (webSocket_WebSocket);
|
|
254
|
+
// EXTERNAL MODULE: external "ua-parser-js"
|
|
255
|
+
var external_ua_parser_js_ = __webpack_require__(10);
|
|
256
|
+
|
|
257
|
+
// EXTERNAL MODULE: external "eoss-element"
|
|
258
|
+
var external_eoss_element_ = __webpack_require__(2);
|
|
259
|
+
|
|
260
|
+
// CONCATENATED MODULE: ./src/utils/util.js
|
|
107
261
|
|
|
108
262
|
|
|
109
263
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
@@ -122,8 +276,8 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
|
|
|
122
276
|
**/
|
|
123
277
|
|
|
124
278
|
/* eslint-disable indent */
|
|
125
|
-
var sm2 = __webpack_require__(
|
|
126
|
-
var lodash = __webpack_require__(
|
|
279
|
+
var sm2 = __webpack_require__(11).sm2;
|
|
280
|
+
var lodash = __webpack_require__(12);
|
|
127
281
|
|
|
128
282
|
|
|
129
283
|
|
|
@@ -133,7 +287,7 @@ var lodash = __webpack_require__(13);
|
|
|
133
287
|
|
|
134
288
|
var win = window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
|
|
135
289
|
var isIE = /MSIE|Trident/.test(navigator.userAgent);
|
|
136
|
-
var parser = new
|
|
290
|
+
var parser = new external_ua_parser_js_["UAParser"]();
|
|
137
291
|
var $hueStep = 2;
|
|
138
292
|
var $saturationStep1 = 0.16;
|
|
139
293
|
var $saturationStep2 = 0.05;
|
|
@@ -141,12 +295,12 @@ var $brightnessStep1 = 0.05;
|
|
|
141
295
|
var $brightnessStep2 = 0.15;
|
|
142
296
|
var $lightColorCount = 5;
|
|
143
297
|
var $darkColorCount = 4;
|
|
144
|
-
var
|
|
298
|
+
var util_publicKey = 'abcdefghijklmnopqrstuvwxyz12345678';
|
|
145
299
|
var loginMsg = void 0;
|
|
146
300
|
var initAuth = void 0;
|
|
147
301
|
var $_http = void 0;
|
|
148
302
|
|
|
149
|
-
var JSONbigToString =
|
|
303
|
+
var JSONbigToString = external_json_bigint_default()({ storeAsString: true });
|
|
150
304
|
|
|
151
305
|
|
|
152
306
|
/**
|
|
@@ -181,7 +335,7 @@ var JSONbigToString = json_bigint__WEBPACK_IMPORTED_MODULE_4___default()({ store
|
|
|
181
335
|
// pendingRequest.delete(requestKey);
|
|
182
336
|
// }
|
|
183
337
|
// }
|
|
184
|
-
var
|
|
338
|
+
var util_ajax = function ajax(_ref) {
|
|
185
339
|
var headers = _ref.headers,
|
|
186
340
|
method = _ref.method,
|
|
187
341
|
url = _ref.url,
|
|
@@ -221,7 +375,7 @@ var ajax = function ajax(_ref) {
|
|
|
221
375
|
var http = $_http;
|
|
222
376
|
if (!http) {
|
|
223
377
|
var baseURL = host === true ? getStorage('host') : host === false ? '' : host;
|
|
224
|
-
http =
|
|
378
|
+
http = external_axios_default.a.create({
|
|
225
379
|
baseURL: baseURL,
|
|
226
380
|
timeout: 99000,
|
|
227
381
|
transformResponse: [function (data) {
|
|
@@ -259,7 +413,7 @@ var ajax = function ajax(_ref) {
|
|
|
259
413
|
});
|
|
260
414
|
}
|
|
261
415
|
if (response.status === 200) {
|
|
262
|
-
|
|
416
|
+
util_responses(response.data);
|
|
263
417
|
// eslint-disable-next-line no-undef
|
|
264
418
|
return Promise.resolve(JSON.parse(JSON.stringify(response.data)));
|
|
265
419
|
}
|
|
@@ -388,7 +542,7 @@ var ajax = function ajax(_ref) {
|
|
|
388
542
|
}
|
|
389
543
|
}
|
|
390
544
|
if (method === 'post' && format) {
|
|
391
|
-
data =
|
|
545
|
+
data = external_qs_default.a.stringify(data, formatConfig);
|
|
392
546
|
if (!header['content-type'] && !header['Content-Type']) {
|
|
393
547
|
header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
|
|
394
548
|
}
|
|
@@ -461,7 +615,7 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
461
615
|
var done = false;
|
|
462
616
|
var finishThink = false;
|
|
463
617
|
var hasThink = false;
|
|
464
|
-
|
|
618
|
+
util_ajax(_extends({
|
|
465
619
|
timeout: 990000,
|
|
466
620
|
format: false,
|
|
467
621
|
method: method,
|
|
@@ -932,6 +1086,7 @@ var delUrlParam = function delUrlParam(_ref4) {
|
|
|
932
1086
|
}
|
|
933
1087
|
var src = url ? decodeURI(url) : decodeURI(pUrl);
|
|
934
1088
|
var param = getParams({ url: src });
|
|
1089
|
+
|
|
935
1090
|
if (param && key.length) {
|
|
936
1091
|
if (Array.isArray(key)) {
|
|
937
1092
|
key.forEach(function (item) {
|
|
@@ -945,26 +1100,21 @@ var delUrlParam = function delUrlParam(_ref4) {
|
|
|
945
1100
|
src = src.replace(reg, '');
|
|
946
1101
|
}
|
|
947
1102
|
}
|
|
948
|
-
if (Object.keys(param).length === key.length) {
|
|
949
|
-
src = src.replace('?', '');
|
|
950
|
-
}
|
|
951
1103
|
});
|
|
952
1104
|
} else {
|
|
953
1105
|
if (param.hasOwnProperty(key)) {
|
|
954
1106
|
var reg = key + '=' + param[key];
|
|
955
|
-
if (
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
if (src.indexOf('&' + reg) > -1) {
|
|
960
|
-
src = src.replace('&' + reg, '');
|
|
961
|
-
}
|
|
1107
|
+
if (src.indexOf(reg + '&') > -1) {
|
|
1108
|
+
src = src.replace(reg + '&', '');
|
|
1109
|
+
} else if (src.indexOf('&' + reg) > -1) {
|
|
1110
|
+
src = src.replace('&' + reg, '');
|
|
962
1111
|
} else {
|
|
963
|
-
src = src.replace(
|
|
1112
|
+
src = src.replace(reg, '');
|
|
964
1113
|
}
|
|
965
1114
|
}
|
|
966
1115
|
}
|
|
967
1116
|
}
|
|
1117
|
+
src.endsWith('?') && (src = src.replace('?', ''));
|
|
968
1118
|
return src;
|
|
969
1119
|
};
|
|
970
1120
|
|
|
@@ -1005,8 +1155,8 @@ var downloadFile = function downloadFile(fileUrl) {
|
|
|
1005
1155
|
* @param {string} [data] - 被加密的字符串
|
|
1006
1156
|
**/
|
|
1007
1157
|
var esEncode = function esEncode(value) {
|
|
1008
|
-
var kleng =
|
|
1009
|
-
var kstr =
|
|
1158
|
+
var kleng = util_publicKey.length;
|
|
1159
|
+
var kstr = util_publicKey.split('');
|
|
1010
1160
|
var result = '';
|
|
1011
1161
|
var cat = void 0;
|
|
1012
1162
|
var cat1 = void 0;
|
|
@@ -1033,7 +1183,7 @@ var esEncode = function esEncode(value) {
|
|
|
1033
1183
|
* @param {string} [key] - 私钥
|
|
1034
1184
|
**/
|
|
1035
1185
|
var esDecode = function esDecode(value) {
|
|
1036
|
-
var kleng =
|
|
1186
|
+
var kleng = util_publicKey.length;
|
|
1037
1187
|
var result = void 0;
|
|
1038
1188
|
var cat1 = void 0;
|
|
1039
1189
|
var cat2 = void 0;
|
|
@@ -1043,11 +1193,11 @@ var esDecode = function esDecode(value) {
|
|
|
1043
1193
|
arr = new Array(Math.floor(value.length / 3));
|
|
1044
1194
|
result = arr.length;
|
|
1045
1195
|
for (var i = 0; i < result; i++) {
|
|
1046
|
-
cat1 =
|
|
1196
|
+
cat1 = util_publicKey.indexOf(value.charAt(num));
|
|
1047
1197
|
num++;
|
|
1048
|
-
cat2 =
|
|
1198
|
+
cat2 = util_publicKey.indexOf(value.charAt(num));
|
|
1049
1199
|
num++;
|
|
1050
|
-
cat3 =
|
|
1200
|
+
cat3 = util_publicKey.indexOf(value.charAt(num));
|
|
1051
1201
|
num++;
|
|
1052
1202
|
arr[i] = cat1 * kleng * kleng + cat2 * kleng + cat3;
|
|
1053
1203
|
}
|
|
@@ -1548,8 +1698,8 @@ var getLightness = function getLightness($v, $i, $isLight) {
|
|
|
1548
1698
|
* @date 2022年5月7日
|
|
1549
1699
|
* @param {function} callback - 回调函数
|
|
1550
1700
|
**/
|
|
1551
|
-
var
|
|
1552
|
-
|
|
1701
|
+
var util_getMainConfig = function getMainConfig(callback) {
|
|
1702
|
+
util_ajax({ url: api["sb" /* mainConfig */] }).then(function (res) {
|
|
1553
1703
|
if (res && res.rCode === 0) {
|
|
1554
1704
|
callback(res.results);
|
|
1555
1705
|
}
|
|
@@ -2251,7 +2401,7 @@ var isFunction = function isFunction(obj) {
|
|
|
2251
2401
|
* @param {boolean} [redirect] - 是否重定向(用于新脚手架)
|
|
2252
2402
|
**/
|
|
2253
2403
|
var isLogined = function () {
|
|
2254
|
-
var _ref10 = _asyncToGenerator( /*#__PURE__*/
|
|
2404
|
+
var _ref10 = _asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee(_ref11) {
|
|
2255
2405
|
var to = _ref11.to,
|
|
2256
2406
|
from = _ref11.from,
|
|
2257
2407
|
next = _ref11.next,
|
|
@@ -2261,7 +2411,7 @@ var isLogined = function () {
|
|
|
2261
2411
|
loginPage = _ref11.loginPage,
|
|
2262
2412
|
redirect = _ref11.redirect;
|
|
2263
2413
|
var quit, pathname, path, token, loadingInstance, referrerUrl;
|
|
2264
|
-
return
|
|
2414
|
+
return regenerator_default.a.wrap(function _callee$(_context) {
|
|
2265
2415
|
while (1) {
|
|
2266
2416
|
switch (_context.prev = _context.next) {
|
|
2267
2417
|
case 0:
|
|
@@ -2275,7 +2425,7 @@ var isLogined = function () {
|
|
|
2275
2425
|
break;
|
|
2276
2426
|
}
|
|
2277
2427
|
|
|
2278
|
-
|
|
2428
|
+
util_ajax({ method: 'post', url: api["rb" /* logout */] }).then(function (res) {
|
|
2279
2429
|
if (res.rCode === 0) {
|
|
2280
2430
|
removeStorage();
|
|
2281
2431
|
}
|
|
@@ -2326,11 +2476,11 @@ var isLogined = function () {
|
|
|
2326
2476
|
break;
|
|
2327
2477
|
}
|
|
2328
2478
|
|
|
2329
|
-
loadingInstance =
|
|
2479
|
+
loadingInstance = external_eoss_element_["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
|
|
2330
2480
|
_context.next = 17;
|
|
2331
|
-
return
|
|
2481
|
+
return util_ajax({
|
|
2332
2482
|
method: 'post',
|
|
2333
|
-
url:
|
|
2483
|
+
url: api["b" /* authCenter */],
|
|
2334
2484
|
data: to.query
|
|
2335
2485
|
}).then(function (res) {
|
|
2336
2486
|
if (res.rCode === 0) {
|
|
@@ -2380,7 +2530,7 @@ var isLogined = function () {
|
|
|
2380
2530
|
}
|
|
2381
2531
|
break;
|
|
2382
2532
|
case 4:
|
|
2383
|
-
|
|
2533
|
+
external_eoss_element_["MessageBox"].alert(results.msg ? results.msg : '账号未绑定,账号密码登录后自动绑定!', '提示', {
|
|
2384
2534
|
confirmButtonText: '确定',
|
|
2385
2535
|
type: 'error',
|
|
2386
2536
|
callback: function callback() {
|
|
@@ -2411,7 +2561,7 @@ var isLogined = function () {
|
|
|
2411
2561
|
default:
|
|
2412
2562
|
}
|
|
2413
2563
|
} else {
|
|
2414
|
-
|
|
2564
|
+
external_eoss_element_["MessageBox"].alert(res.msg, '提示', {
|
|
2415
2565
|
confirmButtonText: '确定',
|
|
2416
2566
|
type: 'error',
|
|
2417
2567
|
callback: function callback() {
|
|
@@ -2595,9 +2745,9 @@ var loadJs = function loadJs(_ref13) {
|
|
|
2595
2745
|
* @date 2022年5月7日
|
|
2596
2746
|
* @param {String} [text] - 显示的文本内容
|
|
2597
2747
|
**/
|
|
2598
|
-
var
|
|
2748
|
+
var util_loading = function loading($loading, res) {
|
|
2599
2749
|
if (!$loading) {
|
|
2600
|
-
$loading =
|
|
2750
|
+
$loading = external_eoss_element_["Loading"].service;
|
|
2601
2751
|
}
|
|
2602
2752
|
if (isObject(res)) {
|
|
2603
2753
|
var config = extend({}, {
|
|
@@ -2751,7 +2901,7 @@ var replenish = function replenish(_ref15) {
|
|
|
2751
2901
|
* @date 2022年5月7日
|
|
2752
2902
|
* @param {object} [data] - 数字或字符串型数字
|
|
2753
2903
|
**/
|
|
2754
|
-
var
|
|
2904
|
+
var util_responses = function responses(data) {
|
|
2755
2905
|
if (data.rCode === 64 || data.rCode === 65 || data.rCode === 67 || data.rCode === 69) {
|
|
2756
2906
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
|
|
2757
2907
|
var href = '';
|
|
@@ -2766,7 +2916,7 @@ var responses = function responses(data) {
|
|
|
2766
2916
|
clearTimeout(loginMsg);
|
|
2767
2917
|
loginMsg = setTimeout(function () {
|
|
2768
2918
|
sessionStorage.setItem('remind', 1);
|
|
2769
|
-
|
|
2919
|
+
external_eoss_element_["MessageBox"].confirm(data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', data.rCode === 69 ? {
|
|
2770
2920
|
confirmButtonText: '确定',
|
|
2771
2921
|
closeOnClickModal: false,
|
|
2772
2922
|
type: 'warning'
|
|
@@ -2817,7 +2967,7 @@ var responses = function responses(data) {
|
|
|
2817
2967
|
} else if (data.rCode === 61) {
|
|
2818
2968
|
clearTimeout(initAuth);
|
|
2819
2969
|
initAuth = setTimeout(function () {
|
|
2820
|
-
Object(
|
|
2970
|
+
Object(external_eoss_element_["MessageBox"])({
|
|
2821
2971
|
title: '请进行二次鉴权',
|
|
2822
2972
|
closeOnClickModal: false,
|
|
2823
2973
|
closeOnPressEscape: false,
|
|
@@ -3024,8 +3174,8 @@ var setFavicon = function setFavicon(url) {
|
|
|
3024
3174
|
* @param {Function} [success] - 调试
|
|
3025
3175
|
* @param {Function} [error] - 重连间隔时间
|
|
3026
3176
|
**/
|
|
3027
|
-
function
|
|
3028
|
-
var socket = new
|
|
3177
|
+
function util_socket(option, vm) {
|
|
3178
|
+
var socket = new webSocket();
|
|
3029
3179
|
socket.init(option, vm);
|
|
3030
3180
|
return socket;
|
|
3031
3181
|
}
|
|
@@ -3215,7 +3365,7 @@ var toFunction = function toFunction(str) {
|
|
|
3215
3365
|
return fn;
|
|
3216
3366
|
} else {
|
|
3217
3367
|
// eslint-disable-next-line no-eval
|
|
3218
|
-
return
|
|
3368
|
+
return String.fromCharCode.apply(null, str);
|
|
3219
3369
|
}
|
|
3220
3370
|
};
|
|
3221
3371
|
|
|
@@ -3633,8 +3783,8 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3633
3783
|
}
|
|
3634
3784
|
};
|
|
3635
3785
|
|
|
3636
|
-
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
3637
|
-
ajax:
|
|
3786
|
+
/* harmony default export */ var util = __webpack_exports__["a"] = ({
|
|
3787
|
+
ajax: util_ajax,
|
|
3638
3788
|
ajaxStream: ajaxStream,
|
|
3639
3789
|
arrUnique: arrUnique,
|
|
3640
3790
|
average: average,
|
|
@@ -3664,7 +3814,7 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3664
3814
|
getMyWinTop: getMyWinTop,
|
|
3665
3815
|
getWeekNumber: getWeekNumber,
|
|
3666
3816
|
getLength: getLength,
|
|
3667
|
-
getMainConfig:
|
|
3817
|
+
getMainConfig: util_getMainConfig,
|
|
3668
3818
|
getMinute: getMinute,
|
|
3669
3819
|
getMonth: getMonth,
|
|
3670
3820
|
getObjectType: getObjectType,
|
|
@@ -3693,7 +3843,7 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3693
3843
|
isObjectEqual: isObjectEqual,
|
|
3694
3844
|
jointUrl: jointUrl,
|
|
3695
3845
|
loadJs: loadJs,
|
|
3696
|
-
loading:
|
|
3846
|
+
loading: util_loading,
|
|
3697
3847
|
lowerCase: lowerCase,
|
|
3698
3848
|
mixColor: mixColor,
|
|
3699
3849
|
overbrim: overbrim,
|
|
@@ -3702,7 +3852,7 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3702
3852
|
receiveMessage: receiveMessage,
|
|
3703
3853
|
removeStorage: removeStorage,
|
|
3704
3854
|
replenish: replenish,
|
|
3705
|
-
responses:
|
|
3855
|
+
responses: util_responses,
|
|
3706
3856
|
rgbToHsv: rgbToHsv,
|
|
3707
3857
|
rmbToCapital: rmbToCapital,
|
|
3708
3858
|
sendMessage: sendMessage,
|
|
@@ -3710,7 +3860,7 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3710
3860
|
setFavicon: setFavicon,
|
|
3711
3861
|
setScale: setScale,
|
|
3712
3862
|
setStorage: setStorage,
|
|
3713
|
-
socket:
|
|
3863
|
+
socket: util_socket,
|
|
3714
3864
|
startWith: startWith,
|
|
3715
3865
|
sum: sum,
|
|
3716
3866
|
takeLeft: takeLeft,
|
|
@@ -3740,14 +3890,14 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3740
3890
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return doQrLogin; });
|
|
3741
3891
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return logout; });
|
|
3742
3892
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return initLogin; });
|
|
3743
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3893
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return switchUserTo; });
|
|
3744
3894
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return changeImg; });
|
|
3745
3895
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return getLoginCode; });
|
|
3746
3896
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return doCodeLogin; });
|
|
3747
3897
|
/* unused harmony export updateCode */
|
|
3748
3898
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return getModifyPassCode; });
|
|
3749
3899
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return codeModifyPass; });
|
|
3750
|
-
/* harmony export
|
|
3900
|
+
/* unused harmony export loginModifyPasswomodifyrd */
|
|
3751
3901
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return authCenter; });
|
|
3752
3902
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return initModifyPassword; });
|
|
3753
3903
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return doWechatQrLogin; });
|
|
@@ -3755,15 +3905,15 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3755
3905
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return doTwoFactorLogin; });
|
|
3756
3906
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return initRetrialAuth; });
|
|
3757
3907
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return getRetrialAuthCode; });
|
|
3758
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3908
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return scanCodeRetrialAuth; });
|
|
3759
3909
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return codeRetrialAuth; });
|
|
3760
3910
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return doAssistanceQrLogin; });
|
|
3761
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3911
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cc", function() { return userOnline; });
|
|
3762
3912
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return getUserAppWithTag; });
|
|
3763
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3913
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return recordUserApp; });
|
|
3764
3914
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return mainConfig; });
|
|
3765
3915
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return initUserSet; });
|
|
3766
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3916
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xc", function() { return updateUserInfo; });
|
|
3767
3917
|
/* unused harmony export getUserImgUrl */
|
|
3768
3918
|
/* unused harmony export getDoorIndex */
|
|
3769
3919
|
/* unused harmony export refreshOnlineUsers */
|
|
@@ -3772,22 +3922,22 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3772
3922
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getComplexApplications; });
|
|
3773
3923
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getComplexApplicationsNew; });
|
|
3774
3924
|
/* unused harmony export getUserCustomInfo */
|
|
3775
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3776
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3925
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wc", function() { return updateUserCustomInfo; });
|
|
3926
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return sysMsgPage; });
|
|
3777
3927
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return ignoreSysMsg; });
|
|
3778
3928
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return ignoreAllSysMsg; });
|
|
3779
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3929
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return searchType; });
|
|
3780
3930
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return getSysParam; });
|
|
3781
3931
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return getAdjunctProperties; });
|
|
3782
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3783
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3932
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bc", function() { return uploads; });
|
|
3933
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zc", function() { return uploadOnlyOne; });
|
|
3784
3934
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getAdjunctFileInfos; });
|
|
3785
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3935
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ac", function() { return uploadSort; });
|
|
3786
3936
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return downloadByAdjunctId; });
|
|
3787
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3788
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3789
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3790
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3937
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yc", function() { return uploadDownloads; });
|
|
3938
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return previewAdjunct; });
|
|
3939
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return previewAdjunct2; });
|
|
3940
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return previewAdjunctOffice; });
|
|
3791
3941
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return delAdjunct; });
|
|
3792
3942
|
/* unused harmony export upload_updateClassify */
|
|
3793
3943
|
/* unused harmony export getDeleteAdjunctFileInfos */
|
|
@@ -3802,13 +3952,13 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3802
3952
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return gethelpdoc; });
|
|
3803
3953
|
/* unused harmony export getCurrentuser */
|
|
3804
3954
|
/* unused harmony export mainDetail */
|
|
3805
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3806
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3955
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fc", function() { return toStartFlow; });
|
|
3956
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return tempSave; });
|
|
3807
3957
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return commonOpion; });
|
|
3808
3958
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
|
|
3809
3959
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return editCommonOpion; });
|
|
3810
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3811
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3960
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return saveCommonOpinion; });
|
|
3961
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vc", function() { return updateCommonOpinion; });
|
|
3812
3962
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return deleteCommonOpion; });
|
|
3813
3963
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return getProcessDefList; });
|
|
3814
3964
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getNodeInfo; });
|
|
@@ -3817,74 +3967,75 @@ var winTopOpen = function winTopOpen(config) {
|
|
|
3817
3967
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return findSysCodes; });
|
|
3818
3968
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return getNotificationMsg; });
|
|
3819
3969
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return getHandleInfoHtml; });
|
|
3820
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3970
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return taskHandleHtml; });
|
|
3821
3971
|
/* unused harmony export getView */
|
|
3822
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3823
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3824
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3825
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3826
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3827
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3828
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3829
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3830
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3831
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3972
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return register; });
|
|
3973
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return pendedhistoryList; });
|
|
3974
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jc", function() { return toTaskRejectHtml; });
|
|
3975
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return taskRejectHtml; });
|
|
3976
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gc", function() { return toStartTaskRead; });
|
|
3977
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hc", function() { return toStartTaskReadIndex; });
|
|
3978
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return taskReadHtml; });
|
|
3979
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return rejectAndEnd; });
|
|
3980
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ec", function() { return toSendMsg; });
|
|
3981
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return sendMsg; });
|
|
3832
3982
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return endFlowHtml; });
|
|
3833
3983
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return handleInfo; });
|
|
3834
3984
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return loginUserInfo; });
|
|
3835
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3836
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3985
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Dc", function() { return wss; });
|
|
3986
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tc", function() { return topic; });
|
|
3837
3987
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return getPresetCustomInfo; });
|
|
3838
3988
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return getPresetNodeInfo; });
|
|
3839
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3840
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3841
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3989
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pc", function() { return toTaskTransferIndex; });
|
|
3990
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return taskTransfer; });
|
|
3991
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cc", function() { return toPresetInfoListIndex; });
|
|
3842
3992
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return deletePresetInfo; });
|
|
3843
3993
|
/* unused harmony export historyListJson */
|
|
3844
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3845
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3994
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return pendedhistoryListJson; });
|
|
3995
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return pressListJson; });
|
|
3846
3996
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return deleteFlow; });
|
|
3997
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return modifyFlow; });
|
|
3847
3998
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return isCanStartSubFlow; });
|
|
3848
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3849
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3850
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3851
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3852
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3853
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3854
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3855
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3856
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3857
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3858
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3859
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3860
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3861
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3862
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3863
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3864
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3865
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3999
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qc", function() { return toTaskUnionExamine; });
|
|
4000
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return taskUnionExamine; });
|
|
4001
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "oc", function() { return toTaskTakeAdvice; });
|
|
4002
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return taskTakeAdvice; });
|
|
4003
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lc", function() { return toTaskStartDraft; });
|
|
4004
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mc", function() { return toTaskSupervise; });
|
|
4005
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nc", function() { return toTaskSuperviseSub; });
|
|
4006
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return taskStartDraft; });
|
|
4007
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kc", function() { return toTaskReview; });
|
|
4008
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return taskReview; });
|
|
4009
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rc", function() { return toTaskUnionSeal; });
|
|
4010
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return taskUnionSeal; });
|
|
4011
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sc", function() { return toTwoOfficesDispatch; });
|
|
4012
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "uc", function() { return twoOfficesDispatch; });
|
|
4013
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dc", function() { return toResetProcessIndex; });
|
|
4014
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return resetProcess; });
|
|
4015
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ic", function() { return toTaskContinuationIndex; });
|
|
4016
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return taskContinuation; });
|
|
3866
4017
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return getFreeStartFlowParams; });
|
|
3867
4018
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return freeStartFlowWithSubmitTask; });
|
|
3868
4019
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return checkForeignOrgStartedCircularRead; });
|
|
3869
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
4020
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return pendedhistoryListWithCircularReadJson; });
|
|
3870
4021
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return fyListJson; });
|
|
3871
4022
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return circularReadWithdraw; });
|
|
3872
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3873
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
4023
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return taskReadWithDraw; });
|
|
4024
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return startReadTransferHandleFlowWithTaskReadEnd; });
|
|
3874
4025
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return checkBusinessIdStartedReadTransferHandle; });
|
|
3875
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3876
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
4026
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return sendList; });
|
|
4027
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return sendInfo; });
|
|
3877
4028
|
/* unused harmony export sendSave */
|
|
3878
4029
|
/* unused harmony export sendUpdate */
|
|
3879
4030
|
/* unused harmony export sendDelete */
|
|
3880
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
4031
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return sendBatch; });
|
|
3881
4032
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return formContents; });
|
|
3882
4033
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return directStartTaskCircularRead; });
|
|
3883
4034
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return endFlowAndStartTaskCircularRead; });
|
|
3884
4035
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return getNodeInfoForStart; });
|
|
3885
4036
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return freeStartFlow; });
|
|
3886
4037
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return getUrgencyLevelChangedNotificationType; });
|
|
3887
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
4038
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return toFreeTaskCircularRead; });
|
|
3888
4039
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return freeTaskCircularRead; });
|
|
3889
4040
|
var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
|
|
3890
4041
|
// 登录
|
|
@@ -3900,7 +4051,7 @@ var doCodeLogin = '/sso2/signIn/auth/doCodeLogin'; // 短信、邮箱验证码
|
|
|
3900
4051
|
var updateCode = '/sso2/signIn/assembly/getSmsModifyPassVerificationCode'; // 获取短信验证码(修改密码)
|
|
3901
4052
|
var getModifyPassCode = '/sso2/signIn/assembly/getModifyPassCode'; // 获取修改密码的短信、邮箱验证码
|
|
3902
4053
|
var codeModifyPass = '/sso2/signIn/assembly/codeModifyPass'; // 验证码重置密码
|
|
3903
|
-
var
|
|
4054
|
+
var loginModifyPasswomodifyrd = '/sso2/signIn/auth/loginModifyPassword'; // 原始密码重置密码
|
|
3904
4055
|
var authCenter = '/sso2/authCenter/login'; // 单点登录认证中心
|
|
3905
4056
|
var initModifyPassword = '/sso2/signIn/assembly/initModifyPassword'; // 初始化密码修改信息
|
|
3906
4057
|
var doWechatQrLogin = '/sso2/signIn/auth/doWechatQrLogin'; // 微信扫码登录
|
|
@@ -4073,6 +4224,8 @@ var pendedhistoryListJson = flowPendingPrefix + '/pendedhistoryManager/pendedhis
|
|
|
4073
4224
|
var pressListJson = flowPendingPrefix + '/wfUrgeRecord/listJson.dhtml';
|
|
4074
4225
|
// 删除流程列表节点
|
|
4075
4226
|
var deleteFlow = flowPendingPrefix + '/pendedhistoryManager/delete.dhtml';
|
|
4227
|
+
// 修改流程列表意见
|
|
4228
|
+
var modifyFlow = flowPendingPrefix + '/pendedhistoryManager/modify.dhtml';
|
|
4076
4229
|
// 是否允许启动子流程(必经节点)
|
|
4077
4230
|
var isCanStartSubFlow = flowPendingPrefix + '/task/taskHandle/isCanStartSubFlow.dhtml';
|
|
4078
4231
|
// 联合审核
|
|
@@ -4289,182 +4442,40 @@ module.exports = require("json-bigint");
|
|
|
4289
4442
|
|
|
4290
4443
|
/***/ }),
|
|
4291
4444
|
/* 8 */
|
|
4292
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4293
|
-
|
|
4294
|
-
"use strict";
|
|
4295
|
-
/* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9);
|
|
4296
|
-
/* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(sockjs_client__WEBPACK_IMPORTED_MODULE_0__);
|
|
4297
|
-
/* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10);
|
|
4298
|
-
/* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(stompjs__WEBPACK_IMPORTED_MODULE_1__);
|
|
4299
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
var WebSocket = function () {
|
|
4305
|
-
// 构造函数
|
|
4306
|
-
function WebSocket() {
|
|
4307
|
-
_classCallCheck(this, WebSocket);
|
|
4308
|
-
|
|
4309
|
-
this.host = sessionStorage.getItem('wshost') || '';
|
|
4310
|
-
this.tryTimes = 1; // 重连次数
|
|
4311
|
-
this.callback = null; // 回调函数
|
|
4312
|
-
this.client = null; // stomp对象
|
|
4313
|
-
this.reconTimeout = null; // 重连延时器
|
|
4314
|
-
this.debug = true; // 调试
|
|
4315
|
-
this.interval = 20; // 重连间隔时间
|
|
4316
|
-
this.vm = null;
|
|
4317
|
-
this.nextDate = 0;
|
|
4318
|
-
this.connects = 1;
|
|
4319
|
-
this.recon = false;
|
|
4320
|
-
this.sendTimeout = null;
|
|
4321
|
-
this.socket = null;
|
|
4322
|
-
this.subscription = null;
|
|
4323
|
-
}
|
|
4324
|
-
|
|
4325
|
-
/** socket连接 */
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
WebSocket.prototype.connect = function connect() {
|
|
4329
|
-
var _this = this;
|
|
4330
|
-
|
|
4331
|
-
if (!this.client) {
|
|
4332
|
-
// 连接SockJS
|
|
4333
|
-
this.socket = new sockjs_client__WEBPACK_IMPORTED_MODULE_0___default.a(this.host + this.url, { timeout: 60000 });
|
|
4334
|
-
this.client = stompjs__WEBPACK_IMPORTED_MODULE_1___default.a.over(this.socket);
|
|
4335
|
-
}
|
|
4336
|
-
|
|
4337
|
-
// 日志不打印
|
|
4338
|
-
if (!this.debug) {
|
|
4339
|
-
this.client.debug = function () {};
|
|
4340
|
-
}
|
|
4341
|
-
|
|
4342
|
-
// 向服务器发起websocket连接
|
|
4343
|
-
this.client.connect({}, function () {
|
|
4344
|
-
_this.recon = true;
|
|
4345
|
-
// tryTimes定义重置
|
|
4346
|
-
_this.connects = 1;
|
|
4347
|
-
// 订阅消息
|
|
4348
|
-
_this.subscribe();
|
|
4349
|
-
}, function (error) {
|
|
4350
|
-
_this.unsubscribe();
|
|
4351
|
-
_this.client = null;
|
|
4352
|
-
var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
|
|
4353
|
-
if (_this.connects > 5 && diffSecond < _this.interval) {
|
|
4354
|
-
_this.error && _this.error(error);
|
|
4355
|
-
} else {
|
|
4356
|
-
_this.reconTimeout = setTimeout(function () {
|
|
4357
|
-
_this.connect();
|
|
4358
|
-
_this.connects++;
|
|
4359
|
-
}, 5000);
|
|
4360
|
-
}
|
|
4361
|
-
});
|
|
4362
|
-
}; // 清除订阅
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
WebSocket.prototype.unsubscribe = function unsubscribe() {
|
|
4366
|
-
if (this.subscription) {
|
|
4367
|
-
this.subscription.unsubscribe();
|
|
4368
|
-
this.subscription = null;
|
|
4369
|
-
}
|
|
4370
|
-
};
|
|
4371
|
-
/** 订阅服务端 */
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
WebSocket.prototype.subscribe = function subscribe() {
|
|
4375
|
-
var _this2 = this;
|
|
4376
|
-
|
|
4377
|
-
// 订阅服务端提供的某个topic
|
|
4378
|
-
this.subscription = this.client.subscribe(this.take, function (response) {
|
|
4379
|
-
if (response && (_this2.callback || _this2.success)) {
|
|
4380
|
-
var callback = _this2.callback || _this2.success;
|
|
4381
|
-
callback(JSON.parse(response.body));
|
|
4382
|
-
}
|
|
4383
|
-
});
|
|
4384
|
-
};
|
|
4385
|
-
|
|
4386
|
-
/** 赋值、初始化socket */
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
WebSocket.prototype.init = function init(option, vm) {
|
|
4390
|
-
for (var i in option) {
|
|
4391
|
-
this[i] = option[i];
|
|
4392
|
-
}
|
|
4393
|
-
this.vm = vm;
|
|
4394
|
-
// 初始化连接
|
|
4395
|
-
this.connect();
|
|
4396
|
-
};
|
|
4397
|
-
|
|
4398
|
-
/** 发送消息 */
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
WebSocket.prototype.send = function send(data) {
|
|
4402
|
-
var _this3 = this;
|
|
4403
|
-
|
|
4404
|
-
if (this.recon) {
|
|
4405
|
-
clearTimeout(this.sendTimeout);
|
|
4406
|
-
this.client.send(this.take, {}, typeof data === 'string' ? data : JSON.stringify(data));
|
|
4407
|
-
} else {
|
|
4408
|
-
this.sendTimeout = setTimeout(function () {
|
|
4409
|
-
_this3.send(data);
|
|
4410
|
-
}, 1000);
|
|
4411
|
-
}
|
|
4412
|
-
};
|
|
4413
|
-
|
|
4414
|
-
/** 销毁 */
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
WebSocket.prototype.destroy = function destroy() {
|
|
4418
|
-
// 断开连接,清除定时器
|
|
4419
|
-
this.unsubscribe();
|
|
4420
|
-
if (this.client) {
|
|
4421
|
-
this.client.disconnect();
|
|
4422
|
-
};
|
|
4423
|
-
this.reconTimeout && clearTimeout(this.reconTimeout);
|
|
4424
|
-
this.sendTimeout && clearTimeout(this.sendTimeout);
|
|
4425
|
-
};
|
|
4426
|
-
|
|
4427
|
-
return WebSocket;
|
|
4428
|
-
}();
|
|
4429
|
-
|
|
4430
|
-
/* harmony default export */ __webpack_exports__["a"] = (WebSocket);
|
|
4431
|
-
|
|
4432
|
-
/***/ }),
|
|
4433
|
-
/* 9 */
|
|
4434
4445
|
/***/ (function(module, exports) {
|
|
4435
4446
|
|
|
4436
4447
|
module.exports = require("sockjs-client");
|
|
4437
4448
|
|
|
4438
4449
|
/***/ }),
|
|
4439
|
-
/*
|
|
4450
|
+
/* 9 */
|
|
4440
4451
|
/***/ (function(module, exports) {
|
|
4441
4452
|
|
|
4442
4453
|
module.exports = require("stompjs");
|
|
4443
4454
|
|
|
4444
4455
|
/***/ }),
|
|
4445
|
-
/*
|
|
4456
|
+
/* 10 */
|
|
4446
4457
|
/***/ (function(module, exports) {
|
|
4447
4458
|
|
|
4448
4459
|
module.exports = require("ua-parser-js");
|
|
4449
4460
|
|
|
4450
4461
|
/***/ }),
|
|
4451
|
-
/*
|
|
4462
|
+
/* 11 */
|
|
4452
4463
|
/***/ (function(module, exports) {
|
|
4453
4464
|
|
|
4454
4465
|
module.exports = require("sm-crypto");
|
|
4455
4466
|
|
|
4456
4467
|
/***/ }),
|
|
4457
|
-
/*
|
|
4468
|
+
/* 12 */
|
|
4458
4469
|
/***/ (function(module, exports) {
|
|
4459
4470
|
|
|
4460
4471
|
module.exports = require("lodash");
|
|
4461
4472
|
|
|
4462
4473
|
/***/ }),
|
|
4474
|
+
/* 13 */,
|
|
4463
4475
|
/* 14 */,
|
|
4464
4476
|
/* 15 */,
|
|
4465
4477
|
/* 16 */,
|
|
4466
|
-
/* 17
|
|
4467
|
-
/* 18 */
|
|
4478
|
+
/* 17 */
|
|
4468
4479
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4469
4480
|
|
|
4470
4481
|
"use strict";
|
|
@@ -4512,7 +4523,7 @@ render._withStripped = true
|
|
|
4512
4523
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
4513
4524
|
var api = __webpack_require__(1);
|
|
4514
4525
|
|
|
4515
|
-
// EXTERNAL MODULE: ./src/utils/util.js
|
|
4526
|
+
// EXTERNAL MODULE: ./src/utils/util.js + 1 modules
|
|
4516
4527
|
var util = __webpack_require__(0);
|
|
4517
4528
|
|
|
4518
4529
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/FileList.vue?vue&type=script&lang=js&
|
|
@@ -4638,6 +4649,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
4638
4649
|
/* harmony default export */ var FileList = __webpack_exports__["a"] = (component.exports);
|
|
4639
4650
|
|
|
4640
4651
|
/***/ }),
|
|
4652
|
+
/* 18 */,
|
|
4641
4653
|
/* 19 */,
|
|
4642
4654
|
/* 20 */,
|
|
4643
4655
|
/* 21 */,
|
|
@@ -4667,16 +4679,15 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
4667
4679
|
/* 45 */,
|
|
4668
4680
|
/* 46 */,
|
|
4669
4681
|
/* 47 */,
|
|
4670
|
-
/* 48
|
|
4671
|
-
/* 49 */
|
|
4682
|
+
/* 48 */
|
|
4672
4683
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4673
4684
|
|
|
4674
4685
|
"use strict";
|
|
4675
4686
|
// ESM COMPAT FLAG
|
|
4676
4687
|
__webpack_require__.r(__webpack_exports__);
|
|
4677
4688
|
|
|
4678
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=
|
|
4679
|
-
var
|
|
4689
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=50e20f47&
|
|
4690
|
+
var mainvue_type_template_id_50e20f47_render = function () {
|
|
4680
4691
|
var _vm = this
|
|
4681
4692
|
var _h = _vm.$createElement
|
|
4682
4693
|
var _c = _vm._self._c || _h
|
|
@@ -4855,7 +4866,7 @@ var mainvue_type_template_id_361fbd0a_render = function () {
|
|
|
4855
4866
|
attrs: {
|
|
4856
4867
|
"append-to-body": "",
|
|
4857
4868
|
"close-on-click-modal": false,
|
|
4858
|
-
title: "删除",
|
|
4869
|
+
title: _vm.modalType == "del" ? "删除" : "修改意见",
|
|
4859
4870
|
visible: _vm.showDel,
|
|
4860
4871
|
height: "auto",
|
|
4861
4872
|
},
|
|
@@ -4887,10 +4898,10 @@ var mainvue_type_template_id_361fbd0a_render = function () {
|
|
|
4887
4898
|
)
|
|
4888
4899
|
}
|
|
4889
4900
|
var staticRenderFns = []
|
|
4890
|
-
|
|
4901
|
+
mainvue_type_template_id_50e20f47_render._withStripped = true
|
|
4891
4902
|
|
|
4892
4903
|
|
|
4893
|
-
// CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=
|
|
4904
|
+
// CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=50e20f47&
|
|
4894
4905
|
|
|
4895
4906
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
4896
4907
|
var regenerator_ = __webpack_require__(4);
|
|
@@ -4900,9 +4911,9 @@ var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator_);
|
|
|
4900
4911
|
var api = __webpack_require__(1);
|
|
4901
4912
|
|
|
4902
4913
|
// EXTERNAL MODULE: ./packages/flow/src/component/FileList.vue + 4 modules
|
|
4903
|
-
var FileList = __webpack_require__(
|
|
4914
|
+
var FileList = __webpack_require__(17);
|
|
4904
4915
|
|
|
4905
|
-
// EXTERNAL MODULE: ./src/utils/util.js
|
|
4916
|
+
// EXTERNAL MODULE: ./src/utils/util.js + 1 modules
|
|
4906
4917
|
var util = __webpack_require__(0);
|
|
4907
4918
|
|
|
4908
4919
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=script&lang=js&
|
|
@@ -5142,28 +5153,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5142
5153
|
showPress: false, //查看催办记录弹窗
|
|
5143
5154
|
modify: false,
|
|
5144
5155
|
formData: { reason: '' },
|
|
5145
|
-
|
|
5146
|
-
name: 'reason',
|
|
5147
|
-
label: '删除原因',
|
|
5148
|
-
type: 'textarea',
|
|
5149
|
-
placeholder: '请输入删除原因',
|
|
5150
|
-
rules: {
|
|
5151
|
-
required: true,
|
|
5152
|
-
message: '请输入删除原因',
|
|
5153
|
-
trigger: 'blur'
|
|
5154
|
-
},
|
|
5155
|
-
value: '',
|
|
5156
|
-
rows: 5
|
|
5157
|
-
}, {
|
|
5158
|
-
type: 'submit',
|
|
5159
|
-
skin: 'lay-form-btns',
|
|
5160
|
-
contents: [{
|
|
5161
|
-
type: 'primary',
|
|
5162
|
-
plain: true,
|
|
5163
|
-
text: '保存',
|
|
5164
|
-
event: 'confirm'
|
|
5165
|
-
}]
|
|
5166
|
-
}],
|
|
5156
|
+
|
|
5167
5157
|
delLoading: false,
|
|
5168
5158
|
showDel: false,
|
|
5169
5159
|
attachmentPaperClipCssStyle: '',
|
|
@@ -5185,6 +5175,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5185
5175
|
historyId: '',
|
|
5186
5176
|
sidx: '',
|
|
5187
5177
|
sord: '',
|
|
5178
|
+
modalType: '',
|
|
5188
5179
|
total: 0
|
|
5189
5180
|
};
|
|
5190
5181
|
},
|
|
@@ -5204,6 +5195,30 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5204
5195
|
},
|
|
5205
5196
|
|
|
5206
5197
|
computed: {
|
|
5198
|
+
formItemList: function formItemList() {
|
|
5199
|
+
return [{
|
|
5200
|
+
name: 'reason',
|
|
5201
|
+
label: this.modalType == 'del' ? '删除原因' : '办理意见',
|
|
5202
|
+
type: 'textarea',
|
|
5203
|
+
placeholder: '\u8BF7\u8F93\u5165' + (this.modalType == 'del' ? '删除原因' : '办理意见'),
|
|
5204
|
+
rules: {
|
|
5205
|
+
required: this.modalType == 'del',
|
|
5206
|
+
message: '请输入删除原因',
|
|
5207
|
+
trigger: 'blur'
|
|
5208
|
+
},
|
|
5209
|
+
value: '',
|
|
5210
|
+
rows: 5
|
|
5211
|
+
}, {
|
|
5212
|
+
type: 'submit',
|
|
5213
|
+
skin: 'lay-form-btns',
|
|
5214
|
+
contents: [{
|
|
5215
|
+
type: 'primary',
|
|
5216
|
+
plain: true,
|
|
5217
|
+
text: '保存',
|
|
5218
|
+
event: 'confirm'
|
|
5219
|
+
}]
|
|
5220
|
+
}];
|
|
5221
|
+
},
|
|
5207
5222
|
toolbars: function toolbars() {
|
|
5208
5223
|
var _this = this;
|
|
5209
5224
|
|
|
@@ -5422,18 +5437,17 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5422
5437
|
type: 'handle',
|
|
5423
5438
|
width: this.modify ? '130' : '100',
|
|
5424
5439
|
template: '',
|
|
5425
|
-
hide: this.hideBtn,
|
|
5440
|
+
hide: this.hideBtn || !this.canDelete && !this.modify,
|
|
5426
5441
|
events: [{
|
|
5427
5442
|
text: '删除',
|
|
5428
5443
|
rules: function rules(rows) {
|
|
5429
|
-
return rows.canDelete;
|
|
5444
|
+
return rows.canDelete || _this2.canDelete;
|
|
5445
|
+
}
|
|
5446
|
+
}, {
|
|
5447
|
+
text: '修改',
|
|
5448
|
+
rules: function rules(rows) {
|
|
5449
|
+
return _this2.modify && rows.pendstate == 2;
|
|
5430
5450
|
}
|
|
5431
|
-
// {
|
|
5432
|
-
// text: '修改',
|
|
5433
|
-
// rules: (rows) => {
|
|
5434
|
-
// return this.modify && rows.pendstate == 2;
|
|
5435
|
-
// }
|
|
5436
|
-
// }
|
|
5437
5451
|
}]
|
|
5438
5452
|
}],
|
|
5439
5453
|
preset: this.thead,
|
|
@@ -5550,11 +5564,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5550
5564
|
type: 'handle',
|
|
5551
5565
|
width: '100',
|
|
5552
5566
|
template: '',
|
|
5553
|
-
hide: this.hideBtn,
|
|
5567
|
+
hide: this.hideBtn || !this.canDelete && !this.modify,
|
|
5554
5568
|
events: [{
|
|
5555
5569
|
text: '删除',
|
|
5556
5570
|
rules: function rules(rows) {
|
|
5557
|
-
return rows.canDelete;
|
|
5571
|
+
return rows.canDelete || _this2.canDelete;
|
|
5558
5572
|
}
|
|
5559
5573
|
}]
|
|
5560
5574
|
}],
|
|
@@ -5977,7 +5991,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
5977
5991
|
return x.id;
|
|
5978
5992
|
}).join(',');
|
|
5979
5993
|
var params = {
|
|
5980
|
-
url: api["
|
|
5994
|
+
url: api["Sb" /* taskReadWithDraw */],
|
|
5981
5995
|
params: {
|
|
5982
5996
|
pendingIds: pendingIds
|
|
5983
5997
|
}
|
|
@@ -6065,7 +6079,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6065
6079
|
getCircularReadList: function getCircularReadList() {
|
|
6066
6080
|
var _that = this;
|
|
6067
6081
|
var params = {
|
|
6068
|
-
url: api["
|
|
6082
|
+
url: api["wb" /* pendedhistoryListWithCircularReadJson */],
|
|
6069
6083
|
params: { apprecordid: _that.businessId }
|
|
6070
6084
|
};
|
|
6071
6085
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
@@ -6127,36 +6141,42 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6127
6141
|
var handle = data.handle,
|
|
6128
6142
|
row = data.row;
|
|
6129
6143
|
|
|
6130
|
-
if (handle.text == '删除') {
|
|
6131
|
-
this.
|
|
6144
|
+
if (handle.text == '删除' || handle.text == '修改') {
|
|
6145
|
+
this.formData.reason = handle.text == '修改' ? row.doresult : '';
|
|
6146
|
+
this.del(row.id, handle.text == '删除' ? 'del' : 'modify');
|
|
6132
6147
|
} else if (handle.fun == 'recallRead') {
|
|
6133
6148
|
this[handle.fun]();
|
|
6134
6149
|
}
|
|
6135
6150
|
},
|
|
6136
6151
|
|
|
6137
|
-
/**
|
|
6138
|
-
* handleFormSubmit
|
|
6139
|
-
* @desc:删除节点点击事件
|
|
6140
|
-
* @param {Object} formData 点击删除的form数据
|
|
6141
|
-
* @author liufan
|
|
6142
|
-
* @date 2022年11月29日
|
|
6152
|
+
/**
|
|
6153
|
+
* handleFormSubmit
|
|
6154
|
+
* @desc:删除节点点击事件
|
|
6155
|
+
* @param {Object} formData 点击删除的form数据
|
|
6156
|
+
* @author liufan
|
|
6157
|
+
* @date 2022年11月29日
|
|
6143
6158
|
**/
|
|
6144
6159
|
handleFormSubmit: function handleFormSubmit(formData) {
|
|
6145
6160
|
var _this9 = this;
|
|
6146
6161
|
|
|
6147
6162
|
this.delLoading = true;
|
|
6148
6163
|
var params = {
|
|
6149
|
-
url: api["l" /* deleteFlow */],
|
|
6164
|
+
url: this.modalType == 'del' ? api["l" /* deleteFlow */] : api["tb" /* modifyFlow */],
|
|
6150
6165
|
method: 'POST',
|
|
6151
6166
|
data: { id: this.historyId, reason: formData.reason }
|
|
6152
6167
|
};
|
|
6168
|
+
if (this.modalType != 'del') {
|
|
6169
|
+
delete params.data.reason;
|
|
6170
|
+
params.data.doResult = formData.reason;
|
|
6171
|
+
params.data.doresult = formData.reason;
|
|
6172
|
+
}
|
|
6153
6173
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
6154
6174
|
var status = res.status,
|
|
6155
6175
|
message = res.message;
|
|
6156
6176
|
|
|
6157
6177
|
_this9.delLoading = false;
|
|
6158
6178
|
if (status === 'success') {
|
|
6159
|
-
_this9.$message.success('
|
|
6179
|
+
_this9.$message.success((_this9.modalType == 'del' ? '删除' : '修改') + '\u6210\u529F');
|
|
6160
6180
|
_this9.showDel = false;
|
|
6161
6181
|
_this9.handleChange();
|
|
6162
6182
|
} else {
|
|
@@ -6170,48 +6190,49 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6170
6190
|
});
|
|
6171
6191
|
},
|
|
6172
6192
|
|
|
6173
|
-
/**
|
|
6174
|
-
* del
|
|
6175
|
-
* @desc:展示删除弹窗
|
|
6176
|
-
* @param {String} id 当前点击数据id
|
|
6177
|
-
* @author liufan
|
|
6178
|
-
* @date 2022年11月29日
|
|
6193
|
+
/**
|
|
6194
|
+
* del
|
|
6195
|
+
* @desc:展示删除弹窗
|
|
6196
|
+
* @param {String} id 当前点击数据id
|
|
6197
|
+
* @author liufan
|
|
6198
|
+
* @date 2022年11月29日
|
|
6179
6199
|
**/
|
|
6180
|
-
del: function del(id) {
|
|
6200
|
+
del: function del(id, type) {
|
|
6201
|
+
this.modalType = type;
|
|
6181
6202
|
this.historyId = id;
|
|
6182
6203
|
this.showDel = true;
|
|
6183
6204
|
},
|
|
6184
6205
|
|
|
6185
|
-
/**
|
|
6186
|
-
* handleCurrentChange
|
|
6187
|
-
* @desc:监听页码变化
|
|
6188
|
-
* @param {String} val 当前页
|
|
6189
|
-
* @author liufan
|
|
6190
|
-
* @date 2022年11月29日
|
|
6206
|
+
/**
|
|
6207
|
+
* handleCurrentChange
|
|
6208
|
+
* @desc:监听页码变化
|
|
6209
|
+
* @param {String} val 当前页
|
|
6210
|
+
* @author liufan
|
|
6211
|
+
* @date 2022年11月29日
|
|
6191
6212
|
**/
|
|
6192
6213
|
handleCurrentChange: function handleCurrentChange(val) {
|
|
6193
6214
|
this.currentPage = val;
|
|
6194
6215
|
this.getPressList();
|
|
6195
6216
|
},
|
|
6196
6217
|
|
|
6197
|
-
/**
|
|
6198
|
-
* handleSizeChange
|
|
6199
|
-
* @desc:监听每页数据显示数量变化
|
|
6200
|
-
* @param {String} val 每页展示数量
|
|
6201
|
-
* @author liufan
|
|
6202
|
-
* @date 2022年11月29日
|
|
6218
|
+
/**
|
|
6219
|
+
* handleSizeChange
|
|
6220
|
+
* @desc:监听每页数据显示数量变化
|
|
6221
|
+
* @param {String} val 每页展示数量
|
|
6222
|
+
* @author liufan
|
|
6223
|
+
* @date 2022年11月29日
|
|
6203
6224
|
**/
|
|
6204
6225
|
handleSizeChange: function handleSizeChange(val) {
|
|
6205
6226
|
this.pageSize = val;
|
|
6206
6227
|
this.getPressList();
|
|
6207
6228
|
},
|
|
6208
6229
|
|
|
6209
|
-
/**
|
|
6210
|
-
* sortChange
|
|
6211
|
-
* @desc:监听排序变化
|
|
6212
|
-
* @param {Object} info 需要排序的字段及排序方式
|
|
6213
|
-
* @author liufan
|
|
6214
|
-
* @date 2022年11月29日
|
|
6230
|
+
/**
|
|
6231
|
+
* sortChange
|
|
6232
|
+
* @desc:监听排序变化
|
|
6233
|
+
* @param {Object} info 需要排序的字段及排序方式
|
|
6234
|
+
* @author liufan
|
|
6235
|
+
* @date 2022年11月29日
|
|
6215
6236
|
**/
|
|
6216
6237
|
sortChange: function sortChange(info) {
|
|
6217
6238
|
var prop = info.prop,
|
|
@@ -6222,11 +6243,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6222
6243
|
this.getPressList();
|
|
6223
6244
|
},
|
|
6224
6245
|
|
|
6225
|
-
/**
|
|
6226
|
-
* getPressList
|
|
6227
|
-
* @desc:催办列表数据
|
|
6228
|
-
* @author liufan
|
|
6229
|
-
* @date 2022年11月29日
|
|
6246
|
+
/**
|
|
6247
|
+
* getPressList
|
|
6248
|
+
* @desc:催办列表数据
|
|
6249
|
+
* @author liufan
|
|
6250
|
+
* @date 2022年11月29日
|
|
6230
6251
|
**/
|
|
6231
6252
|
getPressList: function getPressList() {
|
|
6232
6253
|
var _this10 = this;
|
|
@@ -6239,7 +6260,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6239
6260
|
|
|
6240
6261
|
this.pressLoading = true;
|
|
6241
6262
|
var params = {
|
|
6242
|
-
url: api["
|
|
6263
|
+
url: api["xb" /* pressListJson */],
|
|
6243
6264
|
params: { historyId: historyId },
|
|
6244
6265
|
method: 'POST',
|
|
6245
6266
|
data: { page: currentPage, rows: pageSize, sidx: sidx, sord: sord, historyId: historyId }
|
|
@@ -6256,12 +6277,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6256
6277
|
});
|
|
6257
6278
|
},
|
|
6258
6279
|
|
|
6259
|
-
/**
|
|
6260
|
-
* goPress
|
|
6261
|
-
* @desc:催办列表查看
|
|
6262
|
-
* @param {String} id 催办列表id
|
|
6263
|
-
* @author liufan
|
|
6264
|
-
* @date 2022年11月29日
|
|
6280
|
+
/**
|
|
6281
|
+
* goPress
|
|
6282
|
+
* @desc:催办列表查看
|
|
6283
|
+
* @param {String} id 催办列表id
|
|
6284
|
+
* @author liufan
|
|
6285
|
+
* @date 2022年11月29日
|
|
6265
6286
|
**/
|
|
6266
6287
|
goPress: function goPress(id) {
|
|
6267
6288
|
this.historyId = id;
|
|
@@ -6269,23 +6290,23 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6269
6290
|
this.getPressList();
|
|
6270
6291
|
},
|
|
6271
6292
|
|
|
6272
|
-
/**
|
|
6273
|
-
* showFile
|
|
6274
|
-
* @desc:附件查看
|
|
6275
|
-
* @param {String} ownId 附件id
|
|
6276
|
-
* @author liufan
|
|
6277
|
-
* @date 2022年11月29日
|
|
6293
|
+
/**
|
|
6294
|
+
* showFile
|
|
6295
|
+
* @desc:附件查看
|
|
6296
|
+
* @param {String} ownId 附件id
|
|
6297
|
+
* @author liufan
|
|
6298
|
+
* @date 2022年11月29日
|
|
6278
6299
|
**/
|
|
6279
6300
|
showFile: function showFile(ownId) {
|
|
6280
6301
|
this.wfpendingid = ownId;
|
|
6281
6302
|
this.showFileList = true;
|
|
6282
6303
|
},
|
|
6283
6304
|
|
|
6284
|
-
/**
|
|
6285
|
-
* handleChange
|
|
6286
|
-
* @desc:切换排序方式
|
|
6287
|
-
* @author liufan
|
|
6288
|
-
* @date 2022年11月22日
|
|
6305
|
+
/**
|
|
6306
|
+
* handleChange
|
|
6307
|
+
* @desc:切换排序方式
|
|
6308
|
+
* @author liufan
|
|
6309
|
+
* @date 2022年11月22日
|
|
6289
6310
|
**/
|
|
6290
6311
|
handleChange: function handleChange(key, value) {
|
|
6291
6312
|
if (value) {
|
|
@@ -6335,17 +6356,17 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6335
6356
|
}))();
|
|
6336
6357
|
},
|
|
6337
6358
|
|
|
6338
|
-
/**
|
|
6339
|
-
* getFlowList
|
|
6340
|
-
* @desc:获取流程列表
|
|
6341
|
-
* @author liufan
|
|
6342
|
-
* @date 2022年11月22日
|
|
6359
|
+
/**
|
|
6360
|
+
* getFlowList
|
|
6361
|
+
* @desc:获取流程列表
|
|
6362
|
+
* @author liufan
|
|
6363
|
+
* @date 2022年11月22日
|
|
6343
6364
|
**/
|
|
6344
6365
|
getFlowList: function getFlowList(type) {
|
|
6345
6366
|
var _this12 = this;
|
|
6346
6367
|
|
|
6347
6368
|
var params = {
|
|
6348
|
-
url: api["
|
|
6369
|
+
url: api["vb" /* pendedhistoryListJson */],
|
|
6349
6370
|
params: _extends({
|
|
6350
6371
|
apprecordid: this.businessId,
|
|
6351
6372
|
pendingAttr: 0,
|
|
@@ -6363,6 +6384,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6363
6384
|
hasAgent = _res$data.hasAgent,
|
|
6364
6385
|
isShort = _res$data.isShort,
|
|
6365
6386
|
modify = _res$data.modify,
|
|
6387
|
+
canDelete = _res$data.canDelete,
|
|
6366
6388
|
taskReadName = _res$data.taskReadName;
|
|
6367
6389
|
|
|
6368
6390
|
_this12.loading.close();
|
|
@@ -6384,6 +6406,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6384
6406
|
x.sort = i + 1;
|
|
6385
6407
|
});
|
|
6386
6408
|
_this12.modify = modify;
|
|
6409
|
+
_this12.canDelete = canDelete;
|
|
6387
6410
|
_this12.show = true;
|
|
6388
6411
|
if (_this12.height == 'auto') {
|
|
6389
6412
|
_this12.$nextTick(function () {
|
|
@@ -6411,12 +6434,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6411
6434
|
});
|
|
6412
6435
|
},
|
|
6413
6436
|
|
|
6414
|
-
/**
|
|
6415
|
-
* handleClick
|
|
6416
|
-
* @desc:表单点击事件
|
|
6417
|
-
* @param {Object} val 当前点击行数据及按钮
|
|
6418
|
-
* @author liufan
|
|
6419
|
-
* @date 2022年11月10日
|
|
6437
|
+
/**
|
|
6438
|
+
* handleClick
|
|
6439
|
+
* @desc:表单点击事件
|
|
6440
|
+
* @param {Object} val 当前点击行数据及按钮
|
|
6441
|
+
* @author liufan
|
|
6442
|
+
* @date 2022年11月10日
|
|
6420
6443
|
**/
|
|
6421
6444
|
handleClick: function handleClick(val) {
|
|
6422
6445
|
var _this13 = this;
|
|
@@ -6462,13 +6485,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6462
6485
|
}
|
|
6463
6486
|
},
|
|
6464
6487
|
|
|
6465
|
-
/**
|
|
6466
|
-
* getCodeValue
|
|
6467
|
-
* @desc:获取代码表过滤后的值
|
|
6468
|
-
* @param {String} value 展示数据的代码值
|
|
6469
|
-
* @param {String} type 代码表类型
|
|
6470
|
-
* @author liufan
|
|
6471
|
-
* @date 2022年11月10日
|
|
6488
|
+
/**
|
|
6489
|
+
* getCodeValue
|
|
6490
|
+
* @desc:获取代码表过滤后的值
|
|
6491
|
+
* @param {String} value 展示数据的代码值
|
|
6492
|
+
* @param {String} type 代码表类型
|
|
6493
|
+
* @author liufan
|
|
6494
|
+
* @date 2022年11月10日
|
|
6472
6495
|
**/
|
|
6473
6496
|
getCodeValue: function getCodeValue(value, type) {
|
|
6474
6497
|
var val = this[type].filter(function (item) {
|
|
@@ -6477,12 +6500,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6477
6500
|
return val[0].shortName;
|
|
6478
6501
|
},
|
|
6479
6502
|
|
|
6480
|
-
/**
|
|
6481
|
-
* getSysInfo
|
|
6482
|
-
* @desc:获取代码表
|
|
6483
|
-
* @param {String} code 编码code值
|
|
6484
|
-
* @author liufan
|
|
6485
|
-
* @date 2022年11月10日
|
|
6503
|
+
/**
|
|
6504
|
+
* getSysInfo
|
|
6505
|
+
* @desc:获取代码表
|
|
6506
|
+
* @param {String} code 编码code值
|
|
6507
|
+
* @author liufan
|
|
6508
|
+
* @date 2022年11月10日
|
|
6486
6509
|
**/
|
|
6487
6510
|
getSysInfo: function getSysInfo(code) {
|
|
6488
6511
|
var _this14 = this;
|
|
@@ -6504,17 +6527,17 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
6504
6527
|
}).catch(function (e) {});
|
|
6505
6528
|
},
|
|
6506
6529
|
|
|
6507
|
-
/**
|
|
6508
|
-
* getListInfo
|
|
6509
|
-
* @desc:获取预设列表数据
|
|
6510
|
-
* @author liufan
|
|
6511
|
-
* @date 2022年11月10日
|
|
6530
|
+
/**
|
|
6531
|
+
* getListInfo
|
|
6532
|
+
* @desc:获取预设列表数据
|
|
6533
|
+
* @author liufan
|
|
6534
|
+
* @date 2022年11月10日
|
|
6512
6535
|
**/
|
|
6513
6536
|
getListInfo: function getListInfo() {
|
|
6514
6537
|
var _this15 = this;
|
|
6515
6538
|
|
|
6516
6539
|
var param = {
|
|
6517
|
-
url: api["
|
|
6540
|
+
url: api["cc" /* toPresetInfoListIndex */],
|
|
6518
6541
|
params: { apprecordid: this.businessId }
|
|
6519
6542
|
};
|
|
6520
6543
|
util["a" /* default */].ajax(param).then(function (res) {
|
|
@@ -6564,7 +6587,7 @@ var componentNormalizer = __webpack_require__(3);
|
|
|
6564
6587
|
|
|
6565
6588
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
6566
6589
|
src_mainvue_type_script_lang_js_,
|
|
6567
|
-
|
|
6590
|
+
mainvue_type_template_id_50e20f47_render,
|
|
6568
6591
|
staticRenderFns,
|
|
6569
6592
|
false,
|
|
6570
6593
|
null,
|