widget.qw 0.0.1 → 1.0.0
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/build/style.css +101 -0
- package/build/widget.qw.es.js +639 -236
- package/build/widget.qw.umd.js +639 -236
- package/package.json +1 -1
- package/src/api/index.js +16 -0
- package/src/components/CascaderPicker.vue +107 -0
- package/src/components/index.js +35 -30
- package/src/components/widget/CascaderPop.vue +313 -0
- package/src/main.js +2 -2
- package/src/router/index.ts +5 -0
- package/src/util/tree_util.js +34 -0
- package/src/views/auditbar/index.vue +1 -1
- package/src/views/billcard/index.vue +1 -1
- package/src/views/cascaderpicker/index.vue +86 -0
- package/src/views/checkgroup/index.vue +1 -1
- package/src/views/dataSelector/index.vue +2 -2
- package/src/views/datetimepicker/index.vue +1 -1
- package/src/views/daydropdown/index.vue +1 -1
- package/src/views/filepicker/index.vue +1 -1
- package/src/views/home/index.vue +1 -0
- package/src/views/imagepicker/index.vue +1 -1
- package/src/views/imagespicker/index.vue +1 -1
- package/src/views/input/index.vue +1 -1
- package/src/views/monthdropdown/index.vue +1 -1
- package/src/views/multListSelector/index.vue +1 -1
- package/src/views/multipicker/index.vue +1 -1
- package/src/views/productSelector/index.vue +1 -1
- package/src/views/projectdropdown/index.vue +1 -1
- package/src/views/projectpicker/index.vue +1 -1
- package/src/views/sheet/index.vue +4 -4
- package/src/views/singlepicker/index.vue +1 -1
- package/src/views/subdepartmentSelector/index.vue +1 -1
- package/src/views/switch/index.vue +1 -1
- package/src/views/treepicker/index.vue +1 -1
- package/src/views/userSelector/index.vue +3 -3
- package/src/views/userSelectorNew/index.vue +1 -1
- package/src/views/userpicker/index.vue +1 -1
- package/src/views/userprofile/index.vue +1 -1
- package/src/views/userspicker/index.vue +1 -1
- package/src/views/yeardropdown/index.vue +1 -1
- package/vite.config.ts +2 -2
package/build/widget.qw.umd.js
CHANGED
|
@@ -2952,7 +2952,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
2952
2952
|
parse,
|
|
2953
2953
|
stringify
|
|
2954
2954
|
};
|
|
2955
|
-
const NEED_LOGIN = { "VUE_APP_DOMAIN": "https://www.hbhjhx.asia", "VUE_APP_TOKEN_KEY": "Authorization", "VUE_APP_TOKEN_PREFIX": "Bearer ", "VUE_APP_NEED_LOGIN_CODE": 401, "VUE_APP_IS_DEBUG":
|
|
2955
|
+
const NEED_LOGIN = { "VUE_APP_DOMAIN": "https://www.hbhjhx.asia", "VUE_APP_TOKEN_KEY": "Authorization", "VUE_APP_TOKEN_PREFIX": "Bearer ", "VUE_APP_NEED_LOGIN_CODE": 401, "VUE_APP_IS_DEBUG": true, "VUE_APP_DEBUG_TOKEN": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiIwMTQzOTEiLCJyblN0ciI6ImZ0ejhnaFpLMWR4ejhnOTFDZkJUMXQxVWNJajF3R3c1In0.tgI4iGOJ8OrjoqWIqC2pjH7J52l6H7wyuUwJATKIVns" }.VUE_APP_NEED_LOGIN_CODE;
|
|
2956
2956
|
const NEED_LOGIN_CODES = [
|
|
2957
2957
|
NEED_LOGIN
|
|
2958
2958
|
];
|
|
@@ -2962,11 +2962,10 @@ var __async = (__this, __arguments, generator) => {
|
|
|
2962
2962
|
function removeCacheByKey(key) {
|
|
2963
2963
|
localStorage.removeItem(key);
|
|
2964
2964
|
}
|
|
2965
|
-
const TOKEN_KEY = { "VUE_APP_DOMAIN": "https://www.hbhjhx.asia", "VUE_APP_TOKEN_KEY": "Authorization", "VUE_APP_TOKEN_PREFIX": "Bearer ", "VUE_APP_NEED_LOGIN_CODE": 401, "VUE_APP_IS_DEBUG":
|
|
2966
|
-
const TOKEN_PREFIX = { "VUE_APP_DOMAIN": "https://www.hbhjhx.asia", "VUE_APP_TOKEN_KEY": "Authorization", "VUE_APP_TOKEN_PREFIX": "Bearer ", "VUE_APP_NEED_LOGIN_CODE": 401, "VUE_APP_IS_DEBUG":
|
|
2965
|
+
const TOKEN_KEY = { "VUE_APP_DOMAIN": "https://www.hbhjhx.asia", "VUE_APP_TOKEN_KEY": "Authorization", "VUE_APP_TOKEN_PREFIX": "Bearer ", "VUE_APP_NEED_LOGIN_CODE": 401, "VUE_APP_IS_DEBUG": true, "VUE_APP_DEBUG_TOKEN": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiIwMTQzOTEiLCJyblN0ciI6ImZ0ejhnaFpLMWR4ejhnOTFDZkJUMXQxVWNJajF3R3c1In0.tgI4iGOJ8OrjoqWIqC2pjH7J52l6H7wyuUwJATKIVns" }.VUE_APP_TOKEN_KEY;
|
|
2966
|
+
const TOKEN_PREFIX = { "VUE_APP_DOMAIN": "https://www.hbhjhx.asia", "VUE_APP_TOKEN_KEY": "Authorization", "VUE_APP_TOKEN_PREFIX": "Bearer ", "VUE_APP_NEED_LOGIN_CODE": 401, "VUE_APP_IS_DEBUG": true, "VUE_APP_DEBUG_TOKEN": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiIwMTQzOTEiLCJyblN0ciI6ImZ0ejhnaFpLMWR4ejhnOTFDZkJUMXQxVWNJajF3R3c1In0.tgI4iGOJ8OrjoqWIqC2pjH7J52l6H7wyuUwJATKIVns" }.VUE_APP_TOKEN_PREFIX;
|
|
2967
2967
|
function getToken() {
|
|
2968
|
-
|
|
2969
|
-
return vm.tokenCallback();
|
|
2968
|
+
return TOKEN_PREFIX + { "VUE_APP_DOMAIN": "https://www.hbhjhx.asia", "VUE_APP_TOKEN_KEY": "Authorization", "VUE_APP_TOKEN_PREFIX": "Bearer ", "VUE_APP_NEED_LOGIN_CODE": 401, "VUE_APP_IS_DEBUG": true, "VUE_APP_DEBUG_TOKEN": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiIwMTQzOTEiLCJyblN0ciI6ImZ0ejhnaFpLMWR4ejhnOTFDZkJUMXQxVWNJajF3R3c1In0.tgI4iGOJ8OrjoqWIqC2pjH7J52l6H7wyuUwJATKIVns" }.VUE_APP_DEBUG_TOKEN;
|
|
2970
2969
|
}
|
|
2971
2970
|
function setToken(token2) {
|
|
2972
2971
|
setCacheValueByKey(TOKEN_KEY, token2);
|
|
@@ -3295,6 +3294,20 @@ var __async = (__this, __arguments, generator) => {
|
|
|
3295
3294
|
data: data2
|
|
3296
3295
|
});
|
|
3297
3296
|
};
|
|
3297
|
+
const part_children = (data2) => {
|
|
3298
|
+
return service$3({
|
|
3299
|
+
url: vm.urlCallback() + "/ac-api/part/children",
|
|
3300
|
+
method: "POST",
|
|
3301
|
+
data: data2
|
|
3302
|
+
});
|
|
3303
|
+
};
|
|
3304
|
+
const part_detail = (data2) => {
|
|
3305
|
+
return service$3({
|
|
3306
|
+
url: vm.urlCallback() + "/ac-api/part/detail",
|
|
3307
|
+
method: "POST",
|
|
3308
|
+
data: data2
|
|
3309
|
+
});
|
|
3310
|
+
};
|
|
3298
3311
|
var ApiUtil = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3299
3312
|
__proto__: null,
|
|
3300
3313
|
process_can_apply,
|
|
@@ -3310,7 +3323,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
3310
3323
|
get_wxuser_by_id,
|
|
3311
3324
|
wx_user_list,
|
|
3312
3325
|
file_upload,
|
|
3313
|
-
auth_get_user_info
|
|
3326
|
+
auth_get_user_info,
|
|
3327
|
+
part_children,
|
|
3328
|
+
part_detail
|
|
3314
3329
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3315
3330
|
function noop() {
|
|
3316
3331
|
}
|
|
@@ -10200,6 +10215,32 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10200
10215
|
}
|
|
10201
10216
|
return res[res.length - 1];
|
|
10202
10217
|
};
|
|
10218
|
+
const findPaths = (targetId, nodes, path = []) => {
|
|
10219
|
+
var _a;
|
|
10220
|
+
if (!nodes || nodes.length < 1 || !targetId)
|
|
10221
|
+
return [];
|
|
10222
|
+
for (const node of nodes) {
|
|
10223
|
+
if (node.id === targetId) {
|
|
10224
|
+
return [...path, node];
|
|
10225
|
+
}
|
|
10226
|
+
if ((_a = node.children) == null ? void 0 : _a.length) {
|
|
10227
|
+
const founds = findPaths(targetId, node.children, [...path, node]);
|
|
10228
|
+
if (founds && founds.length > 0)
|
|
10229
|
+
return founds;
|
|
10230
|
+
}
|
|
10231
|
+
}
|
|
10232
|
+
return [];
|
|
10233
|
+
};
|
|
10234
|
+
const findParent = (id, nodes) => {
|
|
10235
|
+
if (!nodes || !id) {
|
|
10236
|
+
return null;
|
|
10237
|
+
}
|
|
10238
|
+
let paths = findPaths(id, nodes);
|
|
10239
|
+
if (!paths || paths.length < 2) {
|
|
10240
|
+
return null;
|
|
10241
|
+
}
|
|
10242
|
+
return paths[paths.length - 2];
|
|
10243
|
+
};
|
|
10203
10244
|
const ids2nodes = (ids, totalNodes) => {
|
|
10204
10245
|
if (!totalNodes || totalNodes.length < 1 || !ids || ids.length < 1)
|
|
10205
10246
|
return [];
|
|
@@ -10260,6 +10301,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10260
10301
|
__proto__: null,
|
|
10261
10302
|
findNodes,
|
|
10262
10303
|
findNode,
|
|
10304
|
+
findPaths,
|
|
10305
|
+
findParent,
|
|
10263
10306
|
ids2nodes,
|
|
10264
10307
|
concatNodes,
|
|
10265
10308
|
data2columns,
|
|
@@ -15719,20 +15762,20 @@ var __async = (__this, __arguments, generator) => {
|
|
|
15719
15762
|
}
|
|
15720
15763
|
return target;
|
|
15721
15764
|
};
|
|
15722
|
-
const _hoisted_1$
|
|
15765
|
+
const _hoisted_1$j = {
|
|
15723
15766
|
class: "widget"
|
|
15724
15767
|
};
|
|
15725
|
-
const _hoisted_2$
|
|
15726
|
-
const _hoisted_3$
|
|
15727
|
-
const _hoisted_4$
|
|
15728
|
-
const _hoisted_5$
|
|
15768
|
+
const _hoisted_2$b = /* @__PURE__ */ vue.createTextVNode("\u9A73\u56DE");
|
|
15769
|
+
const _hoisted_3$9 = /* @__PURE__ */ vue.createTextVNode("\u540C\u610F");
|
|
15770
|
+
const _hoisted_4$8 = /* @__PURE__ */ vue.createTextVNode("\u7533\u8BF7");
|
|
15771
|
+
const _hoisted_5$8 = {
|
|
15729
15772
|
key: 4,
|
|
15730
15773
|
class: "audit-title"
|
|
15731
15774
|
};
|
|
15732
|
-
const _hoisted_6$
|
|
15775
|
+
const _hoisted_6$7 = {
|
|
15733
15776
|
class: "task-title"
|
|
15734
15777
|
};
|
|
15735
|
-
const _sfc_main$
|
|
15778
|
+
const _sfc_main$w = {
|
|
15736
15779
|
__name: "AuditBar",
|
|
15737
15780
|
props: {
|
|
15738
15781
|
processId: Number,
|
|
@@ -15962,7 +16005,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
15962
16005
|
const _component_van_popover = vue.resolveComponent("van-popover");
|
|
15963
16006
|
const _component_van_step = vue.resolveComponent("van-step");
|
|
15964
16007
|
const _component_van_steps = vue.resolveComponent("van-steps");
|
|
15965
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
16008
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [vue.unref(canPass) || vue.unref(canRefuse) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
15966
16009
|
key: 0,
|
|
15967
16010
|
modelValue: data2.memo,
|
|
15968
16011
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data2.memo = $event),
|
|
@@ -15983,7 +16026,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
15983
16026
|
type: "danger",
|
|
15984
16027
|
onClick: onRefuse
|
|
15985
16028
|
}, {
|
|
15986
|
-
default: vue.withCtx(() => [_hoisted_2$
|
|
16029
|
+
default: vue.withCtx(() => [_hoisted_2$b]),
|
|
15987
16030
|
_: 1
|
|
15988
16031
|
})]),
|
|
15989
16032
|
_: 1
|
|
@@ -15994,7 +16037,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
15994
16037
|
"native-type": "submit",
|
|
15995
16038
|
onClick: onPass
|
|
15996
16039
|
}, {
|
|
15997
|
-
default: vue.withCtx(() => [_hoisted_3$
|
|
16040
|
+
default: vue.withCtx(() => [_hoisted_3$9]),
|
|
15998
16041
|
_: 1
|
|
15999
16042
|
})) : vue.createCommentVNode("", true), data2.canApply ? (vue.openBlock(), vue.createBlock(_component_van_button, {
|
|
16000
16043
|
key: 3,
|
|
@@ -16003,9 +16046,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16003
16046
|
"native-type": "submit",
|
|
16004
16047
|
onClick: onApply
|
|
16005
16048
|
}, {
|
|
16006
|
-
default: vue.withCtx(() => [_hoisted_4$
|
|
16049
|
+
default: vue.withCtx(() => [_hoisted_4$8]),
|
|
16007
16050
|
_: 1
|
|
16008
|
-
})) : vue.createCommentVNode("", true), data2.process && data2.process.id ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
16051
|
+
})) : vue.createCommentVNode("", true), data2.process && data2.process.id ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$8, vue.toDisplayString(vue.unref(formatProcessTitle)), 1)) : vue.createCommentVNode("", true), data2.process && data2.process.id ? (vue.openBlock(), vue.createBlock(_component_van_steps, {
|
|
16009
16052
|
key: 5,
|
|
16010
16053
|
class: "task-list",
|
|
16011
16054
|
direction: "vertical",
|
|
@@ -16015,7 +16058,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16015
16058
|
return vue.openBlock(), vue.createBlock(_component_van_step, {
|
|
16016
16059
|
key: i
|
|
16017
16060
|
}, {
|
|
16018
|
-
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_6$
|
|
16061
|
+
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_6$7, vue.toDisplayString(formatTitle(task)), 1), task.executors ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, {
|
|
16019
16062
|
key: 0
|
|
16020
16063
|
}, vue.renderList(task.executors, (executor, j) => {
|
|
16021
16064
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -16031,7 +16074,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16031
16074
|
};
|
|
16032
16075
|
}
|
|
16033
16076
|
};
|
|
16034
|
-
var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16077
|
+
var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-87892c3e"]]);
|
|
16035
16078
|
const isClient = typeof window !== "undefined" && typeof document !== "undefined";
|
|
16036
16079
|
typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
|
16037
16080
|
const isDef = (val) => typeof val !== "undefined";
|
|
@@ -16099,7 +16142,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16099
16142
|
}
|
|
16100
16143
|
}
|
|
16101
16144
|
var Input_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-5653f0d0] .label {\n color: #000 !important;\n}\n[data-v-5653f0d0] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
16102
|
-
const _sfc_main$
|
|
16145
|
+
const _sfc_main$v = {
|
|
16103
16146
|
__name: "Input",
|
|
16104
16147
|
props: {
|
|
16105
16148
|
modelValue: {
|
|
@@ -16175,9 +16218,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16175
16218
|
};
|
|
16176
16219
|
}
|
|
16177
16220
|
};
|
|
16178
|
-
var Input = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16221
|
+
var Input = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-5653f0d0"]]);
|
|
16179
16222
|
var SinglePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-24e62c3a] .label {\n color: #000 !important;\n}\n[data-v-24e62c3a] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
16180
|
-
const _sfc_main$
|
|
16223
|
+
const _sfc_main$u = {
|
|
16181
16224
|
__name: "SinglePicker",
|
|
16182
16225
|
props: {
|
|
16183
16226
|
id: String,
|
|
@@ -16293,16 +16336,16 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16293
16336
|
};
|
|
16294
16337
|
}
|
|
16295
16338
|
};
|
|
16296
|
-
var SinglePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16339
|
+
var SinglePicker = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-24e62c3a"]]);
|
|
16297
16340
|
var DataPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-box[data-v-10d79413] {\r\n min-height: 20vh;\r\n max-height: 40vh;\r\n overflow-y: auto;\n.checkbox-list[data-v-10d79413] {\r\n padding: 15px 25px;\n[data-v-10d79413] .van-checkbox__label {\r\n flex: 1;\r\n text-align: right;\n}\n}\n}\n.select-all-container[data-v-10d79413] {\r\n font-size: 14px;\r\n padding: 15px 25px 0 15px;\r\n margin: 10px 0;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\n}\n.select-all-container .van-checkbox[data-v-10d79413] {\r\n margin-left: auto;\n}\r\n\r\n/* \u65B0\u589E\uFF1A\u8C03\u6574\u65B9\u5F62\u590D\u9009\u6846\u7684\u8FB9\u8DDD */\n.van-checkbox--square[data-v-10d79413] {\r\n margin-left: 8px;\n}\r\n")();
|
|
16298
|
-
const _hoisted_1$
|
|
16341
|
+
const _hoisted_1$i = {
|
|
16299
16342
|
class: "select-all-container"
|
|
16300
16343
|
};
|
|
16301
|
-
const _hoisted_2$
|
|
16302
|
-
const _hoisted_3$
|
|
16344
|
+
const _hoisted_2$a = /* @__PURE__ */ vue.createTextVNode("\u5168\u9009");
|
|
16345
|
+
const _hoisted_3$8 = {
|
|
16303
16346
|
class: "checkbox-list"
|
|
16304
16347
|
};
|
|
16305
|
-
const _sfc_main$
|
|
16348
|
+
const _sfc_main$t = {
|
|
16306
16349
|
__name: "DataPop",
|
|
16307
16350
|
props: {
|
|
16308
16351
|
show: {
|
|
@@ -16349,16 +16392,16 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16349
16392
|
position: "bottom",
|
|
16350
16393
|
class: "popup-box"
|
|
16351
16394
|
}, {
|
|
16352
|
-
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
16395
|
+
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$i, [vue.createVNode(_component_van_checkbox, {
|
|
16353
16396
|
shape: "square",
|
|
16354
16397
|
modelValue: data2.isAllChecked,
|
|
16355
16398
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data2.isAllChecked = $event),
|
|
16356
16399
|
onClick: onToggleAll,
|
|
16357
16400
|
"label-position": "left"
|
|
16358
16401
|
}, {
|
|
16359
|
-
default: vue.withCtx(() => [_hoisted_2$
|
|
16402
|
+
default: vue.withCtx(() => [_hoisted_2$a]),
|
|
16360
16403
|
_: 1
|
|
16361
|
-
}, 8, ["modelValue"])]), vue.createElementVNode("div", _hoisted_3$
|
|
16404
|
+
}, 8, ["modelValue"])]), vue.createElementVNode("div", _hoisted_3$8, [vue.createVNode(_component_van_checkbox_group, {
|
|
16362
16405
|
modelValue: vue.unref(modelValue),
|
|
16363
16406
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(modelValue) ? modelValue.value = $event : null),
|
|
16364
16407
|
direction: "vertical"
|
|
@@ -16383,12 +16426,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16383
16426
|
};
|
|
16384
16427
|
}
|
|
16385
16428
|
};
|
|
16386
|
-
var DataPop = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16429
|
+
var DataPop = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-10d79413"]]);
|
|
16387
16430
|
var MultiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.data-item[data-v-95e8cb3c]{\r\n margin: 0 8px 8px 0;\r\n padding: 2px 5px;\n}\r\n")();
|
|
16388
|
-
const _hoisted_1$
|
|
16431
|
+
const _hoisted_1$h = {
|
|
16389
16432
|
class: "data-list"
|
|
16390
16433
|
};
|
|
16391
|
-
const _sfc_main$
|
|
16434
|
+
const _sfc_main$s = {
|
|
16392
16435
|
__name: "MultiPicker",
|
|
16393
16436
|
props: {
|
|
16394
16437
|
id: String,
|
|
@@ -16501,7 +16544,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16501
16544
|
_: 2
|
|
16502
16545
|
}, [vue.unref(selectOptions).length > 0 ? {
|
|
16503
16546
|
name: "input",
|
|
16504
|
-
fn: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
16547
|
+
fn: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$h, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(selectOptions), (item, i) => {
|
|
16505
16548
|
return vue.openBlock(), vue.createBlock(_component_van_tag, {
|
|
16506
16549
|
class: "data-item",
|
|
16507
16550
|
closeable: !vue.unref(isDisabled),
|
|
@@ -16524,9 +16567,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16524
16567
|
};
|
|
16525
16568
|
}
|
|
16526
16569
|
};
|
|
16527
|
-
var MultiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16570
|
+
var MultiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-95e8cb3c"]]);
|
|
16528
16571
|
var CheckGroup_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-7f5a06de] .label {\n color: #000 !important;\n}\n[data-v-7f5a06de] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
16529
|
-
const _sfc_main$
|
|
16572
|
+
const _sfc_main$r = {
|
|
16530
16573
|
__name: "CheckGroup",
|
|
16531
16574
|
props: {
|
|
16532
16575
|
id: {
|
|
@@ -16650,8 +16693,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16650
16693
|
};
|
|
16651
16694
|
}
|
|
16652
16695
|
};
|
|
16653
|
-
var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16654
|
-
const _sfc_main$
|
|
16696
|
+
var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-7f5a06de"]]);
|
|
16697
|
+
const _sfc_main$q = {
|
|
16655
16698
|
__name: "DatetimePop",
|
|
16656
16699
|
props: {
|
|
16657
16700
|
isShow: {
|
|
@@ -16933,7 +16976,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
16933
16976
|
};
|
|
16934
16977
|
}
|
|
16935
16978
|
};
|
|
16936
|
-
const _sfc_main$
|
|
16979
|
+
const _sfc_main$p = {
|
|
16937
16980
|
__name: "index",
|
|
16938
16981
|
props: {
|
|
16939
16982
|
modelValue: {
|
|
@@ -17028,7 +17071,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17028
17071
|
}, {
|
|
17029
17072
|
input: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(formatTime(props.modelValue)), 1)]),
|
|
17030
17073
|
_: 1
|
|
17031
|
-
}, 8, ["modelValue", "label", "placeholder", "required", "rules", "is-link"])) : vue.createCommentVNode("", true), vue.createVNode(_sfc_main$
|
|
17074
|
+
}, 8, ["modelValue", "label", "placeholder", "required", "rules", "is-link"])) : vue.createCommentVNode("", true), vue.createVNode(_sfc_main$q, {
|
|
17032
17075
|
isShow: data2.isShow,
|
|
17033
17076
|
"onUpdate:isShow": _cache[1] || (_cache[1] = ($event) => data2.isShow = $event),
|
|
17034
17077
|
modelValue: vue.unref(modelValue),
|
|
@@ -17041,23 +17084,23 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17041
17084
|
}
|
|
17042
17085
|
};
|
|
17043
17086
|
var data_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-style[data-v-57cfd397] {\r\n height: 21.25rem;\n}\n.showMultipleButton[data-v-57cfd397] {\r\n padding-bottom: 0;\n}\n.showMultipleButton .van-button[data-v-57cfd397] {\r\n border: 0;\n}\n.flex-between[data-v-57cfd397] {\r\n padding: 10px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.bold[data-v-57cfd397] {\r\n font-weight: bold;\r\n color: #444;\n}\n.checkbox-style[data-v-57cfd397] {\r\n /* height: 220px; */\r\n height: calc(220px - 30px); \r\n overflow-y: auto;\n}\n.select-all-container[data-v-57cfd397] {\r\n font-size: 14px;\r\n padding: 0 16px;\r\n margin: 10px 0;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\n}\n.select-all-container .van-checkbox[data-v-57cfd397] {\r\n margin-left: auto;\n}\r\n\r\n/* \u65B0\u589E\uFF1A\u8C03\u6574\u65B9\u5F62\u590D\u9009\u6846\u7684\u8FB9\u8DDD */\n.van-checkbox--square[data-v-57cfd397] {\r\n margin-left: 8px;\n}\r\n \r\n")();
|
|
17044
|
-
const _hoisted_1$
|
|
17087
|
+
const _hoisted_1$g = {
|
|
17045
17088
|
class: "pad10 flex-between showMultipleButton"
|
|
17046
17089
|
};
|
|
17047
|
-
const _hoisted_2$
|
|
17048
|
-
const _hoisted_3$
|
|
17090
|
+
const _hoisted_2$9 = /* @__PURE__ */ vue.createTextVNode("\u53D6\u6D88");
|
|
17091
|
+
const _hoisted_3$7 = {
|
|
17049
17092
|
class: "bold"
|
|
17050
17093
|
};
|
|
17051
|
-
const _hoisted_4$
|
|
17052
|
-
const _hoisted_5$
|
|
17094
|
+
const _hoisted_4$7 = /* @__PURE__ */ vue.createTextVNode("\u786E\u5B9A");
|
|
17095
|
+
const _hoisted_5$7 = {
|
|
17053
17096
|
key: 0,
|
|
17054
17097
|
class: "select-all-container"
|
|
17055
17098
|
};
|
|
17056
|
-
const _hoisted_6$
|
|
17057
|
-
const _hoisted_7$
|
|
17099
|
+
const _hoisted_6$6 = /* @__PURE__ */ vue.createTextVNode("\u5168\u9009");
|
|
17100
|
+
const _hoisted_7$6 = {
|
|
17058
17101
|
class: "checkbox-style"
|
|
17059
17102
|
};
|
|
17060
|
-
const _sfc_main$
|
|
17103
|
+
const _sfc_main$o = {
|
|
17061
17104
|
__name: "data_selector",
|
|
17062
17105
|
props: {
|
|
17063
17106
|
mode: {
|
|
@@ -17244,20 +17287,20 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17244
17287
|
position: "bottom",
|
|
17245
17288
|
class: "popup-style"
|
|
17246
17289
|
}, {
|
|
17247
|
-
default: vue.withCtx(() => [vue.createElementVNode("div", null, [vue.createElementVNode("div", _hoisted_1$
|
|
17290
|
+
default: vue.withCtx(() => [vue.createElementVNode("div", null, [vue.createElementVNode("div", _hoisted_1$g, [vue.createVNode(_component_van_button, {
|
|
17248
17291
|
plain: "",
|
|
17249
17292
|
size: "normal",
|
|
17250
17293
|
onClick: cancelSelection
|
|
17251
17294
|
}, {
|
|
17252
|
-
default: vue.withCtx(() => [_hoisted_2$
|
|
17295
|
+
default: vue.withCtx(() => [_hoisted_2$9]),
|
|
17253
17296
|
_: 1
|
|
17254
|
-
}), vue.createElementVNode("div", _hoisted_3$
|
|
17297
|
+
}), vue.createElementVNode("div", _hoisted_3$7, vue.toDisplayString(__props.label), 1), vue.createVNode(_component_van_button, {
|
|
17255
17298
|
plain: "",
|
|
17256
17299
|
type: "primary",
|
|
17257
17300
|
size: "normal",
|
|
17258
17301
|
onClick: confirmSelection
|
|
17259
17302
|
}, {
|
|
17260
|
-
default: vue.withCtx(() => [_hoisted_4$
|
|
17303
|
+
default: vue.withCtx(() => [_hoisted_4$7]),
|
|
17261
17304
|
_: 1
|
|
17262
17305
|
})]), vue.createVNode(_component_van_field, {
|
|
17263
17306
|
"left-icon": "search",
|
|
@@ -17268,16 +17311,16 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17268
17311
|
},
|
|
17269
17312
|
clearable: "",
|
|
17270
17313
|
placeholder: "\u8BF7\u8F93\u5165\u641C\u7D22\u5173\u952E\u5B57"
|
|
17271
|
-
}, null, 8, ["modelValue"]), __props.mode === "multiple" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
17314
|
+
}, null, 8, ["modelValue"]), __props.mode === "multiple" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$7, [vue.createVNode(_component_van_checkbox, {
|
|
17272
17315
|
shape: "square",
|
|
17273
17316
|
modelValue: isAllChecked.value,
|
|
17274
17317
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isAllChecked.value = $event),
|
|
17275
17318
|
onClick: toggleAllSelect,
|
|
17276
17319
|
"label-position": "left"
|
|
17277
17320
|
}, {
|
|
17278
|
-
default: vue.withCtx(() => [_hoisted_6$
|
|
17321
|
+
default: vue.withCtx(() => [_hoisted_6$6]),
|
|
17279
17322
|
_: 1
|
|
17280
|
-
}, 8, ["modelValue"])])) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_7$
|
|
17323
|
+
}, 8, ["modelValue"])])) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_7$6, [__props.mode === "multiple" ? (vue.openBlock(), vue.createBlock(_component_van_checkbox_group, {
|
|
17281
17324
|
key: 0,
|
|
17282
17325
|
modelValue: checkedValue.value,
|
|
17283
17326
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => checkedValue.value = $event)
|
|
@@ -17332,16 +17375,16 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17332
17375
|
};
|
|
17333
17376
|
}
|
|
17334
17377
|
};
|
|
17335
|
-
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17378
|
+
var DataSelector = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-57cfd397"]]);
|
|
17336
17379
|
var mult_list_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\r\n/* // \u4FEE\u6539 confirmation-group \u548C confirmation-item \u7684\u6837\u5F0F */\n.confirmation-group[data-v-40a09897] {\r\n padding: 0 16px;\r\n --van-checkbox-disabled-icon-color: black;\n}\n.confirmation-item[data-v-40a09897] {\r\n padding: 12px 16px;\r\n margin: 0 -16px;\r\n border-bottom: 1px solid #f5f5f5;\r\n /* \u7981\u7528\u72B6\u6001\u6837\u5F0F */\n}\r\n\r\n/* // \u5728\u4E0B\u65B9\u6DFB\u52A0\u5A92\u4F53\u67E5\u8BE2\u9002\u914D\u5C0F\u5C4F\u5E55 */\n@media (max-width: 320px) {\n.confirmation-item[data-v-40a09897] {\r\n padding: 12px 8px;\r\n margin: 0 -8px;\n}\n}\n.confirmation-item[data-v-40a09897]:last-child {\r\n border-bottom: none;\n}\r\n\r\n/* \u65B0\u589E\u6837\u5F0F */\n.confirmation-tips[data-v-40a09897] {\r\n padding: 12px 16px;\r\n background: #f0faff;\r\n border-radius: 8px;\r\n margin: 10px 16px;\r\n display: flex;\r\n align-items: center;\r\n color: #1989fa;\r\n font-size: 13px;\r\n border: 1px solid #d9efff;\n}\n.confirmation-tips .van-icon[data-v-40a09897] {\r\n margin-right: 8px;\n}\r\n\r\n/* \u65B0\u589E\u5B57\u4F53\u7EE7\u627F\u6837\u5F0F */\n.confirmation-group[data-v-40a09897] {\r\n font-size: inherit; /* \u7EE7\u627F\u7236\u7EA7\u5B57\u4F53\u5927\u5C0F */\n}\n.option-text[data-v-40a09897] {\r\n font-size: 14px; /* \u660E\u786E\u6307\u5B9A\u5B57\u4F53\u5927\u5C0F */\r\n line-height: 1.5; /* \u4FDD\u6301\u884C\u9AD8\u4E00\u81F4 */\r\n /* color:black; */\n}\r\n\r\n/* \u9002\u914D\u79FB\u52A8\u7AEF\u7684\u5B57\u4F53\u8C03\u6574 */\n@media (max-width: 375px) {\n.option-text[data-v-40a09897] {\r\n font-size: 13px;\n}\n}\r\n\r\n/* \u65B0\u589E\u7981\u7528\u72B6\u6001\u6837\u5F0F */\n.custom-checkbox[data-v-40a09897]:disabled .--van-checkbox__icon {\r\n background-color: #f5f5f5;\r\n border-color: #ebedf0;\r\n transition: all 0.3s;\n}\n.custom-checkbox[data-v-40a09897]:disabled .van-checkbox__icon--checked {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\r\n opacity: 0.7;\n}\n.van-checkbox--disabled[data-v-40a09897] .option-text {\r\n color: #969799;\n}\n.van-checkbox--disabled.van-checkbox--checked[data-v-40a09897] .option-text {\r\n color: #1989fa;\r\n opacity: 0.8;\n}\r\n")();
|
|
17337
|
-
const _hoisted_1$
|
|
17380
|
+
const _hoisted_1$f = {
|
|
17338
17381
|
key: 0,
|
|
17339
17382
|
class: "confirmation-tips"
|
|
17340
17383
|
};
|
|
17341
|
-
const _hoisted_2$
|
|
17384
|
+
const _hoisted_2$8 = {
|
|
17342
17385
|
class: "option-text"
|
|
17343
17386
|
};
|
|
17344
|
-
const _sfc_main$
|
|
17387
|
+
const _sfc_main$n = {
|
|
17345
17388
|
__name: "mult_list_selector",
|
|
17346
17389
|
props: {
|
|
17347
17390
|
options: {
|
|
@@ -17376,7 +17419,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17376
17419
|
const _component_van_icon = vue.resolveComponent("van-icon");
|
|
17377
17420
|
const _component_van_checkbox = vue.resolveComponent("van-checkbox");
|
|
17378
17421
|
const _component_van_checkbox_group = vue.resolveComponent("van-checkbox-group");
|
|
17379
|
-
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [__props.tips && __props.tips.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17422
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [__props.tips && __props.tips.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [vue.createVNode(_component_van_icon, {
|
|
17380
17423
|
name: "info",
|
|
17381
17424
|
color: "#1989fa"
|
|
17382
17425
|
}), vue.createElementVNode("span", null, vue.toDisplayString(__props.tips), 1)])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_checkbox_group, {
|
|
@@ -17397,7 +17440,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17397
17440
|
"icon-size": "18px",
|
|
17398
17441
|
class: "custom-checkbox"
|
|
17399
17442
|
}, {
|
|
17400
|
-
default: vue.withCtx(() => [vue.createElementVNode("span", _hoisted_2$
|
|
17443
|
+
default: vue.withCtx(() => [vue.createElementVNode("span", _hoisted_2$8, vue.toDisplayString(item.label), 1)]),
|
|
17401
17444
|
_: 2
|
|
17402
17445
|
}, 1032, ["name"])]);
|
|
17403
17446
|
}), 128))]),
|
|
@@ -17406,12 +17449,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17406
17449
|
};
|
|
17407
17450
|
}
|
|
17408
17451
|
};
|
|
17409
|
-
var MultListSelector = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17452
|
+
var MultListSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-40a09897"]]);
|
|
17410
17453
|
var product_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.project-selector[data-v-dbc5bf54] {\n[data-v-dbc5bf54] .van-cell {\r\n align-items: center;\n}\n[data-v-dbc5bf54] .van-field__label {\r\n width: 90px;\r\n flex: none;\n}\n.readonly-field[data-v-dbc5bf54] {\n[data-v-dbc5bf54] .van-field__control {\r\n color: #323233;\r\n /* \u4FEE\u6539\u6587\u5B57\u989C\u8272\u4E0E\u666E\u901A\u5B57\u6BB5\u4E00\u81F4 */\r\n padding-right: 16px;\n}\r\n\r\n /* \u6DFB\u52A0\u5FC5\u586B\u661F\u53F7\u5BF9\u9F50 */\n&.van-field--required[data-v-dbc5bf54] {\n[data-v-dbc5bf54] .van-field__label::before {\r\n margin-right: 4px;\n}\n}\n}\r\n\r\n /* \u7EDF\u4E00\u5B57\u6BB5\u95F4\u8DDD */\n.readonly-field[data-v-dbc5bf54] {\r\n margin: 4px 0;\n}\n}\r\n")();
|
|
17411
|
-
const _hoisted_1$
|
|
17454
|
+
const _hoisted_1$e = {
|
|
17412
17455
|
class: "project-selector"
|
|
17413
17456
|
};
|
|
17414
|
-
const _sfc_main$
|
|
17457
|
+
const _sfc_main$m = {
|
|
17415
17458
|
__name: "product_selector",
|
|
17416
17459
|
props: {
|
|
17417
17460
|
modelValue: {
|
|
@@ -17515,7 +17558,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17515
17558
|
}));
|
|
17516
17559
|
return (_ctx, _cache) => {
|
|
17517
17560
|
const _component_van_field = vue.resolveComponent("van-field");
|
|
17518
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17561
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [vue.createVNode(DataSelector, {
|
|
17519
17562
|
modelValue: selectedProjectCode.value,
|
|
17520
17563
|
"onUpdate:modelValue": [_cache[0] || (_cache[0] = ($event) => selectedProjectCode.value = $event), handleProjectChange],
|
|
17521
17564
|
label: "\u4EA7\u54C1\u540D\u79F0",
|
|
@@ -17538,36 +17581,36 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17538
17581
|
};
|
|
17539
17582
|
}
|
|
17540
17583
|
};
|
|
17541
|
-
var ProductSelector = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17584
|
+
var ProductSelector = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-dbc5bf54"]]);
|
|
17542
17585
|
var subdepartment_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.department-popup[data-v-73eb43f3] {\r\n width: 100%;\r\n height: 60vh;\r\n border-radius: 16px 16px 0 0;\n}\n.popup-container[data-v-73eb43f3] {\r\n display: flex;\r\n flex-direction: column;\r\n flex: 1;\r\n height: 100%;\n}\n.picker-header[data-v-73eb43f3] {\r\n display: flex;\r\n align-items: center;\r\n padding: 12px;\r\n border-bottom: 1px solid #ebedf0;\r\n gap: 8px;\r\n background: #fff;\r\n /* flex-shrink: 0; */\r\n position: sticky;\r\n top: 0;\r\n z-index: 999;\r\n height: 56px;\r\n /* \u56FA\u5B9A\u5934\u90E8\u9AD8\u5EA6 */\r\n flex-shrink: 0;\r\n /* \u9632\u6B62\u5934\u90E8\u88AB\u538B\u7F29 */\n}\n.scroll-container[data-v-73eb43f3] {\r\n flex: 1;\r\n height: 0;\r\n overflow-y: auto;\r\n -webkit-overflow-scrolling: touch;\r\n /* height: calc(80vh - 170px); */\r\n /* \u8BA1\u7B97\u65B9\u5F0F\uFF1A\u603B\u9AD8\u5EA6(80vh) - \u5934\u90E8\u9AD8\u5EA6(56px) - \u641C\u7D22\u6846\u9AD8\u5EA6(52px) */\r\n position: relative;\r\n top: -1px;\n}\n.back-button[data-v-73eb43f3] {\r\n margin-right: 8px;\n}\n.current-path[data-v-73eb43f3] {\r\n flex: 1;\r\n font-size: 14px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.action-buttons[data-v-73eb43f3] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\r\n\r\n/* .scroll-container {\r\n flex: 1;\r\n overflow-y: auto;\r\n -webkit-overflow-scrolling: touch;\r\n} */\n.cell-content[data-v-73eb43f3] {\r\n display: flex;\r\n align-items: center;\r\n gap: 12px;\n}\n.circle-selector[data-v-73eb43f3] {\r\n width: 20px;\r\n height: 20px;\r\n border: 1px solid #ebedf0;\r\n border-radius: 50%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n transition: all 0.2s;\r\n flex-shrink: 0;\n}\n.circle-selector.selected[data-v-73eb43f3] {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\n}\n.circle-selector.selected .van-icon[data-v-73eb43f3] {\r\n color: white;\r\n font-size: 14px;\n}\n.van-cell__right-icon[data-v-73eb43f3] {\r\n color: #969799;\r\n font-size: 16px;\r\n margin-left: 8px;\n}\n.name[data-v-73eb43f3] {\r\n flex: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\n}\n.cancel-btn[data-v-73eb43f3] {\r\n color: #969799;\n}\n.search-field[data-v-73eb43f3] {\r\n background: #fff;\r\n padding: 10px 16px;\r\n border-bottom: 1px solid #ebedf0;\r\n position: sticky;\r\n top: 0;\r\n z-index: 999;\r\n margin-bottom: 10px;\r\n flex-shrink: 0;\r\n /* \u9632\u6B62\u538B\u7F29 */\n}\r\n")();
|
|
17543
|
-
const _hoisted_1$
|
|
17586
|
+
const _hoisted_1$d = {
|
|
17544
17587
|
class: "department-selector"
|
|
17545
17588
|
};
|
|
17546
|
-
const _hoisted_2$
|
|
17589
|
+
const _hoisted_2$7 = {
|
|
17547
17590
|
class: "popup-container"
|
|
17548
17591
|
};
|
|
17549
|
-
const _hoisted_3$
|
|
17592
|
+
const _hoisted_3$6 = {
|
|
17550
17593
|
class: "picker-header"
|
|
17551
17594
|
};
|
|
17552
|
-
const _hoisted_4$
|
|
17595
|
+
const _hoisted_4$6 = {
|
|
17553
17596
|
class: "current-path"
|
|
17554
17597
|
};
|
|
17555
|
-
const _hoisted_5$
|
|
17598
|
+
const _hoisted_5$6 = {
|
|
17556
17599
|
class: "action-buttons"
|
|
17557
17600
|
};
|
|
17558
|
-
const _hoisted_6$
|
|
17559
|
-
const _hoisted_7$
|
|
17560
|
-
const _hoisted_8$
|
|
17601
|
+
const _hoisted_6$5 = /* @__PURE__ */ vue.createTextVNode(" \u53D6\u6D88 ");
|
|
17602
|
+
const _hoisted_7$5 = /* @__PURE__ */ vue.createTextVNode(" \u786E\u5B9A ");
|
|
17603
|
+
const _hoisted_8$5 = {
|
|
17561
17604
|
class: "scroll-container"
|
|
17562
17605
|
};
|
|
17563
|
-
const _hoisted_9$
|
|
17606
|
+
const _hoisted_9$2 = {
|
|
17564
17607
|
class: "cell-content"
|
|
17565
17608
|
};
|
|
17566
|
-
const _hoisted_10$
|
|
17567
|
-
const _hoisted_11$
|
|
17609
|
+
const _hoisted_10$2 = ["onClick"];
|
|
17610
|
+
const _hoisted_11$2 = {
|
|
17568
17611
|
class: "name"
|
|
17569
17612
|
};
|
|
17570
|
-
const _sfc_main$
|
|
17613
|
+
const _sfc_main$l = {
|
|
17571
17614
|
__name: "subdepartment_selector",
|
|
17572
17615
|
props: {
|
|
17573
17616
|
modelValue: [String, Number],
|
|
@@ -17810,7 +17853,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17810
17853
|
const _component_van_cell = vue.resolveComponent("van-cell");
|
|
17811
17854
|
const _component_van_cell_group = vue.resolveComponent("van-cell-group");
|
|
17812
17855
|
const _component_van_popup = vue.resolveComponent("van-popup");
|
|
17813
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17856
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
17814
17857
|
key: 0,
|
|
17815
17858
|
"model-value": selectedDepartmentPath.value,
|
|
17816
17859
|
readonly: "",
|
|
@@ -17830,18 +17873,18 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17830
17873
|
position: "bottom",
|
|
17831
17874
|
class: "department-popup"
|
|
17832
17875
|
}, {
|
|
17833
|
-
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$
|
|
17876
|
+
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$7, [vue.createElementVNode("div", _hoisted_3$6, [vue.unref(currentLevel) > 0 ? (vue.openBlock(), vue.createBlock(_component_van_button, {
|
|
17834
17877
|
key: 0,
|
|
17835
17878
|
onClick: goBack,
|
|
17836
17879
|
icon: "arrow-left",
|
|
17837
17880
|
size: "small",
|
|
17838
17881
|
class: "back-button"
|
|
17839
|
-
})) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_4$
|
|
17882
|
+
})) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_4$6, vue.toDisplayString(vue.unref(currentPath)), 1), vue.createElementVNode("div", _hoisted_5$6, [vue.createVNode(_component_van_button, {
|
|
17840
17883
|
size: "small",
|
|
17841
17884
|
onClick: handleCancel,
|
|
17842
17885
|
class: "cancel-btn"
|
|
17843
17886
|
}, {
|
|
17844
|
-
default: vue.withCtx(() => [_hoisted_6$
|
|
17887
|
+
default: vue.withCtx(() => [_hoisted_6$5]),
|
|
17845
17888
|
_: 1
|
|
17846
17889
|
}), vue.createVNode(_component_van_button, {
|
|
17847
17890
|
type: "primary",
|
|
@@ -17850,7 +17893,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17850
17893
|
disabled: !tempSelectedDepartment.value,
|
|
17851
17894
|
class: "confirm-btn"
|
|
17852
17895
|
}, {
|
|
17853
|
-
default: vue.withCtx(() => [_hoisted_7$
|
|
17896
|
+
default: vue.withCtx(() => [_hoisted_7$5]),
|
|
17854
17897
|
_: 1
|
|
17855
17898
|
}, 8, ["disabled"])])]), vue.createVNode(_component_van_field, {
|
|
17856
17899
|
"left-icon": "search",
|
|
@@ -17862,7 +17905,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17862
17905
|
clearable: "",
|
|
17863
17906
|
placeholder: "\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0\u641C\u7D22",
|
|
17864
17907
|
class: "search-field"
|
|
17865
|
-
}, null, 8, ["modelValue"]), vue.createElementVNode("div", _hoisted_8$
|
|
17908
|
+
}, null, 8, ["modelValue"]), vue.createElementVNode("div", _hoisted_8$5, [vue.createVNode(_component_van_cell_group, null, {
|
|
17866
17909
|
default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(filteredDepartments), (item, index) => {
|
|
17867
17910
|
return vue.openBlock(), vue.createBlock(_component_van_cell, {
|
|
17868
17911
|
key: index,
|
|
@@ -17871,7 +17914,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17871
17914
|
}, {
|
|
17872
17915
|
title: vue.withCtx(() => {
|
|
17873
17916
|
var _a, _b;
|
|
17874
|
-
return [vue.createElementVNode("div", _hoisted_9$
|
|
17917
|
+
return [vue.createElementVNode("div", _hoisted_9$2, [vue.createElementVNode("div", {
|
|
17875
17918
|
class: vue.normalizeClass(["circle-selector", {
|
|
17876
17919
|
"selected": ((_a = tempSelectedDepartment.value) == null ? void 0 : _a.id) === item.id
|
|
17877
17920
|
}]),
|
|
@@ -17879,7 +17922,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17879
17922
|
}, [((_b = tempSelectedDepartment.value) == null ? void 0 : _b.id) === item.id ? (vue.openBlock(), vue.createBlock(_component_van_icon, {
|
|
17880
17923
|
key: 0,
|
|
17881
17924
|
name: "success"
|
|
17882
|
-
})) : vue.createCommentVNode("", true)], 10, _hoisted_10$
|
|
17925
|
+
})) : vue.createCommentVNode("", true)], 10, _hoisted_10$2), vue.createElementVNode("span", _hoisted_11$2, vue.toDisplayString(item.fullPath || item.name), 1)])];
|
|
17883
17926
|
}),
|
|
17884
17927
|
"right-icon": vue.withCtx(() => {
|
|
17885
17928
|
var _a;
|
|
@@ -17898,41 +17941,41 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17898
17941
|
};
|
|
17899
17942
|
}
|
|
17900
17943
|
};
|
|
17901
|
-
var SubdepartmentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17944
|
+
var SubdepartmentSelector = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-73eb43f3"]]);
|
|
17902
17945
|
var user_selector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-6c4b4fc8] {\r\n height: 60vh;\r\n width: 100%;\n}\n.picker-header[data-v-6c4b4fc8] {\r\n padding: 10px;\r\n border-bottom: 1px solid #ebedf0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.scroll-container[data-v-6c4b4fc8] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\n.search-container[data-v-6c4b4fc8] {\r\n padding: 10px;\r\n background: #fff;\r\n display: flex;\r\n align-items: center;\r\n gap: 8px;\n}\n[data-v-6c4b4fc8] .search-container .van-search {\r\n flex: 1;\n}\n.search-btn[data-v-6c4b4fc8] {\r\n flex-shrink: 0;\n}\n.select-all-container[data-v-6c4b4fc8] {\r\n font-size: 14px;\r\n padding: 0 16px;\r\n margin: 10px 0;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\n}\n[data-v-6c4b4fc8] .van-checkbox__icon--square {\r\n border-radius: 4px;\n}\n[data-v-6c4b4fc8] .van-checkbox__label {\r\n margin-left: 8px;\n}\n[data-v-6c4b4fc8] .van-radio-group .van-cell,[data-v-6c4b4fc8] .van-checkbox-group .van-cell {\r\n align-items: center;\n}\n.current-path[data-v-6c4b4fc8] {\r\n flex: 1;\r\n font-size: 14px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.header-right[data-v-6c4b4fc8] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-6c4b4fc8] {\r\n color: #969799;\r\n margin-right: 5px;\n}\r\n")();
|
|
17903
|
-
const _hoisted_1$
|
|
17946
|
+
const _hoisted_1$c = {
|
|
17904
17947
|
class: "user-selector"
|
|
17905
17948
|
};
|
|
17906
|
-
const _hoisted_2$
|
|
17949
|
+
const _hoisted_2$6 = {
|
|
17907
17950
|
class: "popup-container"
|
|
17908
17951
|
};
|
|
17909
|
-
const _hoisted_3$
|
|
17952
|
+
const _hoisted_3$5 = {
|
|
17910
17953
|
class: "picker-header"
|
|
17911
17954
|
};
|
|
17912
|
-
const _hoisted_4$
|
|
17955
|
+
const _hoisted_4$5 = {
|
|
17913
17956
|
class: "header-left"
|
|
17914
17957
|
};
|
|
17915
|
-
const _hoisted_5$
|
|
17958
|
+
const _hoisted_5$5 = {
|
|
17916
17959
|
class: "current-path"
|
|
17917
17960
|
};
|
|
17918
|
-
const _hoisted_6$
|
|
17961
|
+
const _hoisted_6$4 = {
|
|
17919
17962
|
class: "header-right"
|
|
17920
17963
|
};
|
|
17921
|
-
const _hoisted_7$
|
|
17922
|
-
const _hoisted_8$
|
|
17923
|
-
const _hoisted_9 = {
|
|
17964
|
+
const _hoisted_7$4 = /* @__PURE__ */ vue.createTextVNode("\u6E05\u7A7A");
|
|
17965
|
+
const _hoisted_8$4 = /* @__PURE__ */ vue.createTextVNode("\u786E\u5B9A");
|
|
17966
|
+
const _hoisted_9$1 = {
|
|
17924
17967
|
key: 0,
|
|
17925
17968
|
class: "select-all-container"
|
|
17926
17969
|
};
|
|
17927
|
-
const _hoisted_10 = /* @__PURE__ */ vue.createTextVNode(" \u5168\u9009 ");
|
|
17928
|
-
const _hoisted_11 = {
|
|
17970
|
+
const _hoisted_10$1 = /* @__PURE__ */ vue.createTextVNode(" \u5168\u9009 ");
|
|
17971
|
+
const _hoisted_11$1 = {
|
|
17929
17972
|
class: "search-container"
|
|
17930
17973
|
};
|
|
17931
17974
|
const _hoisted_12 = /* @__PURE__ */ vue.createTextVNode("\u641C\u7D22");
|
|
17932
17975
|
const _hoisted_13 = {
|
|
17933
17976
|
class: "scroll-container"
|
|
17934
17977
|
};
|
|
17935
|
-
const _sfc_main$
|
|
17978
|
+
const _sfc_main$k = {
|
|
17936
17979
|
__name: "user_selector",
|
|
17937
17980
|
props: {
|
|
17938
17981
|
modelValue: [Array, String, Number],
|
|
@@ -18285,7 +18328,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18285
18328
|
const _component_van_radio = vue.resolveComponent("van-radio");
|
|
18286
18329
|
const _component_van_radio_group = vue.resolveComponent("van-radio-group");
|
|
18287
18330
|
const _component_van_popup = vue.resolveComponent("van-popup");
|
|
18288
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18331
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
18289
18332
|
key: 0,
|
|
18290
18333
|
"model-value": vue.unref(selectedUserInfo),
|
|
18291
18334
|
clickable: "",
|
|
@@ -18302,18 +18345,18 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18302
18345
|
position: "bottom",
|
|
18303
18346
|
class: "user-popup"
|
|
18304
18347
|
}, {
|
|
18305
|
-
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$
|
|
18348
|
+
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$6, [vue.createElementVNode("div", _hoisted_3$5, [vue.createElementVNode("div", _hoisted_4$5, [vue.unref(currentLevel) > 0 ? (vue.openBlock(), vue.createBlock(_component_van_button, {
|
|
18306
18349
|
key: 0,
|
|
18307
18350
|
onClick: goBack,
|
|
18308
18351
|
icon: "arrow-left",
|
|
18309
18352
|
size: "small",
|
|
18310
18353
|
class: "back-button"
|
|
18311
|
-
})) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_5$
|
|
18354
|
+
})) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_5$5, vue.toDisplayString(vue.unref(currentPath)), 1), vue.createElementVNode("div", _hoisted_6$4, [vue.createVNode(_component_van_button, {
|
|
18312
18355
|
size: "small",
|
|
18313
18356
|
onClick: handleClear,
|
|
18314
18357
|
class: "cancel-btn"
|
|
18315
18358
|
}, {
|
|
18316
|
-
default: vue.withCtx(() => [_hoisted_7$
|
|
18359
|
+
default: vue.withCtx(() => [_hoisted_7$4]),
|
|
18317
18360
|
_: 1
|
|
18318
18361
|
}), vue.createVNode(_component_van_button, {
|
|
18319
18362
|
type: "primary",
|
|
@@ -18321,18 +18364,18 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18321
18364
|
onClick: confirmSelection,
|
|
18322
18365
|
class: "confirm-btn"
|
|
18323
18366
|
}, {
|
|
18324
|
-
default: vue.withCtx(() => [_hoisted_8$
|
|
18367
|
+
default: vue.withCtx(() => [_hoisted_8$4]),
|
|
18325
18368
|
_: 1
|
|
18326
|
-
})])]), __props.mode === "multiple" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, [vue.createVNode(_component_van_checkbox, {
|
|
18369
|
+
})])]), __props.mode === "multiple" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$1, [vue.createVNode(_component_van_checkbox, {
|
|
18327
18370
|
shape: "square",
|
|
18328
18371
|
modelValue: isAllChecked.value,
|
|
18329
18372
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isAllChecked.value = $event),
|
|
18330
18373
|
onClick: toggleAllSelect,
|
|
18331
18374
|
"label-position": "left"
|
|
18332
18375
|
}, {
|
|
18333
|
-
default: vue.withCtx(() => [_hoisted_10]),
|
|
18376
|
+
default: vue.withCtx(() => [_hoisted_10$1]),
|
|
18334
18377
|
_: 1
|
|
18335
|
-
}, 8, ["modelValue"])])) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_11, [vue.createVNode(_component_van_search, {
|
|
18378
|
+
}, 8, ["modelValue"])])) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_11$1, [vue.createVNode(_component_van_search, {
|
|
18336
18379
|
modelValue: searchInput.value,
|
|
18337
18380
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => searchInput.value = $event),
|
|
18338
18381
|
placeholder: "\u8F93\u5165\u5DE5\u53F7\u67E5\u8BE2",
|
|
@@ -18426,12 +18469,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18426
18469
|
};
|
|
18427
18470
|
}
|
|
18428
18471
|
};
|
|
18429
|
-
var UserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18472
|
+
var UserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-6c4b4fc8"]]);
|
|
18430
18473
|
var image_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-7a64f836] .label {\n color: #000 !important;\n}\n[data-v-7a64f836] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
18431
|
-
const _hoisted_1$
|
|
18474
|
+
const _hoisted_1$b = {
|
|
18432
18475
|
class: "image-box"
|
|
18433
18476
|
};
|
|
18434
|
-
const _sfc_main$
|
|
18477
|
+
const _sfc_main$j = {
|
|
18435
18478
|
__name: "image_picker",
|
|
18436
18479
|
props: {
|
|
18437
18480
|
modelValue: {
|
|
@@ -18523,7 +18566,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18523
18566
|
"label-class": "label",
|
|
18524
18567
|
placeholder: props.placeholder
|
|
18525
18568
|
}, {
|
|
18526
|
-
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
18569
|
+
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$b, [vue.createVNode(_component_van_uploader, {
|
|
18527
18570
|
modelValue: files.value,
|
|
18528
18571
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => files.value = $event),
|
|
18529
18572
|
"max-count": 1,
|
|
@@ -18538,12 +18581,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18538
18581
|
};
|
|
18539
18582
|
}
|
|
18540
18583
|
};
|
|
18541
|
-
var ImagePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18584
|
+
var ImagePicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-7a64f836"]]);
|
|
18542
18585
|
var images_picker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-d659bcb6] {\n text-align: center;\n}\n.widget .btn[data-v-d659bcb6] {\n position: fixed;\n bottom: 1rem;\n left: 0;\n right: 0;\n margin: auto auto;\n color: white;\n font-size: 14px;\n background: rgb(58, 136, 255);\n padding: 8px 35px;\n width: 100px;\n text-align: center;\n display: inline-block;\n border-radius: 2px;\n}")();
|
|
18543
|
-
const _hoisted_1$
|
|
18586
|
+
const _hoisted_1$a = {
|
|
18544
18587
|
class: "image-box"
|
|
18545
18588
|
};
|
|
18546
|
-
const _sfc_main$
|
|
18589
|
+
const _sfc_main$i = {
|
|
18547
18590
|
__name: "images_picker",
|
|
18548
18591
|
props: {
|
|
18549
18592
|
modelValue: {
|
|
@@ -18649,7 +18692,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18649
18692
|
"label-class": "label",
|
|
18650
18693
|
placeholder: props.placeholder
|
|
18651
18694
|
}, {
|
|
18652
|
-
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
18695
|
+
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$a, [vue.createVNode(_component_van_uploader, {
|
|
18653
18696
|
modelValue: files.value,
|
|
18654
18697
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => files.value = $event),
|
|
18655
18698
|
"max-count": props.max,
|
|
@@ -18664,12 +18707,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18664
18707
|
};
|
|
18665
18708
|
}
|
|
18666
18709
|
};
|
|
18667
|
-
var ImagesPicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18710
|
+
var ImagesPicker = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-d659bcb6"]]);
|
|
18668
18711
|
var FilePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-78f50d19] .label {\n color: #000 !important;\n}\n[data-v-78f50d19] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
18669
|
-
const _hoisted_1$
|
|
18712
|
+
const _hoisted_1$9 = {
|
|
18670
18713
|
class: "image-box"
|
|
18671
18714
|
};
|
|
18672
|
-
const _sfc_main$
|
|
18715
|
+
const _sfc_main$h = {
|
|
18673
18716
|
__name: "FilePicker",
|
|
18674
18717
|
props: {
|
|
18675
18718
|
modelValue: {
|
|
@@ -18761,7 +18804,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18761
18804
|
"label-class": "label",
|
|
18762
18805
|
placeholder: props.placeholder
|
|
18763
18806
|
}, {
|
|
18764
|
-
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
18807
|
+
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$9, [vue.createVNode(_component_van_uploader, {
|
|
18765
18808
|
modelValue: files.value,
|
|
18766
18809
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => files.value = $event),
|
|
18767
18810
|
"max-count": 1,
|
|
@@ -18778,29 +18821,29 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18778
18821
|
};
|
|
18779
18822
|
}
|
|
18780
18823
|
};
|
|
18781
|
-
var FilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18824
|
+
var FilePicker = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-78f50d19"]]);
|
|
18782
18825
|
var SingleUserSelector_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-a489ca4c] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.department-selector[data-v-a489ca4c] {\r\n padding: 10px;\n}\n.search-buttons[data-v-a489ca4c] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-a489ca4c] {\r\n background-color: #f2f3f5;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.confirm-btn[data-v-a489ca4c] {\r\n background-color: #1989fa;\r\n color: white;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.no-results[data-v-a489ca4c] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.picker-header[data-v-a489ca4c] {\r\n padding: 10px;\r\n border-bottom: 1px solid #ebedf0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.current-path[data-v-a489ca4c] {\r\n flex: 1;\r\n font-size: 14px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.header-right[data-v-a489ca4c] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-a489ca4c] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-a489ca4c] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\r\n")();
|
|
18783
|
-
const _hoisted_1$
|
|
18826
|
+
const _hoisted_1$8 = {
|
|
18784
18827
|
class: "department-selector"
|
|
18785
18828
|
};
|
|
18786
|
-
const _hoisted_2$
|
|
18829
|
+
const _hoisted_2$5 = {
|
|
18787
18830
|
class: "picker-header"
|
|
18788
18831
|
};
|
|
18789
|
-
const _hoisted_3$
|
|
18832
|
+
const _hoisted_3$4 = {
|
|
18790
18833
|
class: "header-left"
|
|
18791
18834
|
};
|
|
18792
|
-
const _hoisted_4$
|
|
18835
|
+
const _hoisted_4$4 = {
|
|
18793
18836
|
class: "current-path"
|
|
18794
18837
|
};
|
|
18795
|
-
const _hoisted_5$
|
|
18838
|
+
const _hoisted_5$4 = {
|
|
18796
18839
|
class: "header-right"
|
|
18797
18840
|
};
|
|
18798
|
-
const _hoisted_6$
|
|
18799
|
-
const _hoisted_7$
|
|
18800
|
-
const _hoisted_8$
|
|
18841
|
+
const _hoisted_6$3 = /* @__PURE__ */ vue.createTextVNode("\u6E05\u7A7A");
|
|
18842
|
+
const _hoisted_7$3 = /* @__PURE__ */ vue.createTextVNode("\u786E\u5B9A");
|
|
18843
|
+
const _hoisted_8$3 = {
|
|
18801
18844
|
class: "scroll-container"
|
|
18802
18845
|
};
|
|
18803
|
-
const _sfc_main$
|
|
18846
|
+
const _sfc_main$g = {
|
|
18804
18847
|
__name: "SingleUserSelector",
|
|
18805
18848
|
props: {
|
|
18806
18849
|
modelValue: {
|
|
@@ -19067,16 +19110,16 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19067
19110
|
position: "bottom",
|
|
19068
19111
|
class: "user-popup"
|
|
19069
19112
|
}, {
|
|
19070
|
-
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
19113
|
+
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$8, [vue.createElementVNode("div", _hoisted_2$5, [vue.createElementVNode("div", _hoisted_3$4, [vue.withDirectives(vue.createVNode(_component_van_button, {
|
|
19071
19114
|
onClick: goBack,
|
|
19072
19115
|
icon: "arrow-left",
|
|
19073
19116
|
size: "small"
|
|
19074
|
-
}, null, 512), [[vue.vShow, currentPath.value !== "\u8BF7\u9009\u62E9\u90E8\u95E8"]])]), vue.createElementVNode("div", _hoisted_4$
|
|
19117
|
+
}, null, 512), [[vue.vShow, currentPath.value !== "\u8BF7\u9009\u62E9\u90E8\u95E8"]])]), vue.createElementVNode("div", _hoisted_4$4, vue.toDisplayString(currentPath.value), 1), vue.createElementVNode("div", _hoisted_5$4, [vue.createVNode(_component_van_button, {
|
|
19075
19118
|
size: "small",
|
|
19076
19119
|
onClick: handleClear,
|
|
19077
19120
|
class: "cancel-btn"
|
|
19078
19121
|
}, {
|
|
19079
|
-
default: vue.withCtx(() => [_hoisted_6$
|
|
19122
|
+
default: vue.withCtx(() => [_hoisted_6$3]),
|
|
19080
19123
|
_: 1
|
|
19081
19124
|
}), vue.createVNode(_component_van_button, {
|
|
19082
19125
|
type: "primary",
|
|
@@ -19084,7 +19127,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19084
19127
|
onClick: confirmSelection,
|
|
19085
19128
|
class: "confirm-btn"
|
|
19086
19129
|
}, {
|
|
19087
|
-
default: vue.withCtx(() => [_hoisted_7$
|
|
19130
|
+
default: vue.withCtx(() => [_hoisted_7$3]),
|
|
19088
19131
|
_: 1
|
|
19089
19132
|
})])]), vue.createVNode(_component_van_search, {
|
|
19090
19133
|
modelValue: searchValue.value,
|
|
@@ -19099,7 +19142,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19099
19142
|
onClick: handleSearch
|
|
19100
19143
|
}, "\u641C\u7D22")]),
|
|
19101
19144
|
_: 1
|
|
19102
|
-
}, 8, ["modelValue"]), vue.createElementVNode("div", _hoisted_8$
|
|
19145
|
+
}, 8, ["modelValue"]), vue.createElementVNode("div", _hoisted_8$3, [vue.createVNode(_component_van_cell_group, null, {
|
|
19103
19146
|
default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(departments), (department) => {
|
|
19104
19147
|
return vue.openBlock(), vue.createBlock(_component_van_cell, {
|
|
19105
19148
|
key: department.id,
|
|
@@ -19134,29 +19177,29 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19134
19177
|
};
|
|
19135
19178
|
}
|
|
19136
19179
|
};
|
|
19137
|
-
var SingleUserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19180
|
+
var SingleUserSelector = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-a489ca4c"]]);
|
|
19138
19181
|
var UserPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-popup[data-v-78c036bd] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.department-selector[data-v-78c036bd] {\r\n padding: 10px;\n}\n.search-buttons[data-v-78c036bd] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-78c036bd] {\r\n background-color: #f2f3f5;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.confirm-btn[data-v-78c036bd] {\r\n background-color: #1989fa;\r\n color: white;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.no-results[data-v-78c036bd] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.picker-header[data-v-78c036bd] {\r\n padding: 10px;\r\n border-bottom: 1px solid #ebedf0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.current-path[data-v-78c036bd] {\r\n flex: 1;\r\n font-size: 14px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.header-right[data-v-78c036bd] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-78c036bd] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-78c036bd] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\r\n")();
|
|
19139
|
-
const _hoisted_1$
|
|
19182
|
+
const _hoisted_1$7 = {
|
|
19140
19183
|
class: "department-selector"
|
|
19141
19184
|
};
|
|
19142
|
-
const _hoisted_2$
|
|
19185
|
+
const _hoisted_2$4 = {
|
|
19143
19186
|
class: "picker-header"
|
|
19144
19187
|
};
|
|
19145
|
-
const _hoisted_3$
|
|
19188
|
+
const _hoisted_3$3 = {
|
|
19146
19189
|
class: "header-left"
|
|
19147
19190
|
};
|
|
19148
|
-
const _hoisted_4$
|
|
19191
|
+
const _hoisted_4$3 = {
|
|
19149
19192
|
class: "current-path"
|
|
19150
19193
|
};
|
|
19151
|
-
const _hoisted_5$
|
|
19194
|
+
const _hoisted_5$3 = {
|
|
19152
19195
|
class: "header-right"
|
|
19153
19196
|
};
|
|
19154
|
-
const _hoisted_6$
|
|
19155
|
-
const _hoisted_7$
|
|
19156
|
-
const _hoisted_8$
|
|
19197
|
+
const _hoisted_6$2 = /* @__PURE__ */ vue.createTextVNode("\u53D6\u6D88");
|
|
19198
|
+
const _hoisted_7$2 = /* @__PURE__ */ vue.createTextVNode("\u786E\u5B9A");
|
|
19199
|
+
const _hoisted_8$2 = {
|
|
19157
19200
|
class: "scroll-container"
|
|
19158
19201
|
};
|
|
19159
|
-
const _sfc_main$
|
|
19202
|
+
const _sfc_main$f = {
|
|
19160
19203
|
__name: "UserPop",
|
|
19161
19204
|
props: {
|
|
19162
19205
|
show: {
|
|
@@ -19339,16 +19382,16 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19339
19382
|
position: "bottom",
|
|
19340
19383
|
class: "user-popup"
|
|
19341
19384
|
}, {
|
|
19342
|
-
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
19385
|
+
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$7, [vue.createElementVNode("div", _hoisted_2$4, [vue.createElementVNode("div", _hoisted_3$3, [vue.createVNode(_component_van_button, {
|
|
19343
19386
|
onClick: onBack,
|
|
19344
19387
|
icon: "arrow-left",
|
|
19345
19388
|
size: "small"
|
|
19346
|
-
})]), vue.createElementVNode("div", _hoisted_4$
|
|
19389
|
+
})]), vue.createElementVNode("div", _hoisted_4$3, vue.toDisplayString(vue.unref(pathsLabel)), 1), vue.createElementVNode("div", _hoisted_5$3, [vue.createVNode(_component_van_button, {
|
|
19347
19390
|
size: "small",
|
|
19348
19391
|
onClick: onCancel,
|
|
19349
19392
|
class: "cancel-btn"
|
|
19350
19393
|
}, {
|
|
19351
|
-
default: vue.withCtx(() => [_hoisted_6$
|
|
19394
|
+
default: vue.withCtx(() => [_hoisted_6$2]),
|
|
19352
19395
|
_: 1
|
|
19353
19396
|
}), vue.createVNode(_component_van_button, {
|
|
19354
19397
|
type: "primary",
|
|
@@ -19356,7 +19399,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19356
19399
|
onClick: onSubmit,
|
|
19357
19400
|
class: "confirm-btn"
|
|
19358
19401
|
}, {
|
|
19359
|
-
default: vue.withCtx(() => [_hoisted_7$
|
|
19402
|
+
default: vue.withCtx(() => [_hoisted_7$2]),
|
|
19360
19403
|
_: 1
|
|
19361
19404
|
})])]), vue.createVNode(_component_van_search, {
|
|
19362
19405
|
modelValue: data2.keyword,
|
|
@@ -19371,7 +19414,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19371
19414
|
onClick: onSearch
|
|
19372
19415
|
}, "\u641C\u7D22")]),
|
|
19373
19416
|
_: 1
|
|
19374
|
-
}, 8, ["modelValue", "onClear", "onCancel"]), vue.createElementVNode("div", _hoisted_8$
|
|
19417
|
+
}, 8, ["modelValue", "onClear", "onCancel"]), vue.createElementVNode("div", _hoisted_8$2, [vue.createVNode(_component_van_cell_group, null, {
|
|
19375
19418
|
default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(subDepts), (dept) => {
|
|
19376
19419
|
return vue.openBlock(), vue.createBlock(_component_van_cell, {
|
|
19377
19420
|
key: dept.id,
|
|
@@ -19406,12 +19449,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19406
19449
|
};
|
|
19407
19450
|
}
|
|
19408
19451
|
};
|
|
19409
|
-
var UserPop = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19452
|
+
var UserPop = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-78c036bd"]]);
|
|
19410
19453
|
var UsersPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user-item[data-v-4022cd82]{\r\n margin:3px;\n}\r\n")();
|
|
19411
|
-
const _hoisted_1$
|
|
19454
|
+
const _hoisted_1$6 = {
|
|
19412
19455
|
class: "user-list"
|
|
19413
19456
|
};
|
|
19414
|
-
const _sfc_main$
|
|
19457
|
+
const _sfc_main$e = {
|
|
19415
19458
|
__name: "UsersPicker",
|
|
19416
19459
|
props: {
|
|
19417
19460
|
modelValue: {
|
|
@@ -19509,7 +19552,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19509
19552
|
onClick: _cache[0] || (_cache[0] = ($event) => data2.isShowPop = !vue.unref(isReadonly)),
|
|
19510
19553
|
"label-class": "label"
|
|
19511
19554
|
}, {
|
|
19512
|
-
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$
|
|
19555
|
+
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$6, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(data2.users, (item, i) => {
|
|
19513
19556
|
return vue.openBlock(), vue.createBlock(_component_van_tag, {
|
|
19514
19557
|
class: "user-item",
|
|
19515
19558
|
closeable: !vue.unref(isDisabled),
|
|
@@ -19533,9 +19576,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19533
19576
|
};
|
|
19534
19577
|
}
|
|
19535
19578
|
};
|
|
19536
|
-
var UsersPicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19579
|
+
var UsersPicker = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-4022cd82"]]);
|
|
19537
19580
|
var UserPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user[data-v-58929b5a]{\r\n padding:4px 8px;\n}\r\n")();
|
|
19538
|
-
const _sfc_main$
|
|
19581
|
+
const _sfc_main$d = {
|
|
19539
19582
|
__name: "UserPicker",
|
|
19540
19583
|
props: {
|
|
19541
19584
|
modelValue: {
|
|
@@ -19649,31 +19692,31 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19649
19692
|
};
|
|
19650
19693
|
}
|
|
19651
19694
|
};
|
|
19652
|
-
var UserPicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19695
|
+
var UserPicker = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-58929b5a"]]);
|
|
19653
19696
|
var UserProfile_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.widget[data-v-5ebf8c56] {\r\n position: relative;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: space-around;\r\n padding: 20px;\r\n background: linear-gradient(to right, #4a90e2, #87ceeb);\r\n border-radius: 10px;\r\n box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);\n.user-avatar[data-v-5ebf8c56] {\r\n margin-bottom: 15px;\n}\n.user-info[data-v-5ebf8c56] {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-around;\r\n margin-bottom: 15px;\n.user-info-item[data-v-5ebf8c56] {\r\n font-size: 16px;\r\n line-height: 22px;\r\n color: #fff;\r\n text-align: center;\r\n padding: 0 3px;\n}\n}\n.space[data-v-5ebf8c56] {\r\n min-height: 10px;\r\n flex: 1;\n}\r\n\r\n /* \u6DFB\u52A0\u9000\u51FA\u6309\u94AE\u6837\u5F0F */\n.logout-button[data-v-5ebf8c56] {\r\n width: 70px;\r\n height: 30px;\r\n position: absolute;\r\n top: 20px;\r\n right: 20px;\r\n background-color: rgba(255, 255, 255, 0.2);\r\n color: white;\r\n border: none;\r\n border-radius: 15px;\r\n padding: 5px 15px;\r\n cursor: pointer;\r\n font-size: 14px;\r\n transition: background-color 0.3s;\n}\n.logout-button[data-v-5ebf8c56]:hover {\r\n background-color: rgba(255, 255, 255, 0.4);\n}\n.user-jobs[data-v-5ebf8c56] {\r\n display: flex;\r\n justify-content: center;\r\n gap: 15px;\r\n width: 100%;\r\n max-width: 300px;\n.job-item[data-v-5ebf8c56] {\r\n padding: 5px 10px;\r\n background-color: rgba(255, 255, 255, 0.2);\r\n border-radius: 20px;\r\n font-size: 12px;\r\n color: #fff;\n}\n}\n}\r\n")();
|
|
19654
|
-
const _hoisted_1$
|
|
19697
|
+
const _hoisted_1$5 = {
|
|
19655
19698
|
class: "widget"
|
|
19656
19699
|
};
|
|
19657
|
-
const _hoisted_2$
|
|
19700
|
+
const _hoisted_2$3 = {
|
|
19658
19701
|
class: "user-info"
|
|
19659
19702
|
};
|
|
19660
|
-
const _hoisted_3$
|
|
19703
|
+
const _hoisted_3$2 = {
|
|
19661
19704
|
class: "user-info-item"
|
|
19662
19705
|
};
|
|
19663
|
-
const _hoisted_4$
|
|
19706
|
+
const _hoisted_4$2 = {
|
|
19664
19707
|
class: "user-info-item"
|
|
19665
19708
|
};
|
|
19666
|
-
const _hoisted_5$
|
|
19709
|
+
const _hoisted_5$2 = {
|
|
19667
19710
|
class: "user-info-item"
|
|
19668
19711
|
};
|
|
19669
|
-
const _hoisted_6 = {
|
|
19712
|
+
const _hoisted_6$1 = {
|
|
19670
19713
|
class: "user-info-item"
|
|
19671
19714
|
};
|
|
19672
|
-
const _hoisted_7 = {
|
|
19715
|
+
const _hoisted_7$1 = {
|
|
19673
19716
|
class: "user-jobs"
|
|
19674
19717
|
};
|
|
19675
|
-
const _hoisted_8 = /* @__PURE__ */ vue.createTextVNode(" \u6CE8\u9500 ");
|
|
19676
|
-
const _sfc_main$
|
|
19718
|
+
const _hoisted_8$1 = /* @__PURE__ */ vue.createTextVNode(" \u6CE8\u9500 ");
|
|
19719
|
+
const _sfc_main$c = {
|
|
19677
19720
|
__name: "UserProfile",
|
|
19678
19721
|
emits: ["logout"],
|
|
19679
19722
|
setup(__props, {
|
|
@@ -19705,13 +19748,13 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19705
19748
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
19706
19749
|
const _component_van_image = vue.resolveComponent("van-image");
|
|
19707
19750
|
const _component_van_button = vue.resolveComponent("van-button");
|
|
19708
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
19751
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [vue.createVNode(_component_van_image, {
|
|
19709
19752
|
round: "",
|
|
19710
19753
|
width: "80px",
|
|
19711
19754
|
height: "80px",
|
|
19712
19755
|
src: (_b = (_a = data2.userInfo) == null ? void 0 : _a.wxUser) == null ? void 0 : _b.avatar,
|
|
19713
19756
|
class: "user-avatar"
|
|
19714
|
-
}, null, 8, ["src"]), vue.createElementVNode("div", _hoisted_2$
|
|
19757
|
+
}, null, 8, ["src"]), vue.createElementVNode("div", _hoisted_2$3, [vue.createElementVNode("span", _hoisted_3$2, vue.toDisplayString((_d = (_c = data2.userInfo) == null ? void 0 : _c.wxUser) == null ? void 0 : _d.userid), 1), vue.createElementVNode("span", _hoisted_4$2, vue.toDisplayString((_f = (_e = data2.userInfo) == null ? void 0 : _e.wxUser) == null ? void 0 : _f.name), 1), vue.createElementVNode("span", _hoisted_5$2, vue.toDisplayString((_h = (_g = data2.userInfo) == null ? void 0 : _g.wxUser) == null ? void 0 : _h.position), 1), vue.createElementVNode("span", _hoisted_6$1, vue.toDisplayString((_j = (_i = data2.userInfo) == null ? void 0 : _i.wxUser) == null ? void 0 : _j.mobile), 1)]), vue.createElementVNode("div", _hoisted_7$1, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(deptPaths), (item, i) => {
|
|
19715
19758
|
return vue.openBlock(), vue.createElementBlock("span", {
|
|
19716
19759
|
class: "job-item",
|
|
19717
19760
|
key: i
|
|
@@ -19721,18 +19764,18 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19721
19764
|
class: "logout-button",
|
|
19722
19765
|
onClick: onLogout
|
|
19723
19766
|
}, {
|
|
19724
|
-
default: vue.withCtx(() => [_hoisted_8]),
|
|
19767
|
+
default: vue.withCtx(() => [_hoisted_8$1]),
|
|
19725
19768
|
_: 1
|
|
19726
19769
|
})]);
|
|
19727
19770
|
};
|
|
19728
19771
|
}
|
|
19729
19772
|
};
|
|
19730
|
-
var UserProfile = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19773
|
+
var UserProfile = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-5ebf8c56"]]);
|
|
19731
19774
|
var ProjectPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '@charset "UTF-8";\n.widget[data-v-47f94e12] {\n /* \u7EDF\u4E00\u5B57\u6BB5\u95F4\u8DDD */\n}\n.widget[data-v-47f94e12] .van-cell {\n align-items: center;\n}\n.widget[data-v-47f94e12] .van-field__label {\n width: 90px;\n flex: none;\n}\n.widget .readonly-field[data-v-47f94e12] {\n /* \u6DFB\u52A0\u5FC5\u586B\u661F\u53F7\u5BF9\u9F50 */\n}\n.widget .readonly-field[data-v-47f94e12] .van-field__control {\n color: #323233;\n /* \u4FEE\u6539\u6587\u5B57\u989C\u8272\u4E0E\u666E\u901A\u5B57\u6BB5\u4E00\u81F4 */\n padding-right: 16px;\n}\n.widget .readonly-field.van-field--required[data-v-47f94e12] .van-field__label::before {\n margin-right: 4px;\n}\n.widget .readonly-field[data-v-47f94e12] {\n margin: 4px 0;\n}')();
|
|
19732
|
-
const _hoisted_1$
|
|
19775
|
+
const _hoisted_1$4 = {
|
|
19733
19776
|
class: "widget"
|
|
19734
19777
|
};
|
|
19735
|
-
const _sfc_main$
|
|
19778
|
+
const _sfc_main$b = {
|
|
19736
19779
|
__name: "ProjectPicker",
|
|
19737
19780
|
props: {
|
|
19738
19781
|
modelValue: {
|
|
@@ -19804,7 +19847,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19804
19847
|
query();
|
|
19805
19848
|
}));
|
|
19806
19849
|
return (_ctx, _cache) => {
|
|
19807
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
19850
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(DataSelector, {
|
|
19808
19851
|
key: 0,
|
|
19809
19852
|
modelValue: vue.unref(modelValue),
|
|
19810
19853
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(modelValue) ? modelValue.value = $event : null),
|
|
@@ -19821,24 +19864,24 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19821
19864
|
};
|
|
19822
19865
|
}
|
|
19823
19866
|
};
|
|
19824
|
-
var ProjectPicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19867
|
+
var ProjectPicker = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-47f94e12"]]);
|
|
19825
19868
|
var BillCard_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-68bdd6bc] {\n background-color: white;\n border-radius: 8px;\n box-shadow: var(--van-dropdown-menu-shadow);\n color: 14px;\n}\n.widget .card-box[data-v-68bdd6bc] {\n padding-bottom: 8px;\n}\n.widget .card-box .card-header[data-v-68bdd6bc] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 15px 10px;\n border-bottom: 1px solid #eee;\n}\n.widget .card-box .card-header .card-sum[data-v-68bdd6bc] {\n flex: 1;\n font-size: 14px;\n text-align: left;\n}\n.widget .card-box .card-header .user-state[data-v-68bdd6bc] {\n margin-right: 1px;\n}\n[data-v-68bdd6bc] .van-cell__value {\n flex: 2 !important;\n}\n[data-v-68bdd6bc] .van-cell__title {\n font-size: 12px !important;\n color: #666 !important;\n text-align: left !important;\n}\n[data-v-68bdd6bc] .van-cell__value {\n font-size: 12px !important;\n color: #888 !important;\n}\n[data-v-68bdd6bc] .van-cell {\n padding: 2px 10px !important;\n}")();
|
|
19826
|
-
const _hoisted_1$
|
|
19869
|
+
const _hoisted_1$3 = {
|
|
19827
19870
|
class: "widget"
|
|
19828
19871
|
};
|
|
19829
|
-
const _hoisted_2$
|
|
19872
|
+
const _hoisted_2$2 = {
|
|
19830
19873
|
class: "card-header"
|
|
19831
19874
|
};
|
|
19832
|
-
const _hoisted_3 = {
|
|
19875
|
+
const _hoisted_3$1 = {
|
|
19833
19876
|
class: "card-sum"
|
|
19834
19877
|
};
|
|
19835
|
-
const _hoisted_4 = {
|
|
19878
|
+
const _hoisted_4$1 = {
|
|
19836
19879
|
class: "card-type"
|
|
19837
19880
|
};
|
|
19838
|
-
const _hoisted_5 = {
|
|
19881
|
+
const _hoisted_5$1 = {
|
|
19839
19882
|
class: "card-no"
|
|
19840
19883
|
};
|
|
19841
|
-
const _sfc_main$
|
|
19884
|
+
const _sfc_main$a = {
|
|
19842
19885
|
__name: "BillCard",
|
|
19843
19886
|
props: {
|
|
19844
19887
|
category: {
|
|
@@ -19919,11 +19962,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19919
19962
|
const _component_van_tag = vue.resolveComponent("van-tag");
|
|
19920
19963
|
const _component_van_cell = vue.resolveComponent("van-cell");
|
|
19921
19964
|
const _component_van_cell_group = vue.resolveComponent("van-cell-group");
|
|
19922
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
19965
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, [vue.createVNode(_component_van_cell_group, {
|
|
19923
19966
|
inset: "",
|
|
19924
19967
|
class: "card-box"
|
|
19925
19968
|
}, {
|
|
19926
|
-
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$
|
|
19969
|
+
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$2, [vue.createElementVNode("div", _hoisted_3$1, [vue.createElementVNode("div", _hoisted_4$1, vue.toDisplayString(props.category), 1), vue.createElementVNode("div", _hoisted_5$1, vue.toDisplayString(props.no), 1)]), vue.createVNode(_component_van_tag, {
|
|
19927
19970
|
class: "user-state",
|
|
19928
19971
|
size: "large",
|
|
19929
19972
|
color: userState2color(props.userState)
|
|
@@ -19952,8 +19995,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19952
19995
|
};
|
|
19953
19996
|
}
|
|
19954
19997
|
};
|
|
19955
|
-
var BillCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19956
|
-
const _sfc_main$
|
|
19998
|
+
var BillCard = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-68bdd6bc"]]);
|
|
19999
|
+
const _sfc_main$9 = {
|
|
19957
20000
|
__name: "YearDropdown",
|
|
19958
20001
|
props: {
|
|
19959
20002
|
modelValue: {
|
|
@@ -20011,7 +20054,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20011
20054
|
};
|
|
20012
20055
|
}
|
|
20013
20056
|
};
|
|
20014
|
-
const _sfc_main$
|
|
20057
|
+
const _sfc_main$8 = {
|
|
20015
20058
|
__name: "MonthDropdown",
|
|
20016
20059
|
props: {
|
|
20017
20060
|
modelValue: {
|
|
@@ -20061,7 +20104,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20061
20104
|
};
|
|
20062
20105
|
}
|
|
20063
20106
|
};
|
|
20064
|
-
const _sfc_main$
|
|
20107
|
+
const _sfc_main$7 = {
|
|
20065
20108
|
__name: "DayDropdown",
|
|
20066
20109
|
props: {
|
|
20067
20110
|
year: {
|
|
@@ -20120,7 +20163,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20120
20163
|
};
|
|
20121
20164
|
}
|
|
20122
20165
|
};
|
|
20123
|
-
const _sfc_main$
|
|
20166
|
+
const _sfc_main$6 = {
|
|
20124
20167
|
__name: "ProjectDropdown",
|
|
20125
20168
|
props: {
|
|
20126
20169
|
modelValue: {
|
|
@@ -20183,7 +20226,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20183
20226
|
}
|
|
20184
20227
|
};
|
|
20185
20228
|
var Switch_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-d8d21ade] .label {\n color: #000 !important;\n}\n[data-v-d8d21ade] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
20186
|
-
const _sfc_main$
|
|
20229
|
+
const _sfc_main$5 = {
|
|
20187
20230
|
__name: "Switch",
|
|
20188
20231
|
props: {
|
|
20189
20232
|
modelValue: {
|
|
@@ -20251,17 +20294,17 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20251
20294
|
};
|
|
20252
20295
|
}
|
|
20253
20296
|
};
|
|
20254
|
-
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20297
|
+
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-d8d21ade"]]);
|
|
20255
20298
|
var Sheet_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".item-box[data-v-2bd62a7a] {\n position: relative;\n padding-bottom: 5px;\n border-bottom: 1px solid #e1e1e1;\n}\n.actionbar[data-v-2bd62a7a] {\n display: flex;\n justify-content: center;\n margin-top: 5px;\n}\n[data-v-2bd62a7a] .label {\n color: #000 !important;\n}\n[data-v-2bd62a7a] .van-field__control--custom {\n display: block;\n}")();
|
|
20256
|
-
const _hoisted_1$
|
|
20299
|
+
const _hoisted_1$2 = {
|
|
20257
20300
|
key: 0,
|
|
20258
20301
|
class: "actionbar"
|
|
20259
20302
|
};
|
|
20260
|
-
const _hoisted_2 = {
|
|
20303
|
+
const _hoisted_2$1 = {
|
|
20261
20304
|
key: 0,
|
|
20262
20305
|
class: "actionbar"
|
|
20263
20306
|
};
|
|
20264
|
-
const _sfc_main$
|
|
20307
|
+
const _sfc_main$4 = {
|
|
20265
20308
|
__name: "Sheet",
|
|
20266
20309
|
props: {
|
|
20267
20310
|
modelValue: {
|
|
@@ -20325,7 +20368,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20325
20368
|
required: vue.unref(isRequired),
|
|
20326
20369
|
placeholder: props.placeholder
|
|
20327
20370
|
}, {
|
|
20328
|
-
input: vue.withCtx(() => [!vue.unref(isGone) && !vue.unref(isDisabled) && !vue.unref(isReadonly) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
20371
|
+
input: vue.withCtx(() => [!vue.unref(isGone) && !vue.unref(isDisabled) && !vue.unref(isReadonly) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [vue.createVNode(_component_van_button, {
|
|
20329
20372
|
icon: "plus",
|
|
20330
20373
|
type: "primary",
|
|
20331
20374
|
size: "mini",
|
|
@@ -20337,7 +20380,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20337
20380
|
}, [vue.renderSlot(_ctx.$slots, "item", {
|
|
20338
20381
|
item,
|
|
20339
20382
|
auth: props.auth
|
|
20340
|
-
}, void 0, true), !vue.unref(isGone) && !vue.unref(isDisabled) && !vue.unref(isReadonly) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [vue.createVNode(_component_van_button, {
|
|
20383
|
+
}, void 0, true), !vue.unref(isGone) && !vue.unref(isDisabled) && !vue.unref(isReadonly) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$1, [vue.createVNode(_component_van_button, {
|
|
20341
20384
|
icon: "plus",
|
|
20342
20385
|
type: "primary",
|
|
20343
20386
|
size: "mini",
|
|
@@ -20354,9 +20397,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20354
20397
|
};
|
|
20355
20398
|
}
|
|
20356
20399
|
};
|
|
20357
|
-
var Sheet = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20400
|
+
var Sheet = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-2bd62a7a"]]);
|
|
20358
20401
|
var TreePop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.popup-box[data-v-571370f8] {\r\n min-height: 20vh;\r\n max-height: 40vh;\r\n overflow-y: auto;\n.checkbox-list[data-v-571370f8] {\r\n padding: 15px 25px;\n[data-v-571370f8] .van-checkbox__label {\r\n flex: 1;\r\n text-align: right;\n}\n}\n}\n.select-all-container[data-v-571370f8] {\r\n font-size: 14px;\r\n padding: 15px 25px 0 15px;\r\n margin: 10px 0;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\n}\n.select-all-container .van-checkbox[data-v-571370f8] {\r\n margin-left: auto;\n}\r\n\r\n/* \u65B0\u589E\uFF1A\u8C03\u6574\u65B9\u5F62\u590D\u9009\u6846\u7684\u8FB9\u8DDD */\n.van-checkbox--square[data-v-571370f8] {\r\n margin-left: 8px;\n}\r\n")();
|
|
20359
|
-
const _sfc_main$
|
|
20402
|
+
const _sfc_main$3 = {
|
|
20360
20403
|
__name: "TreePop",
|
|
20361
20404
|
props: {
|
|
20362
20405
|
show: {
|
|
@@ -20405,12 +20448,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20405
20448
|
};
|
|
20406
20449
|
}
|
|
20407
20450
|
};
|
|
20408
|
-
var TreePop = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20451
|
+
var TreePop = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-571370f8"]]);
|
|
20409
20452
|
var TreePicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.select-item[data-v-6744b874]{\r\n margin:3px;\n}\r\n")();
|
|
20410
|
-
const _hoisted_1 = {
|
|
20453
|
+
const _hoisted_1$1 = {
|
|
20411
20454
|
class: "select-list"
|
|
20412
20455
|
};
|
|
20413
|
-
const _sfc_main = {
|
|
20456
|
+
const _sfc_main$2 = {
|
|
20414
20457
|
__name: "TreePicker",
|
|
20415
20458
|
props: {
|
|
20416
20459
|
modelValue: {
|
|
@@ -20504,7 +20547,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20504
20547
|
onClick: _cache[0] || (_cache[0] = ($event) => data2.isShowPop = !vue.unref(isReadonly)),
|
|
20505
20548
|
"label-class": "label"
|
|
20506
20549
|
}, {
|
|
20507
|
-
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(selectOptions), (item, i) => {
|
|
20550
|
+
input: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$1, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(selectOptions), (item, i) => {
|
|
20508
20551
|
return vue.openBlock(), vue.createBlock(_component_van_tag, {
|
|
20509
20552
|
class: "select-item",
|
|
20510
20553
|
closeable: !vue.unref(isDisabled),
|
|
@@ -20528,121 +20571,480 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20528
20571
|
};
|
|
20529
20572
|
}
|
|
20530
20573
|
};
|
|
20531
|
-
var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6744b874"]]);
|
|
20574
|
+
var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-6744b874"]]);
|
|
20575
|
+
var CascaderPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.cascader-pop[data-v-08539c1e] {\r\n width: 100%;\r\n overflow: hidden;\n}\n.cascader-selector[data-v-08539c1e] {\r\n padding: 10px;\n}\n.search-buttons[data-v-08539c1e] {\r\n display: flex;\r\n gap: 10px;\n}\n.clear-btn[data-v-08539c1e] {\r\n background-color: #f2f3f5;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.confirm-btn[data-v-08539c1e] {\r\n background-color: #1989fa;\r\n color: white;\r\n border: none;\r\n border-radius: 4px;\r\n padding: 4px 8px;\r\n font-size: 14px;\n}\n.no-results[data-v-08539c1e] {\r\n text-align: center;\r\n padding: 20px;\r\n color: #969799;\n}\n.cascader-header[data-v-08539c1e] {\r\n padding: 10px;\r\n border-bottom: 1px solid #ebedf0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\n}\n.current-path[data-v-08539c1e] {\r\n flex: 1;\r\n font-size: 14px;\r\n color: #323233;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\n}\n.header-right[data-v-08539c1e] {\r\n display: flex;\r\n gap: 8px;\r\n margin-left: auto;\n}\n.cancel-btn[data-v-08539c1e] {\r\n color: #969799;\r\n margin-right: 5px;\n}\n.scroll-container[data-v-08539c1e] {\r\n height: calc(80vh - 150px);\r\n overflow-y: auto;\n}\n.cell-content[data-v-08539c1e] {\r\n display: flex;\r\n align-items: center;\r\n gap: 12px;\n}\n.circle-selector[data-v-08539c1e] {\r\n width: 20px;\r\n height: 20px;\r\n border-radius: 50%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n transition: all 0.2s;\r\n flex-shrink: 0;\n}\n.circle-selector.selected[data-v-08539c1e] {\r\n background-color: #1989fa;\r\n border-color: #1989fa;\n}\n.circle-selector.selected .van-icon[data-v-08539c1e] {\r\n color: white;\r\n font-size: 14px;\n}\n.van-cell__right-icon[data-v-08539c1e] {\r\n color: #969799;\r\n font-size: 16px;\r\n margin-left: 8px;\n}\n.name[data-v-08539c1e] {\r\n flex: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\n}\n.cancel-btn[data-v-08539c1e] {\r\n color: #969799;\n}\r\n")();
|
|
20576
|
+
const _hoisted_1 = {
|
|
20577
|
+
class: "cascader-selector"
|
|
20578
|
+
};
|
|
20579
|
+
const _hoisted_2 = {
|
|
20580
|
+
class: "cascader-header"
|
|
20581
|
+
};
|
|
20582
|
+
const _hoisted_3 = {
|
|
20583
|
+
class: "header-left"
|
|
20584
|
+
};
|
|
20585
|
+
const _hoisted_4 = {
|
|
20586
|
+
class: "current-path"
|
|
20587
|
+
};
|
|
20588
|
+
const _hoisted_5 = {
|
|
20589
|
+
class: "header-right"
|
|
20590
|
+
};
|
|
20591
|
+
const _hoisted_6 = /* @__PURE__ */ vue.createTextVNode("\u53D6\u6D88");
|
|
20592
|
+
const _hoisted_7 = /* @__PURE__ */ vue.createTextVNode("\u786E\u5B9A");
|
|
20593
|
+
const _hoisted_8 = {
|
|
20594
|
+
class: "scroll-container"
|
|
20595
|
+
};
|
|
20596
|
+
const _hoisted_9 = {
|
|
20597
|
+
class: "cell-content"
|
|
20598
|
+
};
|
|
20599
|
+
const _hoisted_10 = ["onClick"];
|
|
20600
|
+
const _hoisted_11 = {
|
|
20601
|
+
class: "name"
|
|
20602
|
+
};
|
|
20603
|
+
const _sfc_main$1 = {
|
|
20604
|
+
__name: "CascaderPop",
|
|
20605
|
+
props: {
|
|
20606
|
+
modelValue: {
|
|
20607
|
+
type: String,
|
|
20608
|
+
default: ""
|
|
20609
|
+
},
|
|
20610
|
+
show: {
|
|
20611
|
+
type: Boolean,
|
|
20612
|
+
default: false
|
|
20613
|
+
},
|
|
20614
|
+
placeholder: {
|
|
20615
|
+
type: String,
|
|
20616
|
+
default: ""
|
|
20617
|
+
},
|
|
20618
|
+
queryNodes: {
|
|
20619
|
+
type: Function,
|
|
20620
|
+
default: () => {
|
|
20621
|
+
}
|
|
20622
|
+
},
|
|
20623
|
+
queryNode: {
|
|
20624
|
+
type: Function,
|
|
20625
|
+
default: () => {
|
|
20626
|
+
}
|
|
20627
|
+
}
|
|
20628
|
+
},
|
|
20629
|
+
emits: ["update:show", "select"],
|
|
20630
|
+
setup(__props, {
|
|
20631
|
+
emit
|
|
20632
|
+
}) {
|
|
20633
|
+
const props = __props;
|
|
20634
|
+
const show = useVModel(props, "show", emit);
|
|
20635
|
+
const modelValue = useVModel(props, "modelValue", emit);
|
|
20636
|
+
const data2 = vue.reactive({
|
|
20637
|
+
totalNodes: [],
|
|
20638
|
+
keyword: "",
|
|
20639
|
+
searchNodes: [],
|
|
20640
|
+
currentNode: null,
|
|
20641
|
+
selectedNodeId: ""
|
|
20642
|
+
});
|
|
20643
|
+
const optionNodes = vue.computed(() => {
|
|
20644
|
+
var _a;
|
|
20645
|
+
if (data2.keyword)
|
|
20646
|
+
return data2.searchNodes;
|
|
20647
|
+
else if (data2.currentNode)
|
|
20648
|
+
return ((_a = data2.currentNode) == null ? void 0 : _a.children) ? data2.currentNode.children : [];
|
|
20649
|
+
else
|
|
20650
|
+
return data2.totalNodes ? data2.totalNodes : [];
|
|
20651
|
+
});
|
|
20652
|
+
const pathsLabel = vue.computed(() => {
|
|
20653
|
+
if (!data2.currentNode || !data2.currentNode.id)
|
|
20654
|
+
return "";
|
|
20655
|
+
let paths = util.findPaths(data2.currentNode.id, data2.totalNodes);
|
|
20656
|
+
console.log("paths", paths);
|
|
20657
|
+
let res = paths.map((item) => item.label).join("/");
|
|
20658
|
+
return res;
|
|
20659
|
+
});
|
|
20660
|
+
const queryTotalNodes = () => __async(this, null, function* () {
|
|
20661
|
+
yield props.queryNodes({
|
|
20662
|
+
keyword: data2.keyword,
|
|
20663
|
+
parentId: ""
|
|
20664
|
+
}, (nodes) => {
|
|
20665
|
+
data2.totalNodes = nodes;
|
|
20666
|
+
});
|
|
20667
|
+
});
|
|
20668
|
+
const onSearch = () => __async(this, null, function* () {
|
|
20669
|
+
yield util.queryNodes({
|
|
20670
|
+
keyword: data2.keyword,
|
|
20671
|
+
parentId: ""
|
|
20672
|
+
}, (nodes) => {
|
|
20673
|
+
data2.searchNodes = nodes;
|
|
20674
|
+
});
|
|
20675
|
+
});
|
|
20676
|
+
const onBack = () => {
|
|
20677
|
+
if (!data2.currentNode || !data2.currentNode.id)
|
|
20678
|
+
return;
|
|
20679
|
+
data2.keyword = "";
|
|
20680
|
+
data2.currentNode = util.findParent(data2.currentNode.id, data2.totalNodes);
|
|
20681
|
+
};
|
|
20682
|
+
const onClear = () => {
|
|
20683
|
+
data2.keyword = "";
|
|
20684
|
+
data2.searchNodes = [];
|
|
20685
|
+
};
|
|
20686
|
+
const reset = () => {
|
|
20687
|
+
data2.currentNode = null;
|
|
20688
|
+
data2.keyword = "";
|
|
20689
|
+
};
|
|
20690
|
+
const onSubmit = () => {
|
|
20691
|
+
if (!data2.selectedNodeId) {
|
|
20692
|
+
util.warnToast("\u8BF7\u9009\u62E9");
|
|
20693
|
+
return;
|
|
20694
|
+
}
|
|
20695
|
+
let selectedNode = util.findNode(data2.selectedNodeId, data2.totalNodes);
|
|
20696
|
+
modelValue.value = selectedNode.id;
|
|
20697
|
+
emit("select", selectedNode);
|
|
20698
|
+
show.value = false;
|
|
20699
|
+
reset();
|
|
20700
|
+
};
|
|
20701
|
+
const onCancel = () => {
|
|
20702
|
+
show.value = false;
|
|
20703
|
+
reset();
|
|
20704
|
+
};
|
|
20705
|
+
const onToggle = (node) => {
|
|
20706
|
+
if (data2.selectedNodeId == node.id)
|
|
20707
|
+
data2.selectedNodeId = "";
|
|
20708
|
+
else
|
|
20709
|
+
data2.selectedNodeId = node.id;
|
|
20710
|
+
};
|
|
20711
|
+
const onNextLevel = (node) => {
|
|
20712
|
+
props.queryNodes({
|
|
20713
|
+
keyword: data2.keyword,
|
|
20714
|
+
parentId: node.id
|
|
20715
|
+
}, (nodes) => {
|
|
20716
|
+
node.children = nodes;
|
|
20717
|
+
data2.currentNode = node;
|
|
20718
|
+
});
|
|
20719
|
+
};
|
|
20720
|
+
vue.onMounted(() => __async(this, null, function* () {
|
|
20721
|
+
yield queryTotalNodes();
|
|
20722
|
+
}));
|
|
20723
|
+
vue.watch(() => props.modelValue, () => {
|
|
20724
|
+
data2.currentNode = util.findParent(props.modelValue, data2.totalNodes);
|
|
20725
|
+
}, {
|
|
20726
|
+
immediate: true
|
|
20727
|
+
});
|
|
20728
|
+
return (_ctx, _cache) => {
|
|
20729
|
+
const _component_van_button = vue.resolveComponent("van-button");
|
|
20730
|
+
const _component_van_search = vue.resolveComponent("van-search");
|
|
20731
|
+
const _component_van_icon = vue.resolveComponent("van-icon");
|
|
20732
|
+
const _component_van_cell = vue.resolveComponent("van-cell");
|
|
20733
|
+
const _component_van_cell_group = vue.resolveComponent("van-cell-group");
|
|
20734
|
+
const _component_van_popup = vue.resolveComponent("van-popup");
|
|
20735
|
+
return vue.openBlock(), vue.createBlock(_component_van_popup, {
|
|
20736
|
+
show: vue.unref(show),
|
|
20737
|
+
"onUpdate:show": _cache[1] || (_cache[1] = ($event) => vue.isRef(show) ? show.value = $event : null),
|
|
20738
|
+
round: "",
|
|
20739
|
+
position: "bottom",
|
|
20740
|
+
class: "cascader-pop"
|
|
20741
|
+
}, {
|
|
20742
|
+
default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1, [vue.createElementVNode("div", _hoisted_2, [vue.createElementVNode("div", _hoisted_3, [vue.createVNode(_component_van_button, {
|
|
20743
|
+
onClick: onBack,
|
|
20744
|
+
icon: "arrow-left",
|
|
20745
|
+
size: "small"
|
|
20746
|
+
})]), vue.createElementVNode("div", _hoisted_4, vue.toDisplayString(vue.unref(pathsLabel)), 1), vue.createElementVNode("div", _hoisted_5, [vue.createVNode(_component_van_button, {
|
|
20747
|
+
size: "small",
|
|
20748
|
+
onClick: onCancel,
|
|
20749
|
+
class: "cancel-btn"
|
|
20750
|
+
}, {
|
|
20751
|
+
default: vue.withCtx(() => [_hoisted_6]),
|
|
20752
|
+
_: 1
|
|
20753
|
+
}), vue.createVNode(_component_van_button, {
|
|
20754
|
+
type: "primary",
|
|
20755
|
+
size: "small",
|
|
20756
|
+
onClick: onSubmit,
|
|
20757
|
+
class: "confirm-btn"
|
|
20758
|
+
}, {
|
|
20759
|
+
default: vue.withCtx(() => [_hoisted_7]),
|
|
20760
|
+
_: 1
|
|
20761
|
+
})])]), vue.createVNode(_component_van_search, {
|
|
20762
|
+
modelValue: data2.keyword,
|
|
20763
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data2.keyword = $event),
|
|
20764
|
+
placeholder: props.placeholder,
|
|
20765
|
+
onClear,
|
|
20766
|
+
onSearch,
|
|
20767
|
+
onCancel: onClear,
|
|
20768
|
+
"show-action": ""
|
|
20769
|
+
}, {
|
|
20770
|
+
action: vue.withCtx(() => [vue.createElementVNode("div", {
|
|
20771
|
+
onClick: onSearch
|
|
20772
|
+
}, "\u641C\u7D22")]),
|
|
20773
|
+
_: 1
|
|
20774
|
+
}, 8, ["modelValue", "placeholder"]), vue.createElementVNode("div", _hoisted_8, [vue.createVNode(_component_van_cell_group, null, {
|
|
20775
|
+
default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(optionNodes), (item, i) => {
|
|
20776
|
+
return vue.openBlock(), vue.createBlock(_component_van_cell, {
|
|
20777
|
+
key: i
|
|
20778
|
+
}, vue.createSlots({
|
|
20779
|
+
title: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_9, [vue.createElementVNode("div", {
|
|
20780
|
+
class: "circle-selector",
|
|
20781
|
+
onClick: vue.withModifiers(($event) => onToggle(item), ["stop"])
|
|
20782
|
+
}, [data2.selectedNodeId === item.id ? (vue.openBlock(), vue.createBlock(_component_van_icon, {
|
|
20783
|
+
key: 0,
|
|
20784
|
+
name: "success",
|
|
20785
|
+
size: "20",
|
|
20786
|
+
color: "#409eff"
|
|
20787
|
+
})) : vue.createCommentVNode("", true), data2.selectedNodeId != item.id ? (vue.openBlock(), vue.createBlock(_component_van_icon, {
|
|
20788
|
+
key: 1,
|
|
20789
|
+
name: "circle",
|
|
20790
|
+
size: "20",
|
|
20791
|
+
color: "#e0e0e0"
|
|
20792
|
+
})) : vue.createCommentVNode("", true)], 8, _hoisted_10), vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(item.label), 1)])]),
|
|
20793
|
+
_: 2
|
|
20794
|
+
}, [item.hasChildren ? {
|
|
20795
|
+
name: "right-icon",
|
|
20796
|
+
fn: vue.withCtx(() => [vue.createVNode(_component_van_icon, {
|
|
20797
|
+
name: "arrow",
|
|
20798
|
+
onClick: vue.withModifiers(($event) => onNextLevel(item), ["stop"])
|
|
20799
|
+
}, null, 8, ["onClick"])])
|
|
20800
|
+
} : void 0]), 1024);
|
|
20801
|
+
}), 128))]),
|
|
20802
|
+
_: 1
|
|
20803
|
+
})])])]),
|
|
20804
|
+
_: 1
|
|
20805
|
+
}, 8, ["show"]);
|
|
20806
|
+
};
|
|
20807
|
+
}
|
|
20808
|
+
};
|
|
20809
|
+
var CascaderPop = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-08539c1e"]]);
|
|
20810
|
+
var CascaderPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.user[data-v-f30fa640]{\r\n padding:4px 8px;\n}\r\n")();
|
|
20811
|
+
const _sfc_main = {
|
|
20812
|
+
__name: "CascaderPicker",
|
|
20813
|
+
props: {
|
|
20814
|
+
modelValue: {
|
|
20815
|
+
type: String,
|
|
20816
|
+
default: ""
|
|
20817
|
+
},
|
|
20818
|
+
label: {
|
|
20819
|
+
type: String,
|
|
20820
|
+
default: ""
|
|
20821
|
+
},
|
|
20822
|
+
placeholder: {
|
|
20823
|
+
type: String,
|
|
20824
|
+
default: ""
|
|
20825
|
+
},
|
|
20826
|
+
required: {
|
|
20827
|
+
type: Boolean,
|
|
20828
|
+
default: false
|
|
20829
|
+
},
|
|
20830
|
+
readonly: {
|
|
20831
|
+
type: Boolean,
|
|
20832
|
+
default: false
|
|
20833
|
+
},
|
|
20834
|
+
rules: {
|
|
20835
|
+
type: Array,
|
|
20836
|
+
default: []
|
|
20837
|
+
},
|
|
20838
|
+
auth: {
|
|
20839
|
+
type: String,
|
|
20840
|
+
default: ""
|
|
20841
|
+
},
|
|
20842
|
+
queryNodes: {
|
|
20843
|
+
type: Function,
|
|
20844
|
+
default: () => {
|
|
20845
|
+
}
|
|
20846
|
+
},
|
|
20847
|
+
queryNode: {
|
|
20848
|
+
type: Function,
|
|
20849
|
+
default: () => {
|
|
20850
|
+
}
|
|
20851
|
+
}
|
|
20852
|
+
},
|
|
20853
|
+
emits: ["update:modelValue", "select"],
|
|
20854
|
+
setup(__props, {
|
|
20855
|
+
emit
|
|
20856
|
+
}) {
|
|
20857
|
+
const props = __props;
|
|
20858
|
+
const data2 = vue.reactive({
|
|
20859
|
+
isShowPop: false,
|
|
20860
|
+
selectedNode: {}
|
|
20861
|
+
});
|
|
20862
|
+
const modelValue = useVModel(props, "modelValue", emit);
|
|
20863
|
+
const {
|
|
20864
|
+
isRequired,
|
|
20865
|
+
isReadonly,
|
|
20866
|
+
isGone,
|
|
20867
|
+
isDisabled
|
|
20868
|
+
} = util.props2auth(props);
|
|
20869
|
+
vue.onMounted(() => {
|
|
20870
|
+
});
|
|
20871
|
+
const onSelect = (node) => {
|
|
20872
|
+
data2.selectedNode = node;
|
|
20873
|
+
};
|
|
20874
|
+
const onDelete = () => {
|
|
20875
|
+
data2.selectedNode = {};
|
|
20876
|
+
modelValue.value = null;
|
|
20877
|
+
};
|
|
20878
|
+
vue.watch(() => modelValue.value, (n, o) => __async(this, null, function* () {
|
|
20879
|
+
if (!n) {
|
|
20880
|
+
data2.selectedNode = {};
|
|
20881
|
+
return;
|
|
20882
|
+
}
|
|
20883
|
+
props.queryNode((node) => {
|
|
20884
|
+
data2.selectedNode = node;
|
|
20885
|
+
emit("select", data2.selectedNode);
|
|
20886
|
+
});
|
|
20887
|
+
}), {
|
|
20888
|
+
immediate: true
|
|
20889
|
+
});
|
|
20890
|
+
return (_ctx, _cache) => {
|
|
20891
|
+
const _component_van_tag = vue.resolveComponent("van-tag");
|
|
20892
|
+
const _component_van_field = vue.resolveComponent("van-field");
|
|
20893
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
20894
|
+
key: 0,
|
|
20895
|
+
label: props.label,
|
|
20896
|
+
required: vue.unref(isRequired),
|
|
20897
|
+
rules: props.rules,
|
|
20898
|
+
disabled: vue.unref(isDisabled),
|
|
20899
|
+
placeholder: props.placeholder,
|
|
20900
|
+
"is-link": vue.unref(isReadonly) ? false : true,
|
|
20901
|
+
onClick: _cache[0] || (_cache[0] = ($event) => data2.isShowPop = !vue.unref(isReadonly)),
|
|
20902
|
+
"label-class": "label"
|
|
20903
|
+
}, {
|
|
20904
|
+
input: vue.withCtx(() => [vue.unref(modelValue) ? (vue.openBlock(), vue.createBlock(_component_van_tag, {
|
|
20905
|
+
key: 0,
|
|
20906
|
+
class: "selected-node",
|
|
20907
|
+
closeable: !vue.unref(isDisabled),
|
|
20908
|
+
type: "primary",
|
|
20909
|
+
size: "medium",
|
|
20910
|
+
onClose: vue.withModifiers(onDelete, ["stop"])
|
|
20911
|
+
}, {
|
|
20912
|
+
default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(data2.selectedNode.formatLabel), 1)]),
|
|
20913
|
+
_: 1
|
|
20914
|
+
}, 8, ["closeable", "onClose"])) : vue.createCommentVNode("", true)]),
|
|
20915
|
+
_: 1
|
|
20916
|
+
}, 8, ["label", "required", "rules", "disabled", "placeholder", "is-link"])) : vue.createCommentVNode("", true), vue.createVNode(CascaderPop, {
|
|
20917
|
+
show: data2.isShowPop,
|
|
20918
|
+
"onUpdate:show": _cache[1] || (_cache[1] = ($event) => data2.isShowPop = $event),
|
|
20919
|
+
modelValue: vue.unref(modelValue),
|
|
20920
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(modelValue) ? modelValue.value = $event : null),
|
|
20921
|
+
placeholder: props.placeholder,
|
|
20922
|
+
onSelect,
|
|
20923
|
+
queryNodes: props.queryNodes,
|
|
20924
|
+
queryNode: props.queryNode
|
|
20925
|
+
}, null, 8, ["show", "modelValue", "placeholder", "queryNodes", "queryNode"])], 64);
|
|
20926
|
+
};
|
|
20927
|
+
}
|
|
20928
|
+
};
|
|
20929
|
+
var CascaderPicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f30fa640"]]);
|
|
20532
20930
|
const secret_notify = () => {
|
|
20533
20931
|
showNotify({ type: "danger", message: "\u4E25\u683C\u6267\u884C\u4FE1\u606F\u4FDD\u5BC6\u8981\u6C42\uFF0C\u5207\u5B9E\u9632\u8303\u4F01\u4E1A\u6CC4\u5BC6\u98CE\u9669", duration: 3e3 });
|
|
20534
20932
|
};
|
|
20535
20933
|
const components = [
|
|
20536
20934
|
{
|
|
20537
|
-
name: "
|
|
20935
|
+
name: "WidgetQwAuditBar",
|
|
20538
20936
|
widget: AuditBar
|
|
20539
20937
|
},
|
|
20540
20938
|
{
|
|
20541
|
-
name: "
|
|
20939
|
+
name: "WidgetQwInput",
|
|
20542
20940
|
widget: Input
|
|
20543
20941
|
},
|
|
20544
20942
|
{
|
|
20545
|
-
name: "
|
|
20943
|
+
name: "WidgetQwSinglePicker",
|
|
20546
20944
|
widget: SinglePicker
|
|
20547
20945
|
},
|
|
20548
20946
|
{
|
|
20549
|
-
name: "
|
|
20947
|
+
name: "WidgetQwMultiPicker",
|
|
20550
20948
|
widget: MultiPicker
|
|
20551
20949
|
},
|
|
20552
20950
|
{
|
|
20553
|
-
name: "
|
|
20951
|
+
name: "WidgetQwCheckGroup",
|
|
20554
20952
|
widget: CheckGroup
|
|
20555
20953
|
},
|
|
20556
20954
|
{
|
|
20557
|
-
name: "
|
|
20558
|
-
widget: _sfc_main$
|
|
20955
|
+
name: "WidgetQwDatetimePicker",
|
|
20956
|
+
widget: _sfc_main$p
|
|
20559
20957
|
},
|
|
20560
20958
|
{
|
|
20561
|
-
name: "
|
|
20959
|
+
name: "WidgetQwDataSelector",
|
|
20562
20960
|
widget: DataSelector
|
|
20563
20961
|
},
|
|
20564
20962
|
{
|
|
20565
|
-
name: "
|
|
20963
|
+
name: "WidgetQwMultListSelector",
|
|
20566
20964
|
widget: MultListSelector
|
|
20567
20965
|
},
|
|
20568
20966
|
{
|
|
20569
|
-
name: "
|
|
20967
|
+
name: "WidgetQwProductSelector",
|
|
20570
20968
|
widget: ProductSelector
|
|
20571
20969
|
},
|
|
20572
20970
|
{
|
|
20573
|
-
name: "
|
|
20971
|
+
name: "WidgetQwSubdepartmentSelector",
|
|
20574
20972
|
widget: SubdepartmentSelector
|
|
20575
20973
|
},
|
|
20576
20974
|
{
|
|
20577
|
-
name: "
|
|
20975
|
+
name: "WidgetQwSingleUserSelector",
|
|
20578
20976
|
widget: SingleUserSelector
|
|
20579
20977
|
},
|
|
20580
20978
|
{
|
|
20581
|
-
name: "
|
|
20979
|
+
name: "WidgetQwImagePicker",
|
|
20582
20980
|
widget: ImagePicker
|
|
20583
20981
|
},
|
|
20584
20982
|
{
|
|
20585
|
-
name: "
|
|
20983
|
+
name: "WidgetQwImagesPicker",
|
|
20586
20984
|
widget: ImagesPicker
|
|
20587
20985
|
},
|
|
20588
20986
|
{
|
|
20589
|
-
name: "
|
|
20987
|
+
name: "WidgetQwFilePicker",
|
|
20590
20988
|
widget: FilePicker
|
|
20591
20989
|
},
|
|
20592
20990
|
{
|
|
20593
|
-
name: "
|
|
20991
|
+
name: "WidgetQwBillCard",
|
|
20594
20992
|
widget: BillCard
|
|
20595
20993
|
},
|
|
20596
20994
|
{
|
|
20597
|
-
name: "
|
|
20995
|
+
name: "WidgetQwUserSelector",
|
|
20598
20996
|
widget: UserSelector
|
|
20599
20997
|
},
|
|
20600
20998
|
{
|
|
20601
|
-
name: "
|
|
20999
|
+
name: "WidgetQwUsersPicker",
|
|
20602
21000
|
widget: UsersPicker
|
|
20603
21001
|
},
|
|
20604
21002
|
{
|
|
20605
|
-
name: "
|
|
21003
|
+
name: "WidgetQwUserPicker",
|
|
20606
21004
|
widget: UserPicker
|
|
20607
21005
|
},
|
|
20608
21006
|
{
|
|
20609
|
-
name: "
|
|
21007
|
+
name: "WidgetQwProjectPicker",
|
|
20610
21008
|
widget: ProjectPicker
|
|
20611
21009
|
},
|
|
20612
21010
|
{
|
|
20613
|
-
name: "
|
|
21011
|
+
name: "WidgetQwUserProfile",
|
|
20614
21012
|
widget: UserProfile
|
|
20615
21013
|
},
|
|
20616
21014
|
{
|
|
20617
|
-
name: "
|
|
20618
|
-
widget: _sfc_main$
|
|
21015
|
+
name: "WidgetQwYearDropdown",
|
|
21016
|
+
widget: _sfc_main$9
|
|
20619
21017
|
},
|
|
20620
21018
|
{
|
|
20621
|
-
name: "
|
|
20622
|
-
widget: _sfc_main$
|
|
21019
|
+
name: "WidgetQwMonthDropdown",
|
|
21020
|
+
widget: _sfc_main$8
|
|
20623
21021
|
},
|
|
20624
21022
|
{
|
|
20625
|
-
name: "
|
|
20626
|
-
widget: _sfc_main$
|
|
21023
|
+
name: "WidgetQwDayDropdown",
|
|
21024
|
+
widget: _sfc_main$7
|
|
20627
21025
|
},
|
|
20628
21026
|
{
|
|
20629
|
-
name: "
|
|
20630
|
-
widget: _sfc_main$
|
|
21027
|
+
name: "WidgetQwProjectDropdown",
|
|
21028
|
+
widget: _sfc_main$6
|
|
20631
21029
|
},
|
|
20632
21030
|
{
|
|
20633
|
-
name: "
|
|
21031
|
+
name: "WidgetQwSwitch",
|
|
20634
21032
|
widget: Switch
|
|
20635
21033
|
},
|
|
20636
21034
|
{
|
|
20637
|
-
name: "
|
|
21035
|
+
name: "WidgetQwSheet",
|
|
20638
21036
|
widget: Sheet
|
|
20639
21037
|
},
|
|
20640
21038
|
{
|
|
20641
|
-
name: "
|
|
21039
|
+
name: "WidgetQwTreePicker",
|
|
20642
21040
|
widget: TreePicker
|
|
21041
|
+
},
|
|
21042
|
+
{
|
|
21043
|
+
name: "WidgetQwCascaderPicker",
|
|
21044
|
+
widget: CascaderPicker
|
|
20643
21045
|
}
|
|
20644
21046
|
];
|
|
20645
|
-
const
|
|
21047
|
+
const WidgetQw = {
|
|
20646
21048
|
install(app) {
|
|
20647
21049
|
components.forEach((component) => {
|
|
20648
21050
|
app.component(component.name, component.widget);
|
|
@@ -20651,9 +21053,10 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20651
21053
|
};
|
|
20652
21054
|
function setup(params) {
|
|
20653
21055
|
vm.urlCallback = params.urlCallback;
|
|
20654
|
-
vm.tokenCallback = params.tokenCallback
|
|
21056
|
+
vm.tokenCallback = params.tokenCallback;
|
|
21057
|
+
vm.needLoginCallback = params.needLoginCallback;
|
|
20655
21058
|
}
|
|
20656
|
-
exports.
|
|
21059
|
+
exports.WidgetQw = WidgetQw;
|
|
20657
21060
|
exports.secret_notify = secret_notify;
|
|
20658
21061
|
exports.setup = setup;
|
|
20659
21062
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|