ddy-process-h5 1.0.1-rc.3.91 → 1.0.1-rc.3.97
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/package.json +1 -1
- package/v2/ddy-process-h5.js +3650 -3476
- package/v2/ddy-process-h5.umd.cjs +16 -16
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-h5.js +189 -15
- package/v2.7/ddy-process-h5.umd.cjs +2 -2
- package/v2.7/style.css +1 -1
- package/v3/ddy-process-h5.js +2494 -2349
- package/v3/ddy-process-h5.umd.cjs +9 -9
- package/v3/style.css +1 -1
package/v2.7/ddy-process-h5.js
CHANGED
|
@@ -3453,6 +3453,7 @@ Te.util.warn;
|
|
|
3453
3453
|
const Lg = {
|
|
3454
3454
|
name: "TopPopup",
|
|
3455
3455
|
props: {
|
|
3456
|
+
showHeader: { default: !0, type: Boolean },
|
|
3456
3457
|
titleText: { default: "top-popup", type: String },
|
|
3457
3458
|
context: { default: "\u5185\u5BB9", type: String },
|
|
3458
3459
|
cancelText: { default: "\u53D6\u6D88", type: String },
|
|
@@ -3535,7 +3536,7 @@ var Fg = function() {
|
|
|
3535
3536
|
}), !e.isTips && !e.isDrawer ? i("div", {
|
|
3536
3537
|
staticClass: "top-popup",
|
|
3537
3538
|
style: e.show ? "transform: translateY(0)" : "transform: translateY(150%)"
|
|
3538
|
-
}, [i("div", {
|
|
3539
|
+
}, [e.showHeader ? i("div", {
|
|
3539
3540
|
staticClass: "top-popup-header"
|
|
3540
3541
|
}, [i("div", {
|
|
3541
3542
|
staticClass: "header-cancel",
|
|
@@ -3549,7 +3550,7 @@ var Fg = function() {
|
|
|
3549
3550
|
on: {
|
|
3550
3551
|
click: e.handleComfig
|
|
3551
3552
|
}
|
|
3552
|
-
}, [e._v(" " + e._s(e.comfigText) + " ")])]), i("div", {
|
|
3553
|
+
}, [e._v(" " + e._s(e.comfigText) + " ")])]) : e._e(), i("div", {
|
|
3553
3554
|
staticClass: "top-popup-body"
|
|
3554
3555
|
}, [e._t("default")], 2)]) : !e.isTips && e.isDrawer ? i("div", {
|
|
3555
3556
|
staticClass: "top-popup-drawer",
|
|
@@ -3626,7 +3627,7 @@ var jg = /* @__PURE__ */ Ae(
|
|
|
3626
3627
|
Vg,
|
|
3627
3628
|
!1,
|
|
3628
3629
|
Ug,
|
|
3629
|
-
"
|
|
3630
|
+
"5fb4d1e1",
|
|
3630
3631
|
null,
|
|
3631
3632
|
null
|
|
3632
3633
|
);
|
|
@@ -17931,7 +17932,7 @@ var RE = function() {
|
|
|
17931
17932
|
ref: "TopPopupFixedPerson",
|
|
17932
17933
|
attrs: {
|
|
17933
17934
|
visible: e.showFixedPerson,
|
|
17934
|
-
titleText: "\u9009\u62E9\u4EBA\u5458(" + e.
|
|
17935
|
+
titleText: "\u9009\u62E9\u4EBA\u5458(" + e.originFixedPersonList.length + "\u4EBA)",
|
|
17935
17936
|
isIndex: 99,
|
|
17936
17937
|
className: "sumbmitPopup-index",
|
|
17937
17938
|
comfigText: "\u786E\u5B9A",
|
|
@@ -17941,6 +17942,57 @@ var RE = function() {
|
|
|
17941
17942
|
"update:visible": e.updateVisible
|
|
17942
17943
|
}
|
|
17943
17944
|
}, [i("div", {
|
|
17945
|
+
staticClass: "st-head"
|
|
17946
|
+
}, [i("input", {
|
|
17947
|
+
directives: [{
|
|
17948
|
+
name: "model",
|
|
17949
|
+
rawName: "v-model",
|
|
17950
|
+
value: e.searchText,
|
|
17951
|
+
expression: "searchText"
|
|
17952
|
+
}],
|
|
17953
|
+
staticClass: "st-head-input",
|
|
17954
|
+
attrs: {
|
|
17955
|
+
type: "text",
|
|
17956
|
+
placeholder: "\u8F93\u5165\u67E5\u8BE2"
|
|
17957
|
+
},
|
|
17958
|
+
domProps: {
|
|
17959
|
+
value: e.searchText
|
|
17960
|
+
},
|
|
17961
|
+
on: {
|
|
17962
|
+
keyup: function(s) {
|
|
17963
|
+
return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : e.handleSearchPerson.apply(null, arguments);
|
|
17964
|
+
},
|
|
17965
|
+
input: function(s) {
|
|
17966
|
+
s.target.composing || (e.searchText = s.target.value);
|
|
17967
|
+
}
|
|
17968
|
+
}
|
|
17969
|
+
}), i("div", {
|
|
17970
|
+
directives: [{
|
|
17971
|
+
name: "show",
|
|
17972
|
+
rawName: "v-show",
|
|
17973
|
+
value: e.searchText,
|
|
17974
|
+
expression: "searchText"
|
|
17975
|
+
}],
|
|
17976
|
+
staticClass: "st-head-clear",
|
|
17977
|
+
on: {
|
|
17978
|
+
click: e.handleClearSearch
|
|
17979
|
+
}
|
|
17980
|
+
}, [i("svg", {
|
|
17981
|
+
staticClass: "icon",
|
|
17982
|
+
attrs: {
|
|
17983
|
+
t: "1766114768811",
|
|
17984
|
+
viewBox: "0 0 1024 1024",
|
|
17985
|
+
version: "1.1",
|
|
17986
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17987
|
+
"p-id": "7665"
|
|
17988
|
+
}
|
|
17989
|
+
}, [i("path", {
|
|
17990
|
+
attrs: {
|
|
17991
|
+
d: "M507.168 473.232L716.48 263.936a16 16 0 0 1 22.624 0l11.312 11.312a16 16 0 0 1 0 22.624L541.12 507.168 750.4 716.48a16 16 0 0 1 0 22.624l-11.312 11.312a16 16 0 0 1-22.624 0L507.168 541.12 297.872 750.4a16 16 0 0 1-22.624 0l-11.312-11.312a16 16 0 0 1 0-22.624l209.296-209.312-209.296-209.296a16 16 0 0 1 0-22.624l11.312-11.312a16 16 0 0 1 22.624 0l209.296 209.296z",
|
|
17992
|
+
"p-id": "7666",
|
|
17993
|
+
fill: "#cdcdcd"
|
|
17994
|
+
}
|
|
17995
|
+
})])])]), i("div", {
|
|
17944
17996
|
staticClass: "s-tree"
|
|
17945
17997
|
}, e._l([].concat(e.fixedPersonList), function(s) {
|
|
17946
17998
|
return i("div", {
|
|
@@ -18004,7 +18056,107 @@ var RE = function() {
|
|
|
18004
18056
|
}, [e._v(e._s(s.realName))]), i("div", {
|
|
18005
18057
|
staticClass: "node-name-phone"
|
|
18006
18058
|
}, [e._v(e._s(s.phonenumber))])])]);
|
|
18007
|
-
}), 0)
|
|
18059
|
+
}), 0), i("div", {
|
|
18060
|
+
staticClass: "st-footer-box"
|
|
18061
|
+
}, [i("div", {
|
|
18062
|
+
staticClass: "st-footer"
|
|
18063
|
+
}, [i("div", {
|
|
18064
|
+
staticClass: "st-footer-left",
|
|
18065
|
+
on: {
|
|
18066
|
+
click: e.expandSelect
|
|
18067
|
+
}
|
|
18068
|
+
}, [i("div", {
|
|
18069
|
+
staticClass: "st-footer-text"
|
|
18070
|
+
}, [e._v("\u5DF2\u9009\u62E9" + e._s(e.mySelectIds.length) + "\u4E2A\u6210\u5458")]), i("div", {
|
|
18071
|
+
staticClass: "st-footer-svg"
|
|
18072
|
+
}, [i("svg", {
|
|
18073
|
+
staticClass: "icon",
|
|
18074
|
+
attrs: {
|
|
18075
|
+
t: "1766111528552",
|
|
18076
|
+
viewBox: "0 0 1024 1024",
|
|
18077
|
+
version: "1.1",
|
|
18078
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18079
|
+
"p-id": "4604",
|
|
18080
|
+
id: "mx_n_1766111528554"
|
|
18081
|
+
}
|
|
18082
|
+
}, [i("path", {
|
|
18083
|
+
attrs: {
|
|
18084
|
+
d: "M166.997333 751.850667L106.666667 691.498667 520.832 277.333333l414.165333 414.165334L874.666667 751.850667 520.832 398.016z",
|
|
18085
|
+
fill: "#1389ff",
|
|
18086
|
+
"p-id": "4605"
|
|
18087
|
+
}
|
|
18088
|
+
})])])]), i("div", {
|
|
18089
|
+
staticClass: "st-footer-right"
|
|
18090
|
+
}, [i("div", {
|
|
18091
|
+
staticClass: "st-footer-btn",
|
|
18092
|
+
on: {
|
|
18093
|
+
click: e.handleSumbitFixedPerson
|
|
18094
|
+
}
|
|
18095
|
+
}, [e._v("\u786E\u5B9A")])])])]), i("TopPopup", {
|
|
18096
|
+
ref: "TopPopupSelectPerson",
|
|
18097
|
+
attrs: {
|
|
18098
|
+
visible: e.showSelectPerson,
|
|
18099
|
+
showHeader: !1,
|
|
18100
|
+
isIndex: 120,
|
|
18101
|
+
className: "sumbmitPopup-index"
|
|
18102
|
+
},
|
|
18103
|
+
on: {
|
|
18104
|
+
"update:visible": e.updateSelectVisible
|
|
18105
|
+
}
|
|
18106
|
+
}, [i("div", {
|
|
18107
|
+
staticClass: "s-thead"
|
|
18108
|
+
}, [i("div", {
|
|
18109
|
+
staticClass: "s-thead-left"
|
|
18110
|
+
}, [e._v(" \u5DF2\u9009\u62E9\u4EBA\u5458(" + e._s(e.mySelect.length) + ") ")]), i("div", {
|
|
18111
|
+
staticClass: "s-thead-right"
|
|
18112
|
+
}, [i("div", {
|
|
18113
|
+
staticClass: "s-thead-btn",
|
|
18114
|
+
on: {
|
|
18115
|
+
click: e.handleClearSelect
|
|
18116
|
+
}
|
|
18117
|
+
}, [e._v("\u6E05\u7A7A")]), i("div", {
|
|
18118
|
+
staticClass: "s-thead-btn s-thead-btn-close",
|
|
18119
|
+
on: {
|
|
18120
|
+
click: function(s) {
|
|
18121
|
+
return e.updateSelectVisible(!1);
|
|
18122
|
+
}
|
|
18123
|
+
}
|
|
18124
|
+
}, [e._v("\u5173\u95ED")])])]), i("div", {
|
|
18125
|
+
staticClass: "s-tree"
|
|
18126
|
+
}, e._l([].concat(e.mySelect), function(s) {
|
|
18127
|
+
return i("div", {
|
|
18128
|
+
key: s.userId,
|
|
18129
|
+
staticClass: "s-node stt-node",
|
|
18130
|
+
on: {
|
|
18131
|
+
click: function(n) {
|
|
18132
|
+
return e.handleClickFixedPerson(s);
|
|
18133
|
+
}
|
|
18134
|
+
}
|
|
18135
|
+
}, [i("div", {
|
|
18136
|
+
staticClass: "stt-node-left"
|
|
18137
|
+
}, [s.avatar ? i("img", {
|
|
18138
|
+
staticClass: "node-avatar stt-node-avatar",
|
|
18139
|
+
attrs: {
|
|
18140
|
+
src: s.avatar,
|
|
18141
|
+
alt: "\u5934\u50CF"
|
|
18142
|
+
}
|
|
18143
|
+
}) : i("div", {
|
|
18144
|
+
staticClass: "node-avatar-text stt-node-avatar-text"
|
|
18145
|
+
}, [e._v(" " + e._s((s.realName || "").slice(-2)) + " ")]), i("div", {
|
|
18146
|
+
staticClass: "node-name"
|
|
18147
|
+
}, [i("div", {
|
|
18148
|
+
staticClass: "node-name-text"
|
|
18149
|
+
}, [e._v(e._s(s.realName))]), i("div", {
|
|
18150
|
+
staticClass: "node-name-phone"
|
|
18151
|
+
}, [e._v(e._s(s.phonenumber))])])]), i("div", {
|
|
18152
|
+
staticClass: "stt-node-right"
|
|
18153
|
+
}, [i("div", {
|
|
18154
|
+
staticClass: "s-thead-btn s-thead-btn-close",
|
|
18155
|
+
on: {
|
|
18156
|
+
click: e.handleRemoveSelect
|
|
18157
|
+
}
|
|
18158
|
+
}, [e._v("\u79FB\u9664")])])]);
|
|
18159
|
+
}), 0)])], 1);
|
|
18008
18160
|
}, LE = [];
|
|
18009
18161
|
const FE = {
|
|
18010
18162
|
name: "selectFixedPerson",
|
|
@@ -18012,7 +18164,6 @@ const FE = {
|
|
|
18012
18164
|
TopPopup: ct
|
|
18013
18165
|
},
|
|
18014
18166
|
props: {
|
|
18015
|
-
multiple: {},
|
|
18016
18167
|
visible: {
|
|
18017
18168
|
type: Boolean,
|
|
18018
18169
|
default: !1
|
|
@@ -18038,18 +18189,24 @@ const FE = {
|
|
|
18038
18189
|
return {
|
|
18039
18190
|
showFixedPerson: !1,
|
|
18040
18191
|
fixedPersonList: [],
|
|
18192
|
+
originFixedPersonList: [],
|
|
18041
18193
|
mySelect: [],
|
|
18042
|
-
mySelectIds: []
|
|
18194
|
+
mySelectIds: [],
|
|
18195
|
+
searchText: "",
|
|
18196
|
+
showSelectPerson: !1
|
|
18043
18197
|
};
|
|
18044
18198
|
},
|
|
18045
18199
|
watch: {
|
|
18200
|
+
searchText() {
|
|
18201
|
+
this.handleSearchPerson();
|
|
18202
|
+
},
|
|
18046
18203
|
visible: {
|
|
18047
18204
|
handler(e, t) {
|
|
18048
|
-
this.showFixedPerson = e, e ? (this.fixedPersonList = this.list || [], this.mySelect = this.select || [], this.mySelectIds = this.mySelect.map((i) => i.userId)) : (this.fixedPersonList = [], this.mySelect = [], this.mySelectIds = []);
|
|
18205
|
+
this.showFixedPerson = e, e ? (this.originFixedPersonList = this.list || [], this.fixedPersonList = this.list || [], this.mySelect = this.select || [], this.mySelectIds = this.mySelect.map((i) => i.userId)) : (this.originFixedPersonList = [], this.fixedPersonList = [], this.mySelect = [], this.mySelectIds = []);
|
|
18049
18206
|
},
|
|
18050
18207
|
immediate: !0
|
|
18051
18208
|
},
|
|
18052
|
-
|
|
18209
|
+
originFixedPersonList: {
|
|
18053
18210
|
handler(e, t) {
|
|
18054
18211
|
e && e.length > 0 && JSON.stringify(e) !== JSON.stringify(this.list) && this.$emit("updateList", e);
|
|
18055
18212
|
},
|
|
@@ -18058,12 +18215,29 @@ const FE = {
|
|
|
18058
18215
|
}
|
|
18059
18216
|
},
|
|
18060
18217
|
methods: {
|
|
18218
|
+
handleClearSearch() {
|
|
18219
|
+
this.searchText = "", this.handleSearchPerson();
|
|
18220
|
+
},
|
|
18221
|
+
handleSearchPerson() {
|
|
18222
|
+
this.fixedPersonList = this.originFixedPersonList.filter((e) => e.realName.includes(this.searchText));
|
|
18223
|
+
},
|
|
18224
|
+
expandSelect() {
|
|
18225
|
+
this.showSelectPerson = !0;
|
|
18226
|
+
},
|
|
18227
|
+
updateSelectVisible(e) {
|
|
18228
|
+
this.showSelectPerson = e;
|
|
18229
|
+
},
|
|
18061
18230
|
updateVisible(e) {
|
|
18062
18231
|
this.$emit("updateVisible", e);
|
|
18063
18232
|
},
|
|
18233
|
+
handleRemoveSelect(e) {
|
|
18234
|
+
this.mySelect = this.mySelect.filter((t) => t.userId !== e.userId), this.mySelectIds = this.mySelect.map((t) => t.userId), this.$emit("updateSelect", this.mySelect);
|
|
18235
|
+
},
|
|
18236
|
+
handleClearSelect() {
|
|
18237
|
+
this.mySelect = [], this.mySelectIds = [], this.$emit("updateSelect", this.mySelect);
|
|
18238
|
+
},
|
|
18064
18239
|
handleClickFixedPerson(e) {
|
|
18065
|
-
|
|
18066
|
-
this.multiple || (this.mySelect = [], this.mySelectIds = []), t ? (this.mySelect = this.select.filter((i) => i.userId !== e.userId), this.mySelectIds = this.mySelect.map((i) => i.userId)) : (this.mySelect.push(e), this.mySelectIds.push(e.userId)), this.$emit("updateSelect", this.mySelect);
|
|
18240
|
+
this.multiple || (this.mySelect = [], this.mySelectIds = []), this.multiple ? this.mySelectIds.includes(e.userId) ? (this.mySelect = this.mySelect.filter((i) => i.userId !== e.userId), this.mySelectIds = this.mySelect.map((i) => i.userId)) : (this.mySelect.push(e), this.mySelectIds.push(e.userId)) : (this.mySelect.push(e), this.mySelectIds.push(e.userId)), this.$emit("updateSelect", this.mySelect);
|
|
18067
18241
|
},
|
|
18068
18242
|
handleSumbitFixedPerson() {
|
|
18069
18243
|
this.$emit("confirm", this.mySelect);
|
|
@@ -18076,7 +18250,7 @@ var VE = /* @__PURE__ */ Ae(
|
|
|
18076
18250
|
LE,
|
|
18077
18251
|
!1,
|
|
18078
18252
|
jE,
|
|
18079
|
-
"
|
|
18253
|
+
"9bc5e56c",
|
|
18080
18254
|
null,
|
|
18081
18255
|
null
|
|
18082
18256
|
);
|
|
@@ -19048,7 +19222,7 @@ var QE = function() {
|
|
|
19048
19222
|
attrs: {
|
|
19049
19223
|
visible: e.showFixedPerson,
|
|
19050
19224
|
list: e.fixedPersonList,
|
|
19051
|
-
multiple:
|
|
19225
|
+
multiple: !0,
|
|
19052
19226
|
select: e.fixedSelect[e.personObjId] || []
|
|
19053
19227
|
},
|
|
19054
19228
|
on: {
|
|
@@ -19161,7 +19335,7 @@ var qE = /* @__PURE__ */ Ae(
|
|
|
19161
19335
|
GE,
|
|
19162
19336
|
!1,
|
|
19163
19337
|
JE,
|
|
19164
|
-
"
|
|
19338
|
+
"31686e90",
|
|
19165
19339
|
null,
|
|
19166
19340
|
null
|
|
19167
19341
|
);
|
|
@@ -24451,7 +24625,7 @@ function fI(e) {
|
|
|
24451
24625
|
}
|
|
24452
24626
|
const _I = /* @__PURE__ */ function() {
|
|
24453
24627
|
return hI.exports;
|
|
24454
|
-
}(), mI = "ddy-process-h5", gI = "1.0.1-rc.3.
|
|
24628
|
+
}(), mI = "ddy-process-h5", gI = "1.0.1-rc.3.97", yI = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", vI = "./ddy-process-h5.umd.cjs", AI = "./style.css", bI = "module", CI = {
|
|
24455
24629
|
".": {
|
|
24456
24630
|
import: "./ddy-process-h5.js",
|
|
24457
24631
|
require: "./ddy-process-h5.umd.cjs"
|