eoss-mobiles 0.3.97 → 0.3.99
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 +21 -0
- package/lib/eoss-mobile.common.js +284 -123
- package/lib/flow-btn.js +21 -0
- package/lib/flow-list.js +21 -0
- package/lib/flow.js +244 -83
- package/lib/index.js +1 -1
- package/lib/picker.js +27 -6
- package/lib/radio.js +26 -5
- package/lib/retrial-auth.js +21 -0
- package/lib/selector.js +49 -28
- package/lib/table-column.js +21 -0
- package/lib/table.js +21 -0
- package/lib/theme-chalk/fonts/iconfont.scss +98 -98
- package/lib/theme-chalk/fonts/iconfont1.scss +90 -90
- package/lib/uploader.js +21 -0
- package/lib/utils/util.js +21 -0
- package/package.json +1 -1
- package/packages/action-sheet/index.js +5 -5
- package/packages/action-sheet/src/main.vue +32 -32
- package/packages/button/index.js +5 -5
- package/packages/button/src/main.vue +15 -15
- package/packages/button-group/index.js +5 -5
- package/packages/button-group/src/main.vue +80 -80
- package/packages/calendar/index.js +5 -5
- package/packages/calendar/src/main.vue +34 -34
- package/packages/cascader/index.js +5 -5
- package/packages/cascader/src/main.vue +39 -39
- package/packages/cell/index.js +5 -5
- package/packages/cell/src/main.vue +77 -77
- package/packages/checkbox/index.js +5 -5
- package/packages/checkbox/src/main.vue +232 -232
- package/packages/circle/index.js +5 -5
- package/packages/circle/src/main.vue +27 -27
- package/packages/count-down/index.js +5 -5
- package/packages/count-down/src/main.vue +27 -27
- package/packages/date/index.js +5 -5
- package/packages/date/src/date-time.vue +290 -290
- package/packages/date/src/main.vue +401 -401
- package/packages/empty/index.js +5 -5
- package/packages/empty/src/main.vue +16 -16
- package/packages/esign/index.js +5 -5
- package/packages/esign/src/main.vue +144 -144
- package/packages/field/index.js +5 -5
- package/packages/flow/index.js +5 -5
- package/packages/flow/src/components/Circulate.vue +595 -595
- package/packages/flow/src/components/Handle.vue +2404 -2404
- package/packages/flow/src/components/Message.vue +208 -208
- package/packages/flow/src/components/ProcessSettings.vue +342 -342
- package/packages/flow/src/components/TaskRead.vue +100 -4
- package/packages/flow/src/components/supervise.vue +139 -139
- package/packages/flow/src/flowMix.js +288 -288
- package/packages/flow/src/main.vue +116 -116
- package/packages/flow-btn/index.js +5 -5
- package/packages/flow-btn/src/main.vue +494 -494
- package/packages/flow-list/index.js +5 -5
- package/packages/flow-list/src/main.vue +248 -248
- package/packages/form/index.js +5 -5
- package/packages/grid/index.js +5 -5
- package/packages/grid/src/main.vue +486 -486
- package/packages/grid-item/index.js +5 -5
- package/packages/grid-item/src/main.vue +16 -16
- package/packages/image/index.js +5 -5
- package/packages/image/src/main.vue +12 -12
- package/packages/image-preview/index.js +5 -5
- package/packages/list/index.js +5 -5
- package/packages/list/src/main.vue +32 -32
- package/packages/loading/index.js +5 -5
- package/packages/loading/src/main.vue +19 -19
- package/packages/nav-bar/index.js +5 -5
- package/packages/nav-bar/src/main.vue +24 -24
- package/packages/notice-bar/index.js +5 -5
- package/packages/notice-bar/src/main.vue +15 -15
- package/packages/pagination/index.js +5 -5
- package/packages/pagination/src/main.vue +73 -73
- package/packages/picker/index.js +5 -5
- package/packages/picker/src/main.vue +604 -604
- package/packages/popover/index.js +5 -5
- package/packages/popover/src/main.vue +32 -32
- package/packages/popup/index.js +5 -5
- package/packages/popup/src/main.vue +27 -27
- package/packages/pull-refresh/index.js +5 -5
- package/packages/pull-refresh/src/main.vue +31 -31
- package/packages/radio/index.js +5 -5
- package/packages/radio/src/main.vue +179 -179
- package/packages/rate/index.js +5 -5
- package/packages/rate/src/main.vue +26 -26
- package/packages/retrial-auth/index.js +5 -5
- package/packages/retrial-auth/src/main.vue +257 -257
- package/packages/search/index.js +5 -5
- package/packages/search/src/main.vue +39 -39
- package/packages/selector/index.js +5 -5
- package/packages/selector/src/main.vue +186 -186
- package/packages/selector/src/selector-tree.vue +1117 -1117
- package/packages/selector/src/tree.vue +405 -405
- package/packages/skeleton/index.js +5 -5
- package/packages/skeleton/src/main.vue +17 -17
- package/packages/stepper/index.js +5 -5
- package/packages/stepper/src/main.vue +25 -25
- package/packages/swipe/index.js +5 -5
- package/packages/swipe/src/main.vue +42 -42
- package/packages/switch/index.js +5 -5
- package/packages/switch/src/main.vue +38 -38
- package/packages/tab/index.js +5 -5
- package/packages/tab/src/main.vue +16 -16
- package/packages/table/index.js +5 -5
- package/packages/table/src/main.vue +1006 -1006
- package/packages/table-column/index.js +5 -5
- package/packages/table-column/src/main.vue +931 -931
- package/packages/table-column/src/mixins/table.js +12 -12
- package/packages/tabs/index.js +5 -5
- package/packages/tabs/src/main.vue +34 -34
- package/packages/tag/index.js +5 -5
- package/packages/tag/src/main.vue +16 -16
- package/packages/theme-chalk/gulpfile.js +25 -0
- package/packages/theme-chalk/src/base.scss +195 -195
- package/packages/theme-chalk/src/button-group.scss +25 -25
- package/packages/theme-chalk/src/button.scss +2 -2
- package/packages/theme-chalk/src/calendar.scss +11 -11
- package/packages/theme-chalk/src/cascader.scss +11 -11
- package/packages/theme-chalk/src/cell.scss +14 -14
- package/packages/theme-chalk/src/checkbox.scss +9 -9
- package/packages/theme-chalk/src/circle.scss +6 -6
- package/packages/theme-chalk/src/common/var.scss +1525 -1525
- package/packages/theme-chalk/src/esign.scss +51 -51
- package/packages/theme-chalk/src/field.scss +98 -98
- package/packages/theme-chalk/src/flow-btn.scss +99 -99
- package/packages/theme-chalk/src/flow-list.scss +122 -122
- package/packages/theme-chalk/src/fonts/iconfont.scss +98 -98
- package/packages/theme-chalk/src/fonts/iconfont1.scss +90 -90
- package/packages/theme-chalk/src/form.scss +33 -33
- package/packages/theme-chalk/src/grid-item.scss +16 -16
- package/packages/theme-chalk/src/grid.scss +46 -46
- package/packages/theme-chalk/src/icon.scss +1661 -1661
- package/packages/theme-chalk/src/mixins/color.scss +117 -117
- package/packages/theme-chalk/src/navbar.scss +5 -5
- package/packages/theme-chalk/src/pagination.scss +12 -12
- package/packages/theme-chalk/src/picker.scss +31 -31
- package/packages/theme-chalk/src/radio.scss +6 -6
- package/packages/theme-chalk/src/retrial-auth.scss +28 -28
- package/packages/theme-chalk/src/selector.scss +247 -247
- package/packages/theme-chalk/src/stepper.scss +9 -9
- package/packages/theme-chalk/src/switch.scss +5 -5
- package/packages/theme-chalk/src/table.scss +86 -86
- package/packages/theme-chalk/src/tabs.scss +31 -31
- package/packages/theme-chalk/src/tag.scss +12 -12
- package/packages/theme-chalk/src/theme.scss +1 -1
- package/packages/theme-chalk/src/tree.scss +127 -127
- package/packages/uploader/index.js +5 -5
- package/src/config/api.js +190 -190
- package/src/index.js +1 -1
- package/src/utils/axios.js +217 -217
- package/src/utils/date-util.js +312 -312
- package/src/utils/http.js +106 -106
- package/src/utils/rules.js +18 -18
- package/src/utils/store.js +21 -21
- package/src/utils/util.js +21 -0
- package/CHANGELOG.md +0 -95
- package/packages/theme-chalk/lib/action-sheet.css +0 -0
- package/packages/theme-chalk/lib/base.css +0 -1
- package/packages/theme-chalk/lib/button-group.css +0 -1
- package/packages/theme-chalk/lib/button.css +0 -1
- package/packages/theme-chalk/lib/calendar.css +0 -1
- package/packages/theme-chalk/lib/cascader.css +0 -1
- package/packages/theme-chalk/lib/cell.css +0 -1
- package/packages/theme-chalk/lib/checkbox.css +0 -1
- package/packages/theme-chalk/lib/circle.css +0 -1
- package/packages/theme-chalk/lib/count-down.css +0 -0
- package/packages/theme-chalk/lib/date.css +0 -0
- package/packages/theme-chalk/lib/empty.css +0 -0
- package/packages/theme-chalk/lib/esign.css +0 -1
- package/packages/theme-chalk/lib/field.css +0 -1
- package/packages/theme-chalk/lib/flow-btn.css +0 -1
- package/packages/theme-chalk/lib/flow-list-task-read.css +0 -1
- package/packages/theme-chalk/lib/flow-list.css +0 -1
- package/packages/theme-chalk/lib/flow.css +0 -1
- package/packages/theme-chalk/lib/fonts/iconfont.scss +0 -98
- package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont1.scss +0 -90
- package/packages/theme-chalk/lib/form.css +0 -1
- package/packages/theme-chalk/lib/grid-item.css +0 -1
- package/packages/theme-chalk/lib/grid.css +0 -1
- package/packages/theme-chalk/lib/icon.css +0 -1
- package/packages/theme-chalk/lib/image-preview.css +0 -0
- package/packages/theme-chalk/lib/image.css +0 -0
- package/packages/theme-chalk/lib/index.css +0 -1
- package/packages/theme-chalk/lib/list.css +0 -0
- package/packages/theme-chalk/lib/loading.css +0 -0
- package/packages/theme-chalk/lib/nav-bar.css +0 -0
- package/packages/theme-chalk/lib/navbar.css +0 -1
- package/packages/theme-chalk/lib/notice-bar.css +0 -0
- package/packages/theme-chalk/lib/pagination.css +0 -1
- package/packages/theme-chalk/lib/picker.css +0 -1
- package/packages/theme-chalk/lib/popover.css +0 -0
- package/packages/theme-chalk/lib/popup.css +0 -0
- package/packages/theme-chalk/lib/pull-refresh.css +0 -0
- package/packages/theme-chalk/lib/radio.css +0 -1
- package/packages/theme-chalk/lib/rate.css +0 -0
- package/packages/theme-chalk/lib/retrial-auth.css +0 -1
- package/packages/theme-chalk/lib/search.css +0 -0
- package/packages/theme-chalk/lib/selector.css +0 -1
- package/packages/theme-chalk/lib/skeleton.css +0 -0
- package/packages/theme-chalk/lib/stepper.css +0 -1
- package/packages/theme-chalk/lib/swipe.css +0 -0
- package/packages/theme-chalk/lib/switch.css +0 -1
- package/packages/theme-chalk/lib/tab.css +0 -0
- package/packages/theme-chalk/lib/table-column.css +0 -0
- package/packages/theme-chalk/lib/table.css +0 -1
- package/packages/theme-chalk/lib/tabs.css +0 -1
- package/packages/theme-chalk/lib/tag.css +0 -1
- package/packages/theme-chalk/lib/theme.css +0 -0
- package/packages/theme-chalk/lib/tree.css +0 -1
- package/packages/theme-chalk/lib/uploader.css +0 -0
package/lib/flow.js
CHANGED
|
@@ -606,6 +606,26 @@ var getValues = function getValues(obj, flag) {
|
|
|
606
606
|
return val;
|
|
607
607
|
};
|
|
608
608
|
|
|
609
|
+
/**
|
|
610
|
+
* uuid
|
|
611
|
+
* @desc:唯一id
|
|
612
|
+
* @author huangbo
|
|
613
|
+
* @date 2022年5月7日
|
|
614
|
+
* @param {number} [len] - 长度
|
|
615
|
+
**/
|
|
616
|
+
var uuid = function uuid(len) {
|
|
617
|
+
len = len || 32;
|
|
618
|
+
var s = 4;
|
|
619
|
+
var str = '';
|
|
620
|
+
function S4() {
|
|
621
|
+
return ((1 + Math.random()) * 0x10000 | 0).toString(16).substring(1);
|
|
622
|
+
}
|
|
623
|
+
for (var i = 0; i < Math.ceil(len / s); i++) {
|
|
624
|
+
str += S4();
|
|
625
|
+
}
|
|
626
|
+
return str.substring(0, len);
|
|
627
|
+
};
|
|
628
|
+
|
|
609
629
|
/**
|
|
610
630
|
* loading 需全局引入element-ui
|
|
611
631
|
* @desc:loading
|
|
@@ -1496,6 +1516,7 @@ var toFunction = function toFunction(str) {
|
|
|
1496
1516
|
jsGoPayrollIndexAct: jsGoPayrollIndexAct,
|
|
1497
1517
|
exportXls: exportXls,
|
|
1498
1518
|
generateUUID: generateUUID,
|
|
1519
|
+
uuid: uuid,
|
|
1499
1520
|
toFunction: toFunction
|
|
1500
1521
|
});
|
|
1501
1522
|
|
|
@@ -5436,8 +5457,8 @@ var StartFlow_component = Object(componentNormalizer["a" /* default */])(
|
|
|
5436
5457
|
)
|
|
5437
5458
|
|
|
5438
5459
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
5439
|
-
// 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=
|
|
5440
|
-
var
|
|
5460
|
+
// 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=b58a476a
|
|
5461
|
+
var Handlevue_type_template_id_b58a476a_render = function () {
|
|
5441
5462
|
var _vm = this
|
|
5442
5463
|
var _h = _vm.$createElement
|
|
5443
5464
|
var _c = _vm._self._c || _h
|
|
@@ -7052,11 +7073,11 @@ var Handlevue_type_template_id_4a8afaf6_render = function () {
|
|
|
7052
7073
|
1
|
|
7053
7074
|
)
|
|
7054
7075
|
}
|
|
7055
|
-
var
|
|
7056
|
-
|
|
7076
|
+
var Handlevue_type_template_id_b58a476a_staticRenderFns = []
|
|
7077
|
+
Handlevue_type_template_id_b58a476a_render._withStripped = true
|
|
7057
7078
|
|
|
7058
7079
|
|
|
7059
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
7080
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=b58a476a
|
|
7060
7081
|
|
|
7061
7082
|
// 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=1f631c2c
|
|
7062
7083
|
var Rejectvue_type_template_id_1f631c2c_render = function () {
|
|
@@ -9711,8 +9732,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
9711
9732
|
_this10.showFlowBtn = true;
|
|
9712
9733
|
if (status === 'success') {
|
|
9713
9734
|
_this10.taskExamineInfo = taskExamine;
|
|
9714
|
-
_this10.isCanFenyue = isCanFenyue;
|
|
9715
|
-
_this10.taskReadOpinionRequired = taskReadOpinionRequired;
|
|
9735
|
+
_this10.isCanFenyue = isCanFenyue == 1;
|
|
9736
|
+
_this10.taskReadOpinionRequired = taskReadOpinionRequired == 'true';
|
|
9716
9737
|
// if (this.nodeName) {
|
|
9717
9738
|
_this10.processObj.taskExamine.nodeName = '分阅';
|
|
9718
9739
|
_this10.submitButtonName = submitButtonName;
|
|
@@ -9902,8 +9923,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
9902
9923
|
|
|
9903
9924
|
var Handle_component = Object(componentNormalizer["a" /* default */])(
|
|
9904
9925
|
components_Handlevue_type_script_lang_js,
|
|
9905
|
-
|
|
9906
|
-
|
|
9926
|
+
Handlevue_type_template_id_b58a476a_render,
|
|
9927
|
+
Handlevue_type_template_id_b58a476a_staticRenderFns,
|
|
9907
9928
|
false,
|
|
9908
9929
|
null,
|
|
9909
9930
|
null,
|
|
@@ -10702,8 +10723,8 @@ var Circulate_component = Object(componentNormalizer["a" /* default */])(
|
|
|
10702
10723
|
)
|
|
10703
10724
|
|
|
10704
10725
|
/* harmony default export */ var Circulate = (Circulate_component.exports);
|
|
10705
|
-
// 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=
|
|
10706
|
-
var
|
|
10726
|
+
// 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=ecdb611c
|
|
10727
|
+
var TaskReadvue_type_template_id_ecdb611c_render = function () {
|
|
10707
10728
|
var _vm = this
|
|
10708
10729
|
var _h = _vm.$createElement
|
|
10709
10730
|
var _c = _vm._self._c || _h
|
|
@@ -10932,6 +10953,50 @@ var TaskReadvue_type_template_id_2d4c0a2e_render = function () {
|
|
|
10932
10953
|
1
|
|
10933
10954
|
)
|
|
10934
10955
|
: _vm._e(),
|
|
10956
|
+
_vm.withSubmitCurrentTaskReadEnabled
|
|
10957
|
+
? _c(
|
|
10958
|
+
"div",
|
|
10959
|
+
{ staticClass: "item" },
|
|
10960
|
+
[
|
|
10961
|
+
_c(
|
|
10962
|
+
"em-input",
|
|
10963
|
+
{
|
|
10964
|
+
staticClass: "read-type",
|
|
10965
|
+
attrs: { label: "同步提交", readonly: "" },
|
|
10966
|
+
},
|
|
10967
|
+
[
|
|
10968
|
+
_c("template", { slot: "input" }, [
|
|
10969
|
+
_c(
|
|
10970
|
+
"div",
|
|
10971
|
+
{
|
|
10972
|
+
staticClass: "template-input-two",
|
|
10973
|
+
staticStyle: { width: "100%" },
|
|
10974
|
+
},
|
|
10975
|
+
[
|
|
10976
|
+
_c("em-radio-group", {
|
|
10977
|
+
attrs: {
|
|
10978
|
+
data: _vm.withRadioData,
|
|
10979
|
+
direction: "horizontal",
|
|
10980
|
+
},
|
|
10981
|
+
model: {
|
|
10982
|
+
value: _vm.isWith,
|
|
10983
|
+
callback: function ($$v) {
|
|
10984
|
+
_vm.isWith = $$v
|
|
10985
|
+
},
|
|
10986
|
+
expression: "isWith",
|
|
10987
|
+
},
|
|
10988
|
+
}),
|
|
10989
|
+
],
|
|
10990
|
+
1
|
|
10991
|
+
),
|
|
10992
|
+
]),
|
|
10993
|
+
],
|
|
10994
|
+
2
|
|
10995
|
+
),
|
|
10996
|
+
],
|
|
10997
|
+
1
|
|
10998
|
+
)
|
|
10999
|
+
: _vm._e(),
|
|
10935
11000
|
_c(
|
|
10936
11001
|
"div",
|
|
10937
11002
|
{ staticClass: "item" },
|
|
@@ -10979,11 +11044,11 @@ var TaskReadvue_type_template_id_2d4c0a2e_render = function () {
|
|
|
10979
11044
|
]),
|
|
10980
11045
|
])
|
|
10981
11046
|
}
|
|
10982
|
-
var
|
|
10983
|
-
|
|
11047
|
+
var TaskReadvue_type_template_id_ecdb611c_staticRenderFns = []
|
|
11048
|
+
TaskReadvue_type_template_id_ecdb611c_render._withStripped = true
|
|
10984
11049
|
|
|
10985
11050
|
|
|
10986
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=
|
|
11051
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=ecdb611c
|
|
10987
11052
|
|
|
10988
11053
|
// 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
|
|
10989
11054
|
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; };
|
|
@@ -11113,6 +11178,20 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11113
11178
|
//
|
|
11114
11179
|
//
|
|
11115
11180
|
//
|
|
11181
|
+
//
|
|
11182
|
+
//
|
|
11183
|
+
//
|
|
11184
|
+
//
|
|
11185
|
+
//
|
|
11186
|
+
//
|
|
11187
|
+
//
|
|
11188
|
+
//
|
|
11189
|
+
//
|
|
11190
|
+
//
|
|
11191
|
+
//
|
|
11192
|
+
//
|
|
11193
|
+
//
|
|
11194
|
+
|
|
11116
11195
|
|
|
11117
11196
|
|
|
11118
11197
|
|
|
@@ -11122,9 +11201,13 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11122
11201
|
/* harmony default export */ var TaskReadvue_type_script_lang_js = ({
|
|
11123
11202
|
data: function data() {
|
|
11124
11203
|
return {
|
|
11204
|
+
withSubmitCurrentTaskReadEnabled: false,
|
|
11205
|
+
taskReadOpinionRequired: false,
|
|
11125
11206
|
nextNode: {},
|
|
11126
11207
|
isSync: '0',
|
|
11127
11208
|
radioData: [{ name: '普通分阅', value: '0' }, { name: '同步办理', value: '1' }],
|
|
11209
|
+
isWith: '0',
|
|
11210
|
+
withRadioData: [{ name: '提交', value: '0' }, { name: '不提交', value: '1' }],
|
|
11128
11211
|
isSyncCopy: false,
|
|
11129
11212
|
readOnlyNotificationType: '',
|
|
11130
11213
|
defaultNotificationMessage: '',
|
|
@@ -11155,6 +11238,10 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11155
11238
|
Opinion: Opinion
|
|
11156
11239
|
},
|
|
11157
11240
|
props: {
|
|
11241
|
+
opinionType: {
|
|
11242
|
+
type: String,
|
|
11243
|
+
default: 'picker'
|
|
11244
|
+
},
|
|
11158
11245
|
appid: String,
|
|
11159
11246
|
orgId: String,
|
|
11160
11247
|
beforeSubmit: Function,
|
|
@@ -11163,6 +11250,10 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11163
11250
|
baseUrl: String,
|
|
11164
11251
|
apiBaseUrl: String,
|
|
11165
11252
|
type: String,
|
|
11253
|
+
taskAction: {
|
|
11254
|
+
type: String,
|
|
11255
|
+
default: ''
|
|
11256
|
+
},
|
|
11166
11257
|
readParams: {
|
|
11167
11258
|
type: Object,
|
|
11168
11259
|
default: undefined
|
|
@@ -11241,6 +11332,69 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11241
11332
|
|
|
11242
11333
|
|
|
11243
11334
|
methods: {
|
|
11335
|
+
subRead: function subRead() {
|
|
11336
|
+
var _this = this;
|
|
11337
|
+
|
|
11338
|
+
var _taskExamine = this.taskExamine,
|
|
11339
|
+
businessId = _taskExamine.businessId,
|
|
11340
|
+
appId = _taskExamine.appId,
|
|
11341
|
+
processDefinitionId = _taskExamine.processDefinitionId,
|
|
11342
|
+
pendingId = _taskExamine.pendingId;
|
|
11343
|
+
|
|
11344
|
+
if (this.taskReadOpinionRequired == 'true' && !this.form.handleExplain) return this.$toast('分阅阅结必须输入意见!');
|
|
11345
|
+
var params = {
|
|
11346
|
+
businessId: businessId,
|
|
11347
|
+
appId: appId,
|
|
11348
|
+
processDefinitionId: processDefinitionId,
|
|
11349
|
+
pendingId: pendingId,
|
|
11350
|
+
opinion: this.form.handleExplain,
|
|
11351
|
+
taskAction: 'complete',
|
|
11352
|
+
mobileKey: util["a" /* default */].getStorage('deviceId') || '123',
|
|
11353
|
+
userId: this.userId || util["a" /* default */].getStorage('userId')
|
|
11354
|
+
};
|
|
11355
|
+
var formData = new FormData();
|
|
11356
|
+
|
|
11357
|
+
for (var key in params) {
|
|
11358
|
+
if (params[key] !== '' && params[key] !== undefined) {
|
|
11359
|
+
formData.append(key, params[key]);
|
|
11360
|
+
}
|
|
11361
|
+
}
|
|
11362
|
+
this.$toast.loading({
|
|
11363
|
+
message: '加载中...',
|
|
11364
|
+
forbidClick: true,
|
|
11365
|
+
loadingType: 'spinner',
|
|
11366
|
+
overlay: true,
|
|
11367
|
+
duration: 0
|
|
11368
|
+
});
|
|
11369
|
+
Object(http["a" /* default */])({
|
|
11370
|
+
url: this.baseUrl ? this.baseUrl + api["O" /* taskReadHtml */] : api["O" /* taskReadHtml */],
|
|
11371
|
+
headers: {
|
|
11372
|
+
Accept: 'application/json,text/plain'
|
|
11373
|
+
},
|
|
11374
|
+
type: 'post',
|
|
11375
|
+
params: formData,
|
|
11376
|
+
format: false
|
|
11377
|
+
}).then(function (res) {
|
|
11378
|
+
var status = res.status,
|
|
11379
|
+
message = res.message;
|
|
11380
|
+
|
|
11381
|
+
_this.$toast.clear();
|
|
11382
|
+
if (status === 'success') {
|
|
11383
|
+
_this.$toast.success('提交成功');
|
|
11384
|
+
_this.$parent.$emit('success', 'submit');
|
|
11385
|
+
} else {
|
|
11386
|
+
_this.$toast(message || '系统错误,请联系管理员!');
|
|
11387
|
+
setTimeout(function () {
|
|
11388
|
+
_this.$parent.$emit('error');
|
|
11389
|
+
}, 1000);
|
|
11390
|
+
}
|
|
11391
|
+
}).catch(function (err) {
|
|
11392
|
+
_this.loading.close();
|
|
11393
|
+
if (err.message && err.message !== 'canceled') {
|
|
11394
|
+
_this.$toast(err.message);
|
|
11395
|
+
}
|
|
11396
|
+
});
|
|
11397
|
+
},
|
|
11244
11398
|
handlePop: function handlePop(val) {
|
|
11245
11399
|
this.$parent.$emit('opinion-change', val);
|
|
11246
11400
|
},
|
|
@@ -11253,36 +11407,36 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11253
11407
|
|
|
11254
11408
|
//获取通知信息
|
|
11255
11409
|
getMessage: function getMessage() {
|
|
11256
|
-
var
|
|
11410
|
+
var _this2 = this;
|
|
11257
11411
|
|
|
11258
11412
|
var params = {
|
|
11259
11413
|
appId: this.readParams.appId
|
|
11260
11414
|
};
|
|
11261
11415
|
Object(http["a" /* default */])({ url: api["u" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
|
|
11262
11416
|
if (res.status === 'success') {
|
|
11263
|
-
|
|
11264
|
-
|
|
11417
|
+
_this2.defaultNotificationMessage = res.message;
|
|
11418
|
+
_this2.form.notificationMsg = res.message;
|
|
11265
11419
|
}
|
|
11266
11420
|
}).catch(function (err) {
|
|
11267
11421
|
if (err.message && err.message !== 'canceled') {
|
|
11268
|
-
|
|
11422
|
+
_this2.$toast(err.message);
|
|
11269
11423
|
}
|
|
11270
11424
|
});
|
|
11271
11425
|
},
|
|
11272
11426
|
|
|
11273
11427
|
// 转办提交
|
|
11274
11428
|
subTaskTransfer: function subTaskTransfer() {
|
|
11275
|
-
var
|
|
11429
|
+
var _this3 = this;
|
|
11276
11430
|
|
|
11277
11431
|
if (!this.nextReadUserSelectList || this.nextReadUserSelectList.length === 0) {
|
|
11278
11432
|
this.$toast('请选择转办对象');
|
|
11279
11433
|
return;
|
|
11280
11434
|
}
|
|
11281
|
-
var
|
|
11282
|
-
choiceDeptId =
|
|
11283
|
-
choiceOrgId =
|
|
11284
|
-
bCode =
|
|
11285
|
-
bName =
|
|
11435
|
+
var _taskExamine2 = this.taskExamine,
|
|
11436
|
+
choiceDeptId = _taskExamine2.choiceDeptId,
|
|
11437
|
+
choiceOrgId = _taskExamine2.choiceOrgId,
|
|
11438
|
+
bCode = _taskExamine2.bCode,
|
|
11439
|
+
bName = _taskExamine2.bName;
|
|
11286
11440
|
var opinion = this.opinion,
|
|
11287
11441
|
pendingId = this.pendingId;
|
|
11288
11442
|
|
|
@@ -11311,25 +11465,25 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11311
11465
|
duration: 0
|
|
11312
11466
|
});
|
|
11313
11467
|
Object(http["a" /* default */])(params).then(function (res) {
|
|
11314
|
-
|
|
11468
|
+
_this3.$toast.clear();
|
|
11315
11469
|
var message = res.message,
|
|
11316
11470
|
status = res.status;
|
|
11317
11471
|
|
|
11318
11472
|
if (status === 'success') {
|
|
11319
|
-
|
|
11320
|
-
|
|
11473
|
+
_this3.$toast('操作成功');
|
|
11474
|
+
_this3.$parent.$emit('success');
|
|
11321
11475
|
} else {
|
|
11322
|
-
|
|
11476
|
+
_this3.$toast(message || '系统错误,请联系管理员!');
|
|
11323
11477
|
}
|
|
11324
11478
|
}).catch(function (err) {
|
|
11325
|
-
|
|
11479
|
+
_this3.$toast.clear();
|
|
11326
11480
|
if (err.message && err.message !== 'canceled') {
|
|
11327
|
-
|
|
11481
|
+
_this3.$toast(err.message);
|
|
11328
11482
|
}
|
|
11329
11483
|
});
|
|
11330
11484
|
},
|
|
11331
11485
|
getFind: function getFind() {
|
|
11332
|
-
var
|
|
11486
|
+
var _this4 = this;
|
|
11333
11487
|
|
|
11334
11488
|
this.$toast.loading({
|
|
11335
11489
|
message: '加载中...',
|
|
@@ -11346,37 +11500,37 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11346
11500
|
data = res.data;
|
|
11347
11501
|
|
|
11348
11502
|
if (status === 'success') {
|
|
11349
|
-
if (
|
|
11350
|
-
|
|
11351
|
-
|
|
11503
|
+
if (_this4.hideMessage) return;
|
|
11504
|
+
_this4.form.notificationMsgType = message.split(',');
|
|
11505
|
+
_this4.defaultNotificationType = message.split(',');
|
|
11352
11506
|
if (data) {
|
|
11353
|
-
|
|
11354
|
-
|
|
11507
|
+
_this4.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
|
|
11508
|
+
_this4.readOnlyNotificationType = data.readOnlyNotificationType;
|
|
11355
11509
|
}
|
|
11356
11510
|
} else {
|
|
11357
11511
|
setTimeout(function () {
|
|
11358
|
-
|
|
11512
|
+
_this4.goBack();
|
|
11359
11513
|
}, 1000);
|
|
11360
|
-
|
|
11514
|
+
_this4.$toast.error(message || '系统错误,请联系管理员!');
|
|
11361
11515
|
}
|
|
11362
|
-
if (
|
|
11363
|
-
|
|
11516
|
+
if (_this4.type === 'transfer') {
|
|
11517
|
+
_this4.toTaskTransfer();
|
|
11364
11518
|
} else {
|
|
11365
|
-
if (!
|
|
11366
|
-
|
|
11519
|
+
if (!_this4.readParams) {
|
|
11520
|
+
_this4.getProcessObjNew();
|
|
11367
11521
|
} else {
|
|
11368
|
-
|
|
11522
|
+
_this4.$toast.clear();
|
|
11369
11523
|
}
|
|
11370
11524
|
// this.getProcessObjNew();
|
|
11371
11525
|
}
|
|
11372
11526
|
}).catch(function (err) {
|
|
11373
11527
|
if (err.message && err.message !== 'canceled') {
|
|
11374
|
-
|
|
11528
|
+
_this4.$message.error(err.message);
|
|
11375
11529
|
}
|
|
11376
11530
|
});
|
|
11377
11531
|
},
|
|
11378
11532
|
toTaskTransfer: function toTaskTransfer() {
|
|
11379
|
-
var
|
|
11533
|
+
var _this5 = this;
|
|
11380
11534
|
|
|
11381
11535
|
var opinion = this.opinion,
|
|
11382
11536
|
pendingId = this.pendingId,
|
|
@@ -11404,20 +11558,20 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11404
11558
|
readOnlyNotificationType = _res$data.readOnlyNotificationType,
|
|
11405
11559
|
notificationMessageReadOnly = _res$data.notificationMessageReadOnly;
|
|
11406
11560
|
|
|
11407
|
-
|
|
11561
|
+
_this5.$toast.clear();
|
|
11408
11562
|
if (status == 'success') {
|
|
11409
|
-
|
|
11410
|
-
|
|
11411
|
-
|
|
11563
|
+
_this5.isMultipleTransfer(nodeInfoMap.nodeExtAttr.userSelectionType, choiceOrgId, choiceDeptId);
|
|
11564
|
+
_this5.nextNode.nodeName = taskExamine.nodeName;
|
|
11565
|
+
_this5.transferInfo = taskExamine;
|
|
11412
11566
|
} else {
|
|
11413
|
-
|
|
11567
|
+
_this5.$toast(message || '系统错误,请联系管理员!');
|
|
11414
11568
|
setTimeout(function () {
|
|
11415
|
-
|
|
11569
|
+
_this5.goBack();
|
|
11416
11570
|
}, 1000);
|
|
11417
11571
|
}
|
|
11418
11572
|
}).catch(function (err) {
|
|
11419
11573
|
if (err.message && err.message !== 'canceled') {
|
|
11420
|
-
|
|
11574
|
+
_this5.$toast(err.message);
|
|
11421
11575
|
}
|
|
11422
11576
|
});
|
|
11423
11577
|
},
|
|
@@ -11487,12 +11641,12 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11487
11641
|
this.form.notificationMsg = obj.notificationMsg;
|
|
11488
11642
|
},
|
|
11489
11643
|
getTaskRead: function getTaskRead() {
|
|
11490
|
-
var
|
|
11644
|
+
var _this6 = this;
|
|
11491
11645
|
|
|
11492
11646
|
var params = {
|
|
11493
11647
|
appId: this.processObj.taskExamine.appId,
|
|
11494
11648
|
businessId: this.processObj.taskExamine.businessId,
|
|
11495
|
-
|
|
11649
|
+
taskAction: this.taskAction,
|
|
11496
11650
|
userId: this.userId,
|
|
11497
11651
|
mobileKey: util["a" /* default */].getStorage('deviceId') || '123'
|
|
11498
11652
|
};
|
|
@@ -11501,19 +11655,21 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11501
11655
|
params: params
|
|
11502
11656
|
}).then(function (res) {
|
|
11503
11657
|
if (res.status == 'success' || res.rCode == 0) {
|
|
11504
|
-
|
|
11505
|
-
|
|
11658
|
+
_this6.selectPersonValue = res.data.selectPersonValue;
|
|
11659
|
+
_this6.withSubmitCurrentTaskReadEnabled = res.data.withSubmitCurrentTaskReadEnabled;
|
|
11660
|
+
_this6.isSyncCopy = res.data.isSyncCopy == 1;
|
|
11506
11661
|
if (res.data.taskHandleReadUserSelectLabelName) {
|
|
11507
|
-
|
|
11662
|
+
_this6.radioData[1].name = res.data.taskHandleReadUserSelectLabelName;
|
|
11508
11663
|
}
|
|
11509
|
-
|
|
11664
|
+
_this6.isMultiple();
|
|
11510
11665
|
}
|
|
11511
11666
|
});
|
|
11512
11667
|
},
|
|
11513
11668
|
getProcessObjNew: function getProcessObjNew() {
|
|
11514
|
-
var
|
|
11669
|
+
var _this7 = this;
|
|
11515
11670
|
|
|
11516
11671
|
var _that = this;
|
|
11672
|
+
console.log('pendingId', this.taskAction);
|
|
11517
11673
|
var params = {
|
|
11518
11674
|
pendingId: this.pendingId,
|
|
11519
11675
|
taskAction: _that.newType,
|
|
@@ -11528,17 +11684,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11528
11684
|
}).then(function (res) {
|
|
11529
11685
|
_that.$toast.clear();
|
|
11530
11686
|
if (res.status == 'success') {
|
|
11531
|
-
|
|
11687
|
+
_this7.processObj = res.data;
|
|
11532
11688
|
// this.notificationMsgType = res.data.defaultNotificationType.split(',');
|
|
11533
11689
|
// this.isMultiple()
|
|
11534
|
-
|
|
11535
|
-
|
|
11536
|
-
|
|
11690
|
+
_this7.taskReadOpinionRequired = res.data.taskReadOpinionRequired == 'true';
|
|
11691
|
+
_this7.getTaskRead();
|
|
11692
|
+
_this7.taskExamine = res.data.taskExamine;
|
|
11537
11693
|
// console.log(this.taskExamine, 'taskExaminetaskExaminetaskExamine');
|
|
11538
11694
|
} else {
|
|
11539
11695
|
_that.$toast(res.message);
|
|
11540
11696
|
setTimeout(function () {
|
|
11541
|
-
|
|
11697
|
+
_this7.goBack();
|
|
11542
11698
|
}, 1000);
|
|
11543
11699
|
}
|
|
11544
11700
|
});
|
|
@@ -11570,7 +11726,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11570
11726
|
// }
|
|
11571
11727
|
},
|
|
11572
11728
|
onSubmitReadEndNew: function onSubmitReadEndNew() {
|
|
11573
|
-
var
|
|
11729
|
+
var _this8 = this;
|
|
11574
11730
|
|
|
11575
11731
|
var _that = this;
|
|
11576
11732
|
var params = {
|
|
@@ -11602,17 +11758,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11602
11758
|
|
|
11603
11759
|
Object(http["a" /* default */])(params).then(function (res) {
|
|
11604
11760
|
if (res.rCode == 0) {
|
|
11605
|
-
|
|
11606
|
-
|
|
11761
|
+
_this8.$toast('操作成功');
|
|
11762
|
+
_this8.$parent.$emit('success');
|
|
11607
11763
|
} else {
|
|
11608
|
-
|
|
11764
|
+
_this8.$toast(res.msg);
|
|
11609
11765
|
}
|
|
11610
11766
|
}).catch(function (err) {
|
|
11611
|
-
|
|
11767
|
+
_this8.$toast('数据返回失败');
|
|
11612
11768
|
});
|
|
11613
11769
|
},
|
|
11614
11770
|
getHandleInfoHtml: function getHandleInfoHtml() {
|
|
11615
|
-
var
|
|
11771
|
+
var _this9 = this;
|
|
11616
11772
|
|
|
11617
11773
|
Object(http["a" /* default */])({
|
|
11618
11774
|
url: this.baseUrl ? this.baseUrl + api["r" /* getHandleInfoHtml */] : api["r" /* getHandleInfoHtml */],
|
|
@@ -11626,8 +11782,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11626
11782
|
defaultNotificationMessage = _res$data2.defaultNotificationMessage;
|
|
11627
11783
|
|
|
11628
11784
|
if (status == 'success') {
|
|
11629
|
-
|
|
11630
|
-
|
|
11785
|
+
_this9.defaultNotificationMessage = defaultNotificationMessage;
|
|
11786
|
+
_this9.form.notificationMsg = defaultNotificationMessage;
|
|
11631
11787
|
if (choiceDeptId) {
|
|
11632
11788
|
taskExamine.choiceDeptId = choiceDeptId;
|
|
11633
11789
|
}
|
|
@@ -11635,18 +11791,18 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11635
11791
|
taskExamine.choiceOrgId = choiceOrgId;
|
|
11636
11792
|
}
|
|
11637
11793
|
if (taskExamine) {
|
|
11638
|
-
|
|
11794
|
+
_this9.taskExamine = taskExamine;
|
|
11639
11795
|
}
|
|
11640
11796
|
} else {
|
|
11641
11797
|
setTimeout(function () {
|
|
11642
|
-
|
|
11798
|
+
_this9.goBack();
|
|
11643
11799
|
}, 1000);
|
|
11644
|
-
|
|
11800
|
+
_this9.$toast(res.message);
|
|
11645
11801
|
}
|
|
11646
11802
|
});
|
|
11647
11803
|
},
|
|
11648
11804
|
onSubmitReadNew: function onSubmitReadNew() {
|
|
11649
|
-
var
|
|
11805
|
+
var _this10 = this;
|
|
11650
11806
|
|
|
11651
11807
|
var _that = this;
|
|
11652
11808
|
if (!this.nextReadUserSelectList || this.nextReadUserSelectList.length === 0) {
|
|
@@ -11655,7 +11811,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11655
11811
|
}
|
|
11656
11812
|
var ids = '';
|
|
11657
11813
|
this.nextReadUserSelectList.map(function (r, i) {
|
|
11658
|
-
ids = ids + r.showid + (i ===
|
|
11814
|
+
ids = ids + r.showid + (i === _this10.nextReadUserSelectList.length - 1 ? '' : ',');
|
|
11659
11815
|
});
|
|
11660
11816
|
var appId = void 0,
|
|
11661
11817
|
businessId = void 0,
|
|
@@ -11711,6 +11867,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11711
11867
|
this.beforeSubmit(params.params);
|
|
11712
11868
|
return;
|
|
11713
11869
|
}
|
|
11870
|
+
|
|
11714
11871
|
this.$toast.loading({
|
|
11715
11872
|
message: '加载中...',
|
|
11716
11873
|
forbidClick: true,
|
|
@@ -11720,13 +11877,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11720
11877
|
});
|
|
11721
11878
|
Object(http["a" /* default */])(params).then(function (res) {
|
|
11722
11879
|
if (res.status == 'success') {
|
|
11723
|
-
|
|
11724
|
-
|
|
11880
|
+
_this10.$toast('操作成功');
|
|
11881
|
+
if (_this10.isWith == '0' && _this10.withSubmitCurrentTaskReadEnabled) {
|
|
11882
|
+
_this10.subRead();
|
|
11883
|
+
} else {
|
|
11884
|
+
_this10.$parent.$emit('success');
|
|
11885
|
+
}
|
|
11725
11886
|
} else {
|
|
11726
|
-
|
|
11887
|
+
_this10.$toast(res.message);
|
|
11727
11888
|
}
|
|
11728
11889
|
}).catch(function (err) {
|
|
11729
|
-
|
|
11890
|
+
_this10.$toast('数据返回失败');
|
|
11730
11891
|
});
|
|
11731
11892
|
}
|
|
11732
11893
|
}
|
|
@@ -11743,8 +11904,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
11743
11904
|
|
|
11744
11905
|
var TaskRead_component = Object(componentNormalizer["a" /* default */])(
|
|
11745
11906
|
components_TaskReadvue_type_script_lang_js,
|
|
11746
|
-
|
|
11747
|
-
|
|
11907
|
+
TaskReadvue_type_template_id_ecdb611c_render,
|
|
11908
|
+
TaskReadvue_type_template_id_ecdb611c_staticRenderFns,
|
|
11748
11909
|
false,
|
|
11749
11910
|
null,
|
|
11750
11911
|
null,
|