eoss-mobiles 0.2.20 → 0.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/checkbox.js +13 -10
- package/lib/eoss-mobile.common.js +60 -46
- package/lib/flow.js +59 -45
- package/lib/index.js +1 -1
- package/lib/picker.js +13 -10
- package/lib/radio.js +13 -10
- package/lib/retrial-auth.js +13 -10
- package/lib/selector.js +13 -10
- package/lib/table-column.js +13 -10
- package/lib/table.js +13 -10
- package/lib/utils/axios.js +12 -10
- package/lib/utils/http.js +1 -0
- package/package.json +1 -1
- package/packages/flow/src/components/Handle.vue +13 -4
- package/packages/flow/src/components/Reject.vue +17 -9
- package/packages/flow/src/components/StartFlow.vue +2 -1
- package/packages/flow/src/components/taskUnionExamine.vue +3 -1
- package/src/index.js +1 -1
- package/src/utils/axios.js +13 -11
- package/src/utils/http.js +4 -3
package/lib/checkbox.js
CHANGED
|
@@ -1744,18 +1744,19 @@ var axios_ajax = function ajax(url) {
|
|
|
1744
1744
|
withCredentials: false
|
|
1745
1745
|
});
|
|
1746
1746
|
http.interceptors.request.use(function (config) {
|
|
1747
|
-
if (
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
config.headers['content-type']
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
config.headers['content-type']
|
|
1747
|
+
if ((params.params || params) instanceof FormData === false) {
|
|
1748
|
+
if (type === 'post' && !format) {
|
|
1749
|
+
config.params = external_qs_default.a.stringify(params.params || params);
|
|
1750
|
+
if (!config.headers['content-type'] && !headers['Content-Type']) {
|
|
1751
|
+
config.headers['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
|
|
1752
|
+
}
|
|
1753
|
+
} else {
|
|
1754
|
+
if (!config.headers['content-type'] && !headers['Content-Type']) {
|
|
1755
|
+
config.headers['content-type'] = 'application/json;charset=UTF-8';
|
|
1756
|
+
}
|
|
1757
|
+
config.params = params.params || params;
|
|
1755
1758
|
}
|
|
1756
|
-
config.data = params;
|
|
1757
1759
|
}
|
|
1758
|
-
|
|
1759
1760
|
if (util["a" /* default */].getStorage('token')) {
|
|
1760
1761
|
config.headers.Authorization = util["a" /* default */].getStorage('token');
|
|
1761
1762
|
}
|
|
@@ -1900,6 +1901,7 @@ var base = {
|
|
|
1900
1901
|
}, headers, format);
|
|
1901
1902
|
},
|
|
1902
1903
|
post: function post(url, params, headers, format) {
|
|
1904
|
+
console.log(params, 'params');
|
|
1903
1905
|
if (params.params) {
|
|
1904
1906
|
params.params.userId = params.params.userId || util["a" /* default */].getStorage('userId');
|
|
1905
1907
|
} else {
|
|
@@ -1912,6 +1914,7 @@ var base = {
|
|
|
1912
1914
|
// CONCATENATED MODULE: ./src/utils/http.js
|
|
1913
1915
|
|
|
1914
1916
|
var http_request = function request(options) {
|
|
1917
|
+
console.log(options, 'options');
|
|
1915
1918
|
var fn = void 0;
|
|
1916
1919
|
switch (options.type) {
|
|
1917
1920
|
case 'post':
|
|
@@ -2962,18 +2962,19 @@ var axios_ajax = function ajax(url) {
|
|
|
2962
2962
|
withCredentials: false
|
|
2963
2963
|
});
|
|
2964
2964
|
http.interceptors.request.use(function (config) {
|
|
2965
|
-
if (
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
config.headers['content-type']
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
config.headers['content-type']
|
|
2965
|
+
if ((params.params || params) instanceof FormData === false) {
|
|
2966
|
+
if (type === 'post' && !format) {
|
|
2967
|
+
config.params = external_qs_default.a.stringify(params.params || params);
|
|
2968
|
+
if (!config.headers['content-type'] && !headers['Content-Type']) {
|
|
2969
|
+
config.headers['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
|
|
2970
|
+
}
|
|
2971
|
+
} else {
|
|
2972
|
+
if (!config.headers['content-type'] && !headers['Content-Type']) {
|
|
2973
|
+
config.headers['content-type'] = 'application/json;charset=UTF-8';
|
|
2974
|
+
}
|
|
2975
|
+
config.params = params.params || params;
|
|
2973
2976
|
}
|
|
2974
|
-
config.data = params;
|
|
2975
2977
|
}
|
|
2976
|
-
|
|
2977
2978
|
if (util.getStorage('token')) {
|
|
2978
2979
|
config.headers.Authorization = util.getStorage('token');
|
|
2979
2980
|
}
|
|
@@ -3118,6 +3119,7 @@ var base = {
|
|
|
3118
3119
|
}, headers, format);
|
|
3119
3120
|
},
|
|
3120
3121
|
post: function post(url, params, headers, format) {
|
|
3122
|
+
console.log(params, 'params');
|
|
3121
3123
|
if (params.params) {
|
|
3122
3124
|
params.params.userId = params.params.userId || util.getStorage('userId');
|
|
3123
3125
|
} else {
|
|
@@ -3130,6 +3132,7 @@ var base = {
|
|
|
3130
3132
|
// CONCATENATED MODULE: ./src/utils/http.js
|
|
3131
3133
|
|
|
3132
3134
|
var http_request = function request(options) {
|
|
3135
|
+
console.log(options, 'options');
|
|
3133
3136
|
var fn = void 0;
|
|
3134
3137
|
switch (options.type) {
|
|
3135
3138
|
case 'post':
|
|
@@ -11093,8 +11096,8 @@ mainvue_type_template_id_7b5917b8_render._withStripped = true
|
|
|
11093
11096
|
|
|
11094
11097
|
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=7b5917b8&
|
|
11095
11098
|
|
|
11096
|
-
// 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=
|
|
11097
|
-
var
|
|
11099
|
+
// 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=0e00af04&
|
|
11100
|
+
var StartFlowvue_type_template_id_0e00af04_render = function () {
|
|
11098
11101
|
var _vm = this
|
|
11099
11102
|
var _h = _vm.$createElement
|
|
11100
11103
|
var _c = _vm._self._c || _h
|
|
@@ -11279,11 +11282,11 @@ var StartFlowvue_type_template_id_33d35d88_render = function () {
|
|
|
11279
11282
|
]),
|
|
11280
11283
|
])
|
|
11281
11284
|
}
|
|
11282
|
-
var
|
|
11283
|
-
|
|
11285
|
+
var StartFlowvue_type_template_id_0e00af04_staticRenderFns = []
|
|
11286
|
+
StartFlowvue_type_template_id_0e00af04_render._withStripped = true
|
|
11284
11287
|
|
|
11285
11288
|
|
|
11286
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=
|
|
11289
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=0e00af04&
|
|
11287
11290
|
|
|
11288
11291
|
// 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=e785ca44&
|
|
11289
11292
|
var Opinionvue_type_template_id_e785ca44_render = function () {
|
|
@@ -12306,7 +12309,8 @@ var StartFlowvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
12306
12309
|
utils_http({
|
|
12307
12310
|
url: _that.apiBaseUrl ? _that.apiBaseUrl + registerNew : registerNew,
|
|
12308
12311
|
type: 'post',
|
|
12309
|
-
params: formData
|
|
12312
|
+
params: formData,
|
|
12313
|
+
format: false
|
|
12310
12314
|
}).then(function (res) {
|
|
12311
12315
|
_this2.$toast.clear();
|
|
12312
12316
|
if (res.rCode == 0) {
|
|
@@ -12513,8 +12517,8 @@ var StartFlowvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
12513
12517
|
|
|
12514
12518
|
var StartFlow_component = normalizeComponent(
|
|
12515
12519
|
components_StartFlowvue_type_script_lang_js_,
|
|
12516
|
-
|
|
12517
|
-
|
|
12520
|
+
StartFlowvue_type_template_id_0e00af04_render,
|
|
12521
|
+
StartFlowvue_type_template_id_0e00af04_staticRenderFns,
|
|
12518
12522
|
false,
|
|
12519
12523
|
null,
|
|
12520
12524
|
null,
|
|
@@ -12523,8 +12527,8 @@ var StartFlow_component = normalizeComponent(
|
|
|
12523
12527
|
)
|
|
12524
12528
|
|
|
12525
12529
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
12526
|
-
// 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=
|
|
12527
|
-
var
|
|
12530
|
+
// 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=19ae59c4&
|
|
12531
|
+
var Handlevue_type_template_id_19ae59c4_render = function () {
|
|
12528
12532
|
var _vm = this
|
|
12529
12533
|
var _h = _vm.$createElement
|
|
12530
12534
|
var _c = _vm._self._c || _h
|
|
@@ -13061,7 +13065,7 @@ var Handlevue_type_template_id_0d62a0b2_render = function () {
|
|
|
13061
13065
|
1
|
|
13062
13066
|
)
|
|
13063
13067
|
: _vm._e(),
|
|
13064
|
-
_vm.isMainSubProcess
|
|
13068
|
+
_vm.isMainSubProcess && _vm.isNodeShowProcess
|
|
13065
13069
|
? _c(
|
|
13066
13070
|
"div",
|
|
13067
13071
|
{ staticClass: "item" },
|
|
@@ -13514,14 +13518,14 @@ var Handlevue_type_template_id_0d62a0b2_render = function () {
|
|
|
13514
13518
|
1
|
|
13515
13519
|
)
|
|
13516
13520
|
}
|
|
13517
|
-
var
|
|
13518
|
-
|
|
13521
|
+
var Handlevue_type_template_id_19ae59c4_staticRenderFns = []
|
|
13522
|
+
Handlevue_type_template_id_19ae59c4_render._withStripped = true
|
|
13519
13523
|
|
|
13520
13524
|
|
|
13521
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
13525
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=19ae59c4&
|
|
13522
13526
|
|
|
13523
|
-
// 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=
|
|
13524
|
-
var
|
|
13527
|
+
// 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=ec9e71dc&
|
|
13528
|
+
var Rejectvue_type_template_id_ec9e71dc_render = function () {
|
|
13525
13529
|
var _vm = this
|
|
13526
13530
|
var _h = _vm.$createElement
|
|
13527
13531
|
var _c = _vm._self._c || _h
|
|
@@ -13617,11 +13621,11 @@ var Rejectvue_type_template_id_d478fb96_render = function () {
|
|
|
13617
13621
|
]),
|
|
13618
13622
|
])
|
|
13619
13623
|
}
|
|
13620
|
-
var
|
|
13621
|
-
|
|
13624
|
+
var Rejectvue_type_template_id_ec9e71dc_staticRenderFns = []
|
|
13625
|
+
Rejectvue_type_template_id_ec9e71dc_render._withStripped = true
|
|
13622
13626
|
|
|
13623
13627
|
|
|
13624
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Reject.vue?vue&type=template&id=
|
|
13628
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Reject.vue?vue&type=template&id=ec9e71dc&
|
|
13625
13629
|
|
|
13626
13630
|
// 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&
|
|
13627
13631
|
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; };
|
|
@@ -13786,7 +13790,8 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13786
13790
|
utils_http({
|
|
13787
13791
|
url: _that.baseUrl ? _that.baseUrl + taskRejectHtml : taskRejectHtml,
|
|
13788
13792
|
type: 'post',
|
|
13789
|
-
params: formData
|
|
13793
|
+
params: formData,
|
|
13794
|
+
format: false
|
|
13790
13795
|
}).then(function (res) {
|
|
13791
13796
|
if (res.status == 'success') {
|
|
13792
13797
|
_this.$toast('操作成功');
|
|
@@ -13881,8 +13886,8 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13881
13886
|
|
|
13882
13887
|
var Reject_component = normalizeComponent(
|
|
13883
13888
|
components_Rejectvue_type_script_lang_js_,
|
|
13884
|
-
|
|
13885
|
-
|
|
13889
|
+
Rejectvue_type_template_id_ec9e71dc_render,
|
|
13890
|
+
Rejectvue_type_template_id_ec9e71dc_staticRenderFns,
|
|
13886
13891
|
false,
|
|
13887
13892
|
null,
|
|
13888
13893
|
null,
|
|
@@ -14638,6 +14643,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
14638
14643
|
isOtherUnit: true, //是否是外单位
|
|
14639
14644
|
isShowNode: false,
|
|
14640
14645
|
subProcessInfo: '',
|
|
14646
|
+
isNodeShowProcess: false, //是否展示主办
|
|
14641
14647
|
isHiddenOftenOpinion: undefined, //是否隐藏常用意见
|
|
14642
14648
|
isAddSignList: [{ name: '是', value: '1' }, { name: '否', value: '2' }],
|
|
14643
14649
|
form: {
|
|
@@ -14718,7 +14724,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
14718
14724
|
|
|
14719
14725
|
computed: {
|
|
14720
14726
|
subProcessColumns: function subProcessColumns() {
|
|
14721
|
-
if (!this.isMainSubProcess) return [];
|
|
14727
|
+
if (!this.isMainSubProcess || !this.isNodeShowProcess) return [];
|
|
14722
14728
|
var data = [];
|
|
14723
14729
|
var obj = { name: '[部门员工]-' };
|
|
14724
14730
|
this.nextCurrentOrgObjSelect.map(function (x) {
|
|
@@ -14812,7 +14818,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
14812
14818
|
Accept: 'application/json,text/plain'
|
|
14813
14819
|
},
|
|
14814
14820
|
type: 'post',
|
|
14815
|
-
params: formData
|
|
14821
|
+
params: formData,
|
|
14822
|
+
format: false
|
|
14816
14823
|
}).then(function (res) {
|
|
14817
14824
|
var status = res.status,
|
|
14818
14825
|
message = res.message;
|
|
@@ -14947,7 +14954,9 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
14947
14954
|
utils_http({
|
|
14948
14955
|
url: _that.baseUrl ? _that.baseUrl + (_that.form.isImageOpinion == 1 ? taskHandleHtmlImg : taskHandleHtml) : _that.form.isImageOpinion == 1 ? taskHandleHtmlImg : taskHandleHtml,
|
|
14949
14956
|
type: 'post',
|
|
14950
|
-
params: formData
|
|
14957
|
+
params: formData,
|
|
14958
|
+
format: false
|
|
14959
|
+
|
|
14951
14960
|
}).then(function (res) {
|
|
14952
14961
|
_this4.$toast.clear();
|
|
14953
14962
|
if (res.status == 'success') {
|
|
@@ -15003,6 +15012,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
15003
15012
|
this.isNextUser = false;
|
|
15004
15013
|
this.isShowNode = false;
|
|
15005
15014
|
this.isMainSubProcess = false;
|
|
15015
|
+
this.isNodeShowProcess = false;
|
|
15006
15016
|
this.form.nextNodeId = '';
|
|
15007
15017
|
this.form.isReturnSubmitter = 0;
|
|
15008
15018
|
this.form.isUndertakeReply = 0;
|
|
@@ -15411,6 +15421,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
15411
15421
|
_this6.countersignaturetypeText = res.data.countersignaturetypeText;
|
|
15412
15422
|
//如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
|
|
15413
15423
|
if (_this6.nodeType === 1 || _this6.nodeType === 2) {
|
|
15424
|
+
_this6.isMainSubProcess === true ? _this6.isNodeShowProcess = true : _this6.isNodeShowProcess = false;
|
|
15414
15425
|
_this6.isMainSubProcess === true ? _this6.isMainSubProcess = true : _this6.isMainSubProcess = false;
|
|
15415
15426
|
_this6.isNextUser = false;
|
|
15416
15427
|
_this6.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
|
|
@@ -15419,6 +15430,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
15419
15430
|
_this6.isHideCurrentOrg = false;
|
|
15420
15431
|
_this6.isHideOtherOrg = false;
|
|
15421
15432
|
_this6.isMainSubProcess = false;
|
|
15433
|
+
_this6.isNodeShowProcess = false;
|
|
15422
15434
|
_this6.isNextUser = true;
|
|
15423
15435
|
// this.isMainSubProcess === true
|
|
15424
15436
|
// ? (this.isMainSubProcess = true)
|
|
@@ -15516,8 +15528,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
15516
15528
|
|
|
15517
15529
|
var Handle_component = normalizeComponent(
|
|
15518
15530
|
components_Handlevue_type_script_lang_js_,
|
|
15519
|
-
|
|
15520
|
-
|
|
15531
|
+
Handlevue_type_template_id_19ae59c4_render,
|
|
15532
|
+
Handlevue_type_template_id_19ae59c4_staticRenderFns,
|
|
15521
15533
|
false,
|
|
15522
15534
|
null,
|
|
15523
15535
|
null,
|
|
@@ -16179,8 +16191,8 @@ var TaskRead_component = normalizeComponent(
|
|
|
16179
16191
|
)
|
|
16180
16192
|
|
|
16181
16193
|
/* harmony default export */ var TaskRead = (TaskRead_component.exports);
|
|
16182
|
-
// 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=
|
|
16183
|
-
var
|
|
16194
|
+
// 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=7904d4e3&
|
|
16195
|
+
var taskUnionExaminevue_type_template_id_7904d4e3_render = function () {
|
|
16184
16196
|
var _vm = this
|
|
16185
16197
|
var _h = _vm.$createElement
|
|
16186
16198
|
var _c = _vm._self._c || _h
|
|
@@ -16321,11 +16333,11 @@ var taskUnionExaminevue_type_template_id_32f743e5_render = function () {
|
|
|
16321
16333
|
]),
|
|
16322
16334
|
])
|
|
16323
16335
|
}
|
|
16324
|
-
var
|
|
16325
|
-
|
|
16336
|
+
var taskUnionExaminevue_type_template_id_7904d4e3_staticRenderFns = []
|
|
16337
|
+
taskUnionExaminevue_type_template_id_7904d4e3_render._withStripped = true
|
|
16326
16338
|
|
|
16327
16339
|
|
|
16328
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=
|
|
16340
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=7904d4e3&
|
|
16329
16341
|
|
|
16330
16342
|
// 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&
|
|
16331
16343
|
//
|
|
@@ -16782,7 +16794,9 @@ taskUnionExaminevue_type_template_id_32f743e5_render._withStripped = true
|
|
|
16782
16794
|
url: this.type === 'startDraf' ? taskStartDraft : this.type == 'unionSeal' ? taskUnionSeal : this.type === 'twoOfficesDispatch' ? twoOfficesDispatch : this.type == 'takeAdvice' ? taskTakeAdvice : taskUnionExamine,
|
|
16783
16795
|
params: formData,
|
|
16784
16796
|
headers: { Accept: 'application/json,text/plain' },
|
|
16785
|
-
type: 'post'
|
|
16797
|
+
type: 'post',
|
|
16798
|
+
format: false
|
|
16799
|
+
|
|
16786
16800
|
};
|
|
16787
16801
|
this.$toast.loading({
|
|
16788
16802
|
message: '加载中...',
|
|
@@ -16886,8 +16900,8 @@ taskUnionExaminevue_type_template_id_32f743e5_render._withStripped = true
|
|
|
16886
16900
|
|
|
16887
16901
|
var taskUnionExamine_component = normalizeComponent(
|
|
16888
16902
|
components_taskUnionExaminevue_type_script_lang_js_,
|
|
16889
|
-
|
|
16890
|
-
|
|
16903
|
+
taskUnionExaminevue_type_template_id_7904d4e3_render,
|
|
16904
|
+
taskUnionExaminevue_type_template_id_7904d4e3_staticRenderFns,
|
|
16891
16905
|
false,
|
|
16892
16906
|
null,
|
|
16893
16907
|
null,
|
|
@@ -20343,7 +20357,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
20343
20357
|
}
|
|
20344
20358
|
|
|
20345
20359
|
/* harmony default export */ var src = __webpack_exports__["default"] = ({
|
|
20346
|
-
version: '0.2.
|
|
20360
|
+
version: '0.2.22',
|
|
20347
20361
|
install: install,
|
|
20348
20362
|
Button: packages_button,
|
|
20349
20363
|
ButtonGroup: button_group,
|
package/lib/flow.js
CHANGED
|
@@ -1740,18 +1740,19 @@ var axios_ajax = function ajax(url) {
|
|
|
1740
1740
|
withCredentials: false
|
|
1741
1741
|
});
|
|
1742
1742
|
http.interceptors.request.use(function (config) {
|
|
1743
|
-
if (
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
config.headers['content-type']
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
config.headers['content-type']
|
|
1743
|
+
if ((params.params || params) instanceof FormData === false) {
|
|
1744
|
+
if (type === 'post' && !format) {
|
|
1745
|
+
config.params = external_qs_default.a.stringify(params.params || params);
|
|
1746
|
+
if (!config.headers['content-type'] && !headers['Content-Type']) {
|
|
1747
|
+
config.headers['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
|
|
1748
|
+
}
|
|
1749
|
+
} else {
|
|
1750
|
+
if (!config.headers['content-type'] && !headers['Content-Type']) {
|
|
1751
|
+
config.headers['content-type'] = 'application/json;charset=UTF-8';
|
|
1752
|
+
}
|
|
1753
|
+
config.params = params.params || params;
|
|
1751
1754
|
}
|
|
1752
|
-
config.data = params;
|
|
1753
1755
|
}
|
|
1754
|
-
|
|
1755
1756
|
if (util["a" /* default */].getStorage('token')) {
|
|
1756
1757
|
config.headers.Authorization = util["a" /* default */].getStorage('token');
|
|
1757
1758
|
}
|
|
@@ -1896,6 +1897,7 @@ var base = {
|
|
|
1896
1897
|
}, headers, format);
|
|
1897
1898
|
},
|
|
1898
1899
|
post: function post(url, params, headers, format) {
|
|
1900
|
+
console.log(params, 'params');
|
|
1899
1901
|
if (params.params) {
|
|
1900
1902
|
params.params.userId = params.params.userId || util["a" /* default */].getStorage('userId');
|
|
1901
1903
|
} else {
|
|
@@ -1908,6 +1910,7 @@ var base = {
|
|
|
1908
1910
|
// CONCATENATED MODULE: ./src/utils/http.js
|
|
1909
1911
|
|
|
1910
1912
|
var http_request = function request(options) {
|
|
1913
|
+
console.log(options, 'options');
|
|
1911
1914
|
var fn = void 0;
|
|
1912
1915
|
switch (options.type) {
|
|
1913
1916
|
case 'post':
|
|
@@ -2108,8 +2111,8 @@ render._withStripped = true
|
|
|
2108
2111
|
|
|
2109
2112
|
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=7b5917b8&
|
|
2110
2113
|
|
|
2111
|
-
// 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=
|
|
2112
|
-
var
|
|
2114
|
+
// 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=0e00af04&
|
|
2115
|
+
var StartFlowvue_type_template_id_0e00af04_render = function () {
|
|
2113
2116
|
var _vm = this
|
|
2114
2117
|
var _h = _vm.$createElement
|
|
2115
2118
|
var _c = _vm._self._c || _h
|
|
@@ -2294,11 +2297,11 @@ var StartFlowvue_type_template_id_33d35d88_render = function () {
|
|
|
2294
2297
|
]),
|
|
2295
2298
|
])
|
|
2296
2299
|
}
|
|
2297
|
-
var
|
|
2298
|
-
|
|
2300
|
+
var StartFlowvue_type_template_id_0e00af04_staticRenderFns = []
|
|
2301
|
+
StartFlowvue_type_template_id_0e00af04_render._withStripped = true
|
|
2299
2302
|
|
|
2300
2303
|
|
|
2301
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=
|
|
2304
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=0e00af04&
|
|
2302
2305
|
|
|
2303
2306
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
2304
2307
|
var api = __webpack_require__(2);
|
|
@@ -3333,7 +3336,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
3333
3336
|
Object(http["a" /* default */])({
|
|
3334
3337
|
url: _that.apiBaseUrl ? _that.apiBaseUrl + api["m" /* registerNew */] : api["m" /* registerNew */],
|
|
3335
3338
|
type: 'post',
|
|
3336
|
-
params: formData
|
|
3339
|
+
params: formData,
|
|
3340
|
+
format: false
|
|
3337
3341
|
}).then(function (res) {
|
|
3338
3342
|
_this2.$toast.clear();
|
|
3339
3343
|
if (res.rCode == 0) {
|
|
@@ -3540,8 +3544,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
3540
3544
|
|
|
3541
3545
|
var StartFlow_component = Object(componentNormalizer["a" /* default */])(
|
|
3542
3546
|
components_StartFlowvue_type_script_lang_js_,
|
|
3543
|
-
|
|
3544
|
-
|
|
3547
|
+
StartFlowvue_type_template_id_0e00af04_render,
|
|
3548
|
+
StartFlowvue_type_template_id_0e00af04_staticRenderFns,
|
|
3545
3549
|
false,
|
|
3546
3550
|
null,
|
|
3547
3551
|
null,
|
|
@@ -3550,8 +3554,8 @@ var StartFlow_component = Object(componentNormalizer["a" /* default */])(
|
|
|
3550
3554
|
)
|
|
3551
3555
|
|
|
3552
3556
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
3553
|
-
// 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=
|
|
3554
|
-
var
|
|
3557
|
+
// 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=19ae59c4&
|
|
3558
|
+
var Handlevue_type_template_id_19ae59c4_render = function () {
|
|
3555
3559
|
var _vm = this
|
|
3556
3560
|
var _h = _vm.$createElement
|
|
3557
3561
|
var _c = _vm._self._c || _h
|
|
@@ -4088,7 +4092,7 @@ var Handlevue_type_template_id_0d62a0b2_render = function () {
|
|
|
4088
4092
|
1
|
|
4089
4093
|
)
|
|
4090
4094
|
: _vm._e(),
|
|
4091
|
-
_vm.isMainSubProcess
|
|
4095
|
+
_vm.isMainSubProcess && _vm.isNodeShowProcess
|
|
4092
4096
|
? _c(
|
|
4093
4097
|
"div",
|
|
4094
4098
|
{ staticClass: "item" },
|
|
@@ -4541,14 +4545,14 @@ var Handlevue_type_template_id_0d62a0b2_render = function () {
|
|
|
4541
4545
|
1
|
|
4542
4546
|
)
|
|
4543
4547
|
}
|
|
4544
|
-
var
|
|
4545
|
-
|
|
4548
|
+
var Handlevue_type_template_id_19ae59c4_staticRenderFns = []
|
|
4549
|
+
Handlevue_type_template_id_19ae59c4_render._withStripped = true
|
|
4546
4550
|
|
|
4547
4551
|
|
|
4548
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
4552
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=19ae59c4&
|
|
4549
4553
|
|
|
4550
|
-
// 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=
|
|
4551
|
-
var
|
|
4554
|
+
// 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=ec9e71dc&
|
|
4555
|
+
var Rejectvue_type_template_id_ec9e71dc_render = function () {
|
|
4552
4556
|
var _vm = this
|
|
4553
4557
|
var _h = _vm.$createElement
|
|
4554
4558
|
var _c = _vm._self._c || _h
|
|
@@ -4644,11 +4648,11 @@ var Rejectvue_type_template_id_d478fb96_render = function () {
|
|
|
4644
4648
|
]),
|
|
4645
4649
|
])
|
|
4646
4650
|
}
|
|
4647
|
-
var
|
|
4648
|
-
|
|
4651
|
+
var Rejectvue_type_template_id_ec9e71dc_staticRenderFns = []
|
|
4652
|
+
Rejectvue_type_template_id_ec9e71dc_render._withStripped = true
|
|
4649
4653
|
|
|
4650
4654
|
|
|
4651
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Reject.vue?vue&type=template&id=
|
|
4655
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Reject.vue?vue&type=template&id=ec9e71dc&
|
|
4652
4656
|
|
|
4653
4657
|
// 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&
|
|
4654
4658
|
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; };
|
|
@@ -4813,7 +4817,8 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
4813
4817
|
Object(http["a" /* default */])({
|
|
4814
4818
|
url: _that.baseUrl ? _that.baseUrl + api["r" /* taskRejectHtml */] : api["r" /* taskRejectHtml */],
|
|
4815
4819
|
type: 'post',
|
|
4816
|
-
params: formData
|
|
4820
|
+
params: formData,
|
|
4821
|
+
format: false
|
|
4817
4822
|
}).then(function (res) {
|
|
4818
4823
|
if (res.status == 'success') {
|
|
4819
4824
|
_this.$toast('操作成功');
|
|
@@ -4908,8 +4913,8 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
4908
4913
|
|
|
4909
4914
|
var Reject_component = Object(componentNormalizer["a" /* default */])(
|
|
4910
4915
|
components_Rejectvue_type_script_lang_js_,
|
|
4911
|
-
|
|
4912
|
-
|
|
4916
|
+
Rejectvue_type_template_id_ec9e71dc_render,
|
|
4917
|
+
Rejectvue_type_template_id_ec9e71dc_staticRenderFns,
|
|
4913
4918
|
false,
|
|
4914
4919
|
null,
|
|
4915
4920
|
null,
|
|
@@ -5668,6 +5673,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
5668
5673
|
isOtherUnit: true, //是否是外单位
|
|
5669
5674
|
isShowNode: false,
|
|
5670
5675
|
subProcessInfo: '',
|
|
5676
|
+
isNodeShowProcess: false, //是否展示主办
|
|
5671
5677
|
isHiddenOftenOpinion: undefined, //是否隐藏常用意见
|
|
5672
5678
|
isAddSignList: [{ name: '是', value: '1' }, { name: '否', value: '2' }],
|
|
5673
5679
|
form: {
|
|
@@ -5748,7 +5754,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
5748
5754
|
|
|
5749
5755
|
computed: {
|
|
5750
5756
|
subProcessColumns: function subProcessColumns() {
|
|
5751
|
-
if (!this.isMainSubProcess) return [];
|
|
5757
|
+
if (!this.isMainSubProcess || !this.isNodeShowProcess) return [];
|
|
5752
5758
|
var data = [];
|
|
5753
5759
|
var obj = { name: '[部门员工]-' };
|
|
5754
5760
|
this.nextCurrentOrgObjSelect.map(function (x) {
|
|
@@ -5842,7 +5848,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
5842
5848
|
Accept: 'application/json,text/plain'
|
|
5843
5849
|
},
|
|
5844
5850
|
type: 'post',
|
|
5845
|
-
params: formData
|
|
5851
|
+
params: formData,
|
|
5852
|
+
format: false
|
|
5846
5853
|
}).then(function (res) {
|
|
5847
5854
|
var status = res.status,
|
|
5848
5855
|
message = res.message;
|
|
@@ -5977,7 +5984,9 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
5977
5984
|
Object(http["a" /* default */])({
|
|
5978
5985
|
url: _that.baseUrl ? _that.baseUrl + (_that.form.isImageOpinion == 1 ? api["p" /* taskHandleHtmlImg */] : api["o" /* taskHandleHtml */]) : _that.form.isImageOpinion == 1 ? api["p" /* taskHandleHtmlImg */] : api["o" /* taskHandleHtml */],
|
|
5979
5986
|
type: 'post',
|
|
5980
|
-
params: formData
|
|
5987
|
+
params: formData,
|
|
5988
|
+
format: false
|
|
5989
|
+
|
|
5981
5990
|
}).then(function (res) {
|
|
5982
5991
|
_this4.$toast.clear();
|
|
5983
5992
|
if (res.status == 'success') {
|
|
@@ -6033,6 +6042,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6033
6042
|
this.isNextUser = false;
|
|
6034
6043
|
this.isShowNode = false;
|
|
6035
6044
|
this.isMainSubProcess = false;
|
|
6045
|
+
this.isNodeShowProcess = false;
|
|
6036
6046
|
this.form.nextNodeId = '';
|
|
6037
6047
|
this.form.isReturnSubmitter = 0;
|
|
6038
6048
|
this.form.isUndertakeReply = 0;
|
|
@@ -6441,6 +6451,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6441
6451
|
_this6.countersignaturetypeText = res.data.countersignaturetypeText;
|
|
6442
6452
|
//如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
|
|
6443
6453
|
if (_this6.nodeType === 1 || _this6.nodeType === 2) {
|
|
6454
|
+
_this6.isMainSubProcess === true ? _this6.isNodeShowProcess = true : _this6.isNodeShowProcess = false;
|
|
6444
6455
|
_this6.isMainSubProcess === true ? _this6.isMainSubProcess = true : _this6.isMainSubProcess = false;
|
|
6445
6456
|
_this6.isNextUser = false;
|
|
6446
6457
|
_this6.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
|
|
@@ -6449,6 +6460,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6449
6460
|
_this6.isHideCurrentOrg = false;
|
|
6450
6461
|
_this6.isHideOtherOrg = false;
|
|
6451
6462
|
_this6.isMainSubProcess = false;
|
|
6463
|
+
_this6.isNodeShowProcess = false;
|
|
6452
6464
|
_this6.isNextUser = true;
|
|
6453
6465
|
// this.isMainSubProcess === true
|
|
6454
6466
|
// ? (this.isMainSubProcess = true)
|
|
@@ -6546,8 +6558,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
6546
6558
|
|
|
6547
6559
|
var Handle_component = Object(componentNormalizer["a" /* default */])(
|
|
6548
6560
|
components_Handlevue_type_script_lang_js_,
|
|
6549
|
-
|
|
6550
|
-
|
|
6561
|
+
Handlevue_type_template_id_19ae59c4_render,
|
|
6562
|
+
Handlevue_type_template_id_19ae59c4_staticRenderFns,
|
|
6551
6563
|
false,
|
|
6552
6564
|
null,
|
|
6553
6565
|
null,
|
|
@@ -7209,8 +7221,8 @@ var TaskRead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
7209
7221
|
)
|
|
7210
7222
|
|
|
7211
7223
|
/* harmony default export */ var TaskRead = (TaskRead_component.exports);
|
|
7212
|
-
// 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=
|
|
7213
|
-
var
|
|
7224
|
+
// 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=7904d4e3&
|
|
7225
|
+
var taskUnionExaminevue_type_template_id_7904d4e3_render = function () {
|
|
7214
7226
|
var _vm = this
|
|
7215
7227
|
var _h = _vm.$createElement
|
|
7216
7228
|
var _c = _vm._self._c || _h
|
|
@@ -7351,11 +7363,11 @@ var taskUnionExaminevue_type_template_id_32f743e5_render = function () {
|
|
|
7351
7363
|
]),
|
|
7352
7364
|
])
|
|
7353
7365
|
}
|
|
7354
|
-
var
|
|
7355
|
-
|
|
7366
|
+
var taskUnionExaminevue_type_template_id_7904d4e3_staticRenderFns = []
|
|
7367
|
+
taskUnionExaminevue_type_template_id_7904d4e3_render._withStripped = true
|
|
7356
7368
|
|
|
7357
7369
|
|
|
7358
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=
|
|
7370
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=7904d4e3&
|
|
7359
7371
|
|
|
7360
7372
|
// 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&
|
|
7361
7373
|
//
|
|
@@ -7812,7 +7824,9 @@ taskUnionExaminevue_type_template_id_32f743e5_render._withStripped = true
|
|
|
7812
7824
|
url: this.type === 'startDraf' ? api["s" /* taskStartDraft */] : this.type == 'unionSeal' ? api["v" /* taskUnionSeal */] : this.type === 'twoOfficesDispatch' ? twoOfficesDispatch : this.type == 'takeAdvice' ? api["t" /* taskTakeAdvice */] : api["u" /* taskUnionExamine */],
|
|
7813
7825
|
params: formData,
|
|
7814
7826
|
headers: { Accept: 'application/json,text/plain' },
|
|
7815
|
-
type: 'post'
|
|
7827
|
+
type: 'post',
|
|
7828
|
+
format: false
|
|
7829
|
+
|
|
7816
7830
|
};
|
|
7817
7831
|
this.$toast.loading({
|
|
7818
7832
|
message: '加载中...',
|
|
@@ -7916,8 +7930,8 @@ taskUnionExaminevue_type_template_id_32f743e5_render._withStripped = true
|
|
|
7916
7930
|
|
|
7917
7931
|
var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
|
|
7918
7932
|
components_taskUnionExaminevue_type_script_lang_js_,
|
|
7919
|
-
|
|
7920
|
-
|
|
7933
|
+
taskUnionExaminevue_type_template_id_7904d4e3_render,
|
|
7934
|
+
taskUnionExaminevue_type_template_id_7904d4e3_staticRenderFns,
|
|
7921
7935
|
false,
|
|
7922
7936
|
null,
|
|
7923
7937
|
null,
|