eoss-ui 0.8.39 → 0.8.40
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/eoss-ui.common.js +736 -1086
- package/lib/flow-list.js +83 -22
- package/lib/flow.js +167 -111
- package/lib/index.js +1 -1
- package/lib/selector-panel.js +189 -110
- package/lib/selector.js +164 -700
- package/lib/theme-chalk/flow-list.css +1 -1
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff +0 -0
- package/lib/theme-chalk/form.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/selector-panel.css +1 -1
- package/lib/theme-chalk/selector.css +1 -1
- package/lib/theme-chalk/tree.css +1 -1
- package/package.json +2 -2
- package/packages/flow/src/flow.vue +26 -11
- package/packages/flow/src/main.vue +10 -5
- package/packages/flow/src/selectUser.vue +1 -0
- package/packages/flow-list/src/main.vue +72 -14
- package/packages/selector/src/main.vue +120 -269
- package/packages/selector-panel/src/main.vue +1071 -1036
- package/packages/selector-panel/src/tree.vue +24 -18
- package/packages/theme-chalk/lib/flow-list.css +1 -1
- package/packages/theme-chalk/lib/flow.css +1 -1
- 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/form.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/selector-panel.css +1 -1
- package/packages/theme-chalk/lib/selector.css +1 -1
- package/packages/theme-chalk/lib/tree.css +1 -1
- package/packages/theme-chalk/src/flow-list.scss +61 -55
- package/packages/theme-chalk/src/flow.scss +16 -2
- package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/src/form.scss +5 -1
- package/packages/theme-chalk/src/selector-panel.scss +36 -6
- package/packages/theme-chalk/src/selector.scss +66 -115
- package/packages/theme-chalk/src/tree.scss +1 -1
- package/src/index.js +1 -1
package/lib/eoss-ui.common.js
CHANGED
|
@@ -29337,8 +29337,8 @@ form_src_main.install = function (Vue) {
|
|
|
29337
29337
|
};
|
|
29338
29338
|
|
|
29339
29339
|
/* harmony default export */ var packages_form = (form_src_main);
|
|
29340
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=
|
|
29341
|
-
var
|
|
29340
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=7e2b9e7d&
|
|
29341
|
+
var mainvue_type_template_id_7e2b9e7d_render = function () {
|
|
29342
29342
|
var _vm = this
|
|
29343
29343
|
var _h = _vm.$createElement
|
|
29344
29344
|
var _c = _vm._self._c || _h
|
|
@@ -29395,6 +29395,8 @@ var mainvue_type_template_id_723b9982_render = function () {
|
|
|
29395
29395
|
on: {
|
|
29396
29396
|
buttonClick: _vm.handleButtonClick,
|
|
29397
29397
|
success: _vm.handleNewFlowSuccess,
|
|
29398
|
+
save: _vm.handleNewFlowSave,
|
|
29399
|
+
shrink: _vm.setShrink,
|
|
29398
29400
|
},
|
|
29399
29401
|
},
|
|
29400
29402
|
"FlowNew",
|
|
@@ -29451,7 +29453,11 @@ var mainvue_type_template_id_723b9982_render = function () {
|
|
|
29451
29453
|
? "es-icon-shouqi"
|
|
29452
29454
|
: "es-icon-zhankai",
|
|
29453
29455
|
},
|
|
29454
|
-
on: {
|
|
29456
|
+
on: {
|
|
29457
|
+
click: function ($event) {
|
|
29458
|
+
_vm.setShrink(!_vm.shrink)
|
|
29459
|
+
},
|
|
29460
|
+
},
|
|
29455
29461
|
})
|
|
29456
29462
|
: _vm._e(),
|
|
29457
29463
|
],
|
|
@@ -29782,7 +29788,11 @@ var mainvue_type_template_id_723b9982_render = function () {
|
|
|
29782
29788
|
? "es-icon-shouqi"
|
|
29783
29789
|
: "es-icon-zhankai",
|
|
29784
29790
|
},
|
|
29785
|
-
on: {
|
|
29791
|
+
on: {
|
|
29792
|
+
click: function ($event) {
|
|
29793
|
+
_vm.setShrink(!_vm.shrink)
|
|
29794
|
+
},
|
|
29795
|
+
},
|
|
29786
29796
|
})
|
|
29787
29797
|
: _vm._e(),
|
|
29788
29798
|
],
|
|
@@ -32493,11 +32503,11 @@ var mainvue_type_template_id_723b9982_render = function () {
|
|
|
32493
32503
|
)
|
|
32494
32504
|
: _vm._e()
|
|
32495
32505
|
}
|
|
32496
|
-
var
|
|
32497
|
-
|
|
32506
|
+
var mainvue_type_template_id_7e2b9e7d_staticRenderFns = []
|
|
32507
|
+
mainvue_type_template_id_7e2b9e7d_render._withStripped = true
|
|
32498
32508
|
|
|
32499
32509
|
|
|
32500
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
32510
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=7e2b9e7d&
|
|
32501
32511
|
|
|
32502
32512
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=8458f882&
|
|
32503
32513
|
var CommonOpinionsvue_type_template_id_8458f882_render = function () {
|
|
@@ -33548,8 +33558,8 @@ var CommonOpinions_component = normalizeComponent(
|
|
|
33548
33558
|
)
|
|
33549
33559
|
|
|
33550
33560
|
/* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
|
|
33551
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/flow.vue?vue&type=template&id=
|
|
33552
|
-
var
|
|
33561
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/flow.vue?vue&type=template&id=d84c2cd8&
|
|
33562
|
+
var flowvue_type_template_id_d84c2cd8_render = function () {
|
|
33553
33563
|
var _vm = this
|
|
33554
33564
|
var _h = _vm.$createElement
|
|
33555
33565
|
var _c = _vm._self._c || _h
|
|
@@ -33576,7 +33586,10 @@ var flowvue_type_template_id_ef00b086_render = function () {
|
|
|
33576
33586
|
_c("div", { staticClass: "es-flow-top" }, [
|
|
33577
33587
|
_c(
|
|
33578
33588
|
"div",
|
|
33579
|
-
{
|
|
33589
|
+
{
|
|
33590
|
+
class:
|
|
33591
|
+
"es-flow-title " + (_vm.shrink ? "border_none" : ""),
|
|
33592
|
+
},
|
|
33580
33593
|
[
|
|
33581
33594
|
_c(
|
|
33582
33595
|
"span",
|
|
@@ -33708,6 +33721,7 @@ var flowvue_type_template_id_ef00b086_render = function () {
|
|
|
33708
33721
|
? _c(
|
|
33709
33722
|
"el-select",
|
|
33710
33723
|
{
|
|
33724
|
+
staticClass: "es-flow-select",
|
|
33711
33725
|
staticStyle: {
|
|
33712
33726
|
width: "100% !important",
|
|
33713
33727
|
},
|
|
@@ -33905,7 +33919,11 @@ var flowvue_type_template_id_ef00b086_render = function () {
|
|
|
33905
33919
|
[
|
|
33906
33920
|
_c(
|
|
33907
33921
|
"div",
|
|
33908
|
-
{
|
|
33922
|
+
{
|
|
33923
|
+
class:
|
|
33924
|
+
"es-flow-title " +
|
|
33925
|
+
(_vm.shrink ? "border_none" : ""),
|
|
33926
|
+
},
|
|
33909
33927
|
[
|
|
33910
33928
|
_c(
|
|
33911
33929
|
"span",
|
|
@@ -34249,6 +34267,7 @@ var flowvue_type_template_id_ef00b086_render = function () {
|
|
|
34249
34267
|
"el-select",
|
|
34250
34268
|
{
|
|
34251
34269
|
key: _vm.optionsKey,
|
|
34270
|
+
staticClass: "es-flow-select",
|
|
34252
34271
|
staticStyle: {
|
|
34253
34272
|
width: "calc(100% + 40px)",
|
|
34254
34273
|
},
|
|
@@ -34667,6 +34686,8 @@ var flowvue_type_template_id_ef00b086_render = function () {
|
|
|
34667
34686
|
? _c(
|
|
34668
34687
|
"el-select",
|
|
34669
34688
|
{
|
|
34689
|
+
staticClass:
|
|
34690
|
+
"es-flow-select",
|
|
34670
34691
|
attrs: {
|
|
34671
34692
|
placeholder:
|
|
34672
34693
|
"请选择下步操作",
|
|
@@ -34789,6 +34810,8 @@ var flowvue_type_template_id_ef00b086_render = function () {
|
|
|
34789
34810
|
? _c(
|
|
34790
34811
|
"el-select",
|
|
34791
34812
|
{
|
|
34813
|
+
staticClass:
|
|
34814
|
+
"es-flow-select",
|
|
34792
34815
|
attrs: {
|
|
34793
34816
|
placeholder:
|
|
34794
34817
|
"请选择下步节点",
|
|
@@ -34834,6 +34857,8 @@ var flowvue_type_template_id_ef00b086_render = function () {
|
|
|
34834
34857
|
"el-option",
|
|
34835
34858
|
{
|
|
34836
34859
|
key: items.id,
|
|
34860
|
+
staticClass:
|
|
34861
|
+
"es-flow-select",
|
|
34837
34862
|
attrs: {
|
|
34838
34863
|
label:
|
|
34839
34864
|
items.nodeName,
|
|
@@ -35099,6 +35124,8 @@ var flowvue_type_template_id_ef00b086_render = function () {
|
|
|
35099
35124
|
_c(
|
|
35100
35125
|
"el-select",
|
|
35101
35126
|
{
|
|
35127
|
+
staticClass:
|
|
35128
|
+
"es-flow-select",
|
|
35102
35129
|
attrs: {
|
|
35103
35130
|
placeholder:
|
|
35104
35131
|
"请选择主办",
|
|
@@ -35443,7 +35470,7 @@ var flowvue_type_template_id_ef00b086_render = function () {
|
|
|
35443
35470
|
],
|
|
35444
35471
|
1
|
|
35445
35472
|
),
|
|
35446
|
-
_vm.isCustomPreset
|
|
35473
|
+
_vm.isCustomPreset && _vm.nextNode.nextOperate != 9
|
|
35447
35474
|
? _c("CustomPreset", {
|
|
35448
35475
|
ref: "customPreset",
|
|
35449
35476
|
attrs: {
|
|
@@ -35758,81 +35785,89 @@ var flowvue_type_template_id_ef00b086_render = function () {
|
|
|
35758
35785
|
1
|
|
35759
35786
|
)
|
|
35760
35787
|
: _vm._e(),
|
|
35761
|
-
|
|
35762
|
-
|
|
35763
|
-
|
|
35764
|
-
|
|
35765
|
-
|
|
35766
|
-
|
|
35767
|
-
|
|
35768
|
-
|
|
35769
|
-
|
|
35770
|
-
|
|
35771
|
-
|
|
35772
|
-
|
|
35773
|
-
|
|
35774
|
-
|
|
35775
|
-
|
|
35776
|
-
|
|
35777
|
-
|
|
35778
|
-
|
|
35779
|
-
|
|
35780
|
-
|
|
35781
|
-
|
|
35782
|
-
|
|
35783
|
-
|
|
35784
|
-
|
|
35785
|
-
|
|
35786
|
-
|
|
35787
|
-
|
|
35788
|
-
|
|
35789
|
-
|
|
35790
|
-
"
|
|
35791
|
-
|
|
35792
|
-
|
|
35793
|
-
|
|
35794
|
-
|
|
35795
|
-
|
|
35796
|
-
|
|
35797
|
-
|
|
35798
|
-
|
|
35799
|
-
|
|
35800
|
-
|
|
35801
|
-
|
|
35802
|
-
|
|
35803
|
-
|
|
35804
|
-
|
|
35805
|
-
|
|
35806
|
-
|
|
35807
|
-
|
|
35808
|
-
|
|
35809
|
-
|
|
35810
|
-
|
|
35811
|
-
|
|
35812
|
-
|
|
35813
|
-
|
|
35814
|
-
|
|
35815
|
-
|
|
35816
|
-
|
|
35817
|
-
|
|
35818
|
-
|
|
35819
|
-
|
|
35820
|
-
|
|
35821
|
-
|
|
35822
|
-
|
|
35823
|
-
|
|
35824
|
-
|
|
35825
|
-
|
|
35826
|
-
|
|
35827
|
-
|
|
35828
|
-
|
|
35829
|
-
|
|
35830
|
-
|
|
35831
|
-
|
|
35832
|
-
|
|
35833
|
-
|
|
35834
|
-
|
|
35835
|
-
|
|
35788
|
+
_c(
|
|
35789
|
+
"div",
|
|
35790
|
+
{ staticClass: "es-info" },
|
|
35791
|
+
[
|
|
35792
|
+
_vm.btnType === "reject"
|
|
35793
|
+
? _c("ProcessReject", {
|
|
35794
|
+
ref: "reject",
|
|
35795
|
+
staticClass: "es-info",
|
|
35796
|
+
attrs: {
|
|
35797
|
+
"pending-id": _vm.pendingId,
|
|
35798
|
+
option: _vm.value,
|
|
35799
|
+
hideBtn: "",
|
|
35800
|
+
showTooltip: _vm.showTooltip,
|
|
35801
|
+
simpleTips: _vm.simpleTips,
|
|
35802
|
+
flowLabelConfig: _vm.flowLabelConfig,
|
|
35803
|
+
isCancelSecondConfirmationType:
|
|
35804
|
+
_vm.isCancelSecondConfirmationType,
|
|
35805
|
+
hideMessage: _vm.hideMessage,
|
|
35806
|
+
"show-reject": _vm.showReject,
|
|
35807
|
+
"news-info": _vm.nextNode.notificationMsg,
|
|
35808
|
+
},
|
|
35809
|
+
on: {
|
|
35810
|
+
cancel: function ($event) {
|
|
35811
|
+
_vm.closeProcess($event, "showReject")
|
|
35812
|
+
},
|
|
35813
|
+
},
|
|
35814
|
+
})
|
|
35815
|
+
: _vm.btnType === "toStartTaskRead" ||
|
|
35816
|
+
_vm.btnType === "toTaskReadAndEnd" ||
|
|
35817
|
+
_vm.btnType === "toTransfer"
|
|
35818
|
+
? _c("StartTaskRead", {
|
|
35819
|
+
ref: _vm.btnType,
|
|
35820
|
+
staticClass: "es-info",
|
|
35821
|
+
attrs: {
|
|
35822
|
+
"pending-id": _vm.pendingId,
|
|
35823
|
+
hideBtn: "",
|
|
35824
|
+
opinion: _vm.value,
|
|
35825
|
+
type: _vm.taskReadType,
|
|
35826
|
+
resetAppId: _vm.resetAppId,
|
|
35827
|
+
showTooltip: _vm.showTooltip,
|
|
35828
|
+
flowLabelConfig: _vm.flowLabelConfig,
|
|
35829
|
+
hideMessage: _vm.hideMessage,
|
|
35830
|
+
selectorConfig: _vm.selectorConfig,
|
|
35831
|
+
simpleTips: _vm.simpleTips,
|
|
35832
|
+
subParams: _vm.subParams,
|
|
35833
|
+
taskExamine: _vm.taskExamineInfo,
|
|
35834
|
+
"news-info": _vm.nextNode.notificationMsg,
|
|
35835
|
+
},
|
|
35836
|
+
on: {
|
|
35837
|
+
cancel: function ($event) {
|
|
35838
|
+
_vm.closeProcess($event, "showTaskRead")
|
|
35839
|
+
},
|
|
35840
|
+
},
|
|
35841
|
+
})
|
|
35842
|
+
: _vm.btnType === "toTakeAdvice" ||
|
|
35843
|
+
_vm.btnType === "toUnionExamine" ||
|
|
35844
|
+
_vm.btnType === "toStartDraf"
|
|
35845
|
+
? _c("TaskUnionExamine", {
|
|
35846
|
+
ref: _vm.btnType,
|
|
35847
|
+
staticClass: "es-info",
|
|
35848
|
+
attrs: {
|
|
35849
|
+
hideBtn: "",
|
|
35850
|
+
simpleTips: _vm.simpleTips,
|
|
35851
|
+
pendingId: _vm.pendingId,
|
|
35852
|
+
defaultOpinion: _vm.nodeDefaultSubmitOpinion,
|
|
35853
|
+
oldOption: _vm.value,
|
|
35854
|
+
isCancelSecondConfirmationType:
|
|
35855
|
+
_vm.isCancelSecondConfirmationType,
|
|
35856
|
+
selectorParams: _vm.selectorParams,
|
|
35857
|
+
type: _vm.flowType,
|
|
35858
|
+
multiple: _vm.flowMultiple,
|
|
35859
|
+
disabled: _vm.flowDisabled,
|
|
35860
|
+
},
|
|
35861
|
+
on: {
|
|
35862
|
+
cancel: function ($event) {
|
|
35863
|
+
_vm.closeProcess($event, "showTaskUnionExamine")
|
|
35864
|
+
},
|
|
35865
|
+
},
|
|
35866
|
+
})
|
|
35867
|
+
: _vm._e(),
|
|
35868
|
+
],
|
|
35869
|
+
1
|
|
35870
|
+
),
|
|
35836
35871
|
_vm.newTypeCode != "fenyue" && !_vm.shrink
|
|
35837
35872
|
? _c(
|
|
35838
35873
|
"div",
|
|
@@ -36465,11 +36500,11 @@ var flowvue_type_template_id_ef00b086_render = function () {
|
|
|
36465
36500
|
)
|
|
36466
36501
|
: _vm._e()
|
|
36467
36502
|
}
|
|
36468
|
-
var
|
|
36469
|
-
|
|
36503
|
+
var flowvue_type_template_id_d84c2cd8_staticRenderFns = []
|
|
36504
|
+
flowvue_type_template_id_d84c2cd8_render._withStripped = true
|
|
36470
36505
|
|
|
36471
36506
|
|
|
36472
|
-
// CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=
|
|
36507
|
+
// CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=d84c2cd8&
|
|
36473
36508
|
|
|
36474
36509
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Opinions.vue?vue&type=template&id=5f07a050&
|
|
36475
36510
|
var Opinionsvue_type_template_id_5f07a050_render = function () {
|
|
@@ -38142,8 +38177,8 @@ processFormvue_type_template_id_2860b038_render._withStripped = true
|
|
|
38142
38177
|
|
|
38143
38178
|
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=2860b038&
|
|
38144
38179
|
|
|
38145
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=
|
|
38146
|
-
var
|
|
38180
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=08827ac3&
|
|
38181
|
+
var selectUservue_type_template_id_08827ac3_render = function () {
|
|
38147
38182
|
var _vm = this
|
|
38148
38183
|
var _h = _vm.$createElement
|
|
38149
38184
|
var _c = _vm._self._c || _h
|
|
@@ -38306,11 +38341,11 @@ var selectUservue_type_template_id_4dc7fc96_render = function () {
|
|
|
38306
38341
|
1
|
|
38307
38342
|
)
|
|
38308
38343
|
}
|
|
38309
|
-
var
|
|
38310
|
-
|
|
38344
|
+
var selectUservue_type_template_id_08827ac3_staticRenderFns = []
|
|
38345
|
+
selectUservue_type_template_id_08827ac3_render._withStripped = true
|
|
38311
38346
|
|
|
38312
38347
|
|
|
38313
|
-
// CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=
|
|
38348
|
+
// CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=08827ac3&
|
|
38314
38349
|
|
|
38315
38350
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=script&lang=js&
|
|
38316
38351
|
var selectUservue_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; };
|
|
@@ -38724,6 +38759,7 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
|
|
|
38724
38759
|
getSelectUser: function getSelectUser(val) {
|
|
38725
38760
|
var _this4 = this;
|
|
38726
38761
|
|
|
38762
|
+
console.log(val, 'val');
|
|
38727
38763
|
this.newOptions = [];
|
|
38728
38764
|
var data = {};
|
|
38729
38765
|
if (this.mix) data = this.getMixList();
|
|
@@ -38842,8 +38878,8 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
|
|
|
38842
38878
|
|
|
38843
38879
|
var selectUser_component = normalizeComponent(
|
|
38844
38880
|
src_selectUservue_type_script_lang_js_,
|
|
38845
|
-
|
|
38846
|
-
|
|
38881
|
+
selectUservue_type_template_id_08827ac3_render,
|
|
38882
|
+
selectUservue_type_template_id_08827ac3_staticRenderFns,
|
|
38847
38883
|
false,
|
|
38848
38884
|
null,
|
|
38849
38885
|
null,
|
|
@@ -54690,6 +54726,15 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
54690
54726
|
//
|
|
54691
54727
|
//
|
|
54692
54728
|
//
|
|
54729
|
+
//
|
|
54730
|
+
//
|
|
54731
|
+
//
|
|
54732
|
+
//
|
|
54733
|
+
//
|
|
54734
|
+
//
|
|
54735
|
+
//
|
|
54736
|
+
//
|
|
54737
|
+
//
|
|
54693
54738
|
|
|
54694
54739
|
|
|
54695
54740
|
|
|
@@ -55446,7 +55491,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
55446
55491
|
},
|
|
55447
55492
|
setShrink: function setShrink() {
|
|
55448
55493
|
this.shrink = !this.shrink;
|
|
55449
|
-
this.styles = this.shrink ? { width:
|
|
55494
|
+
this.styles = this.shrink ? { width: '80px' } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
|
|
55450
55495
|
this.$emit('shrink', this.shrink);
|
|
55451
55496
|
},
|
|
55452
55497
|
customLoading: function customLoading(type) {
|
|
@@ -55654,12 +55699,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
55654
55699
|
|
|
55655
55700
|
if (this.isFlow) {
|
|
55656
55701
|
if (!type) {
|
|
55702
|
+
console.log(btn);
|
|
55657
55703
|
if (btn && btn.before) {
|
|
55658
55704
|
btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
|
|
55659
55705
|
_this14.$emit('save', _this14.businessIds);
|
|
55660
55706
|
}).catch(function (e) {});
|
|
55661
55707
|
} else if (this.beforeSubmit != undefined) {
|
|
55662
|
-
this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
|
|
55708
|
+
this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1, btn.event).then(function (next) {
|
|
55663
55709
|
_this14.$emit('save', _this14.businessIds);
|
|
55664
55710
|
}).catch(function (e) {});
|
|
55665
55711
|
} else {
|
|
@@ -55744,7 +55790,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
55744
55790
|
|
|
55745
55791
|
// return this.$message.warning('暂未开放!敬请期待');
|
|
55746
55792
|
|
|
55747
|
-
this.
|
|
55793
|
+
this.btnType = '';
|
|
55748
55794
|
setTimeout(function () {
|
|
55749
55795
|
if (_this17.beforeSubmit != undefined) {
|
|
55750
55796
|
_this17.beforeSubmit().then(function (next) {
|
|
@@ -56113,7 +56159,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
56113
56159
|
toTaskReadAndEnd: function toTaskReadAndEnd(res) {
|
|
56114
56160
|
var _this27 = this;
|
|
56115
56161
|
|
|
56116
|
-
this.
|
|
56162
|
+
this.btnType = '';
|
|
56117
56163
|
setTimeout(function () {
|
|
56118
56164
|
if (_this27.beforeSubmit != undefined) {
|
|
56119
56165
|
_this27.beforeSubmit().then(function (next) {
|
|
@@ -56201,15 +56247,20 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
56201
56247
|
toTransfer: function toTransfer(res) {
|
|
56202
56248
|
var _this30 = this;
|
|
56203
56249
|
|
|
56204
|
-
|
|
56205
|
-
|
|
56250
|
+
this.btnType = '';
|
|
56251
|
+
setTimeout(function () {
|
|
56252
|
+
if (_this30.beforeSubmit != undefined) {
|
|
56253
|
+
_this30.beforeSubmit(0).then(function (next) {
|
|
56254
|
+
_this30.taskReadType = 'transfer';
|
|
56255
|
+
// this.showTaskRead = true;
|
|
56256
|
+
_this30.btnType = _this30.btnFunValue(res.fun);
|
|
56257
|
+
}).catch(function (e) {});
|
|
56258
|
+
} else {
|
|
56206
56259
|
_this30.taskReadType = 'transfer';
|
|
56207
|
-
_this30.
|
|
56208
|
-
|
|
56209
|
-
|
|
56210
|
-
|
|
56211
|
-
this.showTaskRead = true;
|
|
56212
|
-
}
|
|
56260
|
+
_this30.btnType = _this30.btnFunValue(res.fun);
|
|
56261
|
+
// this.showTaskRead = true;
|
|
56262
|
+
}
|
|
56263
|
+
}, 0);
|
|
56213
56264
|
},
|
|
56214
56265
|
handleChangeTime: function handleChangeTime(val) {
|
|
56215
56266
|
this.nextNode.customLimitTime = val;
|
|
@@ -57602,8 +57653,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
57602
57653
|
|
|
57603
57654
|
var flow_component = normalizeComponent(
|
|
57604
57655
|
src_flowvue_type_script_lang_js_,
|
|
57605
|
-
|
|
57606
|
-
|
|
57656
|
+
flowvue_type_template_id_d84c2cd8_render,
|
|
57657
|
+
flowvue_type_template_id_d84c2cd8_staticRenderFns,
|
|
57607
57658
|
false,
|
|
57608
57659
|
null,
|
|
57609
57660
|
null,
|
|
@@ -58917,6 +58968,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
58917
58968
|
//
|
|
58918
58969
|
//
|
|
58919
58970
|
//
|
|
58971
|
+
//
|
|
58972
|
+
//
|
|
58920
58973
|
|
|
58921
58974
|
|
|
58922
58975
|
|
|
@@ -59528,6 +59581,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
59528
59581
|
_this6.$refs.esContent.scrollTop += _this6.$refs.messagebox.clientHeight;
|
|
59529
59582
|
});
|
|
59530
59583
|
},
|
|
59584
|
+
handleNewFlowSave: function handleNewFlowSave(businessIds) {
|
|
59585
|
+
this.$emit('save', businessIds);
|
|
59586
|
+
},
|
|
59531
59587
|
handleNewFlowSuccess: function handleNewFlowSuccess(type) {
|
|
59532
59588
|
if (type == 'taskRead') {
|
|
59533
59589
|
this.$emit('successRead', type);
|
|
@@ -59658,9 +59714,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
59658
59714
|
}
|
|
59659
59715
|
}
|
|
59660
59716
|
},
|
|
59661
|
-
setShrink: function setShrink() {
|
|
59662
|
-
this.shrink =
|
|
59663
|
-
this.styles = this.shrink ? { width:
|
|
59717
|
+
setShrink: function setShrink(val) {
|
|
59718
|
+
this.shrink = val;
|
|
59719
|
+
this.styles = this.shrink ? { width: '80px' } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
|
|
59664
59720
|
this.$emit('shrink', this.shrink);
|
|
59665
59721
|
},
|
|
59666
59722
|
customLoading: function customLoading(type) {
|
|
@@ -61749,8 +61805,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
61749
61805
|
|
|
61750
61806
|
var flow_src_main_component = normalizeComponent(
|
|
61751
61807
|
packages_flow_src_mainvue_type_script_lang_js_,
|
|
61752
|
-
|
|
61753
|
-
|
|
61808
|
+
mainvue_type_template_id_7e2b9e7d_render,
|
|
61809
|
+
mainvue_type_template_id_7e2b9e7d_staticRenderFns,
|
|
61754
61810
|
false,
|
|
61755
61811
|
null,
|
|
61756
61812
|
null,
|
|
@@ -63818,8 +63874,8 @@ flow_group_src_main.install = function (Vue) {
|
|
|
63818
63874
|
};
|
|
63819
63875
|
|
|
63820
63876
|
/* harmony default export */ var flow_group = (flow_group_src_main);
|
|
63821
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=
|
|
63822
|
-
var
|
|
63877
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=608ddef1&
|
|
63878
|
+
var mainvue_type_template_id_608ddef1_render = function () {
|
|
63823
63879
|
var _vm = this
|
|
63824
63880
|
var _h = _vm.$createElement
|
|
63825
63881
|
var _c = _vm._self._c || _h
|
|
@@ -63887,6 +63943,11 @@ var mainvue_type_template_id_6a97d245_render = function () {
|
|
|
63887
63943
|
"cell-click": _vm.handleCellClick,
|
|
63888
63944
|
"btn-click": _vm.handleBtnClick,
|
|
63889
63945
|
"selection-change": _vm.handleSelectionChange,
|
|
63946
|
+
search: _vm.handleSplitReadingSearch,
|
|
63947
|
+
"page-size-change":
|
|
63948
|
+
_vm.handleSplitReadingSizeChange,
|
|
63949
|
+
"page-current-change":
|
|
63950
|
+
_vm.handleSplitReadingCurrentChange,
|
|
63890
63951
|
},
|
|
63891
63952
|
},
|
|
63892
63953
|
"es-data-table",
|
|
@@ -64250,11 +64311,11 @@ var mainvue_type_template_id_6a97d245_render = function () {
|
|
|
64250
64311
|
2
|
|
64251
64312
|
)
|
|
64252
64313
|
}
|
|
64253
|
-
var
|
|
64254
|
-
|
|
64314
|
+
var mainvue_type_template_id_608ddef1_staticRenderFns = []
|
|
64315
|
+
mainvue_type_template_id_608ddef1_render._withStripped = true
|
|
64255
64316
|
|
|
64256
64317
|
|
|
64257
|
-
// CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=
|
|
64318
|
+
// CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=608ddef1&
|
|
64258
64319
|
|
|
64259
64320
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=script&lang=js&
|
|
64260
64321
|
|
|
@@ -64436,6 +64497,9 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
|
|
|
64436
64497
|
//
|
|
64437
64498
|
//
|
|
64438
64499
|
//
|
|
64500
|
+
//
|
|
64501
|
+
//
|
|
64502
|
+
//
|
|
64439
64503
|
|
|
64440
64504
|
|
|
64441
64505
|
|
|
@@ -64533,6 +64597,9 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
|
|
|
64533
64597
|
currentPage: 1,
|
|
64534
64598
|
pageSize: 20,
|
|
64535
64599
|
flowListCount: {},
|
|
64600
|
+
splitReadingSearchKey: '',
|
|
64601
|
+
splitReadingPageNum: 1,
|
|
64602
|
+
splitReadingPageSize: 5,
|
|
64536
64603
|
currentUserHasPresetInfoAuth: false,
|
|
64537
64604
|
pressThead: [{
|
|
64538
64605
|
title: '催办节点',
|
|
@@ -64601,8 +64668,8 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
|
|
|
64601
64668
|
}
|
|
64602
64669
|
}, {
|
|
64603
64670
|
title: '办理意见',
|
|
64604
|
-
align: '
|
|
64605
|
-
showOverflowTooltip:
|
|
64671
|
+
align: 'left',
|
|
64672
|
+
showOverflowTooltip: false,
|
|
64606
64673
|
'min-width': 200,
|
|
64607
64674
|
// sortable: true,
|
|
64608
64675
|
field: 'doresult'
|
|
@@ -64631,8 +64698,8 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
|
|
|
64631
64698
|
field: 'userName'
|
|
64632
64699
|
}, {
|
|
64633
64700
|
title: '办理意见',
|
|
64634
|
-
align: '
|
|
64635
|
-
showOverflowTooltip:
|
|
64701
|
+
align: 'left',
|
|
64702
|
+
showOverflowTooltip: false,
|
|
64636
64703
|
width: 240,
|
|
64637
64704
|
// sortable: true,
|
|
64638
64705
|
field: 'doresult'
|
|
@@ -64899,6 +64966,16 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
|
|
|
64899
64966
|
splitReading: [{
|
|
64900
64967
|
type: 'text',
|
|
64901
64968
|
contents: (this.taskReadName ? this.taskReadName : '非流程') + '列表'
|
|
64969
|
+
}, {
|
|
64970
|
+
type: 'search',
|
|
64971
|
+
config: {
|
|
64972
|
+
enterSubmit: true
|
|
64973
|
+
},
|
|
64974
|
+
contents: [{
|
|
64975
|
+
name: 'splitReadingSearchKey',
|
|
64976
|
+
type: 'text',
|
|
64977
|
+
placeholder: '分阅办理人名称...'
|
|
64978
|
+
}]
|
|
64902
64979
|
}],
|
|
64903
64980
|
circular: [{
|
|
64904
64981
|
type: 'text',
|
|
@@ -64928,6 +65005,22 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
|
|
|
64928
65005
|
totalCount: this.total
|
|
64929
65006
|
};
|
|
64930
65007
|
},
|
|
65008
|
+
filteredSplitReadingData: function filteredSplitReadingData() {
|
|
65009
|
+
if (!this.splitReadingSearchKey) {
|
|
65010
|
+
return this.splitReadingData;
|
|
65011
|
+
}
|
|
65012
|
+
var key = String(this.splitReadingSearchKey).trim();
|
|
65013
|
+
return this.splitReadingData.filter(function (item) {
|
|
65014
|
+
return item.userName && String(item.userName).includes(key);
|
|
65015
|
+
});
|
|
65016
|
+
},
|
|
65017
|
+
splitReadingPageInfo: function splitReadingPageInfo() {
|
|
65018
|
+
return {
|
|
65019
|
+
pageNum: this.splitReadingPageNum,
|
|
65020
|
+
pageSize: this.splitReadingPageSize,
|
|
65021
|
+
totalCount: this.filteredSplitReadingData.length
|
|
65022
|
+
};
|
|
65023
|
+
},
|
|
64931
65024
|
theads: function theads() {
|
|
64932
65025
|
var _this2 = this;
|
|
64933
65026
|
|
|
@@ -64996,139 +65089,139 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
|
|
|
64996
65089
|
}, {
|
|
64997
65090
|
label: '办理意见',
|
|
64998
65091
|
field: 'doresult',
|
|
64999
|
-
align: '
|
|
65092
|
+
align: 'left',
|
|
65000
65093
|
width: this.theadWidth.doresult,
|
|
65094
|
+
showOverflowTooltip: false,
|
|
65095
|
+
'min-width': 200,
|
|
65096
|
+
key: 'blyj',
|
|
65097
|
+
render: function render(h, params) {
|
|
65098
|
+
if (params.row.doresult && (params.row.doresult.startsWith('http') || params.row.doresult.startsWith('https'))) {
|
|
65099
|
+
return h('img', {
|
|
65100
|
+
attrs: { src: params.row.doresult },
|
|
65101
|
+
style: { width: '100px', height: '100px' }
|
|
65102
|
+
});
|
|
65103
|
+
} else {
|
|
65104
|
+
return h('span', {}, [params.row.doresult ? params.row.doresult + (params.row.handleInfo ? '&' : '') : '', h('span', { style: { color: '#A5A5A5', marginLeft: '2px' } }, params.row.handleInfo || '')]);
|
|
65105
|
+
}
|
|
65106
|
+
}
|
|
65107
|
+
}, {
|
|
65108
|
+
label: '验签',
|
|
65109
|
+
field: 'authTypeStr',
|
|
65110
|
+
align: 'center',
|
|
65111
|
+
key: 'yq',
|
|
65001
65112
|
showOverflowTooltip: true,
|
|
65113
|
+
width: this.theadWidth.authTypeStr || 70,
|
|
65114
|
+
render: function render(h, params) {
|
|
65115
|
+
return h('span', { style: { color: 'deepskyblue' } }, params.row.authTypeStr);
|
|
65116
|
+
}
|
|
65117
|
+
}, {
|
|
65118
|
+
label: '附件',
|
|
65119
|
+
key: 'fj',
|
|
65120
|
+
field: 'hasAdjunct',
|
|
65121
|
+
align: 'center',
|
|
65122
|
+
showOverflowTooltip: true,
|
|
65123
|
+
width: this.theadWidth.hasAdjunct || 70,
|
|
65124
|
+
render: function render(h, params) {
|
|
65125
|
+
if (params.row.hasAdjunct) {
|
|
65126
|
+
return h('span', {
|
|
65127
|
+
style: _that.attachmentPaperClipCssStyle ? _that.attachmentPaperClipCssStyle : { color: 'red', fontSize: '20px' },
|
|
65128
|
+
class: 'iconfont es-icon-fujian'
|
|
65129
|
+
});
|
|
65130
|
+
} else {
|
|
65131
|
+
return h('span', {}, '');
|
|
65132
|
+
}
|
|
65133
|
+
}
|
|
65134
|
+
}, {
|
|
65135
|
+
label: '时间',
|
|
65136
|
+
field: 'doetime',
|
|
65137
|
+
align: 'center',
|
|
65138
|
+
key: 'sj',
|
|
65139
|
+
showOverflowTooltip: true,
|
|
65140
|
+
width: this.theadWidth.doetime || 150,
|
|
65141
|
+
render: function render(h, params) {
|
|
65142
|
+
return h('span', {}, params.row.doetime ? utils_util.formatDate(params.row.doetime, 'yyyy-MM-dd HH:mm') : '');
|
|
65143
|
+
}
|
|
65144
|
+
}, {
|
|
65145
|
+
label: '代办人',
|
|
65146
|
+
field: 'douserid',
|
|
65147
|
+
align: 'center',
|
|
65148
|
+
key: 'dbr',
|
|
65149
|
+
showOverflowTooltip: true,
|
|
65150
|
+
width: this.theadWidth.douserid || 80,
|
|
65151
|
+
hide: _that.flowTableInfo.hasAgent != '1'
|
|
65152
|
+
}, {
|
|
65153
|
+
label: '催办',
|
|
65154
|
+
field: 'pressTimes',
|
|
65155
|
+
align: 'center',
|
|
65156
|
+
key: 'cb',
|
|
65157
|
+
showOverflowTooltip: true,
|
|
65158
|
+
width: this.theadWidth.pressTimes || 150,
|
|
65159
|
+
render: function render(h, params) {
|
|
65160
|
+
return h('ins', { style: 'color:red;cursor: pointer;' }, params.row.pressTimes != 0 ? params.row.pressTimes : '');
|
|
65161
|
+
}
|
|
65162
|
+
}, {
|
|
65163
|
+
title: '操作',
|
|
65164
|
+
type: 'handle',
|
|
65165
|
+
width: this.modify ? '130' : '100',
|
|
65166
|
+
template: '',
|
|
65167
|
+
hide: this.hideBtn || !this.canDelete && !this.modify,
|
|
65168
|
+
events: [{
|
|
65169
|
+
text: '删除',
|
|
65170
|
+
rules: function rules(rows) {
|
|
65171
|
+
return rows.canDelete || _this2.canDelete;
|
|
65172
|
+
}
|
|
65173
|
+
}, {
|
|
65174
|
+
text: '修改',
|
|
65175
|
+
rules: function rules(rows) {
|
|
65176
|
+
return _this2.modify && rows.pendstate == 2;
|
|
65177
|
+
}
|
|
65178
|
+
}]
|
|
65179
|
+
}],
|
|
65180
|
+
preset: this.thead,
|
|
65181
|
+
splitReading: [{
|
|
65182
|
+
label: '经办部门',
|
|
65183
|
+
field: 'deptid',
|
|
65184
|
+
key: 'jbbm',
|
|
65185
|
+
align: 'center',
|
|
65186
|
+
showOverflowTooltip: true,
|
|
65187
|
+
width: this.theadWidth.deptid || 150
|
|
65188
|
+
}, {
|
|
65189
|
+
label: '步骤',
|
|
65190
|
+
field: 'itemname',
|
|
65191
|
+
align: 'center',
|
|
65192
|
+
key: 'bz',
|
|
65193
|
+
showOverflowTooltip: true,
|
|
65194
|
+
width: this.theadWidth.itemname || 110
|
|
65195
|
+
}, {
|
|
65196
|
+
label: '办理人',
|
|
65197
|
+
field: 'userName',
|
|
65198
|
+
align: 'center',
|
|
65199
|
+
key: 'blr',
|
|
65200
|
+
showOverflowTooltip: true,
|
|
65201
|
+
width: this.theadWidth.userName || 110
|
|
65202
|
+
}, {
|
|
65203
|
+
label: '状态',
|
|
65204
|
+
field: 'pendstate',
|
|
65205
|
+
align: 'center',
|
|
65206
|
+
key: 'zt',
|
|
65207
|
+
showOverflowTooltip: true,
|
|
65208
|
+
width: this.theadWidth.pendstate || 80,
|
|
65209
|
+
render: function render(h, params) {
|
|
65210
|
+
return h('span', {
|
|
65211
|
+
style: {
|
|
65212
|
+
color: params.row.pendstate == 0 || params.row.pendstate == 3 ? 'red' : params.row.pendstate == 1 ? 'green' : params.row.pendstate == -1 ? 'orange' : 'deepskyblue'
|
|
65213
|
+
},
|
|
65214
|
+
domProps: { innerHTML: params.row.querykeywords }
|
|
65215
|
+
});
|
|
65216
|
+
}
|
|
65217
|
+
}, {
|
|
65218
|
+
label: '办理意见',
|
|
65219
|
+
field: 'doresult',
|
|
65220
|
+
align: 'left',
|
|
65002
65221
|
'min-width': 200,
|
|
65003
65222
|
key: 'blyj',
|
|
65004
|
-
|
|
65005
|
-
|
|
65006
|
-
return h('img', {
|
|
65007
|
-
attrs: { src: params.row.doresult },
|
|
65008
|
-
style: { width: '100px', height: '100px' }
|
|
65009
|
-
});
|
|
65010
|
-
} else {
|
|
65011
|
-
return h('span', {}, [params.row.doresult ? params.row.doresult + (params.row.handleInfo ? '&' : '') : '', h('span', { style: { color: '#A5A5A5', marginLeft: '2px' } }, params.row.handleInfo || '')]);
|
|
65012
|
-
}
|
|
65013
|
-
}
|
|
65014
|
-
}, {
|
|
65015
|
-
label: '验签',
|
|
65016
|
-
field: 'authTypeStr',
|
|
65017
|
-
align: 'center',
|
|
65018
|
-
key: 'yq',
|
|
65019
|
-
showOverflowTooltip: true,
|
|
65020
|
-
width: this.theadWidth.authTypeStr || 70,
|
|
65021
|
-
render: function render(h, params) {
|
|
65022
|
-
return h('span', { style: { color: 'deepskyblue' } }, params.row.authTypeStr);
|
|
65023
|
-
}
|
|
65024
|
-
}, {
|
|
65025
|
-
label: '附件',
|
|
65026
|
-
key: 'fj',
|
|
65027
|
-
field: 'hasAdjunct',
|
|
65028
|
-
align: 'center',
|
|
65029
|
-
showOverflowTooltip: true,
|
|
65030
|
-
width: this.theadWidth.hasAdjunct || 70,
|
|
65031
|
-
render: function render(h, params) {
|
|
65032
|
-
if (params.row.hasAdjunct) {
|
|
65033
|
-
return h('span', {
|
|
65034
|
-
style: _that.attachmentPaperClipCssStyle ? _that.attachmentPaperClipCssStyle : { color: 'red', fontSize: '20px' },
|
|
65035
|
-
class: 'iconfont es-icon-fujian'
|
|
65036
|
-
});
|
|
65037
|
-
} else {
|
|
65038
|
-
return h('span', {}, '');
|
|
65039
|
-
}
|
|
65040
|
-
}
|
|
65041
|
-
}, {
|
|
65042
|
-
label: '时间',
|
|
65043
|
-
field: 'doetime',
|
|
65044
|
-
align: 'center',
|
|
65045
|
-
key: 'sj',
|
|
65046
|
-
showOverflowTooltip: true,
|
|
65047
|
-
width: this.theadWidth.doetime || 150,
|
|
65048
|
-
render: function render(h, params) {
|
|
65049
|
-
return h('span', {}, params.row.doetime ? utils_util.formatDate(params.row.doetime, 'yyyy-MM-dd HH:mm') : '');
|
|
65050
|
-
}
|
|
65051
|
-
}, {
|
|
65052
|
-
label: '代办人',
|
|
65053
|
-
field: 'douserid',
|
|
65054
|
-
align: 'center',
|
|
65055
|
-
key: 'dbr',
|
|
65056
|
-
showOverflowTooltip: true,
|
|
65057
|
-
width: this.theadWidth.douserid || 80,
|
|
65058
|
-
hide: _that.flowTableInfo.hasAgent != '1'
|
|
65059
|
-
}, {
|
|
65060
|
-
label: '催办',
|
|
65061
|
-
field: 'pressTimes',
|
|
65062
|
-
align: 'center',
|
|
65063
|
-
key: 'cb',
|
|
65064
|
-
showOverflowTooltip: true,
|
|
65065
|
-
width: this.theadWidth.pressTimes || 150,
|
|
65066
|
-
render: function render(h, params) {
|
|
65067
|
-
return h('ins', { style: 'color:red;cursor: pointer;' }, params.row.pressTimes != 0 ? params.row.pressTimes : '');
|
|
65068
|
-
}
|
|
65069
|
-
}, {
|
|
65070
|
-
title: '操作',
|
|
65071
|
-
type: 'handle',
|
|
65072
|
-
width: this.modify ? '130' : '100',
|
|
65073
|
-
template: '',
|
|
65074
|
-
hide: this.hideBtn || !this.canDelete && !this.modify,
|
|
65075
|
-
events: [{
|
|
65076
|
-
text: '删除',
|
|
65077
|
-
rules: function rules(rows) {
|
|
65078
|
-
return rows.canDelete || _this2.canDelete;
|
|
65079
|
-
}
|
|
65080
|
-
}, {
|
|
65081
|
-
text: '修改',
|
|
65082
|
-
rules: function rules(rows) {
|
|
65083
|
-
return _this2.modify && rows.pendstate == 2;
|
|
65084
|
-
}
|
|
65085
|
-
}]
|
|
65086
|
-
}],
|
|
65087
|
-
preset: this.thead,
|
|
65088
|
-
splitReading: [{
|
|
65089
|
-
label: '经办部门',
|
|
65090
|
-
field: 'deptid',
|
|
65091
|
-
key: 'jbbm',
|
|
65092
|
-
align: 'center',
|
|
65093
|
-
showOverflowTooltip: true,
|
|
65094
|
-
width: this.theadWidth.deptid || 150
|
|
65095
|
-
}, {
|
|
65096
|
-
label: '步骤',
|
|
65097
|
-
field: 'itemname',
|
|
65098
|
-
align: 'center',
|
|
65099
|
-
key: 'bz',
|
|
65100
|
-
showOverflowTooltip: true,
|
|
65101
|
-
width: this.theadWidth.itemname || 110
|
|
65102
|
-
}, {
|
|
65103
|
-
label: '办理人',
|
|
65104
|
-
field: 'userName',
|
|
65105
|
-
align: 'center',
|
|
65106
|
-
key: 'blr',
|
|
65107
|
-
showOverflowTooltip: true,
|
|
65108
|
-
width: this.theadWidth.userName || 110
|
|
65109
|
-
}, {
|
|
65110
|
-
label: '状态',
|
|
65111
|
-
field: 'pendstate',
|
|
65112
|
-
align: 'center',
|
|
65113
|
-
key: 'zt',
|
|
65114
|
-
showOverflowTooltip: true,
|
|
65115
|
-
width: this.theadWidth.pendstate || 80,
|
|
65116
|
-
render: function render(h, params) {
|
|
65117
|
-
return h('span', {
|
|
65118
|
-
style: {
|
|
65119
|
-
color: params.row.pendstate == 0 || params.row.pendstate == 3 ? 'red' : params.row.pendstate == 1 ? 'green' : params.row.pendstate == -1 ? 'orange' : 'deepskyblue'
|
|
65120
|
-
},
|
|
65121
|
-
domProps: { innerHTML: params.row.querykeywords }
|
|
65122
|
-
});
|
|
65123
|
-
}
|
|
65124
|
-
}, {
|
|
65125
|
-
label: '办理意见',
|
|
65126
|
-
field: 'doresult',
|
|
65127
|
-
align: 'center',
|
|
65128
|
-
'min-width': 200,
|
|
65129
|
-
key: 'blyj',
|
|
65130
|
-
width: this.theadWidth.doresult,
|
|
65131
|
-
showOverflowTooltip: true,
|
|
65223
|
+
width: this.theadWidth.doresult,
|
|
65224
|
+
showOverflowTooltip: false,
|
|
65132
65225
|
render: function render(h, params) {
|
|
65133
65226
|
if (params.row.doresult && (params.row.doresult.startsWith('http') || params.row.doresult.startsWith('https'))) {
|
|
65134
65227
|
return h('img', {
|
|
@@ -65455,13 +65548,18 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
|
|
|
65455
65548
|
}
|
|
65456
65549
|
});
|
|
65457
65550
|
}
|
|
65458
|
-
|
|
65551
|
+
var baseConfig = {
|
|
65459
65552
|
type: item,
|
|
65460
65553
|
checkbox: newContents.indexOf('untreatedRead') != -1,
|
|
65461
65554
|
toolbar: _this3.toolbars[item],
|
|
65462
65555
|
thead: data.length > 0 ? data : _this3.theads[item],
|
|
65463
65556
|
showFormBtn: false
|
|
65464
65557
|
};
|
|
65558
|
+
if (item === 'splitReading') {
|
|
65559
|
+
baseConfig.showFormBtn = true;
|
|
65560
|
+
baseConfig.page = _this3.splitReadingPageInfo;
|
|
65561
|
+
}
|
|
65562
|
+
return baseConfig;
|
|
65465
65563
|
} else {
|
|
65466
65564
|
if (!Object.prototype.hasOwnProperty.call(item, 'toolbar')) {
|
|
65467
65565
|
var toolbars = _this3.toolbars[item.type];
|
|
@@ -65618,12 +65716,26 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
|
|
|
65618
65716
|
|
|
65619
65717
|
|
|
65620
65718
|
methods: {
|
|
65719
|
+
handleSplitReadingSearch: function handleSplitReadingSearch(data) {
|
|
65720
|
+
if (data && data.splitReadingSearchKey !== undefined) {
|
|
65721
|
+
this.splitReadingSearchKey = data.splitReadingSearchKey;
|
|
65722
|
+
this.splitReadingPageNum = 1;
|
|
65723
|
+
}
|
|
65724
|
+
},
|
|
65725
|
+
handleSplitReadingSizeChange: function handleSplitReadingSizeChange(size) {
|
|
65726
|
+
this.splitReadingPageSize = size;
|
|
65727
|
+
this.splitReadingPageNum = 1;
|
|
65728
|
+
},
|
|
65729
|
+
handleSplitReadingCurrentChange: function handleSplitReadingCurrentChange(page) {
|
|
65730
|
+
this.splitReadingPageNum = page;
|
|
65731
|
+
},
|
|
65732
|
+
|
|
65621
65733
|
/**
|
|
65622
|
-
|
|
65623
|
-
|
|
65624
|
-
|
|
65625
|
-
|
|
65626
|
-
|
|
65734
|
+
* handleBatchDelete
|
|
65735
|
+
* @desc:批量删除
|
|
65736
|
+
* @author liufan
|
|
65737
|
+
* @date 2025年12月31日
|
|
65738
|
+
**/
|
|
65627
65739
|
handleBatchDelete: function handleBatchDelete() {
|
|
65628
65740
|
var _this6 = this;
|
|
65629
65741
|
|
|
@@ -65839,9 +65951,14 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
|
|
|
65839
65951
|
this.flowListCount.signData = this.signData;
|
|
65840
65952
|
return this.signData;
|
|
65841
65953
|
case 'splitReading':
|
|
65842
|
-
|
|
65843
|
-
|
|
65844
|
-
|
|
65954
|
+
{
|
|
65955
|
+
var splitData = this.filteredSplitReadingData;
|
|
65956
|
+
this.flowListCount.splitReading = splitData.length;
|
|
65957
|
+
this.flowListCount.splitReadingData = splitData;
|
|
65958
|
+
var start = (this.splitReadingPageNum - 1) * this.splitReadingPageSize;
|
|
65959
|
+
var end = start + this.splitReadingPageSize;
|
|
65960
|
+
return splitData.slice(start, end);
|
|
65961
|
+
}
|
|
65845
65962
|
case 'circular':
|
|
65846
65963
|
this.flowListCount.circular = this.circularData.length;
|
|
65847
65964
|
this.flowListCount.circularData = this.circularData;
|
|
@@ -66436,8 +66553,8 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
|
|
|
66436
66553
|
|
|
66437
66554
|
var flow_list_src_main_component = normalizeComponent(
|
|
66438
66555
|
packages_flow_list_src_mainvue_type_script_lang_js_,
|
|
66439
|
-
|
|
66440
|
-
|
|
66556
|
+
mainvue_type_template_id_608ddef1_render,
|
|
66557
|
+
mainvue_type_template_id_608ddef1_staticRenderFns,
|
|
66441
66558
|
false,
|
|
66442
66559
|
null,
|
|
66443
66560
|
null,
|
|
@@ -96964,8 +97081,8 @@ select_ganged_src_main.install = function (Vue) {
|
|
|
96964
97081
|
};
|
|
96965
97082
|
|
|
96966
97083
|
/* harmony default export */ var select_ganged = (select_ganged_src_main);
|
|
96967
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=
|
|
96968
|
-
var
|
|
97084
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=18a2e4a6&
|
|
97085
|
+
var mainvue_type_template_id_18a2e4a6_render = function () {
|
|
96969
97086
|
var _vm = this
|
|
96970
97087
|
var _h = _vm.$createElement
|
|
96971
97088
|
var _c = _vm._self._c || _h
|
|
@@ -96973,22 +97090,14 @@ var mainvue_type_template_id_2e6b9dd2_render = function () {
|
|
|
96973
97090
|
? _c(
|
|
96974
97091
|
"div",
|
|
96975
97092
|
{
|
|
96976
|
-
directives: [
|
|
96977
|
-
{
|
|
96978
|
-
name: "clickoutside",
|
|
96979
|
-
rawName: "v-clickoutside",
|
|
96980
|
-
value: _vm.handleClose,
|
|
96981
|
-
expression: "handleClose",
|
|
96982
|
-
},
|
|
96983
|
-
],
|
|
96984
97093
|
ref: "esSelector",
|
|
96985
97094
|
staticClass: "es-selector",
|
|
96986
|
-
class: { "
|
|
97095
|
+
class: { "is-button": _vm.button && !_vm.readonly },
|
|
96987
97096
|
},
|
|
96988
97097
|
[
|
|
96989
97098
|
_vm.form
|
|
96990
97099
|
? [
|
|
96991
|
-
_vm.button
|
|
97100
|
+
_vm.button && !_vm.readonly
|
|
96992
97101
|
? _c(
|
|
96993
97102
|
"el-button",
|
|
96994
97103
|
_vm._b(
|
|
@@ -97007,485 +97116,94 @@ var mainvue_type_template_id_2e6b9dd2_render = function () {
|
|
|
97007
97116
|
2
|
|
97008
97117
|
)
|
|
97009
97118
|
: [
|
|
97010
|
-
|
|
97011
|
-
|
|
97012
|
-
|
|
97013
|
-
|
|
97014
|
-
|
|
97015
|
-
|
|
97016
|
-
|
|
97017
|
-
|
|
97018
|
-
|
|
97019
|
-
|
|
97020
|
-
|
|
97021
|
-
|
|
97022
|
-
|
|
97023
|
-
|
|
97024
|
-
|
|
97025
|
-
|
|
97026
|
-
|
|
97027
|
-
|
|
97028
|
-
|
|
97029
|
-
|
|
97030
|
-
{
|
|
97031
|
-
ref: "tags",
|
|
97032
|
-
staticClass: "el-select__tags",
|
|
97033
|
-
class: { "es-selector-edit": !_vm.readonly },
|
|
97034
|
-
},
|
|
97035
|
-
[
|
|
97036
|
-
_vm.collapseTags && _vm.selected.length
|
|
97037
|
-
? _c(
|
|
97038
|
-
"div",
|
|
97039
|
-
{
|
|
97040
|
-
staticClass: "es-selector-tags",
|
|
97041
|
-
class: {
|
|
97042
|
-
"es-selector-more":
|
|
97043
|
-
_vm.selected.length > 1,
|
|
97044
|
-
},
|
|
97045
|
-
},
|
|
97046
|
-
[
|
|
97047
|
-
_vm._l(
|
|
97048
|
-
_vm.selected.slice(
|
|
97049
|
-
0,
|
|
97050
|
-
_vm.collapseTags === true
|
|
97051
|
-
? 1
|
|
97052
|
-
: _vm.collapseTags
|
|
97053
|
-
),
|
|
97054
|
-
function (item, index) {
|
|
97055
|
-
return _c(
|
|
97056
|
-
"el-tag",
|
|
97057
|
-
{
|
|
97058
|
-
key: _vm.getValueKey(item),
|
|
97059
|
-
attrs: {
|
|
97060
|
-
closable:
|
|
97061
|
-
!_vm.selectorDisabled &&
|
|
97062
|
-
!_vm.readonly &&
|
|
97063
|
-
_vm.selected.length >
|
|
97064
|
-
_vm.min,
|
|
97065
|
-
type: "info",
|
|
97066
|
-
"disable-transitions": "",
|
|
97067
|
-
},
|
|
97068
|
-
on: {
|
|
97069
|
-
close: function ($event) {
|
|
97070
|
-
_vm.deleteTag(
|
|
97071
|
-
$event,
|
|
97072
|
-
item,
|
|
97073
|
-
index
|
|
97074
|
-
)
|
|
97075
|
-
},
|
|
97076
|
-
},
|
|
97077
|
-
},
|
|
97078
|
-
[
|
|
97079
|
-
_c(
|
|
97080
|
-
"span",
|
|
97081
|
-
{
|
|
97082
|
-
staticClass:
|
|
97083
|
-
"el-select__tags-text",
|
|
97084
|
-
},
|
|
97085
|
-
[
|
|
97086
|
-
_vm._v(
|
|
97087
|
-
_vm._s(
|
|
97088
|
-
_vm.getLabel(item)
|
|
97089
|
-
)
|
|
97090
|
-
),
|
|
97091
|
-
]
|
|
97092
|
-
),
|
|
97093
|
-
]
|
|
97094
|
-
)
|
|
97095
|
-
}
|
|
97096
|
-
),
|
|
97097
|
-
_vm.selected.length >
|
|
97098
|
-
(_vm.collapseTags === true
|
|
97099
|
-
? 1
|
|
97100
|
-
: _vm.collapseTags)
|
|
97101
|
-
? _c(
|
|
97102
|
-
"el-tag",
|
|
97103
|
-
{
|
|
97104
|
-
staticClass: "es-tags-more",
|
|
97105
|
-
attrs: {
|
|
97106
|
-
closable: false,
|
|
97107
|
-
type: "info",
|
|
97108
|
-
"disable-transitions": "",
|
|
97109
|
-
},
|
|
97110
|
-
},
|
|
97111
|
-
[
|
|
97112
|
-
_c(
|
|
97113
|
-
"span",
|
|
97114
|
-
{
|
|
97115
|
-
staticClass:
|
|
97116
|
-
"el-select__tags-text",
|
|
97117
|
-
},
|
|
97118
|
-
[
|
|
97119
|
-
_vm._v(
|
|
97120
|
-
"+\n " +
|
|
97121
|
-
_vm._s(
|
|
97122
|
-
_vm.selected
|
|
97123
|
-
.length -
|
|
97124
|
-
(_vm.collapseTags ===
|
|
97125
|
-
true
|
|
97126
|
-
? 1
|
|
97127
|
-
: _vm.collapseTags)
|
|
97128
|
-
)
|
|
97129
|
-
),
|
|
97130
|
-
]
|
|
97131
|
-
),
|
|
97132
|
-
]
|
|
97133
|
-
)
|
|
97134
|
-
: _vm._e(),
|
|
97135
|
-
],
|
|
97136
|
-
2
|
|
97137
|
-
)
|
|
97138
|
-
: _c(
|
|
97139
|
-
"transition-group",
|
|
97140
|
-
{
|
|
97141
|
-
on: {
|
|
97142
|
-
"after-leave": _vm.resetInputHeight,
|
|
97143
|
-
},
|
|
97144
|
-
},
|
|
97145
|
-
_vm._l(
|
|
97146
|
-
_vm.selected,
|
|
97147
|
-
function (item, index) {
|
|
97148
|
-
return _c(
|
|
97149
|
-
"el-tag",
|
|
97150
|
-
{
|
|
97151
|
-
key: _vm.getValueKey(item),
|
|
97152
|
-
attrs: {
|
|
97153
|
-
closable:
|
|
97154
|
-
!_vm.selectorDisabled &&
|
|
97155
|
-
!_vm.readonly &&
|
|
97156
|
-
_vm.selected.length >
|
|
97157
|
-
_vm.min,
|
|
97158
|
-
type: "info",
|
|
97159
|
-
"disable-transitions": "",
|
|
97160
|
-
},
|
|
97161
|
-
on: {
|
|
97162
|
-
close: function ($event) {
|
|
97163
|
-
_vm.deleteTag(
|
|
97164
|
-
$event,
|
|
97165
|
-
item,
|
|
97166
|
-
index
|
|
97167
|
-
)
|
|
97168
|
-
},
|
|
97169
|
-
},
|
|
97170
|
-
},
|
|
97171
|
-
[
|
|
97172
|
-
_c(
|
|
97173
|
-
"span",
|
|
97174
|
-
{
|
|
97175
|
-
staticClass:
|
|
97176
|
-
"el-select__tags-text",
|
|
97177
|
-
},
|
|
97178
|
-
[
|
|
97179
|
-
_vm._v(
|
|
97180
|
-
_vm._s(_vm.getLabel(item))
|
|
97181
|
-
),
|
|
97182
|
-
]
|
|
97183
|
-
),
|
|
97184
|
-
]
|
|
97185
|
-
)
|
|
97186
|
-
}
|
|
97187
|
-
),
|
|
97188
|
-
1
|
|
97189
|
-
),
|
|
97190
|
-
],
|
|
97191
|
-
1
|
|
97192
|
-
)
|
|
97193
|
-
: _vm._e(),
|
|
97194
|
-
_vm.readonly
|
|
97195
|
-
? _c(
|
|
97196
|
-
"div",
|
|
97197
|
-
{
|
|
97198
|
-
ref: "reference",
|
|
97199
|
-
staticClass: "es-input__inner",
|
|
97119
|
+
!(_vm.multiple && _vm.readonly)
|
|
97120
|
+
? _c(
|
|
97121
|
+
"el-autocomplete",
|
|
97122
|
+
{
|
|
97123
|
+
attrs: {
|
|
97124
|
+
"value-key": "showname",
|
|
97125
|
+
readonly: _vm.readonly,
|
|
97126
|
+
"fetch-suggestions": _vm.search,
|
|
97127
|
+
placeholder: _vm.placeholder,
|
|
97128
|
+
"trigger-on-focus": false,
|
|
97129
|
+
"get-label": _vm.getLabel,
|
|
97130
|
+
},
|
|
97131
|
+
on: {
|
|
97132
|
+
select: _vm.handleSelect,
|
|
97133
|
+
change: _vm.handleChange,
|
|
97134
|
+
},
|
|
97135
|
+
model: {
|
|
97136
|
+
value: _vm.selectedLabel,
|
|
97137
|
+
callback: function ($$v) {
|
|
97138
|
+
_vm.selectedLabel = $$v
|
|
97200
97139
|
},
|
|
97201
|
-
|
|
97202
|
-
|
|
97203
|
-
? [_vm._v(_vm._s(_vm.selectedLabel))]
|
|
97204
|
-
: _vm._e(),
|
|
97205
|
-
],
|
|
97206
|
-
2
|
|
97207
|
-
)
|
|
97208
|
-
: [
|
|
97209
|
-
_vm.multiple
|
|
97210
|
-
? [
|
|
97211
|
-
_c(
|
|
97212
|
-
"el-input",
|
|
97213
|
-
{
|
|
97214
|
-
directives: [
|
|
97215
|
-
{
|
|
97216
|
-
name: "popover",
|
|
97217
|
-
rawName: "v-popover:popover",
|
|
97218
|
-
arg: "popover",
|
|
97219
|
-
},
|
|
97220
|
-
],
|
|
97221
|
-
ref: "reference",
|
|
97222
|
-
class: {
|
|
97223
|
-
"is-focus": _vm.visible,
|
|
97224
|
-
"es-plain": _vm.plain,
|
|
97225
|
-
"es-pointer": !_vm.filterable,
|
|
97226
|
-
"es-zindex-2": _vm.focus,
|
|
97227
|
-
},
|
|
97228
|
-
attrs: {
|
|
97229
|
-
type: "text",
|
|
97230
|
-
autocomplete: "off",
|
|
97231
|
-
readonly: _vm.filterable
|
|
97232
|
-
? false
|
|
97233
|
-
: true,
|
|
97234
|
-
id: _vm.id,
|
|
97235
|
-
placeholder: _vm.currentPlaceholder,
|
|
97236
|
-
size: _vm.selectorSize,
|
|
97237
|
-
disabled: _vm.selectorDisabled,
|
|
97238
|
-
tabindex: _vm.tabindex,
|
|
97239
|
-
},
|
|
97240
|
-
on: {
|
|
97241
|
-
focus: _vm.handleFocus,
|
|
97242
|
-
blur: _vm.handleBlur,
|
|
97243
|
-
},
|
|
97244
|
-
nativeOn: {
|
|
97245
|
-
dblclick: function ($event) {
|
|
97246
|
-
return _vm.openDialog($event)
|
|
97247
|
-
},
|
|
97248
|
-
},
|
|
97249
|
-
model: {
|
|
97250
|
-
value: _vm.words,
|
|
97251
|
-
callback: function ($$v) {
|
|
97252
|
-
_vm.words = $$v
|
|
97253
|
-
},
|
|
97254
|
-
expression: "words",
|
|
97255
|
-
},
|
|
97256
|
-
},
|
|
97257
|
-
[
|
|
97258
|
-
_c(
|
|
97259
|
-
"template",
|
|
97260
|
-
{ slot: "append" },
|
|
97261
|
-
[
|
|
97262
|
-
_vm.filterable || _vm.showButton
|
|
97263
|
-
? _c(
|
|
97264
|
-
"el-button",
|
|
97265
|
-
{
|
|
97266
|
-
ref: "openDialog",
|
|
97267
|
-
on: {
|
|
97268
|
-
click: function (
|
|
97269
|
-
$event
|
|
97270
|
-
) {
|
|
97271
|
-
$event.stopPropagation()
|
|
97272
|
-
return _vm.openDialog(
|
|
97273
|
-
$event
|
|
97274
|
-
)
|
|
97275
|
-
},
|
|
97276
|
-
},
|
|
97277
|
-
},
|
|
97278
|
-
[
|
|
97279
|
-
_vm._t("default", [
|
|
97280
|
-
_vm.icon
|
|
97281
|
-
? _c("es-icon", {
|
|
97282
|
-
attrs: {
|
|
97283
|
-
contents:
|
|
97284
|
-
_vm.icon,
|
|
97285
|
-
},
|
|
97286
|
-
})
|
|
97287
|
-
: [_vm._v("选择")],
|
|
97288
|
-
]),
|
|
97289
|
-
],
|
|
97290
|
-
2
|
|
97291
|
-
)
|
|
97292
|
-
: _vm._e(),
|
|
97293
|
-
],
|
|
97294
|
-
1
|
|
97295
|
-
),
|
|
97296
|
-
],
|
|
97297
|
-
2
|
|
97298
|
-
),
|
|
97299
|
-
_c("el-input", {
|
|
97300
|
-
directives: [
|
|
97301
|
-
{
|
|
97302
|
-
name: "show",
|
|
97303
|
-
rawName: "v-show",
|
|
97304
|
-
value: false,
|
|
97305
|
-
expression: "false",
|
|
97306
|
-
},
|
|
97307
|
-
],
|
|
97308
|
-
attrs: {
|
|
97309
|
-
readonly: "",
|
|
97310
|
-
name: _vm.name,
|
|
97311
|
-
type: "text",
|
|
97312
|
-
},
|
|
97313
|
-
model: {
|
|
97314
|
-
value: _vm.selectedLabel,
|
|
97315
|
-
callback: function ($$v) {
|
|
97316
|
-
_vm.selectedLabel = $$v
|
|
97317
|
-
},
|
|
97318
|
-
expression: "selectedLabel",
|
|
97319
|
-
},
|
|
97320
|
-
}),
|
|
97321
|
-
]
|
|
97322
|
-
: _c(
|
|
97323
|
-
"el-input",
|
|
97324
|
-
{
|
|
97325
|
-
ref: "reference",
|
|
97326
|
-
class: {
|
|
97327
|
-
"is-focus": _vm.visible,
|
|
97328
|
-
"es-plain": this.plain,
|
|
97329
|
-
"es-pointer": !_vm.filterable,
|
|
97330
|
-
},
|
|
97331
|
-
attrs: {
|
|
97332
|
-
type: "text",
|
|
97333
|
-
autocomplete: "off",
|
|
97334
|
-
clearable: _vm.clearable,
|
|
97335
|
-
showClearIcon: "",
|
|
97336
|
-
name: _vm.name,
|
|
97337
|
-
readonly: _vm.filterable
|
|
97338
|
-
? false
|
|
97339
|
-
: true,
|
|
97340
|
-
active: _vm.actived,
|
|
97341
|
-
id: _vm.id,
|
|
97342
|
-
placeholder: _vm.currentPlaceholder,
|
|
97343
|
-
size: _vm.selectorSize,
|
|
97344
|
-
disabled: _vm.selectorDisabled,
|
|
97345
|
-
tabindex: _vm.tabindex,
|
|
97346
|
-
},
|
|
97347
|
-
on: { clear: _vm.handleClear },
|
|
97348
|
-
nativeOn: {
|
|
97349
|
-
dblclick: function ($event) {
|
|
97350
|
-
return _vm.openDialog($event)
|
|
97351
|
-
},
|
|
97352
|
-
},
|
|
97353
|
-
model: {
|
|
97354
|
-
value: _vm.selectedLabel,
|
|
97355
|
-
callback: function ($$v) {
|
|
97356
|
-
_vm.selectedLabel = $$v
|
|
97357
|
-
},
|
|
97358
|
-
expression: "selectedLabel",
|
|
97359
|
-
},
|
|
97360
|
-
},
|
|
97361
|
-
[
|
|
97362
|
-
_c(
|
|
97363
|
-
"template",
|
|
97364
|
-
{ slot: "append" },
|
|
97365
|
-
[
|
|
97366
|
-
_vm.filterable || _vm.showButton
|
|
97367
|
-
? _c(
|
|
97368
|
-
"el-button",
|
|
97369
|
-
{
|
|
97370
|
-
ref: "openDialog",
|
|
97371
|
-
on: {
|
|
97372
|
-
click: function ($event) {
|
|
97373
|
-
$event.stopPropagation()
|
|
97374
|
-
return _vm.openDialog(
|
|
97375
|
-
$event
|
|
97376
|
-
)
|
|
97377
|
-
},
|
|
97378
|
-
},
|
|
97379
|
-
},
|
|
97380
|
-
[
|
|
97381
|
-
_vm._t("default", [
|
|
97382
|
-
_vm.icon
|
|
97383
|
-
? _c("es-icon", {
|
|
97384
|
-
attrs: {
|
|
97385
|
-
contents:
|
|
97386
|
-
_vm.icon,
|
|
97387
|
-
},
|
|
97388
|
-
})
|
|
97389
|
-
: [_vm._v("选择")],
|
|
97390
|
-
]),
|
|
97391
|
-
],
|
|
97392
|
-
2
|
|
97393
|
-
)
|
|
97394
|
-
: _vm._e(),
|
|
97395
|
-
],
|
|
97396
|
-
1
|
|
97397
|
-
),
|
|
97398
|
-
],
|
|
97399
|
-
2
|
|
97400
|
-
),
|
|
97401
|
-
],
|
|
97402
|
-
],
|
|
97403
|
-
2
|
|
97404
|
-
),
|
|
97405
|
-
_c(
|
|
97406
|
-
"el-popover",
|
|
97407
|
-
{
|
|
97408
|
-
attrs: {
|
|
97409
|
-
placement: "bottom-start",
|
|
97410
|
-
trigger: "manual",
|
|
97411
|
-
"popper-class": "es-selector-popover",
|
|
97412
|
-
width: _vm.minWidth,
|
|
97413
|
-
queryParent: true,
|
|
97414
|
-
reference: _vm.reference,
|
|
97415
|
-
"arrow-offset": 20,
|
|
97416
|
-
},
|
|
97417
|
-
model: {
|
|
97418
|
-
value: _vm.show,
|
|
97419
|
-
callback: function ($$v) {
|
|
97420
|
-
_vm.show = $$v
|
|
97140
|
+
expression: "selectedLabel",
|
|
97141
|
+
},
|
|
97421
97142
|
},
|
|
97422
|
-
|
|
97423
|
-
|
|
97424
|
-
|
|
97425
|
-
|
|
97426
|
-
|
|
97427
|
-
|
|
97143
|
+
[
|
|
97144
|
+
!_vm.readonly
|
|
97145
|
+
? _c("el-button", {
|
|
97146
|
+
staticClass: "es-selector-btn",
|
|
97147
|
+
attrs: {
|
|
97148
|
+
slot: "suffix",
|
|
97149
|
+
type: "text",
|
|
97150
|
+
icon: _vm.icon,
|
|
97151
|
+
},
|
|
97152
|
+
on: {
|
|
97153
|
+
click: function ($event) {
|
|
97154
|
+
$event.stopPropagation()
|
|
97155
|
+
return _vm.openDialog($event)
|
|
97156
|
+
},
|
|
97157
|
+
},
|
|
97158
|
+
slot: "suffix",
|
|
97159
|
+
})
|
|
97160
|
+
: _vm._e(),
|
|
97161
|
+
],
|
|
97162
|
+
1
|
|
97163
|
+
)
|
|
97164
|
+
: _vm._e(),
|
|
97165
|
+
_vm.multiple
|
|
97166
|
+
? _c(
|
|
97167
|
+
"div",
|
|
97428
97168
|
{
|
|
97429
|
-
|
|
97430
|
-
|
|
97431
|
-
|
|
97432
|
-
|
|
97433
|
-
|
|
97434
|
-
expression: "options.length",
|
|
97435
|
-
},
|
|
97436
|
-
],
|
|
97437
|
-
ref: "scrollbar",
|
|
97438
|
-
attrs: {
|
|
97439
|
-
tag: "ul",
|
|
97440
|
-
"wrap-class": "es-selector-dropdown__wrap",
|
|
97441
|
-
"view-class": "es-selector-dropdown__list",
|
|
97442
|
-
maxHeight: "228",
|
|
97169
|
+
ref: "tags",
|
|
97170
|
+
staticClass: "es-select__tags",
|
|
97171
|
+
class: {
|
|
97172
|
+
"is-edit": !_vm.readonly,
|
|
97173
|
+
"is-show": _vm.selected.length,
|
|
97443
97174
|
},
|
|
97444
97175
|
},
|
|
97445
|
-
_vm._l(_vm.
|
|
97176
|
+
_vm._l(_vm.selected, function (item, index) {
|
|
97446
97177
|
return _c(
|
|
97447
|
-
"
|
|
97178
|
+
"el-tag",
|
|
97448
97179
|
{
|
|
97449
|
-
key: item
|
|
97450
|
-
|
|
97451
|
-
|
|
97180
|
+
key: _vm.getValueKey(item),
|
|
97181
|
+
attrs: {
|
|
97182
|
+
closable:
|
|
97183
|
+
!_vm.selectorDisabled &&
|
|
97184
|
+
!_vm.readonly &&
|
|
97185
|
+
_vm.selected.length > _vm.min,
|
|
97186
|
+
type: "info",
|
|
97187
|
+
"disable-transitions": "",
|
|
97188
|
+
},
|
|
97452
97189
|
on: {
|
|
97453
|
-
|
|
97454
|
-
_vm.
|
|
97190
|
+
close: function ($event) {
|
|
97191
|
+
_vm.deleteTag($event, item, index)
|
|
97455
97192
|
},
|
|
97456
97193
|
},
|
|
97457
97194
|
},
|
|
97458
97195
|
[
|
|
97459
|
-
_c(
|
|
97460
|
-
|
|
97461
|
-
|
|
97462
|
-
|
|
97463
|
-
"\n " +
|
|
97464
|
-
_vm._s(item[_vm.labelKey]) +
|
|
97465
|
-
"\n "
|
|
97466
|
-
),
|
|
97467
|
-
]),
|
|
97468
|
-
]
|
|
97469
|
-
)
|
|
97470
|
-
}),
|
|
97471
|
-
0
|
|
97472
|
-
),
|
|
97473
|
-
_vm.options.length == 0
|
|
97474
|
-
? _c(
|
|
97475
|
-
"p",
|
|
97476
|
-
{ staticClass: "el-select-dropdown__empty" },
|
|
97477
|
-
[
|
|
97478
|
-
_vm._v(
|
|
97479
|
-
"\n " +
|
|
97480
|
-
_vm._s(_vm.noMatchText) +
|
|
97481
|
-
"\n "
|
|
97196
|
+
_c(
|
|
97197
|
+
"span",
|
|
97198
|
+
{ staticClass: "el-select__tags-text" },
|
|
97199
|
+
[_vm._v(_vm._s(_vm.getLabel(item)))]
|
|
97482
97200
|
),
|
|
97483
97201
|
]
|
|
97484
97202
|
)
|
|
97485
|
-
|
|
97486
|
-
|
|
97487
|
-
|
|
97488
|
-
|
|
97203
|
+
}),
|
|
97204
|
+
1
|
|
97205
|
+
)
|
|
97206
|
+
: _vm._e(),
|
|
97489
97207
|
],
|
|
97490
97208
|
]
|
|
97491
97209
|
: _vm._e(),
|
|
@@ -97526,6 +97244,8 @@ var mainvue_type_template_id_2e6b9dd2_render = function () {
|
|
|
97526
97244
|
type: _vm.types,
|
|
97527
97245
|
mix: _vm.mix,
|
|
97528
97246
|
isShowLevel3: _vm.isShowLevel3,
|
|
97247
|
+
"tree-title": _vm.treeTitle,
|
|
97248
|
+
"show-switch": _vm.showSwitch,
|
|
97529
97249
|
},
|
|
97530
97250
|
on: {
|
|
97531
97251
|
tabschage: _vm.tabschage,
|
|
@@ -97558,11 +97278,11 @@ var mainvue_type_template_id_2e6b9dd2_render = function () {
|
|
|
97558
97278
|
)
|
|
97559
97279
|
: _vm._e()
|
|
97560
97280
|
}
|
|
97561
|
-
var
|
|
97562
|
-
|
|
97281
|
+
var mainvue_type_template_id_18a2e4a6_staticRenderFns = []
|
|
97282
|
+
mainvue_type_template_id_18a2e4a6_render._withStripped = true
|
|
97563
97283
|
|
|
97564
97284
|
|
|
97565
|
-
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=
|
|
97285
|
+
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=18a2e4a6&
|
|
97566
97286
|
|
|
97567
97287
|
// EXTERNAL MODULE: external "eoss-element/src/utils/clickoutside"
|
|
97568
97288
|
var clickoutside_ = __webpack_require__(17);
|
|
@@ -97659,155 +97379,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
97659
97379
|
//
|
|
97660
97380
|
//
|
|
97661
97381
|
//
|
|
97662
|
-
|
|
97663
|
-
//
|
|
97664
|
-
//
|
|
97665
|
-
//
|
|
97666
|
-
//
|
|
97667
|
-
//
|
|
97668
|
-
//
|
|
97669
|
-
//
|
|
97670
|
-
//
|
|
97671
|
-
//
|
|
97672
|
-
//
|
|
97673
|
-
//
|
|
97674
|
-
//
|
|
97675
|
-
//
|
|
97676
|
-
//
|
|
97677
|
-
//
|
|
97678
|
-
//
|
|
97679
|
-
//
|
|
97680
|
-
//
|
|
97681
|
-
//
|
|
97682
|
-
//
|
|
97683
|
-
//
|
|
97684
|
-
//
|
|
97685
|
-
//
|
|
97686
|
-
//
|
|
97687
|
-
//
|
|
97688
|
-
//
|
|
97689
|
-
//
|
|
97690
|
-
//
|
|
97691
|
-
//
|
|
97692
|
-
//
|
|
97693
|
-
//
|
|
97694
|
-
//
|
|
97695
|
-
//
|
|
97696
|
-
//
|
|
97697
|
-
//
|
|
97698
|
-
//
|
|
97699
|
-
//
|
|
97700
|
-
//
|
|
97701
|
-
//
|
|
97702
|
-
//
|
|
97703
|
-
//
|
|
97704
|
-
//
|
|
97705
|
-
//
|
|
97706
|
-
//
|
|
97707
|
-
//
|
|
97708
|
-
//
|
|
97709
|
-
//
|
|
97710
|
-
//
|
|
97711
|
-
//
|
|
97712
|
-
//
|
|
97713
|
-
//
|
|
97714
|
-
//
|
|
97715
|
-
//
|
|
97716
|
-
//
|
|
97717
|
-
//
|
|
97718
|
-
//
|
|
97719
|
-
//
|
|
97720
|
-
//
|
|
97721
|
-
//
|
|
97722
|
-
//
|
|
97723
|
-
//
|
|
97724
|
-
//
|
|
97725
|
-
//
|
|
97726
|
-
//
|
|
97727
|
-
//
|
|
97728
|
-
//
|
|
97729
|
-
//
|
|
97730
|
-
//
|
|
97731
|
-
//
|
|
97732
|
-
//
|
|
97733
|
-
//
|
|
97734
|
-
//
|
|
97735
|
-
//
|
|
97736
|
-
//
|
|
97737
|
-
//
|
|
97738
|
-
//
|
|
97739
|
-
//
|
|
97740
|
-
//
|
|
97741
|
-
//
|
|
97742
|
-
//
|
|
97743
|
-
//
|
|
97744
|
-
//
|
|
97745
|
-
//
|
|
97746
|
-
//
|
|
97747
|
-
//
|
|
97748
|
-
//
|
|
97749
|
-
//
|
|
97750
|
-
//
|
|
97751
|
-
//
|
|
97752
|
-
//
|
|
97753
|
-
//
|
|
97754
|
-
//
|
|
97755
|
-
//
|
|
97756
|
-
//
|
|
97757
|
-
//
|
|
97758
|
-
//
|
|
97759
|
-
//
|
|
97760
|
-
//
|
|
97761
|
-
//
|
|
97762
|
-
//
|
|
97763
|
-
//
|
|
97764
|
-
//
|
|
97765
|
-
//
|
|
97766
|
-
//
|
|
97767
|
-
//
|
|
97768
|
-
//
|
|
97769
|
-
//
|
|
97770
|
-
//
|
|
97771
|
-
//
|
|
97772
|
-
//
|
|
97773
|
-
//
|
|
97774
|
-
//
|
|
97775
|
-
//
|
|
97776
|
-
//
|
|
97777
|
-
//
|
|
97778
|
-
//
|
|
97779
|
-
//
|
|
97780
|
-
//
|
|
97781
|
-
//
|
|
97782
|
-
//
|
|
97783
|
-
//
|
|
97784
|
-
//
|
|
97785
|
-
//
|
|
97786
|
-
//
|
|
97787
|
-
//
|
|
97788
|
-
//
|
|
97789
|
-
//
|
|
97790
|
-
//
|
|
97791
|
-
//
|
|
97792
|
-
//
|
|
97793
|
-
//
|
|
97794
|
-
//
|
|
97795
|
-
//
|
|
97796
|
-
//
|
|
97797
|
-
//
|
|
97798
|
-
//
|
|
97799
|
-
//
|
|
97800
|
-
//
|
|
97801
|
-
//
|
|
97802
|
-
//
|
|
97803
|
-
//
|
|
97804
|
-
//
|
|
97805
|
-
//
|
|
97806
|
-
//
|
|
97807
|
-
//
|
|
97808
|
-
//
|
|
97809
|
-
//
|
|
97810
|
-
//
|
|
97382
|
+
|
|
97811
97383
|
|
|
97812
97384
|
|
|
97813
97385
|
|
|
@@ -97903,17 +97475,17 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
97903
97475
|
default: -1
|
|
97904
97476
|
},
|
|
97905
97477
|
//是否显示搜索框
|
|
97906
|
-
filterable:
|
|
97907
|
-
//搜索列表是否显示部门信息
|
|
97908
|
-
showFilterListDep: {
|
|
97478
|
+
filterable: {
|
|
97909
97479
|
type: Boolean,
|
|
97910
97480
|
default: true
|
|
97911
97481
|
},
|
|
97482
|
+
//搜索列表是否显示部门信息
|
|
97483
|
+
showFilterListDep: Boolean,
|
|
97912
97484
|
//是否根据搜索值创建新的数据
|
|
97913
97485
|
createable: Boolean,
|
|
97914
97486
|
showButton: Boolean,
|
|
97915
97487
|
button: Object,
|
|
97916
|
-
icon: String,
|
|
97488
|
+
icon: { type: String, default: 'es-icon-sousuorenyuan' },
|
|
97917
97489
|
active: String,
|
|
97918
97490
|
keywords: {
|
|
97919
97491
|
type: String,
|
|
@@ -97956,16 +97528,24 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
97956
97528
|
default: true
|
|
97957
97529
|
},
|
|
97958
97530
|
//弹窗关闭时是否销毁子组件
|
|
97959
|
-
destroyOnClose: Boolean
|
|
97531
|
+
destroyOnClose: Boolean,
|
|
97532
|
+
//树结构标题
|
|
97533
|
+
treeTitle: String,
|
|
97534
|
+
//是否显示切换按钮
|
|
97535
|
+
showSwitch: {
|
|
97536
|
+
type: Boolean,
|
|
97537
|
+
default: true
|
|
97538
|
+
},
|
|
97539
|
+
selection: [Array, String]
|
|
97960
97540
|
},
|
|
97961
97541
|
data: function data() {
|
|
97962
97542
|
return {
|
|
97543
|
+
selectedLabel: '',
|
|
97963
97544
|
selected: [],
|
|
97964
97545
|
visible: false,
|
|
97965
97546
|
menuVisibleOnFocus: false,
|
|
97966
97547
|
inputHovering: false,
|
|
97967
97548
|
styles: {},
|
|
97968
|
-
words: '',
|
|
97969
97549
|
minWidth: '',
|
|
97970
97550
|
options: '',
|
|
97971
97551
|
show: false,
|
|
@@ -98001,30 +97581,6 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
98001
97581
|
selectorDisabled: function selectorDisabled() {
|
|
98002
97582
|
return this.disabled || (this.elForm || {}).disabled;
|
|
98003
97583
|
},
|
|
98004
|
-
|
|
98005
|
-
selectedLabel: {
|
|
98006
|
-
get: function get() {
|
|
98007
|
-
var _this = this;
|
|
98008
|
-
|
|
98009
|
-
if (this.selected) {
|
|
98010
|
-
if (typeof this.selected === 'string') {
|
|
98011
|
-
return this.selected;
|
|
98012
|
-
} else if (utils_util.isObject(this.selected)) {
|
|
98013
|
-
return this.selected[this.labelKey];
|
|
98014
|
-
} else if (Array.isArray(this.selected)) {
|
|
98015
|
-
return this.selected.map(function (item) {
|
|
98016
|
-
return typeof item === 'string' ? item : item[_this.labelKey];
|
|
98017
|
-
}).join(',');
|
|
98018
|
-
}
|
|
98019
|
-
}
|
|
98020
|
-
return '';
|
|
98021
|
-
},
|
|
98022
|
-
set: function set(val) {
|
|
98023
|
-
this.selected = [val];
|
|
98024
|
-
this.words = val;
|
|
98025
|
-
return val;
|
|
98026
|
-
}
|
|
98027
|
-
},
|
|
98028
97584
|
currentPlaceholder: function currentPlaceholder() {
|
|
98029
97585
|
if (this.selected && this.selected.length) {
|
|
98030
97586
|
return '';
|
|
@@ -98049,6 +97605,9 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
98049
97605
|
} else {
|
|
98050
97606
|
this.selected = [];
|
|
98051
97607
|
}
|
|
97608
|
+
if (!this.multiple && val && val.length) {
|
|
97609
|
+
this.selectedLabel = this.getLabel(val[0]);
|
|
97610
|
+
}
|
|
98052
97611
|
}
|
|
98053
97612
|
},
|
|
98054
97613
|
selected: {
|
|
@@ -98060,12 +97619,6 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
98060
97619
|
}
|
|
98061
97620
|
}
|
|
98062
97621
|
},
|
|
98063
|
-
words: function words(val) {
|
|
98064
|
-
if (this.emptySerach || val !== '') {
|
|
98065
|
-
clearTimeout(this.timer);
|
|
98066
|
-
this.timer = setTimeout(this.handleSearch, 500);
|
|
98067
|
-
}
|
|
98068
|
-
},
|
|
98069
97622
|
mix: function mix(val) {
|
|
98070
97623
|
if (val) {
|
|
98071
97624
|
this.getSysParam();
|
|
@@ -98073,6 +97626,11 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
98073
97626
|
}
|
|
98074
97627
|
},
|
|
98075
97628
|
created: function created() {
|
|
97629
|
+
var _this = this;
|
|
97630
|
+
|
|
97631
|
+
this.search = Object(external_throttle_debounce_["throttle"])(500, function (query, callback) {
|
|
97632
|
+
_this.handleSearch(query, callback);
|
|
97633
|
+
});
|
|
98076
97634
|
this.reference = this.$refs.esSelector;
|
|
98077
97635
|
this.mix && this.getSysParam();
|
|
98078
97636
|
},
|
|
@@ -98120,76 +97678,83 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
98120
97678
|
getValueKey: function getValueKey(obj) {
|
|
98121
97679
|
return utils_util.isObject(obj) ? obj[this.valueKey] : obj;
|
|
98122
97680
|
},
|
|
98123
|
-
toggleMenu: function toggleMenu() {
|
|
98124
|
-
if (!this.selectorDisabled && !this.readonly && !this.filterable && this.select) {
|
|
98125
|
-
this.visible = true;
|
|
98126
|
-
}
|
|
98127
|
-
},
|
|
98128
97681
|
openDialog: function openDialog() {
|
|
98129
97682
|
if (!this.selectorDisabled && !this.readonly && this.select) {
|
|
98130
97683
|
this.visible = true;
|
|
98131
97684
|
}
|
|
98132
97685
|
},
|
|
98133
|
-
handleSearch: function handleSearch() {
|
|
98134
|
-
var
|
|
97686
|
+
handleSearch: function handleSearch(query, callback) {
|
|
97687
|
+
var _ref,
|
|
97688
|
+
_this3 = this;
|
|
98135
97689
|
|
|
98136
|
-
|
|
98137
|
-
if (this.createable) {
|
|
98138
|
-
var _ref;
|
|
97690
|
+
if (!query) return;
|
|
98139
97691
|
|
|
98140
|
-
|
|
97692
|
+
var options = this.createable ? [(_ref = {}, _ref[this.labelKey] = query, _ref[this.valueKey] = query, _ref)] : [];
|
|
97693
|
+
if (!this.tree && this.selection && Array.isArray(this.selection)) {
|
|
97694
|
+
var selections = this.selection.filter(function (item) {
|
|
97695
|
+
return item[_this3.labelKey].indexOf(query) > -1;
|
|
97696
|
+
});
|
|
97697
|
+
// selections = selections.filter((item) => {
|
|
97698
|
+
// return (
|
|
97699
|
+
// this.selected.findIndex(
|
|
97700
|
+
// (selected) => selected[this.valueKey] === item[this.valueKey]
|
|
97701
|
+
// ) === -1
|
|
97702
|
+
// );
|
|
97703
|
+
// });
|
|
97704
|
+
options = options.concat(selections);
|
|
98141
97705
|
}
|
|
98142
97706
|
if (this.filterable) {
|
|
98143
97707
|
var params = {
|
|
98144
97708
|
type: this.actived
|
|
98145
97709
|
};
|
|
98146
|
-
|
|
97710
|
+
var url = !this.tree && this.selection && typeof this.selection === 'string' ? this.selection : this.action;
|
|
97711
|
+
params[this.keywords] = query;
|
|
98147
97712
|
params = utils_util.extend({}, params, this.where);
|
|
98148
97713
|
utils_util.ajax({
|
|
98149
|
-
url:
|
|
97714
|
+
url: url,
|
|
98150
97715
|
params: params
|
|
98151
97716
|
}).then(function (res) {
|
|
98152
97717
|
if (res.rCode === 0) {
|
|
98153
|
-
|
|
98154
|
-
|
|
98155
|
-
|
|
98156
|
-
|
|
98157
|
-
|
|
98158
|
-
|
|
98159
|
-
|
|
98160
|
-
|
|
98161
|
-
}
|
|
98162
|
-
|
|
97718
|
+
var results = res.results || [];
|
|
97719
|
+
// .filter((item) => {
|
|
97720
|
+
// return (
|
|
97721
|
+
// this.selected.findIndex(
|
|
97722
|
+
// (selected) =>
|
|
97723
|
+
// selected[this.valueKey] === item[this.valueKey]
|
|
97724
|
+
// ) === -1
|
|
97725
|
+
// );
|
|
97726
|
+
// });
|
|
97727
|
+
options = options.concat(results);
|
|
97728
|
+
callback(options);
|
|
98163
97729
|
}
|
|
98164
97730
|
}).catch(function (err) {
|
|
98165
97731
|
if (err.message && err.message !== 'canceled') {
|
|
98166
97732
|
_this3.$message.error(err.message);
|
|
98167
97733
|
}
|
|
98168
97734
|
});
|
|
98169
|
-
} else
|
|
98170
|
-
|
|
98171
|
-
this.show = true;
|
|
98172
|
-
}
|
|
98173
|
-
},
|
|
98174
|
-
handleFocus: function handleFocus() {
|
|
98175
|
-
if (this.filterable) {
|
|
98176
|
-
this.focus = true;
|
|
97735
|
+
} else {
|
|
97736
|
+
callback(options);
|
|
98177
97737
|
}
|
|
98178
97738
|
},
|
|
98179
|
-
handleBlur: function handleBlur() {
|
|
98180
|
-
this.focus = false;
|
|
98181
|
-
},
|
|
98182
97739
|
tabschage: function tabschage(trees, active) {
|
|
98183
97740
|
this.$emit('tabs-change', trees, active);
|
|
98184
97741
|
},
|
|
98185
|
-
|
|
98186
|
-
if (!this.multiple
|
|
97742
|
+
handleChange: function handleChange(val) {
|
|
97743
|
+
if (!this.multiple) {
|
|
98187
97744
|
this.selected = [];
|
|
97745
|
+
|
|
97746
|
+
this.$emit('input', []);
|
|
97747
|
+
this.$emit('confirm', [], this.businessData);
|
|
98188
97748
|
}
|
|
98189
|
-
|
|
97749
|
+
console.log('handleChange', val);
|
|
98190
97750
|
},
|
|
98191
97751
|
handleSelect: function handleSelect(res) {
|
|
98192
|
-
|
|
97752
|
+
console.log('handleSelect', res);
|
|
97753
|
+
if (!this.multiple) {
|
|
97754
|
+
this.selectedLabel = this.getLabel(res);
|
|
97755
|
+
} else {
|
|
97756
|
+
this.selectedLabel = '';
|
|
97757
|
+
}
|
|
98193
97758
|
if (!res.selected) {
|
|
98194
97759
|
if (this.multiple) {
|
|
98195
97760
|
if (this.selected.length) {
|
|
@@ -98221,8 +97786,14 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
98221
97786
|
this.$emit('confirm', this.selected);
|
|
98222
97787
|
},
|
|
98223
97788
|
handleConfirm: function handleConfirm(res) {
|
|
98224
|
-
|
|
97789
|
+
console.log('handleConfirm', res);
|
|
98225
97790
|
var val = utils_util.isObject(res) ? [res] : res;
|
|
97791
|
+
this.visible = false;
|
|
97792
|
+
if (!this.multiple) {
|
|
97793
|
+
this.selectedLabel = val[0] ? this.getLabel(val) : '';
|
|
97794
|
+
} else {
|
|
97795
|
+
this.selectedLabel = '';
|
|
97796
|
+
}
|
|
98226
97797
|
if (this.mix) {
|
|
98227
97798
|
val.forEach(function (item, index) {
|
|
98228
97799
|
val[index]._typeName = utils_util.getTypeName(item.stype);
|
|
@@ -98319,8 +97890,8 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
98319
97890
|
|
|
98320
97891
|
var selector_src_main_component = normalizeComponent(
|
|
98321
97892
|
packages_selector_src_mainvue_type_script_lang_js_,
|
|
98322
|
-
|
|
98323
|
-
|
|
97893
|
+
mainvue_type_template_id_18a2e4a6_render,
|
|
97894
|
+
mainvue_type_template_id_18a2e4a6_staticRenderFns,
|
|
98324
97895
|
false,
|
|
98325
97896
|
null,
|
|
98326
97897
|
null,
|
|
@@ -98337,8 +97908,8 @@ selector_src_main.install = function (Vue) {
|
|
|
98337
97908
|
};
|
|
98338
97909
|
|
|
98339
97910
|
/* harmony default export */ var selector = (selector_src_main);
|
|
98340
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=
|
|
98341
|
-
var
|
|
97911
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=17c26d73&
|
|
97912
|
+
var mainvue_type_template_id_17c26d73_render = function () {
|
|
98342
97913
|
var _vm = this
|
|
98343
97914
|
var _h = _vm.$createElement
|
|
98344
97915
|
var _c = _vm._self._c || _h
|
|
@@ -98372,7 +97943,11 @@ var mainvue_type_template_id_4765b5a0_render = function () {
|
|
|
98372
97943
|
[
|
|
98373
97944
|
_vm.isShowTree
|
|
98374
97945
|
? _c("tree", {
|
|
98375
|
-
attrs: {
|
|
97946
|
+
attrs: {
|
|
97947
|
+
"tree-title": _vm.treeTitle,
|
|
97948
|
+
data: items.data,
|
|
97949
|
+
loading: _vm.loading,
|
|
97950
|
+
},
|
|
98376
97951
|
on: { loadsub: _vm.loadsub, search: _vm.searchTree },
|
|
98377
97952
|
})
|
|
98378
97953
|
: _vm._e(),
|
|
@@ -98397,6 +97972,16 @@ var mainvue_type_template_id_4765b5a0_render = function () {
|
|
|
98397
97972
|
[
|
|
98398
97973
|
_c(
|
|
98399
97974
|
"el-form-item",
|
|
97975
|
+
{
|
|
97976
|
+
directives: [
|
|
97977
|
+
{
|
|
97978
|
+
name: "show",
|
|
97979
|
+
rawName: "v-show",
|
|
97980
|
+
value: _vm.showSwitch,
|
|
97981
|
+
expression: "showSwitch",
|
|
97982
|
+
},
|
|
97983
|
+
],
|
|
97984
|
+
},
|
|
98400
97985
|
[
|
|
98401
97986
|
_c("es-switch", {
|
|
98402
97987
|
attrs: { data: _vm.options },
|
|
@@ -98548,6 +98133,41 @@ var mainvue_type_template_id_4765b5a0_render = function () {
|
|
|
98548
98133
|
expression: "checkeds",
|
|
98549
98134
|
},
|
|
98550
98135
|
}),
|
|
98136
|
+
_c(
|
|
98137
|
+
"div",
|
|
98138
|
+
{ staticClass: "es-selector-selection-divider" },
|
|
98139
|
+
[
|
|
98140
|
+
_c(
|
|
98141
|
+
"el-button",
|
|
98142
|
+
{
|
|
98143
|
+
attrs: { type: "text", size: "small" },
|
|
98144
|
+
on: { click: _vm.handleDelete },
|
|
98145
|
+
},
|
|
98146
|
+
[
|
|
98147
|
+
_c("i", { staticClass: "el-icon-delete" }),
|
|
98148
|
+
_vm._v("清空"),
|
|
98149
|
+
]
|
|
98150
|
+
),
|
|
98151
|
+
_vm.multiple && _vm.checkeds.length > 0
|
|
98152
|
+
? _c(
|
|
98153
|
+
"span",
|
|
98154
|
+
{ staticClass: "es-selector-selection-count" },
|
|
98155
|
+
[
|
|
98156
|
+
_vm._v("\n 已选:\n "),
|
|
98157
|
+
_c(
|
|
98158
|
+
"span",
|
|
98159
|
+
{
|
|
98160
|
+
staticClass:
|
|
98161
|
+
"es-selector-selection-count-num",
|
|
98162
|
+
},
|
|
98163
|
+
[_vm._v(_vm._s(_vm.checkeds.length))]
|
|
98164
|
+
),
|
|
98165
|
+
]
|
|
98166
|
+
)
|
|
98167
|
+
: _vm._e(),
|
|
98168
|
+
],
|
|
98169
|
+
1
|
|
98170
|
+
),
|
|
98551
98171
|
_c("selection", {
|
|
98552
98172
|
attrs: {
|
|
98553
98173
|
genre: "delete",
|
|
@@ -98581,19 +98201,6 @@ var mainvue_type_template_id_4765b5a0_render = function () {
|
|
|
98581
98201
|
"div",
|
|
98582
98202
|
{ staticClass: "es-selector-handle" },
|
|
98583
98203
|
[
|
|
98584
|
-
_vm.multiple && _vm.checkeds.length > 0
|
|
98585
|
-
? _c(
|
|
98586
|
-
"span",
|
|
98587
|
-
{ staticStyle: { "margin-right": "20px", color: "red" } },
|
|
98588
|
-
[
|
|
98589
|
-
_vm._v(
|
|
98590
|
-
"\n 已选 " +
|
|
98591
|
-
_vm._s(_vm.checkeds.length) +
|
|
98592
|
-
"\n "
|
|
98593
|
-
),
|
|
98594
|
-
]
|
|
98595
|
-
)
|
|
98596
|
-
: _vm._e(),
|
|
98597
98204
|
_c(
|
|
98598
98205
|
"el-button",
|
|
98599
98206
|
{
|
|
@@ -98616,14 +98223,14 @@ var mainvue_type_template_id_4765b5a0_render = function () {
|
|
|
98616
98223
|
1
|
|
98617
98224
|
)
|
|
98618
98225
|
}
|
|
98619
|
-
var
|
|
98620
|
-
|
|
98226
|
+
var mainvue_type_template_id_17c26d73_staticRenderFns = []
|
|
98227
|
+
mainvue_type_template_id_17c26d73_render._withStripped = true
|
|
98621
98228
|
|
|
98622
98229
|
|
|
98623
|
-
// CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=
|
|
98230
|
+
// CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=17c26d73&
|
|
98624
98231
|
|
|
98625
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/tree.vue?vue&type=template&id=
|
|
98626
|
-
var
|
|
98232
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/tree.vue?vue&type=template&id=3d3025d8&
|
|
98233
|
+
var treevue_type_template_id_3d3025d8_render = function () {
|
|
98627
98234
|
var _vm = this
|
|
98628
98235
|
var _h = _vm.$createElement
|
|
98629
98236
|
var _c = _vm._self._c || _h
|
|
@@ -98631,35 +98238,41 @@ var treevue_type_template_id_24ad732a_render = function () {
|
|
|
98631
98238
|
"div",
|
|
98632
98239
|
{ staticClass: "es-selector-tree" },
|
|
98633
98240
|
[
|
|
98634
|
-
|
|
98635
|
-
"
|
|
98636
|
-
|
|
98637
|
-
|
|
98638
|
-
|
|
98639
|
-
|
|
98640
|
-
|
|
98641
|
-
|
|
98642
|
-
|
|
98643
|
-
|
|
98644
|
-
|
|
98645
|
-
|
|
98646
|
-
|
|
98647
|
-
|
|
98648
|
-
|
|
98649
|
-
|
|
98650
|
-
|
|
98651
|
-
|
|
98652
|
-
|
|
98653
|
-
|
|
98654
|
-
|
|
98655
|
-
|
|
98656
|
-
|
|
98657
|
-
|
|
98658
|
-
|
|
98659
|
-
|
|
98660
|
-
|
|
98661
|
-
|
|
98662
|
-
|
|
98241
|
+
_vm.treeTitle
|
|
98242
|
+
? _c("div", { staticClass: "es-selector-tree-title" }, [
|
|
98243
|
+
_vm._v("\n " + _vm._s(_vm.treeTitle) + "\n "),
|
|
98244
|
+
])
|
|
98245
|
+
: [
|
|
98246
|
+
_c(
|
|
98247
|
+
"el-input",
|
|
98248
|
+
{
|
|
98249
|
+
staticClass: "es-selector-tree-search",
|
|
98250
|
+
attrs: { placeholder: "请输入搜索关键字" },
|
|
98251
|
+
on: { change: _vm.handleChangeSearch },
|
|
98252
|
+
model: {
|
|
98253
|
+
value: _vm.searchkey,
|
|
98254
|
+
callback: function ($$v) {
|
|
98255
|
+
_vm.searchkey = $$v
|
|
98256
|
+
},
|
|
98257
|
+
expression: "searchkey",
|
|
98258
|
+
},
|
|
98259
|
+
},
|
|
98260
|
+
[
|
|
98261
|
+
_c(
|
|
98262
|
+
"template",
|
|
98263
|
+
{ slot: "append" },
|
|
98264
|
+
[
|
|
98265
|
+
_c("el-button", {
|
|
98266
|
+
attrs: { icon: "el-icon-search", type: "primary" },
|
|
98267
|
+
on: { click: _vm.handleSearch },
|
|
98268
|
+
}),
|
|
98269
|
+
],
|
|
98270
|
+
1
|
|
98271
|
+
),
|
|
98272
|
+
],
|
|
98273
|
+
2
|
|
98274
|
+
),
|
|
98275
|
+
],
|
|
98663
98276
|
_c(
|
|
98664
98277
|
"div",
|
|
98665
98278
|
{
|
|
@@ -98753,14 +98366,14 @@ var treevue_type_template_id_24ad732a_render = function () {
|
|
|
98753
98366
|
1
|
|
98754
98367
|
),
|
|
98755
98368
|
],
|
|
98756
|
-
|
|
98369
|
+
2
|
|
98757
98370
|
)
|
|
98758
98371
|
}
|
|
98759
|
-
var
|
|
98760
|
-
|
|
98372
|
+
var treevue_type_template_id_3d3025d8_staticRenderFns = []
|
|
98373
|
+
treevue_type_template_id_3d3025d8_render._withStripped = true
|
|
98761
98374
|
|
|
98762
98375
|
|
|
98763
|
-
// CONCATENATED MODULE: ./packages/selector-panel/src/tree.vue?vue&type=template&id=
|
|
98376
|
+
// CONCATENATED MODULE: ./packages/selector-panel/src/tree.vue?vue&type=template&id=3d3025d8&
|
|
98764
98377
|
|
|
98765
98378
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/tree.vue?vue&type=script&lang=js&
|
|
98766
98379
|
//
|
|
@@ -98828,10 +98441,16 @@ treevue_type_template_id_24ad732a_render._withStripped = true
|
|
|
98828
98441
|
//
|
|
98829
98442
|
//
|
|
98830
98443
|
//
|
|
98444
|
+
//
|
|
98445
|
+
//
|
|
98446
|
+
//
|
|
98447
|
+
//
|
|
98448
|
+
//
|
|
98831
98449
|
|
|
98832
98450
|
/* harmony default export */ var treevue_type_script_lang_js_ = ({
|
|
98833
98451
|
name: 'Tree',
|
|
98834
98452
|
props: {
|
|
98453
|
+
treeTitle: String,
|
|
98835
98454
|
data: {
|
|
98836
98455
|
type: [Array, Object],
|
|
98837
98456
|
default: function _default() {
|
|
@@ -98853,7 +98472,7 @@ treevue_type_template_id_24ad732a_render._withStripped = true
|
|
|
98853
98472
|
label: 'name',
|
|
98854
98473
|
children: 'children'
|
|
98855
98474
|
},
|
|
98856
|
-
|
|
98475
|
+
searchkey: '',
|
|
98857
98476
|
chooseNode: ''
|
|
98858
98477
|
};
|
|
98859
98478
|
},
|
|
@@ -98882,13 +98501,13 @@ treevue_type_template_id_24ad732a_render._withStripped = true
|
|
|
98882
98501
|
this.$emit('load', node, resolve);
|
|
98883
98502
|
},
|
|
98884
98503
|
handleChangeSearch: function handleChangeSearch() {
|
|
98885
|
-
if (this.
|
|
98504
|
+
if (this.searchkey === '') {
|
|
98886
98505
|
this.$emit('search', '');
|
|
98887
98506
|
}
|
|
98888
98507
|
},
|
|
98889
98508
|
handleSearch: function handleSearch() {
|
|
98890
|
-
if (this.
|
|
98891
|
-
this.$emit('search', this.
|
|
98509
|
+
if (this.searchkey !== '') {
|
|
98510
|
+
this.$emit('search', this.searchkey);
|
|
98892
98511
|
}
|
|
98893
98512
|
}
|
|
98894
98513
|
}
|
|
@@ -98905,8 +98524,8 @@ treevue_type_template_id_24ad732a_render._withStripped = true
|
|
|
98905
98524
|
|
|
98906
98525
|
var tree_component = normalizeComponent(
|
|
98907
98526
|
src_treevue_type_script_lang_js_,
|
|
98908
|
-
|
|
98909
|
-
|
|
98527
|
+
treevue_type_template_id_3d3025d8_render,
|
|
98528
|
+
treevue_type_template_id_3d3025d8_staticRenderFns,
|
|
98910
98529
|
false,
|
|
98911
98530
|
null,
|
|
98912
98531
|
null,
|
|
@@ -99396,6 +99015,18 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
99396
99015
|
//
|
|
99397
99016
|
//
|
|
99398
99017
|
//
|
|
99018
|
+
//
|
|
99019
|
+
//
|
|
99020
|
+
//
|
|
99021
|
+
//
|
|
99022
|
+
//
|
|
99023
|
+
//
|
|
99024
|
+
//
|
|
99025
|
+
//
|
|
99026
|
+
//
|
|
99027
|
+
//
|
|
99028
|
+
//
|
|
99029
|
+
//
|
|
99399
99030
|
|
|
99400
99031
|
|
|
99401
99032
|
|
|
@@ -99431,6 +99062,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
99431
99062
|
type: String,
|
|
99432
99063
|
default: '560px'
|
|
99433
99064
|
},
|
|
99065
|
+
treeTitle: String,
|
|
99434
99066
|
//树结构
|
|
99435
99067
|
tree: {
|
|
99436
99068
|
type: Boolean,
|
|
@@ -99505,6 +99137,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
99505
99137
|
default: function _default() {
|
|
99506
99138
|
return [];
|
|
99507
99139
|
}
|
|
99140
|
+
},
|
|
99141
|
+
//是否显示切换按钮
|
|
99142
|
+
showSwitch: {
|
|
99143
|
+
type: Boolean,
|
|
99144
|
+
default: true
|
|
99508
99145
|
}
|
|
99509
99146
|
},
|
|
99510
99147
|
data: function data() {
|
|
@@ -99918,6 +99555,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
99918
99555
|
getAjaxActive: function getAjaxActive(active) {
|
|
99919
99556
|
var _this3 = this;
|
|
99920
99557
|
|
|
99558
|
+
console.log('getAjaxActive', active);
|
|
99921
99559
|
if (this.isShowTree) {
|
|
99922
99560
|
if ((!this.trees[active].data || this.trees[active].data && this.trees[active].data.length === 0) && this.newTabs[active].url) {
|
|
99923
99561
|
this.loading = true;
|
|
@@ -99966,14 +99604,23 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
99966
99604
|
}
|
|
99967
99605
|
utils_util.ajax({ method: this.method, url: url, params: data, data: data }).then(function (res) {
|
|
99968
99606
|
if (res.rCode === 0) {
|
|
99969
|
-
_this4.loading = false;
|
|
99970
99607
|
if (!Object.prototype.hasOwnProperty.call(params, 'seachkey')) {
|
|
99971
99608
|
_this4.$set(_this4.defaults[_this4.activeName], 'data', JSON.parse(JSON.stringify(res.results)));
|
|
99972
99609
|
}
|
|
99610
|
+
console.log('res.results', res.results);
|
|
99973
99611
|
if (res.results.length && res.results[0].name === '无搜索数据') {
|
|
99974
99612
|
_this4.$set(_this4.trees[_this4.activeName], 'data', null);
|
|
99613
|
+
_this4.loading = false;
|
|
99975
99614
|
} else {
|
|
99976
99615
|
_this4.$set(_this4.trees[_this4.activeName], 'data', JSON.parse(JSON.stringify(res.results)));
|
|
99616
|
+
if (_this4.activeName === 'myemployee') {
|
|
99617
|
+
var _params = utils_util.extend({}, _this4.param[_this4.activeName] ? _this4.param[_this4.activeName] : _this4.param);
|
|
99618
|
+
_params.type = _this4.activeName;
|
|
99619
|
+
_params.mid = _this4.trees[_this4.activeName].data[0].id;
|
|
99620
|
+
_this4.getSelections(_params, _this4.trees[_this4.activeName].data[0]);
|
|
99621
|
+
} else {
|
|
99622
|
+
_this4.loading = false;
|
|
99623
|
+
}
|
|
99977
99624
|
}
|
|
99978
99625
|
}
|
|
99979
99626
|
}).catch(function (err) {
|
|
@@ -99982,9 +99629,33 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
99982
99629
|
}
|
|
99983
99630
|
});
|
|
99984
99631
|
},
|
|
99985
|
-
|
|
99632
|
+
getSelections: function getSelections(params, data) {
|
|
99986
99633
|
var _this5 = this;
|
|
99987
99634
|
|
|
99635
|
+
utils_util.ajax({
|
|
99636
|
+
method: this.method,
|
|
99637
|
+
url: this.host + this.selection,
|
|
99638
|
+
params: params,
|
|
99639
|
+
data: params
|
|
99640
|
+
}).then(function (res) {
|
|
99641
|
+
if (res.rCode === 0) {
|
|
99642
|
+
data.selection = JSON.parse(JSON.stringify(res.results));
|
|
99643
|
+
_this5.$set(_this5.trees[_this5.activeName], 'selection', JSON.parse(JSON.stringify(res.results)));
|
|
99644
|
+
_this5.$set(_this5.trees[_this5.activeName], 'nodeData', data);
|
|
99645
|
+
_this5.nodeData = _this5.trees[_this5.activeName].nodeData;
|
|
99646
|
+
_this5.checkboxs = _this5.trees[_this5.activeName].selection;
|
|
99647
|
+
}
|
|
99648
|
+
}).catch(function (err) {
|
|
99649
|
+
if (err.message && err.message !== 'canceled') {
|
|
99650
|
+
_this5.$message.error(err.message);
|
|
99651
|
+
}
|
|
99652
|
+
}).finally(function () {
|
|
99653
|
+
_this5.loading = false;
|
|
99654
|
+
});
|
|
99655
|
+
},
|
|
99656
|
+
loadsub: function loadsub(data, node, flag) {
|
|
99657
|
+
var _this6 = this;
|
|
99658
|
+
|
|
99988
99659
|
node;
|
|
99989
99660
|
if (flag) {
|
|
99990
99661
|
if (data.selection === undefined || data.selection.length === 0) {
|
|
@@ -100001,24 +99672,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
100001
99672
|
// if (this.activeName === 'department') {
|
|
100002
99673
|
// params.querymode = 0;
|
|
100003
99674
|
// }
|
|
100004
|
-
|
|
100005
|
-
method: this.method,
|
|
100006
|
-
url: this.host + this.selection,
|
|
100007
|
-
params: params,
|
|
100008
|
-
data: params
|
|
100009
|
-
}).then(function (res) {
|
|
100010
|
-
if (res.rCode === 0) {
|
|
100011
|
-
data.selection = JSON.parse(JSON.stringify(res.results));
|
|
100012
|
-
_this5.$set(_this5.trees[_this5.activeName], 'selection', JSON.parse(JSON.stringify(res.results)));
|
|
100013
|
-
_this5.$set(_this5.trees[_this5.activeName], 'nodeData', data);
|
|
100014
|
-
_this5.nodeData = _this5.trees[_this5.activeName].nodeData;
|
|
100015
|
-
_this5.checkboxs = _this5.trees[_this5.activeName].selection;
|
|
100016
|
-
}
|
|
100017
|
-
}).catch(function (err) {
|
|
100018
|
-
if (err.message && err.message !== 'canceled') {
|
|
100019
|
-
_this5.$message.error(err.message);
|
|
100020
|
-
}
|
|
100021
|
-
});
|
|
99675
|
+
this.getSelections(params, data);
|
|
100022
99676
|
} else {
|
|
100023
99677
|
this.trees[this.activeName].selection = data.selection;
|
|
100024
99678
|
this.trees[this.activeName].nodeData = data;
|
|
@@ -100030,22 +99684,22 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
100030
99684
|
data.state = '';
|
|
100031
99685
|
}
|
|
100032
99686
|
if (data.state !== '' && (!data.children || data.children.length === 0)) {
|
|
100033
|
-
var
|
|
100034
|
-
|
|
99687
|
+
var _params2 = utils_util.extend({}, this.newTabs[this.activeName].param, this.param[this.activeName] ? this.param[this.activeName] : this.param);
|
|
99688
|
+
_params2.id = data.id;
|
|
100035
99689
|
utils_util.ajax({
|
|
100036
99690
|
method: this.method,
|
|
100037
99691
|
url: this.host + this.newTabs[this.activeName].url,
|
|
100038
|
-
data:
|
|
100039
|
-
params:
|
|
99692
|
+
data: _params2,
|
|
99693
|
+
params: _params2
|
|
100040
99694
|
}).then(function (res) {
|
|
100041
99695
|
if (res.rCode === 0) {
|
|
100042
|
-
|
|
100043
|
-
|
|
100044
|
-
|
|
99696
|
+
_this6.loading = false;
|
|
99697
|
+
_this6.$set(data, 'children', JSON.parse(JSON.stringify(res.results)));
|
|
99698
|
+
_this6.$set(_this6.defaults[_this6.activeName], 'data', JSON.parse(JSON.stringify(_this6.trees[_this6.activeName].data)));
|
|
100045
99699
|
}
|
|
100046
99700
|
}).catch(function (err) {
|
|
100047
99701
|
if (err.message && err.message !== 'canceled') {
|
|
100048
|
-
|
|
99702
|
+
_this6.$message.error(err.message);
|
|
100049
99703
|
}
|
|
100050
99704
|
});
|
|
100051
99705
|
}
|
|
@@ -100062,8 +99716,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
100062
99716
|
this.$set(this.trees[this.activeName], 'data', this.defaults[this.activeName].data);
|
|
100063
99717
|
}
|
|
100064
99718
|
},
|
|
99719
|
+
handleDelete: function handleDelete() {
|
|
99720
|
+
this.checkeds = [];
|
|
99721
|
+
},
|
|
100065
99722
|
handleCheckAll: function handleCheckAll(res) {
|
|
100066
|
-
var
|
|
99723
|
+
var _this7 = this;
|
|
100067
99724
|
|
|
100068
99725
|
if (this.checkboxs.length > 0) {
|
|
100069
99726
|
var isObject = utils_util.isObject(this.checkboxs[0]);
|
|
@@ -100083,9 +99740,9 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
100083
99740
|
if (this.isShowTree) {
|
|
100084
99741
|
this.nodeData.checkAll = false;
|
|
100085
99742
|
this.checkboxs.forEach(function (element) {
|
|
100086
|
-
for (var i in
|
|
100087
|
-
if (isObject &&
|
|
100088
|
-
|
|
99743
|
+
for (var i in _this7.checkeds) {
|
|
99744
|
+
if (isObject && _this7.checkeds[i][_this7.valueKey] === element[_this7.valueKey] || _this7.checkeds[i] === element) {
|
|
99745
|
+
_this7.checkeds.splice(i, 1);
|
|
100089
99746
|
break;
|
|
100090
99747
|
}
|
|
100091
99748
|
}
|
|
@@ -100104,7 +99761,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
100104
99761
|
this.$emit('filtratechage', this.trees, this.activeName);
|
|
100105
99762
|
},
|
|
100106
99763
|
handleChangeSearch: function handleChangeSearch() {
|
|
100107
|
-
var
|
|
99764
|
+
var _this8 = this;
|
|
100108
99765
|
|
|
100109
99766
|
if (this.search === '') {
|
|
100110
99767
|
if (this.isShowTree) {
|
|
@@ -100118,11 +99775,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
100118
99775
|
var arry = [];
|
|
100119
99776
|
this.nodeData.selection.forEach(function (item) {
|
|
100120
99777
|
if (utils_util.isObject(item)) {
|
|
100121
|
-
if (item[
|
|
99778
|
+
if (item[_this8.labelKey].indexOf(_this8.search) > -1) {
|
|
100122
99779
|
arry.push(item);
|
|
100123
99780
|
}
|
|
100124
99781
|
} else {
|
|
100125
|
-
if (item.indexOf(
|
|
99782
|
+
if (item.indexOf(_this8.search) > -1) {
|
|
100126
99783
|
arry.push(item);
|
|
100127
99784
|
}
|
|
100128
99785
|
}
|
|
@@ -100133,11 +99790,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
100133
99790
|
var _arry = [];
|
|
100134
99791
|
this.selections.forEach(function (item) {
|
|
100135
99792
|
if (utils_util.isObject(item)) {
|
|
100136
|
-
if (item[
|
|
99793
|
+
if (item[_this8.labelKey].indexOf(_this8.search) > -1) {
|
|
100137
99794
|
_arry.push(item);
|
|
100138
99795
|
}
|
|
100139
99796
|
} else {
|
|
100140
|
-
if (item.indexOf(
|
|
99797
|
+
if (item.indexOf(_this8.search) > -1) {
|
|
100141
99798
|
_arry.push(item);
|
|
100142
99799
|
}
|
|
100143
99800
|
}
|
|
@@ -100147,7 +99804,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
100147
99804
|
}
|
|
100148
99805
|
},
|
|
100149
99806
|
handleSearch: function handleSearch() {
|
|
100150
|
-
var
|
|
99807
|
+
var _this9 = this;
|
|
100151
99808
|
|
|
100152
99809
|
if (this.isShowTree) {
|
|
100153
99810
|
if (this.nodeData && this.nodeData.selection) {
|
|
@@ -100155,11 +99812,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
100155
99812
|
var arry = [];
|
|
100156
99813
|
this.nodeData.selection.forEach(function (item) {
|
|
100157
99814
|
if (utils_util.isObject(item)) {
|
|
100158
|
-
if (item[
|
|
99815
|
+
if (item[_this9.labelKey].indexOf(_this9.search) > -1) {
|
|
100159
99816
|
arry.push(item);
|
|
100160
99817
|
}
|
|
100161
99818
|
} else {
|
|
100162
|
-
if (item.indexOf(
|
|
99819
|
+
if (item.indexOf(_this9.search) > -1) {
|
|
100163
99820
|
arry.push(item);
|
|
100164
99821
|
}
|
|
100165
99822
|
}
|
|
@@ -100181,11 +99838,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
100181
99838
|
}
|
|
100182
99839
|
}).then(function (res) {
|
|
100183
99840
|
if (res.rCode === 0) {
|
|
100184
|
-
|
|
99841
|
+
_this9.checkboxs = JSON.parse(JSON.stringify(res.results));
|
|
100185
99842
|
}
|
|
100186
99843
|
}).catch(function (err) {
|
|
100187
99844
|
if (err.message && err.message !== 'canceled') {
|
|
100188
|
-
|
|
99845
|
+
_this9.$message.error(err.message);
|
|
100189
99846
|
}
|
|
100190
99847
|
});
|
|
100191
99848
|
}
|
|
@@ -100194,11 +99851,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
100194
99851
|
var _arry2 = [];
|
|
100195
99852
|
this.selections.forEach(function (item) {
|
|
100196
99853
|
if (utils_util.isObject(item)) {
|
|
100197
|
-
if (item[
|
|
99854
|
+
if (item[_this9.labelKey].indexOf(_this9.search) > -1) {
|
|
100198
99855
|
_arry2.push(item);
|
|
100199
99856
|
}
|
|
100200
99857
|
} else {
|
|
100201
|
-
if (item.indexOf(
|
|
99858
|
+
if (item.indexOf(_this9.search) > -1) {
|
|
100202
99859
|
_arry2.push(item);
|
|
100203
99860
|
}
|
|
100204
99861
|
}
|
|
@@ -100212,15 +99869,8 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
100212
99869
|
},
|
|
100213
99870
|
handleChange: function handleChange() {},
|
|
100214
99871
|
handleConfirm: function handleConfirm() {
|
|
100215
|
-
|
|
100216
|
-
|
|
100217
|
-
message: '请选择',
|
|
100218
|
-
type: 'warning'
|
|
100219
|
-
});
|
|
100220
|
-
} else {
|
|
100221
|
-
this.$emit('input', this.checkeds);
|
|
100222
|
-
this.$emit('confirm', this.checkeds);
|
|
100223
|
-
}
|
|
99872
|
+
this.$emit('input', this.checkeds);
|
|
99873
|
+
this.$emit('confirm', this.checkeds);
|
|
100224
99874
|
},
|
|
100225
99875
|
handleCancel: function handleCancel() {
|
|
100226
99876
|
this.$emit('cancel', false);
|
|
@@ -100250,8 +99900,8 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
100250
99900
|
|
|
100251
99901
|
var selector_panel_src_main_component = normalizeComponent(
|
|
100252
99902
|
packages_selector_panel_src_mainvue_type_script_lang_js_,
|
|
100253
|
-
|
|
100254
|
-
|
|
99903
|
+
mainvue_type_template_id_17c26d73_render,
|
|
99904
|
+
mainvue_type_template_id_17c26d73_staticRenderFns,
|
|
100255
99905
|
false,
|
|
100256
99906
|
null,
|
|
100257
99907
|
null,
|
|
@@ -113243,7 +112893,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
113243
112893
|
}
|
|
113244
112894
|
|
|
113245
112895
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
113246
|
-
version: '0.8.
|
|
112896
|
+
version: '0.8.40',
|
|
113247
112897
|
install: install,
|
|
113248
112898
|
Archives: archives,
|
|
113249
112899
|
Button: packages_button,
|