eoss-mobiles 0.2.8 → 0.2.9
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 -88
- package/lib/flow.js +128 -80
- 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 -14
- 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
|
@@ -728,8 +728,8 @@ mainvue_type_template_id_73ff2f1c_render._withStripped = true
|
|
|
728
728
|
|
|
729
729
|
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=73ff2f1c&
|
|
730
730
|
|
|
731
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=
|
|
732
|
-
var
|
|
731
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=5d47b9aa&
|
|
732
|
+
var selector_treevue_type_template_id_5d47b9aa_render = function () {
|
|
733
733
|
var _vm = this
|
|
734
734
|
var _h = _vm.$createElement
|
|
735
735
|
var _c = _vm._self._c || _h
|
|
@@ -791,6 +791,7 @@ var selector_treevue_type_template_id_567a990b_render = function () {
|
|
|
791
791
|
expression: "newTabs.length > 1 && !showTree",
|
|
792
792
|
},
|
|
793
793
|
],
|
|
794
|
+
staticClass: "em-flow-tabs",
|
|
794
795
|
staticStyle: { margin: "10px 0px" },
|
|
795
796
|
attrs: { type: "card" },
|
|
796
797
|
on: { click: _vm.handleClick },
|
|
@@ -892,11 +893,11 @@ var selector_treevue_type_template_id_567a990b_render = function () {
|
|
|
892
893
|
1
|
|
893
894
|
)
|
|
894
895
|
}
|
|
895
|
-
var
|
|
896
|
-
|
|
896
|
+
var selector_treevue_type_template_id_5d47b9aa_staticRenderFns = []
|
|
897
|
+
selector_treevue_type_template_id_5d47b9aa_render._withStripped = true
|
|
897
898
|
|
|
898
899
|
|
|
899
|
-
// CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=
|
|
900
|
+
// CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=5d47b9aa&
|
|
900
901
|
|
|
901
902
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/tree.vue?vue&type=template&id=bacc904e&
|
|
902
903
|
var treevue_type_template_id_bacc904e_render = function () {
|
|
@@ -3060,9 +3061,9 @@ var base = {
|
|
|
3060
3061
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
3061
3062
|
|
|
3062
3063
|
if (params.params) {
|
|
3063
|
-
params.params.userId = util.getStorage('userId');
|
|
3064
|
+
params.params.userId = params.params.userId || util.getStorage('userId');
|
|
3064
3065
|
} else {
|
|
3065
|
-
params.userId = util.getStorage('userId');
|
|
3066
|
+
params.userId = params.userId || util.getStorage('userId');
|
|
3066
3067
|
}
|
|
3067
3068
|
return http.post(url, params);
|
|
3068
3069
|
}
|
|
@@ -3227,6 +3228,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
3227
3228
|
//
|
|
3228
3229
|
//
|
|
3229
3230
|
//
|
|
3231
|
+
//
|
|
3230
3232
|
|
|
3231
3233
|
|
|
3232
3234
|
|
|
@@ -3839,6 +3841,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
3839
3841
|
_this6.$emit('update:selectList', _this6.list);
|
|
3840
3842
|
}
|
|
3841
3843
|
_this6.personnel = res.results;
|
|
3844
|
+
console.log(_this6.personnel, 'this.personnel');
|
|
3842
3845
|
var _this = _this6;
|
|
3843
3846
|
_this6.list.filter(function (r) {
|
|
3844
3847
|
_this.personnel.find(function (i) {
|
|
@@ -4044,8 +4047,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4044
4047
|
|
|
4045
4048
|
var selector_tree_component = normalizeComponent(
|
|
4046
4049
|
src_selector_treevue_type_script_lang_js_,
|
|
4047
|
-
|
|
4048
|
-
|
|
4050
|
+
selector_treevue_type_template_id_5d47b9aa_render,
|
|
4051
|
+
selector_treevue_type_template_id_5d47b9aa_staticRenderFns,
|
|
4049
4052
|
false,
|
|
4050
4053
|
null,
|
|
4051
4054
|
null,
|
|
@@ -10634,8 +10637,8 @@ mainvue_type_template_id_56353196_render._withStripped = true
|
|
|
10634
10637
|
|
|
10635
10638
|
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=56353196&
|
|
10636
10639
|
|
|
10637
|
-
// 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=
|
|
10638
|
-
var
|
|
10640
|
+
// 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&
|
|
10641
|
+
var StartFlowvue_type_template_id_28b84f8e_render = function () {
|
|
10639
10642
|
var _vm = this
|
|
10640
10643
|
var _h = _vm.$createElement
|
|
10641
10644
|
var _c = _vm._self._c || _h
|
|
@@ -10842,14 +10845,14 @@ var StartFlowvue_type_template_id_5b4823aa_render = function () {
|
|
|
10842
10845
|
]),
|
|
10843
10846
|
])
|
|
10844
10847
|
}
|
|
10845
|
-
var
|
|
10846
|
-
|
|
10848
|
+
var StartFlowvue_type_template_id_28b84f8e_staticRenderFns = []
|
|
10849
|
+
StartFlowvue_type_template_id_28b84f8e_render._withStripped = true
|
|
10847
10850
|
|
|
10848
10851
|
|
|
10849
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=
|
|
10852
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=28b84f8e&
|
|
10850
10853
|
|
|
10851
|
-
// 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=
|
|
10852
|
-
var
|
|
10854
|
+
// 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&
|
|
10855
|
+
var Opinionvue_type_template_id_d7d83634_render = function () {
|
|
10853
10856
|
var _vm = this
|
|
10854
10857
|
var _h = _vm.$createElement
|
|
10855
10858
|
var _c = _vm._self._c || _h
|
|
@@ -11051,11 +11054,11 @@ var Opinionvue_type_template_id_7bc36072_render = function () {
|
|
|
11051
11054
|
1
|
|
11052
11055
|
)
|
|
11053
11056
|
}
|
|
11054
|
-
var
|
|
11055
|
-
|
|
11057
|
+
var Opinionvue_type_template_id_d7d83634_staticRenderFns = []
|
|
11058
|
+
Opinionvue_type_template_id_d7d83634_render._withStripped = true
|
|
11056
11059
|
|
|
11057
11060
|
|
|
11058
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Opinion.vue?vue&type=template&id=
|
|
11061
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Opinion.vue?vue&type=template&id=d7d83634&
|
|
11059
11062
|
|
|
11060
11063
|
// 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&
|
|
11061
11064
|
//
|
|
@@ -11197,6 +11200,10 @@ Opinionvue_type_template_id_7bc36072_render._withStripped = true
|
|
|
11197
11200
|
esign: {
|
|
11198
11201
|
type: Boolean,
|
|
11199
11202
|
default: false
|
|
11203
|
+
},
|
|
11204
|
+
userId: {
|
|
11205
|
+
type: String,
|
|
11206
|
+
default: ''
|
|
11200
11207
|
}
|
|
11201
11208
|
},
|
|
11202
11209
|
// components: {
|
|
@@ -11256,7 +11263,7 @@ Opinionvue_type_template_id_7bc36072_render._withStripped = true
|
|
|
11256
11263
|
var _that = this;
|
|
11257
11264
|
utils_http({
|
|
11258
11265
|
url: _that.baseUrl ? _that.baseUrl + commonOpion : commonOpion,
|
|
11259
|
-
params: {}
|
|
11266
|
+
params: { userId: this.userId }
|
|
11260
11267
|
}).then(function (res) {
|
|
11261
11268
|
if (res.status == 'success') {
|
|
11262
11269
|
_this.opinionList = res.data.list;
|
|
@@ -11291,8 +11298,8 @@ Opinionvue_type_template_id_7bc36072_render._withStripped = true
|
|
|
11291
11298
|
|
|
11292
11299
|
var Opinion_component = normalizeComponent(
|
|
11293
11300
|
components_Opinionvue_type_script_lang_js_,
|
|
11294
|
-
|
|
11295
|
-
|
|
11301
|
+
Opinionvue_type_template_id_d7d83634_render,
|
|
11302
|
+
Opinionvue_type_template_id_d7d83634_staticRenderFns,
|
|
11296
11303
|
false,
|
|
11297
11304
|
null,
|
|
11298
11305
|
null,
|
|
@@ -11301,8 +11308,8 @@ var Opinion_component = normalizeComponent(
|
|
|
11301
11308
|
)
|
|
11302
11309
|
|
|
11303
11310
|
/* harmony default export */ var Opinion = (Opinion_component.exports);
|
|
11304
|
-
// 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=
|
|
11305
|
-
var
|
|
11311
|
+
// 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&
|
|
11312
|
+
var Messagevue_type_template_id_f4fe15d6_render = function () {
|
|
11306
11313
|
var _vm = this
|
|
11307
11314
|
var _h = _vm.$createElement
|
|
11308
11315
|
var _c = _vm._self._c || _h
|
|
@@ -11387,11 +11394,11 @@ var Messagevue_type_template_id_73ab6102_render = function () {
|
|
|
11387
11394
|
1
|
|
11388
11395
|
)
|
|
11389
11396
|
}
|
|
11390
|
-
var
|
|
11391
|
-
|
|
11397
|
+
var Messagevue_type_template_id_f4fe15d6_staticRenderFns = []
|
|
11398
|
+
Messagevue_type_template_id_f4fe15d6_render._withStripped = true
|
|
11392
11399
|
|
|
11393
11400
|
|
|
11394
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Message.vue?vue&type=template&id=
|
|
11401
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Message.vue?vue&type=template&id=f4fe15d6&
|
|
11395
11402
|
|
|
11396
11403
|
// 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&
|
|
11397
11404
|
//
|
|
@@ -11459,7 +11466,11 @@ Messagevue_type_template_id_73ab6102_render._withStripped = true
|
|
|
11459
11466
|
type: Boolean,
|
|
11460
11467
|
default: true
|
|
11461
11468
|
},
|
|
11462
|
-
baseUrl: String
|
|
11469
|
+
baseUrl: String,
|
|
11470
|
+
userId: {
|
|
11471
|
+
type: String,
|
|
11472
|
+
default: ''
|
|
11473
|
+
}
|
|
11463
11474
|
},
|
|
11464
11475
|
data: function data() {
|
|
11465
11476
|
return {
|
|
@@ -11507,8 +11518,8 @@ Messagevue_type_template_id_73ab6102_render._withStripped = true
|
|
|
11507
11518
|
|
|
11508
11519
|
var Message_component = normalizeComponent(
|
|
11509
11520
|
components_Messagevue_type_script_lang_js_,
|
|
11510
|
-
|
|
11511
|
-
|
|
11521
|
+
Messagevue_type_template_id_f4fe15d6_render,
|
|
11522
|
+
Messagevue_type_template_id_f4fe15d6_staticRenderFns,
|
|
11512
11523
|
false,
|
|
11513
11524
|
null,
|
|
11514
11525
|
null,
|
|
@@ -11518,6 +11529,8 @@ var Message_component = normalizeComponent(
|
|
|
11518
11529
|
|
|
11519
11530
|
/* harmony default export */ var Message = (Message_component.exports);
|
|
11520
11531
|
// 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&
|
|
11532
|
+
var StartFlowvue_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; };
|
|
11533
|
+
|
|
11521
11534
|
//
|
|
11522
11535
|
//
|
|
11523
11536
|
//
|
|
@@ -11654,6 +11667,10 @@ var Message_component = normalizeComponent(
|
|
|
11654
11667
|
esign: {
|
|
11655
11668
|
type: Boolean,
|
|
11656
11669
|
default: false
|
|
11670
|
+
},
|
|
11671
|
+
userId: {
|
|
11672
|
+
type: String,
|
|
11673
|
+
default: ''
|
|
11657
11674
|
}
|
|
11658
11675
|
},
|
|
11659
11676
|
data: function data() {
|
|
@@ -11765,7 +11782,8 @@ var Message_component = normalizeComponent(
|
|
|
11765
11782
|
|
|
11766
11783
|
// 提交流程
|
|
11767
11784
|
onSubmit: function onSubmit() {
|
|
11768
|
-
var
|
|
11785
|
+
var _info,
|
|
11786
|
+
_this2 = this;
|
|
11769
11787
|
|
|
11770
11788
|
if (!this.form.opinion && this.isOpinionRequired == 1 && this.form.isImageOpinion == 0 || !this.file && this.isOpinionRequired == 1 && this.form.isImageOpinion == 1) {
|
|
11771
11789
|
this.$toast('请选择输入审批意见');
|
|
@@ -11784,7 +11802,7 @@ var Message_component = normalizeComponent(
|
|
|
11784
11802
|
// return;
|
|
11785
11803
|
// }
|
|
11786
11804
|
|
|
11787
|
-
var info = {
|
|
11805
|
+
var info = (_info = {
|
|
11788
11806
|
processDefinitionId: this.flowObj.processDefinitionId,
|
|
11789
11807
|
nextUserId: this.form.nextUserId,
|
|
11790
11808
|
nextNodeId: this.form.nextNodeId,
|
|
@@ -11796,7 +11814,7 @@ var Message_component = normalizeComponent(
|
|
|
11796
11814
|
notificationMsg: this.form.notificationMsg,
|
|
11797
11815
|
loginType: 2, //登录方式
|
|
11798
11816
|
isImageOpinion: this.form.isImageOpinion
|
|
11799
|
-
};
|
|
11817
|
+
}, _info['userId'] = this.userId, _info);
|
|
11800
11818
|
if (this.beforeSubmit) {
|
|
11801
11819
|
this.beforeSubmit(info);
|
|
11802
11820
|
return;
|
|
@@ -11928,7 +11946,7 @@ var Message_component = normalizeComponent(
|
|
|
11928
11946
|
return new Promise(function (resolve, reiect) {
|
|
11929
11947
|
utils_http({
|
|
11930
11948
|
url: that.apiBaseUrl ? that.apiBaseUrl + toStartFlow : toStartFlow,
|
|
11931
|
-
params: res
|
|
11949
|
+
params: StartFlowvue_type_script_lang_js_extends({}, res, { userId: this.userId })
|
|
11932
11950
|
}).then(function (res) {
|
|
11933
11951
|
if (res.rCode == 0) {
|
|
11934
11952
|
res.results.nodeExtr.submitTipsMsg && external_eoss_mobile_vant_["Dialog"].confirm({
|
|
@@ -11986,7 +12004,8 @@ var Message_component = normalizeComponent(
|
|
|
11986
12004
|
params: {
|
|
11987
12005
|
processDefinitionId: this.flowObj.processDefinitionId,
|
|
11988
12006
|
nodeId: res,
|
|
11989
|
-
taskId: this.processObj.taskId
|
|
12007
|
+
taskId: this.processObj.taskId,
|
|
12008
|
+
userId: this.userId
|
|
11990
12009
|
}
|
|
11991
12010
|
}).then(function (res) {
|
|
11992
12011
|
_this3.$toast.clear();
|
|
@@ -12028,8 +12047,8 @@ var Message_component = normalizeComponent(
|
|
|
12028
12047
|
|
|
12029
12048
|
var StartFlow_component = normalizeComponent(
|
|
12030
12049
|
components_StartFlowvue_type_script_lang_js_,
|
|
12031
|
-
|
|
12032
|
-
|
|
12050
|
+
StartFlowvue_type_template_id_28b84f8e_render,
|
|
12051
|
+
StartFlowvue_type_template_id_28b84f8e_staticRenderFns,
|
|
12033
12052
|
false,
|
|
12034
12053
|
null,
|
|
12035
12054
|
null,
|
|
@@ -12038,8 +12057,8 @@ var StartFlow_component = normalizeComponent(
|
|
|
12038
12057
|
)
|
|
12039
12058
|
|
|
12040
12059
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
12041
|
-
// 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=
|
|
12042
|
-
var
|
|
12060
|
+
// 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&
|
|
12061
|
+
var Handlevue_type_template_id_51719524_render = function () {
|
|
12043
12062
|
var _vm = this
|
|
12044
12063
|
var _h = _vm.$createElement
|
|
12045
12064
|
var _c = _vm._self._c || _h
|
|
@@ -13050,14 +13069,14 @@ var Handlevue_type_template_id_5a93f18a_render = function () {
|
|
|
13050
13069
|
1
|
|
13051
13070
|
)
|
|
13052
13071
|
}
|
|
13053
|
-
var
|
|
13054
|
-
|
|
13072
|
+
var Handlevue_type_template_id_51719524_staticRenderFns = []
|
|
13073
|
+
Handlevue_type_template_id_51719524_render._withStripped = true
|
|
13055
13074
|
|
|
13056
13075
|
|
|
13057
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
13076
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=51719524&
|
|
13058
13077
|
|
|
13059
|
-
// 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=
|
|
13060
|
-
var
|
|
13078
|
+
// 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&
|
|
13079
|
+
var Rejectvue_type_template_id_0a313a78_render = function () {
|
|
13061
13080
|
var _vm = this
|
|
13062
13081
|
var _h = _vm.$createElement
|
|
13063
13082
|
var _c = _vm._self._c || _h
|
|
@@ -13153,15 +13172,17 @@ var Rejectvue_type_template_id_3c26866b_render = function () {
|
|
|
13153
13172
|
]),
|
|
13154
13173
|
])
|
|
13155
13174
|
}
|
|
13156
|
-
var
|
|
13157
|
-
|
|
13175
|
+
var Rejectvue_type_template_id_0a313a78_staticRenderFns = []
|
|
13176
|
+
Rejectvue_type_template_id_0a313a78_render._withStripped = true
|
|
13158
13177
|
|
|
13159
13178
|
|
|
13160
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Reject.vue?vue&type=template&id=
|
|
13179
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Reject.vue?vue&type=template&id=0a313a78&
|
|
13161
13180
|
|
|
13162
13181
|
// 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&
|
|
13163
13182
|
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; };
|
|
13164
13183
|
|
|
13184
|
+
var _props;
|
|
13185
|
+
|
|
13165
13186
|
//
|
|
13166
13187
|
//
|
|
13167
13188
|
//
|
|
@@ -13211,7 +13232,7 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13211
13232
|
|
|
13212
13233
|
/* harmony default export */ var Rejectvue_type_script_lang_js_ = ({
|
|
13213
13234
|
name: 'Reject',
|
|
13214
|
-
props: {
|
|
13235
|
+
props: (_props = {
|
|
13215
13236
|
appId: String,
|
|
13216
13237
|
type: String,
|
|
13217
13238
|
pendingId: String,
|
|
@@ -13222,7 +13243,10 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13222
13243
|
type: Boolean,
|
|
13223
13244
|
default: false
|
|
13224
13245
|
}
|
|
13225
|
-
},
|
|
13246
|
+
}, _props['userId'] = {
|
|
13247
|
+
type: String,
|
|
13248
|
+
default: ''
|
|
13249
|
+
}, _props),
|
|
13226
13250
|
data: function data() {
|
|
13227
13251
|
return {
|
|
13228
13252
|
showMsg: false, // 判断是否显示系统消息
|
|
@@ -13302,6 +13326,7 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13302
13326
|
formData.append('file', this.file);
|
|
13303
13327
|
}
|
|
13304
13328
|
formData.append('pendingId', this.pendingId);
|
|
13329
|
+
this.form.userId = this.userId;
|
|
13305
13330
|
for (var key in this.form) {
|
|
13306
13331
|
if (this.form[key] !== '' && this.form[key] !== undefined) {
|
|
13307
13332
|
formData.append(key, this.form[key]);
|
|
@@ -13352,7 +13377,8 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13352
13377
|
params: {
|
|
13353
13378
|
pendingId: this.pendingId,
|
|
13354
13379
|
isSinglePage: false,
|
|
13355
|
-
opinion: this.form.opinion
|
|
13380
|
+
opinion: this.form.opinion,
|
|
13381
|
+
userId: this.userId
|
|
13356
13382
|
}
|
|
13357
13383
|
}).then(function (res) {
|
|
13358
13384
|
if (res.status == 'success') {
|
|
@@ -13412,8 +13438,8 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13412
13438
|
|
|
13413
13439
|
var Reject_component = normalizeComponent(
|
|
13414
13440
|
components_Rejectvue_type_script_lang_js_,
|
|
13415
|
-
|
|
13416
|
-
|
|
13441
|
+
Rejectvue_type_template_id_0a313a78_render,
|
|
13442
|
+
Rejectvue_type_template_id_0a313a78_staticRenderFns,
|
|
13417
13443
|
false,
|
|
13418
13444
|
null,
|
|
13419
13445
|
null,
|
|
@@ -14142,6 +14168,10 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
14142
14168
|
esign: {
|
|
14143
14169
|
type: Boolean,
|
|
14144
14170
|
default: false
|
|
14171
|
+
},
|
|
14172
|
+
userId: {
|
|
14173
|
+
type: String,
|
|
14174
|
+
default: ''
|
|
14145
14175
|
}
|
|
14146
14176
|
},
|
|
14147
14177
|
data: function data() {
|
|
@@ -14311,7 +14341,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
14311
14341
|
processDefinitionId: processDefinitionId,
|
|
14312
14342
|
pendingId: pendingId,
|
|
14313
14343
|
opinion: this.form.opinion,
|
|
14314
|
-
taskAction: 'complete'
|
|
14344
|
+
taskAction: 'complete',
|
|
14345
|
+
userId: this.userId
|
|
14315
14346
|
};
|
|
14316
14347
|
var formData = new FormData();
|
|
14317
14348
|
if (this.form.isImageOpinion == 1) {
|
|
@@ -14455,6 +14486,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
14455
14486
|
_that.form.processDefinitionId = taskExamineInfo.processDefinitionId;
|
|
14456
14487
|
_that.form.isSubFlow = taskExamineInfo.isSubFlow;
|
|
14457
14488
|
_that.form.nodeId = taskExamineInfo.nodeId;
|
|
14489
|
+
_that.form.userId = _that.userId;
|
|
14458
14490
|
_that.form.nextNodeId = _that.form.nextOperate == 0 || _that.form.nextOperate == 1 ? _that.form.nextNodeId || nodeInfoMapInfo.nodeExtAttr.defaultNextNode : '';
|
|
14459
14491
|
var formData = new FormData();
|
|
14460
14492
|
if (_that.form.isImageOpinion == 1) {
|
|
@@ -14692,7 +14724,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
14692
14724
|
utils_http({
|
|
14693
14725
|
url: that.baseUrl ? that.baseUrl + api_getHandleInfoHtml : api_getHandleInfoHtml,
|
|
14694
14726
|
params: {
|
|
14695
|
-
pendingId: that.pendingId
|
|
14727
|
+
pendingId: that.pendingId,
|
|
14728
|
+
userId: that.userId
|
|
14696
14729
|
}
|
|
14697
14730
|
}).then(function (res) {
|
|
14698
14731
|
if (res.status == 'success') {
|
|
@@ -14856,7 +14889,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
14856
14889
|
|
|
14857
14890
|
utils_http({
|
|
14858
14891
|
url: this.baseUrl ? this.baseUrl + toStartTaskReadHtml : toStartTaskReadHtml,
|
|
14859
|
-
params: { pendingId: this.pendingId }
|
|
14892
|
+
params: { pendingId: this.pendingId, userId: this.userId }
|
|
14860
14893
|
}).then(function (res) {
|
|
14861
14894
|
var status = res.status,
|
|
14862
14895
|
message = res.message,
|
|
@@ -14894,7 +14927,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
14894
14927
|
nextNodeId: res,
|
|
14895
14928
|
taskId: this.processObj.taskExamine.taskId,
|
|
14896
14929
|
pendingId: this.pendingId,
|
|
14897
|
-
businessId: this.taskExamineInfo.businessId
|
|
14930
|
+
businessId: this.taskExamineInfo.businessId,
|
|
14931
|
+
userId: this.userId
|
|
14898
14932
|
}
|
|
14899
14933
|
}).then(function (res) {
|
|
14900
14934
|
_this6.$toast.clear();
|
|
@@ -15035,8 +15069,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
15035
15069
|
|
|
15036
15070
|
var Handle_component = normalizeComponent(
|
|
15037
15071
|
components_Handlevue_type_script_lang_js_,
|
|
15038
|
-
|
|
15039
|
-
|
|
15072
|
+
Handlevue_type_template_id_51719524_render,
|
|
15073
|
+
Handlevue_type_template_id_51719524_staticRenderFns,
|
|
15040
15074
|
false,
|
|
15041
15075
|
null,
|
|
15042
15076
|
null,
|
|
@@ -15045,8 +15079,8 @@ var Handle_component = normalizeComponent(
|
|
|
15045
15079
|
)
|
|
15046
15080
|
|
|
15047
15081
|
/* harmony default export */ var Handle = (Handle_component.exports);
|
|
15048
|
-
// 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=
|
|
15049
|
-
var
|
|
15082
|
+
// 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&
|
|
15083
|
+
var TaskReadvue_type_template_id_096c8d9e_render = function () {
|
|
15050
15084
|
var _vm = this
|
|
15051
15085
|
var _h = _vm.$createElement
|
|
15052
15086
|
var _c = _vm._self._c || _h
|
|
@@ -15214,15 +15248,17 @@ var TaskReadvue_type_template_id_4a7f2df0_render = function () {
|
|
|
15214
15248
|
]),
|
|
15215
15249
|
])
|
|
15216
15250
|
}
|
|
15217
|
-
var
|
|
15218
|
-
|
|
15251
|
+
var TaskReadvue_type_template_id_096c8d9e_staticRenderFns = []
|
|
15252
|
+
TaskReadvue_type_template_id_096c8d9e_render._withStripped = true
|
|
15219
15253
|
|
|
15220
15254
|
|
|
15221
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=
|
|
15255
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=096c8d9e&
|
|
15222
15256
|
|
|
15223
15257
|
// 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&
|
|
15224
15258
|
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; };
|
|
15225
15259
|
|
|
15260
|
+
var TaskReadvue_type_script_lang_js_props;
|
|
15261
|
+
|
|
15226
15262
|
//
|
|
15227
15263
|
//
|
|
15228
15264
|
//
|
|
@@ -15333,7 +15369,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
15333
15369
|
components: {
|
|
15334
15370
|
Message: Message
|
|
15335
15371
|
},
|
|
15336
|
-
props: {
|
|
15372
|
+
props: (TaskReadvue_type_script_lang_js_props = {
|
|
15337
15373
|
appid: String,
|
|
15338
15374
|
orgId: String,
|
|
15339
15375
|
beforeSubmit: Function,
|
|
@@ -15351,7 +15387,10 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
15351
15387
|
type: [String, Number],
|
|
15352
15388
|
default: 0
|
|
15353
15389
|
}
|
|
15354
|
-
},
|
|
15390
|
+
}, TaskReadvue_type_script_lang_js_props['userId'] = {
|
|
15391
|
+
type: String,
|
|
15392
|
+
default: ''
|
|
15393
|
+
}, TaskReadvue_type_script_lang_js_props),
|
|
15355
15394
|
computed: {
|
|
15356
15395
|
params: function params() {
|
|
15357
15396
|
return {
|
|
@@ -15430,7 +15469,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
15430
15469
|
opinion: opinion,
|
|
15431
15470
|
pendingId: pendingId,
|
|
15432
15471
|
isSubFlow: taskExamine.isSubFlow,
|
|
15433
|
-
isSinglePage: taskExamine.isSinglePage
|
|
15472
|
+
isSinglePage: taskExamine.isSinglePage,
|
|
15473
|
+
userId: this.userId
|
|
15434
15474
|
}
|
|
15435
15475
|
};
|
|
15436
15476
|
utils_http(params).then(function (res) {
|
|
@@ -15494,7 +15534,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
15494
15534
|
var _that = this;
|
|
15495
15535
|
var params = {
|
|
15496
15536
|
pendingId: this.pendingId,
|
|
15497
|
-
taskAction: _that.newType
|
|
15537
|
+
taskAction: _that.newType,
|
|
15538
|
+
userId: _that.userId
|
|
15498
15539
|
};
|
|
15499
15540
|
if (_that.newType != 'taskReadAndEnd') delete params.taskAction;
|
|
15500
15541
|
|
|
@@ -15550,7 +15591,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
15550
15591
|
notificationMsg: this.form.notificationMsg,
|
|
15551
15592
|
isImageOpinion: 0,
|
|
15552
15593
|
loginType: 2,
|
|
15553
|
-
taskAction: this.type
|
|
15594
|
+
taskAction: this.type,
|
|
15595
|
+
userId: this.userId
|
|
15554
15596
|
}
|
|
15555
15597
|
};
|
|
15556
15598
|
if (this.beforeSubmit) {
|
|
@@ -15581,7 +15623,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
15581
15623
|
|
|
15582
15624
|
utils_http({
|
|
15583
15625
|
url: this.baseUrl ? this.baseUrl + api_getHandleInfoHtml : api_getHandleInfoHtml,
|
|
15584
|
-
params: { pendingId: this.pendingId }
|
|
15626
|
+
params: { pendingId: this.pendingId, userId: this.userId }
|
|
15585
15627
|
}).then(function (res) {
|
|
15586
15628
|
var status = res.status,
|
|
15587
15629
|
_res$data2 = res.data,
|
|
@@ -15641,6 +15683,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
15641
15683
|
currentOrgProcessKey: processDefinitionId,
|
|
15642
15684
|
noticeType: this.form.notificationMsgType,
|
|
15643
15685
|
taskAction: 'create',
|
|
15686
|
+
userId: this.userId,
|
|
15644
15687
|
// notificationMsg: this.form.notificationMsg,
|
|
15645
15688
|
nextReadUserId: ids
|
|
15646
15689
|
})
|
|
@@ -15681,8 +15724,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
15681
15724
|
|
|
15682
15725
|
var TaskRead_component = normalizeComponent(
|
|
15683
15726
|
components_TaskReadvue_type_script_lang_js_,
|
|
15684
|
-
|
|
15685
|
-
|
|
15727
|
+
TaskReadvue_type_template_id_096c8d9e_render,
|
|
15728
|
+
TaskReadvue_type_template_id_096c8d9e_staticRenderFns,
|
|
15686
15729
|
false,
|
|
15687
15730
|
null,
|
|
15688
15731
|
null,
|
|
@@ -15691,8 +15734,8 @@ var TaskRead_component = normalizeComponent(
|
|
|
15691
15734
|
)
|
|
15692
15735
|
|
|
15693
15736
|
/* harmony default export */ var TaskRead = (TaskRead_component.exports);
|
|
15694
|
-
// 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=
|
|
15695
|
-
var
|
|
15737
|
+
// 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=0c6f1174&
|
|
15738
|
+
var taskUnionExaminevue_type_template_id_0c6f1174_render = function () {
|
|
15696
15739
|
var _vm = this
|
|
15697
15740
|
var _h = _vm.$createElement
|
|
15698
15741
|
var _c = _vm._self._c || _h
|
|
@@ -15835,11 +15878,11 @@ var taskUnionExaminevue_type_template_id_70a11c5a_render = function () {
|
|
|
15835
15878
|
]),
|
|
15836
15879
|
])
|
|
15837
15880
|
}
|
|
15838
|
-
var
|
|
15839
|
-
|
|
15881
|
+
var taskUnionExaminevue_type_template_id_0c6f1174_staticRenderFns = []
|
|
15882
|
+
taskUnionExaminevue_type_template_id_0c6f1174_render._withStripped = true
|
|
15840
15883
|
|
|
15841
15884
|
|
|
15842
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=
|
|
15885
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=0c6f1174&
|
|
15843
15886
|
|
|
15844
15887
|
// 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&
|
|
15845
15888
|
//
|
|
@@ -15943,6 +15986,7 @@ taskUnionExaminevue_type_template_id_70a11c5a_render._withStripped = true
|
|
|
15943
15986
|
inevitableNode: { type: String, default: '' },
|
|
15944
15987
|
appId: { type: String, default: '' },
|
|
15945
15988
|
defaultOpinion: { type: String, default: '' },
|
|
15989
|
+
userId: { type: String, default: '' },
|
|
15946
15990
|
// disabled: { type: Boolean, default: false },
|
|
15947
15991
|
// multiple: { type: Boolean, default: true },
|
|
15948
15992
|
baseUrl: { type: String, default: '' },
|
|
@@ -16034,7 +16078,8 @@ taskUnionExaminevue_type_template_id_70a11c5a_render._withStripped = true
|
|
|
16034
16078
|
url: isCanStartSubFlow,
|
|
16035
16079
|
params: {
|
|
16036
16080
|
appId: this.appId,
|
|
16037
|
-
inevitableNode: this.inevitableNode
|
|
16081
|
+
inevitableNode: this.inevitableNode,
|
|
16082
|
+
userId: this.userId
|
|
16038
16083
|
},
|
|
16039
16084
|
type: 'post',
|
|
16040
16085
|
headers: { Accept: 'application/json,text/plain' }
|
|
@@ -16056,7 +16101,8 @@ taskUnionExaminevue_type_template_id_70a11c5a_render._withStripped = true
|
|
|
16056
16101
|
var _this2 = this;
|
|
16057
16102
|
|
|
16058
16103
|
var params = {
|
|
16059
|
-
pendingId: this.pendingId
|
|
16104
|
+
pendingId: this.pendingId,
|
|
16105
|
+
userId: this.userId
|
|
16060
16106
|
};
|
|
16061
16107
|
utils_http({ url: getNotificationMsg, params: params, methods: 'post' }).then(function (res) {
|
|
16062
16108
|
if (res.status === 'success') {
|
|
@@ -16151,7 +16197,7 @@ taskUnionExaminevue_type_template_id_70a11c5a_render._withStripped = true
|
|
|
16151
16197
|
|
|
16152
16198
|
var params = {
|
|
16153
16199
|
url: this.type == 'takeAdvice' ? toTaskTakeAdvice : this.type === 'startDraf' ? toTaskStartDraft : this.type == 'unionSeal' ? toTaskUnionSeal : this.type == 'twoOfficesDispatch' ? toTwoOfficesDispatch : toTaskUnionExamine,
|
|
16154
|
-
params: { pendingId: this.pendingId },
|
|
16200
|
+
params: { pendingId: this.pendingId, userId: this.userId },
|
|
16155
16201
|
headers: { Accept: 'application/json,text/plain' }
|
|
16156
16202
|
};
|
|
16157
16203
|
this.$toast.loading({
|
|
@@ -16258,11 +16304,15 @@ taskUnionExaminevue_type_template_id_70a11c5a_render._withStripped = true
|
|
|
16258
16304
|
if (isOpinionRequired == 1 && !opinion && isImageOpinion == 0 || isOpinionRequired == 1 && isImageOpinion == 1 && !file) {
|
|
16259
16305
|
return this.$toast('当前步骤必须输入意见!');
|
|
16260
16306
|
}
|
|
16261
|
-
if (type == 'takeAdvice' &&
|
|
16262
|
-
return this.$toast('请选择处理对象!');
|
|
16263
|
-
} else if (isHideCurrentOrg == 0 && (nextOtherOrgObj == '' || nextOtherOrgObj == null)) {
|
|
16307
|
+
if (type == 'takeAdvice' && !nextCurrentOrgObj && isHideCurrentOrg == 0 && isHideOtherOrg == 0 && !nextOtherOrgObj) {
|
|
16264
16308
|
return this.$toast('请选择处理对象!');
|
|
16265
16309
|
}
|
|
16310
|
+
// else if (
|
|
16311
|
+
// isHideCurrentOrg == 0 &&
|
|
16312
|
+
// (nextOtherOrgObj == '' || nextOtherOrgObj == null)
|
|
16313
|
+
// ) {
|
|
16314
|
+
// return this.$toast('请选择处理对象!');
|
|
16315
|
+
// }
|
|
16266
16316
|
var info = {
|
|
16267
16317
|
opinion: opinion,
|
|
16268
16318
|
pendingId: pendingId,
|
|
@@ -16272,7 +16322,8 @@ taskUnionExaminevue_type_template_id_70a11c5a_render._withStripped = true
|
|
|
16272
16322
|
notificationType: noticeType.join(','),
|
|
16273
16323
|
choiceDeptId: choiceDeptId,
|
|
16274
16324
|
isSubFlow: isSubFlow,
|
|
16275
|
-
choiceOrgId: choiceOrgId
|
|
16325
|
+
choiceOrgId: choiceOrgId,
|
|
16326
|
+
userId: this.userId
|
|
16276
16327
|
};
|
|
16277
16328
|
var formData = new FormData();
|
|
16278
16329
|
if (isImageOpinion == 1) {
|
|
@@ -16394,8 +16445,8 @@ taskUnionExaminevue_type_template_id_70a11c5a_render._withStripped = true
|
|
|
16394
16445
|
|
|
16395
16446
|
var taskUnionExamine_component = normalizeComponent(
|
|
16396
16447
|
components_taskUnionExaminevue_type_script_lang_js_,
|
|
16397
|
-
|
|
16398
|
-
|
|
16448
|
+
taskUnionExaminevue_type_template_id_0c6f1174_render,
|
|
16449
|
+
taskUnionExaminevue_type_template_id_0c6f1174_staticRenderFns,
|
|
16399
16450
|
false,
|
|
16400
16451
|
null,
|
|
16401
16452
|
null,
|
|
@@ -19074,6 +19125,222 @@ pagination_src_main.install = function (Vue) {
|
|
|
19074
19125
|
};
|
|
19075
19126
|
|
|
19076
19127
|
/* harmony default export */ var pagination = (pagination_src_main);
|
|
19128
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/swipe/src/main.vue?vue&type=template&id=362eacd8&
|
|
19129
|
+
var mainvue_type_template_id_362eacd8_render = function () {
|
|
19130
|
+
var _vm = this
|
|
19131
|
+
var _h = _vm.$createElement
|
|
19132
|
+
var _c = _vm._self._c || _h
|
|
19133
|
+
return _c(
|
|
19134
|
+
"van-swipe",
|
|
19135
|
+
_vm._g(
|
|
19136
|
+
_vm._b({ ref: "swipe" }, "van-swipe", _vm.$attrs, false),
|
|
19137
|
+
_vm.$listeners
|
|
19138
|
+
),
|
|
19139
|
+
[
|
|
19140
|
+
_vm._l(_vm.contents, function (item, index) {
|
|
19141
|
+
return _c("van-swipe-item", { key: index }, [
|
|
19142
|
+
item.render
|
|
19143
|
+
? _c("div", {
|
|
19144
|
+
domProps: { innerHTML: _vm._s(item.render(item)) },
|
|
19145
|
+
on: {
|
|
19146
|
+
click: function ($event) {
|
|
19147
|
+
_vm.handleClick(item, index)
|
|
19148
|
+
},
|
|
19149
|
+
},
|
|
19150
|
+
})
|
|
19151
|
+
: _c("img", {
|
|
19152
|
+
staticStyle: { width: "100%", height: "100%" },
|
|
19153
|
+
attrs: { src: item.url },
|
|
19154
|
+
on: {
|
|
19155
|
+
click: function ($event) {
|
|
19156
|
+
_vm.handleClick(item, index)
|
|
19157
|
+
},
|
|
19158
|
+
},
|
|
19159
|
+
}),
|
|
19160
|
+
])
|
|
19161
|
+
}),
|
|
19162
|
+
_vm._l(_vm.$slots, function (index, name) {
|
|
19163
|
+
return _c("template", { slot: name }, [_vm._t(name)], 2)
|
|
19164
|
+
}),
|
|
19165
|
+
],
|
|
19166
|
+
2
|
|
19167
|
+
)
|
|
19168
|
+
}
|
|
19169
|
+
var mainvue_type_template_id_362eacd8_staticRenderFns = []
|
|
19170
|
+
mainvue_type_template_id_362eacd8_render._withStripped = true
|
|
19171
|
+
|
|
19172
|
+
|
|
19173
|
+
// CONCATENATED MODULE: ./packages/swipe/src/main.vue?vue&type=template&id=362eacd8&
|
|
19174
|
+
|
|
19175
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/swipe/src/main.vue?vue&type=script&lang=js&
|
|
19176
|
+
//
|
|
19177
|
+
//
|
|
19178
|
+
//
|
|
19179
|
+
//
|
|
19180
|
+
//
|
|
19181
|
+
//
|
|
19182
|
+
//
|
|
19183
|
+
//
|
|
19184
|
+
//
|
|
19185
|
+
//
|
|
19186
|
+
//
|
|
19187
|
+
//
|
|
19188
|
+
|
|
19189
|
+
/* harmony default export */ var swipe_src_mainvue_type_script_lang_js_ = ({
|
|
19190
|
+
name: 'EmSwipe',
|
|
19191
|
+
props: {
|
|
19192
|
+
contents: {
|
|
19193
|
+
type: Array,
|
|
19194
|
+
default: function _default() {
|
|
19195
|
+
return [];
|
|
19196
|
+
}
|
|
19197
|
+
}
|
|
19198
|
+
},
|
|
19199
|
+
methods: {
|
|
19200
|
+
resize: function resize() {
|
|
19201
|
+
this.$refs.swipe.resize();
|
|
19202
|
+
},
|
|
19203
|
+
prev: function prev() {
|
|
19204
|
+
this.$refs.swipe.prev();
|
|
19205
|
+
},
|
|
19206
|
+
next: function next() {
|
|
19207
|
+
this.$refs.swipe.next();
|
|
19208
|
+
},
|
|
19209
|
+
swipeTo: function swipeTo(index, options) {
|
|
19210
|
+
this.$refs.swipe.swipeTo(index, options);
|
|
19211
|
+
},
|
|
19212
|
+
handleClick: function handleClick(info, index) {
|
|
19213
|
+
this.$emit('click', info, index);
|
|
19214
|
+
}
|
|
19215
|
+
}
|
|
19216
|
+
});
|
|
19217
|
+
// CONCATENATED MODULE: ./packages/swipe/src/main.vue?vue&type=script&lang=js&
|
|
19218
|
+
/* harmony default export */ var packages_swipe_src_mainvue_type_script_lang_js_ = (swipe_src_mainvue_type_script_lang_js_);
|
|
19219
|
+
// CONCATENATED MODULE: ./packages/swipe/src/main.vue
|
|
19220
|
+
|
|
19221
|
+
|
|
19222
|
+
|
|
19223
|
+
|
|
19224
|
+
|
|
19225
|
+
/* normalize component */
|
|
19226
|
+
|
|
19227
|
+
var swipe_src_main_component = normalizeComponent(
|
|
19228
|
+
packages_swipe_src_mainvue_type_script_lang_js_,
|
|
19229
|
+
mainvue_type_template_id_362eacd8_render,
|
|
19230
|
+
mainvue_type_template_id_362eacd8_staticRenderFns,
|
|
19231
|
+
false,
|
|
19232
|
+
null,
|
|
19233
|
+
null,
|
|
19234
|
+
null
|
|
19235
|
+
|
|
19236
|
+
)
|
|
19237
|
+
|
|
19238
|
+
/* harmony default export */ var swipe_src_main = (swipe_src_main_component.exports);
|
|
19239
|
+
// CONCATENATED MODULE: ./packages/swipe/index.js
|
|
19240
|
+
|
|
19241
|
+
|
|
19242
|
+
swipe_src_main.install = function (Vue) {
|
|
19243
|
+
return Vue.component(swipe_src_main.name, swipe_src_main);
|
|
19244
|
+
};
|
|
19245
|
+
|
|
19246
|
+
/* harmony default export */ var swipe = (swipe_src_main);
|
|
19247
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/pull-refresh/src/main.vue?vue&type=template&id=66d04530&
|
|
19248
|
+
var mainvue_type_template_id_66d04530_render = function () {
|
|
19249
|
+
var _vm = this
|
|
19250
|
+
var _h = _vm.$createElement
|
|
19251
|
+
var _c = _vm._self._c || _h
|
|
19252
|
+
return _c(
|
|
19253
|
+
"van-pull-refresh",
|
|
19254
|
+
_vm._g(
|
|
19255
|
+
_vm._b(
|
|
19256
|
+
{
|
|
19257
|
+
model: {
|
|
19258
|
+
value: _vm.isLoading,
|
|
19259
|
+
callback: function ($$v) {
|
|
19260
|
+
_vm.isLoading = $$v
|
|
19261
|
+
},
|
|
19262
|
+
expression: "isLoading",
|
|
19263
|
+
},
|
|
19264
|
+
},
|
|
19265
|
+
"van-pull-refresh",
|
|
19266
|
+
_vm.$attrs,
|
|
19267
|
+
false
|
|
19268
|
+
),
|
|
19269
|
+
_vm.$listeners
|
|
19270
|
+
),
|
|
19271
|
+
[
|
|
19272
|
+
_vm._l(_vm.$slots, function (index, name) {
|
|
19273
|
+
return _c("template", { slot: name }, [_vm._t(name)], 2)
|
|
19274
|
+
}),
|
|
19275
|
+
],
|
|
19276
|
+
2
|
|
19277
|
+
)
|
|
19278
|
+
}
|
|
19279
|
+
var mainvue_type_template_id_66d04530_staticRenderFns = []
|
|
19280
|
+
mainvue_type_template_id_66d04530_render._withStripped = true
|
|
19281
|
+
|
|
19282
|
+
|
|
19283
|
+
// CONCATENATED MODULE: ./packages/pull-refresh/src/main.vue?vue&type=template&id=66d04530&
|
|
19284
|
+
|
|
19285
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/pull-refresh/src/main.vue?vue&type=script&lang=js&
|
|
19286
|
+
//
|
|
19287
|
+
//
|
|
19288
|
+
//
|
|
19289
|
+
//
|
|
19290
|
+
//
|
|
19291
|
+
//
|
|
19292
|
+
//
|
|
19293
|
+
//
|
|
19294
|
+
|
|
19295
|
+
/* harmony default export */ var pull_refresh_src_mainvue_type_script_lang_js_ = ({
|
|
19296
|
+
name: 'EmPullRefresh',
|
|
19297
|
+
props: {
|
|
19298
|
+
value: {
|
|
19299
|
+
type: Boolean,
|
|
19300
|
+
default: false
|
|
19301
|
+
}
|
|
19302
|
+
},
|
|
19303
|
+
computed: {
|
|
19304
|
+
isLoading: {
|
|
19305
|
+
set: function set() {
|
|
19306
|
+
return this.value;
|
|
19307
|
+
},
|
|
19308
|
+
get: function get(val) {
|
|
19309
|
+
return val;
|
|
19310
|
+
}
|
|
19311
|
+
}
|
|
19312
|
+
}
|
|
19313
|
+
});
|
|
19314
|
+
// CONCATENATED MODULE: ./packages/pull-refresh/src/main.vue?vue&type=script&lang=js&
|
|
19315
|
+
/* harmony default export */ var packages_pull_refresh_src_mainvue_type_script_lang_js_ = (pull_refresh_src_mainvue_type_script_lang_js_);
|
|
19316
|
+
// CONCATENATED MODULE: ./packages/pull-refresh/src/main.vue
|
|
19317
|
+
|
|
19318
|
+
|
|
19319
|
+
|
|
19320
|
+
|
|
19321
|
+
|
|
19322
|
+
/* normalize component */
|
|
19323
|
+
|
|
19324
|
+
var pull_refresh_src_main_component = normalizeComponent(
|
|
19325
|
+
packages_pull_refresh_src_mainvue_type_script_lang_js_,
|
|
19326
|
+
mainvue_type_template_id_66d04530_render,
|
|
19327
|
+
mainvue_type_template_id_66d04530_staticRenderFns,
|
|
19328
|
+
false,
|
|
19329
|
+
null,
|
|
19330
|
+
null,
|
|
19331
|
+
null
|
|
19332
|
+
|
|
19333
|
+
)
|
|
19334
|
+
|
|
19335
|
+
/* harmony default export */ var pull_refresh_src_main = (pull_refresh_src_main_component.exports);
|
|
19336
|
+
// CONCATENATED MODULE: ./packages/pull-refresh/index.js
|
|
19337
|
+
|
|
19338
|
+
|
|
19339
|
+
pull_refresh_src_main.install = function (Vue) {
|
|
19340
|
+
return Vue.component(pull_refresh_src_main.name, pull_refresh_src_main);
|
|
19341
|
+
};
|
|
19342
|
+
|
|
19343
|
+
/* harmony default export */ var pull_refresh = (pull_refresh_src_main);
|
|
19077
19344
|
// CONCATENATED MODULE: ./src/index.js
|
|
19078
19345
|
/* Automatically generated by './build/bin/build-entry.js' */
|
|
19079
19346
|
|
|
@@ -19117,7 +19384,9 @@ pagination_src_main.install = function (Vue) {
|
|
|
19117
19384
|
|
|
19118
19385
|
|
|
19119
19386
|
|
|
19120
|
-
|
|
19387
|
+
|
|
19388
|
+
|
|
19389
|
+
var components = [loading, packages_button, button_group, selector, packages_field, packages_radio, picker, cell, circle, packages_switch, uploader, grid, grid_item, empty, packages_date, search, packages_tabs, tab, table, table_column, packages_tag, nav_bar, list, flow, popover, packages_checkbox, calendar, count_down, packages_form, skeleton, cascader, packages_image, image_preview, rate, action_sheet, popup, stepper, esign, pagination, swipe, pull_refresh];
|
|
19121
19390
|
|
|
19122
19391
|
var install = function install(Vue) {
|
|
19123
19392
|
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
@@ -19132,7 +19401,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
19132
19401
|
}
|
|
19133
19402
|
|
|
19134
19403
|
/* harmony default export */ var src = __webpack_exports__["default"] = ({
|
|
19135
|
-
version: '0.2.
|
|
19404
|
+
version: '0.2.9',
|
|
19136
19405
|
install: install,
|
|
19137
19406
|
Button: packages_button,
|
|
19138
19407
|
ButtonGroup: button_group,
|
|
@@ -19171,7 +19440,9 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
19171
19440
|
Popup: popup,
|
|
19172
19441
|
Stepper: stepper,
|
|
19173
19442
|
Esign: esign,
|
|
19174
|
-
Pagination: pagination
|
|
19443
|
+
Pagination: pagination,
|
|
19444
|
+
Swipe: swipe,
|
|
19445
|
+
PullRefresh: pull_refresh
|
|
19175
19446
|
});
|
|
19176
19447
|
|
|
19177
19448
|
/***/ })
|