eoss-ui 0.6.38 → 0.6.39
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 +535 -374
- package/lib/button.js +535 -374
- package/lib/checkbox-group.js +536 -375
- package/lib/config/api.js +31 -19
- package/lib/data-table-form.js +547 -386
- package/lib/data-table.js +547 -382
- package/lib/date-picker.js +535 -374
- package/lib/dialog.js +535 -374
- package/lib/eoss-ui.common.js +11182 -4328
- package/lib/error-page.js +4 -4
- package/lib/flow-group.js +553 -377
- package/lib/flow-list.js +621 -460
- package/lib/flow.js +9822 -2988
- package/lib/form.js +540 -379
- package/lib/handle-user.js +536 -375
- package/lib/handler.js +536 -375
- package/lib/icon.js +536 -375
- package/lib/index.js +1 -1
- package/lib/input-number.js +535 -374
- package/lib/input.js +535 -374
- package/lib/layout.js +2 -2
- package/lib/login.js +550 -389
- package/lib/main.js +704 -543
- package/lib/nav.js +535 -374
- package/lib/notify.js +127 -109
- package/lib/page.js +535 -374
- package/lib/pagination.js +535 -374
- package/lib/player.js +535 -374
- package/lib/qr-code.js +548 -387
- package/lib/radio-group.js +536 -375
- package/lib/retrial-auth.js +538 -377
- package/lib/select-ganged.js +536 -375
- package/lib/select.js +536 -375
- package/lib/selector-panel.js +558 -396
- package/lib/selector.js +539 -378
- package/lib/sizer.js +541 -380
- package/lib/steps.js +535 -374
- package/lib/switch.js +535 -374
- package/lib/table-form.js +535 -374
- package/lib/tabs.js +539 -378
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/tips.js +536 -375
- package/lib/tree-group.js +535 -374
- package/lib/tree.js +536 -375
- package/lib/upload.js +545 -384
- package/lib/utils/util.js +411 -268
- package/lib/wujie.js +535 -374
- package/lib/wxlogin.js +535 -374
- package/package.json +159 -158
- 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 +298 -298
- package/packages/calendar/index.js +5 -5
- 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 +144 -144
- package/packages/data-table/index.js +5 -5
- package/packages/data-table/src/children.vue +39 -39
- package/packages/data-table/src/column.vue +983 -983
- package/packages/data-table/src/main.vue +1820 -1816
- 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/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/CommonOpinions.vue +345 -341
- package/packages/flow/src/component/CustomPreset.vue +322 -322
- package/packages/flow/src/component/FileList.vue +99 -99
- package/packages/flow/src/component/Preset.vue +255 -255
- package/packages/flow/src/component/SendMsg.vue +229 -229
- package/packages/flow/src/component/TimeLimit.vue +190 -190
- package/packages/flow/src/component/taskUnionExamine.vue +603 -547
- package/packages/flow/src/form.vue +121 -121
- package/packages/flow/src/freeStartFlow.vue +2843 -0
- package/packages/flow/src/main.vue +2864 -2731
- package/packages/flow/src/processForm.vue +1007 -954
- package/packages/flow/src/processReject.vue +293 -293
- package/packages/flow/src/reset.vue +901 -0
- package/packages/flow/src/selectUser.vue +5 -0
- package/packages/flow/src/startTaskRead.vue +596 -596
- package/packages/flow/src/table.vue +58 -58
- package/packages/flow-group/index.js +5 -5
- package/packages/flow-group/src/main.vue +688 -684
- package/packages/flow-list/index.js +5 -5
- package/packages/flow-list/src/main.vue +1172 -1172
- package/packages/form/index.js +5 -5
- package/packages/form/src/main.vue +3584 -3584
- package/packages/form/src/table.vue +1420 -1420
- package/packages/handle-user/index.js +5 -5
- package/packages/handle-user/src/main.vue +138 -138
- package/packages/handler/index.js +5 -5
- package/packages/handler/src/main.vue +388 -388
- package/packages/icon/index.js +5 -5
- package/packages/icon/src/main.vue +101 -101
- package/packages/icons/index.js +5 -5
- 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 +1892 -1894
- package/packages/login/src/resetPassword.vue +562 -562
- 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 +505 -505
- package/packages/main/src/public/online.vue +89 -89
- package/packages/main/src/public/search.vue +454 -454
- package/packages/main/src/public/settings.vue +221 -221
- 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 +221 -221
- package/packages/main/src/simplicity/index.vue +1993 -1993
- package/packages/main/src/simplicity/lists.vue +84 -84
- package/packages/main/src/simplicity/menu-list.vue +128 -128
- package/packages/main/src/simplicity/message.vue +259 -259
- package/packages/main/src/simplicity/notice.vue +190 -190
- package/packages/main/src/simplicity/router-page.vue +45 -45
- package/packages/main/src/simplicity/sub-menu.vue +241 -241
- package/packages/main/src/simplicity/user.vue +257 -257
- package/packages/main/src/simplicity/userinfo.vue +312 -312
- package/packages/menu/index.js +5 -5
- package/packages/menu/src/main.vue +536 -536
- package/packages/nav/index.js +5 -5
- package/packages/nav/src/main.vue +402 -402
- 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 +775 -775
- 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 +677 -677
- package/packages/selector-panel/index.js +5 -5
- package/packages/selector-panel/src/main.vue +1028 -1027
- package/packages/selector-panel/src/selection.vue +177 -177
- 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 +154 -154
- 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/flow.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/src/base.scss +260 -260
- package/packages/theme-chalk/src/button-group.scss +175 -175
- 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 +293 -293
- package/packages/theme-chalk/src/date-picker.scss +7 -7
- package/packages/theme-chalk/src/dialog.scss +77 -77
- 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 +36 -36
- package/packages/theme-chalk/src/flow.scss +310 -308
- package/packages/theme-chalk/src/form.scss +496 -496
- package/packages/theme-chalk/src/handle-user.scss +40 -40
- package/packages/theme-chalk/src/handler.scss +143 -143
- package/packages/theme-chalk/src/icon.scss +1760 -1760
- 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 +939 -939
- package/packages/theme-chalk/src/main.scss +632 -632
- package/packages/theme-chalk/src/menu.scss +222 -222
- package/packages/theme-chalk/src/mixins/color.scss +117 -117
- package/packages/theme-chalk/src/nav.scss +125 -125
- 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 +91 -91
- package/packages/theme-chalk/src/simplicity.scss +1262 -1262
- 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 +167 -167
- 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 +1334 -1334
- 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 +248 -236
- package/src/config/image.js +2 -2
- package/src/index.js +1 -1
- 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 +398 -258
- package/src/utils/webSocket.js +107 -107
package/lib/selector-panel.js
CHANGED
|
@@ -134,6 +134,7 @@ var $darkColorCount = 4;
|
|
|
134
134
|
var publicKey = 'abcdefghijklmnopqrstuvwxyz12345678';
|
|
135
135
|
var loginMsg = void 0;
|
|
136
136
|
var initAuth = void 0;
|
|
137
|
+
var $_http = void 0;
|
|
137
138
|
|
|
138
139
|
var JSONbigToString = json_bigint__WEBPACK_IMPORTED_MODULE_3___default()({ storeAsString: true });
|
|
139
140
|
|
|
@@ -203,216 +204,219 @@ var ajax = function ajax(_ref) {
|
|
|
203
204
|
} else {
|
|
204
205
|
method = method.toLowerCase();
|
|
205
206
|
}
|
|
206
|
-
var
|
|
207
|
-
|
|
208
|
-
baseURL:
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
} catch (err) {
|
|
214
|
-
return data;
|
|
215
|
-
}
|
|
216
|
-
}]
|
|
217
|
-
});
|
|
218
|
-
// 请求拦截
|
|
219
|
-
http.interceptors.request.use(function (config) {
|
|
220
|
-
config.headers.common = getStorage();
|
|
221
|
-
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
222
|
-
// let requestKey = getRequestKey(config);
|
|
223
|
-
// // 判断请求是否重复
|
|
224
|
-
// if (pendingRequest.has(requestKey)) {
|
|
225
|
-
// // 取消上次请求
|
|
226
|
-
// let cancel = pendingRequest.get(requestKey);
|
|
227
|
-
// cancel();
|
|
228
|
-
// // 删除请求信息
|
|
229
|
-
// pendingRequest.delete(requestKey);
|
|
230
|
-
// }
|
|
231
|
-
// // 把请求信息,添加请求到map当中
|
|
232
|
-
// // 生成取消方法
|
|
233
|
-
// config.cancelToken =
|
|
234
|
-
// config.cancelToken ||
|
|
235
|
-
// new axios.CancelToken(cancel => {
|
|
236
|
-
// // 把取消方法添加到map
|
|
237
|
-
// if (!pendingRequest.has(requestKey)) {
|
|
238
|
-
// pendingRequest.set(requestKey, cancel);
|
|
239
|
-
// }
|
|
240
|
-
// });
|
|
241
|
-
return config;
|
|
242
|
-
}, function (err) {
|
|
243
|
-
return err;
|
|
244
|
-
});
|
|
245
|
-
// 响应拦截
|
|
246
|
-
http.interceptors.response.use(function (response) {
|
|
247
|
-
// delPendingRequest(response.config);
|
|
248
|
-
loading && loading.close();
|
|
249
|
-
if (response.headers.authorization && response.headers.authorization !== getStorage('token')) {
|
|
250
|
-
if (localStorage.getItem('storage') === 'localStorage' || localStorage.getItem('token') || localStorage.getItem('Authorization')) {
|
|
251
|
-
localStorage.setItem('token', response.headers.authorization);
|
|
252
|
-
localStorage.setItem('Authorization', response.headers.authorization);
|
|
253
|
-
} else {
|
|
254
|
-
sessionStorage.setItem('token', response.headers.authorization);
|
|
255
|
-
sessionStorage.setItem('Authorization', response.headers.authorization);
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
if ((response.headers.ssId || response.headers.Ssid || response.headers.ssid) && (response.headers.ssId || response.headers.SsId || response.headers.ssid) !== getStorage('ssId')) {
|
|
259
|
-
if (localStorage.getItem('storage') === 'localStorage' || localStorage.getItem('ssId')) {
|
|
260
|
-
localStorage.setItem('ssId', response.headers.ssId || response.headers.SsId || response.headers.ssid);
|
|
261
|
-
} else {
|
|
262
|
-
sessionStorage.setItem('ssId', response.headers.ssId || response.headers.SsId || response.headers.ssid);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
if (response.status === 200) {
|
|
266
|
-
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
267
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
|
|
268
|
-
var href = '';
|
|
207
|
+
var http = $_http;
|
|
208
|
+
if (!http) {
|
|
209
|
+
var baseURL = host === true ? getStorage('host') : host === false ? '' : host;
|
|
210
|
+
http = axios__WEBPACK_IMPORTED_MODULE_1___default.a.create({
|
|
211
|
+
baseURL: baseURL,
|
|
212
|
+
timeout: 99000,
|
|
213
|
+
transformResponse: [function (data) {
|
|
269
214
|
try {
|
|
270
|
-
|
|
271
|
-
} catch (
|
|
272
|
-
|
|
215
|
+
return JSONbigToString.parse(data);
|
|
216
|
+
} catch (err) {
|
|
217
|
+
return data;
|
|
273
218
|
}
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
219
|
+
}]
|
|
220
|
+
});
|
|
221
|
+
// 请求拦截
|
|
222
|
+
http.interceptors.request.use(function (config) {
|
|
223
|
+
config.headers.common = getStorage();
|
|
224
|
+
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
225
|
+
// let requestKey = getRequestKey(config);
|
|
226
|
+
// // 判断请求是否重复
|
|
227
|
+
// if (pendingRequest.has(requestKey)) {
|
|
228
|
+
// // 取消上次请求
|
|
229
|
+
// let cancel = pendingRequest.get(requestKey);
|
|
230
|
+
// cancel();
|
|
231
|
+
// // 删除请求信息
|
|
232
|
+
// pendingRequest.delete(requestKey);
|
|
233
|
+
// }
|
|
234
|
+
// // 把请求信息,添加请求到map当中
|
|
235
|
+
// // 生成取消方法
|
|
236
|
+
// config.cancelToken =
|
|
237
|
+
// config.cancelToken ||
|
|
238
|
+
// new axios.CancelToken(cancel => {
|
|
239
|
+
// // 把取消方法添加到map
|
|
240
|
+
// if (!pendingRequest.has(requestKey)) {
|
|
241
|
+
// pendingRequest.set(requestKey, cancel);
|
|
242
|
+
// }
|
|
243
|
+
// });
|
|
244
|
+
return config;
|
|
245
|
+
}, function (err) {
|
|
246
|
+
return err;
|
|
247
|
+
});
|
|
248
|
+
// 响应拦截
|
|
249
|
+
http.interceptors.response.use(function (response) {
|
|
250
|
+
// delPendingRequest(response.config);
|
|
251
|
+
loading && loading.close();
|
|
252
|
+
if (response.headers.authorization && response.headers.authorization !== getStorage('token')) {
|
|
253
|
+
if (localStorage.getItem('storage') === 'localStorage' || localStorage.getItem('token') || localStorage.getItem('Authorization')) {
|
|
254
|
+
localStorage.setItem('token', response.headers.authorization);
|
|
255
|
+
localStorage.setItem('Authorization', response.headers.authorization);
|
|
256
|
+
} else {
|
|
257
|
+
sessionStorage.setItem('token', response.headers.authorization);
|
|
258
|
+
sessionStorage.setItem('Authorization', response.headers.authorization);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
if ((response.headers.ssId || response.headers.Ssid || response.headers.ssid) && (response.headers.ssId || response.headers.SsId || response.headers.ssid) !== getStorage('ssId')) {
|
|
262
|
+
if (localStorage.getItem('storage') === 'localStorage' || localStorage.getItem('ssId')) {
|
|
263
|
+
localStorage.setItem('ssId', response.headers.ssId || response.headers.SsId || response.headers.ssid);
|
|
264
|
+
} else {
|
|
265
|
+
sessionStorage.setItem('ssId', response.headers.ssId || response.headers.SsId || response.headers.ssid);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
if (response.status === 200) {
|
|
269
|
+
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
270
|
+
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
|
|
271
|
+
var href = '';
|
|
272
|
+
try {
|
|
273
|
+
href = win.top.location.href;
|
|
274
|
+
} catch (error) {
|
|
275
|
+
href = win.location.href;
|
|
276
|
+
}
|
|
277
|
+
if (href.indexOf('#/login') === -1 && href.indexOf('/login.html') === -1) {
|
|
278
|
+
var remind = sessionStorage.getItem('remind');
|
|
279
|
+
if (!remind) {
|
|
280
|
+
clearTimeout(loginMsg);
|
|
281
|
+
loginMsg = setTimeout(function () {
|
|
282
|
+
sessionStorage.setItem('remind', 1);
|
|
283
|
+
eoss_element__WEBPACK_IMPORTED_MODULE_5__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
284
|
+
confirmButtonText: '确定',
|
|
285
|
+
closeOnClickModal: false,
|
|
286
|
+
type: 'warning'
|
|
287
|
+
} : {
|
|
288
|
+
confirmButtonText: '确定',
|
|
289
|
+
cancelButtonText: '取消',
|
|
290
|
+
closeOnClickModal: false,
|
|
291
|
+
type: 'warning'
|
|
292
|
+
}).then(function () {
|
|
293
|
+
try {
|
|
294
|
+
var loginPage = getStorage('login') || getStorage('loginPage');
|
|
295
|
+
if (loginPage) {
|
|
296
|
+
var src = void 0;
|
|
297
|
+
if (!startWith(loginPage, ['http', '/'], true)) {
|
|
298
|
+
var pathname = win.top.location.pathname;
|
|
299
|
+
if (pathname !== '/') {
|
|
300
|
+
pathname = pathname.split('/');
|
|
301
|
+
pathname.splice(pathname.length - 1);
|
|
302
|
+
pathname = pathname.join('/');
|
|
303
|
+
src = pathname + '/' + loginPage.replace('./', '');
|
|
304
|
+
} else {
|
|
305
|
+
src = pathname + loginPage.replace('./', '');
|
|
306
|
+
}
|
|
301
307
|
} else {
|
|
302
|
-
src =
|
|
308
|
+
src = loginPage;
|
|
303
309
|
}
|
|
310
|
+
win.top.location.href = src;
|
|
311
|
+
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
312
|
+
win.top.location.href = './login.html';
|
|
304
313
|
} else {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
if (hash) {
|
|
313
|
-
var len = win.top.location.href.indexOf(hash);
|
|
314
|
-
win.top.location.href = win.location.href.slice(0, len) + '#/login';
|
|
315
|
-
} else {
|
|
316
|
-
win.top.location.href = '/login.html';
|
|
314
|
+
var hash = win.top.location.hash;
|
|
315
|
+
if (hash) {
|
|
316
|
+
var len = win.top.location.href.indexOf(hash);
|
|
317
|
+
win.top.location.href = win.location.href.slice(0, len) + '#/login';
|
|
318
|
+
} else {
|
|
319
|
+
win.top.location.href = '/login.html';
|
|
320
|
+
}
|
|
317
321
|
}
|
|
322
|
+
} catch (error) {
|
|
323
|
+
win.postMessage({ type: 1 }, '*');
|
|
318
324
|
}
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
});
|
|
325
|
-
}, 2000);
|
|
325
|
+
}).catch(function (e) {
|
|
326
|
+
sessionStorage.removeItem('remind');
|
|
327
|
+
});
|
|
328
|
+
}, 2000);
|
|
329
|
+
}
|
|
326
330
|
}
|
|
331
|
+
} else if (response.data.rCode === 61) {
|
|
332
|
+
clearTimeout(initAuth);
|
|
333
|
+
initAuth = setTimeout(function () {
|
|
334
|
+
Object(eoss_element__WEBPACK_IMPORTED_MODULE_5__["MessageBox"])({
|
|
335
|
+
title: '请进行二次鉴权',
|
|
336
|
+
closeOnClickModal: false,
|
|
337
|
+
closeOnPressEscape: false,
|
|
338
|
+
showConfirmButton: false,
|
|
339
|
+
dangerouslyUseHTMLString: true,
|
|
340
|
+
scroll: false,
|
|
341
|
+
customClass: 'es-retrial-auth-msg',
|
|
342
|
+
render: function render(h, msgBox) {
|
|
343
|
+
return h('es-retrial-auth', {
|
|
344
|
+
ref: 'auth',
|
|
345
|
+
props: {
|
|
346
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
347
|
+
group: response.data.results.retrialAuthGroupIds,
|
|
348
|
+
type: response.data.results.retrialAuthType,
|
|
349
|
+
msgBox: msgBox
|
|
350
|
+
}
|
|
351
|
+
});
|
|
352
|
+
},
|
|
353
|
+
callback: function callback(res, obj) {
|
|
354
|
+
obj.$children.forEach(function (item) {
|
|
355
|
+
item.clearTimeouts && item.clearTimeouts();
|
|
356
|
+
return;
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
|
+
});
|
|
360
|
+
}, 1000);
|
|
327
361
|
}
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
initAuth = setTimeout(function () {
|
|
331
|
-
Object(eoss_element__WEBPACK_IMPORTED_MODULE_5__["MessageBox"])({
|
|
332
|
-
title: '请进行二次鉴权',
|
|
333
|
-
closeOnClickModal: false,
|
|
334
|
-
closeOnPressEscape: false,
|
|
335
|
-
showConfirmButton: false,
|
|
336
|
-
dangerouslyUseHTMLString: true,
|
|
337
|
-
scroll: false,
|
|
338
|
-
customClass: 'es-retrial-auth-msg',
|
|
339
|
-
render: function render(h, msgBox) {
|
|
340
|
-
return h('es-retrial-auth', {
|
|
341
|
-
ref: 'auth',
|
|
342
|
-
props: {
|
|
343
|
-
reload: response.data.results.reload || response.data.results.refresh,
|
|
344
|
-
group: response.data.results.retrialAuthGroupIds,
|
|
345
|
-
type: response.data.results.retrialAuthType,
|
|
346
|
-
msgBox: msgBox
|
|
347
|
-
}
|
|
348
|
-
});
|
|
349
|
-
},
|
|
350
|
-
callback: function callback(res, obj) {
|
|
351
|
-
obj.$children.forEach(function (item) {
|
|
352
|
-
item.clearTimeouts && item.clearTimeouts();
|
|
353
|
-
return;
|
|
354
|
-
});
|
|
355
|
-
}
|
|
356
|
-
});
|
|
357
|
-
}, 1000);
|
|
362
|
+
// eslint-disable-next-line no-undef
|
|
363
|
+
return Promise.resolve(JSON.parse(JSON.stringify(response.data)));
|
|
358
364
|
}
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
365
|
+
}, function (error) {
|
|
366
|
+
loading && loading.close();
|
|
367
|
+
// if (!axios.isCancel(error)) {
|
|
368
|
+
// delPendingRequest(error.config || {});
|
|
369
|
+
// }
|
|
370
|
+
if (error && error.response) {
|
|
371
|
+
if (error.response.status) {
|
|
372
|
+
switch (error.response.status) {
|
|
373
|
+
case 400:
|
|
374
|
+
error.message = '错误请求';
|
|
375
|
+
break;
|
|
376
|
+
case 401:
|
|
377
|
+
error.message = '未授权,请重新登录';
|
|
378
|
+
break;
|
|
379
|
+
case 403:
|
|
380
|
+
error.message = '服务器错误';
|
|
381
|
+
break;
|
|
382
|
+
case 404:
|
|
383
|
+
error.message = '网络请求不存在';
|
|
384
|
+
break;
|
|
385
|
+
case 405:
|
|
386
|
+
error.message = '请求方法错误';
|
|
387
|
+
break;
|
|
388
|
+
case 408:
|
|
389
|
+
error.message = '请求超时';
|
|
390
|
+
break;
|
|
391
|
+
case 500:
|
|
392
|
+
error.message = '服务器错误';
|
|
393
|
+
break;
|
|
394
|
+
case 501:
|
|
395
|
+
error.message = '网络未实现';
|
|
396
|
+
break;
|
|
397
|
+
case 502:
|
|
398
|
+
error.message = '网络错误';
|
|
399
|
+
break;
|
|
400
|
+
case 503:
|
|
401
|
+
error.message = '服务不可用';
|
|
402
|
+
break;
|
|
403
|
+
case 504:
|
|
404
|
+
error.message = '网络超时';
|
|
405
|
+
break;
|
|
406
|
+
case 505:
|
|
407
|
+
error.message = 'http版本不支持该请求';
|
|
408
|
+
break;
|
|
409
|
+
default:
|
|
410
|
+
error.message = '\u8FDE\u63A5\u9519\u8BEF' + error.response.status;
|
|
411
|
+
}
|
|
412
|
+
} else {
|
|
413
|
+
error.message = '无法请求,请联系管理员';
|
|
408
414
|
}
|
|
409
|
-
} else {
|
|
410
|
-
error.message = '无法请求,请联系管理员';
|
|
411
415
|
}
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
}
|
|
416
|
+
// eslint-disable-next-line no-undef
|
|
417
|
+
return Promise.reject(error);
|
|
418
|
+
});
|
|
419
|
+
}
|
|
416
420
|
var userId = getStorage('userId');
|
|
417
421
|
if (!Object.prototype.hasOwnProperty.call(data, 'userId') && userId && defaults) {
|
|
418
422
|
data.userId = userId;
|
|
@@ -503,7 +507,145 @@ var ajax = function ajax(_ref) {
|
|
|
503
507
|
headers: header
|
|
504
508
|
}, configs));
|
|
505
509
|
};
|
|
510
|
+
/**
|
|
511
|
+
* ajaxStream
|
|
512
|
+
* @desc:ajax流式请求
|
|
513
|
+
* @author huangbo
|
|
514
|
+
* @date 2022年5月7日
|
|
515
|
+
* @param {Object} [controller] - controller
|
|
516
|
+
* @param {String} [method] - 请求类型
|
|
517
|
+
* @param {String} [url] - 请求地址
|
|
518
|
+
* @param {String} [host] - host
|
|
519
|
+
* @param {Object} [data] - 请求参数
|
|
520
|
+
* @param {Object} [params] - 请求参数
|
|
521
|
+
**/
|
|
522
|
+
var ajaxStream = function ajaxStream(_ref2) {
|
|
523
|
+
var controller = _ref2.controller,
|
|
524
|
+
_ref2$method = _ref2.method,
|
|
525
|
+
method = _ref2$method === undefined ? 'post' : _ref2$method,
|
|
526
|
+
host = _ref2.host,
|
|
527
|
+
url = _ref2.url,
|
|
528
|
+
data = _ref2.data,
|
|
529
|
+
params = _ref2.params,
|
|
530
|
+
progress = _ref2.progress,
|
|
531
|
+
success = _ref2.success,
|
|
532
|
+
fail = _ref2.fail,
|
|
533
|
+
final = _ref2.final,
|
|
534
|
+
configs = _objectWithoutProperties(_ref2, ['controller', 'method', 'host', 'url', 'data', 'params', 'progress', 'success', 'fail', 'final']);
|
|
535
|
+
|
|
536
|
+
try {
|
|
537
|
+
// 如果有正在进行的请求,取消它
|
|
538
|
+
if (controller) {
|
|
539
|
+
controller.abort();
|
|
540
|
+
}
|
|
541
|
+
controller = new AbortController();
|
|
542
|
+
var baseURL = host || getStorage('baseHost') || '';
|
|
543
|
+
var userId = getStorage('userId');
|
|
544
|
+
if (data && !Object.prototype.hasOwnProperty.call(data, 'userId') && userId) {
|
|
545
|
+
data.userId = userId;
|
|
546
|
+
}
|
|
547
|
+
if (params && !Object.prototype.hasOwnProperty.call(params, 'userId') && userId) {
|
|
548
|
+
params.userId = getStorage('userId');
|
|
549
|
+
}
|
|
550
|
+
var info = {};
|
|
551
|
+
var partialData = '';
|
|
552
|
+
var lastProcessedIndex = 0;
|
|
553
|
+
var done = false;
|
|
554
|
+
ajax(_extends({
|
|
555
|
+
timeout: 990000,
|
|
556
|
+
format: false,
|
|
557
|
+
method: method,
|
|
558
|
+
url: baseURL + url,
|
|
559
|
+
signal: controller.signal,
|
|
560
|
+
responseType: 'text',
|
|
561
|
+
data: data,
|
|
562
|
+
params: params
|
|
563
|
+
}, configs, {
|
|
564
|
+
onDownloadProgress: function onDownloadProgress(progressEvent) {
|
|
565
|
+
// 获取从上次处理后新增的数据
|
|
566
|
+
var currentResponse = (progressEvent.event || progressEvent).currentTarget.responseText;
|
|
567
|
+
var chunk = currentResponse.slice(lastProcessedIndex);
|
|
568
|
+
|
|
569
|
+
// 更新偏移量
|
|
570
|
+
lastProcessedIndex = currentResponse.length;
|
|
571
|
+
|
|
572
|
+
// 假设数据是以 'data:' 开头的 SSE 格式
|
|
573
|
+
partialData += chunk;
|
|
574
|
+
var lines = partialData.split('\n');
|
|
575
|
+
var remainingData = ''; // 用于保存未完整处理的部分数据
|
|
576
|
+
lines.forEach(function (line) {
|
|
577
|
+
if (line.startsWith('data:')) {
|
|
578
|
+
var _data = line.replace('data:', '').trim();
|
|
579
|
+
if (_data) {
|
|
580
|
+
try {
|
|
581
|
+
// 假设数据是 JSON 格式
|
|
582
|
+
var parsedData = JSON.parse(_data);
|
|
583
|
+
info.time = parsedData.time;
|
|
584
|
+
info.conversationId = parsedData.conversationId;
|
|
585
|
+
|
|
586
|
+
// 使用正则表达式匹配 <think> 标签
|
|
587
|
+
var thinkRegex = /<think>([\s\S]*?)<\/think>([\s\S]*)?/;
|
|
588
|
+
var match = parsedData.message.match(thinkRegex);
|
|
589
|
+
if (match) {
|
|
590
|
+
var thinkContent = match[1] ? match[1].trim() : ''; // <think> 标签内的数据
|
|
591
|
+
var content = match[2] ? match[2].trim() : ''; // <think> 标签后的数据
|
|
592
|
+
// 更新 AI 消息内容
|
|
593
|
+
info.thinkContent += thinkContent;
|
|
594
|
+
info.content += content;
|
|
595
|
+
} else {
|
|
596
|
+
// 如果没有 <think> 标签,直接将消息内容赋值到 content
|
|
597
|
+
info.content += parsedData.message;
|
|
598
|
+
}
|
|
599
|
+
done = parsedData.done;
|
|
600
|
+
} catch (parseError) {
|
|
601
|
+
console.error('解析数据出错:', parseError);
|
|
602
|
+
}
|
|
603
|
+
// Promise.resolve({message: info, controller});
|
|
604
|
+
}
|
|
605
|
+
} else {
|
|
606
|
+
// 保存未处理完的部分数据
|
|
607
|
+
remainingData += line + '\n';
|
|
608
|
+
}
|
|
609
|
+
});
|
|
506
610
|
|
|
611
|
+
// 将未完整处理的数据保留到 partialData 中
|
|
612
|
+
partialData = remainingData;
|
|
613
|
+
progress && progress({ message: info, controller: controller, done: done });
|
|
614
|
+
}
|
|
615
|
+
})).then(function () {
|
|
616
|
+
// 处理请求完成后的信息
|
|
617
|
+
var originalText = info.content;
|
|
618
|
+
var regex = /<think>([\s\S]*?)<\/think>([\s\S]*)/;
|
|
619
|
+
var match = originalText.match(regex);
|
|
620
|
+
if (match) {
|
|
621
|
+
info.thinkContent = match ? match[1].trim() : '';
|
|
622
|
+
info.content = match ? match[2].trim() : '';
|
|
623
|
+
}
|
|
624
|
+
success && success({ message: info, controller: controller });
|
|
625
|
+
}).catch(function () {
|
|
626
|
+
// 处理请求完成后的信息
|
|
627
|
+
var originalText = info.content || '';
|
|
628
|
+
var regex = /<think>([\s\S]*?)<\/think>([\s\S]*)/;
|
|
629
|
+
var match = originalText.match(regex);
|
|
630
|
+
if (match) {
|
|
631
|
+
info.thinkContent = match ? match[1].trim() : '';
|
|
632
|
+
info.content = match ? match[2].trim() : '';
|
|
633
|
+
}
|
|
634
|
+
fail && fail({ status: 1, message: info, controller: controller });
|
|
635
|
+
});
|
|
636
|
+
} catch (error) {
|
|
637
|
+
console.error('聊天请求出错:', error);
|
|
638
|
+
var errorMessage = '抱歉,发生了一个错误,请稍后再试。';
|
|
639
|
+
if (error.code === 'ERR_NETWORK') {
|
|
640
|
+
errorMessage = '网络连接错误,请检查服务器是否正在运行或网络连接是否正常。';
|
|
641
|
+
} else if (error.response) {
|
|
642
|
+
errorMessage = '\u670D\u52A1\u5668\u9519\u8BEF (' + error.response.status + '): ' + (error.response.data || '未知错误');
|
|
643
|
+
}
|
|
644
|
+
fail && fail({ status: 0, message: { role: 'assistant', content: errorMessage }, controller: controller });
|
|
645
|
+
} finally {
|
|
646
|
+
final && final({ status: -1, message: null, controller: controller });
|
|
647
|
+
}
|
|
648
|
+
};
|
|
507
649
|
/**
|
|
508
650
|
* arrUnique
|
|
509
651
|
* @desc:数组元素对象去重
|
|
@@ -582,9 +724,9 @@ var browser = function browser() {
|
|
|
582
724
|
**/
|
|
583
725
|
var busEmit = function busEmit() {
|
|
584
726
|
var vm = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this;
|
|
585
|
-
var
|
|
586
|
-
var method =
|
|
587
|
-
args =
|
|
727
|
+
var _ref3 = arguments[1];
|
|
728
|
+
var method = _ref3.method,
|
|
729
|
+
args = _ref3.args;
|
|
588
730
|
|
|
589
731
|
var bus = win.$wujie ? win.$wujie.bus : vm.bus || vm.$root.Bus;
|
|
590
732
|
bus && bus.$emit(method, args);
|
|
@@ -814,9 +956,9 @@ var debounce = function debounce(callback, wait) {
|
|
|
814
956
|
* @param {String} [url] - url地址
|
|
815
957
|
* @param {String,Array} [key] - 参数名
|
|
816
958
|
**/
|
|
817
|
-
var delUrlParam = function delUrlParam(
|
|
818
|
-
var url =
|
|
819
|
-
key =
|
|
959
|
+
var delUrlParam = function delUrlParam(_ref4) {
|
|
960
|
+
var url = _ref4.url,
|
|
961
|
+
key = _ref4.key;
|
|
820
962
|
|
|
821
963
|
var pUrl = '';
|
|
822
964
|
try {
|
|
@@ -942,10 +1084,10 @@ var esDecode = function esDecode(value) {
|
|
|
942
1084
|
* @param {string} [data] - 被加密的字符串
|
|
943
1085
|
* @param {string} [key] - 公钥
|
|
944
1086
|
**/
|
|
945
|
-
var esmEncrypt = function esmEncrypt(
|
|
946
|
-
var data =
|
|
947
|
-
key =
|
|
948
|
-
mode =
|
|
1087
|
+
var esmEncrypt = function esmEncrypt(_ref5) {
|
|
1088
|
+
var data = _ref5.data,
|
|
1089
|
+
key = _ref5.key,
|
|
1090
|
+
mode = _ref5.mode;
|
|
949
1091
|
|
|
950
1092
|
var cipherMode = mode ? mode : 1;
|
|
951
1093
|
if (!new RegExp('^04').test(key)) {
|
|
@@ -963,10 +1105,10 @@ var esmEncrypt = function esmEncrypt(_ref4) {
|
|
|
963
1105
|
* @param {string} [data] - 被解密的加密字符串
|
|
964
1106
|
* @param {string} [key] - 私钥
|
|
965
1107
|
**/
|
|
966
|
-
var esmDecode = function esmDecode(
|
|
967
|
-
var data =
|
|
968
|
-
key =
|
|
969
|
-
mode =
|
|
1108
|
+
var esmDecode = function esmDecode(_ref6) {
|
|
1109
|
+
var data = _ref6.data,
|
|
1110
|
+
key = _ref6.key,
|
|
1111
|
+
mode = _ref6.mode;
|
|
970
1112
|
|
|
971
1113
|
var cipherMode = mode ? mode : 1;
|
|
972
1114
|
if (new RegExp('^04').test(key)) {
|
|
@@ -983,10 +1125,10 @@ var esmDecode = function esmDecode(_ref5) {
|
|
|
983
1125
|
* @date 2022年5月7日
|
|
984
1126
|
* @param {String/Array} [attrs] - 要排除的属性
|
|
985
1127
|
**/
|
|
986
|
-
var exclAttribute = function exclAttribute(
|
|
987
|
-
var
|
|
988
|
-
attrs =
|
|
989
|
-
data =
|
|
1128
|
+
var exclAttribute = function exclAttribute(_ref7) {
|
|
1129
|
+
var _ref7$attrs = _ref7.attrs,
|
|
1130
|
+
attrs = _ref7$attrs === undefined ? 'value' : _ref7$attrs,
|
|
1131
|
+
data = _ref7.data;
|
|
990
1132
|
|
|
991
1133
|
var obj = extend(true, {}, data);
|
|
992
1134
|
if (Array.isArray(attrs)) {
|
|
@@ -1011,14 +1153,14 @@ var exclAttribute = function exclAttribute(_ref6) {
|
|
|
1011
1153
|
* @param {name} [string] - 导出文件名
|
|
1012
1154
|
* @param {numbers} [boolean] - 序号
|
|
1013
1155
|
**/
|
|
1014
|
-
var exportXls = function exportXls(
|
|
1015
|
-
var
|
|
1016
|
-
thead =
|
|
1017
|
-
|
|
1018
|
-
data =
|
|
1019
|
-
name =
|
|
1020
|
-
numbers =
|
|
1021
|
-
option =
|
|
1156
|
+
var exportXls = function exportXls(_ref8) {
|
|
1157
|
+
var _ref8$thead = _ref8.thead,
|
|
1158
|
+
thead = _ref8$thead === undefined ? [] : _ref8$thead,
|
|
1159
|
+
_ref8$data = _ref8.data,
|
|
1160
|
+
data = _ref8$data === undefined ? [] : _ref8$data,
|
|
1161
|
+
name = _ref8.name,
|
|
1162
|
+
numbers = _ref8.numbers,
|
|
1163
|
+
option = _ref8.option;
|
|
1022
1164
|
|
|
1023
1165
|
var tbody = '';
|
|
1024
1166
|
var aligns = [];
|
|
@@ -1427,7 +1569,7 @@ var getLightness = function getLightness($v, $i, $isLight) {
|
|
|
1427
1569
|
* @param {function} callback - 回调函数
|
|
1428
1570
|
**/
|
|
1429
1571
|
var getMainConfig = function getMainConfig(callback) {
|
|
1430
|
-
ajax({ url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* mainConfig */ "
|
|
1572
|
+
ajax({ url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* mainConfig */ "hb"] }).then(function (res) {
|
|
1431
1573
|
if (res && res.rCode === 0) {
|
|
1432
1574
|
callback(res.results);
|
|
1433
1575
|
}
|
|
@@ -2018,11 +2160,11 @@ var hsvTorgb = function hsvTorgb($h, $s, $v) {
|
|
|
2018
2160
|
* @param {value} [array] - 需要对比的值的数组集合
|
|
2019
2161
|
* @param {callback} [function] - 回调函数
|
|
2020
2162
|
**/
|
|
2021
|
-
var identical = function identical(
|
|
2022
|
-
var value =
|
|
2023
|
-
callback =
|
|
2024
|
-
|
|
2025
|
-
msg =
|
|
2163
|
+
var identical = function identical(_ref9) {
|
|
2164
|
+
var value = _ref9.value,
|
|
2165
|
+
callback = _ref9.callback,
|
|
2166
|
+
_ref9$msg = _ref9.msg,
|
|
2167
|
+
msg = _ref9$msg === undefined ? ['请输入值', '请再次输入', '输入不一致!'] : _ref9$msg;
|
|
2026
2168
|
|
|
2027
2169
|
if (value && value.length > 1) {
|
|
2028
2170
|
var val = value[0];
|
|
@@ -2159,22 +2301,22 @@ var isFunction = function isFunction(obj) {
|
|
|
2159
2301
|
* @param {sting} [loginPage] - 第三方登录页面地址
|
|
2160
2302
|
* @param {boolean} [redirect] - 是否重定向(用于新脚手架)
|
|
2161
2303
|
**/
|
|
2162
|
-
var isLogined = function isLogined(
|
|
2163
|
-
var to =
|
|
2164
|
-
from =
|
|
2165
|
-
next =
|
|
2166
|
-
|
|
2167
|
-
exclude =
|
|
2168
|
-
cookie =
|
|
2169
|
-
loginPage =
|
|
2170
|
-
redirect =
|
|
2304
|
+
var isLogined = function isLogined(_ref10) {
|
|
2305
|
+
var to = _ref10.to,
|
|
2306
|
+
from = _ref10.from,
|
|
2307
|
+
next = _ref10.next,
|
|
2308
|
+
_ref10$exclude = _ref10.exclude,
|
|
2309
|
+
exclude = _ref10$exclude === undefined ? [] : _ref10$exclude,
|
|
2310
|
+
cookie = _ref10.cookie,
|
|
2311
|
+
loginPage = _ref10.loginPage,
|
|
2312
|
+
redirect = _ref10.redirect;
|
|
2171
2313
|
|
|
2172
2314
|
if (cookie === undefined) {
|
|
2173
2315
|
cookie = getParams({ name: 'cookie' });
|
|
2174
2316
|
}
|
|
2175
2317
|
var quit = getParams('quit') || getParams('logout');
|
|
2176
2318
|
if (quit) {
|
|
2177
|
-
ajax({ method: 'post', url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* logout */ "
|
|
2319
|
+
ajax({ method: 'post', url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* logout */ "gb"] }).then(function (res) {
|
|
2178
2320
|
if (res.rCode === 0) {
|
|
2179
2321
|
removeStorage();
|
|
2180
2322
|
}
|
|
@@ -2382,9 +2524,9 @@ var isObjectEqual = function isObjectEqual(obj, _obj) {
|
|
|
2382
2524
|
* @param {string/array} [url] - 地址
|
|
2383
2525
|
* @param {boolean} [single] - 是否做js沙箱隔离
|
|
2384
2526
|
**/
|
|
2385
|
-
var jointUrl = function jointUrl(
|
|
2386
|
-
var url =
|
|
2387
|
-
reg =
|
|
2527
|
+
var jointUrl = function jointUrl(_ref11) {
|
|
2528
|
+
var url = _ref11.url,
|
|
2529
|
+
reg = _ref11.reg;
|
|
2388
2530
|
|
|
2389
2531
|
if (startWith(url, ['https', 'http', 'blob:'], true) || !reg || !reg.length) {
|
|
2390
2532
|
return url;
|
|
@@ -2399,13 +2541,13 @@ var jointUrl = function jointUrl(_ref10) {
|
|
|
2399
2541
|
return startWith(url, reg) ? url : reg + url;
|
|
2400
2542
|
};
|
|
2401
2543
|
|
|
2402
|
-
var loadJs = function loadJs(
|
|
2403
|
-
var url =
|
|
2404
|
-
|
|
2405
|
-
type =
|
|
2406
|
-
id =
|
|
2407
|
-
|
|
2408
|
-
single =
|
|
2544
|
+
var loadJs = function loadJs(_ref12) {
|
|
2545
|
+
var url = _ref12.url,
|
|
2546
|
+
_ref12$type = _ref12.type,
|
|
2547
|
+
type = _ref12$type === undefined ? 'text/javascript' : _ref12$type,
|
|
2548
|
+
id = _ref12.id,
|
|
2549
|
+
_ref12$single = _ref12.single,
|
|
2550
|
+
single = _ref12$single === undefined ? true : _ref12$single;
|
|
2409
2551
|
|
|
2410
2552
|
return new Promise(function (resolve, reject) {
|
|
2411
2553
|
var script = document.getElementById(id) || document.createElement('script');
|
|
@@ -2540,11 +2682,11 @@ var queryParams = function queryParams(obj) {
|
|
|
2540
2682
|
* @param {string} [url] - 消息源的 URI
|
|
2541
2683
|
* @param {function} [callback] - 回调函数
|
|
2542
2684
|
**/
|
|
2543
|
-
var receiveMessage = function receiveMessage(
|
|
2544
|
-
var
|
|
2545
|
-
data =
|
|
2546
|
-
url =
|
|
2547
|
-
callback =
|
|
2685
|
+
var receiveMessage = function receiveMessage(_ref13) {
|
|
2686
|
+
var _ref13$data = _ref13.data,
|
|
2687
|
+
data = _ref13$data === undefined ? {} : _ref13$data,
|
|
2688
|
+
url = _ref13.url,
|
|
2689
|
+
callback = _ref13.callback;
|
|
2548
2690
|
|
|
2549
2691
|
win.addEventListener('message', function (e) {
|
|
2550
2692
|
if (url !== undefined) {
|
|
@@ -2588,9 +2730,9 @@ var removeStorage = function removeStorage(key) {
|
|
|
2588
2730
|
* @param {string、number} [data] - 数字或字符串型数字
|
|
2589
2731
|
* @param {number} [precision] - 需要的小数位数
|
|
2590
2732
|
**/
|
|
2591
|
-
var replenish = function replenish(
|
|
2592
|
-
var data =
|
|
2593
|
-
precision =
|
|
2733
|
+
var replenish = function replenish(_ref14) {
|
|
2734
|
+
var data = _ref14.data,
|
|
2735
|
+
precision = _ref14.precision;
|
|
2594
2736
|
|
|
2595
2737
|
if (data && precision && precision > 0) {
|
|
2596
2738
|
var power = Math.pow(10, precision);
|
|
@@ -2736,10 +2878,10 @@ var setScale = function setScale() {
|
|
|
2736
2878
|
* @param {object} [data] - 数据---其中type必须表示操作类型
|
|
2737
2879
|
* @param {string} [url] - 指定的消息发送URI地址
|
|
2738
2880
|
**/
|
|
2739
|
-
var sendMessage = function sendMessage(
|
|
2740
|
-
var
|
|
2741
|
-
data =
|
|
2742
|
-
url =
|
|
2881
|
+
var sendMessage = function sendMessage(_ref15) {
|
|
2882
|
+
var _ref15$data = _ref15.data,
|
|
2883
|
+
data = _ref15$data === undefined ? {} : _ref15$data,
|
|
2884
|
+
url = _ref15.url;
|
|
2743
2885
|
|
|
2744
2886
|
var iframes = document.getElementsByTagName('iframe');
|
|
2745
2887
|
for (var i = 0; i < iframes.length; i++) {
|
|
@@ -2783,10 +2925,10 @@ var setFavicon = function setFavicon(url) {
|
|
|
2783
2925
|
* @param {String, Array, Object} [key] - 数据的名称,array类型表示多个key保存同一个value,object类型时对象的属性名称作为key属性值作为value
|
|
2784
2926
|
* @param {String} [value] - 数据的值
|
|
2785
2927
|
**/
|
|
2786
|
-
var setStorage = function setStorage(
|
|
2787
|
-
var type =
|
|
2788
|
-
key =
|
|
2789
|
-
value =
|
|
2928
|
+
var setStorage = function setStorage(_ref16) {
|
|
2929
|
+
var type = _ref16.type,
|
|
2930
|
+
key = _ref16.key,
|
|
2931
|
+
value = _ref16.value;
|
|
2790
2932
|
|
|
2791
2933
|
if (value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') {
|
|
2792
2934
|
value = JSON.stringify(value);
|
|
@@ -3080,10 +3222,10 @@ var upperCase = function upperCase(text) {
|
|
|
3080
3222
|
* @param {Object} [url] - url地址
|
|
3081
3223
|
* @param {Object} [param] - 被转换的对象
|
|
3082
3224
|
**/
|
|
3083
|
-
var urlJoinParams = function urlJoinParams(
|
|
3084
|
-
var url =
|
|
3085
|
-
param =
|
|
3086
|
-
timestamp =
|
|
3225
|
+
var urlJoinParams = function urlJoinParams(_ref17) {
|
|
3226
|
+
var url = _ref17.url,
|
|
3227
|
+
param = _ref17.param,
|
|
3228
|
+
timestamp = _ref17.timestamp;
|
|
3087
3229
|
|
|
3088
3230
|
var arry = decodeURI(url).split('?');
|
|
3089
3231
|
var times = new Date().getTime();
|
|
@@ -3201,6 +3343,7 @@ var watermark = function watermark(option) {
|
|
|
3201
3343
|
|
|
3202
3344
|
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
3203
3345
|
ajax: ajax,
|
|
3346
|
+
ajaxStream: ajaxStream,
|
|
3204
3347
|
arrUnique: arrUnique,
|
|
3205
3348
|
average: average,
|
|
3206
3349
|
browser: browser,
|
|
@@ -3295,131 +3438,138 @@ var watermark = function watermark(option) {
|
|
|
3295
3438
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return doCaLogin; });
|
|
3296
3439
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return doUserLogin; });
|
|
3297
3440
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doQrLogin; });
|
|
3298
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3299
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3300
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3441
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return logout; });
|
|
3442
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return initLogin; });
|
|
3443
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return switchUserTo; });
|
|
3301
3444
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return changeImg; });
|
|
3302
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3445
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getLoginCode; });
|
|
3303
3446
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doCodeLogin; });
|
|
3304
3447
|
/* unused harmony export updateCode */
|
|
3305
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3448
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getModifyPassCode; });
|
|
3306
3449
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return codeModifyPass; });
|
|
3307
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3450
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return loginModifyPassword; });
|
|
3308
3451
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return authCenter; });
|
|
3309
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3452
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return initModifyPassword; });
|
|
3310
3453
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return doWechatQrLogin; });
|
|
3311
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3454
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return getTwoFactorLoginCode; });
|
|
3312
3455
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return doTwoFactorLogin; });
|
|
3313
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3314
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3315
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3456
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return initRetrialAuth; });
|
|
3457
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return getRetrialAuthCode; });
|
|
3458
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return scanCodeRetrialAuth; });
|
|
3316
3459
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return codeRetrialAuth; });
|
|
3317
3460
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doAssistanceQrLogin; });
|
|
3318
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3319
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3320
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3321
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3322
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3323
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3461
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kc", function() { return userOnline; });
|
|
3462
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return getUserAppWithTag; });
|
|
3463
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return recordUserApp; });
|
|
3464
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return mainConfig; });
|
|
3465
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return initUserSet; });
|
|
3466
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fc", function() { return updateUserInfo; });
|
|
3324
3467
|
/* unused harmony export getUserImgUrl */
|
|
3325
3468
|
/* unused harmony export getDoorIndex */
|
|
3326
3469
|
/* unused harmony export refreshOnlineUsers */
|
|
3327
3470
|
/* unused harmony export getQuickMenuIds */
|
|
3328
3471
|
/* unused harmony export getApplicationIdArray */
|
|
3329
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3330
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3472
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getComplexApplications; });
|
|
3473
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return getComplexApplicationsNew; });
|
|
3331
3474
|
/* unused harmony export getUserCustomInfo */
|
|
3332
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3333
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3334
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3335
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3336
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3337
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3338
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3339
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3340
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3341
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3475
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ec", function() { return updateUserCustomInfo; });
|
|
3476
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return sysMsgPage; });
|
|
3477
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return ignoreSysMsg; });
|
|
3478
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return ignoreAllSysMsg; });
|
|
3479
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return searchType; });
|
|
3480
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getAdjunctProperties; });
|
|
3481
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jc", function() { return uploads; });
|
|
3482
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hc", function() { return uploadOnlyOne; });
|
|
3483
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return getAdjunctFileInfos; });
|
|
3484
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ic", function() { return uploadSort; });
|
|
3342
3485
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return downloadByAdjunctId; });
|
|
3343
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3344
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3345
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3346
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3486
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gc", function() { return uploadDownloads; });
|
|
3487
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return previewAdjunct; });
|
|
3488
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return previewAdjunct2; });
|
|
3489
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return previewAdjunctOffice; });
|
|
3347
3490
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return delAdjunct; });
|
|
3348
3491
|
/* unused harmony export upload_updateClassify */
|
|
3349
3492
|
/* unused harmony export getDeleteAdjunctFileInfos */
|
|
3350
3493
|
/* unused harmony export getPictureBase64 */
|
|
3351
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3352
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3353
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3354
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3494
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return getSelectorOrgTree; });
|
|
3495
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getSelectorOrgDetail; });
|
|
3496
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getOrgMainTree; });
|
|
3497
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return getSelectOrgsubids; });
|
|
3355
3498
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return findSysCode; });
|
|
3356
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3499
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getDictList; });
|
|
3357
3500
|
/* unused harmony export findUserBaseInfo */
|
|
3358
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3501
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return gethelpdoc; });
|
|
3359
3502
|
/* unused harmony export getCurrentuser */
|
|
3360
3503
|
/* unused harmony export mainDetail */
|
|
3361
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3362
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3504
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return toStartFlow; });
|
|
3505
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return tempSave; });
|
|
3363
3506
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return commonOpion; });
|
|
3364
3507
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
|
|
3365
3508
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return editCommonOpion; });
|
|
3366
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3367
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3509
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return saveCommonOpinion; });
|
|
3510
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dc", function() { return updateCommonOpinion; });
|
|
3368
3511
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteCommonOpion; });
|
|
3369
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3370
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3512
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return getProcessDefList; });
|
|
3513
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return getNodeInfo; });
|
|
3371
3514
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return findCodeValues; });
|
|
3372
3515
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return findSysParam; });
|
|
3373
3516
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return findSysCodes; });
|
|
3374
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3375
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3376
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3517
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getNotificationMsg; });
|
|
3518
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return getHandleInfoHtml; });
|
|
3519
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return taskHandleHtml; });
|
|
3377
3520
|
/* unused harmony export getView */
|
|
3378
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3379
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3380
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3381
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3382
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3383
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3384
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3385
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3386
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3387
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3521
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return register; });
|
|
3522
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return pendedhistoryList; });
|
|
3523
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return toTaskRejectHtml; });
|
|
3524
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return taskRejectHtml; });
|
|
3525
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return toStartTaskRead; });
|
|
3526
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return toStartTaskReadIndex; });
|
|
3527
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return taskReadHtml; });
|
|
3528
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return rejectAndEnd; });
|
|
3529
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return toSendMsg; });
|
|
3530
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return sendMsg; });
|
|
3388
3531
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return endFlowHtml; });
|
|
3389
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3390
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3391
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3392
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3393
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3394
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3395
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3396
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3397
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3532
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return handleInfo; });
|
|
3533
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return loginUserInfo; });
|
|
3534
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lc", function() { return wss; });
|
|
3535
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return topic; });
|
|
3536
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getPresetCustomInfo; });
|
|
3537
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return getPresetNodeInfo; });
|
|
3538
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return toTaskTransferIndex; });
|
|
3539
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return taskTransfer; });
|
|
3540
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return toPresetInfoListIndex; });
|
|
3398
3541
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return deletePresetInfo; });
|
|
3399
3542
|
/* unused harmony export historyListJson */
|
|
3400
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3401
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3543
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return pendedhistoryListJson; });
|
|
3544
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return pressListJson; });
|
|
3402
3545
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return deleteFlow; });
|
|
3403
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3404
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3405
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3406
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3407
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3408
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3409
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3410
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3411
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3412
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3413
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3414
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3415
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3416
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3417
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3546
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return isCanStartSubFlow; });
|
|
3547
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return toTaskUnionExamine; });
|
|
3548
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return taskUnionExamine; });
|
|
3549
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return toTaskTakeAdvice; });
|
|
3550
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return taskTakeAdvice; });
|
|
3551
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return toTaskStartDraft; });
|
|
3552
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return taskStartDraft; });
|
|
3553
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return toTaskReview; });
|
|
3554
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return taskReview; });
|
|
3555
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return toTaskUnionSeal; });
|
|
3556
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return taskUnionSeal; });
|
|
3557
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return toTwoOfficesDispatch; });
|
|
3558
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cc", function() { return twoOfficesDispatch; });
|
|
3559
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return toResetProcessIndex; });
|
|
3560
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return resetProcess; });
|
|
3561
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return toTaskContinuationIndex; });
|
|
3562
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return taskContinuation; });
|
|
3563
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getFreeStartFlowParams; });
|
|
3564
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return freeStartFlowWithSubmitTask; });
|
|
3565
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return sendList; });
|
|
3566
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return sendInfo; });
|
|
3418
3567
|
/* unused harmony export sendSave */
|
|
3419
3568
|
/* unused harmony export sendUpdate */
|
|
3420
3569
|
/* unused harmony export sendDelete */
|
|
3421
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3570
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return sendBatch; });
|
|
3422
3571
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return formContents; });
|
|
3572
|
+
var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
|
|
3423
3573
|
// 登录
|
|
3424
3574
|
var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
|
|
3425
3575
|
var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
|
|
@@ -3508,7 +3658,7 @@ var mainDetail = '/config/configLayoutTheme/detail';
|
|
|
3508
3658
|
// export const toStartFlow = '/api/mecp/v1/mecpItask/toStartFlow.json';
|
|
3509
3659
|
var toStartFlow = '/bpm/bpmBackend/toStartFlow';
|
|
3510
3660
|
// 暂存数据
|
|
3511
|
-
var tempSave = '/
|
|
3661
|
+
var tempSave = flowPendingPrefix + '/task/taskHandle/tempSave.dhtml';
|
|
3512
3662
|
// 获取常用意见
|
|
3513
3663
|
// /oa/commonOpinionsManager/getOpinionsList.dhtml /api/v1/mecpIpending/commonOpion.json
|
|
3514
3664
|
// /api/v1/mecpIpending/commonOpion.json
|
|
@@ -3518,25 +3668,25 @@ var addCommonOpion = '/bpm/commonOpinionsManager/add';
|
|
|
3518
3668
|
// 获取常用意见编辑信息
|
|
3519
3669
|
var editCommonOpion = '/bpm/commonOpinionsManager/edit';
|
|
3520
3670
|
// 常用意见新增
|
|
3521
|
-
var saveCommonOpinion = '/
|
|
3671
|
+
var saveCommonOpinion = flowPendingPrefix + '/commonOpinionsManager/save.dhtml';
|
|
3522
3672
|
// 常用意见修改
|
|
3523
|
-
var updateCommonOpinion = '/
|
|
3524
|
-
var deleteCommonOpion = '/
|
|
3673
|
+
var updateCommonOpinion = flowPendingPrefix + '/commonOpinionsManager/update.dhtml';
|
|
3674
|
+
var deleteCommonOpion = flowPendingPrefix + '/commonOpinionsManager/delete.dhtml';
|
|
3525
3675
|
// 获取选择流程
|
|
3526
3676
|
// export const getProcessDefList =
|
|
3527
3677
|
// '/api/mecp/v1/mecpItask/getProcessDefList.json';
|
|
3528
3678
|
var getProcessDefList = '/bpm/bpmBackend/toStartFlowIndex';
|
|
3529
3679
|
// 获取下步办理人 /api/mecp/v1/mecpItask/getNodeInfo.json
|
|
3530
|
-
var getNodeInfo = '/
|
|
3680
|
+
var getNodeInfo = flowPendingPrefix + '/task/taskHandle/getNodeInfo.dhtml';
|
|
3531
3681
|
|
|
3532
3682
|
// 系统消息
|
|
3533
3683
|
// 通知方式
|
|
3534
3684
|
var findCodeValues = '/bpm/bpmCommon/findCodeValues';
|
|
3535
3685
|
var findSysParam = '/bpm/bpmCommon/findSysParam';
|
|
3536
|
-
var findSysCodes = '/
|
|
3686
|
+
var findSysCodes = flowPendingPrefix + '/task/taskHandle/getDefaultNotificationType.dhtml';
|
|
3537
3687
|
|
|
3538
3688
|
// 获取通知消息
|
|
3539
|
-
var getNotificationMsg = '/
|
|
3689
|
+
var getNotificationMsg = flowPendingPrefix + '/task/taskHandle/getNotificationMsg.dhtml';
|
|
3540
3690
|
// 获取审核页面数据
|
|
3541
3691
|
var getHandleInfoHtml = '/bpm/bpmBackend/toTaskHandleIndex.dhtml';
|
|
3542
3692
|
// export const getHandleInfoHtml =
|
|
@@ -3544,11 +3694,11 @@ var getHandleInfoHtml = '/bpm/bpmBackend/toTaskHandleIndex.dhtml';
|
|
|
3544
3694
|
// 获取节点信息(获取节点属性及办理人)
|
|
3545
3695
|
// export const getNodeInfoHtml = '/api/mecp/v1/mecpItask/getNodeInfoHtml.json';
|
|
3546
3696
|
// 提交办理
|
|
3547
|
-
var taskHandleHtml = '/
|
|
3697
|
+
var taskHandleHtml = flowPendingPrefix + '/task/taskHandle/taskHandle.dhtml';
|
|
3548
3698
|
// 获取流程图
|
|
3549
3699
|
var getView = '/bpm/service/diagram/view.html';
|
|
3550
3700
|
// 开始流程
|
|
3551
|
-
var register = '/
|
|
3701
|
+
var register = flowPendingPrefix + '/task/taskHandle/startFlow.dhtml';
|
|
3552
3702
|
// 获取流程列表
|
|
3553
3703
|
var pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
|
|
3554
3704
|
// 获取审核按钮信息
|
|
@@ -3575,7 +3725,7 @@ var endFlowHtml = '/bpm/task/taskHandle/endFlow.dhtml';
|
|
|
3575
3725
|
// 获取用户信息
|
|
3576
3726
|
// export const findUserBaseInfos = '/api/v1/mecpSys/findUserBaseInfo.dhtml';
|
|
3577
3727
|
// 搜索用户信息
|
|
3578
|
-
var handleInfo = '/
|
|
3728
|
+
var handleInfo = flowPendingPrefix + '/task/taskHandle/handleInfo.dhtml';
|
|
3579
3729
|
// 获取当前用户信息
|
|
3580
3730
|
var loginUserInfo = '/bpm/bpmCommon/loginUserInfo';
|
|
3581
3731
|
|
|
@@ -3584,9 +3734,9 @@ var wss = window.wss || '/main2/ws';
|
|
|
3584
3734
|
// 订阅
|
|
3585
3735
|
var topic = '/user/topic/all';
|
|
3586
3736
|
// 流程预设
|
|
3587
|
-
var getPresetCustomInfo = '/
|
|
3737
|
+
var getPresetCustomInfo = flowPendingPrefix + '/task/taskHandle/getPresetCustomInfo.dhtml';
|
|
3588
3738
|
// 办理人预设
|
|
3589
|
-
var getPresetNodeInfo = '/
|
|
3739
|
+
var getPresetNodeInfo = flowPendingPrefix + '/task/taskHandle/getPresetNodeInfo.dhtml';
|
|
3590
3740
|
// 获取转办页面数据
|
|
3591
3741
|
var toTaskTransferIndex = '/bpm/bpmBackend/toTaskTransferIndex';
|
|
3592
3742
|
// 转办提交按钮
|
|
@@ -3596,13 +3746,13 @@ var toPresetInfoListIndex = '/bpm/bpmBackend/toPresetInfoListIndex';
|
|
|
3596
3746
|
// 流程预设置为失效
|
|
3597
3747
|
var deletePresetInfo = '/bpm/task/taskHandle/deletePresetInfo.dhtml';
|
|
3598
3748
|
// 流程列表
|
|
3599
|
-
var historyListJson = '/
|
|
3749
|
+
var historyListJson = flowPendingPrefix + '/pendedhistoryManager/historyListJson.dhtml';
|
|
3600
3750
|
// 获取流程列表配置
|
|
3601
|
-
var pendedhistoryListJson = '/
|
|
3751
|
+
var pendedhistoryListJson = flowPendingPrefix + '/pendedhistoryManager/pendedhistoryListJson';
|
|
3602
3752
|
// 获取催办列表
|
|
3603
|
-
var pressListJson = '/
|
|
3753
|
+
var pressListJson = flowPendingPrefix + '/wfUrgeRecord/listJson.dhtml';
|
|
3604
3754
|
// 删除流程列表节点
|
|
3605
|
-
var deleteFlow = '/
|
|
3755
|
+
var deleteFlow = flowPendingPrefix + '/pendedhistoryManager/delete.dhtml';
|
|
3606
3756
|
// 是否允许启动子流程(必经节点)
|
|
3607
3757
|
var isCanStartSubFlow = '/bpm/task/taskHandle/isCanStartSubFlow.dhtml';
|
|
3608
3758
|
// 联合审核
|
|
@@ -3617,12 +3767,12 @@ var taskTakeAdvice = '/bpm/task/taskHandle/taskTakeAdvice.dhtml';
|
|
|
3617
3767
|
var toTaskStartDraft = '/bpm/bpmBackend/totaskStartDraft';
|
|
3618
3768
|
|
|
3619
3769
|
// 稿件递送提交接口
|
|
3620
|
-
// export const taskStartDraft = '/
|
|
3770
|
+
// export const taskStartDraft = flowPendingPrefix + '/task/taskHandle/taskStartDraft.dhtml';
|
|
3621
3771
|
var taskStartDraft = '/archives/task/taskHandle/taskStartDraft.dhtml';
|
|
3622
3772
|
// 复核
|
|
3623
3773
|
var toTaskReview = '/bpm/bpmBackend/toTaskReview';
|
|
3624
3774
|
// 复核提交
|
|
3625
|
-
var taskReview = '/
|
|
3775
|
+
var taskReview = flowPendingPrefix + '/task/taskHandle/taskReview.dhtml';
|
|
3626
3776
|
// 联合用印
|
|
3627
3777
|
var toTaskUnionSeal = '/bpm/bpmBackend/toTaskUnionSeal';
|
|
3628
3778
|
// 联合用印提交
|
|
@@ -3631,7 +3781,18 @@ var taskUnionSeal = '/bpm/task/taskHandle/taskUnionSeal.dhtml';
|
|
|
3631
3781
|
var toTwoOfficesDispatch = '/bpm/bpmBackend/toTwoOfficesDispatch';
|
|
3632
3782
|
// 报送两办提交
|
|
3633
3783
|
var twoOfficesDispatch = '/bpm/task/taskHandle/twoOfficesDispatch.dhtml';
|
|
3634
|
-
|
|
3784
|
+
// 重设流程
|
|
3785
|
+
var toResetProcessIndex = '/bpm/bpmBackend/toResetProcessIndex';
|
|
3786
|
+
// 提交重设流程
|
|
3787
|
+
var resetProcess = '/bpm/task/taskHandle/resetProcess.dhtml';
|
|
3788
|
+
// 续办流程
|
|
3789
|
+
var toTaskContinuationIndex = '/bpm/bpmBackend/toTaskContinuationIndex';
|
|
3790
|
+
// 续办提交
|
|
3791
|
+
var taskContinuation = '/bpm/task/taskHandle/taskContinuation.dhtml';
|
|
3792
|
+
// 自由发起流程获取配置参数
|
|
3793
|
+
var getFreeStartFlowParams = '/bpm/bpmBackend/getFreeStartFlowParams';
|
|
3794
|
+
// 自由发起流程提交
|
|
3795
|
+
var freeStartFlowWithSubmitTask = '/bpm/bpmBackend/freeStartFlowWithSubmitTask';
|
|
3635
3796
|
// notifySend 消息发送
|
|
3636
3797
|
var sendList = '/notify2/notifySendRecord/listJson';
|
|
3637
3798
|
var sendInfo = '/notify2/notifySendRecord/info';
|
|
@@ -3977,7 +4138,7 @@ module.exports = require("sortablejs");
|
|
|
3977
4138
|
// ESM COMPAT FLAG
|
|
3978
4139
|
__webpack_require__.r(__webpack_exports__);
|
|
3979
4140
|
|
|
3980
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=
|
|
4141
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=e434ebf2&
|
|
3981
4142
|
var render = function () {
|
|
3982
4143
|
var _vm = this
|
|
3983
4144
|
var _h = _vm.$createElement
|
|
@@ -3986,7 +4147,7 @@ var render = function () {
|
|
|
3986
4147
|
"es-tabs",
|
|
3987
4148
|
{
|
|
3988
4149
|
staticClass: "es-selector-panel",
|
|
3989
|
-
style: _vm.
|
|
4150
|
+
style: _vm.styles,
|
|
3990
4151
|
attrs: { mold: "border-card" },
|
|
3991
4152
|
on: { "tab-click": _vm.handleClick },
|
|
3992
4153
|
model: {
|
|
@@ -4245,7 +4406,7 @@ var staticRenderFns = []
|
|
|
4245
4406
|
render._withStripped = true
|
|
4246
4407
|
|
|
4247
4408
|
|
|
4248
|
-
// CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=
|
|
4409
|
+
// CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=e434ebf2&
|
|
4249
4410
|
|
|
4250
4411
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/tree.vue?vue&type=template&id=24ad732a&
|
|
4251
4412
|
var treevue_type_template_id_24ad732a_render = function () {
|
|
@@ -5096,7 +5257,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5096
5257
|
},
|
|
5097
5258
|
selection: {
|
|
5098
5259
|
type: [String, Array],
|
|
5099
|
-
default: api["
|
|
5260
|
+
default: api["R" /* getSelectorOrgDetail */]
|
|
5100
5261
|
},
|
|
5101
5262
|
param: {
|
|
5102
5263
|
type: Object,
|
|
@@ -5133,7 +5294,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5133
5294
|
},
|
|
5134
5295
|
data: function data() {
|
|
5135
5296
|
return {
|
|
5136
|
-
|
|
5297
|
+
styles: { width: this.width, height: this.height },
|
|
5137
5298
|
loading: true,
|
|
5138
5299
|
search: '',
|
|
5139
5300
|
defaults: '',
|
|
@@ -5188,7 +5349,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5188
5349
|
enterprise: {
|
|
5189
5350
|
label: '选择单位',
|
|
5190
5351
|
name: 'enterprise',
|
|
5191
|
-
url: api["
|
|
5352
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5192
5353
|
data: [],
|
|
5193
5354
|
nodeData: '',
|
|
5194
5355
|
selection: [],
|
|
@@ -5202,7 +5363,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5202
5363
|
department: {
|
|
5203
5364
|
label: '选择部门',
|
|
5204
5365
|
name: 'department',
|
|
5205
|
-
url: api["
|
|
5366
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5206
5367
|
data: [],
|
|
5207
5368
|
nodeData: '',
|
|
5208
5369
|
selection: [],
|
|
@@ -5216,7 +5377,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5216
5377
|
employee: {
|
|
5217
5378
|
label: '选择用户',
|
|
5218
5379
|
name: 'employee',
|
|
5219
|
-
url: api["
|
|
5380
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5220
5381
|
data: [],
|
|
5221
5382
|
nodeData: '',
|
|
5222
5383
|
selection: [],
|
|
@@ -5230,7 +5391,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5230
5391
|
myemployee: {
|
|
5231
5392
|
label: '本单位用户',
|
|
5232
5393
|
name: 'myemployee',
|
|
5233
|
-
url: api["
|
|
5394
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5234
5395
|
data: [],
|
|
5235
5396
|
nodeData: '',
|
|
5236
5397
|
selection: [],
|
|
@@ -5244,7 +5405,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5244
5405
|
otheremployee: {
|
|
5245
5406
|
label: '外单位用户',
|
|
5246
5407
|
name: 'otheremployee',
|
|
5247
|
-
url: api["
|
|
5408
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5248
5409
|
data: [],
|
|
5249
5410
|
nodeData: '',
|
|
5250
5411
|
selection: [],
|
|
@@ -5258,7 +5419,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5258
5419
|
person: {
|
|
5259
5420
|
label: '选择人员',
|
|
5260
5421
|
name: 'person',
|
|
5261
|
-
url: api["
|
|
5422
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5262
5423
|
data: [],
|
|
5263
5424
|
nodeData: '',
|
|
5264
5425
|
selection: [],
|
|
@@ -5272,7 +5433,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5272
5433
|
otherperson: {
|
|
5273
5434
|
label: '外单位人员',
|
|
5274
5435
|
name: 'otherperson',
|
|
5275
|
-
url: api["
|
|
5436
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5276
5437
|
data: [],
|
|
5277
5438
|
nodeData: '',
|
|
5278
5439
|
selection: [],
|
|
@@ -5286,7 +5447,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5286
5447
|
persongroup: {
|
|
5287
5448
|
label: '选择群组成员',
|
|
5288
5449
|
name: 'persongroup',
|
|
5289
|
-
url: api["
|
|
5450
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5290
5451
|
data: [],
|
|
5291
5452
|
nodeData: '',
|
|
5292
5453
|
selection: [],
|
|
@@ -5304,7 +5465,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5304
5465
|
selection: [],
|
|
5305
5466
|
value: [],
|
|
5306
5467
|
name: 'filgroup',
|
|
5307
|
-
url: api["
|
|
5468
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5308
5469
|
param: {
|
|
5309
5470
|
showarea: 3,
|
|
5310
5471
|
id: 0,
|
|
@@ -5314,7 +5475,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5314
5475
|
depgroup: {
|
|
5315
5476
|
label: '部门群组成员',
|
|
5316
5477
|
name: 'depgroup',
|
|
5317
|
-
url: api["
|
|
5478
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5318
5479
|
data: [],
|
|
5319
5480
|
nodeData: '',
|
|
5320
5481
|
selection: [],
|
|
@@ -5328,7 +5489,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5328
5489
|
persongroupobj: {
|
|
5329
5490
|
label: '人员群组',
|
|
5330
5491
|
name: 'persongroupobj',
|
|
5331
|
-
url: api["
|
|
5492
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5332
5493
|
data: [],
|
|
5333
5494
|
nodeData: '',
|
|
5334
5495
|
selection: [],
|
|
@@ -5342,7 +5503,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5342
5503
|
filgroupobj: {
|
|
5343
5504
|
label: '单位群组',
|
|
5344
5505
|
name: 'filgroupobj',
|
|
5345
|
-
url: api["
|
|
5506
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5346
5507
|
data: [],
|
|
5347
5508
|
nodeData: '',
|
|
5348
5509
|
selection: [],
|
|
@@ -5356,7 +5517,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5356
5517
|
depgroupobj: {
|
|
5357
5518
|
label: '部门群组',
|
|
5358
5519
|
name: 'depgroupobj',
|
|
5359
|
-
url: api["
|
|
5520
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5360
5521
|
data: [],
|
|
5361
5522
|
nodeData: '',
|
|
5362
5523
|
selection: [],
|
|
@@ -5370,7 +5531,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5370
5531
|
role: {
|
|
5371
5532
|
label: '选择角色',
|
|
5372
5533
|
name: 'role',
|
|
5373
|
-
url: api["
|
|
5534
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5374
5535
|
data: [],
|
|
5375
5536
|
nodeData: '',
|
|
5376
5537
|
selection: [],
|
|
@@ -5384,7 +5545,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5384
5545
|
post: {
|
|
5385
5546
|
label: '选择岗位',
|
|
5386
5547
|
name: 'post',
|
|
5387
|
-
url: api["
|
|
5548
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5388
5549
|
data: [],
|
|
5389
5550
|
nodeData: '',
|
|
5390
5551
|
selection: [],
|
|
@@ -5398,7 +5559,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5398
5559
|
codetable: {
|
|
5399
5560
|
label: '代码表',
|
|
5400
5561
|
name: 'codetable',
|
|
5401
|
-
url: api["
|
|
5562
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5402
5563
|
data: [],
|
|
5403
5564
|
nodeData: '',
|
|
5404
5565
|
selection: [],
|
|
@@ -5412,7 +5573,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5412
5573
|
topcontacts: {
|
|
5413
5574
|
label: '常用联系人',
|
|
5414
5575
|
name: 'topcontacts',
|
|
5415
|
-
url: api["
|
|
5576
|
+
url: api["S" /* getSelectorOrgTree */],
|
|
5416
5577
|
data: [],
|
|
5417
5578
|
nodeData: '',
|
|
5418
5579
|
selection: [],
|
|
@@ -5428,6 +5589,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5428
5589
|
if (this.replace) {
|
|
5429
5590
|
return this.tabs;
|
|
5430
5591
|
} else {
|
|
5592
|
+
console.log(util["a" /* default */].extend(true, tabs, this.tabs), 'this.tabs');
|
|
5431
5593
|
return util["a" /* default */].extend(true, tabs, this.tabs);
|
|
5432
5594
|
}
|
|
5433
5595
|
}
|