eoss-mobiles 0.3.10 → 0.3.11
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 +44 -35
- package/lib/config/api.js +7 -3
- package/lib/eoss-mobile.common.js +623 -279
- package/lib/flow-btn.js +42 -35
- package/lib/flow-list.js +41 -34
- package/lib/flow.js +550 -248
- package/lib/form.js +3 -3
- package/lib/index.js +1 -1
- package/lib/picker.js +40 -33
- package/lib/radio.js +40 -33
- package/lib/retrial-auth.js +42 -35
- package/lib/selector.js +170 -122
- package/lib/table-column.js +40 -33
- package/lib/table.js +3 -1
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/selector.css +1 -1
- package/lib/utils/axios.js +1 -1
- package/package.json +1 -1
- package/packages/checkbox/src/main.vue +1 -0
- package/packages/flow/src/components/Handle.vue +145 -19
- package/packages/flow/src/components/Message.vue +31 -7
- package/packages/flow/src/components/StartFlow.vue +2 -0
- package/packages/flow/src/components/taskUnionExamine.vue +109 -28
- package/packages/flow/src/main.vue +2 -1
- package/packages/form/src/main.vue +48 -48
- package/packages/selector/src/selector-tree.vue +16 -2
- package/packages/selector/src/tree.vue +16 -4
- package/packages/table/src/main.vue +2 -0
- package/packages/theme-chalk/lib/flow.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/selector.css +1 -1
- package/packages/theme-chalk/src/flow.scss +29 -0
- package/packages/theme-chalk/src/selector.scss +6 -0
- package/src/config/api.js +8 -3
- package/src/index.js +1 -1
- package/src/utils/axios.js +1 -1
package/lib/flow.js
CHANGED
|
@@ -1608,44 +1608,47 @@ function normalizeComponent(
|
|
|
1608
1608
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1609
1609
|
|
|
1610
1610
|
"use strict";
|
|
1611
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1612
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1611
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return initRetrialAuth; });
|
|
1612
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return getRetrialAuthCode; });
|
|
1613
1613
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return codeRetrialAuth; });
|
|
1614
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1614
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return selectObject; });
|
|
1615
1615
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return findSysCode; });
|
|
1616
1616
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return commonOpion; });
|
|
1617
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1618
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1619
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1620
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1621
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1622
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1623
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1624
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1625
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1626
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1627
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1617
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getHandleInfoHtml; });
|
|
1618
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return getNodeInfoHtml; });
|
|
1619
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return taskHandleHtml; });
|
|
1620
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return taskHandleHtmlImg; });
|
|
1621
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return registerNew; });
|
|
1622
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return getNodeInfo; });
|
|
1623
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return toStartFlow; });
|
|
1624
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return findUserBaseInfo; });
|
|
1625
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return taskRejectHtml; });
|
|
1626
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return toTaskRejectHtml; });
|
|
1627
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return handleTaskRead; });
|
|
1628
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return taskReadHtml; });
|
|
1628
1629
|
/* unused harmony export toStartTaskRead */
|
|
1629
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1630
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1631
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1630
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return toStartTaskReadHtml; });
|
|
1631
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return toTaskTransferIndex; });
|
|
1632
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return taskTransfer; });
|
|
1632
1633
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return findSysCodes; });
|
|
1633
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1634
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1635
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1636
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1637
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1638
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1639
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1640
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1641
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1634
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return getNotificationMsg; });
|
|
1635
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return toTaskUnionExamine; });
|
|
1636
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return taskUnionExamine; });
|
|
1637
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return toTaskTakeAdvice; });
|
|
1638
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return taskTakeAdvice; });
|
|
1639
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return toTaskStartDraft; });
|
|
1640
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return taskStartDraft; });
|
|
1641
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return toTaskUnionSeal; });
|
|
1642
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return taskUnionSeal; });
|
|
1642
1643
|
/* unused harmony export toTwoOfficesDispatch */
|
|
1643
1644
|
/* unused harmony export twoOfficesDispatch */
|
|
1644
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1645
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1646
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1647
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1648
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
1645
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return isCanStartSubFlow; });
|
|
1646
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return getPresetCustomInfo; });
|
|
1647
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return pendedhistoryList; });
|
|
1648
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getHandleButtonHtml; });
|
|
1649
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return getSysParam; });
|
|
1650
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return getFreeStartFlowParams; });
|
|
1651
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return getProcessDefList; });
|
|
1649
1652
|
/* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
|
1650
1653
|
|
|
1651
1654
|
var activiti = '/bpm';
|
|
@@ -1686,7 +1689,7 @@ var getNodeInfo = '/bpm/v1/mecpItask/getNodeInfoNew.json';
|
|
|
1686
1689
|
var toStartFlow = '/bpm/v1/mecpItask/toStartFlowNew.json';
|
|
1687
1690
|
// export const toStartFlow = '/bpm/v1/mecpItask/toStartFlow.json';
|
|
1688
1691
|
// export const toStartFlow = activiti + mecp + '/bpmBackend/toStartFlowIndex';
|
|
1689
|
-
|
|
1692
|
+
var findUserBaseInfo = '/sys/v1/mecpSys/findUserBaseInfo.dhtml';
|
|
1690
1693
|
// 驳回(为H5提供接口)
|
|
1691
1694
|
// export const taskRejectHtml = '/api/mecp/v1/mecpItask/taskRejectHtml.json';
|
|
1692
1695
|
var taskRejectHtml = activiti + mecp + '/bpmBackend/taskReject';
|
|
@@ -1742,6 +1745,10 @@ var pendedhistoryList = '/api/v1/mecpIpending/pendedhistoryList.json';
|
|
|
1742
1745
|
var getHandleButtonHtml = '/api/mecp/v1/mecpItask/getHandleButtonHtml.json';
|
|
1743
1746
|
// 获取系统参数
|
|
1744
1747
|
var getSysParam = '/api/v1/mecpSys/getSysParam.json';
|
|
1748
|
+
// 自由发起流程获取配置参数
|
|
1749
|
+
var getFreeStartFlowParams = '/bpm/bpmBackend/getFreeStartFlowParams';
|
|
1750
|
+
// 获取发起流程列表
|
|
1751
|
+
var getProcessDefList = '/bpm/v1/mecpItask/getProcessDefList.json';
|
|
1745
1752
|
|
|
1746
1753
|
/***/ }),
|
|
1747
1754
|
/* 3 */
|
|
@@ -1880,7 +1887,7 @@ var axios_ajax = function ajax(url) {
|
|
|
1880
1887
|
break;
|
|
1881
1888
|
case 403:
|
|
1882
1889
|
error.message = '登录过期,请重新登录';
|
|
1883
|
-
|
|
1890
|
+
// $.removeStorage('userId');
|
|
1884
1891
|
break;
|
|
1885
1892
|
case 404:
|
|
1886
1893
|
error.message = '网络请求不存在';
|
|
@@ -2081,7 +2088,7 @@ module.exports = require("sm-crypto");
|
|
|
2081
2088
|
// ESM COMPAT FLAG
|
|
2082
2089
|
__webpack_require__.r(__webpack_exports__);
|
|
2083
2090
|
|
|
2084
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=
|
|
2091
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=1bffef47
|
|
2085
2092
|
var render = function () {
|
|
2086
2093
|
var _vm = this
|
|
2087
2094
|
var _h = _vm.$createElement
|
|
@@ -2100,12 +2107,13 @@ var render = function () {
|
|
|
2100
2107
|
false
|
|
2101
2108
|
)
|
|
2102
2109
|
)
|
|
2103
|
-
: _vm.type === "handle"
|
|
2110
|
+
: _vm.type === "handle" || _vm.type === "freeStart"
|
|
2104
2111
|
? _c(
|
|
2105
2112
|
"Handle",
|
|
2106
2113
|
_vm._b(
|
|
2107
2114
|
{
|
|
2108
2115
|
attrs: {
|
|
2116
|
+
type: _vm.type,
|
|
2109
2117
|
userId: _vm.userId,
|
|
2110
2118
|
identityIds: _vm.userId,
|
|
2111
2119
|
beforeSubmit: _vm.beforeSubmit,
|
|
@@ -2175,10 +2183,10 @@ var staticRenderFns = []
|
|
|
2175
2183
|
render._withStripped = true
|
|
2176
2184
|
|
|
2177
2185
|
|
|
2178
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
2186
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=1bffef47
|
|
2179
2187
|
|
|
2180
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/StartFlow.vue?vue&type=template&id=
|
|
2181
|
-
var
|
|
2188
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/StartFlow.vue?vue&type=template&id=7fafd2b5
|
|
2189
|
+
var StartFlowvue_type_template_id_7fafd2b5_render = function () {
|
|
2182
2190
|
var _vm = this
|
|
2183
2191
|
var _h = _vm.$createElement
|
|
2184
2192
|
var _c = _vm._self._c || _h
|
|
@@ -2388,11 +2396,11 @@ var StartFlowvue_type_template_id_5cb83d24_render = function () {
|
|
|
2388
2396
|
]),
|
|
2389
2397
|
])
|
|
2390
2398
|
}
|
|
2391
|
-
var
|
|
2392
|
-
|
|
2399
|
+
var StartFlowvue_type_template_id_7fafd2b5_staticRenderFns = []
|
|
2400
|
+
StartFlowvue_type_template_id_7fafd2b5_render._withStripped = true
|
|
2393
2401
|
|
|
2394
2402
|
|
|
2395
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=
|
|
2403
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=7fafd2b5
|
|
2396
2404
|
|
|
2397
2405
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
2398
2406
|
var api = __webpack_require__(2);
|
|
@@ -2916,8 +2924,8 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
2916
2924
|
)
|
|
2917
2925
|
|
|
2918
2926
|
/* harmony default export */ var Opinion = (component.exports);
|
|
2919
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Message.vue?vue&type=template&id=
|
|
2920
|
-
var
|
|
2927
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Message.vue?vue&type=template&id=3acd8f6c
|
|
2928
|
+
var Messagevue_type_template_id_3acd8f6c_render = function () {
|
|
2921
2929
|
var _vm = this
|
|
2922
2930
|
var _h = _vm.$createElement
|
|
2923
2931
|
var _c = _vm._self._c || _h
|
|
@@ -2937,23 +2945,25 @@ var Messagevue_type_template_id_50bf1a6c_render = function () {
|
|
|
2937
2945
|
staticStyle: { width: "100%" },
|
|
2938
2946
|
},
|
|
2939
2947
|
[
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2948
|
+
_vm.showCheck
|
|
2949
|
+
? _c("em-checkbox-group", {
|
|
2950
|
+
attrs: {
|
|
2951
|
+
direction: "horizontal",
|
|
2952
|
+
data: _vm.newList,
|
|
2953
|
+
disabledValue: _vm.readOnlyNotificationType,
|
|
2954
|
+
labelKey: "shortName",
|
|
2955
|
+
valueKey: "cciValue",
|
|
2956
|
+
},
|
|
2957
|
+
on: { change: _vm.onInput },
|
|
2958
|
+
model: {
|
|
2959
|
+
value: _vm.form.notificationType,
|
|
2960
|
+
callback: function ($$v) {
|
|
2961
|
+
_vm.$set(_vm.form, "notificationType", $$v)
|
|
2962
|
+
},
|
|
2963
|
+
expression: "form.notificationType",
|
|
2964
|
+
},
|
|
2965
|
+
})
|
|
2966
|
+
: _vm._e(),
|
|
2957
2967
|
_c(
|
|
2958
2968
|
"div",
|
|
2959
2969
|
{
|
|
@@ -3003,11 +3013,11 @@ var Messagevue_type_template_id_50bf1a6c_render = function () {
|
|
|
3003
3013
|
1
|
|
3004
3014
|
)
|
|
3005
3015
|
}
|
|
3006
|
-
var
|
|
3007
|
-
|
|
3016
|
+
var Messagevue_type_template_id_3acd8f6c_staticRenderFns = []
|
|
3017
|
+
Messagevue_type_template_id_3acd8f6c_render._withStripped = true
|
|
3008
3018
|
|
|
3009
3019
|
|
|
3010
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Message.vue?vue&type=template&id=
|
|
3020
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Message.vue?vue&type=template&id=3acd8f6c
|
|
3011
3021
|
|
|
3012
3022
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Message.vue?vue&type=script&lang=js
|
|
3013
3023
|
//
|
|
@@ -3048,6 +3058,7 @@ Messagevue_type_template_id_50bf1a6c_render._withStripped = true
|
|
|
3048
3058
|
//
|
|
3049
3059
|
//
|
|
3050
3060
|
//
|
|
3061
|
+
//
|
|
3051
3062
|
|
|
3052
3063
|
|
|
3053
3064
|
|
|
@@ -3093,7 +3104,12 @@ Messagevue_type_template_id_50bf1a6c_render._withStripped = true
|
|
|
3093
3104
|
}
|
|
3094
3105
|
},
|
|
3095
3106
|
mounted: function mounted() {
|
|
3107
|
+
var _this = this;
|
|
3108
|
+
|
|
3096
3109
|
this.getSysCode();
|
|
3110
|
+
this.$nextTick(function () {
|
|
3111
|
+
_this.getNoticeType();
|
|
3112
|
+
});
|
|
3097
3113
|
},
|
|
3098
3114
|
data: function data() {
|
|
3099
3115
|
return {
|
|
@@ -3102,6 +3118,7 @@ Messagevue_type_template_id_50bf1a6c_render._withStripped = true
|
|
|
3102
3118
|
notificationMsg: undefined //系统消息
|
|
3103
3119
|
},
|
|
3104
3120
|
defaultType: undefined, // 默认值
|
|
3121
|
+
showCheck: false,
|
|
3105
3122
|
newList: [] //消息通知列表
|
|
3106
3123
|
};
|
|
3107
3124
|
},
|
|
@@ -3118,23 +3135,42 @@ Messagevue_type_template_id_50bf1a6c_render._withStripped = true
|
|
|
3118
3135
|
},
|
|
3119
3136
|
// 监听默认消息类型
|
|
3120
3137
|
defaultNotificationType: function defaultNotificationType(val) {
|
|
3121
|
-
|
|
3138
|
+
// console.log(val)
|
|
3139
|
+
// if (val) {
|
|
3140
|
+
// let arr = [];
|
|
3141
|
+
// this.newList.map((item) => {
|
|
3142
|
+
// val.map((x) => {
|
|
3143
|
+
// if (x == item.cciValue) {
|
|
3144
|
+
// arr.push(x);
|
|
3145
|
+
// }
|
|
3146
|
+
// });
|
|
3147
|
+
// });
|
|
3148
|
+
// this.form.notificationType = JSON.parse(JSON.stringify(arr));
|
|
3149
|
+
// // this.$emit('onInputMsg', this.form);
|
|
3150
|
+
// }
|
|
3151
|
+
}
|
|
3152
|
+
},
|
|
3153
|
+
methods: {
|
|
3154
|
+
getNoticeType: function getNoticeType() {
|
|
3155
|
+
var _this2 = this;
|
|
3156
|
+
|
|
3157
|
+
console.log(this.defaultNotificationType, 'defaultNotificationType');
|
|
3158
|
+
if (this.defaultNotificationType) {
|
|
3122
3159
|
var arr = [];
|
|
3123
3160
|
this.newList.map(function (item) {
|
|
3124
|
-
|
|
3161
|
+
_this2.defaultNotificationType.map(function (x) {
|
|
3125
3162
|
if (x == item.cciValue) {
|
|
3126
3163
|
arr.push(x);
|
|
3127
3164
|
}
|
|
3128
3165
|
});
|
|
3129
3166
|
});
|
|
3130
|
-
this.form.notificationType = arr;
|
|
3131
|
-
this
|
|
3167
|
+
this.form.notificationType = JSON.parse(JSON.stringify(arr));
|
|
3168
|
+
this.showCheck = true;
|
|
3169
|
+
// this.$emit('onInputMsg', this.form);
|
|
3132
3170
|
}
|
|
3133
|
-
}
|
|
3134
|
-
},
|
|
3135
|
-
methods: {
|
|
3171
|
+
},
|
|
3136
3172
|
getSysCode: function getSysCode() {
|
|
3137
|
-
var
|
|
3173
|
+
var _this3 = this;
|
|
3138
3174
|
|
|
3139
3175
|
var params = {
|
|
3140
3176
|
url: this.baseUrl ? this.baseUrl + api["c" /* findSysCode */] : api["c" /* findSysCode */],
|
|
@@ -3155,26 +3191,27 @@ Messagevue_type_template_id_50bf1a6c_render._withStripped = true
|
|
|
3155
3191
|
item.name = item['shortName'];
|
|
3156
3192
|
|
|
3157
3193
|
item.value = item['cciValue'];
|
|
3158
|
-
item.disabled =
|
|
3194
|
+
item.disabled = _this3.readOnlyNotificationType.indexOf(item.value) != -1;
|
|
3159
3195
|
});
|
|
3160
|
-
|
|
3161
|
-
if (
|
|
3196
|
+
_this3.newList = data || results;
|
|
3197
|
+
if (_this3.defaultNotificationType && _this3.defaultNotificationType.length > 0) {
|
|
3162
3198
|
var arr = [];
|
|
3163
|
-
|
|
3164
|
-
|
|
3199
|
+
_this3.newList.map(function (item) {
|
|
3200
|
+
_this3.defaultNotificationType.map(function (x) {
|
|
3165
3201
|
if (x == item.cciValue) {
|
|
3166
3202
|
arr.push(x);
|
|
3167
3203
|
}
|
|
3168
3204
|
});
|
|
3169
3205
|
});
|
|
3170
|
-
|
|
3171
|
-
|
|
3206
|
+
_this3.form.notificationType = arr;
|
|
3207
|
+
_this3.showCheck = true;
|
|
3208
|
+
_this3.$emit('onInputMsg', _this3.form);
|
|
3172
3209
|
}
|
|
3173
3210
|
} else {
|
|
3174
|
-
|
|
3211
|
+
_this3.$toast(message);
|
|
3175
3212
|
}
|
|
3176
3213
|
}).catch(function (err) {
|
|
3177
|
-
|
|
3214
|
+
_this3.$toast(err.message);
|
|
3178
3215
|
});
|
|
3179
3216
|
},
|
|
3180
3217
|
onInput: function onInput() {
|
|
@@ -3194,8 +3231,8 @@ Messagevue_type_template_id_50bf1a6c_render._withStripped = true
|
|
|
3194
3231
|
|
|
3195
3232
|
var Message_component = Object(componentNormalizer["a" /* default */])(
|
|
3196
3233
|
components_Messagevue_type_script_lang_js,
|
|
3197
|
-
|
|
3198
|
-
|
|
3234
|
+
Messagevue_type_template_id_3acd8f6c_render,
|
|
3235
|
+
Messagevue_type_template_id_3acd8f6c_staticRenderFns,
|
|
3199
3236
|
false,
|
|
3200
3237
|
null,
|
|
3201
3238
|
null,
|
|
@@ -3566,7 +3603,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
3566
3603
|
duration: 0
|
|
3567
3604
|
});
|
|
3568
3605
|
Object(http["a" /* default */])({
|
|
3569
|
-
url: api["
|
|
3606
|
+
url: api["j" /* getNodeInfoHtml */],
|
|
3570
3607
|
params: {
|
|
3571
3608
|
processDefinitionId: this.processDefinitionId,
|
|
3572
3609
|
nextNodeId: nodeId,
|
|
@@ -3602,7 +3639,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
3602
3639
|
var _this4 = this;
|
|
3603
3640
|
|
|
3604
3641
|
Object(http["a" /* default */])({
|
|
3605
|
-
url: api["
|
|
3642
|
+
url: api["l" /* getPresetCustomInfo */],
|
|
3606
3643
|
params: {
|
|
3607
3644
|
processDefinitionId: this.processDefinitionId,
|
|
3608
3645
|
nodeId: nodeId,
|
|
@@ -3897,6 +3934,7 @@ var StartFlowvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
3897
3934
|
methods: {
|
|
3898
3935
|
goBack: function goBack() {
|
|
3899
3936
|
this.$parent.$emit('close');
|
|
3937
|
+
this.$emit('close');
|
|
3900
3938
|
},
|
|
3901
3939
|
handleChange: function handleChange(val, selectLabel) {
|
|
3902
3940
|
// this[res.label] = res.list;
|
|
@@ -4014,7 +4052,7 @@ var StartFlowvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
4014
4052
|
});
|
|
4015
4053
|
var _that = this;
|
|
4016
4054
|
Object(http["a" /* default */])({
|
|
4017
|
-
url: _that.apiBaseUrl ? _that.apiBaseUrl + api["
|
|
4055
|
+
url: _that.apiBaseUrl ? _that.apiBaseUrl + api["t" /* registerNew */] : api["t" /* registerNew */],
|
|
4018
4056
|
type: 'get',
|
|
4019
4057
|
params: { params: info
|
|
4020
4058
|
// format: false
|
|
@@ -4125,7 +4163,7 @@ var StartFlowvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
4125
4163
|
var that = this;
|
|
4126
4164
|
return new Promise(function (resolve, reiect) {
|
|
4127
4165
|
Object(http["a" /* default */])({
|
|
4128
|
-
url: that.apiBaseUrl ? that.apiBaseUrl + api["
|
|
4166
|
+
url: that.apiBaseUrl ? that.apiBaseUrl + api["E" /* toStartFlow */] : api["E" /* toStartFlow */],
|
|
4129
4167
|
params: {
|
|
4130
4168
|
params: StartFlowvue_type_script_lang_js_extends({}, res, {
|
|
4131
4169
|
userId: that.userId || util["a" /* default */].getStorage('userId')
|
|
@@ -4193,7 +4231,7 @@ var StartFlowvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
4193
4231
|
|
|
4194
4232
|
var _that = this;
|
|
4195
4233
|
Object(http["a" /* default */])({
|
|
4196
|
-
url: _that.apiBaseUrl ? _that.apiBaseUrl + api["
|
|
4234
|
+
url: _that.apiBaseUrl ? _that.apiBaseUrl + api["i" /* getNodeInfo */] : api["i" /* getNodeInfo */],
|
|
4197
4235
|
params: {
|
|
4198
4236
|
params: {
|
|
4199
4237
|
processDefinitionId: this.flowObj.processDefinitionId,
|
|
@@ -4248,8 +4286,8 @@ var StartFlowvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
4248
4286
|
|
|
4249
4287
|
var StartFlow_component = Object(componentNormalizer["a" /* default */])(
|
|
4250
4288
|
components_StartFlowvue_type_script_lang_js,
|
|
4251
|
-
|
|
4252
|
-
|
|
4289
|
+
StartFlowvue_type_template_id_7fafd2b5_render,
|
|
4290
|
+
StartFlowvue_type_template_id_7fafd2b5_staticRenderFns,
|
|
4253
4291
|
false,
|
|
4254
4292
|
null,
|
|
4255
4293
|
null,
|
|
@@ -4258,8 +4296,8 @@ var StartFlow_component = Object(componentNormalizer["a" /* default */])(
|
|
|
4258
4296
|
)
|
|
4259
4297
|
|
|
4260
4298
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
4261
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
4262
|
-
var
|
|
4299
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=d4039ce2
|
|
4300
|
+
var Handlevue_type_template_id_d4039ce2_render = function () {
|
|
4263
4301
|
var _vm = this
|
|
4264
4302
|
var _h = _vm.$createElement
|
|
4265
4303
|
var _c = _vm._self._c || _h
|
|
@@ -4267,7 +4305,23 @@ var Handlevue_type_template_id_558e4276_render = function () {
|
|
|
4267
4305
|
"div",
|
|
4268
4306
|
{ staticClass: "process-handle" },
|
|
4269
4307
|
[
|
|
4270
|
-
_vm.
|
|
4308
|
+
_vm.showFreeStart
|
|
4309
|
+
? _c("StartFlow", {
|
|
4310
|
+
attrs: {
|
|
4311
|
+
defId: _vm.freeStartFlowParams.defId,
|
|
4312
|
+
businessId: _vm.freeStartFlowParams.businessId,
|
|
4313
|
+
freeStartFlowParams: _vm.freeStartFlowParams,
|
|
4314
|
+
taskParams: _vm.taskParams,
|
|
4315
|
+
orgId: _vm.orgId,
|
|
4316
|
+
depId: _vm.depId,
|
|
4317
|
+
},
|
|
4318
|
+
on: {
|
|
4319
|
+
close: function ($event) {
|
|
4320
|
+
_vm.showFreeStart = false
|
|
4321
|
+
},
|
|
4322
|
+
},
|
|
4323
|
+
})
|
|
4324
|
+
: _vm.handleFlow
|
|
4271
4325
|
? _c(
|
|
4272
4326
|
"div",
|
|
4273
4327
|
{
|
|
@@ -4787,6 +4841,8 @@ var Handlevue_type_template_id_558e4276_render = function () {
|
|
|
4787
4841
|
param: {
|
|
4788
4842
|
pid: _vm.orgId,
|
|
4789
4843
|
},
|
|
4844
|
+
disableds:
|
|
4845
|
+
_vm.currentOrgDisabledObjId,
|
|
4790
4846
|
baseUrl: _vm.apiBaseUrl,
|
|
4791
4847
|
isOtherUnit: false,
|
|
4792
4848
|
label: _vm.currentOrgName
|
|
@@ -4832,6 +4888,8 @@ var Handlevue_type_template_id_558e4276_render = function () {
|
|
|
4832
4888
|
},
|
|
4833
4889
|
tabs: "enterprise",
|
|
4834
4890
|
baseUrl: _vm.apiBaseUrl,
|
|
4891
|
+
disableds:
|
|
4892
|
+
_vm.otherOrgDisabledObjId,
|
|
4835
4893
|
isOtherUnit: true,
|
|
4836
4894
|
label: _vm.otherOrgName
|
|
4837
4895
|
? _vm.otherOrgName
|
|
@@ -5363,15 +5421,69 @@ var Handlevue_type_template_id_558e4276_render = function () {
|
|
|
5363
5421
|
},
|
|
5364
5422
|
},
|
|
5365
5423
|
}),
|
|
5424
|
+
_c(
|
|
5425
|
+
"em-popup",
|
|
5426
|
+
{
|
|
5427
|
+
staticClass: "em-flow-popup",
|
|
5428
|
+
model: {
|
|
5429
|
+
value: _vm.showDefList,
|
|
5430
|
+
callback: function ($$v) {
|
|
5431
|
+
_vm.showDefList = $$v
|
|
5432
|
+
},
|
|
5433
|
+
expression: "showDefList",
|
|
5434
|
+
},
|
|
5435
|
+
},
|
|
5436
|
+
[
|
|
5437
|
+
_c("div", { staticClass: "em-flow-popup-box" }, [
|
|
5438
|
+
_c(
|
|
5439
|
+
"div",
|
|
5440
|
+
{ staticClass: "em-flow-popup-box-top" },
|
|
5441
|
+
[
|
|
5442
|
+
_c("div"),
|
|
5443
|
+
_c("span", [_vm._v("发起流程 ")]),
|
|
5444
|
+
_c("van-icon", {
|
|
5445
|
+
attrs: { name: "cross" },
|
|
5446
|
+
on: {
|
|
5447
|
+
click: function ($event) {
|
|
5448
|
+
_vm.showDefList = false
|
|
5449
|
+
},
|
|
5450
|
+
},
|
|
5451
|
+
}),
|
|
5452
|
+
],
|
|
5453
|
+
1
|
|
5454
|
+
),
|
|
5455
|
+
_c(
|
|
5456
|
+
"div",
|
|
5457
|
+
{ staticClass: "em-flow-popup-box-content" },
|
|
5458
|
+
_vm._l(_vm.flowDefList, function (item) {
|
|
5459
|
+
return _c(
|
|
5460
|
+
"div",
|
|
5461
|
+
{
|
|
5462
|
+
key: item.defId,
|
|
5463
|
+
staticClass: "em-flow-popup-box-item",
|
|
5464
|
+
on: {
|
|
5465
|
+
click: function ($event) {
|
|
5466
|
+
_vm.handleClickDefList(item)
|
|
5467
|
+
},
|
|
5468
|
+
},
|
|
5469
|
+
},
|
|
5470
|
+
[_vm._v("\n " + _vm._s(item.defName) + "\n ")]
|
|
5471
|
+
)
|
|
5472
|
+
}),
|
|
5473
|
+
0
|
|
5474
|
+
),
|
|
5475
|
+
]),
|
|
5476
|
+
]
|
|
5477
|
+
),
|
|
5366
5478
|
],
|
|
5367
5479
|
1
|
|
5368
5480
|
)
|
|
5369
5481
|
}
|
|
5370
|
-
var
|
|
5371
|
-
|
|
5482
|
+
var Handlevue_type_template_id_d4039ce2_staticRenderFns = []
|
|
5483
|
+
Handlevue_type_template_id_d4039ce2_render._withStripped = true
|
|
5372
5484
|
|
|
5373
5485
|
|
|
5374
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
5486
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=d4039ce2
|
|
5375
5487
|
|
|
5376
5488
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Reject.vue?vue&type=template&id=46f10c43
|
|
5377
5489
|
var Rejectvue_type_template_id_46f10c43_render = function () {
|
|
@@ -5654,7 +5766,7 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
5654
5766
|
});
|
|
5655
5767
|
var _that = this;
|
|
5656
5768
|
Object(http["a" /* default */])({
|
|
5657
|
-
url: _that.baseUrl ? _that.baseUrl + api["
|
|
5769
|
+
url: _that.baseUrl ? _that.baseUrl + api["y" /* taskRejectHtml */] : api["y" /* taskRejectHtml */],
|
|
5658
5770
|
type: 'post',
|
|
5659
5771
|
params: this.form.isImageOpinion == 1 ? formData : this.form,
|
|
5660
5772
|
format: false
|
|
@@ -5690,7 +5802,7 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
5690
5802
|
duration: 0
|
|
5691
5803
|
});
|
|
5692
5804
|
Object(http["a" /* default */])({
|
|
5693
|
-
url: _that.baseUrl ? _that.baseUrl + api["
|
|
5805
|
+
url: _that.baseUrl ? _that.baseUrl + api["G" /* toTaskRejectHtml */] : api["G" /* toTaskRejectHtml */],
|
|
5694
5806
|
params: {
|
|
5695
5807
|
pendingId: this.pendingId,
|
|
5696
5808
|
isSinglePage: false,
|
|
@@ -5789,7 +5901,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
|
|
|
5789
5901
|
duration: 0
|
|
5790
5902
|
});
|
|
5791
5903
|
Object(http["a" /* default */])({
|
|
5792
|
-
url: _that.baseUrl ? _that.baseUrl + api["
|
|
5904
|
+
url: _that.baseUrl ? _that.baseUrl + api["G" /* toTaskRejectHtml */] : api["G" /* toTaskRejectHtml */],
|
|
5793
5905
|
params: {
|
|
5794
5906
|
appid: this.appid,
|
|
5795
5907
|
pendingId: this.pendingId,
|
|
@@ -5833,7 +5945,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
|
|
|
5833
5945
|
var that = this;
|
|
5834
5946
|
return new Promise(function (resolve, reiect) {
|
|
5835
5947
|
Object(http["a" /* default */])({
|
|
5836
|
-
url: that.baseUrl ? that.baseUrl + api["
|
|
5948
|
+
url: that.baseUrl ? that.baseUrl + api["h" /* getHandleInfoHtml */] : api["h" /* getHandleInfoHtml */],
|
|
5837
5949
|
params: {
|
|
5838
5950
|
pendingId: that.pendingId,
|
|
5839
5951
|
identityIds: that.identityIds
|
|
@@ -5929,7 +6041,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
|
|
|
5929
6041
|
|
|
5930
6042
|
var _that = this;
|
|
5931
6043
|
var params = {
|
|
5932
|
-
url: _that.baseUrl ? _that.baseUrl + api["
|
|
6044
|
+
url: _that.baseUrl ? _that.baseUrl + api["p" /* handleTaskRead */] : api["p" /* handleTaskRead */],
|
|
5933
6045
|
params: {
|
|
5934
6046
|
pendingId: this.pendingId,
|
|
5935
6047
|
businessId: this.businessId,
|
|
@@ -5975,7 +6087,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
|
|
|
5975
6087
|
ids = ids + r.showid + (i === _this3.nextReadUserSelectList.length - 1 ? '' : ',');
|
|
5976
6088
|
});
|
|
5977
6089
|
var params = {
|
|
5978
|
-
url: _that.baseUrl ? _that.baseUrl + api["
|
|
6090
|
+
url: _that.baseUrl ? _that.baseUrl + api["x" /* taskReadHtml */] : api["x" /* taskReadHtml */],
|
|
5979
6091
|
params: {
|
|
5980
6092
|
pendingId: this.pendingId,
|
|
5981
6093
|
appId: this.appid,
|
|
@@ -6014,7 +6126,7 @@ var Reject_component = Object(componentNormalizer["a" /* default */])(
|
|
|
6014
6126
|
|
|
6015
6127
|
var _that = this;
|
|
6016
6128
|
Object(http["a" /* default */])({
|
|
6017
|
-
url: _that.baseUrl ? _that.baseUrl + api["
|
|
6129
|
+
url: _that.baseUrl ? _that.baseUrl + api["F" /* toStartTaskReadHtml */] : api["F" /* toStartTaskReadHtml */],
|
|
6018
6130
|
params: {
|
|
6019
6131
|
appId: this.appid,
|
|
6020
6132
|
pendingId: this.pendingId,
|
|
@@ -6505,6 +6617,38 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6505
6617
|
//
|
|
6506
6618
|
//
|
|
6507
6619
|
//
|
|
6620
|
+
//
|
|
6621
|
+
//
|
|
6622
|
+
//
|
|
6623
|
+
//
|
|
6624
|
+
//
|
|
6625
|
+
//
|
|
6626
|
+
//
|
|
6627
|
+
//
|
|
6628
|
+
//
|
|
6629
|
+
//
|
|
6630
|
+
//
|
|
6631
|
+
//
|
|
6632
|
+
//
|
|
6633
|
+
//
|
|
6634
|
+
//
|
|
6635
|
+
//
|
|
6636
|
+
//
|
|
6637
|
+
//
|
|
6638
|
+
//
|
|
6639
|
+
//
|
|
6640
|
+
//
|
|
6641
|
+
//
|
|
6642
|
+
//
|
|
6643
|
+
//
|
|
6644
|
+
//
|
|
6645
|
+
//
|
|
6646
|
+
//
|
|
6647
|
+
//
|
|
6648
|
+
//
|
|
6649
|
+
//
|
|
6650
|
+
//
|
|
6651
|
+
|
|
6508
6652
|
|
|
6509
6653
|
|
|
6510
6654
|
|
|
@@ -6521,7 +6665,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6521
6665
|
Opinion: Opinion,
|
|
6522
6666
|
Reject: Reject,
|
|
6523
6667
|
ProcessSetting: ProcessSettings,
|
|
6524
|
-
Message: Message
|
|
6668
|
+
Message: Message,
|
|
6669
|
+
StartFlow: StartFlow
|
|
6525
6670
|
},
|
|
6526
6671
|
mixins: [flowMix],
|
|
6527
6672
|
props: {
|
|
@@ -6533,6 +6678,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6533
6678
|
baseUrl: String,
|
|
6534
6679
|
apiBaseUrl: String,
|
|
6535
6680
|
typeCode: String,
|
|
6681
|
+
type: String,
|
|
6536
6682
|
paddingTop: {
|
|
6537
6683
|
type: [String, Number],
|
|
6538
6684
|
default: 0
|
|
@@ -6559,12 +6705,20 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6559
6705
|
|
|
6560
6706
|
return _ref = {
|
|
6561
6707
|
AddSignList: [{ name: '前置加签', value: 'preAddSign' }, { name: '后置加签', value: 'postAddSign' }],
|
|
6708
|
+
otherOrgDisabledObjId: [],
|
|
6709
|
+
currentOrgDisabledObjId: [],
|
|
6562
6710
|
nextNodeDefault: 0,
|
|
6711
|
+
showDefList: false,
|
|
6563
6712
|
readOnlyNotificationType: '',
|
|
6564
6713
|
notificationMessageReadOnly: false,
|
|
6714
|
+
freeStartFlowParams: {}, //自由发起流程参数
|
|
6715
|
+
taskParams: {},
|
|
6565
6716
|
isCanPreAddSign: false,
|
|
6566
6717
|
showAppUnit: false, // 弹窗单位
|
|
6567
6718
|
handleFlow: true,
|
|
6719
|
+
freeValid: true,
|
|
6720
|
+
showFreeStart: false,
|
|
6721
|
+
freeStartInfo: {},
|
|
6568
6722
|
isReject: false,
|
|
6569
6723
|
opinionHandleExplainText: undefined,
|
|
6570
6724
|
isCurrentNodeForbiddenChangeCandidate: 0,
|
|
@@ -6627,7 +6781,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6627
6781
|
advanceNoticeType: [] //催办通知方式
|
|
6628
6782
|
},
|
|
6629
6783
|
isCanFenyue: '0'
|
|
6630
|
-
}, _ref['isChooseNextNode'] = 1, _ref.isOpinionRequired = 0, _ref.isBanInputOpinion = 0, _ref.showTimeList = false, _ref.timeList = [], _ref.nextUserList = [], _ref.nextCurrentOrgObjSelect = [], _ref.nextOtherOrgObjSelect = [], _ref.nextReadUserSelectList = [], _ref.addSignUserSelectList = [], _ref.removeSignUserSelectList = [], _ref.nextUserSelectList = [], _ref.showAppUser = false, _ref.showNextOperate = false, _ref.showNextNodeList = false, _ref.nodeList = [], _ref.selectList = [], _ref.opinionList = [], _ref.processObj = { taskExamine: { nodeName: undefined } }, _ref.peopleObj = {}, _ref.userInfo = {}, _ref.isCanAddSign = false, _ref.isCanRemoveSign = false, _ref.isSpecial = true, _ref.taskOperations = [], _ref.countersignaturetypeCode = false, _ref.countersignaturetypeText = undefined, _ref.isCustomPreset = false, _ref.isHideCurrentOrg = false, _ref.isHideOtherOrg = false, _ref.isHandleExplain = false, _ref.isTaskread = false, _ref.defaultNotificationType = undefined, _ref.selectUnitType = 'department', _ref.isHiddenNextStepInfo = false, _ref.presetEdit = true, _ref.isLimitedTimeHandling = false, _ref.userSelectionType = undefined, _ref.orgSelectionType = undefined, _ref.notificationType = undefined, _ref.nodeType = undefined, _ref.deptRoleCode = undefined, _ref.orgRoleCode = undefined, _ref.appointNotUserIds = undefined, _ref.handleRoleId = undefined, _ref.nextRole = undefined, _ref.filterCandinateIds = undefined, _ref.selectorDefShowDeptId = undefined, _ref.isRadio = true, _ref.otherOrgName = undefined, _ref.currentOrgName = undefined, _ref.isMainSubProcess = false, _ref.isNextUser = false, _ref.isDealObject = false, _ref.isDealRole = false, _ref.nextUserflag = false, _ref.isSubmitButtonShowAgreeAndDisagree = 0, _ref.isCustomUserClick = false, _ref.timeListLable = undefined, _ref.nodeDefaultSubmitOpinion = undefined, _ref.isCustomUser = 0, _ref.choiceOrgId = '', _ref.choiceDeptId = '', _ref.taskExamineInfo = {}, _ref.nodeInfoMapInfo = {}, _ref.file = '', _ref.isEndUserTask = '', _ref.tagKey = '', _ref.pOrgId = '', _ref.customPresetHintMessage = '', _ref.needRetrialAuth = false, _ref;
|
|
6784
|
+
}, _ref['isChooseNextNode'] = 1, _ref.isOpinionRequired = 0, _ref.isBanInputOpinion = 0, _ref.showTimeList = false, _ref.timeList = [], _ref.nextUserList = [], _ref.nextCurrentOrgObjSelect = [], _ref.nextOtherOrgObjSelect = [], _ref.nextReadUserSelectList = [], _ref.addSignUserSelectList = [], _ref.removeSignUserSelectList = [], _ref.nextUserSelectList = [], _ref.showAppUser = false, _ref.showNextOperate = false, _ref.showNextNodeList = false, _ref.nodeList = [], _ref.selectList = [], _ref.opinionList = [], _ref.processObj = { taskExamine: { nodeName: undefined } }, _ref.peopleObj = {}, _ref.userInfo = {}, _ref.isCanAddSign = false, _ref.isCanRemoveSign = false, _ref.isSpecial = true, _ref.taskOperations = [], _ref.countersignaturetypeCode = false, _ref.countersignaturetypeText = undefined, _ref.isCustomPreset = false, _ref.isHideCurrentOrg = false, _ref.isHideOtherOrg = false, _ref.isHandleExplain = false, _ref.isTaskread = false, _ref.defaultNotificationType = undefined, _ref.selectUnitType = 'department', _ref.isHiddenNextStepInfo = false, _ref.presetEdit = true, _ref.isLimitedTimeHandling = false, _ref.userSelectionType = undefined, _ref.orgSelectionType = undefined, _ref.notificationType = undefined, _ref.nodeType = undefined, _ref.deptRoleCode = undefined, _ref.orgRoleCode = undefined, _ref.appointNotUserIds = undefined, _ref.handleRoleId = undefined, _ref.nextRole = undefined, _ref.filterCandinateIds = undefined, _ref.selectorDefShowDeptId = undefined, _ref.isRadio = true, _ref.otherOrgName = undefined, _ref.currentOrgName = undefined, _ref.isMainSubProcess = false, _ref.isNextUser = false, _ref.isDealObject = false, _ref.isDealRole = false, _ref.nextUserflag = false, _ref.isSubmitButtonShowAgreeAndDisagree = 0, _ref.isCustomUserClick = false, _ref.timeListLable = undefined, _ref.nodeDefaultSubmitOpinion = undefined, _ref.isCustomUser = 0, _ref.choiceOrgId = '', _ref.choiceDeptId = '', _ref.taskExamineInfo = {}, _ref.nodeInfoMapInfo = {}, _ref.flowDefList = [], _ref.file = '', _ref.isEndUserTask = '', _ref.tagKey = '', _ref.pOrgId = '', _ref.customPresetHintMessage = '', _ref.needRetrialAuth = false, _ref;
|
|
6631
6785
|
},
|
|
6632
6786
|
created: function created() {
|
|
6633
6787
|
var _this2 = this;
|
|
@@ -6686,6 +6840,71 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6686
6840
|
}
|
|
6687
6841
|
},
|
|
6688
6842
|
methods: {
|
|
6843
|
+
handleClickDefList: function handleClickDefList(info) {
|
|
6844
|
+
this.freeStartFlowParams.defId = info.defId;
|
|
6845
|
+
this.showFreeStart = true;
|
|
6846
|
+
},
|
|
6847
|
+
getFlowDefList: function getFlowDefList() {
|
|
6848
|
+
var _this3 = this;
|
|
6849
|
+
|
|
6850
|
+
var params = {
|
|
6851
|
+
url: api["m" /* getProcessDefList */],
|
|
6852
|
+
params: {
|
|
6853
|
+
flowTypeCode: this.freeStartFlowParams.defaultProcessKey,
|
|
6854
|
+
onlyFlag: false
|
|
6855
|
+
}
|
|
6856
|
+
};
|
|
6857
|
+
Object(http["a" /* default */])(params).then(function (res) {
|
|
6858
|
+
if (res.rCode == 0) {
|
|
6859
|
+
_this3.flowDefList = res.results;
|
|
6860
|
+
_this3.showDefList = true;
|
|
6861
|
+
}
|
|
6862
|
+
});
|
|
6863
|
+
},
|
|
6864
|
+
getFreeStartParams: function getFreeStartParams() {
|
|
6865
|
+
var _this4 = this;
|
|
6866
|
+
|
|
6867
|
+
var _taskExamineInfo = this.taskExamineInfo,
|
|
6868
|
+
businessId = _taskExamineInfo.businessId,
|
|
6869
|
+
processDefinitionId = _taskExamineInfo.processDefinitionId,
|
|
6870
|
+
nodeId = _taskExamineInfo.nodeId;
|
|
6871
|
+
|
|
6872
|
+
var param = {
|
|
6873
|
+
url: api["f" /* getFreeStartFlowParams */],
|
|
6874
|
+
params: {
|
|
6875
|
+
businessId: businessId,
|
|
6876
|
+
processDefinitionId: processDefinitionId,
|
|
6877
|
+
nodeId: nodeId
|
|
6878
|
+
}
|
|
6879
|
+
};
|
|
6880
|
+
this.$toast.loading({
|
|
6881
|
+
message: '加载中...',
|
|
6882
|
+
forbidClick: true,
|
|
6883
|
+
loadingType: 'spinner',
|
|
6884
|
+
overlay: true,
|
|
6885
|
+
duration: 0
|
|
6886
|
+
});
|
|
6887
|
+
Object(http["a" /* default */])(param).then(function (res) {
|
|
6888
|
+
_this4.$toast.clear();
|
|
6889
|
+
if (res.rCode == 0 || res.status == 'success') {
|
|
6890
|
+
_this4.freeStartFlowParams = res.results;
|
|
6891
|
+
if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this4.onSubmit(res.results.useScene);
|
|
6892
|
+
if (!_this4.freeValid) return;
|
|
6893
|
+
if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this4.$toast('未找到流程定义!');
|
|
6894
|
+
if (res.results.startFlowIndexProcessKeys.length == 1) {
|
|
6895
|
+
_this4.freeStartFlowParams.defId = res.results.startFlowIndexProcessKeys[0];
|
|
6896
|
+
_this4.freeStartFlowParams.businessId = res.results.startFlowBusinessId;
|
|
6897
|
+
_this4.showFreeStart = true;
|
|
6898
|
+
} else {
|
|
6899
|
+
_this4.getFlowDefList();
|
|
6900
|
+
// this.showFreeStartFlow = true;
|
|
6901
|
+
}
|
|
6902
|
+
} else {
|
|
6903
|
+
_this4.$toast(res.message || '系统错误,请联系管理员!');
|
|
6904
|
+
}
|
|
6905
|
+
});
|
|
6906
|
+
},
|
|
6907
|
+
|
|
6689
6908
|
//限时办理时间确认
|
|
6690
6909
|
onConfirmTimeList: function onConfirmTimeList(val) {
|
|
6691
6910
|
this.form[this.timeListLable] = val;
|
|
@@ -6716,13 +6935,13 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6716
6935
|
this.$parent.$emit('close');
|
|
6717
6936
|
},
|
|
6718
6937
|
subRead: function subRead() {
|
|
6719
|
-
var
|
|
6938
|
+
var _this5 = this;
|
|
6720
6939
|
|
|
6721
|
-
var
|
|
6722
|
-
businessId =
|
|
6723
|
-
appId =
|
|
6724
|
-
processDefinitionId =
|
|
6725
|
-
pendingId =
|
|
6940
|
+
var _taskExamineInfo2 = this.taskExamineInfo,
|
|
6941
|
+
businessId = _taskExamineInfo2.businessId,
|
|
6942
|
+
appId = _taskExamineInfo2.appId,
|
|
6943
|
+
processDefinitionId = _taskExamineInfo2.processDefinitionId,
|
|
6944
|
+
pendingId = _taskExamineInfo2.pendingId;
|
|
6726
6945
|
|
|
6727
6946
|
if (this.taskReadOpinionRequired == 'true' && !this.form.opinion) return this.$toast('分阅阅结必须输入意见!');
|
|
6728
6947
|
var params = {
|
|
@@ -6752,7 +6971,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6752
6971
|
duration: 0
|
|
6753
6972
|
});
|
|
6754
6973
|
Object(http["a" /* default */])({
|
|
6755
|
-
url: this.baseUrl ? this.baseUrl + api["
|
|
6974
|
+
url: this.baseUrl ? this.baseUrl + api["x" /* taskReadHtml */] : api["x" /* taskReadHtml */],
|
|
6756
6975
|
headers: {
|
|
6757
6976
|
Accept: 'application/json,text/plain'
|
|
6758
6977
|
},
|
|
@@ -6763,32 +6982,33 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6763
6982
|
var status = res.status,
|
|
6764
6983
|
message = res.message;
|
|
6765
6984
|
|
|
6766
|
-
|
|
6985
|
+
_this5.$toast.clear();
|
|
6767
6986
|
if (status === 'success') {
|
|
6768
|
-
|
|
6769
|
-
|
|
6987
|
+
_this5.$toast.success('提交成功');
|
|
6988
|
+
_this5.$parent.$emit('success');
|
|
6770
6989
|
} else {
|
|
6771
|
-
|
|
6990
|
+
_this5.$toast(message || '系统错误,请联系管理员!');
|
|
6772
6991
|
setTimeout(function () {
|
|
6773
|
-
|
|
6992
|
+
_this5.$parent.$emit('error');
|
|
6774
6993
|
}, 1000);
|
|
6775
6994
|
}
|
|
6776
6995
|
}).catch(function (err) {
|
|
6777
|
-
|
|
6996
|
+
_this5.loading.close();
|
|
6778
6997
|
if (err.message && err.message !== 'canceled') {
|
|
6779
|
-
|
|
6998
|
+
_this5.$toast(err.message);
|
|
6780
6999
|
}
|
|
6781
7000
|
});
|
|
6782
7001
|
},
|
|
6783
7002
|
|
|
6784
7003
|
// 提交流程
|
|
6785
|
-
onSubmit: function onSubmit() {
|
|
6786
|
-
var
|
|
7004
|
+
onSubmit: function onSubmit(typeVal) {
|
|
7005
|
+
var _this6 = this;
|
|
6787
7006
|
|
|
6788
7007
|
if (this.typeCode == 'fenyue') return this.subRead();
|
|
7008
|
+
if (this.type == 'freeStart' && !typeVal) return this.getFreeStartParams();
|
|
6789
7009
|
var idStr = '';
|
|
6790
7010
|
this.nextUserSelectList.map(function (r, i) {
|
|
6791
|
-
idStr = idStr + r.showid + (i ===
|
|
7011
|
+
idStr = idStr + r.showid + (i === _this6.nextUserSelectList.length - 1 ? '' : ',');
|
|
6792
7012
|
});
|
|
6793
7013
|
this.form.nextUserId = idStr;
|
|
6794
7014
|
if (!this.form.opinion && this.isOpinionRequired == 1 && !this.nodeDefaultSubmitOpinion && this.form.isImageOpinion == 0 || !this.file && this.isOpinionRequired == 1 && !this.nodeDefaultSubmitOpinion && this.form.isImageOpinion == 1) {
|
|
@@ -6851,9 +7071,16 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6851
7071
|
this.form.processDefinitionId = this.processObj.taskExamine.processDefinitionId;
|
|
6852
7072
|
}
|
|
6853
7073
|
if (this.beforeSubmit) {
|
|
6854
|
-
this.beforeSubmit(Handlevue_type_script_lang_js_extends({ pendingId: this.pendingId }, this.form))
|
|
7074
|
+
this.beforeSubmit(Handlevue_type_script_lang_js_extends({ pendingId: this.pendingId }, this.form)).then(function (res) {
|
|
7075
|
+
_this6.sendData(typeVal);
|
|
7076
|
+
});
|
|
6855
7077
|
return;
|
|
6856
7078
|
}
|
|
7079
|
+
this.sendData(typeVal);
|
|
7080
|
+
},
|
|
7081
|
+
sendData: function sendData(typeVal) {
|
|
7082
|
+
var _this7 = this;
|
|
7083
|
+
|
|
6857
7084
|
if (this.isMainSubProcess && Handlevue_type_script_lang_js_typeof(this.form.mainSubId) == 'object') {
|
|
6858
7085
|
this.form.mainSubId = this.form.mainSubId.value;
|
|
6859
7086
|
}
|
|
@@ -6869,13 +7096,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6869
7096
|
delete this.form.presetUserJson;
|
|
6870
7097
|
}
|
|
6871
7098
|
}
|
|
6872
|
-
|
|
6873
|
-
message: '加载中...',
|
|
6874
|
-
forbidClick: true,
|
|
6875
|
-
loadingType: 'spinner',
|
|
6876
|
-
overlay: true,
|
|
6877
|
-
duration: 0
|
|
6878
|
-
});
|
|
7099
|
+
|
|
6879
7100
|
var _that = this;
|
|
6880
7101
|
var isEndUserTask = this.isEndUserTask,
|
|
6881
7102
|
choiceOrgId = this.choiceOrgId,
|
|
@@ -6912,28 +7133,39 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6912
7133
|
formData.append(key, _that.form[key]);
|
|
6913
7134
|
}
|
|
6914
7135
|
}
|
|
7136
|
+
if (typeVal) {
|
|
7137
|
+
_that.taskParams = _that.form;
|
|
7138
|
+
return;
|
|
7139
|
+
}
|
|
7140
|
+
this.$toast.loading({
|
|
7141
|
+
message: '加载中...',
|
|
7142
|
+
forbidClick: true,
|
|
7143
|
+
loadingType: 'spinner',
|
|
7144
|
+
overlay: true,
|
|
7145
|
+
duration: 0
|
|
7146
|
+
});
|
|
6915
7147
|
Object(http["a" /* default */])({
|
|
6916
|
-
url: _that.baseUrl ? _that.baseUrl + (_that.form.isImageOpinion == 1 ? api["
|
|
7148
|
+
url: _that.baseUrl ? _that.baseUrl + (_that.form.isImageOpinion == 1 ? api["w" /* taskHandleHtmlImg */] : api["v" /* taskHandleHtml */]) : _that.form.isImageOpinion == 1 ? api["w" /* taskHandleHtmlImg */] : api["v" /* taskHandleHtml */],
|
|
6917
7149
|
type: 'post',
|
|
6918
7150
|
params: formData,
|
|
6919
7151
|
format: false
|
|
6920
7152
|
}).then(function (res) {
|
|
6921
|
-
|
|
7153
|
+
_this7.$toast.clear();
|
|
6922
7154
|
if (res.status == 'success' || res.status == 'readDealBackProcessing') {
|
|
6923
7155
|
if (res.status == 'readDealBackProcessing') {
|
|
6924
|
-
|
|
7156
|
+
_this7.$toast('由于阅办人数较多,任务后台执行中,稍后系统将为您推送阅办任务执行结果,请注意查收!');
|
|
6925
7157
|
setTimeout(function () {
|
|
6926
|
-
|
|
6927
|
-
|
|
7158
|
+
_this7.$toast.clear();
|
|
7159
|
+
_this7.$parent.$emit('success');
|
|
6928
7160
|
}, 1500);
|
|
6929
7161
|
} else {
|
|
6930
|
-
|
|
6931
|
-
|
|
7162
|
+
_this7.$toast('操作成功');
|
|
7163
|
+
_this7.$parent.$emit('success');
|
|
6932
7164
|
}
|
|
6933
7165
|
} else {
|
|
6934
|
-
|
|
7166
|
+
_this7.$toast(res.message);
|
|
6935
7167
|
setTimeout(function () {
|
|
6936
|
-
|
|
7168
|
+
_this7.$parent.$emit('error');
|
|
6937
7169
|
}, 1000);
|
|
6938
7170
|
}
|
|
6939
7171
|
});
|
|
@@ -7150,7 +7382,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
7150
7382
|
var that = this;
|
|
7151
7383
|
return new Promise(function (resolve, reiect) {
|
|
7152
7384
|
Object(http["a" /* default */])({
|
|
7153
|
-
url: that.baseUrl ? that.baseUrl + api["
|
|
7385
|
+
url: that.baseUrl ? that.baseUrl + api["h" /* getHandleInfoHtml */] : api["h" /* getHandleInfoHtml */],
|
|
7154
7386
|
params: {
|
|
7155
7387
|
pendingId: that.pendingId,
|
|
7156
7388
|
userId: that.userId
|
|
@@ -7324,10 +7556,10 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
7324
7556
|
});
|
|
7325
7557
|
},
|
|
7326
7558
|
getToStartTaskReadIndex: function getToStartTaskReadIndex() {
|
|
7327
|
-
var
|
|
7559
|
+
var _this8 = this;
|
|
7328
7560
|
|
|
7329
7561
|
Object(http["a" /* default */])({
|
|
7330
|
-
url: this.baseUrl ? this.baseUrl + api["
|
|
7562
|
+
url: this.baseUrl ? this.baseUrl + api["F" /* toStartTaskReadHtml */] : api["F" /* toStartTaskReadHtml */],
|
|
7331
7563
|
params: { pendingId: this.pendingId, userId: this.userId }
|
|
7332
7564
|
}).then(function (res) {
|
|
7333
7565
|
var status = res.status,
|
|
@@ -7338,31 +7570,31 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
7338
7570
|
taskReadOpinionRequired = _res$data2.taskReadOpinionRequired;
|
|
7339
7571
|
|
|
7340
7572
|
if (status === 'success') {
|
|
7341
|
-
|
|
7342
|
-
|
|
7343
|
-
|
|
7573
|
+
_this8.taskExamineInfo = taskExamine;
|
|
7574
|
+
_this8.isCanFenyue = isCanFenyue;
|
|
7575
|
+
_this8.taskReadOpinionRequired = taskReadOpinionRequired;
|
|
7344
7576
|
// if (this.nodeName) {
|
|
7345
|
-
|
|
7577
|
+
_this8.processObj.taskExamine.nodeName = '分阅';
|
|
7346
7578
|
// }
|
|
7347
7579
|
} else {
|
|
7348
|
-
|
|
7580
|
+
_this8.$toast(message || '系统错误,请联系管理员!');
|
|
7349
7581
|
}
|
|
7350
|
-
|
|
7582
|
+
_this8.$toast.clear();
|
|
7351
7583
|
}).catch(function (err) {
|
|
7352
|
-
|
|
7584
|
+
_this8.$toast.clear();
|
|
7353
7585
|
if (err.message && err.message !== 'canceled') {
|
|
7354
|
-
|
|
7586
|
+
_this8.$toast(err.message);
|
|
7355
7587
|
}
|
|
7356
7588
|
});
|
|
7357
7589
|
},
|
|
7358
7590
|
|
|
7359
7591
|
// 获取节点信息(获取节点属性及办理人)
|
|
7360
7592
|
getNodeObj: function getNodeObj(res) {
|
|
7361
|
-
var
|
|
7593
|
+
var _this9 = this;
|
|
7362
7594
|
|
|
7363
7595
|
var _that = this;
|
|
7364
7596
|
Object(http["a" /* default */])({
|
|
7365
|
-
url: _that.baseUrl ? _that.baseUrl + api["
|
|
7597
|
+
url: _that.baseUrl ? _that.baseUrl + api["j" /* getNodeInfoHtml */] : api["j" /* getNodeInfoHtml */],
|
|
7366
7598
|
params: {
|
|
7367
7599
|
processDefinitionId: this.processObj.taskExamine.processDefinitionId,
|
|
7368
7600
|
nextNodeId: res,
|
|
@@ -7372,85 +7604,87 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
7372
7604
|
userId: _that.userId
|
|
7373
7605
|
}
|
|
7374
7606
|
}).then(function (res) {
|
|
7375
|
-
|
|
7607
|
+
_this9.$toast.clear();
|
|
7376
7608
|
if (res.status == 'success') {
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7609
|
+
res.data.otherOrgDisabledObjId && (_this9.otherOrgDisabledObjId = res.data.otherOrgDisabledObjId.split(','));
|
|
7610
|
+
res.data.currentOrgDisabledObjId && (_this9.currentOrgDisabledObjId = res.data.currentOrgDisabledObjId.split(','));
|
|
7611
|
+
_this9.appointNotUserIds = res.data.appointNotUserIds;
|
|
7612
|
+
_this9.handleRoleId = res.data.handleRoleId;
|
|
7613
|
+
_this9.nextRole = res.data.nextRole;
|
|
7614
|
+
_this9.filterCandinateIds = res.data.nodeExtAttr.filterCandinateIds;
|
|
7615
|
+
_this9.selectorDefShowDeptId = res.data.nodeExtAttr.selectorDefShowDeptId;
|
|
7616
|
+
_this9.userSelectionType = res.data.nodeExtAttr.userSelectionType;
|
|
7383
7617
|
// this.changePidObjtype();
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7618
|
+
_this9.orgSelectionType = res.data.nodeExtAttr.orgSelectionType;
|
|
7619
|
+
_this9.notificationType = res.data.nodeExtAttr.notificationType;
|
|
7620
|
+
_this9.nodeType = res.data.nodeExtAttr.nodeType;
|
|
7621
|
+
_this9.deptRoleCode = res.data.nodeExtAttr.deptRoleCode;
|
|
7622
|
+
_this9.orgRoleCode = res.data.nodeExtAttr.orgRoleCode;
|
|
7623
|
+
_this9.isCustomUser = res.data.nodeExtAttr.isCustomUser;
|
|
7624
|
+
_this9.presetEdit = res.data.nodeExtAttr.presetEdit;
|
|
7625
|
+
_this9.isLimitedTimeHandling = res.data.nodeExtAttr.isLimitedTimeHandling;
|
|
7626
|
+
_this9.peopleObj = res.data.nodeExtAttr;
|
|
7627
|
+
_this9.nextUserList = res.data.nextUserList.filter(function (x) {
|
|
7394
7628
|
return x.userId && x.username;
|
|
7395
7629
|
});
|
|
7396
|
-
var _this =
|
|
7397
|
-
|
|
7630
|
+
var _this = _this9;
|
|
7631
|
+
_this9.nextUserList.map(function (r) {
|
|
7398
7632
|
_this.$set(r, 'checked', false);
|
|
7399
7633
|
});
|
|
7400
7634
|
|
|
7401
|
-
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7635
|
+
_this9.isHandleExplain = res.data.nodeExtAttr.isHandleExplain == 1 ? true : false; //判断是否隐藏办理说明
|
|
7636
|
+
_this9.isCustomUserClick = res.data.nodeExtAttr.isCustomUser == 1 ? true : false; // 判断办理人是否可点击显示弹框
|
|
7637
|
+
_this9.isTaskread = res.data.nodeExtAttr.isTaskread == 1 ? true : false; // 判断是否显示分阅
|
|
7638
|
+
_this9.countersignaturetypeCode = res.data.countersignaturetypeCode !== 0 ? true : false; //判断是否隐藏处理方式
|
|
7639
|
+
_this9.countersignaturetypeText = res.data.countersignaturetypeText;
|
|
7406
7640
|
//如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
|
|
7407
|
-
if (
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7641
|
+
if (_this9.nodeType === 1 || _this9.nodeType === 2) {
|
|
7642
|
+
_this9.isMainSubProcess === true ? _this9.isNodeShowProcess = true : _this9.isNodeShowProcess = false;
|
|
7643
|
+
_this9.isMainSubProcess === true ? _this9.isMainSubProcess = true : _this9.isMainSubProcess = false;
|
|
7644
|
+
_this9.isNextUser = false;
|
|
7645
|
+
_this9.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
|
|
7646
|
+
_this9.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
|
|
7413
7647
|
} else {
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
|
|
7648
|
+
_this9.isHideCurrentOrg = false;
|
|
7649
|
+
_this9.isHideOtherOrg = false;
|
|
7650
|
+
_this9.isMainSubProcess = false;
|
|
7651
|
+
_this9.isNodeShowProcess = false;
|
|
7652
|
+
_this9.isNextUser = true;
|
|
7419
7653
|
// this.isMainSubProcess === true
|
|
7420
7654
|
// ? (this.isMainSubProcess = true)
|
|
7421
7655
|
// : (this.isMainSubProcess = false);
|
|
7422
7656
|
}
|
|
7423
7657
|
// userSelectionType 机构内单选人1,机构内多选人2,所有机构单选人3,所有部门多选人4,本部门单选人5,本部门多选人6,本单位单选部门7,本单位多选部门8,单选单位9,多选单位10,单选机构11,多选机构12,本部门角色13,本单位角色14
|
|
7424
|
-
|
|
7658
|
+
_this9.userSelectionType == 2 || _this9.userSelectionType == 4 || _this9.userSelectionType == 6 || _this9.userSelectionType == 8 || _this9.userSelectionType == 10 || _this9.userSelectionType == 11 || _this9.userSelectionType == 12 ? _this9.isRadio = false : _this9.isRadio = true; //判断办理人单选多选
|
|
7425
7659
|
|
|
7426
|
-
if (
|
|
7427
|
-
|
|
7428
|
-
|
|
7660
|
+
if (_this9.userSelectionType == 7 || _this9.userSelectionType == 8 || _this9.userSelectionType == 9 || _this9.userSelectionType == 10 || _this9.userSelectionType == 11 || _this9.userSelectionType == 12) {
|
|
7661
|
+
_this9.isDealObject = true;
|
|
7662
|
+
_this9.isNextUser = false;
|
|
7429
7663
|
}
|
|
7430
|
-
if (
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7664
|
+
if (_this9.userSelectionType == 13 || _this9.userSelectionType == 14) {
|
|
7665
|
+
_this9.isNextUser = false;
|
|
7666
|
+
_this9.isDealObject = false;
|
|
7667
|
+
_this9.isDealRole = true;
|
|
7668
|
+
_this9.nextUserflag = true;
|
|
7435
7669
|
}
|
|
7436
|
-
|
|
7670
|
+
_this9.isHiddenNextStepInfo = res.data.nodeExtAttr.isHiddenNextStepInfo == 1 && _this9.nextUserflag ? true : false; // 判断是否隐藏下一步节点信息和接收人信息
|
|
7437
7671
|
if (res.data.globalNodeType === 'endEvent') {
|
|
7438
|
-
|
|
7439
|
-
|
|
7672
|
+
_this9.isNextUser = false;
|
|
7673
|
+
_this9.form.nextUserId = '流程办结';
|
|
7440
7674
|
} else {
|
|
7441
|
-
|
|
7675
|
+
_this9.nodeType != 1 && _this9.nodeType != 2 && (_this9.isNextUser = true); //判断是否是流程办结 办结下步办理人不显示
|
|
7442
7676
|
}
|
|
7443
|
-
|
|
7444
|
-
|
|
7677
|
+
_this9.changeDefPeople(res.data.nodeExtAttr.isDefSelectedObj, res.data.nodeExtAttr.isSelectedAllObj);
|
|
7678
|
+
_this9.changePidObjtype(res.data.nodeExtAttr.userSelectionType, _this9.choiceOrgId, _this9.choiceDeptId, _this9.pOrgId);
|
|
7445
7679
|
} else {
|
|
7446
|
-
|
|
7680
|
+
_this9.$toast(res.message);
|
|
7447
7681
|
}
|
|
7448
7682
|
});
|
|
7449
7683
|
},
|
|
7450
7684
|
|
|
7451
7685
|
// 修改默认办理人
|
|
7452
7686
|
changeDefPeople: function changeDefPeople(def, all) {
|
|
7453
|
-
var
|
|
7687
|
+
var _this10 = this;
|
|
7454
7688
|
|
|
7455
7689
|
this.nextUserSelectList = [];
|
|
7456
7690
|
if (def == 1 && all == 1 || def == 0 && all == 1) {
|
|
@@ -7458,9 +7692,9 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
7458
7692
|
this.nextUserList.map(function (r, i) {
|
|
7459
7693
|
r.showid = r.userId;
|
|
7460
7694
|
r.showname = r.username;
|
|
7461
|
-
|
|
7462
|
-
|
|
7463
|
-
ids += r.userId + (i ===
|
|
7695
|
+
_this10.$set(r, 'checked', true);
|
|
7696
|
+
_this10.nextUserSelectList.push(r);
|
|
7697
|
+
ids += r.userId + (i === _this10.nextUserList.length - 1 ? '' : ',');
|
|
7464
7698
|
});
|
|
7465
7699
|
this.form.nextUserId = ids;
|
|
7466
7700
|
} else if (def == 1 && (!all || all == 0) && this.nextUserList.length > 0) {
|
|
@@ -7513,8 +7747,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
7513
7747
|
|
|
7514
7748
|
var Handle_component = Object(componentNormalizer["a" /* default */])(
|
|
7515
7749
|
components_Handlevue_type_script_lang_js,
|
|
7516
|
-
|
|
7517
|
-
|
|
7750
|
+
Handlevue_type_template_id_d4039ce2_render,
|
|
7751
|
+
Handlevue_type_template_id_d4039ce2_staticRenderFns,
|
|
7518
7752
|
false,
|
|
7519
7753
|
null,
|
|
7520
7754
|
null,
|
|
@@ -7935,7 +8169,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7935
8169
|
var params = {
|
|
7936
8170
|
appId: this.readParams.appId
|
|
7937
8171
|
};
|
|
7938
|
-
Object(http["a" /* default */])({ url: api["
|
|
8172
|
+
Object(http["a" /* default */])({ url: api["k" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
|
|
7939
8173
|
if (res.status === 'success') {
|
|
7940
8174
|
_this.defaultNotificationMessage = res.message;
|
|
7941
8175
|
_this.form.notificationMsg = res.message;
|
|
@@ -7964,7 +8198,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7964
8198
|
pendingId = this.pendingId;
|
|
7965
8199
|
|
|
7966
8200
|
var params = {
|
|
7967
|
-
url: api["
|
|
8201
|
+
url: api["B" /* taskTransfer */],
|
|
7968
8202
|
params: {
|
|
7969
8203
|
choiceDeptId: choiceDeptId,
|
|
7970
8204
|
choiceOrgId: choiceOrgId,
|
|
@@ -8059,7 +8293,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
8059
8293
|
taskExamine = this.taskExamine;
|
|
8060
8294
|
|
|
8061
8295
|
var params = {
|
|
8062
|
-
url: this.baseUrl ? this.baseUrl + api["
|
|
8296
|
+
url: this.baseUrl ? this.baseUrl + api["J" /* toTaskTransferIndex */] : api["J" /* toTaskTransferIndex */],
|
|
8063
8297
|
params: {
|
|
8064
8298
|
opinion: opinion,
|
|
8065
8299
|
pendingId: pendingId,
|
|
@@ -8167,7 +8401,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
8167
8401
|
if (_that.newType != 'taskReadAndEnd') delete params.taskAction;
|
|
8168
8402
|
|
|
8169
8403
|
Object(http["a" /* default */])({
|
|
8170
|
-
url: _that.baseUrl ? _that.baseUrl + api["
|
|
8404
|
+
url: _that.baseUrl ? _that.baseUrl + api["F" /* toStartTaskReadHtml */] : api["F" /* toStartTaskReadHtml */],
|
|
8171
8405
|
params: params
|
|
8172
8406
|
}).then(function (res) {
|
|
8173
8407
|
_that.$toast.clear();
|
|
@@ -8215,7 +8449,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
8215
8449
|
|
|
8216
8450
|
var _that = this;
|
|
8217
8451
|
var params = {
|
|
8218
|
-
url: _that.apiBaseUrl ? _that.apiBaseUrl + api["
|
|
8452
|
+
url: _that.apiBaseUrl ? _that.apiBaseUrl + api["p" /* handleTaskRead */] : api["p" /* handleTaskRead */],
|
|
8219
8453
|
params: {
|
|
8220
8454
|
pendingId: this.pendingId,
|
|
8221
8455
|
businessId: this.businessId,
|
|
@@ -8256,7 +8490,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
8256
8490
|
var _this7 = this;
|
|
8257
8491
|
|
|
8258
8492
|
Object(http["a" /* default */])({
|
|
8259
|
-
url: this.baseUrl ? this.baseUrl + api["
|
|
8493
|
+
url: this.baseUrl ? this.baseUrl + api["h" /* getHandleInfoHtml */] : api["h" /* getHandleInfoHtml */],
|
|
8260
8494
|
params: { pendingId: this.pendingId, userId: this.userId }
|
|
8261
8495
|
}).then(function (res) {
|
|
8262
8496
|
var status = res.status,
|
|
@@ -8303,7 +8537,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
8303
8537
|
processDefinitionId = _taskExamine2.processDefinitionId;
|
|
8304
8538
|
|
|
8305
8539
|
var params = {
|
|
8306
|
-
url: _that.baseUrl ? _that.baseUrl + api["
|
|
8540
|
+
url: _that.baseUrl ? _that.baseUrl + api["x" /* taskReadHtml */] : api["x" /* taskReadHtml */],
|
|
8307
8541
|
type: 'post',
|
|
8308
8542
|
params: TaskReadvue_type_script_lang_js_extends({}, this.form, {
|
|
8309
8543
|
pendingId: this.pendingId,
|
|
@@ -8375,8 +8609,8 @@ var TaskRead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
8375
8609
|
)
|
|
8376
8610
|
|
|
8377
8611
|
/* harmony default export */ var TaskRead = (TaskRead_component.exports);
|
|
8378
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=
|
|
8379
|
-
var
|
|
8612
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=78d96d93
|
|
8613
|
+
var taskUnionExaminevue_type_template_id_78d96d93_render = function () {
|
|
8380
8614
|
var _vm = this
|
|
8381
8615
|
var _h = _vm.$createElement
|
|
8382
8616
|
var _c = _vm._self._c || _h
|
|
@@ -8412,13 +8646,16 @@ var taskUnionExaminevue_type_template_id_0caaa8c0_render = function () {
|
|
|
8412
8646
|
isAllCheck: _vm.isAllCheck,
|
|
8413
8647
|
tabs:
|
|
8414
8648
|
_vm.type == "takeAdvice"
|
|
8415
|
-
?
|
|
8649
|
+
? _vm.currentOrgTabs.length > 0
|
|
8650
|
+
? _vm.currentOrgTabs
|
|
8651
|
+
: "department,employee"
|
|
8416
8652
|
: _vm.type == "startDraf"
|
|
8417
8653
|
? "enterprise,employee"
|
|
8418
8654
|
: "enterprise",
|
|
8419
8655
|
param: _vm.params,
|
|
8420
8656
|
baseUrl: _vm.apiBaseUrl,
|
|
8421
8657
|
paddingTop: _vm.paddingTop,
|
|
8658
|
+
mix: _vm.currentMix,
|
|
8422
8659
|
disabled: _vm.disabled,
|
|
8423
8660
|
label:
|
|
8424
8661
|
_vm.type == "takeAdvice"
|
|
@@ -8463,8 +8700,11 @@ var taskUnionExaminevue_type_template_id_0caaa8c0_render = function () {
|
|
|
8463
8700
|
attrs: {
|
|
8464
8701
|
multiple: _vm.newMultiple,
|
|
8465
8702
|
isAllCheck: _vm.isAllCheck,
|
|
8703
|
+
mix: _vm.otherMix,
|
|
8466
8704
|
tabs:
|
|
8467
|
-
_vm.
|
|
8705
|
+
_vm.foreignOrgTabs.length > 0
|
|
8706
|
+
? _vm.foreignOrgTabs
|
|
8707
|
+
: _vm.isChoiceOtherOrgDept == "true"
|
|
8468
8708
|
? "enterprise,department"
|
|
8469
8709
|
: "enterprise",
|
|
8470
8710
|
baseUrl: _vm.apiBaseUrl,
|
|
@@ -8489,18 +8729,21 @@ var taskUnionExaminevue_type_template_id_0caaa8c0_render = function () {
|
|
|
8489
8729
|
1
|
|
8490
8730
|
)
|
|
8491
8731
|
: _vm._e(),
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
|
|
8498
|
-
|
|
8499
|
-
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8732
|
+
_vm.showMessage
|
|
8733
|
+
? _c("Message", {
|
|
8734
|
+
ref: "message",
|
|
8735
|
+
attrs: {
|
|
8736
|
+
code: "notification_type",
|
|
8737
|
+
baseUrl: _vm.baseUrl,
|
|
8738
|
+
readOnlyNotificationType: _vm.readOnlyNotificationType,
|
|
8739
|
+
notificationMessageReadOnly:
|
|
8740
|
+
_vm.notificationMessageReadOnly,
|
|
8741
|
+
defaultNotificationType: _vm.infoList.noticeType,
|
|
8742
|
+
defaultNotificationMsg: _vm.infoList.noticeInfo,
|
|
8743
|
+
},
|
|
8744
|
+
on: { onInputMsg: _vm.onInputMsg },
|
|
8745
|
+
})
|
|
8746
|
+
: _vm._e(),
|
|
8504
8747
|
],
|
|
8505
8748
|
1
|
|
8506
8749
|
),
|
|
@@ -8526,11 +8769,11 @@ var taskUnionExaminevue_type_template_id_0caaa8c0_render = function () {
|
|
|
8526
8769
|
]),
|
|
8527
8770
|
])
|
|
8528
8771
|
}
|
|
8529
|
-
var
|
|
8530
|
-
|
|
8772
|
+
var taskUnionExaminevue_type_template_id_78d96d93_staticRenderFns = []
|
|
8773
|
+
taskUnionExaminevue_type_template_id_78d96d93_render._withStripped = true
|
|
8531
8774
|
|
|
8532
8775
|
|
|
8533
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=
|
|
8776
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=78d96d93
|
|
8534
8777
|
|
|
8535
8778
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/taskUnionExamine.vue?vue&type=script&lang=js
|
|
8536
8779
|
//
|
|
@@ -8622,6 +8865,13 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
|
|
|
8622
8865
|
//
|
|
8623
8866
|
//
|
|
8624
8867
|
//
|
|
8868
|
+
//
|
|
8869
|
+
//
|
|
8870
|
+
//
|
|
8871
|
+
//
|
|
8872
|
+
//
|
|
8873
|
+
//
|
|
8874
|
+
//
|
|
8625
8875
|
|
|
8626
8876
|
|
|
8627
8877
|
|
|
@@ -8661,12 +8911,17 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
|
|
|
8661
8911
|
opinion: '', //办理意见
|
|
8662
8912
|
isImageOpinion: 0,
|
|
8663
8913
|
readOnlyNotificationType: '',
|
|
8914
|
+
otherMix: false,
|
|
8915
|
+
currentMix: false,
|
|
8664
8916
|
notificationMessageReadOnly: false,
|
|
8917
|
+
currentOrgTabs: [],
|
|
8918
|
+
foreignOrgTabs: [],
|
|
8919
|
+
showMessage: false,
|
|
8665
8920
|
file: '',
|
|
8666
8921
|
infoList: {
|
|
8667
8922
|
nextOtherOrgObj: [],
|
|
8668
8923
|
nextCurrentOrgObj: [],
|
|
8669
|
-
noticeType:
|
|
8924
|
+
noticeType: '',
|
|
8670
8925
|
noticeInfo: '',
|
|
8671
8926
|
opinion: ''
|
|
8672
8927
|
},
|
|
@@ -8693,6 +8948,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
|
|
|
8693
8948
|
|
|
8694
8949
|
components: { Opinion: Opinion, Message: Message },
|
|
8695
8950
|
created: function created() {
|
|
8951
|
+
this.getuserInfo();
|
|
8696
8952
|
this.style = {
|
|
8697
8953
|
'padding-top': sessionStorage.getItem('pt') ? sessionStorage.getItem('pt') + 'px' : '30px'
|
|
8698
8954
|
};
|
|
@@ -8720,6 +8976,11 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
|
|
|
8720
8976
|
}
|
|
8721
8977
|
},
|
|
8722
8978
|
methods: {
|
|
8979
|
+
getuserInfo: function getuserInfo() {
|
|
8980
|
+
Object(http["a" /* default */])({ url: api["e" /* findUserBaseInfo */] }).then(function (res) {
|
|
8981
|
+
localStorage.setItem('userInfo', JSON.stringify(res.results));
|
|
8982
|
+
});
|
|
8983
|
+
},
|
|
8723
8984
|
onInputOpintion: function onInputOpintion(val) {
|
|
8724
8985
|
var opinion = val.opinion,
|
|
8725
8986
|
isImageOpinion = val.isImageOpinion,
|
|
@@ -8733,7 +8994,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
|
|
|
8733
8994
|
var _this = this;
|
|
8734
8995
|
|
|
8735
8996
|
var params = {
|
|
8736
|
-
url: api["
|
|
8997
|
+
url: api["r" /* isCanStartSubFlow */],
|
|
8737
8998
|
params: {
|
|
8738
8999
|
appId: this.appId,
|
|
8739
9000
|
inevitableNode: this.inevitableNode,
|
|
@@ -8762,7 +9023,8 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
|
|
|
8762
9023
|
pendingId: this.pendingId,
|
|
8763
9024
|
userId: this.userId
|
|
8764
9025
|
};
|
|
8765
|
-
Object(http["a" /* default */])({ url: api["
|
|
9026
|
+
Object(http["a" /* default */])({ url: api["k" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
|
|
9027
|
+
_this2.$toast.clear();http: //localhost:8080/#/Selector
|
|
8766
9028
|
if (res.status === 'success') {
|
|
8767
9029
|
_this2.infoList.noticeInfo = res.message;
|
|
8768
9030
|
}
|
|
@@ -8787,6 +9049,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
|
|
|
8787
9049
|
} else {
|
|
8788
9050
|
_this3.$toast(message || '系统错误,请联系管理员!');
|
|
8789
9051
|
}
|
|
9052
|
+
_this3.showMessage = true;
|
|
8790
9053
|
}).catch(function (err) {
|
|
8791
9054
|
_this3.loading = false;
|
|
8792
9055
|
if (err.message && err.message !== 'canceled') {
|
|
@@ -8797,15 +9060,24 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
|
|
|
8797
9060
|
changeSelectUser: function changeSelectUser(val, type) {
|
|
8798
9061
|
var list = val.list;
|
|
8799
9062
|
|
|
8800
|
-
var newNextUser =
|
|
9063
|
+
var newNextUser = [];
|
|
9064
|
+
var obj = {};
|
|
8801
9065
|
list.map(function (item) {
|
|
8802
|
-
if (
|
|
8803
|
-
|
|
9066
|
+
if (obj[item.mixType]) {
|
|
9067
|
+
obj[item.mixType].push(item.showid);
|
|
8804
9068
|
} else {
|
|
8805
|
-
|
|
9069
|
+
obj[item.mixType] = [item.showid];
|
|
8806
9070
|
}
|
|
9071
|
+
// if (newNextUser) {
|
|
9072
|
+
// newNextUser += `,${item.selecttype}-${item.showid}`;
|
|
9073
|
+
// } else {
|
|
9074
|
+
// newNextUser = `${item.selecttype}-${item.showid}`;
|
|
9075
|
+
// }
|
|
8807
9076
|
});
|
|
8808
|
-
|
|
9077
|
+
for (var key in obj) {
|
|
9078
|
+
newNextUser.push(key + '-' + obj[key].join(','));
|
|
9079
|
+
}
|
|
9080
|
+
this.infoList[type] = newNextUser.join('|');
|
|
8809
9081
|
this[type] = list;
|
|
8810
9082
|
},
|
|
8811
9083
|
isMultiple: function isMultiple(val) {
|
|
@@ -8854,7 +9126,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
|
|
|
8854
9126
|
var _this5 = this;
|
|
8855
9127
|
|
|
8856
9128
|
var params = {
|
|
8857
|
-
url: this.type == 'takeAdvice' ? api["
|
|
9129
|
+
url: this.type == 'takeAdvice' ? api["I" /* toTaskTakeAdvice */] : this.type === 'startDraf' ? api["H" /* toTaskStartDraft */] : this.type == 'unionSeal' ? api["L" /* toTaskUnionSeal */] : this.type == 'twoOfficesDispatch' ? toTwoOfficesDispatch : api["K" /* toTaskUnionExamine */],
|
|
8858
9130
|
params: { pendingId: this.pendingId, userId: this.userId },
|
|
8859
9131
|
headers: { Accept: 'application/json,text/plain' }
|
|
8860
9132
|
};
|
|
@@ -8886,6 +9158,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
|
|
|
8886
9158
|
isHideCurrentOrg = _res$data2$nodeInfoMa.isHideCurrentOrg,
|
|
8887
9159
|
isOpinionRequired = _res$data2$nodeInfoMa.isOpinionRequired;
|
|
8888
9160
|
|
|
9161
|
+
|
|
8889
9162
|
_this5.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
|
|
8890
9163
|
_this5.readOnlyNotificationType = readOnlyNotificationType;
|
|
8891
9164
|
_this5.isSinglePage = taskExamine.isSinglePage;
|
|
@@ -8910,6 +9183,33 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
|
|
|
8910
9183
|
_this5.infoList.nextOtherOrgObj.push(taskExamine.nextOtherOrgObj);
|
|
8911
9184
|
}
|
|
8912
9185
|
_this5.isMultiple(userSelectionType);
|
|
9186
|
+
if (res.data.customizedConfig) {
|
|
9187
|
+
if (res.data.customizedConfig.currentOrgSelectorCustomized) {
|
|
9188
|
+
_this5.currentMix = res.data.customizedConfig.currentOrgSelectorSelectMix == 'true';
|
|
9189
|
+
_this5.currentOrgTabs = res.data.customizedConfig.currentOrgSelectorItemList;
|
|
9190
|
+
var param = res.data.customizedConfig.currentOrgSelectorRangeList.split(',');
|
|
9191
|
+
res.data.customizedConfig.currentOrgSelectorItemList.split(',').map(function (x, i) {
|
|
9192
|
+
_this5.params[x] = {
|
|
9193
|
+
pid: param[i] == 'my' ? _this5.params.pid = JSON.parse(util["a" /* default */].getStorage('userInfo')).orgId : param[i]
|
|
9194
|
+
};
|
|
9195
|
+
});
|
|
9196
|
+
} else {
|
|
9197
|
+
if (_this5.type == 'takeAdvice') {
|
|
9198
|
+
_this5.params.pid = JSON.parse(util["a" /* default */].getStorage('userInfo')).orgId;
|
|
9199
|
+
}
|
|
9200
|
+
}
|
|
9201
|
+
if (res.data.customizedConfig.foreignOrgSelectorCustomized) {
|
|
9202
|
+
_this5.otherMix = res.data.customizedConfig.foreignOrgSelectorSelectMix == 'true';
|
|
9203
|
+
_this5.foreignOrgTabs = res.data.customizedConfig.foreignOrgSelectorItemList;
|
|
9204
|
+
var _param = res.data.customizedConfig.foreignOrgSelectorRangeList.split(',');
|
|
9205
|
+
// res.data.customizedConfig.foreignOrgSelectorItemList
|
|
9206
|
+
// .split(',')
|
|
9207
|
+
// .map((x, i) => {
|
|
9208
|
+
// this.otherParams[x] = { pid: param[i] };
|
|
9209
|
+
|
|
9210
|
+
// });
|
|
9211
|
+
}
|
|
9212
|
+
}
|
|
8913
9213
|
_this5.getFind();
|
|
8914
9214
|
_this5.getMessage();
|
|
8915
9215
|
} else {
|
|
@@ -8928,7 +9228,8 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
|
|
|
8928
9228
|
|
|
8929
9229
|
// 通知消息回调
|
|
8930
9230
|
onInputMsg: function onInputMsg(obj) {
|
|
8931
|
-
|
|
9231
|
+
console.log(obj);
|
|
9232
|
+
this.infoList.noticeType = JSON.parse(JSON.stringify(obj.notificationType));
|
|
8932
9233
|
this.infoList.noticeInfo = obj.notificationMsg;
|
|
8933
9234
|
},
|
|
8934
9235
|
goBack: function goBack() {
|
|
@@ -9001,7 +9302,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
|
|
|
9001
9302
|
// if (this.type != 'startDraf' && this.type != 'unionSeal' && this.type != 'twoOfficesDispatch')
|
|
9002
9303
|
// return this.$toast('暂未开放,敬请期待!');
|
|
9003
9304
|
var param = {
|
|
9004
|
-
url: this.type === 'startDraf' ? api["
|
|
9305
|
+
url: this.type === 'startDraf' ? api["z" /* taskStartDraft */] : this.type == 'unionSeal' ? api["D" /* taskUnionSeal */] : this.type === 'twoOfficesDispatch' ? twoOfficesDispatch : this.type == 'takeAdvice' ? api["A" /* taskTakeAdvice */] : api["C" /* taskUnionExamine */],
|
|
9005
9306
|
params: isImageOpinion == 1 ? formData : info,
|
|
9006
9307
|
headers: { Accept: 'application/json,text/plain' },
|
|
9007
9308
|
type: 'post',
|
|
@@ -9050,7 +9351,7 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
|
|
|
9050
9351
|
// duration: 0
|
|
9051
9352
|
// });
|
|
9052
9353
|
Object(http["a" /* default */])({
|
|
9053
|
-
url: _that.baseUrl ? _that.baseUrl + api["
|
|
9354
|
+
url: _that.baseUrl ? _that.baseUrl + api["K" /* toTaskUnionExamine */] : api["K" /* toTaskUnionExamine */],
|
|
9054
9355
|
params: {
|
|
9055
9356
|
pendingId: this.pendingId
|
|
9056
9357
|
}
|
|
@@ -9109,8 +9410,8 @@ taskUnionExaminevue_type_template_id_0caaa8c0_render._withStripped = true
|
|
|
9109
9410
|
|
|
9110
9411
|
var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
|
|
9111
9412
|
components_taskUnionExaminevue_type_script_lang_js,
|
|
9112
|
-
|
|
9113
|
-
|
|
9413
|
+
taskUnionExaminevue_type_template_id_78d96d93_render,
|
|
9414
|
+
taskUnionExaminevue_type_template_id_78d96d93_staticRenderFns,
|
|
9114
9415
|
false,
|
|
9115
9416
|
null,
|
|
9116
9417
|
null,
|
|
@@ -9158,6 +9459,7 @@ var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
|
|
|
9158
9459
|
//
|
|
9159
9460
|
//
|
|
9160
9461
|
//
|
|
9462
|
+
//
|
|
9161
9463
|
|
|
9162
9464
|
|
|
9163
9465
|
|