kso-sel-org 1.0.12 → 1.0.13
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/index.js +78 -75
- package/package.json +1 -1
- package/src/org-selector/index.vue.d.ts +1 -1
package/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("[data-v-
|
2
|
-
import { defineComponent as q, useAttrs as ne, inject as P, ref as c, watch as R, onMounted as ae, resolveComponent as f, openBlock as k, createElementBlock as I, createVNode as
|
3
|
-
import { CircleCloseFilled as
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("[data-v-fc90f3d7] .org-list-box{display:flex;padding:10px;box-sizing:border-box;justify-content:space-between}[data-v-fc90f3d7] .org-list-box .left-tree-box{width:50%;overflow:hidden;border:1px solid #ebeef5}[data-v-fc90f3d7] .org-list-box .left-tree-box .search-box{display:flex;height:52px;padding:5px 12px;background:#f0f2f5;box-sizing:border-box;align-items:center}[data-v-fc90f3d7] .org-list-box .left-tree-box .search-box label{font-weight:700;color:#303133;white-space:nowrap}[data-v-fc90f3d7] .org-list-box .left-tree-box .search-box .el-input{width:100%;margin-left:10px}[data-v-fc90f3d7] .org-list-box .right-selected-list{width:48%;border:1px solid #ebeef5}[data-v-fc90f3d7] .org-list-box .right-selected-list .selected-box{display:flex;height:52px;padding:5px 12px;background:#f0f2f5;box-sizing:border-box;align-items:center;justify-content:space-between}[data-v-fc90f3d7] .org-list-box .right-selected-list .selected-box span{font-weight:700;color:#303133}[data-v-fc90f3d7] .org-list-box .right-selected-list .selected-box .delete-btn{display:inline-block;width:17px;height:17px;cursor:pointer;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAADkSURBVDiN7ZOxccJAEEXfwiX2EFCCSnAHhkoM+V4NtKAZRCw6kVwCHUAHDixImPsOPJ5BMrKsGYd+4d79d/+CNTqc3SvBojv/wqB+LIrl7Sxc3FuBBPM+AYBg3s2EBNVPoTs8dTNBZmuTMmCD2V7wOmQxeEZamVme4GAAF/dFgkpm69l2ux+SvMe4MqmcwPKhKOrJyK/cpVfSuKuJsQRoYiwbd42W/EmTf8l3DGqkE4BSOhjUfXdD38Htks12uxzIRzcZQ6uJwebs/jIUktTa9E9JCEeu1zekTJD96nmzI9PpEeADOClObZiMikMAAAAASUVORK5CYII=) no-repeat;block-size:100% 100%}[data-v-fc90f3d7] .org-list-box .right-selected-list .el-icon svg{width:1.5em;height:1.5em}[data-v-fc90f3d7] .org-list-box .tree-content-box{height:420px;padding:5px 15px;overflow:auto;box-sizing:border-box}[data-v-fc90f3d7] .org-list-box ul li{display:flex;width:100%;padding:0 20px;margin-bottom:8px;line-height:40px;border:solid 1px #d7dde4;border-radius:4px;box-sizing:border-box;align-items:center;justify-content:space-between}[data-v-fc90f3d7] .org-list-box ul .org-name{width:92%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-v-fc90f3d7] .org-list-box ul .el-icon{cursor:pointer}[data-v-fc90f3d7] .org-list-box .org-del .img-box{margin:7px 0 0;cursor:pointer}[data-v-fc90f3d7] .org-list-box .flow-modal-title{width:100%;height:40px;line-height:40px;color:#fff;text-indent:1em;background:#2b5fda}.selector-footer[data-v-fc90f3d7]{display:flex;padding:10px;border-top:solid 1px #dcdfe6;justify-content:flex-end}[data-v-fc90f3d7] .tree-folder-node-icon{display:inline-block;width:18px;height:18px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAIvSURBVFiF7ZaxaxRBFMZ/73JFhBQWlhIDXmGRIoKFxR1OYboIFloKu7cBAyLEykpIYSFYi4W32QQFiwTyDwhOsaJgm+KKNFpdYRkkYJJncZO7SW7vdu+SgMH74Ir5bt77vn3v7czCGP87JG+DSfQtytIZajb5Q80+ll8ApdztZysOcIMJ7h4tykME7iCkI8sqFaAKgDA5vAEhtaGEo+qbWAPEGfCQ34JzRvEKKHOmobN2UbZ92sSaADBBagOJAcyaRhy0n9ZGg6s2TAXmKPHdrOqDY6wQIASoV16l2uFzMNCAeae3T1CTwIZJ9Hlh2zno2wLT0PsI7z1qG5gFQHllEp3hB09tXXrOEjeshQY2swIm1mWEDYQpR63zk5vAQ2DPmVhimi3zRqeychTFsQqYFS1zjdcoyx3ykBd2UV661aaJtYWwBVwBFrjEZ5PoPRtKy3uAKsJ1AFuX9UEGOhUwK1pmmo+e+D7wyBMHwEaSItSAHUfdQvlqGlrxskbAmvsNRLcFV1kAjiZ8F2He1uVDVpANpYlQQ/jmqBlKjDSYXQPCZY9/ZkOxgwJtKC1+M+/Fd9t5SIwSovmDmP0WKPt5gQD2ieyaVe3lI0mh2L1xMY5ik2iCtk+1rPf+NPsvRgWGhvIl/1vrHA3YujSARpG9/2gLhMjEeqez9q7azv1/Ekq173/tnJUsumtA2fP6Vs36fHKJgj4SlX4iPVB3oeG34IBPQLNQgtOh6bTGGAOAv4Uio5lixzLEAAAAAElFTkSuQmCC) no-repeat;background-size:100% 100%}[data-v-fc90f3d7] .tree-file-node-icon{display:inline-block;width:18px;height:18px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAJxSURBVFiF7Za/a1NRFMc/5zWFCh07ZBBF6NDBoUOhFjpchw5iCwpdHARfWiEigotTl4CjiyBSi315gRa6VByiOEjoFYQ6dHToUBBbh/wBoS0YehzeTWh+vDRJ0xahXwiEc8893+89P+598D/DLOmQWdKh08TwuibP6iz97NHPnsnq7LkKMIGmUdaAAWAAZc0Emj4XASarCwiLCImqUUggLJqsLnQaT9omzmiC67xCee5MZeCJ+78ITpDwmt+8sBkp90yAyWiCa6wBlVqXAN+mZB1cP0AIDLr1dXZ50I6IEwWYtzrIFfKAqZIrd+ycfK/xC3QS4csxEZYDZuxTKXUtwISaRMkDY85URLhtfdmO8R9B2QCSzrSFMGN9KcZxxDahWdZhF6xCvo0wEUcOYH3ZRpgAKj5jKBtmWYfj9jTNgFnWm3h8rZ5E+AHcb3WSmv2hJoGPKLecqcgRU3Zeftb7NmTA1XKzSq4U2GeqXXIA60uRfaZQCs6URNg0gU7W+9ZkwHXzCtEFE2GX/nZHqh5uev4eMx0CDyvTUyPA3WRvai4YwKakeZmyOo1wFwDls03Jpxg/rTEoZeCZnZN34EpgQh3BYxyPVYQcsNPyZFl9CeRR0ihpIG8CzbTaA+wg5PBYxWPchDoCcU0YaojyCBozYN7rVTx+1WcKpcwRN+xj+VMnNsqAkLO++PVcnT9GfYw2kEcECfoY7TRc5wKU+GlotdYrAXZOtoBvTcgLbu1sBQBwwDRKQPQolVACDrnXTajGWrYB98DMu9+p0PUnWa9wKeDCBZzYhCbQ8EIFINGVfFZoXgLlA9GM9wolF/MSl2jAP+MZ1PXRPKaQAAAAAElFTkSuQmCC) no-repeat;background-size:100% 100%}[data-v-fc90f3d7] .el-input{height:32px}[data-v-fc90f3d7] .node-text-box{display:flex;align-items:center}[data-v-fc90f3d7] .node-text-box .el-radio{margin-right:5px}[data-v-fc90f3d7] .node-text-box .el-radio .el-radio__label{display:none}[data-v-fc90f3d7] .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:#f0f5ff}[data-v-fc90f3d7] .el-input__icon{color:#a8abb2}[data-v-fc90f3d7]::-webkit-scrollbar{width:5px}[data-v-fc90f3d7]::-webkit-scrollbar-thumb{background:#b7c7dd;border-radius:3px}[data-v-fc90f3d7]::-webkit-scrollbar-track{background:#ededed;border-radius:3px}.close[data-v-fc90f3d7]{position:absolute;right:55px;display:none;padding:2px;cursor:pointer;border-radius:50%}.org-selector:hover .close[data-v-fc90f3d7]{display:block}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
2
|
+
import { defineComponent as q, useAttrs as ne, inject as P, ref as c, watch as R, onMounted as ae, resolveComponent as f, openBlock as k, createElementBlock as I, createVNode as a, unref as _, renderSlot as ue, createBlock as M, isRef as U, withCtx as h, createCommentVNode as de, createTextVNode as v, toDisplayString as re, createElementVNode as ie } from "vue";
|
3
|
+
import { CircleCloseFilled as se } from "@element-plus/icons-vue";
|
4
4
|
const ce = {
|
5
5
|
key: 0,
|
6
6
|
class: "org-selector"
|
@@ -66,40 +66,40 @@ const ce = {
|
|
66
66
|
},
|
67
67
|
emits: ["onCancel", "onSelect", "update:modelValue", "onClear"],
|
68
68
|
setup(C, {
|
69
|
-
expose:
|
69
|
+
expose: T,
|
70
70
|
emit: b
|
71
71
|
}) {
|
72
72
|
const o = C;
|
73
73
|
let N = ne();
|
74
|
-
const
|
74
|
+
const m = b, S = P("req"), {
|
75
75
|
warningMsgBox: z
|
76
76
|
} = P("msgBox"), $ = {
|
77
77
|
children: "childrenList",
|
78
78
|
label: "orgName"
|
79
79
|
}, d = c(null);
|
80
|
-
let
|
80
|
+
let i = c(""), j = c(!1), p = c(!1), B = c(!1), y = c(""), V = c(""), r = c([]), D = c([]), g = c([]);
|
81
81
|
R(() => o.modelValue, () => {
|
82
82
|
o.defaultText && !B.value && F();
|
83
83
|
}), R(() => o.inputText, (e) => {
|
84
|
-
|
84
|
+
i.value = e;
|
85
85
|
});
|
86
86
|
const A = /* @__PURE__ */ q({
|
87
87
|
render() {
|
88
|
-
return
|
88
|
+
return a("div", {
|
89
89
|
class: "org-list-box"
|
90
|
-
}, [
|
90
|
+
}, [a("div", {
|
91
91
|
class: "left-tree-box"
|
92
|
-
}, [
|
92
|
+
}, [a("div", {
|
93
93
|
class: "search-box"
|
94
|
-
}, [
|
94
|
+
}, [a("label", null, [v("单位列表")]), a(f("el-input"), {
|
95
95
|
modelValue: V.value,
|
96
96
|
"onUpdate:modelValue": (e) => V.value = e,
|
97
97
|
"suffix-icon": f("Search"),
|
98
98
|
onInput: X,
|
99
99
|
placeholder: "请输入单位名称查询"
|
100
|
-
}, null)]),
|
100
|
+
}, null)]), a("div", {
|
101
101
|
class: "tree-content-box"
|
102
|
-
}, [
|
102
|
+
}, [a(f("el-tree"), {
|
103
103
|
ref: (e) => d.value = e,
|
104
104
|
data: D.value,
|
105
105
|
"node-key": "id",
|
@@ -116,31 +116,31 @@ const ce = {
|
|
116
116
|
"render-content": Q,
|
117
117
|
"default-expanded-keys": o.expandKeys,
|
118
118
|
"icon-class": "el-icon-arrow-right"
|
119
|
-
}, null)])]),
|
119
|
+
}, null)])]), a("div", {
|
120
120
|
class: "right-selected-list"
|
121
|
-
}, [
|
121
|
+
}, [a("div", {
|
122
122
|
class: "selected-box"
|
123
|
-
}, [
|
123
|
+
}, [a("span", null, [v("已选单位")]), a("div", {
|
124
124
|
title: "删除全部"
|
125
|
-
}, [
|
125
|
+
}, [a("i", {
|
126
126
|
onClick: K,
|
127
127
|
class: "delete-btn"
|
128
|
-
}, null)])]),
|
128
|
+
}, null)])]), a("div", null, [a("div", {
|
129
129
|
class: "tree-content-box"
|
130
|
-
}, [
|
130
|
+
}, [a("ul", null, [r.value.map((e, l) => a("li", {
|
131
131
|
title: e.orgName + "(" + e.id + ")"
|
132
|
-
}, [
|
132
|
+
}, [a("span", {
|
133
133
|
class: "org-name"
|
134
|
-
}, [e.orgName, v("("), e.id, v(")")]),
|
134
|
+
}, [e.orgName, v("("), e.id, v(")")]), a(f("el-icon"), {
|
135
135
|
onClick: () => ee(e, l),
|
136
136
|
color: "#909399",
|
137
137
|
size: "16"
|
138
138
|
}, {
|
139
|
-
default: () => [
|
139
|
+
default: () => [a(se, null, null)]
|
140
140
|
})]))])])])])]);
|
141
141
|
}
|
142
142
|
});
|
143
|
-
function
|
143
|
+
function E() {
|
144
144
|
if (o.modelValue ? g.value = o.modelValue.split(",") : g.value = [], p.value = !0, j.value && d.value) {
|
145
145
|
d.value.setCheckedKeys(g.value), r.value = d.value.getCheckedNodes();
|
146
146
|
return;
|
@@ -148,7 +148,7 @@ const ce = {
|
|
148
148
|
H();
|
149
149
|
}
|
150
150
|
function G() {
|
151
|
-
o.bindEvent &&
|
151
|
+
o.bindEvent && E();
|
152
152
|
}
|
153
153
|
function H() {
|
154
154
|
let e = {
|
@@ -161,9 +161,12 @@ const ce = {
|
|
161
161
|
}).then(({
|
162
162
|
data: l
|
163
163
|
}) => {
|
164
|
+
o.rootOrgId && l.forEach((n) => {
|
165
|
+
n.id == o.rootOrgId && (n.pid = "");
|
166
|
+
});
|
164
167
|
let t = J(l);
|
165
|
-
t && t.length > 0 && t.forEach((
|
166
|
-
|
168
|
+
t && t.length > 0 && t.forEach((n) => {
|
169
|
+
n.expanded = !0;
|
167
170
|
}), D.value = t, d.value.setCheckedKeys(g.value), j.value = !0;
|
168
171
|
});
|
169
172
|
}
|
@@ -182,9 +185,9 @@ const ce = {
|
|
182
185
|
}) => {
|
183
186
|
if (l && l.length > 0) {
|
184
187
|
let t = [];
|
185
|
-
l.forEach((
|
186
|
-
t.push(
|
187
|
-
}),
|
188
|
+
l.forEach((n) => {
|
189
|
+
t.push(n.orgName);
|
190
|
+
}), i.value = t.join(",");
|
188
191
|
}
|
189
192
|
});
|
190
193
|
}
|
@@ -192,8 +195,8 @@ const ce = {
|
|
192
195
|
return e.forEach((l) => {
|
193
196
|
l.name = l.orgName, g.value.length > 0 && g.value.includes(l.id) && r.value.push(l);
|
194
197
|
let t = [];
|
195
|
-
e.forEach((
|
196
|
-
|
198
|
+
e.forEach((n) => {
|
199
|
+
n.pid == l.id && t.push(n);
|
197
200
|
}), l.childrenList = t;
|
198
201
|
}), e = e.filter((l) => l.pid == ""), e;
|
199
202
|
}
|
@@ -202,19 +205,19 @@ const ce = {
|
|
202
205
|
data: t
|
203
206
|
}) {
|
204
207
|
t.expanded && (l.expanded = !0);
|
205
|
-
let
|
206
|
-
l.childNodes && l.childNodes.length > 0 && (
|
208
|
+
let n = "tree-file-node-icon";
|
209
|
+
l.childNodes && l.childNodes.length > 0 && (n = "tree-folder-node-icon");
|
207
210
|
let u = [];
|
208
211
|
if (!o.multiple) {
|
209
|
-
let
|
210
|
-
t.id === y.value && (
|
211
|
-
modelValue:
|
212
|
+
let s = "";
|
213
|
+
t.id === y.value && (s = t.id), u.push(e(f("el-radio"), {
|
214
|
+
modelValue: s,
|
212
215
|
label: t.id,
|
213
216
|
size: "large"
|
214
217
|
}));
|
215
218
|
}
|
216
219
|
return u.push(e("i", {
|
217
|
-
class:
|
220
|
+
class: n,
|
218
221
|
style: {
|
219
222
|
marginRight: "5px"
|
220
223
|
}
|
@@ -234,8 +237,8 @@ const ce = {
|
|
234
237
|
}
|
235
238
|
function Y(e, l) {
|
236
239
|
var t = d.value.store.nodesMap;
|
237
|
-
for (let
|
238
|
-
e ===
|
240
|
+
for (let n in t)
|
241
|
+
e === n ? t[n].expanded = !0 : t[n].expanded = l;
|
239
242
|
}
|
240
243
|
function Z(e) {
|
241
244
|
o.multiple || (d.value.setCheckedNodes([e]), y.value = e.id), r.value = d.value.getCheckedNodes();
|
@@ -247,18 +250,18 @@ const ce = {
|
|
247
250
|
r.value = [], y.value = "", d.value && d.value.setCheckedNodes(r.value);
|
248
251
|
}
|
249
252
|
function w() {
|
250
|
-
p.value = !1,
|
253
|
+
p.value = !1, m("onCancel", "");
|
251
254
|
}
|
252
255
|
function le() {
|
253
256
|
if (r.value.length == 0)
|
254
257
|
return z("请选择数据"), !1;
|
255
258
|
let e = L(r.value);
|
256
|
-
te(e), p.value = !1,
|
259
|
+
te(e), p.value = !1, m("onSelect", e);
|
257
260
|
}
|
258
261
|
function L(e) {
|
259
262
|
let l = [];
|
260
263
|
return e.forEach((t) => {
|
261
|
-
let
|
264
|
+
let n = {
|
262
265
|
id: t.id,
|
263
266
|
orgName: t.orgName,
|
264
267
|
orgType: t.orgType,
|
@@ -269,91 +272,91 @@ const ce = {
|
|
269
272
|
cityId: t.cityId,
|
270
273
|
cityName: t.cityName
|
271
274
|
};
|
272
|
-
l.push(
|
275
|
+
l.push(n);
|
273
276
|
}), l;
|
274
277
|
}
|
275
278
|
function te(e) {
|
276
279
|
let l = {};
|
277
|
-
Object.keys(e[0]).forEach((
|
278
|
-
l[
|
279
|
-
}), e.forEach((
|
280
|
+
Object.keys(e[0]).forEach((n) => {
|
281
|
+
l[n] = [];
|
282
|
+
}), e.forEach((n) => {
|
280
283
|
var u;
|
281
|
-
for (let
|
282
|
-
(u = l[
|
283
|
-
}),
|
284
|
+
for (let s in n)
|
285
|
+
(u = l[s]) == null || u.push(n[s]);
|
286
|
+
}), i.value = l.orgName.join(","), m("update:modelValue", l.id.join(","));
|
284
287
|
let t = o.returnValue.split("|");
|
285
|
-
t && t.length > 0 && t.forEach((
|
286
|
-
let u =
|
288
|
+
t && t.length > 0 && t.forEach((n) => {
|
289
|
+
let u = n.split(":");
|
287
290
|
if (u && u.length > 1) {
|
288
|
-
let
|
291
|
+
let s = l[u[1]], O = s ? s.join(",") : "";
|
289
292
|
N.sync[u[0]] = O;
|
290
293
|
}
|
291
294
|
});
|
292
295
|
}
|
293
296
|
function oe() {
|
294
|
-
if (
|
297
|
+
if (i.value = "", m("update:modelValue", ""), o.returnValue) {
|
295
298
|
let e = o.returnValue.split("|");
|
296
299
|
e && e.length > 0 && e.forEach((l) => {
|
297
300
|
let t = l.split(":");
|
298
301
|
t && t.length > 1 && (N.sync[t[0]] = "");
|
299
302
|
});
|
300
303
|
}
|
301
|
-
K(),
|
304
|
+
K(), m("onClear", "");
|
302
305
|
}
|
303
306
|
return ae(() => {
|
304
|
-
o.notDialog &&
|
305
|
-
}),
|
307
|
+
o.notDialog && E(), o.defaultText && !B.value ? F() : i.value = o.inputText, o.multiple || (y.value = o.modelValue);
|
308
|
+
}), T({
|
306
309
|
/** 获取选中的数据 */
|
307
310
|
getSelectData: () => L(r.value),
|
308
|
-
openDialogEvent:
|
311
|
+
openDialogEvent: E
|
309
312
|
}), (e, l) => {
|
310
|
-
const t = f("CircleClose"),
|
311
|
-
return e.notDialog ? (k(), I("div", ce, [
|
313
|
+
const t = f("CircleClose"), n = f("el-icon"), u = f("el-button"), s = f("el-input"), O = f("el-dialog");
|
314
|
+
return e.notDialog ? (k(), I("div", ce, [a(_(A))])) : (k(), I("div", fe, [e.$slots.func ? (k(), I("div", {
|
312
315
|
key: 0,
|
313
316
|
class: "slot-box",
|
314
317
|
onClick: G
|
315
|
-
}, [ue(e.$slots, "func", {}, void 0, !0)])) : (k(), M(
|
318
|
+
}, [ue(e.$slots, "func", {}, void 0, !0)])) : (k(), M(s, {
|
316
319
|
key: 1,
|
317
|
-
modelValue: _(
|
318
|
-
"onUpdate:modelValue": l[0] || (l[0] = (x) => U(
|
320
|
+
modelValue: _(i),
|
321
|
+
"onUpdate:modelValue": l[0] || (l[0] = (x) => U(i) ? i.value = x : i = x),
|
319
322
|
disabled: e.disabled,
|
320
323
|
readonly: e.readonly
|
321
324
|
}, {
|
322
|
-
append:
|
325
|
+
append: h(() => [_(i) && e.isClear ? (k(), M(n, {
|
323
326
|
key: 0,
|
324
327
|
class: "close",
|
325
328
|
onClick: oe
|
326
329
|
}, {
|
327
|
-
default:
|
330
|
+
default: h(() => [a(t, {
|
328
331
|
color: "#868484"
|
329
332
|
})]),
|
330
333
|
_: 1
|
331
|
-
})) : de("", !0),
|
334
|
+
})) : de("", !0), a(u, {
|
332
335
|
type: "primary",
|
333
336
|
disabled: e.disabled,
|
334
|
-
onClick:
|
337
|
+
onClick: E
|
335
338
|
}, {
|
336
|
-
default:
|
339
|
+
default: h(() => [v(re(e.buttonText), 1)]),
|
337
340
|
_: 1
|
338
341
|
}, 8, ["disabled"])]),
|
339
342
|
_: 1
|
340
|
-
}, 8, ["modelValue", "disabled", "readonly"])),
|
343
|
+
}, 8, ["modelValue", "disabled", "readonly"])), a(O, {
|
341
344
|
title: "单位选择",
|
342
345
|
modelValue: _(p),
|
343
346
|
"onUpdate:modelValue": l[1] || (l[1] = (x) => U(p) ? p.value = x : p = x),
|
344
347
|
onClose: w,
|
345
348
|
width: 1e3
|
346
349
|
}, {
|
347
|
-
default:
|
350
|
+
default: h(() => [a(_(A)), ie("div", pe, [a(u, {
|
348
351
|
onClick: w
|
349
352
|
}, {
|
350
|
-
default:
|
353
|
+
default: h(() => [v("取消")]),
|
351
354
|
_: 1
|
352
|
-
}),
|
355
|
+
}), a(u, {
|
353
356
|
type: "primary",
|
354
357
|
onClick: le
|
355
358
|
}, {
|
356
|
-
default:
|
359
|
+
default: h(() => [v("确认")]),
|
357
360
|
_: 1
|
358
361
|
})])]),
|
359
362
|
_: 1
|
@@ -361,12 +364,12 @@ const ce = {
|
|
361
364
|
};
|
362
365
|
}
|
363
366
|
});
|
364
|
-
const ge = (C,
|
367
|
+
const ge = (C, T) => {
|
365
368
|
const b = C.__vccOpts || C;
|
366
|
-
for (const [o, N] of
|
369
|
+
for (const [o, N] of T)
|
367
370
|
b[o] = N;
|
368
371
|
return b;
|
369
|
-
}, ye = /* @__PURE__ */ ge(ve, [["__scopeId", "data-v-
|
372
|
+
}, ye = /* @__PURE__ */ ge(ve, [["__scopeId", "data-v-fc90f3d7"]]);
|
370
373
|
export {
|
371
374
|
ye as ksoSelOrg
|
372
375
|
};
|
package/package.json
CHANGED
@@ -54,7 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
54
54
|
onSelect: (...args: any[]) => void;
|
55
55
|
"update:modelValue": (...args: any[]) => void;
|
56
56
|
onClear: (...args: any[]) => void;
|
57
|
-
}, string, import("vue").
|
57
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
58
58
|
/** 没有对话框 */
|
59
59
|
notDialog?: boolean | undefined;
|
60
60
|
/** 默认选中code值 */
|