eoss-ui 0.4.20 → 0.4.22
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 +34 -34
- package/lib/button.js +37 -37
- package/lib/cascader.js +2 -2
- package/lib/checkbox-group.js +34 -34
- package/lib/config/api.js +1 -1
- package/lib/data-table-form.js +34 -34
- package/lib/data-table.js +48 -40
- package/lib/date-picker.js +36 -36
- package/lib/dialog.js +37 -37
- package/lib/eoss-ui.common.js +2236 -377
- package/lib/flow-group.js +34 -34
- package/lib/flow-list.js +35 -35
- package/lib/flow.js +118 -107
- package/lib/form.js +1083 -167
- package/lib/handle-user.js +34 -34
- package/lib/handler.js +34 -34
- package/lib/icon.js +436 -0
- package/lib/index.js +1 -1
- package/lib/input-number.js +36 -36
- package/lib/input.js +36 -36
- package/lib/label.js +2 -2
- package/lib/login.js +40 -36
- package/lib/main.js +583 -129
- package/lib/mainComp.js +54 -53
- package/lib/menu.js +2 -2
- package/lib/nav.js +36 -36
- package/lib/notify.js +36 -36
- package/lib/page.js +36 -36
- package/lib/pagination.js +2 -2
- package/lib/player.js +38 -38
- package/lib/qr-code.js +43 -43
- package/lib/radio-group.js +36 -36
- package/lib/select-ganged.js +36 -36
- package/lib/select.js +46 -46
- package/lib/selector-panel.js +34 -34
- package/lib/selector.js +36 -36
- package/lib/sizer.js +36 -36
- package/lib/steps.js +36 -36
- package/lib/switch.js +36 -36
- package/lib/table-form.js +295 -48
- package/lib/tabs-panel.js +2 -2
- package/lib/tabs.js +43 -39
- package/lib/theme-chalk/es-icon.css +1 -0
- package/lib/tips.js +36 -36
- package/lib/toolbar.js +2 -2
- package/lib/tree-group.js +36 -36
- package/lib/tree.js +36 -36
- package/lib/upload.js +48 -47
- package/lib/wujie.js +36 -36
- package/lib/wxlogin.js +36 -36
- package/package.json +1 -1
- package/packages/button/src/main.vue +7 -7
- package/packages/data-table/src/main.vue +9 -1
- package/packages/flow/src/component/taskUnionExamine.vue +3 -3
- package/packages/flow/src/main.vue +47 -13
- package/packages/flow/src/startTaskRead.vue +3 -1
- package/packages/form/src/main.vue +214 -0
- package/packages/form/src/table.vue +150 -97
- package/packages/icon/index.js +5 -0
- package/packages/icon/src/main.vue +83 -0
- package/packages/login/src/main.vue +4 -0
- package/packages/main/src/async-component/index.vue +85 -0
- package/packages/main/src/main.vue +178 -9
- package/packages/mainComp/src/main.vue +1 -1
- package/packages/select/src/main.vue +5 -4
- package/packages/tabs/src/main.vue +1 -0
- package/packages/theme-chalk/lib/es-icon.css +1 -0
- package/packages/theme-chalk/src/es-icon.scss +99 -0
- package/packages/upload/src/main.vue +6 -7
- package/src/config/api.js +1 -1
- package/src/index.js +4 -1
package/lib/wxlogin.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 = 62);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -2259,7 +2259,7 @@ var watermark = function watermark(option) {
|
|
|
2259
2259
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doWechatQrLogin; });
|
|
2260
2260
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return mainConfig; });
|
|
2261
2261
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return initUserSet; });
|
|
2262
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2262
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return updateUserInfo; });
|
|
2263
2263
|
/* unused harmony export getUserImgUrl */
|
|
2264
2264
|
/* unused harmony export getDoorIndex */
|
|
2265
2265
|
/* unused harmony export refreshOnlineUsers */
|
|
@@ -2268,17 +2268,17 @@ var watermark = function watermark(option) {
|
|
|
2268
2268
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return getComplexApplications; });
|
|
2269
2269
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return getComplexApplicationsNew; });
|
|
2270
2270
|
/* unused harmony export getUserCustomInfo */
|
|
2271
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2271
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return updateUserCustomInfo; });
|
|
2272
2272
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return sysMsgPage; });
|
|
2273
2273
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return ignoreSysMsg; });
|
|
2274
2274
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return ignoreAllSysMsg; });
|
|
2275
2275
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return getAdjunctProperties; });
|
|
2276
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2277
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2276
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return uploads; });
|
|
2277
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return uploadOnlyOne; });
|
|
2278
2278
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return getAdjunctFileInfos; });
|
|
2279
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2279
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return uploadSort; });
|
|
2280
2280
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return downloadByAdjunctId; });
|
|
2281
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2281
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return uploadDownloads; });
|
|
2282
2282
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return previewAdjunct; });
|
|
2283
2283
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return previewAdjunct2; });
|
|
2284
2284
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return previewAdjunctOffice; });
|
|
@@ -2295,13 +2295,13 @@ var watermark = function watermark(option) {
|
|
|
2295
2295
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return gethelpdoc; });
|
|
2296
2296
|
/* unused harmony export getCurrentuser */
|
|
2297
2297
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return mainDetail; });
|
|
2298
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2299
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2298
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return toStartFlow; });
|
|
2299
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return tempSave; });
|
|
2300
2300
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return commonOpion; });
|
|
2301
2301
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
|
|
2302
2302
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return editCommonOpion; });
|
|
2303
2303
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return saveCommonOpinion; });
|
|
2304
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2304
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return updateCommonOpinion; });
|
|
2305
2305
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return deleteCommonOpion; });
|
|
2306
2306
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getProcessDefList; });
|
|
2307
2307
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getNodeInfo; });
|
|
@@ -2309,46 +2309,46 @@ var watermark = function watermark(option) {
|
|
|
2309
2309
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return findSysCodes; });
|
|
2310
2310
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return getNotificationMsg; });
|
|
2311
2311
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getHandleInfoHtml; });
|
|
2312
|
-
/* harmony export
|
|
2312
|
+
/* unused harmony export taskHandleHtml */
|
|
2313
2313
|
/* unused harmony export getView */
|
|
2314
2314
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return register; });
|
|
2315
2315
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return pendedhistoryList; });
|
|
2316
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2317
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2318
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2319
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2320
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2316
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return toTaskRejectHtml; });
|
|
2317
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return taskRejectHtml; });
|
|
2318
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return toStartTaskRead; });
|
|
2319
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return toStartTaskReadIndex; });
|
|
2320
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return taskReadHtml; });
|
|
2321
2321
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return rejectAndEnd; });
|
|
2322
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2322
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return toSendMsg; });
|
|
2323
2323
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return sendMsg; });
|
|
2324
2324
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return endFlowHtml; });
|
|
2325
2325
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return handleInfo; });
|
|
2326
2326
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return loginUserInfo; });
|
|
2327
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2328
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2327
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return wss; });
|
|
2328
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return topic; });
|
|
2329
2329
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getPresetCustomInfo; });
|
|
2330
2330
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return getPresetNodeInfo; });
|
|
2331
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2332
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2333
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2331
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return toTaskTransferIndex; });
|
|
2332
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return taskTransfer; });
|
|
2333
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return toPresetInfoListIndex; });
|
|
2334
2334
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return deletePresetInfo; });
|
|
2335
2335
|
/* unused harmony export historyListJson */
|
|
2336
2336
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return pendedhistoryListJson; });
|
|
2337
2337
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return pressListJson; });
|
|
2338
2338
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteFlow; });
|
|
2339
2339
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return isCanStartSubFlow; });
|
|
2340
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2341
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2342
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2343
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2344
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2345
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2346
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2347
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2348
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2349
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2350
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2351
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2340
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return toTaskUnionExamine; });
|
|
2341
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return taskUnionExamine; });
|
|
2342
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return toTaskTakeAdvice; });
|
|
2343
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return taskTakeAdvice; });
|
|
2344
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return toTaskStartDraft; });
|
|
2345
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return taskStartDraft; });
|
|
2346
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return toTaskReview; });
|
|
2347
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return taskReview; });
|
|
2348
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toTaskUnionSeal; });
|
|
2349
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return taskUnionSeal; });
|
|
2350
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toTwoOfficesDispatch; });
|
|
2351
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return twoOfficesDispatch; });
|
|
2352
2352
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return sendList; });
|
|
2353
2353
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return sendInfo; });
|
|
2354
2354
|
/* unused harmony export sendSave */
|
|
@@ -2547,7 +2547,7 @@ var taskUnionSeal = '/bpm/task/taskHandle/taskUnionSeal.dhtml';
|
|
|
2547
2547
|
// 报送两办
|
|
2548
2548
|
var toTwoOfficesDispatch = '/bpm/bpmBackend/toTwoOfficesDispatch';
|
|
2549
2549
|
// 报送两办提交
|
|
2550
|
-
var twoOfficesDispatch = 'task/taskHandle/twoOfficesDispatch.dhtml';
|
|
2550
|
+
var twoOfficesDispatch = '/bpm/task/taskHandle/twoOfficesDispatch.dhtml';
|
|
2551
2551
|
|
|
2552
2552
|
// notifySend 消息发送
|
|
2553
2553
|
var sendList = '/notify2/notifySendRecord/listJson';
|
|
@@ -2696,7 +2696,7 @@ module.exports = require("json-bigint");
|
|
|
2696
2696
|
|
|
2697
2697
|
/***/ }),
|
|
2698
2698
|
|
|
2699
|
-
/***/
|
|
2699
|
+
/***/ 62:
|
|
2700
2700
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2701
2701
|
|
|
2702
2702
|
"use strict";
|
package/package.json
CHANGED
|
@@ -57,14 +57,14 @@ export default {
|
|
|
57
57
|
let flag = true;
|
|
58
58
|
if (this.required) {
|
|
59
59
|
if (Array.isArray(this.required)) {
|
|
60
|
-
this.esForm.validateField(this.required, res => {
|
|
60
|
+
this.esForm.validateField(this.required, (res) => {
|
|
61
61
|
if (res) {
|
|
62
62
|
flag = false;
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
if (flag) {
|
|
66
66
|
fields = this.required;
|
|
67
|
-
this.required.forEach(item => {
|
|
67
|
+
this.required.forEach((item) => {
|
|
68
68
|
param[item] = models[item];
|
|
69
69
|
});
|
|
70
70
|
}
|
|
@@ -73,13 +73,13 @@ export default {
|
|
|
73
73
|
fields.push(this.required[i]);
|
|
74
74
|
param[i] = models[this.required[i]];
|
|
75
75
|
}
|
|
76
|
-
this.esForm.validateField(fields, res => {
|
|
76
|
+
this.esForm.validateField(fields, (res) => {
|
|
77
77
|
if (res) {
|
|
78
78
|
flag = false;
|
|
79
79
|
}
|
|
80
80
|
});
|
|
81
81
|
} else {
|
|
82
|
-
this.esForm.validateField(this.required, res => {
|
|
82
|
+
this.esForm.validateField(this.required, (res) => {
|
|
83
83
|
if (res) {
|
|
84
84
|
flag = false;
|
|
85
85
|
}
|
|
@@ -99,7 +99,7 @@ export default {
|
|
|
99
99
|
if (this.fields) {
|
|
100
100
|
let empty = [];
|
|
101
101
|
if (Array.isArray(this.fields)) {
|
|
102
|
-
this.fields.forEach(item => {
|
|
102
|
+
this.fields.forEach((item) => {
|
|
103
103
|
if (models[item] == undefined || models[item] == '') {
|
|
104
104
|
empty.push(item);
|
|
105
105
|
}
|
|
@@ -127,7 +127,7 @@ export default {
|
|
|
127
127
|
if (empty.length) {
|
|
128
128
|
let msg = [];
|
|
129
129
|
if (this.mapFields) {
|
|
130
|
-
empty.forEach(item => {
|
|
130
|
+
empty.forEach((item) => {
|
|
131
131
|
msg.push(this.mapFields[item]);
|
|
132
132
|
});
|
|
133
133
|
} else {
|
|
@@ -210,7 +210,7 @@ export default {
|
|
|
210
210
|
let times = setInterval(() => {
|
|
211
211
|
if (windows.closed) {
|
|
212
212
|
clearInterval(times);
|
|
213
|
-
this.esSelect && this.esSelect.reload(param);
|
|
213
|
+
this.esSelect && this.esSelect.reload(null, param, true);
|
|
214
214
|
this.esTable && this.esTable.reload(param);
|
|
215
215
|
}
|
|
216
216
|
}, 1000);
|
|
@@ -402,7 +402,8 @@ export default {
|
|
|
402
402
|
immediate: {
|
|
403
403
|
type: Boolean,
|
|
404
404
|
default: true
|
|
405
|
-
}
|
|
405
|
+
},
|
|
406
|
+
zoom: false
|
|
406
407
|
},
|
|
407
408
|
data() {
|
|
408
409
|
return {
|
|
@@ -505,6 +506,13 @@ export default {
|
|
|
505
506
|
}
|
|
506
507
|
},
|
|
507
508
|
watch: {
|
|
509
|
+
zoom: {
|
|
510
|
+
handler(val) {
|
|
511
|
+
if (this.tableHeight != 'auto' && this.display) {
|
|
512
|
+
this.resetHeight();
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
},
|
|
508
516
|
checked(newVal) {
|
|
509
517
|
this.checkSelect(newVal);
|
|
510
518
|
},
|
|
@@ -196,7 +196,7 @@ export default {
|
|
|
196
196
|
let params = {
|
|
197
197
|
url: taskReview,
|
|
198
198
|
data: {
|
|
199
|
-
nextUserId: nextOtherOrgObj,
|
|
199
|
+
nextUserId: nextOtherOrgObj.join(','),
|
|
200
200
|
notificationType: noticeType.join(','),
|
|
201
201
|
notificationMsg: noticeInfo,
|
|
202
202
|
opinion,
|
|
@@ -393,8 +393,8 @@ export default {
|
|
|
393
393
|
data: {
|
|
394
394
|
opinion,
|
|
395
395
|
pendingId,
|
|
396
|
-
nextOtherOrgObj: nextOtherOrgObj,
|
|
397
|
-
nextCurrentOrgObj: nextCurrentOrgObj,
|
|
396
|
+
nextOtherOrgObj: nextOtherOrgObj.join(','),
|
|
397
|
+
nextCurrentOrgObj: nextCurrentOrgObj.join(','),
|
|
398
398
|
notificationMsg: noticeInfo,
|
|
399
399
|
notificationType: noticeType.join(','),
|
|
400
400
|
choiceDeptId,
|
|
@@ -612,6 +612,7 @@ export default {
|
|
|
612
612
|
flowType: '',
|
|
613
613
|
flowDisabled: false,
|
|
614
614
|
activeNames: '',
|
|
615
|
+
isEndUserTask: true,
|
|
615
616
|
selectUserList: [],
|
|
616
617
|
flowMultiple: true,
|
|
617
618
|
isCustomUser: 0,
|
|
@@ -1467,18 +1468,22 @@ export default {
|
|
|
1467
1468
|
data.nextUserList !== undefined
|
|
1468
1469
|
) {
|
|
1469
1470
|
data.nextUserList.map((item) => {
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1471
|
+
if (item.userId && item.username) {
|
|
1472
|
+
this.nextNode.nextUserId.push(item.userId);
|
|
1473
|
+
this.selectUserList.push({
|
|
1474
|
+
showname: item.username,
|
|
1475
|
+
showid: item.userId
|
|
1476
|
+
});
|
|
1477
|
+
}
|
|
1475
1478
|
});
|
|
1476
1479
|
}
|
|
1477
1480
|
data.nextUserList.map((item) => {
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1481
|
+
if (item.userId && item.username) {
|
|
1482
|
+
this.options.push({
|
|
1483
|
+
showname: item.username,
|
|
1484
|
+
showid: item.userId
|
|
1485
|
+
});
|
|
1486
|
+
}
|
|
1482
1487
|
});
|
|
1483
1488
|
if (data.nodeExtAttr.presetEdit != 0) {
|
|
1484
1489
|
this.radioList = this.options;
|
|
@@ -1632,6 +1637,7 @@ export default {
|
|
|
1632
1637
|
status,
|
|
1633
1638
|
message,
|
|
1634
1639
|
data: {
|
|
1640
|
+
isEndUserTask,
|
|
1635
1641
|
nextNodeList,
|
|
1636
1642
|
taskOperations,
|
|
1637
1643
|
isCustomPreset,
|
|
@@ -1701,6 +1707,13 @@ export default {
|
|
|
1701
1707
|
// this.nextNode.nextNodeId = item.taskNodeList[0].nodeId;
|
|
1702
1708
|
// }
|
|
1703
1709
|
}
|
|
1710
|
+
if (taskOperations.length == 1) {
|
|
1711
|
+
this.nodeInfos = [];
|
|
1712
|
+
this.nextNode.nextOperate = taskOperations[0].key;
|
|
1713
|
+
if (taskOperations[0].taskNodeList != null) {
|
|
1714
|
+
this.nodeInfos = taskOperations[0].taskNodeList;
|
|
1715
|
+
}
|
|
1716
|
+
}
|
|
1704
1717
|
});
|
|
1705
1718
|
}
|
|
1706
1719
|
this.operationList = taskOperations;
|
|
@@ -1715,7 +1728,7 @@ export default {
|
|
|
1715
1728
|
nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
|
|
1716
1729
|
this.isOpinionRequired =
|
|
1717
1730
|
nodeInfoMap.nodeExtAttr.isOpinionRequired;
|
|
1718
|
-
this.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
1731
|
+
// this.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
1719
1732
|
this.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
1720
1733
|
if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
|
|
1721
1734
|
let defaultNode = this.nodeInfos.filter(
|
|
@@ -1731,10 +1744,11 @@ export default {
|
|
|
1731
1744
|
} else if (this.nodeInfos.length > 0) {
|
|
1732
1745
|
this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
|
|
1733
1746
|
}
|
|
1734
|
-
this.choiceOrgId = choiceOrgId;
|
|
1735
|
-
this.choiceDeptId = choiceDeptId;
|
|
1736
|
-
this.pOrgId = pOrgId;
|
|
1737
1747
|
}
|
|
1748
|
+
this.choiceOrgId = choiceOrgId;
|
|
1749
|
+
this.choiceDeptId = choiceDeptId;
|
|
1750
|
+
this.pOrgId = pOrgId;
|
|
1751
|
+
this.isEndUserTask = isEndUserTask;
|
|
1738
1752
|
if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
|
|
1739
1753
|
this.nodeInfo.nextNode = taskExamine.processDefinitionId;
|
|
1740
1754
|
this.NodeName = taskExamine.nodeName;
|
|
@@ -2092,7 +2106,27 @@ export default {
|
|
|
2092
2106
|
// if(this.isSubmitButtonShowAgreeAndDisagree == 1){
|
|
2093
2107
|
// this.value = this.value
|
|
2094
2108
|
// }
|
|
2109
|
+
// console.log(params,'params')
|
|
2110
|
+
// return
|
|
2095
2111
|
this.loading = util.loading(this.$loading, '提交中...');
|
|
2112
|
+
const {
|
|
2113
|
+
isEndUserTask,
|
|
2114
|
+
choiceOrgId,
|
|
2115
|
+
choiceDeptId,
|
|
2116
|
+
pOrgId,
|
|
2117
|
+
taskExamineInfo
|
|
2118
|
+
} = this;
|
|
2119
|
+
params.isEndUserTask = isEndUserTask;
|
|
2120
|
+
params.choiceOrgId = choiceOrgId;
|
|
2121
|
+
params.choiceDeptId = choiceDeptId;
|
|
2122
|
+
params.pOrgId = pOrgId;
|
|
2123
|
+
params.processType = taskExamineInfo.processType;
|
|
2124
|
+
params.businessId = taskExamineInfo.businessId;
|
|
2125
|
+
params.appId = taskExamineInfo.appId;
|
|
2126
|
+
params.processDefinitionId = taskExamineInfo.processDefinitionId;
|
|
2127
|
+
params.isSubFlow = taskExamineInfo.isSubFlow;
|
|
2128
|
+
params.nodeId = taskExamineInfo.nodeId;
|
|
2129
|
+
return;
|
|
2096
2130
|
util
|
|
2097
2131
|
.ajax({ url: taskHandleHtml, method: 'post', data: params })
|
|
2098
2132
|
.then((res) => {
|
|
@@ -474,7 +474,8 @@ export default {
|
|
|
474
474
|
opinion: this.option, // 审批意见
|
|
475
475
|
userId: util.getStorage('userId'),
|
|
476
476
|
nextReadUserId: this.mixList.join('|'),
|
|
477
|
-
noticeType
|
|
477
|
+
noticeType,
|
|
478
|
+
taskAction: this.type
|
|
478
479
|
// nextNodeId: this.form.nextNodeId
|
|
479
480
|
};
|
|
480
481
|
delete params.nextUser;
|
|
@@ -488,6 +489,7 @@ export default {
|
|
|
488
489
|
fyeh != 'true' && delete params.isInHistory;
|
|
489
490
|
!download && delete params.isDownload;
|
|
490
491
|
isCdjxjTaskHandle == 'true' && delete params.noticeType;
|
|
492
|
+
console.log(params,'aaa')
|
|
491
493
|
util
|
|
492
494
|
.ajax({
|
|
493
495
|
url: taskReadHtml,
|