eoss-mobiles 0.2.8 → 0.2.10
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 +2 -2
- package/lib/eoss-mobile.common.js +359 -92
- package/lib/flow.js +128 -84
- package/lib/index.js +1 -1
- package/lib/picker.js +2 -2
- package/lib/pull-refresh.js +305 -0
- package/lib/radio.js +2 -2
- package/lib/selector.js +12 -9
- package/lib/swipe.js +327 -0
- package/lib/table.js +11 -11
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/pull-refresh.css +0 -0
- package/lib/theme-chalk/selector.css +1 -1
- package/lib/theme-chalk/swipe.css +0 -0
- package/lib/utils/axios.js +2 -2
- package/package.json +1 -1
- package/packages/flow/src/components/Handle.vue +12 -4
- package/packages/flow/src/components/Message.vue +5 -1
- package/packages/flow/src/components/Opinion.vue +6 -2
- package/packages/flow/src/components/Reject.vue +7 -1
- package/packages/flow/src/components/StartFlow.vue +9 -3
- package/packages/flow/src/components/TaskRead.vue +12 -4
- package/packages/flow/src/components/taskUnionExamine.vue +17 -16
- package/packages/pull-refresh/index.js +5 -0
- package/packages/pull-refresh/src/main.vue +31 -0
- package/packages/selector/src/selector-tree.vue +2 -0
- package/packages/swipe/index.js +5 -0
- package/packages/swipe/src/main.vue +42 -0
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/pull-refresh.css +0 -0
- package/packages/theme-chalk/lib/selector.css +1 -1
- package/packages/theme-chalk/lib/swipe.css +0 -0
- package/packages/theme-chalk/src/flow.scss +1 -0
- package/packages/theme-chalk/src/index.scss +2 -0
- package/packages/theme-chalk/src/pull-refresh.scss +0 -0
- package/packages/theme-chalk/src/selector.scss +6 -0
- package/packages/theme-chalk/src/swipe.scss +0 -0
- package/src/index.js +10 -4
- package/src/utils/axios.js +2 -2
package/lib/flow.js
CHANGED
|
@@ -1836,9 +1836,9 @@ var base = {
|
|
|
1836
1836
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1837
1837
|
|
|
1838
1838
|
if (params.params) {
|
|
1839
|
-
params.params.userId = util["a" /* default */].getStorage('userId');
|
|
1839
|
+
params.params.userId = params.params.userId || util["a" /* default */].getStorage('userId');
|
|
1840
1840
|
} else {
|
|
1841
|
-
params.userId = util["a" /* default */].getStorage('userId');
|
|
1841
|
+
params.userId = params.userId || util["a" /* default */].getStorage('userId');
|
|
1842
1842
|
}
|
|
1843
1843
|
return http.post(url, params);
|
|
1844
1844
|
}
|
|
@@ -2046,8 +2046,8 @@ render._withStripped = true
|
|
|
2046
2046
|
|
|
2047
2047
|
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=56353196&
|
|
2048
2048
|
|
|
2049
|
-
// 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=
|
|
2050
|
-
var
|
|
2049
|
+
// 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=28b84f8e&
|
|
2050
|
+
var StartFlowvue_type_template_id_28b84f8e_render = function () {
|
|
2051
2051
|
var _vm = this
|
|
2052
2052
|
var _h = _vm.$createElement
|
|
2053
2053
|
var _c = _vm._self._c || _h
|
|
@@ -2254,11 +2254,11 @@ var StartFlowvue_type_template_id_5b4823aa_render = function () {
|
|
|
2254
2254
|
]),
|
|
2255
2255
|
])
|
|
2256
2256
|
}
|
|
2257
|
-
var
|
|
2258
|
-
|
|
2257
|
+
var StartFlowvue_type_template_id_28b84f8e_staticRenderFns = []
|
|
2258
|
+
StartFlowvue_type_template_id_28b84f8e_render._withStripped = true
|
|
2259
2259
|
|
|
2260
2260
|
|
|
2261
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=
|
|
2261
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=28b84f8e&
|
|
2262
2262
|
|
|
2263
2263
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
2264
2264
|
var api = __webpack_require__(2);
|
|
@@ -2266,8 +2266,8 @@ var api = __webpack_require__(2);
|
|
|
2266
2266
|
// EXTERNAL MODULE: ./src/utils/http.js + 1 modules
|
|
2267
2267
|
var http = __webpack_require__(3);
|
|
2268
2268
|
|
|
2269
|
-
// 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/Opinion.vue?vue&type=template&id=
|
|
2270
|
-
var
|
|
2269
|
+
// 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/Opinion.vue?vue&type=template&id=d7d83634&
|
|
2270
|
+
var Opinionvue_type_template_id_d7d83634_render = function () {
|
|
2271
2271
|
var _vm = this
|
|
2272
2272
|
var _h = _vm.$createElement
|
|
2273
2273
|
var _c = _vm._self._c || _h
|
|
@@ -2469,11 +2469,11 @@ var Opinionvue_type_template_id_7bc36072_render = function () {
|
|
|
2469
2469
|
1
|
|
2470
2470
|
)
|
|
2471
2471
|
}
|
|
2472
|
-
var
|
|
2473
|
-
|
|
2472
|
+
var Opinionvue_type_template_id_d7d83634_staticRenderFns = []
|
|
2473
|
+
Opinionvue_type_template_id_d7d83634_render._withStripped = true
|
|
2474
2474
|
|
|
2475
2475
|
|
|
2476
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Opinion.vue?vue&type=template&id=
|
|
2476
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Opinion.vue?vue&type=template&id=d7d83634&
|
|
2477
2477
|
|
|
2478
2478
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Opinion.vue?vue&type=script&lang=js&
|
|
2479
2479
|
//
|
|
@@ -2615,6 +2615,10 @@ Opinionvue_type_template_id_7bc36072_render._withStripped = true
|
|
|
2615
2615
|
esign: {
|
|
2616
2616
|
type: Boolean,
|
|
2617
2617
|
default: false
|
|
2618
|
+
},
|
|
2619
|
+
userId: {
|
|
2620
|
+
type: String,
|
|
2621
|
+
default: ''
|
|
2618
2622
|
}
|
|
2619
2623
|
},
|
|
2620
2624
|
// components: {
|
|
@@ -2674,7 +2678,7 @@ Opinionvue_type_template_id_7bc36072_render._withStripped = true
|
|
|
2674
2678
|
var _that = this;
|
|
2675
2679
|
Object(http["a" /* default */])({
|
|
2676
2680
|
url: _that.baseUrl ? _that.baseUrl + api["a" /* commonOpion */] : api["a" /* commonOpion */],
|
|
2677
|
-
params: {}
|
|
2681
|
+
params: { userId: this.userId }
|
|
2678
2682
|
}).then(function (res) {
|
|
2679
2683
|
if (res.status == 'success') {
|
|
2680
2684
|
_this.opinionList = res.data.list;
|
|
@@ -2712,8 +2716,8 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
2712
2716
|
|
|
2713
2717
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
2714
2718
|
components_Opinionvue_type_script_lang_js_,
|
|
2715
|
-
|
|
2716
|
-
|
|
2719
|
+
Opinionvue_type_template_id_d7d83634_render,
|
|
2720
|
+
Opinionvue_type_template_id_d7d83634_staticRenderFns,
|
|
2717
2721
|
false,
|
|
2718
2722
|
null,
|
|
2719
2723
|
null,
|
|
@@ -2722,8 +2726,8 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
2722
2726
|
)
|
|
2723
2727
|
|
|
2724
2728
|
/* harmony default export */ var Opinion = (component.exports);
|
|
2725
|
-
// 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=
|
|
2726
|
-
var
|
|
2729
|
+
// 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=f4fe15d6&
|
|
2730
|
+
var Messagevue_type_template_id_f4fe15d6_render = function () {
|
|
2727
2731
|
var _vm = this
|
|
2728
2732
|
var _h = _vm.$createElement
|
|
2729
2733
|
var _c = _vm._self._c || _h
|
|
@@ -2808,11 +2812,11 @@ var Messagevue_type_template_id_73ab6102_render = function () {
|
|
|
2808
2812
|
1
|
|
2809
2813
|
)
|
|
2810
2814
|
}
|
|
2811
|
-
var
|
|
2812
|
-
|
|
2815
|
+
var Messagevue_type_template_id_f4fe15d6_staticRenderFns = []
|
|
2816
|
+
Messagevue_type_template_id_f4fe15d6_render._withStripped = true
|
|
2813
2817
|
|
|
2814
2818
|
|
|
2815
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Message.vue?vue&type=template&id=
|
|
2819
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Message.vue?vue&type=template&id=f4fe15d6&
|
|
2816
2820
|
|
|
2817
2821
|
// 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&
|
|
2818
2822
|
//
|
|
@@ -2880,7 +2884,11 @@ Messagevue_type_template_id_73ab6102_render._withStripped = true
|
|
|
2880
2884
|
type: Boolean,
|
|
2881
2885
|
default: true
|
|
2882
2886
|
},
|
|
2883
|
-
baseUrl: String
|
|
2887
|
+
baseUrl: String,
|
|
2888
|
+
userId: {
|
|
2889
|
+
type: String,
|
|
2890
|
+
default: ''
|
|
2891
|
+
}
|
|
2884
2892
|
},
|
|
2885
2893
|
data: function data() {
|
|
2886
2894
|
return {
|
|
@@ -2928,8 +2936,8 @@ Messagevue_type_template_id_73ab6102_render._withStripped = true
|
|
|
2928
2936
|
|
|
2929
2937
|
var Message_component = Object(componentNormalizer["a" /* default */])(
|
|
2930
2938
|
components_Messagevue_type_script_lang_js_,
|
|
2931
|
-
|
|
2932
|
-
|
|
2939
|
+
Messagevue_type_template_id_f4fe15d6_render,
|
|
2940
|
+
Messagevue_type_template_id_f4fe15d6_staticRenderFns,
|
|
2933
2941
|
false,
|
|
2934
2942
|
null,
|
|
2935
2943
|
null,
|
|
@@ -2942,6 +2950,8 @@ var Message_component = Object(componentNormalizer["a" /* default */])(
|
|
|
2942
2950
|
var external_eoss_mobile_vant_ = __webpack_require__(6);
|
|
2943
2951
|
|
|
2944
2952
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/StartFlow.vue?vue&type=script&lang=js&
|
|
2953
|
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
2954
|
+
|
|
2945
2955
|
//
|
|
2946
2956
|
//
|
|
2947
2957
|
//
|
|
@@ -3078,6 +3088,10 @@ var external_eoss_mobile_vant_ = __webpack_require__(6);
|
|
|
3078
3088
|
esign: {
|
|
3079
3089
|
type: Boolean,
|
|
3080
3090
|
default: false
|
|
3091
|
+
},
|
|
3092
|
+
userId: {
|
|
3093
|
+
type: String,
|
|
3094
|
+
default: ''
|
|
3081
3095
|
}
|
|
3082
3096
|
},
|
|
3083
3097
|
data: function data() {
|
|
@@ -3189,7 +3203,8 @@ var external_eoss_mobile_vant_ = __webpack_require__(6);
|
|
|
3189
3203
|
|
|
3190
3204
|
// 提交流程
|
|
3191
3205
|
onSubmit: function onSubmit() {
|
|
3192
|
-
var
|
|
3206
|
+
var _info,
|
|
3207
|
+
_this2 = this;
|
|
3193
3208
|
|
|
3194
3209
|
if (!this.form.opinion && this.isOpinionRequired == 1 && this.form.isImageOpinion == 0 || !this.file && this.isOpinionRequired == 1 && this.form.isImageOpinion == 1) {
|
|
3195
3210
|
this.$toast('请选择输入审批意见');
|
|
@@ -3208,7 +3223,7 @@ var external_eoss_mobile_vant_ = __webpack_require__(6);
|
|
|
3208
3223
|
// return;
|
|
3209
3224
|
// }
|
|
3210
3225
|
|
|
3211
|
-
var info = {
|
|
3226
|
+
var info = (_info = {
|
|
3212
3227
|
processDefinitionId: this.flowObj.processDefinitionId,
|
|
3213
3228
|
nextUserId: this.form.nextUserId,
|
|
3214
3229
|
nextNodeId: this.form.nextNodeId,
|
|
@@ -3220,7 +3235,7 @@ var external_eoss_mobile_vant_ = __webpack_require__(6);
|
|
|
3220
3235
|
notificationMsg: this.form.notificationMsg,
|
|
3221
3236
|
loginType: 2, //登录方式
|
|
3222
3237
|
isImageOpinion: this.form.isImageOpinion
|
|
3223
|
-
};
|
|
3238
|
+
}, _info['userId'] = this.userId, _info);
|
|
3224
3239
|
if (this.beforeSubmit) {
|
|
3225
3240
|
this.beforeSubmit(info);
|
|
3226
3241
|
return;
|
|
@@ -3352,7 +3367,7 @@ var external_eoss_mobile_vant_ = __webpack_require__(6);
|
|
|
3352
3367
|
return new Promise(function (resolve, reiect) {
|
|
3353
3368
|
Object(http["a" /* default */])({
|
|
3354
3369
|
url: that.apiBaseUrl ? that.apiBaseUrl + api["t" /* toStartFlow */] : api["t" /* toStartFlow */],
|
|
3355
|
-
params: res
|
|
3370
|
+
params: _extends({}, res, { userId: this.userId })
|
|
3356
3371
|
}).then(function (res) {
|
|
3357
3372
|
if (res.rCode == 0) {
|
|
3358
3373
|
res.results.nodeExtr.submitTipsMsg && external_eoss_mobile_vant_["Dialog"].confirm({
|
|
@@ -3410,7 +3425,8 @@ var external_eoss_mobile_vant_ = __webpack_require__(6);
|
|
|
3410
3425
|
params: {
|
|
3411
3426
|
processDefinitionId: this.flowObj.processDefinitionId,
|
|
3412
3427
|
nodeId: res,
|
|
3413
|
-
taskId: this.processObj.taskId
|
|
3428
|
+
taskId: this.processObj.taskId,
|
|
3429
|
+
userId: this.userId
|
|
3414
3430
|
}
|
|
3415
3431
|
}).then(function (res) {
|
|
3416
3432
|
_this3.$toast.clear();
|
|
@@ -3452,8 +3468,8 @@ var external_eoss_mobile_vant_ = __webpack_require__(6);
|
|
|
3452
3468
|
|
|
3453
3469
|
var StartFlow_component = Object(componentNormalizer["a" /* default */])(
|
|
3454
3470
|
components_StartFlowvue_type_script_lang_js_,
|
|
3455
|
-
|
|
3456
|
-
|
|
3471
|
+
StartFlowvue_type_template_id_28b84f8e_render,
|
|
3472
|
+
StartFlowvue_type_template_id_28b84f8e_staticRenderFns,
|
|
3457
3473
|
false,
|
|
3458
3474
|
null,
|
|
3459
3475
|
null,
|
|
@@ -3462,8 +3478,8 @@ var StartFlow_component = Object(componentNormalizer["a" /* default */])(
|
|
|
3462
3478
|
)
|
|
3463
3479
|
|
|
3464
3480
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
3465
|
-
// 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=
|
|
3466
|
-
var
|
|
3481
|
+
// 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=51719524&
|
|
3482
|
+
var Handlevue_type_template_id_51719524_render = function () {
|
|
3467
3483
|
var _vm = this
|
|
3468
3484
|
var _h = _vm.$createElement
|
|
3469
3485
|
var _c = _vm._self._c || _h
|
|
@@ -4474,14 +4490,14 @@ var Handlevue_type_template_id_5a93f18a_render = function () {
|
|
|
4474
4490
|
1
|
|
4475
4491
|
)
|
|
4476
4492
|
}
|
|
4477
|
-
var
|
|
4478
|
-
|
|
4493
|
+
var Handlevue_type_template_id_51719524_staticRenderFns = []
|
|
4494
|
+
Handlevue_type_template_id_51719524_render._withStripped = true
|
|
4479
4495
|
|
|
4480
4496
|
|
|
4481
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
4497
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=51719524&
|
|
4482
4498
|
|
|
4483
|
-
// 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=
|
|
4484
|
-
var
|
|
4499
|
+
// 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=0a313a78&
|
|
4500
|
+
var Rejectvue_type_template_id_0a313a78_render = function () {
|
|
4485
4501
|
var _vm = this
|
|
4486
4502
|
var _h = _vm.$createElement
|
|
4487
4503
|
var _c = _vm._self._c || _h
|
|
@@ -4577,14 +4593,16 @@ var Rejectvue_type_template_id_3c26866b_render = function () {
|
|
|
4577
4593
|
]),
|
|
4578
4594
|
])
|
|
4579
4595
|
}
|
|
4580
|
-
var
|
|
4581
|
-
|
|
4596
|
+
var Rejectvue_type_template_id_0a313a78_staticRenderFns = []
|
|
4597
|
+
Rejectvue_type_template_id_0a313a78_render._withStripped = true
|
|
4582
4598
|
|
|
4583
4599
|
|
|
4584
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Reject.vue?vue&type=template&id=
|
|
4600
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Reject.vue?vue&type=template&id=0a313a78&
|
|
4585
4601
|
|
|
4586
4602
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Reject.vue?vue&type=script&lang=js&
|
|
4587
|
-
var
|
|
4603
|
+
var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
4604
|
+
|
|
4605
|
+
var _props;
|
|
4588
4606
|
|
|
4589
4607
|
//
|
|
4590
4608
|
//
|
|
@@ -4635,7 +4653,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4635
4653
|
|
|
4636
4654
|
/* harmony default export */ var Rejectvue_type_script_lang_js_ = ({
|
|
4637
4655
|
name: 'Reject',
|
|
4638
|
-
props: {
|
|
4656
|
+
props: (_props = {
|
|
4639
4657
|
appId: String,
|
|
4640
4658
|
type: String,
|
|
4641
4659
|
pendingId: String,
|
|
@@ -4646,7 +4664,10 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4646
4664
|
type: Boolean,
|
|
4647
4665
|
default: false
|
|
4648
4666
|
}
|
|
4649
|
-
},
|
|
4667
|
+
}, _props['userId'] = {
|
|
4668
|
+
type: String,
|
|
4669
|
+
default: ''
|
|
4670
|
+
}, _props),
|
|
4650
4671
|
data: function data() {
|
|
4651
4672
|
return {
|
|
4652
4673
|
showMsg: false, // 判断是否显示系统消息
|
|
@@ -4718,7 +4739,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4718
4739
|
this.form.opinion = this.nodeDefaultRejectOpinion;
|
|
4719
4740
|
}
|
|
4720
4741
|
if (this.beforeSubmit) {
|
|
4721
|
-
this.beforeSubmit(
|
|
4742
|
+
this.beforeSubmit(Rejectvue_type_script_lang_js_extends({ pendingId: this.pendingId }, this.form));
|
|
4722
4743
|
return;
|
|
4723
4744
|
}
|
|
4724
4745
|
var formData = new FormData();
|
|
@@ -4726,6 +4747,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4726
4747
|
formData.append('file', this.file);
|
|
4727
4748
|
}
|
|
4728
4749
|
formData.append('pendingId', this.pendingId);
|
|
4750
|
+
this.form.userId = this.userId;
|
|
4729
4751
|
for (var key in this.form) {
|
|
4730
4752
|
if (this.form[key] !== '' && this.form[key] !== undefined) {
|
|
4731
4753
|
formData.append(key, this.form[key]);
|
|
@@ -4776,7 +4798,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4776
4798
|
params: {
|
|
4777
4799
|
pendingId: this.pendingId,
|
|
4778
4800
|
isSinglePage: false,
|
|
4779
|
-
opinion: this.form.opinion
|
|
4801
|
+
opinion: this.form.opinion,
|
|
4802
|
+
userId: this.userId
|
|
4780
4803
|
}
|
|
4781
4804
|
}).then(function (res) {
|
|
4782
4805
|
if (res.status == 'success') {
|
|
@@ -4836,8 +4859,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4836
4859
|
|
|
4837
4860
|
var Reject_component = Object(componentNormalizer["a" /* default */])(
|
|
4838
4861
|
components_Rejectvue_type_script_lang_js_,
|
|
4839
|
-
|
|
4840
|
-
|
|
4862
|
+
Rejectvue_type_template_id_0a313a78_render,
|
|
4863
|
+
Rejectvue_type_template_id_0a313a78_staticRenderFns,
|
|
4841
4864
|
false,
|
|
4842
4865
|
null,
|
|
4843
4866
|
null,
|
|
@@ -5569,6 +5592,10 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
5569
5592
|
esign: {
|
|
5570
5593
|
type: Boolean,
|
|
5571
5594
|
default: false
|
|
5595
|
+
},
|
|
5596
|
+
userId: {
|
|
5597
|
+
type: String,
|
|
5598
|
+
default: ''
|
|
5572
5599
|
}
|
|
5573
5600
|
},
|
|
5574
5601
|
data: function data() {
|
|
@@ -5738,7 +5765,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
5738
5765
|
processDefinitionId: processDefinitionId,
|
|
5739
5766
|
pendingId: pendingId,
|
|
5740
5767
|
opinion: this.form.opinion,
|
|
5741
|
-
taskAction: 'complete'
|
|
5768
|
+
taskAction: 'complete',
|
|
5769
|
+
userId: this.userId
|
|
5742
5770
|
};
|
|
5743
5771
|
var formData = new FormData();
|
|
5744
5772
|
if (this.form.isImageOpinion == 1) {
|
|
@@ -5882,6 +5910,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
5882
5910
|
_that.form.processDefinitionId = taskExamineInfo.processDefinitionId;
|
|
5883
5911
|
_that.form.isSubFlow = taskExamineInfo.isSubFlow;
|
|
5884
5912
|
_that.form.nodeId = taskExamineInfo.nodeId;
|
|
5913
|
+
_that.form.userId = _that.userId;
|
|
5885
5914
|
_that.form.nextNodeId = _that.form.nextOperate == 0 || _that.form.nextOperate == 1 ? _that.form.nextNodeId || nodeInfoMapInfo.nodeExtAttr.defaultNextNode : '';
|
|
5886
5915
|
var formData = new FormData();
|
|
5887
5916
|
if (_that.form.isImageOpinion == 1) {
|
|
@@ -6119,7 +6148,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6119
6148
|
Object(http["a" /* default */])({
|
|
6120
6149
|
url: that.baseUrl ? that.baseUrl + api["d" /* getHandleInfoHtml */] : api["d" /* getHandleInfoHtml */],
|
|
6121
6150
|
params: {
|
|
6122
|
-
pendingId: that.pendingId
|
|
6151
|
+
pendingId: that.pendingId,
|
|
6152
|
+
userId: that.userId
|
|
6123
6153
|
}
|
|
6124
6154
|
}).then(function (res) {
|
|
6125
6155
|
if (res.status == 'success') {
|
|
@@ -6283,7 +6313,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6283
6313
|
|
|
6284
6314
|
Object(http["a" /* default */])({
|
|
6285
6315
|
url: this.baseUrl ? this.baseUrl + api["v" /* toStartTaskReadHtml */] : api["v" /* toStartTaskReadHtml */],
|
|
6286
|
-
params: { pendingId: this.pendingId }
|
|
6316
|
+
params: { pendingId: this.pendingId, userId: this.userId }
|
|
6287
6317
|
}).then(function (res) {
|
|
6288
6318
|
var status = res.status,
|
|
6289
6319
|
message = res.message,
|
|
@@ -6321,7 +6351,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6321
6351
|
nextNodeId: res,
|
|
6322
6352
|
taskId: this.processObj.taskExamine.taskId,
|
|
6323
6353
|
pendingId: this.pendingId,
|
|
6324
|
-
businessId: this.taskExamineInfo.businessId
|
|
6354
|
+
businessId: this.taskExamineInfo.businessId,
|
|
6355
|
+
userId: this.userId
|
|
6325
6356
|
}
|
|
6326
6357
|
}).then(function (res) {
|
|
6327
6358
|
_this6.$toast.clear();
|
|
@@ -6462,8 +6493,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6462
6493
|
|
|
6463
6494
|
var Handle_component = Object(componentNormalizer["a" /* default */])(
|
|
6464
6495
|
components_Handlevue_type_script_lang_js_,
|
|
6465
|
-
|
|
6466
|
-
|
|
6496
|
+
Handlevue_type_template_id_51719524_render,
|
|
6497
|
+
Handlevue_type_template_id_51719524_staticRenderFns,
|
|
6467
6498
|
false,
|
|
6468
6499
|
null,
|
|
6469
6500
|
null,
|
|
@@ -6472,8 +6503,8 @@ var Handle_component = Object(componentNormalizer["a" /* default */])(
|
|
|
6472
6503
|
)
|
|
6473
6504
|
|
|
6474
6505
|
/* harmony default export */ var Handle = (Handle_component.exports);
|
|
6475
|
-
// 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/TaskRead.vue?vue&type=template&id=
|
|
6476
|
-
var
|
|
6506
|
+
// 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/TaskRead.vue?vue&type=template&id=096c8d9e&
|
|
6507
|
+
var TaskReadvue_type_template_id_096c8d9e_render = function () {
|
|
6477
6508
|
var _vm = this
|
|
6478
6509
|
var _h = _vm.$createElement
|
|
6479
6510
|
var _c = _vm._self._c || _h
|
|
@@ -6641,15 +6672,17 @@ var TaskReadvue_type_template_id_4a7f2df0_render = function () {
|
|
|
6641
6672
|
]),
|
|
6642
6673
|
])
|
|
6643
6674
|
}
|
|
6644
|
-
var
|
|
6645
|
-
|
|
6675
|
+
var TaskReadvue_type_template_id_096c8d9e_staticRenderFns = []
|
|
6676
|
+
TaskReadvue_type_template_id_096c8d9e_render._withStripped = true
|
|
6646
6677
|
|
|
6647
6678
|
|
|
6648
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=
|
|
6679
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=096c8d9e&
|
|
6649
6680
|
|
|
6650
6681
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=script&lang=js&
|
|
6651
6682
|
var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
6652
6683
|
|
|
6684
|
+
var TaskReadvue_type_script_lang_js_props;
|
|
6685
|
+
|
|
6653
6686
|
//
|
|
6654
6687
|
//
|
|
6655
6688
|
//
|
|
@@ -6760,7 +6793,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
6760
6793
|
components: {
|
|
6761
6794
|
Message: Message
|
|
6762
6795
|
},
|
|
6763
|
-
props: {
|
|
6796
|
+
props: (TaskReadvue_type_script_lang_js_props = {
|
|
6764
6797
|
appid: String,
|
|
6765
6798
|
orgId: String,
|
|
6766
6799
|
beforeSubmit: Function,
|
|
@@ -6778,7 +6811,10 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
6778
6811
|
type: [String, Number],
|
|
6779
6812
|
default: 0
|
|
6780
6813
|
}
|
|
6781
|
-
},
|
|
6814
|
+
}, TaskReadvue_type_script_lang_js_props['userId'] = {
|
|
6815
|
+
type: String,
|
|
6816
|
+
default: ''
|
|
6817
|
+
}, TaskReadvue_type_script_lang_js_props),
|
|
6782
6818
|
computed: {
|
|
6783
6819
|
params: function params() {
|
|
6784
6820
|
return {
|
|
@@ -6857,7 +6893,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
6857
6893
|
opinion: opinion,
|
|
6858
6894
|
pendingId: pendingId,
|
|
6859
6895
|
isSubFlow: taskExamine.isSubFlow,
|
|
6860
|
-
isSinglePage: taskExamine.isSinglePage
|
|
6896
|
+
isSinglePage: taskExamine.isSinglePage,
|
|
6897
|
+
userId: this.userId
|
|
6861
6898
|
}
|
|
6862
6899
|
};
|
|
6863
6900
|
Object(http["a" /* default */])(params).then(function (res) {
|
|
@@ -6921,7 +6958,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
6921
6958
|
var _that = this;
|
|
6922
6959
|
var params = {
|
|
6923
6960
|
pendingId: this.pendingId,
|
|
6924
|
-
taskAction: _that.newType
|
|
6961
|
+
taskAction: _that.newType,
|
|
6962
|
+
userId: _that.userId
|
|
6925
6963
|
};
|
|
6926
6964
|
if (_that.newType != 'taskReadAndEnd') delete params.taskAction;
|
|
6927
6965
|
|
|
@@ -6977,7 +7015,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
6977
7015
|
notificationMsg: this.form.notificationMsg,
|
|
6978
7016
|
isImageOpinion: 0,
|
|
6979
7017
|
loginType: 2,
|
|
6980
|
-
taskAction: this.type
|
|
7018
|
+
taskAction: this.type,
|
|
7019
|
+
userId: this.userId
|
|
6981
7020
|
}
|
|
6982
7021
|
};
|
|
6983
7022
|
if (this.beforeSubmit) {
|
|
@@ -7008,7 +7047,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7008
7047
|
|
|
7009
7048
|
Object(http["a" /* default */])({
|
|
7010
7049
|
url: this.baseUrl ? this.baseUrl + api["d" /* getHandleInfoHtml */] : api["d" /* getHandleInfoHtml */],
|
|
7011
|
-
params: { pendingId: this.pendingId }
|
|
7050
|
+
params: { pendingId: this.pendingId, userId: this.userId }
|
|
7012
7051
|
}).then(function (res) {
|
|
7013
7052
|
var status = res.status,
|
|
7014
7053
|
_res$data2 = res.data,
|
|
@@ -7068,6 +7107,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7068
7107
|
currentOrgProcessKey: processDefinitionId,
|
|
7069
7108
|
noticeType: this.form.notificationMsgType,
|
|
7070
7109
|
taskAction: 'create',
|
|
7110
|
+
userId: this.userId,
|
|
7071
7111
|
// notificationMsg: this.form.notificationMsg,
|
|
7072
7112
|
nextReadUserId: ids
|
|
7073
7113
|
})
|
|
@@ -7108,8 +7148,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7108
7148
|
|
|
7109
7149
|
var TaskRead_component = Object(componentNormalizer["a" /* default */])(
|
|
7110
7150
|
components_TaskReadvue_type_script_lang_js_,
|
|
7111
|
-
|
|
7112
|
-
|
|
7151
|
+
TaskReadvue_type_template_id_096c8d9e_render,
|
|
7152
|
+
TaskReadvue_type_template_id_096c8d9e_staticRenderFns,
|
|
7113
7153
|
false,
|
|
7114
7154
|
null,
|
|
7115
7155
|
null,
|
|
@@ -7118,8 +7158,8 @@ var TaskRead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
7118
7158
|
)
|
|
7119
7159
|
|
|
7120
7160
|
/* harmony default export */ var TaskRead = (TaskRead_component.exports);
|
|
7121
|
-
// 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=
|
|
7122
|
-
var
|
|
7161
|
+
// 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=1081a5be&
|
|
7162
|
+
var taskUnionExaminevue_type_template_id_1081a5be_render = function () {
|
|
7123
7163
|
var _vm = this
|
|
7124
7164
|
var _h = _vm.$createElement
|
|
7125
7165
|
var _c = _vm._self._c || _h
|
|
@@ -7153,7 +7193,6 @@ var taskUnionExaminevue_type_template_id_70a11c5a_render = function () {
|
|
|
7153
7193
|
: _vm.type == "startDraf"
|
|
7154
7194
|
? "enterprise,employee"
|
|
7155
7195
|
: "enterprise",
|
|
7156
|
-
required: "",
|
|
7157
7196
|
param: _vm.params,
|
|
7158
7197
|
baseUrl: _vm.apiBaseUrl,
|
|
7159
7198
|
paddingTop: _vm.paddingTop,
|
|
@@ -7204,7 +7243,6 @@ var taskUnionExaminevue_type_template_id_70a11c5a_render = function () {
|
|
|
7204
7243
|
_vm.isChoiceOtherOrgDept == "true"
|
|
7205
7244
|
? "enterprise,department"
|
|
7206
7245
|
: "enterprise",
|
|
7207
|
-
required: "",
|
|
7208
7246
|
baseUrl: _vm.apiBaseUrl,
|
|
7209
7247
|
paddingTop: _vm.paddingTop,
|
|
7210
7248
|
param: _vm.otherParams,
|
|
@@ -7262,11 +7300,11 @@ var taskUnionExaminevue_type_template_id_70a11c5a_render = function () {
|
|
|
7262
7300
|
]),
|
|
7263
7301
|
])
|
|
7264
7302
|
}
|
|
7265
|
-
var
|
|
7266
|
-
|
|
7303
|
+
var taskUnionExaminevue_type_template_id_1081a5be_staticRenderFns = []
|
|
7304
|
+
taskUnionExaminevue_type_template_id_1081a5be_render._withStripped = true
|
|
7267
7305
|
|
|
7268
7306
|
|
|
7269
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=
|
|
7307
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=1081a5be&
|
|
7270
7308
|
|
|
7271
7309
|
// 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&
|
|
7272
7310
|
//
|
|
@@ -7353,8 +7391,6 @@ taskUnionExaminevue_type_template_id_70a11c5a_render._withStripped = true
|
|
|
7353
7391
|
//
|
|
7354
7392
|
//
|
|
7355
7393
|
//
|
|
7356
|
-
//
|
|
7357
|
-
//
|
|
7358
7394
|
|
|
7359
7395
|
|
|
7360
7396
|
|
|
@@ -7370,6 +7406,7 @@ taskUnionExaminevue_type_template_id_70a11c5a_render._withStripped = true
|
|
|
7370
7406
|
inevitableNode: { type: String, default: '' },
|
|
7371
7407
|
appId: { type: String, default: '' },
|
|
7372
7408
|
defaultOpinion: { type: String, default: '' },
|
|
7409
|
+
userId: { type: String, default: '' },
|
|
7373
7410
|
// disabled: { type: Boolean, default: false },
|
|
7374
7411
|
// multiple: { type: Boolean, default: true },
|
|
7375
7412
|
baseUrl: { type: String, default: '' },
|
|
@@ -7461,7 +7498,8 @@ taskUnionExaminevue_type_template_id_70a11c5a_render._withStripped = true
|
|
|
7461
7498
|
url: api["i" /* isCanStartSubFlow */],
|
|
7462
7499
|
params: {
|
|
7463
7500
|
appId: this.appId,
|
|
7464
|
-
inevitableNode: this.inevitableNode
|
|
7501
|
+
inevitableNode: this.inevitableNode,
|
|
7502
|
+
userId: this.userId
|
|
7465
7503
|
},
|
|
7466
7504
|
type: 'post',
|
|
7467
7505
|
headers: { Accept: 'application/json,text/plain' }
|
|
@@ -7483,7 +7521,8 @@ taskUnionExaminevue_type_template_id_70a11c5a_render._withStripped = true
|
|
|
7483
7521
|
var _this2 = this;
|
|
7484
7522
|
|
|
7485
7523
|
var params = {
|
|
7486
|
-
pendingId: this.pendingId
|
|
7524
|
+
pendingId: this.pendingId,
|
|
7525
|
+
userId: this.userId
|
|
7487
7526
|
};
|
|
7488
7527
|
Object(http["a" /* default */])({ url: api["g" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
|
|
7489
7528
|
if (res.status === 'success') {
|
|
@@ -7578,7 +7617,7 @@ taskUnionExaminevue_type_template_id_70a11c5a_render._withStripped = true
|
|
|
7578
7617
|
|
|
7579
7618
|
var params = {
|
|
7580
7619
|
url: this.type == 'takeAdvice' ? api["y" /* toTaskTakeAdvice */] : this.type === 'startDraf' ? api["x" /* toTaskStartDraft */] : this.type == 'unionSeal' ? api["B" /* toTaskUnionSeal */] : this.type == 'twoOfficesDispatch' ? toTwoOfficesDispatch : api["A" /* toTaskUnionExamine */],
|
|
7581
|
-
params: { pendingId: this.pendingId },
|
|
7620
|
+
params: { pendingId: this.pendingId, userId: this.userId },
|
|
7582
7621
|
headers: { Accept: 'application/json,text/plain' }
|
|
7583
7622
|
};
|
|
7584
7623
|
this.$toast.loading({
|
|
@@ -7685,11 +7724,15 @@ taskUnionExaminevue_type_template_id_70a11c5a_render._withStripped = true
|
|
|
7685
7724
|
if (isOpinionRequired == 1 && !opinion && isImageOpinion == 0 || isOpinionRequired == 1 && isImageOpinion == 1 && !file) {
|
|
7686
7725
|
return this.$toast('当前步骤必须输入意见!');
|
|
7687
7726
|
}
|
|
7688
|
-
if (type == 'takeAdvice' &&
|
|
7689
|
-
return this.$toast('请选择处理对象!');
|
|
7690
|
-
} else if (isHideCurrentOrg == 0 && (nextOtherOrgObj == '' || nextOtherOrgObj == null)) {
|
|
7727
|
+
if (type == 'takeAdvice' && !nextCurrentOrgObj && isHideCurrentOrg == 0 && isHideOtherOrg == 0 && !nextOtherOrgObj) {
|
|
7691
7728
|
return this.$toast('请选择处理对象!');
|
|
7692
7729
|
}
|
|
7730
|
+
// else if (
|
|
7731
|
+
// isHideCurrentOrg == 0 &&
|
|
7732
|
+
// (nextOtherOrgObj == '' || nextOtherOrgObj == null)
|
|
7733
|
+
// ) {
|
|
7734
|
+
// return this.$toast('请选择处理对象!');
|
|
7735
|
+
// }
|
|
7693
7736
|
var info = {
|
|
7694
7737
|
opinion: opinion,
|
|
7695
7738
|
pendingId: pendingId,
|
|
@@ -7699,7 +7742,8 @@ taskUnionExaminevue_type_template_id_70a11c5a_render._withStripped = true
|
|
|
7699
7742
|
notificationType: noticeType.join(','),
|
|
7700
7743
|
choiceDeptId: choiceDeptId,
|
|
7701
7744
|
isSubFlow: isSubFlow,
|
|
7702
|
-
choiceOrgId: choiceOrgId
|
|
7745
|
+
choiceOrgId: choiceOrgId,
|
|
7746
|
+
userId: this.userId
|
|
7703
7747
|
};
|
|
7704
7748
|
var formData = new FormData();
|
|
7705
7749
|
if (isImageOpinion == 1) {
|
|
@@ -7821,8 +7865,8 @@ taskUnionExaminevue_type_template_id_70a11c5a_render._withStripped = true
|
|
|
7821
7865
|
|
|
7822
7866
|
var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
|
|
7823
7867
|
components_taskUnionExaminevue_type_script_lang_js_,
|
|
7824
|
-
|
|
7825
|
-
|
|
7868
|
+
taskUnionExaminevue_type_template_id_1081a5be_render,
|
|
7869
|
+
taskUnionExaminevue_type_template_id_1081a5be_staticRenderFns,
|
|
7826
7870
|
false,
|
|
7827
7871
|
null,
|
|
7828
7872
|
null,
|