eoss-mobiles 0.3.26 → 0.3.28
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/checkbox.js +12 -9
- package/lib/config/api.js +4 -2
- package/lib/eoss-mobile.common.js +129 -141
- package/lib/flow-btn.js +12 -9
- package/lib/flow-list.js +12 -9
- package/lib/flow.js +81 -53
- package/lib/index.js +1 -1
- package/lib/picker.js +12 -9
- package/lib/radio.js +12 -9
- package/lib/retrial-auth.js +12 -9
- package/lib/selector.js +77 -113
- package/lib/table-column.js +12 -9
- package/package.json +1 -1
- package/packages/flow/src/components/TaskRead.vue +35 -9
- package/packages/selector/src/selector-tree.vue +9 -7
- package/src/config/api.js +4 -1
- package/src/index.js +1 -1
package/lib/table-column.js
CHANGED
|
@@ -1623,22 +1623,22 @@ function normalizeComponent(
|
|
|
1623
1623
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return toStartFlow; });
|
|
1624
1624
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return findUserBaseInfo; });
|
|
1625
1625
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return taskRejectHtml; });
|
|
1626
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1626
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return toTaskRejectHtml; });
|
|
1627
1627
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return handleTaskRead; });
|
|
1628
1628
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return taskReadHtml; });
|
|
1629
1629
|
/* unused harmony export toStartTaskRead */
|
|
1630
1630
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return toStartTaskReadHtml; });
|
|
1631
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1631
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return toTaskTransferIndex; });
|
|
1632
1632
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return taskTransfer; });
|
|
1633
1633
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return findSysCodes; });
|
|
1634
1634
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return getNotificationMsg; });
|
|
1635
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1635
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return toTaskUnionExamine; });
|
|
1636
1636
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return taskUnionExamine; });
|
|
1637
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1637
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return toTaskTakeAdvice; });
|
|
1638
1638
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return taskTakeAdvice; });
|
|
1639
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1639
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return toTaskStartDraft; });
|
|
1640
1640
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return taskStartDraft; });
|
|
1641
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1641
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return toTaskUnionSeal; });
|
|
1642
1642
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return taskUnionSeal; });
|
|
1643
1643
|
/* unused harmony export toTwoOfficesDispatch */
|
|
1644
1644
|
/* unused harmony export twoOfficesDispatch */
|
|
@@ -1651,15 +1651,16 @@ function normalizeComponent(
|
|
|
1651
1651
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return getProcessDefList; });
|
|
1652
1652
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return startReadTransferHandleFlowWithTaskReadEnd; });
|
|
1653
1653
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return freeStartFlowWithSubmitTask; });
|
|
1654
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1655
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1654
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return toTaskSupervise; });
|
|
1655
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return toTaskSuperviseSub; });
|
|
1656
1656
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return toResetProcessIndex; });
|
|
1657
1657
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return resetProcess; });
|
|
1658
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1658
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return toTaskContinuationIndex; });
|
|
1659
1659
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return taskContinuation; });
|
|
1660
1660
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return taskReadList; });
|
|
1661
1661
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return cancelTaskRead; });
|
|
1662
1662
|
/* unused harmony export officeHandleRemark */
|
|
1663
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return toStartTaskReadNew; });
|
|
1663
1664
|
/* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
|
1664
1665
|
|
|
1665
1666
|
var activiti = '/bpm';
|
|
@@ -1785,6 +1786,8 @@ var taskReadList = '/bpm/pendedhistoryManager/fyListJson.dhtml';
|
|
|
1785
1786
|
var cancelTaskRead = '/bpm/bpmBackend/taskReadWithDraw';
|
|
1786
1787
|
// 获取公文办理消息
|
|
1787
1788
|
var officeHandleRemark = '/archives/task/taskHandle/getDefaultNotificationType.dhtml';
|
|
1789
|
+
// 获取分阅信息
|
|
1790
|
+
var toStartTaskReadNew = '/bpm/bpmBackend/toStartTaskRead';
|
|
1788
1791
|
|
|
1789
1792
|
/***/ }),
|
|
1790
1793
|
/* 3 */
|
package/package.json
CHANGED
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
import Message from './Message.vue';
|
|
101
101
|
import {
|
|
102
102
|
toStartTaskReadHtml,
|
|
103
|
+
toStartTaskReadNew,
|
|
103
104
|
taskReadHtml,
|
|
104
105
|
getHandleInfoHtml,
|
|
105
106
|
toTaskTransferIndex,
|
|
@@ -116,6 +117,7 @@ export default {
|
|
|
116
117
|
nextNode: {},
|
|
117
118
|
readOnlyNotificationType: '',
|
|
118
119
|
defaultNotificationMessage: '',
|
|
120
|
+
selectPersonValue:0,
|
|
119
121
|
notificationMessageReadOnly: false,
|
|
120
122
|
dataJson: {
|
|
121
123
|
isCdjxjTaskHandle: undefined
|
|
@@ -194,6 +196,7 @@ export default {
|
|
|
194
196
|
// this.getProcessObjNew();
|
|
195
197
|
// }
|
|
196
198
|
this.getFind();
|
|
199
|
+
|
|
197
200
|
if (!this.readParams) {
|
|
198
201
|
this.getHandleInfoHtml();
|
|
199
202
|
} else {
|
|
@@ -399,22 +402,22 @@ export default {
|
|
|
399
402
|
},
|
|
400
403
|
isMultiple() {
|
|
401
404
|
let orgId = util.getStorage('orgId') || this.orgId;
|
|
402
|
-
if (this.
|
|
405
|
+
if (this.selectPersonValue == 1) {
|
|
403
406
|
this.multiple = false;
|
|
404
407
|
this.params.pid = orgId;
|
|
405
|
-
} else if (this.
|
|
408
|
+
} else if (this.selectPersonValue == 2) {
|
|
406
409
|
this.multiple = true;
|
|
407
410
|
this.params.pid = orgId;
|
|
408
|
-
} else if (this.
|
|
411
|
+
} else if (this.selectPersonValue == 3) {
|
|
409
412
|
this.multiple = false;
|
|
410
|
-
this.params.pid = '
|
|
411
|
-
} else if (this.
|
|
413
|
+
this.params.pid = 'root';
|
|
414
|
+
} else if (this.selectPersonValue == 4) {
|
|
412
415
|
this.multiple = true;
|
|
413
|
-
this.params.pid = '
|
|
414
|
-
} else if (this.
|
|
416
|
+
this.params.pid = 'root';
|
|
417
|
+
} else if (this.selectPersonValue == 5) {
|
|
415
418
|
this.multiple = false;
|
|
416
419
|
this.params.pid = '';
|
|
417
|
-
} else if (this.
|
|
420
|
+
} else if (this.selectPersonValue == 6) {
|
|
418
421
|
this.multiple = true;
|
|
419
422
|
this.params.pid = '';
|
|
420
423
|
}
|
|
@@ -424,6 +427,27 @@ export default {
|
|
|
424
427
|
this.form.notificationMsgType = obj.notificationType.join(',');
|
|
425
428
|
this.form.notificationMsg = obj.notificationMsg;
|
|
426
429
|
},
|
|
430
|
+
getTaskRead(){
|
|
431
|
+
let params = {
|
|
432
|
+
appId: this.processObj.taskExamine.appId,
|
|
433
|
+
businessId: this.processObj.taskExamine.businessId,
|
|
434
|
+
// taskAction: this.newType,
|
|
435
|
+
userId: this.userId,
|
|
436
|
+
mobileKey: util.getStorage('deviceId') || '123'
|
|
437
|
+
};
|
|
438
|
+
request({
|
|
439
|
+
url: this.baseUrl
|
|
440
|
+
? this.baseUrl + toStartTaskReadNew
|
|
441
|
+
: toStartTaskReadNew,
|
|
442
|
+
params: params
|
|
443
|
+
}).then((res) => {
|
|
444
|
+
if(res.status == 'success' || res.rCode == 0){
|
|
445
|
+
this.selectPersonValue = res.data.selectPersonValue
|
|
446
|
+
this.isMultiple()
|
|
447
|
+
}
|
|
448
|
+
console.log(res)
|
|
449
|
+
})
|
|
450
|
+
},
|
|
427
451
|
getProcessObjNew() {
|
|
428
452
|
const _that = this;
|
|
429
453
|
let params = {
|
|
@@ -443,7 +467,9 @@ export default {
|
|
|
443
467
|
_that.$toast.clear();
|
|
444
468
|
if (res.status == 'success') {
|
|
445
469
|
this.processObj = res.data;
|
|
446
|
-
this.notificationMsgType =
|
|
470
|
+
// this.notificationMsgType = res.data.defaultNotificationType.split(',');
|
|
471
|
+
// this.isMultiple()
|
|
472
|
+
this.getTaskRead()
|
|
447
473
|
// this.taskExamine = res.data.taskExamine;
|
|
448
474
|
// console.log(this.taskExamine, 'taskExaminetaskExaminetaskExamine');
|
|
449
475
|
} else {
|
|
@@ -617,10 +617,9 @@ export default {
|
|
|
617
617
|
// });
|
|
618
618
|
},
|
|
619
619
|
methods: {
|
|
620
|
-
|
|
620
|
+
handleClick(index) {
|
|
621
621
|
this.selectIndex = index;
|
|
622
|
-
|
|
623
|
-
this.inputSearch = false;
|
|
622
|
+
this.getContent(undefined,false);
|
|
624
623
|
},
|
|
625
624
|
getNodeList(isSearch) {
|
|
626
625
|
this.personnel = JSON.parse(JSON.stringify(this.nodeList));
|
|
@@ -710,14 +709,14 @@ export default {
|
|
|
710
709
|
if (this.timer != null) {
|
|
711
710
|
clearTimeout(this.timer);
|
|
712
711
|
}
|
|
713
|
-
this.timer = setTimeout(
|
|
712
|
+
this.timer = setTimeout( () => {
|
|
714
713
|
if (this.$listeners.search) {
|
|
715
714
|
this.oldIsSearch = this.isSearch;
|
|
716
715
|
this.isSearch = !this.isSearch;
|
|
717
716
|
this.$emit('search', this.namelike);
|
|
718
717
|
} else {
|
|
719
|
-
|
|
720
|
-
|
|
718
|
+
this.getContent(undefined,!!this.namelike.trim());
|
|
719
|
+
|
|
721
720
|
}
|
|
722
721
|
}, 1000);
|
|
723
722
|
},
|
|
@@ -727,7 +726,7 @@ export default {
|
|
|
727
726
|
* @date 2023年3月6日
|
|
728
727
|
* @author liufan
|
|
729
728
|
*/
|
|
730
|
-
getContent(name) {
|
|
729
|
+
getContent(name,isSearch) {
|
|
731
730
|
if (name) {
|
|
732
731
|
this.label = name;
|
|
733
732
|
}
|
|
@@ -766,6 +765,9 @@ export default {
|
|
|
766
765
|
...this.newParam
|
|
767
766
|
}
|
|
768
767
|
}).then((res) => {
|
|
768
|
+
if(isSearch != undefined){
|
|
769
|
+
this.inputSearch = isSearch;
|
|
770
|
+
}
|
|
769
771
|
this.$toast.clear();
|
|
770
772
|
const { rCode, msg } = res;
|
|
771
773
|
if (rCode == 0) {
|
package/src/config/api.js
CHANGED
|
@@ -108,7 +108,8 @@ export const isCanStartSubFlow =
|
|
|
108
108
|
export const getPresetCustomInfo =
|
|
109
109
|
activiti + '/task/taskHandle/getPresetCustomInfo.dhtml';
|
|
110
110
|
// 流程列表
|
|
111
|
-
export const pendedhistoryList =
|
|
111
|
+
export const pendedhistoryList =
|
|
112
|
+
flowPendingPrefix + '/pendedhistoryManager/pendedhistoryListJson';
|
|
112
113
|
// export const pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
|
|
113
114
|
// 获取流程按钮
|
|
114
115
|
export const getHandleButtonHtml =
|
|
@@ -145,3 +146,5 @@ export const cancelTaskRead = '/bpm/bpmBackend/taskReadWithDraw';
|
|
|
145
146
|
// 获取公文办理消息
|
|
146
147
|
export const officeHandleRemark =
|
|
147
148
|
'/archives/task/taskHandle/getDefaultNotificationType.dhtml';
|
|
149
|
+
// 获取分阅信息
|
|
150
|
+
export const toStartTaskReadNew = '/bpm/bpmBackend/toStartTaskRead';
|