eoss-mobiles 0.2.69 → 0.2.71
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/CHANGELOG.md +5 -1
- package/lib/checkbox.js +0 -2
- package/lib/date.js +11 -6
- package/lib/eoss-mobile.common.js +634 -345
- package/lib/esign.js +3 -3
- package/lib/field.js +10 -5
- package/lib/flow-btn.js +3 -7
- package/lib/flow-list.js +0 -2
- package/lib/flow.js +8 -12
- package/lib/form.js +2 -5
- package/lib/index.js +1 -1
- package/lib/picker.js +133 -45
- package/lib/radio.js +0 -2
- package/lib/retrial-auth.js +0 -2
- package/lib/selector.js +428 -232
- package/lib/table-column.js +0 -2
- package/lib/table.js +0 -2
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/picker.css +1 -1
- package/lib/theme-chalk/selector.css +1 -1
- package/lib/theme-chalk/tree.css +1 -1
- package/lib/utils/http.js +0 -1
- package/lib/utils/util.js +0 -1
- package/package.json +1 -1
- package/packages/date/src/main.vue +2 -2
- package/packages/esign/src/main.vue +1 -1
- package/packages/field/src/main.vue +3 -2
- package/packages/flow/src/components/Opinion.vue +1 -2
- package/packages/flow/src/flowMix.js +0 -1
- package/packages/flow-btn/src/main.vue +0 -1
- package/packages/form/src/main.vue +163 -166
- package/packages/picker/src/main.vue +52 -6
- package/packages/selector/src/main.vue +71 -25
- package/packages/selector/src/selector-field.vue +7 -8
- package/packages/selector/src/selector-tree.vue +48 -3
- package/packages/selector/src/tree.vue +120 -41
- package/packages/theme-chalk/lib/flow.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/picker.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/picker.scss +15 -11
- package/packages/theme-chalk/src/selector.scss +11 -1
- package/packages/theme-chalk/src/tree.scss +14 -2
- package/src/index.js +1 -1
- package/src/utils/http.js +0 -1
- package/src/utils/util.js +0 -1
|
@@ -600,8 +600,8 @@ button_group_src_main.install = function (Vue) {
|
|
|
600
600
|
};
|
|
601
601
|
|
|
602
602
|
/* harmony default export */ var button_group = (button_group_src_main);
|
|
603
|
-
// 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=
|
|
604
|
-
var
|
|
603
|
+
// 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=97f29d94&
|
|
604
|
+
var mainvue_type_template_id_97f29d94_render = function () {
|
|
605
605
|
var _vm = this
|
|
606
606
|
var _h = _vm.$createElement
|
|
607
607
|
var _c = _vm._self._c || _h
|
|
@@ -614,7 +614,7 @@ var mainvue_type_template_id_3fb4f01a_render = function () {
|
|
|
614
614
|
"selector-field",
|
|
615
615
|
_vm._b(
|
|
616
616
|
{
|
|
617
|
-
attrs: { data: _vm.selectList },
|
|
617
|
+
attrs: { "input-value": _vm.inputValue, data: _vm.selectList },
|
|
618
618
|
on: { change: _vm.handleChangeSel, click: _vm.handleSelector },
|
|
619
619
|
},
|
|
620
620
|
"selector-field",
|
|
@@ -730,14 +730,14 @@ var mainvue_type_template_id_3fb4f01a_render = function () {
|
|
|
730
730
|
2
|
|
731
731
|
)
|
|
732
732
|
}
|
|
733
|
-
var
|
|
734
|
-
|
|
733
|
+
var mainvue_type_template_id_97f29d94_staticRenderFns = []
|
|
734
|
+
mainvue_type_template_id_97f29d94_render._withStripped = true
|
|
735
735
|
|
|
736
736
|
|
|
737
|
-
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=
|
|
737
|
+
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=97f29d94&
|
|
738
738
|
|
|
739
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=
|
|
740
|
-
var
|
|
739
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=03f31afd&
|
|
740
|
+
var selector_treevue_type_template_id_03f31afd_render = function () {
|
|
741
741
|
var _vm = this
|
|
742
742
|
var _h = _vm.$createElement
|
|
743
743
|
var _c = _vm._self._c || _h
|
|
@@ -828,6 +828,14 @@ var selector_treevue_type_template_id_a75e86e2_render = function () {
|
|
|
828
828
|
departmentLabelKey: _vm.departmentLabelKey,
|
|
829
829
|
departmentValueKey: _vm.departmentValueKey,
|
|
830
830
|
nodeKey: _vm.nodeKey,
|
|
831
|
+
showCount: _vm.showCount,
|
|
832
|
+
countKey: _vm.countKey,
|
|
833
|
+
showNameIcon: _vm.showNameIcon,
|
|
834
|
+
nameColor: _vm.nameColor,
|
|
835
|
+
nameBgColor: _vm.nameBgColor,
|
|
836
|
+
countPosition: _vm.countPosition,
|
|
837
|
+
nameSize: _vm.nameSize,
|
|
838
|
+
unit: _vm.unit,
|
|
831
839
|
isAllCheck: _vm.isAllCheck,
|
|
832
840
|
isTreeIcon: _vm.isTreeIcon,
|
|
833
841
|
showMore: _vm.showMore,
|
|
@@ -904,14 +912,14 @@ var selector_treevue_type_template_id_a75e86e2_render = function () {
|
|
|
904
912
|
1
|
|
905
913
|
)
|
|
906
914
|
}
|
|
907
|
-
var
|
|
908
|
-
|
|
915
|
+
var selector_treevue_type_template_id_03f31afd_staticRenderFns = []
|
|
916
|
+
selector_treevue_type_template_id_03f31afd_render._withStripped = true
|
|
909
917
|
|
|
910
918
|
|
|
911
|
-
// CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=
|
|
919
|
+
// CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=03f31afd&
|
|
912
920
|
|
|
913
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/tree.vue?vue&type=template&id=
|
|
914
|
-
var
|
|
921
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/tree.vue?vue&type=template&id=238091c2&
|
|
922
|
+
var treevue_type_template_id_238091c2_render = function () {
|
|
915
923
|
var _vm = this
|
|
916
924
|
var _h = _vm.$createElement
|
|
917
925
|
var _c = _vm._self._c || _h
|
|
@@ -948,10 +956,32 @@ var treevue_type_template_id_33f22d0d_render = function () {
|
|
|
948
956
|
_c("div", { staticClass: "text" }, [
|
|
949
957
|
(item.parentshowid === "" ||
|
|
950
958
|
item.parentshowid === "root") &&
|
|
951
|
-
!_vm.isTreeIcon
|
|
959
|
+
!_vm.isTreeIcon &&
|
|
960
|
+
!_vm.showNameIcon
|
|
952
961
|
? _c("div", { staticClass: "label" })
|
|
953
962
|
: _vm._e(),
|
|
954
|
-
_vm.
|
|
963
|
+
_vm.showNameIcon
|
|
964
|
+
? _c(
|
|
965
|
+
"div",
|
|
966
|
+
{
|
|
967
|
+
staticClass: "label-name-icon",
|
|
968
|
+
style: {
|
|
969
|
+
width: _vm.nameSize + "px",
|
|
970
|
+
height: _vm.nameSize + "px",
|
|
971
|
+
color: item.color || _vm.nameColor,
|
|
972
|
+
backgroundColor:
|
|
973
|
+
item.bgColor || _vm.nameBgColor,
|
|
974
|
+
},
|
|
975
|
+
},
|
|
976
|
+
[
|
|
977
|
+
_vm._v(
|
|
978
|
+
"\n " +
|
|
979
|
+
_vm._s(item[_vm.labelKey].substring(0, 1)) +
|
|
980
|
+
"\n "
|
|
981
|
+
),
|
|
982
|
+
]
|
|
983
|
+
)
|
|
984
|
+
: _vm.isTreeIcon
|
|
955
985
|
? _c(
|
|
956
986
|
"div",
|
|
957
987
|
{
|
|
@@ -985,80 +1015,116 @@ var treevue_type_template_id_33f22d0d_render = function () {
|
|
|
985
1015
|
modifiers: { stop: true },
|
|
986
1016
|
},
|
|
987
1017
|
],
|
|
1018
|
+
staticClass: "label-name-text",
|
|
1019
|
+
style: {
|
|
1020
|
+
display:
|
|
1021
|
+
_vm.countPosition === "right"
|
|
1022
|
+
? "flex"
|
|
1023
|
+
: "unset",
|
|
1024
|
+
flex:
|
|
1025
|
+
_vm.countPosition === "right" ? "1" : "unset",
|
|
1026
|
+
},
|
|
988
1027
|
},
|
|
989
1028
|
[_vm._v(_vm._s(item[_vm.labelKey]))]
|
|
990
1029
|
),
|
|
1030
|
+
_vm.showCount &&
|
|
1031
|
+
_vm.countPosition === "left" &&
|
|
1032
|
+
item[_vm.countKey]
|
|
1033
|
+
? _c("span", { staticClass: "selector-left-count" }, [
|
|
1034
|
+
_vm._v(_vm._s(item[_vm.countKey] + _vm.unit)),
|
|
1035
|
+
])
|
|
1036
|
+
: _vm._e(),
|
|
991
1037
|
]),
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1038
|
+
_c(
|
|
1039
|
+
"div",
|
|
1040
|
+
{ staticClass: "selector-right" },
|
|
1041
|
+
[
|
|
1042
|
+
_vm.showCount &&
|
|
1043
|
+
_vm.countPosition === "right" &&
|
|
1044
|
+
item[_vm.countKey]
|
|
1045
|
+
? _c(
|
|
1046
|
+
"span",
|
|
1047
|
+
{ staticClass: "selector-right-count" },
|
|
1048
|
+
[_vm._v(_vm._s(item[_vm.countKey] + _vm.unit))]
|
|
1049
|
+
)
|
|
1050
|
+
: _vm._e(),
|
|
1051
|
+
_vm.showMore
|
|
1052
|
+
? _c("van-icon", {
|
|
1053
|
+
directives: [
|
|
1054
|
+
{
|
|
1055
|
+
name: "tap",
|
|
1056
|
+
rawName: "v-tap.stop",
|
|
1057
|
+
value: {
|
|
1058
|
+
methods: _vm.handleClickIcon,
|
|
1059
|
+
obj: item,
|
|
1060
|
+
},
|
|
1061
|
+
expression:
|
|
1062
|
+
"{ methods: handleClickIcon, obj: item }",
|
|
1063
|
+
modifiers: { stop: true },
|
|
1064
|
+
},
|
|
1065
|
+
],
|
|
1066
|
+
staticClass: "right",
|
|
1067
|
+
style: {
|
|
1068
|
+
transform: item.open ? "rotate(90deg)" : "",
|
|
1001
1069
|
},
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
],
|
|
1061
|
-
1
|
|
1070
|
+
attrs: { name: "arrow" },
|
|
1071
|
+
})
|
|
1072
|
+
: _vm._e(),
|
|
1073
|
+
item.checked
|
|
1074
|
+
? _c("i", {
|
|
1075
|
+
directives: [
|
|
1076
|
+
{
|
|
1077
|
+
name: "show",
|
|
1078
|
+
rawName: "v-show",
|
|
1079
|
+
value:
|
|
1080
|
+
(_vm.enterprise ||
|
|
1081
|
+
(_vm.department &&
|
|
1082
|
+
item[_vm.departmentLabelKey] ==
|
|
1083
|
+
_vm.departmentValueKey)) &&
|
|
1084
|
+
!_vm.showTree,
|
|
1085
|
+
expression:
|
|
1086
|
+
"\n (enterprise ||\n (department &&\n item[departmentLabelKey] == departmentValueKey)) &&\n !showTree\n ",
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
name: "tap",
|
|
1090
|
+
rawName: "v-tap.stop",
|
|
1091
|
+
value: { methods: _vm.checke, obj: item },
|
|
1092
|
+
expression:
|
|
1093
|
+
"{ methods: checke, obj: item }",
|
|
1094
|
+
modifiers: { stop: true },
|
|
1095
|
+
},
|
|
1096
|
+
],
|
|
1097
|
+
staticClass: "iconfont icon-gou select-icon",
|
|
1098
|
+
})
|
|
1099
|
+
: _c("i", {
|
|
1100
|
+
directives: [
|
|
1101
|
+
{
|
|
1102
|
+
name: "show",
|
|
1103
|
+
rawName: "v-show",
|
|
1104
|
+
value:
|
|
1105
|
+
(_vm.enterprise ||
|
|
1106
|
+
(_vm.department &&
|
|
1107
|
+
item[_vm.departmentLabelKey] ==
|
|
1108
|
+
_vm.departmentValueKey)) &&
|
|
1109
|
+
!_vm.showTree,
|
|
1110
|
+
expression:
|
|
1111
|
+
"\n (enterprise ||\n (department &&\n item[departmentLabelKey] == departmentValueKey)) &&\n !showTree\n ",
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
name: "tap",
|
|
1115
|
+
rawName: "v-tap.stop",
|
|
1116
|
+
value: { methods: _vm.checke, obj: item },
|
|
1117
|
+
expression:
|
|
1118
|
+
"{ methods: checke, obj: item }",
|
|
1119
|
+
modifiers: { stop: true },
|
|
1120
|
+
},
|
|
1121
|
+
],
|
|
1122
|
+
staticClass: "iconfont icon-quan select-icon",
|
|
1123
|
+
}),
|
|
1124
|
+
],
|
|
1125
|
+
1
|
|
1126
|
+
),
|
|
1127
|
+
]
|
|
1062
1128
|
),
|
|
1063
1129
|
item.children && item.children.length > 0
|
|
1064
1130
|
? [
|
|
@@ -1077,6 +1143,14 @@ var treevue_type_template_id_33f22d0d_render = function () {
|
|
|
1077
1143
|
"label-key": _vm.labelKey,
|
|
1078
1144
|
"value-key": _vm.valueKey,
|
|
1079
1145
|
showTree: _vm.showTree,
|
|
1146
|
+
showCount: _vm.showCount,
|
|
1147
|
+
countKey: _vm.countKey,
|
|
1148
|
+
showNameIcon: _vm.showNameIcon,
|
|
1149
|
+
nameBgColor: _vm.nameBgColor,
|
|
1150
|
+
countPosition: _vm.countPosition,
|
|
1151
|
+
nameColor: _vm.nameColor,
|
|
1152
|
+
nameSize: _vm.nameSize,
|
|
1153
|
+
unit: _vm.unit,
|
|
1080
1154
|
showMore: _vm.showMore,
|
|
1081
1155
|
enterprise: _vm.enterprise,
|
|
1082
1156
|
isTreeIcon: _vm.isTreeIcon,
|
|
@@ -1141,7 +1215,7 @@ var treevue_type_template_id_33f22d0d_render = function () {
|
|
|
1141
1215
|
item.sex ||
|
|
1142
1216
|
item.avatarUrl) &&
|
|
1143
1217
|
!_vm.isTreeIcon
|
|
1144
|
-
? _c("div", { staticClass: "head" }, [
|
|
1218
|
+
? _c("div", { staticClass: "em-show-tree-head" }, [
|
|
1145
1219
|
(item.attr &&
|
|
1146
1220
|
JSON.parse(item.attr).sex === "0") ||
|
|
1147
1221
|
item.sex == 0
|
|
@@ -1213,11 +1287,11 @@ var treevue_type_template_id_33f22d0d_render = function () {
|
|
|
1213
1287
|
0
|
|
1214
1288
|
)
|
|
1215
1289
|
}
|
|
1216
|
-
var
|
|
1217
|
-
|
|
1290
|
+
var treevue_type_template_id_238091c2_staticRenderFns = []
|
|
1291
|
+
treevue_type_template_id_238091c2_render._withStripped = true
|
|
1218
1292
|
|
|
1219
1293
|
|
|
1220
|
-
// CONCATENATED MODULE: ./packages/selector/src/tree.vue?vue&type=template&id=
|
|
1294
|
+
// CONCATENATED MODULE: ./packages/selector/src/tree.vue?vue&type=template&id=238091c2&
|
|
1221
1295
|
|
|
1222
1296
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/tree.vue?vue&type=script&lang=js&
|
|
1223
1297
|
//
|
|
@@ -1378,12 +1452,91 @@ treevue_type_template_id_33f22d0d_render._withStripped = true
|
|
|
1378
1452
|
//
|
|
1379
1453
|
//
|
|
1380
1454
|
//
|
|
1455
|
+
//
|
|
1456
|
+
//
|
|
1457
|
+
//
|
|
1458
|
+
//
|
|
1459
|
+
//
|
|
1460
|
+
//
|
|
1461
|
+
//
|
|
1462
|
+
//
|
|
1463
|
+
//
|
|
1464
|
+
//
|
|
1465
|
+
//
|
|
1466
|
+
//
|
|
1467
|
+
//
|
|
1468
|
+
//
|
|
1469
|
+
//
|
|
1470
|
+
//
|
|
1471
|
+
//
|
|
1472
|
+
//
|
|
1473
|
+
//
|
|
1474
|
+
//
|
|
1475
|
+
//
|
|
1476
|
+
//
|
|
1477
|
+
//
|
|
1478
|
+
//
|
|
1479
|
+
//
|
|
1480
|
+
//
|
|
1481
|
+
//
|
|
1482
|
+
//
|
|
1483
|
+
//
|
|
1484
|
+
//
|
|
1485
|
+
//
|
|
1486
|
+
//
|
|
1487
|
+
//
|
|
1488
|
+
//
|
|
1489
|
+
//
|
|
1490
|
+
//
|
|
1491
|
+
//
|
|
1492
|
+
//
|
|
1493
|
+
//
|
|
1494
|
+
//
|
|
1495
|
+
//
|
|
1496
|
+
//
|
|
1497
|
+
//
|
|
1498
|
+
//
|
|
1499
|
+
//
|
|
1500
|
+
//
|
|
1501
|
+
//
|
|
1381
1502
|
|
|
1382
1503
|
/* harmony default export */ var treevue_type_script_lang_js_ = ({
|
|
1383
1504
|
name: 'em-tree',
|
|
1384
1505
|
inheritAttrs: false,
|
|
1385
1506
|
props: {
|
|
1386
1507
|
model: Array,
|
|
1508
|
+
nameSize: {
|
|
1509
|
+
type: [String, Number],
|
|
1510
|
+
default: 38
|
|
1511
|
+
},
|
|
1512
|
+
showNameIcon: {
|
|
1513
|
+
type: Boolean,
|
|
1514
|
+
default: false
|
|
1515
|
+
},
|
|
1516
|
+
nameBgColor: {
|
|
1517
|
+
tpe: String,
|
|
1518
|
+
default: ''
|
|
1519
|
+
},
|
|
1520
|
+
countPosition: {
|
|
1521
|
+
type: String,
|
|
1522
|
+
default: 'right'
|
|
1523
|
+
},
|
|
1524
|
+
nameColor: {
|
|
1525
|
+
type: String,
|
|
1526
|
+
default: '#fff'
|
|
1527
|
+
},
|
|
1528
|
+
countKey: {
|
|
1529
|
+
type: String,
|
|
1530
|
+
default: 'count'
|
|
1531
|
+
},
|
|
1532
|
+
showCount: {
|
|
1533
|
+
type: Boolean,
|
|
1534
|
+
default: false
|
|
1535
|
+
},
|
|
1536
|
+
unit: {
|
|
1537
|
+
type: String,
|
|
1538
|
+
default: '人'
|
|
1539
|
+
},
|
|
1387
1540
|
enterprise: {
|
|
1388
1541
|
type: Boolean,
|
|
1389
1542
|
default: false
|
|
@@ -1505,8 +1658,8 @@ treevue_type_template_id_33f22d0d_render._withStripped = true
|
|
|
1505
1658
|
|
|
1506
1659
|
var tree_component = normalizeComponent(
|
|
1507
1660
|
src_treevue_type_script_lang_js_,
|
|
1508
|
-
|
|
1509
|
-
|
|
1661
|
+
treevue_type_template_id_238091c2_render,
|
|
1662
|
+
treevue_type_template_id_238091c2_staticRenderFns,
|
|
1510
1663
|
false,
|
|
1511
1664
|
null,
|
|
1512
1665
|
null,
|
|
@@ -2086,7 +2239,6 @@ var util_formatDate = function formatDate(date, fmt) {
|
|
|
2086
2239
|
'q+': quarter[Math.ceil((obj.getMonth() + 1) / 3) - 1], // 季度
|
|
2087
2240
|
S: obj.getMilliseconds() // 毫秒
|
|
2088
2241
|
};
|
|
2089
|
-
console.log(o, 'o');
|
|
2090
2242
|
if (/(y+)/.test(fmt)) {
|
|
2091
2243
|
fmt = fmt.replace(RegExp.$1, (obj.getFullYear() + '').substr(4 - RegExp.$1.length));
|
|
2092
2244
|
}
|
|
@@ -3207,7 +3359,6 @@ var base = {
|
|
|
3207
3359
|
|
|
3208
3360
|
var http_request = function request(options) {
|
|
3209
3361
|
var fn = void 0;
|
|
3210
|
-
console.log(options, 'sss');
|
|
3211
3362
|
switch (options.type) {
|
|
3212
3363
|
case 'post':
|
|
3213
3364
|
fn = axios.post(options.url, options.params, options.headers, options.format, options.isData, options.isParams);
|
|
@@ -3277,10 +3428,18 @@ var http_request = function request(options) {
|
|
|
3277
3428
|
|
|
3278
3429
|
// export default request;
|
|
3279
3430
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=script&lang=js&
|
|
3280
|
-
var _methods;
|
|
3281
|
-
|
|
3282
3431
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
3283
3432
|
|
|
3433
|
+
var _props, _methods;
|
|
3434
|
+
|
|
3435
|
+
//
|
|
3436
|
+
//
|
|
3437
|
+
//
|
|
3438
|
+
//
|
|
3439
|
+
//
|
|
3440
|
+
//
|
|
3441
|
+
//
|
|
3442
|
+
//
|
|
3284
3443
|
//
|
|
3285
3444
|
//
|
|
3286
3445
|
//
|
|
@@ -3378,139 +3537,133 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
3378
3537
|
components: { EmTree: tree },
|
|
3379
3538
|
name: 'EmSelectorTree',
|
|
3380
3539
|
inheritAttrs: false,
|
|
3381
|
-
props: {
|
|
3540
|
+
props: (_props = {
|
|
3382
3541
|
isSelectAll: {
|
|
3383
3542
|
type: Boolean,
|
|
3384
3543
|
default: false
|
|
3385
3544
|
},
|
|
3386
|
-
|
|
3387
|
-
type:
|
|
3388
|
-
default:
|
|
3389
|
-
},
|
|
3390
|
-
multiple: {
|
|
3391
|
-
type: Boolean, // 判断是否多选
|
|
3392
|
-
default: true
|
|
3393
|
-
},
|
|
3394
|
-
selectList: {
|
|
3395
|
-
type: [Array, String], //传入选中数组
|
|
3396
|
-
default: function _default() {
|
|
3397
|
-
return [];
|
|
3398
|
-
}
|
|
3399
|
-
},
|
|
3400
|
-
isAllCheck: {
|
|
3401
|
-
type: Boolean,
|
|
3402
|
-
default: false
|
|
3545
|
+
nameSize: {
|
|
3546
|
+
type: [String, Number],
|
|
3547
|
+
default: 38
|
|
3403
3548
|
},
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
// default: 'root'
|
|
3407
|
-
// },
|
|
3408
|
-
url: {
|
|
3409
|
-
type: String,
|
|
3549
|
+
nameBgColor: {
|
|
3550
|
+
tpe: String,
|
|
3410
3551
|
default: ''
|
|
3411
3552
|
},
|
|
3412
|
-
|
|
3413
|
-
type: Object,
|
|
3414
|
-
default: function _default() {
|
|
3415
|
-
return { pid: 'root' };
|
|
3416
|
-
}
|
|
3417
|
-
},
|
|
3418
|
-
// depId:{
|
|
3419
|
-
// type: String, //
|
|
3420
|
-
// default:''
|
|
3421
|
-
// },
|
|
3422
|
-
isEnterprise: {
|
|
3423
|
-
type: Boolean,
|
|
3424
|
-
default: false
|
|
3425
|
-
},
|
|
3426
|
-
isDepartment: {
|
|
3427
|
-
type: Boolean,
|
|
3428
|
-
default: false
|
|
3429
|
-
},
|
|
3430
|
-
departmentLabelKey: {
|
|
3553
|
+
countPosition: {
|
|
3431
3554
|
type: String,
|
|
3432
|
-
default: '
|
|
3433
|
-
},
|
|
3434
|
-
departmentValueKey: {
|
|
3435
|
-
type: String,
|
|
3436
|
-
default: 'department'
|
|
3437
|
-
},
|
|
3438
|
-
nodeKey: {
|
|
3439
|
-
type: String,
|
|
3440
|
-
default: 'subNode'
|
|
3441
|
-
},
|
|
3442
|
-
tabs: {
|
|
3443
|
-
type: [String, Object], //enterprise:单位,department:部门,employee:用户
|
|
3444
|
-
default: 'employee'
|
|
3445
|
-
},
|
|
3446
|
-
objType: {
|
|
3447
|
-
type: String, // 点击对象类型(enterprise:单位,department:部门,employee:用户,person:人员,persongroup:群组)
|
|
3448
|
-
default: 'enterprise'
|
|
3449
|
-
},
|
|
3450
|
-
isOtherUnit: {
|
|
3451
|
-
//是否是其它单位
|
|
3452
|
-
type: Boolean,
|
|
3453
|
-
default: false
|
|
3454
|
-
},
|
|
3455
|
-
filid: {
|
|
3456
|
-
type: String, // 指定企业
|
|
3457
|
-
default: undefined
|
|
3458
|
-
},
|
|
3459
|
-
type: {
|
|
3460
|
-
type: String, // 组件类型
|
|
3461
|
-
default: 'components'
|
|
3462
|
-
},
|
|
3463
|
-
navTitle: {
|
|
3464
|
-
type: String,
|
|
3465
|
-
default: '请选择'
|
|
3466
|
-
},
|
|
3467
|
-
showNavBar: {
|
|
3468
|
-
type: Boolean,
|
|
3469
|
-
default: true
|
|
3470
|
-
},
|
|
3471
|
-
showTree: {
|
|
3472
|
-
type: Boolean,
|
|
3473
|
-
default: true
|
|
3474
|
-
},
|
|
3475
|
-
showMore: {
|
|
3476
|
-
type: Boolean,
|
|
3477
|
-
default: true
|
|
3555
|
+
default: 'right'
|
|
3478
3556
|
},
|
|
3479
|
-
|
|
3557
|
+
showNameIcon: {
|
|
3480
3558
|
type: Boolean,
|
|
3481
3559
|
default: false
|
|
3482
3560
|
},
|
|
3483
|
-
|
|
3484
|
-
type: Boolean,
|
|
3485
|
-
default: true
|
|
3486
|
-
},
|
|
3487
|
-
promptText: {
|
|
3488
|
-
type: String,
|
|
3489
|
-
default: '只能选择一个'
|
|
3490
|
-
},
|
|
3491
|
-
listKey: {
|
|
3492
|
-
type: String,
|
|
3493
|
-
default: ''
|
|
3494
|
-
},
|
|
3495
|
-
valueKey: {
|
|
3496
|
-
type: String,
|
|
3497
|
-
default: 'showid'
|
|
3498
|
-
},
|
|
3499
|
-
labelKey: {
|
|
3561
|
+
nameColor: {
|
|
3500
3562
|
type: String,
|
|
3501
|
-
default: '
|
|
3502
|
-
}
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3563
|
+
default: '#fff'
|
|
3564
|
+
}
|
|
3565
|
+
}, _props['showNameIcon'] = {
|
|
3566
|
+
type: Boolean,
|
|
3567
|
+
default: false
|
|
3568
|
+
}, _props.countKey = {
|
|
3569
|
+
type: String,
|
|
3570
|
+
default: 'count'
|
|
3571
|
+
}, _props.showCount = {
|
|
3572
|
+
type: Boolean,
|
|
3573
|
+
default: false
|
|
3574
|
+
}, _props.unit = {
|
|
3575
|
+
type: String,
|
|
3576
|
+
default: '人'
|
|
3577
|
+
}, _props.showSearch = {
|
|
3578
|
+
type: Boolean,
|
|
3579
|
+
default: true
|
|
3580
|
+
}, _props.multiple = {
|
|
3581
|
+
type: Boolean, // 判断是否多选
|
|
3582
|
+
default: true
|
|
3583
|
+
}, _props.selectList = {
|
|
3584
|
+
type: [Array, String], //传入选中数组
|
|
3585
|
+
default: function _default() {
|
|
3586
|
+
return [];
|
|
3587
|
+
}
|
|
3588
|
+
}, _props.isAllCheck = {
|
|
3589
|
+
type: Boolean,
|
|
3590
|
+
default: false
|
|
3591
|
+
}, _props.url = {
|
|
3592
|
+
type: String,
|
|
3593
|
+
default: ''
|
|
3594
|
+
}, _props.param = {
|
|
3595
|
+
type: Object,
|
|
3596
|
+
default: function _default() {
|
|
3597
|
+
return { pid: 'root' };
|
|
3598
|
+
}
|
|
3599
|
+
}, _props.isEnterprise = {
|
|
3600
|
+
type: Boolean,
|
|
3601
|
+
default: false
|
|
3602
|
+
}, _props.isDepartment = {
|
|
3603
|
+
type: Boolean,
|
|
3604
|
+
default: false
|
|
3605
|
+
}, _props.departmentLabelKey = {
|
|
3606
|
+
type: String,
|
|
3607
|
+
default: 'objType'
|
|
3608
|
+
}, _props.departmentValueKey = {
|
|
3609
|
+
type: String,
|
|
3610
|
+
default: 'department'
|
|
3611
|
+
}, _props.nodeKey = {
|
|
3612
|
+
type: String,
|
|
3613
|
+
default: 'subNode'
|
|
3614
|
+
}, _props.tabs = {
|
|
3615
|
+
type: [String, Object], //enterprise:单位,department:部门,employee:用户
|
|
3616
|
+
default: 'employee'
|
|
3617
|
+
}, _props.objType = {
|
|
3618
|
+
type: String, // 点击对象类型(enterprise:单位,department:部门,employee:用户,person:人员,persongroup:群组)
|
|
3619
|
+
default: 'enterprise'
|
|
3620
|
+
}, _props.isOtherUnit = {
|
|
3621
|
+
//是否是其它单位
|
|
3622
|
+
type: Boolean,
|
|
3623
|
+
default: false
|
|
3624
|
+
}, _props.filid = {
|
|
3625
|
+
type: String, // 指定企业
|
|
3626
|
+
default: undefined
|
|
3627
|
+
}, _props.type = {
|
|
3628
|
+
type: String, // 组件类型
|
|
3629
|
+
default: 'components'
|
|
3630
|
+
}, _props.navTitle = {
|
|
3631
|
+
type: String,
|
|
3632
|
+
default: '请选择'
|
|
3633
|
+
}, _props.showNavBar = {
|
|
3634
|
+
type: Boolean,
|
|
3635
|
+
default: true
|
|
3636
|
+
}, _props.showTree = {
|
|
3637
|
+
type: Boolean,
|
|
3638
|
+
default: true
|
|
3639
|
+
}, _props.showMore = {
|
|
3640
|
+
type: Boolean,
|
|
3641
|
+
default: true
|
|
3642
|
+
}, _props.isTreeIcon = {
|
|
3643
|
+
type: Boolean,
|
|
3644
|
+
default: false
|
|
3645
|
+
}, _props.isBgColor = {
|
|
3646
|
+
type: Boolean,
|
|
3647
|
+
default: true
|
|
3648
|
+
}, _props.promptText = {
|
|
3649
|
+
type: String,
|
|
3650
|
+
default: '只能选择一个'
|
|
3651
|
+
}, _props.listKey = {
|
|
3652
|
+
type: String,
|
|
3653
|
+
default: ''
|
|
3654
|
+
}, _props.valueKey = {
|
|
3655
|
+
type: String,
|
|
3656
|
+
default: 'showid'
|
|
3657
|
+
}, _props.labelKey = {
|
|
3658
|
+
type: String,
|
|
3659
|
+
default: 'showshortname'
|
|
3660
|
+
}, _props.paddingTop = {
|
|
3661
|
+
type: [String, Number],
|
|
3662
|
+
default: 0
|
|
3663
|
+
}, _props.isDefaultNode = {
|
|
3664
|
+
type: Boolean,
|
|
3665
|
+
default: true
|
|
3666
|
+
}, _props.nodeList = Array, _props.baseUrl = String, _props),
|
|
3514
3667
|
data: function data() {
|
|
3515
3668
|
return {
|
|
3516
3669
|
genre: '',
|
|
@@ -4104,7 +4257,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4104
4257
|
}
|
|
4105
4258
|
}
|
|
4106
4259
|
var newData = res.obj;
|
|
4107
|
-
if (!newData.children && !isStart) {
|
|
4260
|
+
if ((!newData.children || newData.children.length == 0) && !isStart) {
|
|
4108
4261
|
if (this.nodeList && this.nodeList.length > 0) {
|
|
4109
4262
|
this.$toast.loading({
|
|
4110
4263
|
message: '加载中...',
|
|
@@ -4157,7 +4310,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4157
4310
|
this.$toast.clear();
|
|
4158
4311
|
}
|
|
4159
4312
|
} else {
|
|
4160
|
-
if (!res.obj.children) {
|
|
4313
|
+
if (!res.obj.children || res.obj.children.length == 0) {
|
|
4161
4314
|
this.getData(res.obj);
|
|
4162
4315
|
}
|
|
4163
4316
|
}
|
|
@@ -4291,8 +4444,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4291
4444
|
|
|
4292
4445
|
var selector_tree_component = normalizeComponent(
|
|
4293
4446
|
src_selector_treevue_type_script_lang_js_,
|
|
4294
|
-
|
|
4295
|
-
|
|
4447
|
+
selector_treevue_type_template_id_03f31afd_render,
|
|
4448
|
+
selector_treevue_type_template_id_03f31afd_staticRenderFns,
|
|
4296
4449
|
false,
|
|
4297
4450
|
null,
|
|
4298
4451
|
null,
|
|
@@ -4301,8 +4454,8 @@ var selector_tree_component = normalizeComponent(
|
|
|
4301
4454
|
)
|
|
4302
4455
|
|
|
4303
4456
|
/* harmony default export */ var selector_tree = (selector_tree_component.exports);
|
|
4304
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-field.vue?vue&type=template&id=
|
|
4305
|
-
var
|
|
4457
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-field.vue?vue&type=template&id=5be3c766&
|
|
4458
|
+
var selector_fieldvue_type_template_id_5be3c766_render = function () {
|
|
4306
4459
|
var _vm = this
|
|
4307
4460
|
var _h = _vm.$createElement
|
|
4308
4461
|
var _c = _vm._self._c || _h
|
|
@@ -4325,6 +4478,13 @@ var selector_fieldvue_type_template_id_eed3d698_render = function () {
|
|
|
4325
4478
|
_vm.clickTree()
|
|
4326
4479
|
},
|
|
4327
4480
|
},
|
|
4481
|
+
model: {
|
|
4482
|
+
value: _vm.inputValue,
|
|
4483
|
+
callback: function ($$v) {
|
|
4484
|
+
_vm.inputValue = $$v
|
|
4485
|
+
},
|
|
4486
|
+
expression: "inputValue",
|
|
4487
|
+
},
|
|
4328
4488
|
},
|
|
4329
4489
|
"em-input",
|
|
4330
4490
|
_vm.$attrs,
|
|
@@ -4445,10 +4605,8 @@ var selector_fieldvue_type_template_id_eed3d698_render = function () {
|
|
|
4445
4605
|
_vm._v(
|
|
4446
4606
|
"\n " +
|
|
4447
4607
|
_vm._s(
|
|
4448
|
-
_vm.disabled
|
|
4449
|
-
?
|
|
4450
|
-
? _vm.$attrs.placeholder
|
|
4451
|
-
: " 暂无数据"
|
|
4608
|
+
_vm.disabled && !_vm.$attrs.placeholder
|
|
4609
|
+
? "暂无数据"
|
|
4452
4610
|
: !_vm.$attrs.placeholder
|
|
4453
4611
|
? "请选择" + _vm.$attrs.label
|
|
4454
4612
|
: _vm.$attrs.placeholder
|
|
@@ -4465,11 +4623,11 @@ var selector_fieldvue_type_template_id_eed3d698_render = function () {
|
|
|
4465
4623
|
1
|
|
4466
4624
|
)
|
|
4467
4625
|
}
|
|
4468
|
-
var
|
|
4469
|
-
|
|
4626
|
+
var selector_fieldvue_type_template_id_5be3c766_staticRenderFns = []
|
|
4627
|
+
selector_fieldvue_type_template_id_5be3c766_render._withStripped = true
|
|
4470
4628
|
|
|
4471
4629
|
|
|
4472
|
-
// CONCATENATED MODULE: ./packages/selector/src/selector-field.vue?vue&type=template&id=
|
|
4630
|
+
// CONCATENATED MODULE: ./packages/selector/src/selector-field.vue?vue&type=template&id=5be3c766&
|
|
4473
4631
|
|
|
4474
4632
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-field.vue?vue&type=script&lang=js&
|
|
4475
4633
|
//
|
|
@@ -4542,10 +4700,6 @@ selector_fieldvue_type_template_id_eed3d698_render._withStripped = true
|
|
|
4542
4700
|
//
|
|
4543
4701
|
//
|
|
4544
4702
|
//
|
|
4545
|
-
//
|
|
4546
|
-
//
|
|
4547
|
-
//
|
|
4548
|
-
//
|
|
4549
4703
|
|
|
4550
4704
|
/* harmony default export */ var selector_fieldvue_type_script_lang_js_ = ({
|
|
4551
4705
|
name: 'selectorField',
|
|
@@ -4566,6 +4720,10 @@ selector_fieldvue_type_template_id_eed3d698_render._withStripped = true
|
|
|
4566
4720
|
type: Boolean,
|
|
4567
4721
|
default: false
|
|
4568
4722
|
},
|
|
4723
|
+
inputValue: {
|
|
4724
|
+
type: String,
|
|
4725
|
+
default: ''
|
|
4726
|
+
},
|
|
4569
4727
|
readonly: { type: Boolean, default: false },
|
|
4570
4728
|
selectDisabled: {
|
|
4571
4729
|
type: Boolean,
|
|
@@ -4656,7 +4814,6 @@ selector_fieldvue_type_template_id_eed3d698_render._withStripped = true
|
|
|
4656
4814
|
}, []);
|
|
4657
4815
|
},
|
|
4658
4816
|
handleChange: function handleChange(val, info) {
|
|
4659
|
-
console.log('点击了');
|
|
4660
4817
|
var _this = this;
|
|
4661
4818
|
if (_this.multiple) {
|
|
4662
4819
|
if (info.checked) {
|
|
@@ -4730,8 +4887,8 @@ selector_fieldvue_type_template_id_eed3d698_render._withStripped = true
|
|
|
4730
4887
|
|
|
4731
4888
|
var selector_field_component = normalizeComponent(
|
|
4732
4889
|
src_selector_fieldvue_type_script_lang_js_,
|
|
4733
|
-
|
|
4734
|
-
|
|
4890
|
+
selector_fieldvue_type_template_id_5be3c766_render,
|
|
4891
|
+
selector_fieldvue_type_template_id_5be3c766_staticRenderFns,
|
|
4735
4892
|
false,
|
|
4736
4893
|
null,
|
|
4737
4894
|
null,
|
|
@@ -4786,6 +4943,23 @@ var selector_field_component = normalizeComponent(
|
|
|
4786
4943
|
//
|
|
4787
4944
|
//
|
|
4788
4945
|
//
|
|
4946
|
+
//
|
|
4947
|
+
//
|
|
4948
|
+
//
|
|
4949
|
+
//
|
|
4950
|
+
//
|
|
4951
|
+
//
|
|
4952
|
+
//
|
|
4953
|
+
//
|
|
4954
|
+
//
|
|
4955
|
+
//
|
|
4956
|
+
//
|
|
4957
|
+
//
|
|
4958
|
+
//
|
|
4959
|
+
//
|
|
4960
|
+
//
|
|
4961
|
+
//
|
|
4962
|
+
//
|
|
4789
4963
|
|
|
4790
4964
|
|
|
4791
4965
|
|
|
@@ -4804,7 +4978,8 @@ var selector_field_component = normalizeComponent(
|
|
|
4804
4978
|
},
|
|
4805
4979
|
data: function data() {
|
|
4806
4980
|
return {
|
|
4807
|
-
showSelectorTree: false
|
|
4981
|
+
showSelectorTree: false,
|
|
4982
|
+
inputValue: ''
|
|
4808
4983
|
// newSelectList:[]
|
|
4809
4984
|
};
|
|
4810
4985
|
},
|
|
@@ -4813,6 +4988,11 @@ var selector_field_component = normalizeComponent(
|
|
|
4813
4988
|
value: {
|
|
4814
4989
|
handler: function handler(val) {
|
|
4815
4990
|
this.selectList = val;
|
|
4991
|
+
if (this.selectList.length > 0) {
|
|
4992
|
+
this.inputValue = this.selectList[0][this.$attrs.labelKey || this.$attrs['label-key'] || 'showname'];
|
|
4993
|
+
} else {
|
|
4994
|
+
this.inputValue = '';
|
|
4995
|
+
}
|
|
4816
4996
|
},
|
|
4817
4997
|
|
|
4818
4998
|
deep: true,
|
|
@@ -4848,10 +5028,16 @@ var selector_field_component = normalizeComponent(
|
|
|
4848
5028
|
* @param {Object} val 选中的人员/单位
|
|
4849
5029
|
*/
|
|
4850
5030
|
handleDispose: function handleDispose(val) {
|
|
5031
|
+
this.inputValue = '';
|
|
4851
5032
|
if (val) {
|
|
4852
5033
|
var list = val.list;
|
|
4853
5034
|
|
|
4854
5035
|
this.selectList = list;
|
|
5036
|
+
if (val.list.length > 0) {
|
|
5037
|
+
this.inputValue = list[0][this.$attrs.labelKey || this.$attrs['label-key'] || 'showname'];
|
|
5038
|
+
} else {
|
|
5039
|
+
this.inputValue = '';
|
|
5040
|
+
}
|
|
4855
5041
|
}
|
|
4856
5042
|
this.showSelectorTree = false;
|
|
4857
5043
|
},
|
|
@@ -4864,6 +5050,16 @@ var selector_field_component = normalizeComponent(
|
|
|
4864
5050
|
* @param {Array} val 变化后的选中数据
|
|
4865
5051
|
*/
|
|
4866
5052
|
handleChangeSel: function handleChangeSel(val) {
|
|
5053
|
+
if (val) {
|
|
5054
|
+
var list = val.list;
|
|
5055
|
+
|
|
5056
|
+
this.selectList = list;
|
|
5057
|
+
if (val.list.length > 0) {
|
|
5058
|
+
this.inputValue = list[0][this.$attrs.labelKey || this.$attrs['label-key'] || 'showname'];
|
|
5059
|
+
} else {
|
|
5060
|
+
this.inputValue = '';
|
|
5061
|
+
}
|
|
5062
|
+
}
|
|
4867
5063
|
this.$emit('input', val.list);
|
|
4868
5064
|
}
|
|
4869
5065
|
}
|
|
@@ -4880,8 +5076,8 @@ var selector_field_component = normalizeComponent(
|
|
|
4880
5076
|
|
|
4881
5077
|
var selector_src_main_component = normalizeComponent(
|
|
4882
5078
|
packages_selector_src_mainvue_type_script_lang_js_,
|
|
4883
|
-
|
|
4884
|
-
|
|
5079
|
+
mainvue_type_template_id_97f29d94_render,
|
|
5080
|
+
mainvue_type_template_id_97f29d94_staticRenderFns,
|
|
4885
5081
|
false,
|
|
4886
5082
|
null,
|
|
4887
5083
|
null,
|
|
@@ -4898,8 +5094,8 @@ selector_src_main.install = function (Vue) {
|
|
|
4898
5094
|
};
|
|
4899
5095
|
|
|
4900
5096
|
/* harmony default export */ var selector = (selector_src_main);
|
|
4901
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/field/src/main.vue?vue&type=template&id=
|
|
4902
|
-
var
|
|
5097
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/field/src/main.vue?vue&type=template&id=348368fb&
|
|
5098
|
+
var mainvue_type_template_id_348368fb_render = function () {
|
|
4903
5099
|
var _vm = this
|
|
4904
5100
|
var _h = _vm.$createElement
|
|
4905
5101
|
var _c = _vm._self._c || _h
|
|
@@ -4928,14 +5124,15 @@ var mainvue_type_template_id_8bc8bc9e_render = function () {
|
|
|
4928
5124
|
"is-left-icon": _vm.leftIcon,
|
|
4929
5125
|
},
|
|
4930
5126
|
attrs: {
|
|
4931
|
-
disabled: _vm.$attrs.disabled || _vm.$attrs.readonly,
|
|
5127
|
+
disabled: _vm.$attrs.disabled || !!_vm.$attrs.readonly,
|
|
4932
5128
|
border: _vm.border,
|
|
4933
5129
|
autocomplete: "new-password",
|
|
4934
5130
|
"label-width": _vm.labelWidth,
|
|
4935
5131
|
placeholder:
|
|
4936
|
-
_vm.$attrs.disabled || _vm.$attrs.readonly
|
|
5132
|
+
(_vm.$attrs.disabled || _vm.$attrs.readonly) &&
|
|
5133
|
+
_vm.newPlaceholder == undefined
|
|
4937
5134
|
? "暂无数据"
|
|
4938
|
-
: _vm.newPlaceholder
|
|
5135
|
+
: _vm.newPlaceholder != undefined
|
|
4939
5136
|
? _vm.newPlaceholder
|
|
4940
5137
|
: "请输入" + (_vm.$attrs.label || ""),
|
|
4941
5138
|
"error-message": _vm.newErrorMessage,
|
|
@@ -4963,6 +5160,9 @@ var mainvue_type_template_id_8bc8bc9e_render = function () {
|
|
|
4963
5160
|
blur: function ($event) {
|
|
4964
5161
|
_vm.handleBlur(_vm.rules)
|
|
4965
5162
|
},
|
|
5163
|
+
change: function ($event) {
|
|
5164
|
+
_vm.handleBlur(_vm.rules)
|
|
5165
|
+
},
|
|
4966
5166
|
"click-right-icon": _vm.handleRightIcon,
|
|
4967
5167
|
},
|
|
4968
5168
|
model: {
|
|
@@ -5020,11 +5220,11 @@ var mainvue_type_template_id_8bc8bc9e_render = function () {
|
|
|
5020
5220
|
1
|
|
5021
5221
|
)
|
|
5022
5222
|
}
|
|
5023
|
-
var
|
|
5024
|
-
|
|
5223
|
+
var mainvue_type_template_id_348368fb_staticRenderFns = []
|
|
5224
|
+
mainvue_type_template_id_348368fb_render._withStripped = true
|
|
5025
5225
|
|
|
5026
5226
|
|
|
5027
|
-
// CONCATENATED MODULE: ./packages/field/src/main.vue?vue&type=template&id=
|
|
5227
|
+
// CONCATENATED MODULE: ./packages/field/src/main.vue?vue&type=template&id=348368fb&
|
|
5028
5228
|
|
|
5029
5229
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/field/src/main.vue?vue&type=script&lang=js&
|
|
5030
5230
|
//
|
|
@@ -5094,6 +5294,7 @@ mainvue_type_template_id_8bc8bc9e_render._withStripped = true
|
|
|
5094
5294
|
//
|
|
5095
5295
|
//
|
|
5096
5296
|
//
|
|
5297
|
+
//
|
|
5097
5298
|
|
|
5098
5299
|
/* harmony default export */ var field_src_mainvue_type_script_lang_js_ = ({
|
|
5099
5300
|
name: 'EmInput',
|
|
@@ -5269,8 +5470,8 @@ mainvue_type_template_id_8bc8bc9e_render._withStripped = true
|
|
|
5269
5470
|
|
|
5270
5471
|
var field_src_main_component = normalizeComponent(
|
|
5271
5472
|
packages_field_src_mainvue_type_script_lang_js_,
|
|
5272
|
-
|
|
5273
|
-
|
|
5473
|
+
mainvue_type_template_id_348368fb_render,
|
|
5474
|
+
mainvue_type_template_id_348368fb_staticRenderFns,
|
|
5274
5475
|
false,
|
|
5275
5476
|
null,
|
|
5276
5477
|
null,
|
|
@@ -5572,8 +5773,8 @@ radio_src_main.install = function (Vue) {
|
|
|
5572
5773
|
};
|
|
5573
5774
|
|
|
5574
5775
|
/* harmony default export */ var packages_radio = (radio_src_main);
|
|
5575
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/picker/src/main.vue?vue&type=template&id=
|
|
5576
|
-
var
|
|
5776
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/picker/src/main.vue?vue&type=template&id=76b1e106&
|
|
5777
|
+
var mainvue_type_template_id_76b1e106_render = function () {
|
|
5577
5778
|
var _vm = this
|
|
5578
5779
|
var _h = _vm.$createElement
|
|
5579
5780
|
var _c = _vm._self._c || _h
|
|
@@ -5596,9 +5797,10 @@ var mainvue_type_template_id_8ae7f90c_render = function () {
|
|
|
5596
5797
|
hideLabel: _vm.hideLabel,
|
|
5597
5798
|
placeholder: _vm.pickerValue
|
|
5598
5799
|
? _vm.pickerValue
|
|
5599
|
-
: _vm.disabled || _vm.readonly
|
|
5800
|
+
: (_vm.disabled || _vm.readonly) &&
|
|
5801
|
+
_vm.placeholder == undefined
|
|
5600
5802
|
? "暂无数据"
|
|
5601
|
-
: _vm.placeholder
|
|
5803
|
+
: _vm.placeholder != undefined
|
|
5602
5804
|
? _vm.placeholder
|
|
5603
5805
|
: "请选择" + _vm.label,
|
|
5604
5806
|
disabled: _vm.disabled || _vm.readonly,
|
|
@@ -5669,9 +5871,10 @@ var mainvue_type_template_id_8ae7f90c_render = function () {
|
|
|
5669
5871
|
_vm._v(
|
|
5670
5872
|
"\n " +
|
|
5671
5873
|
_vm._s(
|
|
5672
|
-
_vm.disabled || _vm.readonly
|
|
5874
|
+
(_vm.disabled || _vm.readonly) &&
|
|
5875
|
+
_vm.placeholder == undefined
|
|
5673
5876
|
? " 暂无数据"
|
|
5674
|
-
:
|
|
5877
|
+
: _vm.placeholder == undefined
|
|
5675
5878
|
? "请选择" + _vm.label
|
|
5676
5879
|
: _vm.placeholder
|
|
5677
5880
|
) +
|
|
@@ -5728,6 +5931,26 @@ var mainvue_type_template_id_8ae7f90c_render = function () {
|
|
|
5728
5931
|
_vm.$listeners
|
|
5729
5932
|
),
|
|
5730
5933
|
[
|
|
5934
|
+
_vm.isSearch
|
|
5935
|
+
? _c(
|
|
5936
|
+
"template",
|
|
5937
|
+
{ slot: "columns-top" },
|
|
5938
|
+
[
|
|
5939
|
+
_c("em-search", {
|
|
5940
|
+
attrs: { placeholder: "请输入搜索关键词" },
|
|
5941
|
+
on: { search: _vm.handleSearch },
|
|
5942
|
+
model: {
|
|
5943
|
+
value: _vm.keyWord,
|
|
5944
|
+
callback: function ($$v) {
|
|
5945
|
+
_vm.keyWord = $$v
|
|
5946
|
+
},
|
|
5947
|
+
expression: "keyWord",
|
|
5948
|
+
},
|
|
5949
|
+
}),
|
|
5950
|
+
],
|
|
5951
|
+
1
|
|
5952
|
+
)
|
|
5953
|
+
: _vm._e(),
|
|
5731
5954
|
_vm._l(_vm.$slots, function (index, name) {
|
|
5732
5955
|
return _c("template", { slot: name }, [_vm._t(name)], 2)
|
|
5733
5956
|
}),
|
|
@@ -5761,7 +5984,27 @@ var mainvue_type_template_id_8ae7f90c_render = function () {
|
|
|
5761
5984
|
_vm.$listeners
|
|
5762
5985
|
),
|
|
5763
5986
|
[
|
|
5764
|
-
|
|
5987
|
+
_vm.isSearch
|
|
5988
|
+
? _c(
|
|
5989
|
+
"template",
|
|
5990
|
+
{ slot: "columns-top" },
|
|
5991
|
+
[
|
|
5992
|
+
_c("em-search", {
|
|
5993
|
+
attrs: { placeholder: "请输入搜索关键词" },
|
|
5994
|
+
on: { search: _vm.handleSearch },
|
|
5995
|
+
model: {
|
|
5996
|
+
value: _vm.keyWord,
|
|
5997
|
+
callback: function ($$v) {
|
|
5998
|
+
_vm.keyWord = $$v
|
|
5999
|
+
},
|
|
6000
|
+
expression: "keyWord",
|
|
6001
|
+
},
|
|
6002
|
+
}),
|
|
6003
|
+
],
|
|
6004
|
+
1
|
|
6005
|
+
)
|
|
6006
|
+
: _vm._e(),
|
|
6007
|
+
_c("template", { slot: "columns-bottom" }, [
|
|
5765
6008
|
_c(
|
|
5766
6009
|
"div",
|
|
5767
6010
|
{ staticClass: "em-picker__columns" },
|
|
@@ -5843,11 +6086,11 @@ var mainvue_type_template_id_8ae7f90c_render = function () {
|
|
|
5843
6086
|
1
|
|
5844
6087
|
)
|
|
5845
6088
|
}
|
|
5846
|
-
var
|
|
5847
|
-
|
|
6089
|
+
var mainvue_type_template_id_76b1e106_staticRenderFns = []
|
|
6090
|
+
mainvue_type_template_id_76b1e106_render._withStripped = true
|
|
5848
6091
|
|
|
5849
6092
|
|
|
5850
|
-
// CONCATENATED MODULE: ./packages/picker/src/main.vue?vue&type=template&id=
|
|
6093
|
+
// CONCATENATED MODULE: ./packages/picker/src/main.vue?vue&type=template&id=76b1e106&
|
|
5851
6094
|
|
|
5852
6095
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/picker/src/main.vue?vue&type=script&lang=js&
|
|
5853
6096
|
var src_mainvue_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; };
|
|
@@ -5979,6 +6222,20 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
5979
6222
|
//
|
|
5980
6223
|
//
|
|
5981
6224
|
//
|
|
6225
|
+
//
|
|
6226
|
+
//
|
|
6227
|
+
//
|
|
6228
|
+
//
|
|
6229
|
+
//
|
|
6230
|
+
//
|
|
6231
|
+
//
|
|
6232
|
+
//
|
|
6233
|
+
//
|
|
6234
|
+
//
|
|
6235
|
+
//
|
|
6236
|
+
//
|
|
6237
|
+
//
|
|
6238
|
+
//
|
|
5982
6239
|
|
|
5983
6240
|
|
|
5984
6241
|
|
|
@@ -5989,6 +6246,7 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
5989
6246
|
return {
|
|
5990
6247
|
showPicker: false,
|
|
5991
6248
|
newLoading: false,
|
|
6249
|
+
keyWord: '',
|
|
5992
6250
|
newLabelKey: '',
|
|
5993
6251
|
newValueKey: '',
|
|
5994
6252
|
listLoading: false,
|
|
@@ -6007,6 +6265,10 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
6007
6265
|
type: [String, Array, Object],
|
|
6008
6266
|
default: ''
|
|
6009
6267
|
},
|
|
6268
|
+
isSearch: {
|
|
6269
|
+
type: Boolean,
|
|
6270
|
+
default: false
|
|
6271
|
+
},
|
|
6010
6272
|
hideLabel: {
|
|
6011
6273
|
type: Boolean,
|
|
6012
6274
|
default: false
|
|
@@ -6054,6 +6316,10 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
6054
6316
|
type: String,
|
|
6055
6317
|
default: 'value'
|
|
6056
6318
|
},
|
|
6319
|
+
searchKey: {
|
|
6320
|
+
type: String,
|
|
6321
|
+
default: 'keyWord'
|
|
6322
|
+
},
|
|
6057
6323
|
labelKey: {
|
|
6058
6324
|
type: String,
|
|
6059
6325
|
default: 'name'
|
|
@@ -6128,6 +6394,10 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
6128
6394
|
}
|
|
6129
6395
|
},
|
|
6130
6396
|
watch: {
|
|
6397
|
+
events: {
|
|
6398
|
+
type: Object,
|
|
6399
|
+
default: function _default() {}
|
|
6400
|
+
},
|
|
6131
6401
|
labelKey: {
|
|
6132
6402
|
handler: function handler(val) {
|
|
6133
6403
|
this.newLabelKey = val;
|
|
@@ -6192,6 +6462,22 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
6192
6462
|
},
|
|
6193
6463
|
|
|
6194
6464
|
methods: {
|
|
6465
|
+
handleSearch: function handleSearch() {
|
|
6466
|
+
var _this3 = this;
|
|
6467
|
+
|
|
6468
|
+
this.$emit('search', this.keyWord);
|
|
6469
|
+
|
|
6470
|
+
if (this.columns.length > 0) {
|
|
6471
|
+
this.newColumns = this.columns.filter(function (x) {
|
|
6472
|
+
return x[_this3.labelKey].indexOf(_this3.keyWord) != -1;
|
|
6473
|
+
});
|
|
6474
|
+
if (!this.keyWord) {
|
|
6475
|
+
this.newColumns = this.columns;
|
|
6476
|
+
}
|
|
6477
|
+
}
|
|
6478
|
+
|
|
6479
|
+
if (this.columns && this.columns.length == 0 || !this.columns) this.getSysCode();
|
|
6480
|
+
},
|
|
6195
6481
|
handleClick: function handleClick(val) {
|
|
6196
6482
|
if (this.linkTag) {
|
|
6197
6483
|
this.$emit('tagClick', val);
|
|
@@ -6222,19 +6508,20 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
6222
6508
|
return x != res.value;
|
|
6223
6509
|
});
|
|
6224
6510
|
this.$emit('input', this.pickerValue);
|
|
6511
|
+
|
|
6225
6512
|
this.$emit('tagDelete', this.pickerValue);
|
|
6226
6513
|
},
|
|
6227
6514
|
toggle: function toggle(index) {
|
|
6228
6515
|
this.$refs.checkboxes[index].toggle();
|
|
6229
6516
|
},
|
|
6230
6517
|
onConfirm: function onConfirm(value, isConfirm) {
|
|
6231
|
-
var
|
|
6518
|
+
var _this4 = this;
|
|
6232
6519
|
|
|
6233
6520
|
if (isConfirm) {
|
|
6234
6521
|
if (this.isCheck) {
|
|
6235
6522
|
var data = [];
|
|
6236
6523
|
this.newColumns.filter(function (x) {
|
|
6237
|
-
|
|
6524
|
+
_this4.checkList.find(function (y) {
|
|
6238
6525
|
if (x.value === y) {
|
|
6239
6526
|
data.push(x);
|
|
6240
6527
|
}
|
|
@@ -6248,7 +6535,7 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
6248
6535
|
if (this.isCheck) {
|
|
6249
6536
|
this.checkList = [];
|
|
6250
6537
|
this.pickerValue.map(function (x) {
|
|
6251
|
-
|
|
6538
|
+
_this4.checkList.push(x.value);
|
|
6252
6539
|
});
|
|
6253
6540
|
}
|
|
6254
6541
|
}
|
|
@@ -6256,15 +6543,15 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
6256
6543
|
this.showPicker = false;
|
|
6257
6544
|
},
|
|
6258
6545
|
getValue: function getValue() {
|
|
6259
|
-
var
|
|
6546
|
+
var _this5 = this;
|
|
6260
6547
|
|
|
6261
6548
|
var value = '';
|
|
6262
6549
|
if (this.isCheck) {
|
|
6263
6550
|
var val = [];
|
|
6264
6551
|
if (this.newColumns && this.newColumns.length > 0) {
|
|
6265
6552
|
this.newColumns.filter(function (x) {
|
|
6266
|
-
|
|
6267
|
-
if (x[
|
|
6553
|
+
_this5.value.find(function (y) {
|
|
6554
|
+
if (x[_this5.valueKey] == y || x[_this5.valueKey] == y.value) {
|
|
6268
6555
|
val.push(x);
|
|
6269
6556
|
}
|
|
6270
6557
|
});
|
|
@@ -6282,7 +6569,7 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
6282
6569
|
this.newColumns.map(function (x, i) {
|
|
6283
6570
|
if (typeof x === 'string' && value.indexOf(x) != -1) {
|
|
6284
6571
|
index = i;
|
|
6285
|
-
} else if (x[
|
|
6572
|
+
} else if (x[_this5.newValueKey] == value || x[_this5.newValueKey].indexOf(value) != -1) {
|
|
6286
6573
|
index = i;
|
|
6287
6574
|
}
|
|
6288
6575
|
});
|
|
@@ -6290,8 +6577,8 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
6290
6577
|
} else {
|
|
6291
6578
|
var list = [];
|
|
6292
6579
|
this.value.map(function (item) {
|
|
6293
|
-
if (item[
|
|
6294
|
-
list.push(item[
|
|
6580
|
+
if (item[_this5.labelKey] || item[_this5.newValueKey]) {
|
|
6581
|
+
list.push(item[_this5.labelKey] || item[_this5.newValueKey]);
|
|
6295
6582
|
} else if (typeof item === 'string') {
|
|
6296
6583
|
list.push(item);
|
|
6297
6584
|
}
|
|
@@ -6301,7 +6588,7 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
6301
6588
|
this.newColumns.map(function (x, i) {
|
|
6302
6589
|
if (typeof x === 'string' && value.indexOf(x) != -1) {
|
|
6303
6590
|
_index = i;
|
|
6304
|
-
} else if (x[
|
|
6591
|
+
} else if (x[_this5.newValueKey] === value) {
|
|
6305
6592
|
_index = i;
|
|
6306
6593
|
}
|
|
6307
6594
|
});
|
|
@@ -6314,9 +6601,9 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
6314
6601
|
if (typeof x === 'string' && value.indexOf(x) != -1) {
|
|
6315
6602
|
_index2 = i;
|
|
6316
6603
|
value = x;
|
|
6317
|
-
} else if (x[
|
|
6604
|
+
} else if (x[_this5.newValueKey] === value) {
|
|
6318
6605
|
_index2 = i;
|
|
6319
|
-
value = x[
|
|
6606
|
+
value = x[_this5.labelKey] || x[_this5.newValueKey];
|
|
6320
6607
|
}
|
|
6321
6608
|
});
|
|
6322
6609
|
this.newDefaultIndex = _index2;
|
|
@@ -6326,12 +6613,13 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
6326
6613
|
return value;
|
|
6327
6614
|
},
|
|
6328
6615
|
getSysCode: function getSysCode() {
|
|
6329
|
-
var
|
|
6616
|
+
var _this6 = this;
|
|
6330
6617
|
|
|
6331
6618
|
var url = this.url,
|
|
6332
6619
|
method = this.method,
|
|
6333
6620
|
sysAppCode = this.sysAppCode,
|
|
6334
|
-
param = this.param
|
|
6621
|
+
param = this.param,
|
|
6622
|
+
keyWord = this.keyWord;
|
|
6335
6623
|
|
|
6336
6624
|
var params = {
|
|
6337
6625
|
url: this.baseUrl ? this.baseUrl + (url || findSysCode) : url || findSysCode,
|
|
@@ -6341,6 +6629,9 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
6341
6629
|
pageIndex: this.pageIndex
|
|
6342
6630
|
}, param)
|
|
6343
6631
|
};
|
|
6632
|
+
if (this.isSearch) {
|
|
6633
|
+
params.params[this.searchKey] = keyWord;
|
|
6634
|
+
}
|
|
6344
6635
|
this.newLoading = true;
|
|
6345
6636
|
utils_http(params).then(function (res) {
|
|
6346
6637
|
var status = res.status,
|
|
@@ -6349,45 +6640,45 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
6349
6640
|
rCode = res.rCode,
|
|
6350
6641
|
results = res.results;
|
|
6351
6642
|
|
|
6352
|
-
|
|
6643
|
+
_this6.listLoading = false;
|
|
6353
6644
|
if (status == 'success' || rCode === 0 || status === true) {
|
|
6354
|
-
var info =
|
|
6645
|
+
var info = _this6.resultsName ? data ? data[_this6.resultsName] : results[_this6.resultsName] : data ? data : results;
|
|
6355
6646
|
info.map(function (x) {
|
|
6356
|
-
if (
|
|
6357
|
-
x.name = x[sysAppCode ? 'shortName' :
|
|
6647
|
+
if (_this6.isCheck) {
|
|
6648
|
+
x.name = x[sysAppCode ? 'shortName' : _this6.labelKey] && x[sysAppCode ? 'shortName' : _this6.labelKey].replace(/<[^>]+>/g, '');
|
|
6358
6649
|
} else {
|
|
6359
|
-
x.name = x[sysAppCode ? 'shortName' :
|
|
6650
|
+
x.name = x[sysAppCode ? 'shortName' : _this6.labelKey];
|
|
6360
6651
|
}
|
|
6361
|
-
x.value = x[sysAppCode ? 'cciValue' :
|
|
6652
|
+
x.value = x[sysAppCode ? 'cciValue' : _this6.valueKey];
|
|
6362
6653
|
});
|
|
6363
6654
|
if (data && data.totalCount) {
|
|
6364
|
-
|
|
6365
|
-
if (data.totalCount ===
|
|
6366
|
-
|
|
6655
|
+
_this6.total = data.totalCount;
|
|
6656
|
+
if (data.totalCount === _this6.newColumns.length) {
|
|
6657
|
+
_this6.listFinished = true;
|
|
6367
6658
|
} else {
|
|
6368
|
-
if (
|
|
6369
|
-
|
|
6659
|
+
if (_this6.newColumns.length != 0) {
|
|
6660
|
+
_this6.newColumns.push.apply(_this6.newColumns, info);
|
|
6370
6661
|
} else {
|
|
6371
|
-
|
|
6662
|
+
_this6.newColumns = info;
|
|
6372
6663
|
}
|
|
6373
|
-
|
|
6664
|
+
_this6.pageIndex = res.data.nextPageNo;
|
|
6374
6665
|
}
|
|
6375
6666
|
} else {
|
|
6376
|
-
|
|
6377
|
-
|
|
6667
|
+
_this6.listFinished = true;
|
|
6668
|
+
_this6.newColumns = info;
|
|
6378
6669
|
}
|
|
6379
|
-
if (
|
|
6380
|
-
|
|
6381
|
-
|
|
6670
|
+
if (_this6.beforResponse) {
|
|
6671
|
+
_this6.newColumns = _this6.beforResponse(_this6.newColumns);
|
|
6672
|
+
_this6.getValue();
|
|
6382
6673
|
} else {
|
|
6383
|
-
|
|
6674
|
+
_this6.getValue();
|
|
6384
6675
|
}
|
|
6385
6676
|
} else {
|
|
6386
|
-
|
|
6677
|
+
_this6.$toast(message);
|
|
6387
6678
|
}
|
|
6388
|
-
|
|
6679
|
+
_this6.newLoading = false;
|
|
6389
6680
|
}).catch(function (err) {
|
|
6390
|
-
|
|
6681
|
+
_this6.$toast(err.message);
|
|
6391
6682
|
});
|
|
6392
6683
|
},
|
|
6393
6684
|
handlePicker: function handlePicker() {
|
|
@@ -6409,8 +6700,8 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
6409
6700
|
|
|
6410
6701
|
var picker_src_main_component = normalizeComponent(
|
|
6411
6702
|
packages_picker_src_mainvue_type_script_lang_js_,
|
|
6412
|
-
|
|
6413
|
-
|
|
6703
|
+
mainvue_type_template_id_76b1e106_render,
|
|
6704
|
+
mainvue_type_template_id_76b1e106_staticRenderFns,
|
|
6414
6705
|
false,
|
|
6415
6706
|
null,
|
|
6416
6707
|
null,
|
|
@@ -8030,8 +8321,8 @@ empty_src_main.install = function (Vue) {
|
|
|
8030
8321
|
};
|
|
8031
8322
|
|
|
8032
8323
|
/* harmony default export */ var empty = (empty_src_main);
|
|
8033
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date/src/main.vue?vue&type=template&id=
|
|
8034
|
-
var
|
|
8324
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date/src/main.vue?vue&type=template&id=1d741cd4&
|
|
8325
|
+
var mainvue_type_template_id_1d741cd4_render = function () {
|
|
8035
8326
|
var _vm = this
|
|
8036
8327
|
var _h = _vm.$createElement
|
|
8037
8328
|
var _c = _vm._self._c || _h
|
|
@@ -8055,9 +8346,11 @@ var mainvue_type_template_id_57ffad94_render = function () {
|
|
|
8055
8346
|
required: _vm.required,
|
|
8056
8347
|
hideLabel: _vm.hideLabel,
|
|
8057
8348
|
placeholder:
|
|
8058
|
-
_vm.disabled || _vm.readonly
|
|
8349
|
+
(_vm.disabled || _vm.readonly) && _vm.placeholder == undefined
|
|
8059
8350
|
? "暂无数据"
|
|
8060
|
-
: _vm.
|
|
8351
|
+
: _vm.placeholde != undefined
|
|
8352
|
+
? _vm.placeholde
|
|
8353
|
+
: "请选择" + _vm.label,
|
|
8061
8354
|
},
|
|
8062
8355
|
on: { click: _vm.handlePicker },
|
|
8063
8356
|
},
|
|
@@ -8080,9 +8373,12 @@ var mainvue_type_template_id_57ffad94_render = function () {
|
|
|
8080
8373
|
: _c("span", { staticStyle: { color: "#c8c9cc" } }, [
|
|
8081
8374
|
_vm._v(
|
|
8082
8375
|
_vm._s(
|
|
8083
|
-
_vm.disabled || _vm.readonly
|
|
8376
|
+
(_vm.disabled || _vm.readonly) &&
|
|
8377
|
+
_vm.placeholder == undefined
|
|
8084
8378
|
? "暂无数据"
|
|
8085
|
-
: _vm.
|
|
8379
|
+
: _vm.placeholde != undefined
|
|
8380
|
+
? _vm.placeholde
|
|
8381
|
+
: "请选择" + _vm.label
|
|
8086
8382
|
)
|
|
8087
8383
|
),
|
|
8088
8384
|
]),
|
|
@@ -8180,11 +8476,11 @@ var mainvue_type_template_id_57ffad94_render = function () {
|
|
|
8180
8476
|
1
|
|
8181
8477
|
)
|
|
8182
8478
|
}
|
|
8183
|
-
var
|
|
8184
|
-
|
|
8479
|
+
var mainvue_type_template_id_1d741cd4_staticRenderFns = []
|
|
8480
|
+
mainvue_type_template_id_1d741cd4_render._withStripped = true
|
|
8185
8481
|
|
|
8186
8482
|
|
|
8187
|
-
// CONCATENATED MODULE: ./packages/date/src/main.vue?vue&type=template&id=
|
|
8483
|
+
// CONCATENATED MODULE: ./packages/date/src/main.vue?vue&type=template&id=1d741cd4&
|
|
8188
8484
|
|
|
8189
8485
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date/src/date-time.vue?vue&type=template&id=df431e74&
|
|
8190
8486
|
var date_timevue_type_template_id_df431e74_render = function () {
|
|
@@ -9003,8 +9299,8 @@ var date_picker_component = normalizeComponent(
|
|
|
9003
9299
|
|
|
9004
9300
|
var date_src_main_component = normalizeComponent(
|
|
9005
9301
|
packages_date_src_mainvue_type_script_lang_js_,
|
|
9006
|
-
|
|
9007
|
-
|
|
9302
|
+
mainvue_type_template_id_1d741cd4_render,
|
|
9303
|
+
mainvue_type_template_id_1d741cd4_staticRenderFns,
|
|
9008
9304
|
false,
|
|
9009
9305
|
null,
|
|
9010
9306
|
null,
|
|
@@ -12491,8 +12787,8 @@ StartFlowvue_type_template_id_4ae3d1f3_render._withStripped = true
|
|
|
12491
12787
|
|
|
12492
12788
|
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=4ae3d1f3&
|
|
12493
12789
|
|
|
12494
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Opinion.vue?vue&type=template&id=
|
|
12495
|
-
var
|
|
12790
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Opinion.vue?vue&type=template&id=2dab6204&
|
|
12791
|
+
var Opinionvue_type_template_id_2dab6204_render = function () {
|
|
12496
12792
|
var _vm = this
|
|
12497
12793
|
var _h = _vm.$createElement
|
|
12498
12794
|
var _c = _vm._self._c || _h
|
|
@@ -12701,11 +12997,11 @@ var Opinionvue_type_template_id_8e5f6bf2_render = function () {
|
|
|
12701
12997
|
1
|
|
12702
12998
|
)
|
|
12703
12999
|
}
|
|
12704
|
-
var
|
|
12705
|
-
|
|
13000
|
+
var Opinionvue_type_template_id_2dab6204_staticRenderFns = []
|
|
13001
|
+
Opinionvue_type_template_id_2dab6204_render._withStripped = true
|
|
12706
13002
|
|
|
12707
13003
|
|
|
12708
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Opinion.vue?vue&type=template&id=
|
|
13004
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Opinion.vue?vue&type=template&id=2dab6204&
|
|
12709
13005
|
|
|
12710
13006
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Opinion.vue?vue&type=script&lang=js&
|
|
12711
13007
|
//
|
|
@@ -12851,7 +13147,7 @@ Opinionvue_type_template_id_8e5f6bf2_render._withStripped = true
|
|
|
12851
13147
|
},
|
|
12852
13148
|
esignLineWidth: {
|
|
12853
13149
|
type: [String, Number],
|
|
12854
|
-
default:
|
|
13150
|
+
default: 5
|
|
12855
13151
|
},
|
|
12856
13152
|
userId: {
|
|
12857
13153
|
type: String,
|
|
@@ -12915,7 +13211,6 @@ Opinionvue_type_template_id_8e5f6bf2_render._withStripped = true
|
|
|
12915
13211
|
} else {
|
|
12916
13212
|
this.getOpinionList();
|
|
12917
13213
|
}
|
|
12918
|
-
console.log(this.placeholder, 'sad');
|
|
12919
13214
|
},
|
|
12920
13215
|
|
|
12921
13216
|
methods: {
|
|
@@ -12995,8 +13290,8 @@ Opinionvue_type_template_id_8e5f6bf2_render._withStripped = true
|
|
|
12995
13290
|
|
|
12996
13291
|
var Opinion_component = normalizeComponent(
|
|
12997
13292
|
components_Opinionvue_type_script_lang_js_,
|
|
12998
|
-
|
|
12999
|
-
|
|
13293
|
+
Opinionvue_type_template_id_2dab6204_render,
|
|
13294
|
+
Opinionvue_type_template_id_2dab6204_staticRenderFns,
|
|
13000
13295
|
false,
|
|
13001
13296
|
null,
|
|
13002
13297
|
null,
|
|
@@ -15273,7 +15568,6 @@ var Reject_component = normalizeComponent(
|
|
|
15273
15568
|
},
|
|
15274
15569
|
getProcessObj: function getProcessObj() {
|
|
15275
15570
|
var that = this;
|
|
15276
|
-
console.log('获取流程');
|
|
15277
15571
|
return new Promise(function (resolve, reiect) {
|
|
15278
15572
|
utils_http({
|
|
15279
15573
|
url: that.baseUrl ? that.baseUrl + api_getHandleInfoHtml : api_getHandleInfoHtml,
|
|
@@ -18959,8 +19253,8 @@ flow_list_src_main.install = function (Vue) {
|
|
|
18959
19253
|
};
|
|
18960
19254
|
|
|
18961
19255
|
/* harmony default export */ var flow_list = (flow_list_src_main);
|
|
18962
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-btn/src/main.vue?vue&type=template&id=
|
|
18963
|
-
var
|
|
19256
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-btn/src/main.vue?vue&type=template&id=3bbb5ae4&
|
|
19257
|
+
var mainvue_type_template_id_3bbb5ae4_render = function () {
|
|
18964
19258
|
var _vm = this
|
|
18965
19259
|
var _h = _vm.$createElement
|
|
18966
19260
|
var _c = _vm._self._c || _h
|
|
@@ -19104,11 +19398,11 @@ var mainvue_type_template_id_67986864_render = function () {
|
|
|
19104
19398
|
])
|
|
19105
19399
|
: _vm._e()
|
|
19106
19400
|
}
|
|
19107
|
-
var
|
|
19108
|
-
|
|
19401
|
+
var mainvue_type_template_id_3bbb5ae4_staticRenderFns = []
|
|
19402
|
+
mainvue_type_template_id_3bbb5ae4_render._withStripped = true
|
|
19109
19403
|
|
|
19110
19404
|
|
|
19111
|
-
// CONCATENATED MODULE: ./packages/flow-btn/src/main.vue?vue&type=template&id=
|
|
19405
|
+
// CONCATENATED MODULE: ./packages/flow-btn/src/main.vue?vue&type=template&id=3bbb5ae4&
|
|
19112
19406
|
|
|
19113
19407
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-btn/src/main.vue?vue&type=script&lang=js&
|
|
19114
19408
|
//
|
|
@@ -19393,9 +19687,7 @@ mainvue_type_template_id_67986864_render._withStripped = true
|
|
|
19393
19687
|
// });
|
|
19394
19688
|
}).catch(function (err) {
|
|
19395
19689
|
console.log('失败');
|
|
19396
|
-
}).finally(function () {
|
|
19397
|
-
console.log(333);
|
|
19398
|
-
});
|
|
19690
|
+
}).finally(function () {});
|
|
19399
19691
|
} else {
|
|
19400
19692
|
this.$emit('click', {
|
|
19401
19693
|
name: 'newProcessAudit',
|
|
@@ -19590,8 +19882,8 @@ mainvue_type_template_id_67986864_render._withStripped = true
|
|
|
19590
19882
|
|
|
19591
19883
|
var flow_btn_src_main_component = normalizeComponent(
|
|
19592
19884
|
packages_flow_btn_src_mainvue_type_script_lang_js_,
|
|
19593
|
-
|
|
19594
|
-
|
|
19885
|
+
mainvue_type_template_id_3bbb5ae4_render,
|
|
19886
|
+
mainvue_type_template_id_3bbb5ae4_staticRenderFns,
|
|
19595
19887
|
false,
|
|
19596
19888
|
null,
|
|
19597
19889
|
null,
|
|
@@ -20247,8 +20539,8 @@ count_down_src_main.install = function (Vue) {
|
|
|
20247
20539
|
};
|
|
20248
20540
|
|
|
20249
20541
|
/* harmony default export */ var count_down = (count_down_src_main);
|
|
20250
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=
|
|
20251
|
-
var
|
|
20542
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=61293430&
|
|
20543
|
+
var mainvue_type_template_id_61293430_render = function () {
|
|
20252
20544
|
var _vm = this
|
|
20253
20545
|
var _h = _vm.$createElement
|
|
20254
20546
|
var _c = _vm._self._c || _h
|
|
@@ -20695,11 +20987,11 @@ var mainvue_type_template_id_c470ab60_render = function () {
|
|
|
20695
20987
|
]
|
|
20696
20988
|
)
|
|
20697
20989
|
}
|
|
20698
|
-
var
|
|
20699
|
-
|
|
20990
|
+
var mainvue_type_template_id_61293430_staticRenderFns = []
|
|
20991
|
+
mainvue_type_template_id_61293430_render._withStripped = true
|
|
20700
20992
|
|
|
20701
20993
|
|
|
20702
|
-
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=
|
|
20994
|
+
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=61293430&
|
|
20703
20995
|
|
|
20704
20996
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=script&lang=js&
|
|
20705
20997
|
//
|
|
@@ -20990,9 +21282,6 @@ mainvue_type_template_id_c470ab60_render._withStripped = true
|
|
|
20990
21282
|
},
|
|
20991
21283
|
|
|
20992
21284
|
methods: {
|
|
20993
|
-
clickRightIcon: function clickRightIcon(e) {
|
|
20994
|
-
console.log('点急急急急急急');
|
|
20995
|
-
},
|
|
20996
21285
|
handleFailed: function handleFailed(values) {
|
|
20997
21286
|
this.$refs.emFormTable.map(function (item) {
|
|
20998
21287
|
item.validate();
|
|
@@ -21049,8 +21338,8 @@ mainvue_type_template_id_c470ab60_render._withStripped = true
|
|
|
21049
21338
|
|
|
21050
21339
|
var form_src_main_component = normalizeComponent(
|
|
21051
21340
|
packages_form_src_mainvue_type_script_lang_js_,
|
|
21052
|
-
|
|
21053
|
-
|
|
21341
|
+
mainvue_type_template_id_61293430_render,
|
|
21342
|
+
mainvue_type_template_id_61293430_staticRenderFns,
|
|
21054
21343
|
false,
|
|
21055
21344
|
null,
|
|
21056
21345
|
null,
|
|
@@ -21824,8 +22113,8 @@ stepper_src_main.install = function (Vue) {
|
|
|
21824
22113
|
};
|
|
21825
22114
|
|
|
21826
22115
|
/* harmony default export */ var stepper = (stepper_src_main);
|
|
21827
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/esign/src/main.vue?vue&type=template&id=
|
|
21828
|
-
var
|
|
22116
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/esign/src/main.vue?vue&type=template&id=12df85e0&
|
|
22117
|
+
var mainvue_type_template_id_12df85e0_render = function () {
|
|
21829
22118
|
var _vm = this
|
|
21830
22119
|
var _h = _vm.$createElement
|
|
21831
22120
|
var _c = _vm._self._c || _h
|
|
@@ -21954,11 +22243,11 @@ var mainvue_type_template_id_dd4e0e96_render = function () {
|
|
|
21954
22243
|
2
|
|
21955
22244
|
)
|
|
21956
22245
|
}
|
|
21957
|
-
var
|
|
21958
|
-
|
|
22246
|
+
var mainvue_type_template_id_12df85e0_staticRenderFns = []
|
|
22247
|
+
mainvue_type_template_id_12df85e0_render._withStripped = true
|
|
21959
22248
|
|
|
21960
22249
|
|
|
21961
|
-
// CONCATENATED MODULE: ./packages/esign/src/main.vue?vue&type=template&id=
|
|
22250
|
+
// CONCATENATED MODULE: ./packages/esign/src/main.vue?vue&type=template&id=12df85e0&
|
|
21962
22251
|
|
|
21963
22252
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/esign/src/main.vue?vue&type=script&lang=js&
|
|
21964
22253
|
//
|
|
@@ -22042,7 +22331,7 @@ mainvue_type_template_id_dd4e0e96_render._withStripped = true
|
|
|
22042
22331
|
default: 80
|
|
22043
22332
|
},
|
|
22044
22333
|
esignLineWidth: {
|
|
22045
|
-
type: Number,
|
|
22334
|
+
type: [String, Number],
|
|
22046
22335
|
default: 1
|
|
22047
22336
|
},
|
|
22048
22337
|
esignColor: {
|
|
@@ -22119,8 +22408,8 @@ mainvue_type_template_id_dd4e0e96_render._withStripped = true
|
|
|
22119
22408
|
|
|
22120
22409
|
var esign_src_main_component = normalizeComponent(
|
|
22121
22410
|
packages_esign_src_mainvue_type_script_lang_js_,
|
|
22122
|
-
|
|
22123
|
-
|
|
22411
|
+
mainvue_type_template_id_12df85e0_render,
|
|
22412
|
+
mainvue_type_template_id_12df85e0_staticRenderFns,
|
|
22124
22413
|
false,
|
|
22125
22414
|
null,
|
|
22126
22415
|
null,
|
|
@@ -23062,7 +23351,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
23062
23351
|
}
|
|
23063
23352
|
|
|
23064
23353
|
/* harmony default export */ var src = __webpack_exports__["default"] = ({
|
|
23065
|
-
version: '0.2.
|
|
23354
|
+
version: '0.2.71',
|
|
23066
23355
|
install: install,
|
|
23067
23356
|
Button: packages_button,
|
|
23068
23357
|
ButtonGroup: button_group,
|