@fmdeui/fmui 1.0.159 → 1.0.161
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/es/components/fm-autocomplete/component/dirverSelectDialog.vue.d.ts +72 -0
- package/es/components/fm-autocomplete/component/guideSelectDialog.vue.d.ts +72 -0
- package/es/components/fm-autocomplete/index.d.ts +176 -0
- package/es/components/fm-autocomplete/index.vue.d.ts +352 -0
- package/es/index.mjs +1 -1
- package/es/packages/api/index.mjs +1 -1
- package/es/packages/components/fm-autocomplete/component/accountSelectDialog2.vue.mjs +2 -2
- package/es/packages/components/fm-autocomplete/component/dirverSelectDialog.vue.mjs +5 -0
- package/es/packages/components/fm-autocomplete/component/dirverSelectDialog2.vue.mjs +334 -0
- package/es/packages/components/fm-autocomplete/component/guideSelectDialog.vue.mjs +5 -0
- package/es/packages/components/fm-autocomplete/component/guideSelectDialog2.vue.mjs +322 -0
- package/es/packages/components/fm-autocomplete/component/linSelectDialog2.vue.mjs +2 -2
- package/es/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.mjs +2 -2
- package/es/packages/components/fm-autocomplete/component/supplierUserSelectDialog2.vue.mjs +2 -2
- package/es/packages/components/fm-autocomplete/index2.vue.mjs +38 -2
- package/es/packages/utils/formatTime.mjs +11 -1
- package/es/packages/utils/index.mjs +1 -1
- package/es/utils/formatTime.d.ts +1 -0
- package/index.js +1121 -432
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +1121 -433
- package/lib/components/fm-autocomplete/component/dirverSelectDialog.vue.d.ts +72 -0
- package/lib/components/fm-autocomplete/component/guideSelectDialog.vue.d.ts +72 -0
- package/lib/components/fm-autocomplete/index.d.ts +176 -0
- package/lib/components/fm-autocomplete/index.vue.d.ts +352 -0
- package/lib/index.js +1 -0
- package/lib/packages/api/index.js +1 -1
- package/lib/packages/components/fm-autocomplete/component/accountSelectDialog2.vue.js +2 -2
- package/lib/packages/components/fm-autocomplete/component/dirverSelectDialog.vue.js +9 -0
- package/lib/packages/components/fm-autocomplete/component/dirverSelectDialog2.vue.js +338 -0
- package/lib/packages/components/fm-autocomplete/component/guideSelectDialog.vue.js +9 -0
- package/lib/packages/components/fm-autocomplete/component/guideSelectDialog2.vue.js +326 -0
- package/lib/packages/components/fm-autocomplete/component/linSelectDialog2.vue.js +2 -2
- package/lib/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.js +2 -2
- package/lib/packages/components/fm-autocomplete/component/supplierUserSelectDialog2.vue.js +2 -2
- package/lib/packages/components/fm-autocomplete/index2.vue.js +38 -2
- package/lib/packages/utils/formatTime.js +11 -0
- package/lib/packages/utils/index.js +1 -0
- package/lib/utils/formatTime.d.ts +1 -0
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/package.json +1 -1
- /package/es/{component.css → version.css} +0 -0
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.161 */
|
|
2
2
|
import VxeUITable from 'vxe-table';
|
|
3
3
|
import VxeUIPluginRenderElement from '@vxe-ui/plugin-render-element';
|
|
4
4
|
import VxeUIPluginExportXLSX from '@vxe-ui/plugin-export-xlsx';
|
|
@@ -766,6 +766,16 @@ function getEdate(num = 0) {
|
|
|
766
766
|
if (num > 0) lastDay.setDate(num);
|
|
767
767
|
return formatDate(lastDay, "YYYY-mm-dd");
|
|
768
768
|
}
|
|
769
|
+
function scrollToSection(targetId, time = 1500) {
|
|
770
|
+
const targetEl = document.getElementById(targetId);
|
|
771
|
+
if (targetEl) {
|
|
772
|
+
targetEl.scrollIntoView({ behavior: "smooth", block: "start" });
|
|
773
|
+
targetEl.classList.remove("section-highlight");
|
|
774
|
+
void targetEl.offsetWidth;
|
|
775
|
+
targetEl.classList.add("section-highlight");
|
|
776
|
+
setTimeout(() => targetEl.classList.remove("section-highlight"), time);
|
|
777
|
+
}
|
|
778
|
+
}
|
|
769
779
|
|
|
770
780
|
const TRIGGER_INPUT = "change";
|
|
771
781
|
const TRIGGER_BLUR = "blur";
|
|
@@ -3870,13 +3880,13 @@ const CurrencyData = [
|
|
|
3870
3880
|
}
|
|
3871
3881
|
];
|
|
3872
3882
|
const COST_CATEGORIES = [
|
|
3883
|
+
{ code: "GUIDE", type: 10, name: "\u6D3E\u5BFC\u6E38", icon: "\u{1F468}\u200D", color: "#f5222d", bg: "#fff1f0" },
|
|
3873
3884
|
{ code: "HOTEL", type: 8, name: "\u623F\u8D39", icon: "\u{1F3E8}", color: "#165dff", bg: "#e8f3ff" },
|
|
3874
3885
|
{ code: "MEAL", type: 13, name: "\u9910\u8D39", icon: "\u{1F37D}\uFE0F", color: "#fa8c16", bg: "#fff7e6" },
|
|
3875
3886
|
{ code: "BUS", type: 12, name: "\u8F66\u8D39", icon: "\u{1F68C}", color: "#722ed1", bg: "#f9f0ff" },
|
|
3876
3887
|
{ code: "TICKET", type: 3, name: "\u7968\u52A1", icon: "\u{1F3AB}", color: "#13c2c2", bg: "#e6fffb" },
|
|
3877
3888
|
{ code: "SCENIC", type: 11, name: "\u666F\u70B9", icon: "\uFE0F\u{1F3DE}\uFE0F", color: "#52c41a", bg: "#f6ffed" },
|
|
3878
3889
|
{ code: "INSURE", type: 9, name: "\u4FDD\u9669", icon: "\u{1F6E1}\uFE0F", color: "#eb2f96", bg: "#fff0f6" },
|
|
3879
|
-
{ code: "GUIDE", type: 10, name: "\u5BFC\u670D", icon: "\u{1F468}\u200D", color: "#f5222d", bg: "#fff1f0" },
|
|
3880
3890
|
{ code: "VISA", type: 15, name: "\u7B7E\u8BC1", icon: "\u{1F4CB}", color: "#faad14", bg: "#fffbe6" },
|
|
3881
3891
|
{ code: "SHIP", type: 14, name: "\u6E38\u8239", icon: "\u{1F6A2}", color: "#0ea5e9", bg: "#e0f2fe" },
|
|
3882
3892
|
{ code: "TOPLAN", type: 6, name: "\u5730\u63A5", icon: "\u{1F91D}", color: "#1890ff", bg: "#e6f7ff" },
|
|
@@ -20428,7 +20438,7 @@ const setupVXETable = (app) => {
|
|
|
20428
20438
|
app.use(VxeUITable);
|
|
20429
20439
|
};
|
|
20430
20440
|
|
|
20431
|
-
var _sfc_main$
|
|
20441
|
+
var _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
20432
20442
|
...{
|
|
20433
20443
|
name: "FButton"
|
|
20434
20444
|
},
|
|
@@ -20498,7 +20508,7 @@ var _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
20498
20508
|
}
|
|
20499
20509
|
});
|
|
20500
20510
|
|
|
20501
|
-
const FButton = _sfc_main$
|
|
20511
|
+
const FButton = _sfc_main$V;
|
|
20502
20512
|
|
|
20503
20513
|
const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
|
|
20504
20514
|
const translate = (path, option, locale) => get(locale, path, path).replace(
|
|
@@ -21222,9 +21232,9 @@ function getPageSetting(field, defaultValue = "", flag = "main") {
|
|
|
21222
21232
|
return setting;
|
|
21223
21233
|
}
|
|
21224
21234
|
|
|
21225
|
-
const _hoisted_1$
|
|
21226
|
-
const _hoisted_2$
|
|
21227
|
-
var _sfc_main$
|
|
21235
|
+
const _hoisted_1$E = { key: 0 };
|
|
21236
|
+
const _hoisted_2$r = { key: 0 };
|
|
21237
|
+
var _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
21228
21238
|
...{
|
|
21229
21239
|
name: "FInput"
|
|
21230
21240
|
},
|
|
@@ -21431,7 +21441,7 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
21431
21441
|
fn: withCtx(() => [
|
|
21432
21442
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
21433
21443
|
"span",
|
|
21434
|
-
_hoisted_1$
|
|
21444
|
+
_hoisted_1$E,
|
|
21435
21445
|
toDisplayString(appendTitleText.value),
|
|
21436
21446
|
1
|
|
21437
21447
|
/* TEXT */
|
|
@@ -21464,7 +21474,7 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
21464
21474
|
fn: withCtx(() => [
|
|
21465
21475
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
21466
21476
|
"span",
|
|
21467
|
-
_hoisted_2$
|
|
21477
|
+
_hoisted_2$r,
|
|
21468
21478
|
toDisplayString(appendTitleText.value),
|
|
21469
21479
|
1
|
|
21470
21480
|
/* TEXT */
|
|
@@ -21477,13 +21487,13 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
21477
21487
|
}
|
|
21478
21488
|
});
|
|
21479
21489
|
|
|
21480
|
-
const FInput = _sfc_main$
|
|
21490
|
+
const FInput = _sfc_main$U;
|
|
21481
21491
|
|
|
21482
|
-
const _hoisted_1$
|
|
21492
|
+
const _hoisted_1$D = {
|
|
21483
21493
|
key: 0,
|
|
21484
21494
|
class: "back_to_top"
|
|
21485
21495
|
};
|
|
21486
|
-
var _sfc_main$
|
|
21496
|
+
var _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
21487
21497
|
...{
|
|
21488
21498
|
name: "FLayoutPage"
|
|
21489
21499
|
},
|
|
@@ -21545,7 +21555,7 @@ var _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
21545
21555
|
},
|
|
21546
21556
|
[
|
|
21547
21557
|
renderSlot(_ctx.$slots, "default"),
|
|
21548
|
-
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21558
|
+
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$D, [
|
|
21549
21559
|
isShowGoTopButton.value ? (openBlock(), createElementBlock("div", {
|
|
21550
21560
|
key: 0,
|
|
21551
21561
|
onClick: backToTop
|
|
@@ -21573,9 +21583,9 @@ var _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
21573
21583
|
}
|
|
21574
21584
|
});
|
|
21575
21585
|
|
|
21576
|
-
const FLayoutPage = _sfc_main$
|
|
21586
|
+
const FLayoutPage = _sfc_main$T;
|
|
21577
21587
|
|
|
21578
|
-
var _sfc_main$
|
|
21588
|
+
var _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
21579
21589
|
...{
|
|
21580
21590
|
name: "FLayoutPageItem"
|
|
21581
21591
|
},
|
|
@@ -21603,7 +21613,7 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
21603
21613
|
}
|
|
21604
21614
|
});
|
|
21605
21615
|
|
|
21606
|
-
const FLayoutPageItem = _sfc_main$
|
|
21616
|
+
const FLayoutPageItem = _sfc_main$S;
|
|
21607
21617
|
|
|
21608
21618
|
function debounce(func, delay = 500, immediate, resultCallback) {
|
|
21609
21619
|
let timer = null;
|
|
@@ -21646,8 +21656,8 @@ function toLine(name) {
|
|
|
21646
21656
|
return name.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
21647
21657
|
}
|
|
21648
21658
|
|
|
21649
|
-
const _hoisted_1$
|
|
21650
|
-
var _sfc_main$
|
|
21659
|
+
const _hoisted_1$C = ["id"];
|
|
21660
|
+
var _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
21651
21661
|
...{
|
|
21652
21662
|
name: "FChart"
|
|
21653
21663
|
},
|
|
@@ -21731,7 +21741,7 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
21731
21741
|
id: __props.id,
|
|
21732
21742
|
ref_key: "echartRef",
|
|
21733
21743
|
ref: echartRef
|
|
21734
|
-
}, null, 8, _hoisted_1$
|
|
21744
|
+
}, null, 8, _hoisted_1$C), [
|
|
21735
21745
|
[vShow, !formatEmpty.value]
|
|
21736
21746
|
]),
|
|
21737
21747
|
formatEmpty.value ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
@@ -21746,13 +21756,13 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
21746
21756
|
}
|
|
21747
21757
|
});
|
|
21748
21758
|
|
|
21749
|
-
const FChart = _sfc_main$
|
|
21759
|
+
const FChart = _sfc_main$R;
|
|
21750
21760
|
|
|
21751
|
-
const _hoisted_1$
|
|
21761
|
+
const _hoisted_1$B = {
|
|
21752
21762
|
key: 1,
|
|
21753
21763
|
class: "f_select__pagination"
|
|
21754
21764
|
};
|
|
21755
|
-
var _sfc_main$
|
|
21765
|
+
var _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
21756
21766
|
...{
|
|
21757
21767
|
name: "FSelect"
|
|
21758
21768
|
},
|
|
@@ -21965,7 +21975,7 @@ var _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
21965
21975
|
128
|
|
21966
21976
|
/* KEYED_FRAGMENT */
|
|
21967
21977
|
)),
|
|
21968
|
-
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21978
|
+
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
21969
21979
|
createVNode(_component_el_pagination, mergeProps({
|
|
21970
21980
|
"current-page": __props.paginationOption.currentPage,
|
|
21971
21981
|
"onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
|
|
@@ -22003,9 +22013,9 @@ var _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
22003
22013
|
}
|
|
22004
22014
|
});
|
|
22005
22015
|
|
|
22006
|
-
const FSelect = _sfc_main$
|
|
22016
|
+
const FSelect = _sfc_main$Q;
|
|
22007
22017
|
|
|
22008
|
-
var _sfc_main$
|
|
22018
|
+
var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
22009
22019
|
...{
|
|
22010
22020
|
name: "RenderComp"
|
|
22011
22021
|
},
|
|
@@ -22025,12 +22035,12 @@ var _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
22025
22035
|
}
|
|
22026
22036
|
});
|
|
22027
22037
|
|
|
22028
|
-
const _hoisted_1$
|
|
22029
|
-
const _hoisted_2$
|
|
22030
|
-
const _hoisted_3$
|
|
22038
|
+
const _hoisted_1$A = { class: "inside_box" };
|
|
22039
|
+
const _hoisted_2$q = { class: "inside_box_title" };
|
|
22040
|
+
const _hoisted_3$i = { class: "check-box" };
|
|
22031
22041
|
const _hoisted_4$9 = { class: "more_dropdown_icon" };
|
|
22032
22042
|
const _hoisted_5$8 = { class: "out_box" };
|
|
22033
|
-
var _sfc_main$
|
|
22043
|
+
var _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
22034
22044
|
...{
|
|
22035
22045
|
name: "MoreChoose"
|
|
22036
22046
|
},
|
|
@@ -22168,8 +22178,8 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
22168
22178
|
])
|
|
22169
22179
|
]),
|
|
22170
22180
|
default: withCtx(() => [
|
|
22171
|
-
createElementVNode("div", _hoisted_1$
|
|
22172
|
-
createElementVNode("div", _hoisted_2$
|
|
22181
|
+
createElementVNode("div", _hoisted_1$A, [
|
|
22182
|
+
createElementVNode("div", _hoisted_2$q, [
|
|
22173
22183
|
createElementVNode(
|
|
22174
22184
|
"div",
|
|
22175
22185
|
null,
|
|
@@ -22177,7 +22187,7 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
22177
22187
|
1
|
|
22178
22188
|
/* TEXT */
|
|
22179
22189
|
),
|
|
22180
|
-
createElementVNode("div", _hoisted_3$
|
|
22190
|
+
createElementVNode("div", _hoisted_3$i, [
|
|
22181
22191
|
createVNode(_component_el_button, {
|
|
22182
22192
|
size: "small",
|
|
22183
22193
|
link: "",
|
|
@@ -22345,7 +22355,7 @@ function useComputed() {
|
|
|
22345
22355
|
};
|
|
22346
22356
|
}
|
|
22347
22357
|
|
|
22348
|
-
var _sfc_main$
|
|
22358
|
+
var _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
22349
22359
|
...{
|
|
22350
22360
|
name: "FQueryCondition"
|
|
22351
22361
|
},
|
|
@@ -22764,7 +22774,7 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
22764
22774
|
opt.labelRender ? {
|
|
22765
22775
|
name: "label",
|
|
22766
22776
|
fn: withCtx(() => [
|
|
22767
|
-
createVNode(_sfc_main$
|
|
22777
|
+
createVNode(_sfc_main$P, {
|
|
22768
22778
|
form: unref(queryState).form,
|
|
22769
22779
|
render: opt.labelRender
|
|
22770
22780
|
}, null, 8, ["form", "render"])
|
|
@@ -22860,7 +22870,7 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
22860
22870
|
_: 1
|
|
22861
22871
|
/* STABLE */
|
|
22862
22872
|
})) : createCommentVNode("v-if", true),
|
|
22863
|
-
createVNode(_sfc_main$
|
|
22873
|
+
createVNode(_sfc_main$O, {
|
|
22864
22874
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22865
22875
|
moreCheckList: __props.moreCheckList,
|
|
22866
22876
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22886,7 +22896,7 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
22886
22896
|
}
|
|
22887
22897
|
});
|
|
22888
22898
|
|
|
22889
|
-
var _sfc_main$
|
|
22899
|
+
var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
22890
22900
|
...{
|
|
22891
22901
|
name: "RenderCol"
|
|
22892
22902
|
},
|
|
@@ -23042,17 +23052,17 @@ function useVirtualized() {
|
|
|
23042
23052
|
};
|
|
23043
23053
|
}
|
|
23044
23054
|
|
|
23045
|
-
const _hoisted_1$
|
|
23055
|
+
const _hoisted_1$z = {
|
|
23046
23056
|
key: 0,
|
|
23047
23057
|
class: "table_query_condition"
|
|
23048
23058
|
};
|
|
23049
|
-
const _hoisted_2$
|
|
23050
|
-
const _hoisted_3$
|
|
23059
|
+
const _hoisted_2$p = ["element-loading-text"];
|
|
23060
|
+
const _hoisted_3$h = { key: 2 };
|
|
23051
23061
|
const _hoisted_4$8 = {
|
|
23052
23062
|
key: 0,
|
|
23053
23063
|
class: "f-table-select__page"
|
|
23054
23064
|
};
|
|
23055
|
-
var _sfc_main$
|
|
23065
|
+
var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
23056
23066
|
...{
|
|
23057
23067
|
name: "FSelectTable"
|
|
23058
23068
|
},
|
|
@@ -23674,9 +23684,9 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23674
23684
|
style: normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
|
|
23675
23685
|
},
|
|
23676
23686
|
[
|
|
23677
|
-
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
23687
|
+
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
23678
23688
|
createVNode(
|
|
23679
|
-
_sfc_main$
|
|
23689
|
+
_sfc_main$N,
|
|
23680
23690
|
mergeProps({
|
|
23681
23691
|
ref_key: "fQueryConditionRef",
|
|
23682
23692
|
ref: fQueryConditionRef,
|
|
@@ -23802,7 +23812,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23802
23812
|
fixed: item.fixed
|
|
23803
23813
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
23804
23814
|
default: withCtx((scope) => [
|
|
23805
|
-
item.render ? (openBlock(), createBlock(_sfc_main$
|
|
23815
|
+
item.render ? (openBlock(), createBlock(_sfc_main$M, {
|
|
23806
23816
|
key: 0,
|
|
23807
23817
|
column: item,
|
|
23808
23818
|
row: scope.row,
|
|
@@ -23813,7 +23823,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23813
23823
|
key: 1,
|
|
23814
23824
|
scope
|
|
23815
23825
|
}) : createCommentVNode("v-if", true),
|
|
23816
|
-
!item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
23826
|
+
!item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$h, [
|
|
23817
23827
|
createElementVNode(
|
|
23818
23828
|
"span",
|
|
23819
23829
|
null,
|
|
@@ -23847,7 +23857,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23847
23857
|
total: __props.table.total
|
|
23848
23858
|
}, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
|
|
23849
23859
|
])) : createCommentVNode("v-if", true)
|
|
23850
|
-
], 8, _hoisted_2$
|
|
23860
|
+
], 8, _hoisted_2$p)), [
|
|
23851
23861
|
[_directive_loading, __props.tableLoading]
|
|
23852
23862
|
]),
|
|
23853
23863
|
renderSlot(_ctx.$slots, "footer")
|
|
@@ -23865,11 +23875,11 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23865
23875
|
}
|
|
23866
23876
|
});
|
|
23867
23877
|
|
|
23868
|
-
const FSelectTable = _sfc_main$
|
|
23878
|
+
const FSelectTable = _sfc_main$L;
|
|
23869
23879
|
|
|
23870
|
-
const FQueryCondition = _sfc_main$
|
|
23880
|
+
const FQueryCondition = _sfc_main$N;
|
|
23871
23881
|
|
|
23872
|
-
var _sfc_main$
|
|
23882
|
+
var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
23873
23883
|
...{
|
|
23874
23884
|
name: "RenderComp"
|
|
23875
23885
|
},
|
|
@@ -23889,7 +23899,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
23889
23899
|
}
|
|
23890
23900
|
});
|
|
23891
23901
|
|
|
23892
|
-
var _sfc_main$
|
|
23902
|
+
var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
23893
23903
|
...{
|
|
23894
23904
|
name: "RenderBtn"
|
|
23895
23905
|
},
|
|
@@ -23909,12 +23919,12 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
23909
23919
|
}
|
|
23910
23920
|
});
|
|
23911
23921
|
|
|
23912
|
-
const _hoisted_1$
|
|
23922
|
+
const _hoisted_1$y = {
|
|
23913
23923
|
key: 1,
|
|
23914
23924
|
class: "text_show"
|
|
23915
23925
|
};
|
|
23916
|
-
const _hoisted_2$
|
|
23917
|
-
var _sfc_main$
|
|
23926
|
+
const _hoisted_2$o = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
23927
|
+
var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
23918
23928
|
...{
|
|
23919
23929
|
name: "FForm"
|
|
23920
23930
|
},
|
|
@@ -24165,7 +24175,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
24165
24175
|
}) : createCommentVNode("v-if", true),
|
|
24166
24176
|
item.textShow ? (openBlock(), createElementBlock(
|
|
24167
24177
|
"span",
|
|
24168
|
-
_hoisted_1$
|
|
24178
|
+
_hoisted_1$y,
|
|
24169
24179
|
toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
|
|
24170
24180
|
1
|
|
24171
24181
|
/* TEXT */
|
|
@@ -24285,7 +24295,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
24285
24295
|
item.labelSlotName || item.labelRender ? {
|
|
24286
24296
|
name: "label",
|
|
24287
24297
|
fn: withCtx(() => [
|
|
24288
|
-
item.labelRender ? (openBlock(), createBlock(_sfc_main$
|
|
24298
|
+
item.labelRender ? (openBlock(), createBlock(_sfc_main$K, {
|
|
24289
24299
|
key: 0,
|
|
24290
24300
|
render: item.labelRender,
|
|
24291
24301
|
item
|
|
@@ -24307,7 +24317,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
24307
24317
|
/* UNKEYED_FRAGMENT */
|
|
24308
24318
|
)),
|
|
24309
24319
|
createCommentVNode(" \u6309\u94AE "),
|
|
24310
|
-
createElementVNode("div", _hoisted_2$
|
|
24320
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
24311
24321
|
__props.formOpts.btnSlotName ? renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : createCommentVNode("v-if", true),
|
|
24312
24322
|
!__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (openBlock(true), createElementBlock(
|
|
24313
24323
|
Fragment,
|
|
@@ -24317,7 +24327,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
24317
24327
|
Fragment,
|
|
24318
24328
|
null,
|
|
24319
24329
|
[
|
|
24320
|
-
val.render ? (openBlock(), createBlock(_sfc_main$
|
|
24330
|
+
val.render ? (openBlock(), createBlock(_sfc_main$J, {
|
|
24321
24331
|
key: index,
|
|
24322
24332
|
item: val,
|
|
24323
24333
|
render: val.render
|
|
@@ -24364,10 +24374,10 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
24364
24374
|
}
|
|
24365
24375
|
});
|
|
24366
24376
|
|
|
24367
|
-
const FForm = _sfc_main$
|
|
24377
|
+
const FForm = _sfc_main$I;
|
|
24368
24378
|
|
|
24369
|
-
const _hoisted_1$
|
|
24370
|
-
var _sfc_main$
|
|
24379
|
+
const _hoisted_1$x = ["src"];
|
|
24380
|
+
var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
24371
24381
|
...{
|
|
24372
24382
|
name: "svgIcon"
|
|
24373
24383
|
},
|
|
@@ -24438,7 +24448,7 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
24438
24448
|
createElementVNode("img", {
|
|
24439
24449
|
src: getIconName.value,
|
|
24440
24450
|
style: normalizeStyle(setIconSvgInsStyle.value)
|
|
24441
|
-
}, null, 12, _hoisted_1$
|
|
24451
|
+
}, null, 12, _hoisted_1$x)
|
|
24442
24452
|
],
|
|
24443
24453
|
4
|
|
24444
24454
|
/* STYLE */
|
|
@@ -24465,13 +24475,13 @@ function elSvg(app) {
|
|
|
24465
24475
|
}
|
|
24466
24476
|
}
|
|
24467
24477
|
if (!app._context.components[`SvgIcon`]) {
|
|
24468
|
-
app.component("SvgIcon", _sfc_main$
|
|
24478
|
+
app.component("SvgIcon", _sfc_main$H);
|
|
24469
24479
|
}
|
|
24470
24480
|
}
|
|
24471
24481
|
|
|
24472
24482
|
const emitter = mitt();
|
|
24473
24483
|
|
|
24474
|
-
var _sfc_main$
|
|
24484
|
+
var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
24475
24485
|
...{
|
|
24476
24486
|
name: "FLayout"
|
|
24477
24487
|
},
|
|
@@ -24557,7 +24567,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
24557
24567
|
}
|
|
24558
24568
|
});
|
|
24559
24569
|
|
|
24560
|
-
const FLayout = _sfc_main$
|
|
24570
|
+
const FLayout = _sfc_main$G;
|
|
24561
24571
|
|
|
24562
24572
|
function commonFunction() {
|
|
24563
24573
|
const { copy, isSupported } = useClipboard();
|
|
@@ -24834,9 +24844,9 @@ const other = {
|
|
|
24834
24844
|
// },
|
|
24835
24845
|
};
|
|
24836
24846
|
|
|
24837
|
-
const _hoisted_1$
|
|
24838
|
-
const _hoisted_2$
|
|
24839
|
-
const _hoisted_3$
|
|
24847
|
+
const _hoisted_1$w = { class: "layout-breadcrumb-seting" };
|
|
24848
|
+
const _hoisted_2$n = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
24849
|
+
const _hoisted_3$g = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
24840
24850
|
const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
24841
24851
|
const _hoisted_5$7 = { style: { "margin": "10px 0" } };
|
|
24842
24852
|
const _hoisted_6$3 = { class: "layout-breadcrumb-seting-bar-flex mt15" };
|
|
@@ -24959,7 +24969,7 @@ const _hoisted_119 = {
|
|
|
24959
24969
|
class: "traditionalColors-chines",
|
|
24960
24970
|
style: { "cursor": "grab", "color": "gray" }
|
|
24961
24971
|
};
|
|
24962
|
-
var _sfc_main$
|
|
24972
|
+
var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
24963
24973
|
...{
|
|
24964
24974
|
name: "FSettings"
|
|
24965
24975
|
},
|
|
@@ -25223,7 +25233,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
25223
25233
|
const _component_el_col = resolveComponent("el-col");
|
|
25224
25234
|
const _component_el_row = resolveComponent("el-row");
|
|
25225
25235
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
25226
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25236
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
25227
25237
|
createVNode(_component_el_drawer, {
|
|
25228
25238
|
title: _ctx.$t("message.layout.configTitle"),
|
|
25229
25239
|
modelValue: getThemeConfig.value.isDrawer,
|
|
@@ -25248,10 +25258,10 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
25248
25258
|
_: 1
|
|
25249
25259
|
/* STABLE */
|
|
25250
25260
|
}),
|
|
25251
|
-
createElementVNode("div", _hoisted_2$
|
|
25261
|
+
createElementVNode("div", _hoisted_2$n, [
|
|
25252
25262
|
createElementVNode(
|
|
25253
25263
|
"div",
|
|
25254
|
-
_hoisted_3$
|
|
25264
|
+
_hoisted_3$g,
|
|
25255
25265
|
toDisplayString(_ctx.$t("message.layout.themeColors")),
|
|
25256
25266
|
1
|
|
25257
25267
|
/* TEXT */
|
|
@@ -26722,9 +26732,9 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
26722
26732
|
}
|
|
26723
26733
|
});
|
|
26724
26734
|
|
|
26725
|
-
const FSettings = _sfc_main$
|
|
26735
|
+
const FSettings = _sfc_main$F;
|
|
26726
26736
|
|
|
26727
|
-
var _sfc_main$
|
|
26737
|
+
var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
26728
26738
|
...{
|
|
26729
26739
|
name: "FModifyRecord"
|
|
26730
26740
|
},
|
|
@@ -26987,10 +26997,10 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
26987
26997
|
}
|
|
26988
26998
|
});
|
|
26989
26999
|
|
|
26990
|
-
const FModifyRecord = _sfc_main$
|
|
27000
|
+
const FModifyRecord = _sfc_main$E;
|
|
26991
27001
|
|
|
26992
|
-
const _hoisted_1$
|
|
26993
|
-
var _sfc_main$
|
|
27002
|
+
const _hoisted_1$v = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
|
|
27003
|
+
var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
26994
27004
|
...{
|
|
26995
27005
|
name: "FmSelect"
|
|
26996
27006
|
},
|
|
@@ -27149,7 +27159,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
27149
27159
|
onClear: handelClear
|
|
27150
27160
|
}, {
|
|
27151
27161
|
header: withCtx(() => [
|
|
27152
|
-
createElementVNode("div", _hoisted_1$
|
|
27162
|
+
createElementVNode("div", _hoisted_1$v, [
|
|
27153
27163
|
createVNode(_component_el_icon, {
|
|
27154
27164
|
color: "#13c2c2",
|
|
27155
27165
|
size: __props.freshSize,
|
|
@@ -27191,9 +27201,9 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
27191
27201
|
}
|
|
27192
27202
|
});
|
|
27193
27203
|
|
|
27194
|
-
const FmSelect = _sfc_main$
|
|
27204
|
+
const FmSelect = _sfc_main$D;
|
|
27195
27205
|
|
|
27196
|
-
var _sfc_main$
|
|
27206
|
+
var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
27197
27207
|
...{
|
|
27198
27208
|
name: "Fminputdropdown"
|
|
27199
27209
|
},
|
|
@@ -27402,9 +27412,9 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
27402
27412
|
}
|
|
27403
27413
|
});
|
|
27404
27414
|
|
|
27405
|
-
const Fminputdropdown = _sfc_main$
|
|
27415
|
+
const Fminputdropdown = _sfc_main$C;
|
|
27406
27416
|
|
|
27407
|
-
var _sfc_main$
|
|
27417
|
+
var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
27408
27418
|
...{ name: "FmInputNumber" },
|
|
27409
27419
|
__name: "index",
|
|
27410
27420
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -27569,14 +27579,14 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
27569
27579
|
}
|
|
27570
27580
|
});
|
|
27571
27581
|
|
|
27572
|
-
const FmInputNumber = _sfc_main$
|
|
27582
|
+
const FmInputNumber = _sfc_main$B;
|
|
27573
27583
|
|
|
27574
|
-
const _hoisted_1$
|
|
27575
|
-
const _hoisted_2$
|
|
27576
|
-
const _hoisted_3$
|
|
27584
|
+
const _hoisted_1$u = { style: { "color": "#fff" } };
|
|
27585
|
+
const _hoisted_2$m = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
27586
|
+
const _hoisted_3$f = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
27577
27587
|
const _hoisted_4$6 = { style: { "margin-top": "10px" } };
|
|
27578
27588
|
const _hoisted_5$6 = { class: "dialog-footer" };
|
|
27579
|
-
var _sfc_main$
|
|
27589
|
+
var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
27580
27590
|
__name: "userSelectDialog",
|
|
27581
27591
|
props: {
|
|
27582
27592
|
visible: {
|
|
@@ -27715,7 +27725,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27715
27725
|
"close-on-click-modal": false
|
|
27716
27726
|
}, {
|
|
27717
27727
|
header: withCtx(() => [
|
|
27718
|
-
createElementVNode("div", _hoisted_1$
|
|
27728
|
+
createElementVNode("div", _hoisted_1$u, [
|
|
27719
27729
|
createVNode(_component_el_icon, {
|
|
27720
27730
|
size: "16",
|
|
27721
27731
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -27761,7 +27771,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27761
27771
|
default: withCtx(() => [
|
|
27762
27772
|
createElementVNode(
|
|
27763
27773
|
"p",
|
|
27764
|
-
_hoisted_2$
|
|
27774
|
+
_hoisted_2$m,
|
|
27765
27775
|
toDisplayString(_ctx.$t("\u673A\u6784")),
|
|
27766
27776
|
1
|
|
27767
27777
|
/* TEXT */
|
|
@@ -27783,7 +27793,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27783
27793
|
default: withCtx(() => [
|
|
27784
27794
|
createElementVNode(
|
|
27785
27795
|
"p",
|
|
27786
|
-
_hoisted_3$
|
|
27796
|
+
_hoisted_3$f,
|
|
27787
27797
|
toDisplayString(_ctx.$t(__props.title)) + toDisplayString(_ctx.$t("\u5217\u8868")),
|
|
27788
27798
|
1
|
|
27789
27799
|
/* TEXT */
|
|
@@ -27894,43 +27904,751 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27894
27904
|
]),
|
|
27895
27905
|
_: 1
|
|
27896
27906
|
/* STABLE */
|
|
27897
|
-
}),
|
|
27898
|
-
createVNode(_component_el_table_column, {
|
|
27899
|
-
label: _ctx.$t("\u8D26\u53F7\u540D\u79F0"),
|
|
27900
|
-
prop: "account",
|
|
27901
|
-
align: "center",
|
|
27902
|
-
"show-overflow-tooltip": true
|
|
27903
|
-
}, null, 8, ["label"]),
|
|
27904
|
-
createVNode(_component_el_table_column, {
|
|
27905
|
-
label: _ctx.$t("\u771F\u5B9E\u59D3\u540D"),
|
|
27906
|
-
prop: "realName",
|
|
27907
|
-
align: "center",
|
|
27908
|
-
"show-overflow-tooltip": true
|
|
27909
|
-
}, null, 8, ["label"]),
|
|
27910
|
-
createVNode(_component_el_table_column, {
|
|
27911
|
-
label: _ctx.$t("\u8054\u7CFB\u65B9\u5F0F"),
|
|
27912
|
-
prop: "phone",
|
|
27913
|
-
align: "center",
|
|
27914
|
-
"show-overflow-tooltip": true
|
|
27915
|
-
}, null, 8, ["label"]),
|
|
27916
|
-
createVNode(_component_el_table_column, {
|
|
27917
|
-
label: _ctx.$t("\u5C97\u4F4D"),
|
|
27918
|
-
prop: "posName",
|
|
27919
|
-
align: "center",
|
|
27920
|
-
"show-overflow-tooltip": true
|
|
27921
|
-
}, null, 8, ["label"]),
|
|
27922
|
-
createVNode(_component_el_table_column, {
|
|
27923
|
-
label: _ctx.$t("\u5DE5\u53F7"),
|
|
27924
|
-
prop: "jobNum",
|
|
27925
|
-
align: "center",
|
|
27926
|
-
"show-overflow-tooltip": true
|
|
27927
|
-
}, null, 8, ["label"]),
|
|
27928
|
-
createVNode(_component_el_table_column, {
|
|
27929
|
-
label: _ctx.$t("\u6240\u5C5E\u673A\u6784"),
|
|
27930
|
-
prop: "orgName",
|
|
27931
|
-
align: "center",
|
|
27932
|
-
"show-overflow-tooltip": true
|
|
27933
|
-
}, null, 8, ["label"])
|
|
27907
|
+
}),
|
|
27908
|
+
createVNode(_component_el_table_column, {
|
|
27909
|
+
label: _ctx.$t("\u8D26\u53F7\u540D\u79F0"),
|
|
27910
|
+
prop: "account",
|
|
27911
|
+
align: "center",
|
|
27912
|
+
"show-overflow-tooltip": true
|
|
27913
|
+
}, null, 8, ["label"]),
|
|
27914
|
+
createVNode(_component_el_table_column, {
|
|
27915
|
+
label: _ctx.$t("\u771F\u5B9E\u59D3\u540D"),
|
|
27916
|
+
prop: "realName",
|
|
27917
|
+
align: "center",
|
|
27918
|
+
"show-overflow-tooltip": true
|
|
27919
|
+
}, null, 8, ["label"]),
|
|
27920
|
+
createVNode(_component_el_table_column, {
|
|
27921
|
+
label: _ctx.$t("\u8054\u7CFB\u65B9\u5F0F"),
|
|
27922
|
+
prop: "phone",
|
|
27923
|
+
align: "center",
|
|
27924
|
+
"show-overflow-tooltip": true
|
|
27925
|
+
}, null, 8, ["label"]),
|
|
27926
|
+
createVNode(_component_el_table_column, {
|
|
27927
|
+
label: _ctx.$t("\u5C97\u4F4D"),
|
|
27928
|
+
prop: "posName",
|
|
27929
|
+
align: "center",
|
|
27930
|
+
"show-overflow-tooltip": true
|
|
27931
|
+
}, null, 8, ["label"]),
|
|
27932
|
+
createVNode(_component_el_table_column, {
|
|
27933
|
+
label: _ctx.$t("\u5DE5\u53F7"),
|
|
27934
|
+
prop: "jobNum",
|
|
27935
|
+
align: "center",
|
|
27936
|
+
"show-overflow-tooltip": true
|
|
27937
|
+
}, null, 8, ["label"]),
|
|
27938
|
+
createVNode(_component_el_table_column, {
|
|
27939
|
+
label: _ctx.$t("\u6240\u5C5E\u673A\u6784"),
|
|
27940
|
+
prop: "orgName",
|
|
27941
|
+
align: "center",
|
|
27942
|
+
"show-overflow-tooltip": true
|
|
27943
|
+
}, null, 8, ["label"])
|
|
27944
|
+
]),
|
|
27945
|
+
_: 1
|
|
27946
|
+
/* STABLE */
|
|
27947
|
+
}, 8, ["data"]),
|
|
27948
|
+
createVNode(_component_el_pagination, {
|
|
27949
|
+
"current-page": state.queryParams.page,
|
|
27950
|
+
"page-size": state.queryParams.pageSize,
|
|
27951
|
+
total: state.queryParams.total,
|
|
27952
|
+
"page-sizes": [10, 20, 50, 100],
|
|
27953
|
+
background: "",
|
|
27954
|
+
onSizeChange: handleSizeChange,
|
|
27955
|
+
onCurrentChange: handleCurrentChange,
|
|
27956
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
27957
|
+
style: { "padding-bottom": "8px" }
|
|
27958
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
27959
|
+
]),
|
|
27960
|
+
_: 1
|
|
27961
|
+
/* STABLE */
|
|
27962
|
+
})
|
|
27963
|
+
])
|
|
27964
|
+
]),
|
|
27965
|
+
_: 1
|
|
27966
|
+
/* STABLE */
|
|
27967
|
+
})
|
|
27968
|
+
]),
|
|
27969
|
+
_: 1
|
|
27970
|
+
/* STABLE */
|
|
27971
|
+
})
|
|
27972
|
+
]),
|
|
27973
|
+
_: 1
|
|
27974
|
+
/* STABLE */
|
|
27975
|
+
}, 8, ["modelValue"]);
|
|
27976
|
+
};
|
|
27977
|
+
}
|
|
27978
|
+
});
|
|
27979
|
+
|
|
27980
|
+
const _hoisted_1$t = { style: { "color": "#fff" } };
|
|
27981
|
+
const _hoisted_2$l = { style: { "margin-top": "10px" } };
|
|
27982
|
+
const _hoisted_3$e = { class: "dialog-footer" };
|
|
27983
|
+
var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
27984
|
+
__name: "supplierSelectDialog",
|
|
27985
|
+
props: {
|
|
27986
|
+
visible: {
|
|
27987
|
+
type: Boolean,
|
|
27988
|
+
default: false
|
|
27989
|
+
},
|
|
27990
|
+
title: {
|
|
27991
|
+
type: String,
|
|
27992
|
+
default: ""
|
|
27993
|
+
},
|
|
27994
|
+
data: {
|
|
27995
|
+
type: Array,
|
|
27996
|
+
default: () => []
|
|
27997
|
+
},
|
|
27998
|
+
userService: {
|
|
27999
|
+
type: String,
|
|
28000
|
+
default: "autoRes"
|
|
28001
|
+
},
|
|
28002
|
+
userAction: {
|
|
28003
|
+
type: String,
|
|
28004
|
+
default: "UserTable"
|
|
28005
|
+
},
|
|
28006
|
+
userParams: {
|
|
28007
|
+
type: Object,
|
|
28008
|
+
default: () => {
|
|
28009
|
+
}
|
|
28010
|
+
}
|
|
28011
|
+
},
|
|
28012
|
+
emits: ["update:visible", "change"],
|
|
28013
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
28014
|
+
let emits = __emit;
|
|
28015
|
+
const props = __props;
|
|
28016
|
+
const userList = ref([]);
|
|
28017
|
+
let checkedUsersList = ref([]);
|
|
28018
|
+
const state = reactive({
|
|
28019
|
+
total: 0,
|
|
28020
|
+
pdata: null,
|
|
28021
|
+
queryParams: {
|
|
28022
|
+
orgId: -1,
|
|
28023
|
+
page: 1,
|
|
28024
|
+
pageSize: 50
|
|
28025
|
+
}
|
|
28026
|
+
});
|
|
28027
|
+
let visibleDialog = computed({
|
|
28028
|
+
get() {
|
|
28029
|
+
return props.visible;
|
|
28030
|
+
},
|
|
28031
|
+
set() {
|
|
28032
|
+
closeDialog();
|
|
28033
|
+
}
|
|
28034
|
+
});
|
|
28035
|
+
onMounted(async () => {
|
|
28036
|
+
});
|
|
28037
|
+
const resetQuery = () => {
|
|
28038
|
+
state.queryParams = {};
|
|
28039
|
+
handleQuery();
|
|
28040
|
+
};
|
|
28041
|
+
const getUserList = async () => {
|
|
28042
|
+
var _a, _b, _c, _d;
|
|
28043
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
28044
|
+
userList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
28045
|
+
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
28046
|
+
};
|
|
28047
|
+
async function handleQuery() {
|
|
28048
|
+
state.queryParams.pageNum = 1;
|
|
28049
|
+
await getUserList();
|
|
28050
|
+
}
|
|
28051
|
+
function handleSelectUser(row) {
|
|
28052
|
+
if (!row || row.id == "") return;
|
|
28053
|
+
emits("change", { id: row.id, name: row.supplierName, supplierType: row.supplierType, pdata: state.pdata, data: row });
|
|
28054
|
+
}
|
|
28055
|
+
const handledbclick = (row) => {
|
|
28056
|
+
handleSelectUser(row);
|
|
28057
|
+
};
|
|
28058
|
+
const loadSub = async (row, treeNode, resolve) => {
|
|
28059
|
+
var _a, _b, _c;
|
|
28060
|
+
state.pdata = row;
|
|
28061
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams, pid: row.id }, props.userAction);
|
|
28062
|
+
row.children = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
28063
|
+
resolve((_c = row.children) != null ? _c : []);
|
|
28064
|
+
};
|
|
28065
|
+
const handleSizeChange = (val) => {
|
|
28066
|
+
state.queryParams.pageSize = val;
|
|
28067
|
+
handleQuery();
|
|
28068
|
+
};
|
|
28069
|
+
const handleCurrentChange = (val) => {
|
|
28070
|
+
state.queryParams.page = val;
|
|
28071
|
+
handleQuery();
|
|
28072
|
+
};
|
|
28073
|
+
const closeDialog = () => {
|
|
28074
|
+
checkedUsersList.value = [];
|
|
28075
|
+
emits("update:visible", false);
|
|
28076
|
+
};
|
|
28077
|
+
__expose({
|
|
28078
|
+
handleQuery
|
|
28079
|
+
});
|
|
28080
|
+
return (_ctx, _cache) => {
|
|
28081
|
+
const _component_ele_Edit = resolveComponent("ele-Edit");
|
|
28082
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
28083
|
+
const _component_el_input = resolveComponent("el-input");
|
|
28084
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
28085
|
+
const _component_el_button = resolveComponent("el-button");
|
|
28086
|
+
const _component_el_button_group = resolveComponent("el-button-group");
|
|
28087
|
+
const _component_el_form = resolveComponent("el-form");
|
|
28088
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
28089
|
+
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
28090
|
+
const _component_el_table = resolveComponent("el-table");
|
|
28091
|
+
const _component_el_pagination = resolveComponent("el-pagination");
|
|
28092
|
+
const _component_el_card = resolveComponent("el-card");
|
|
28093
|
+
const _component_el_col = resolveComponent("el-col");
|
|
28094
|
+
const _component_el_row = resolveComponent("el-row");
|
|
28095
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
28096
|
+
return openBlock(), createBlock(_component_el_dialog, {
|
|
28097
|
+
modelValue: unref(visibleDialog),
|
|
28098
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
|
|
28099
|
+
style: { "width": "70vw" },
|
|
28100
|
+
"append-to-body": "",
|
|
28101
|
+
draggable: "",
|
|
28102
|
+
"close-on-click-modal": false
|
|
28103
|
+
}, {
|
|
28104
|
+
header: withCtx(() => [
|
|
28105
|
+
createElementVNode("div", _hoisted_1$t, [
|
|
28106
|
+
createVNode(_component_el_icon, {
|
|
28107
|
+
size: "16",
|
|
28108
|
+
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
28109
|
+
}, {
|
|
28110
|
+
default: withCtx(() => [
|
|
28111
|
+
createVNode(_component_ele_Edit)
|
|
28112
|
+
]),
|
|
28113
|
+
_: 1
|
|
28114
|
+
/* STABLE */
|
|
28115
|
+
}),
|
|
28116
|
+
createElementVNode(
|
|
28117
|
+
"span",
|
|
28118
|
+
null,
|
|
28119
|
+
toDisplayString(_ctx.$t("\u9009\u62E9")) + toDisplayString(_ctx.$t(__props.title)),
|
|
28120
|
+
1
|
|
28121
|
+
/* TEXT */
|
|
28122
|
+
)
|
|
28123
|
+
])
|
|
28124
|
+
]),
|
|
28125
|
+
footer: withCtx(() => [
|
|
28126
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
28127
|
+
createVNode(_component_el_button, {
|
|
28128
|
+
icon: "ele-CircleCloseFilled",
|
|
28129
|
+
onClick: closeDialog
|
|
28130
|
+
}, {
|
|
28131
|
+
default: withCtx(() => [
|
|
28132
|
+
createTextVNode(
|
|
28133
|
+
toDisplayString(_ctx.$t("\u53D6\u6D88")),
|
|
28134
|
+
1
|
|
28135
|
+
/* TEXT */
|
|
28136
|
+
)
|
|
28137
|
+
]),
|
|
28138
|
+
_: 1
|
|
28139
|
+
/* STABLE */
|
|
28140
|
+
}),
|
|
28141
|
+
createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
|
|
28142
|
+
])
|
|
28143
|
+
]),
|
|
28144
|
+
default: withCtx(() => [
|
|
28145
|
+
createVNode(_component_el_row, { gutter: 10 }, {
|
|
28146
|
+
default: withCtx(() => [
|
|
28147
|
+
createVNode(_component_el_col, { span: 24 }, {
|
|
28148
|
+
default: withCtx(() => [
|
|
28149
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
28150
|
+
createVNode(_component_el_form, {
|
|
28151
|
+
model: state.queryParams,
|
|
28152
|
+
ref: "queryRef",
|
|
28153
|
+
inline: true
|
|
28154
|
+
}, {
|
|
28155
|
+
default: withCtx(() => [
|
|
28156
|
+
createVNode(_component_el_form_item, {
|
|
28157
|
+
label: _ctx.$t("\u5173\u952E\u5B57")
|
|
28158
|
+
}, {
|
|
28159
|
+
default: withCtx(() => [
|
|
28160
|
+
createVNode(_component_el_input, {
|
|
28161
|
+
modelValue: state.queryParams.keyword,
|
|
28162
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
|
|
28163
|
+
clearable: "",
|
|
28164
|
+
style: { "width": "150px" },
|
|
28165
|
+
onKeyup: withKeys(handleQuery, ["enter"])
|
|
28166
|
+
}, null, 8, ["modelValue"])
|
|
28167
|
+
]),
|
|
28168
|
+
_: 1
|
|
28169
|
+
/* STABLE */
|
|
28170
|
+
}, 8, ["label"]),
|
|
28171
|
+
createVNode(_component_el_form_item, null, {
|
|
28172
|
+
default: withCtx(() => [
|
|
28173
|
+
createVNode(_component_el_button_group, null, {
|
|
28174
|
+
default: withCtx(() => [
|
|
28175
|
+
createVNode(_component_el_button, {
|
|
28176
|
+
type: "primary",
|
|
28177
|
+
icon: "ele-Search",
|
|
28178
|
+
onClick: handleQuery
|
|
28179
|
+
}, {
|
|
28180
|
+
default: withCtx(() => [
|
|
28181
|
+
createTextVNode(
|
|
28182
|
+
toDisplayString(_ctx.$t("\u67E5\u8BE2")),
|
|
28183
|
+
1
|
|
28184
|
+
/* TEXT */
|
|
28185
|
+
)
|
|
28186
|
+
]),
|
|
28187
|
+
_: 1
|
|
28188
|
+
/* STABLE */
|
|
28189
|
+
}),
|
|
28190
|
+
createVNode(_component_el_button, {
|
|
28191
|
+
icon: "ele-Refresh",
|
|
28192
|
+
onClick: resetQuery
|
|
28193
|
+
}, {
|
|
28194
|
+
default: withCtx(() => [
|
|
28195
|
+
createTextVNode(
|
|
28196
|
+
toDisplayString(_ctx.$t("\u91CD\u7F6E")),
|
|
28197
|
+
1
|
|
28198
|
+
/* TEXT */
|
|
28199
|
+
)
|
|
28200
|
+
]),
|
|
28201
|
+
_: 1
|
|
28202
|
+
/* STABLE */
|
|
28203
|
+
})
|
|
28204
|
+
]),
|
|
28205
|
+
_: 1
|
|
28206
|
+
/* STABLE */
|
|
28207
|
+
}),
|
|
28208
|
+
createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
28209
|
+
]),
|
|
28210
|
+
_: 1
|
|
28211
|
+
/* STABLE */
|
|
28212
|
+
})
|
|
28213
|
+
]),
|
|
28214
|
+
_: 1
|
|
28215
|
+
/* STABLE */
|
|
28216
|
+
}, 8, ["model"]),
|
|
28217
|
+
createVNode(_component_el_card, {
|
|
28218
|
+
class: "full-table",
|
|
28219
|
+
shadow: "hover"
|
|
28220
|
+
}, {
|
|
28221
|
+
default: withCtx(() => [
|
|
28222
|
+
createVNode(_component_el_table, {
|
|
28223
|
+
ref: "refTable",
|
|
28224
|
+
data: userList.value,
|
|
28225
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
28226
|
+
"row-key": "id",
|
|
28227
|
+
lazy: "",
|
|
28228
|
+
load: loadSub,
|
|
28229
|
+
"tree-props": { children: "children", hasChildren: "hasChildren" },
|
|
28230
|
+
onRowDblclick: handledbclick
|
|
28231
|
+
}, {
|
|
28232
|
+
default: withCtx(() => [
|
|
28233
|
+
createVNode(_component_el_table_column, {
|
|
28234
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
28235
|
+
prop: "supplierName",
|
|
28236
|
+
align: "center",
|
|
28237
|
+
"show-overflow-tooltip": true
|
|
28238
|
+
}, null, 8, ["label"]),
|
|
28239
|
+
createVNode(_component_el_table_column, {
|
|
28240
|
+
label: _ctx.$t("\u8D1F\u8D23\u4EBA"),
|
|
28241
|
+
prop: "mainuser",
|
|
28242
|
+
align: "center",
|
|
28243
|
+
"show-overflow-tooltip": true
|
|
28244
|
+
}, {
|
|
28245
|
+
default: withCtx((scope) => {
|
|
28246
|
+
var _a, _b;
|
|
28247
|
+
return [
|
|
28248
|
+
createTextVNode(
|
|
28249
|
+
toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.Contact),
|
|
28250
|
+
1
|
|
28251
|
+
/* TEXT */
|
|
28252
|
+
)
|
|
28253
|
+
];
|
|
28254
|
+
}),
|
|
28255
|
+
_: 1
|
|
28256
|
+
/* STABLE */
|
|
28257
|
+
}, 8, ["label"]),
|
|
28258
|
+
createVNode(_component_el_table_column, {
|
|
28259
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
28260
|
+
prop: "mainusertel",
|
|
28261
|
+
align: "center",
|
|
28262
|
+
"show-overflow-tooltip": true
|
|
28263
|
+
}, {
|
|
28264
|
+
default: withCtx((scope) => {
|
|
28265
|
+
var _a, _b;
|
|
28266
|
+
return [
|
|
28267
|
+
createTextVNode(
|
|
28268
|
+
toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.tel),
|
|
28269
|
+
1
|
|
28270
|
+
/* TEXT */
|
|
28271
|
+
)
|
|
28272
|
+
];
|
|
28273
|
+
}),
|
|
28274
|
+
_: 1
|
|
28275
|
+
/* STABLE */
|
|
28276
|
+
}, 8, ["label"]),
|
|
28277
|
+
createVNode(_component_el_table_column, {
|
|
28278
|
+
label: _ctx.$t("\u6240\u5728\u533A\u57DF"),
|
|
28279
|
+
prop: "mainusertel",
|
|
28280
|
+
align: "center",
|
|
28281
|
+
"show-overflow-tooltip": true
|
|
28282
|
+
}, {
|
|
28283
|
+
default: withCtx((scope) => {
|
|
28284
|
+
var _a, _b, _c, _d, _e, _f;
|
|
28285
|
+
return [
|
|
28286
|
+
createTextVNode(
|
|
28287
|
+
toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.province) + toDisplayString((_d = (_c = scope.row) == null ? void 0 : _c.mainManager) == null ? void 0 : _d.city) + toDisplayString((_f = (_e = scope.row) == null ? void 0 : _e.mainManager) == null ? void 0 : _f.district),
|
|
28288
|
+
1
|
|
28289
|
+
/* TEXT */
|
|
28290
|
+
)
|
|
28291
|
+
];
|
|
28292
|
+
}),
|
|
28293
|
+
_: 1
|
|
28294
|
+
/* STABLE */
|
|
28295
|
+
}, 8, ["label"]),
|
|
28296
|
+
createVNode(_component_el_table_column, {
|
|
28297
|
+
label: "\u64CD\u4F5C",
|
|
28298
|
+
width: "60",
|
|
28299
|
+
align: "center"
|
|
28300
|
+
}, {
|
|
28301
|
+
default: withCtx((scope) => [
|
|
28302
|
+
createVNode(_component_el_button, {
|
|
28303
|
+
link: "",
|
|
28304
|
+
type: "primary",
|
|
28305
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
28306
|
+
}, {
|
|
28307
|
+
default: withCtx(() => [
|
|
28308
|
+
createVNode(_component_el_icon, null, {
|
|
28309
|
+
default: withCtx(() => [
|
|
28310
|
+
createVNode(_component_ele_Plus)
|
|
28311
|
+
]),
|
|
28312
|
+
_: 1
|
|
28313
|
+
/* STABLE */
|
|
28314
|
+
})
|
|
28315
|
+
]),
|
|
28316
|
+
_: 1
|
|
28317
|
+
/* STABLE */
|
|
28318
|
+
}, 8, ["onClick"])
|
|
28319
|
+
]),
|
|
28320
|
+
_: 1
|
|
28321
|
+
/* STABLE */
|
|
28322
|
+
})
|
|
28323
|
+
]),
|
|
28324
|
+
_: 1
|
|
28325
|
+
/* STABLE */
|
|
28326
|
+
}, 8, ["data"]),
|
|
28327
|
+
createVNode(_component_el_pagination, {
|
|
28328
|
+
"current-page": state.queryParams.page,
|
|
28329
|
+
"page-size": state.queryParams.pageSize,
|
|
28330
|
+
total: state.queryParams.total,
|
|
28331
|
+
"page-sizes": [10, 20, 50, 100],
|
|
28332
|
+
background: "",
|
|
28333
|
+
onSizeChange: handleSizeChange,
|
|
28334
|
+
onCurrentChange: handleCurrentChange,
|
|
28335
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
28336
|
+
style: { "padding-bottom": "8px" }
|
|
28337
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
28338
|
+
]),
|
|
28339
|
+
_: 1
|
|
28340
|
+
/* STABLE */
|
|
28341
|
+
})
|
|
28342
|
+
])
|
|
28343
|
+
]),
|
|
28344
|
+
_: 1
|
|
28345
|
+
/* STABLE */
|
|
28346
|
+
})
|
|
28347
|
+
]),
|
|
28348
|
+
_: 1
|
|
28349
|
+
/* STABLE */
|
|
28350
|
+
})
|
|
28351
|
+
]),
|
|
28352
|
+
_: 1
|
|
28353
|
+
/* STABLE */
|
|
28354
|
+
}, 8, ["modelValue"]);
|
|
28355
|
+
};
|
|
28356
|
+
}
|
|
28357
|
+
});
|
|
28358
|
+
|
|
28359
|
+
const _hoisted_1$s = { style: { "color": "#fff" } };
|
|
28360
|
+
const _hoisted_2$k = { style: { "margin-top": "10px" } };
|
|
28361
|
+
const _hoisted_3$d = { class: "dialog-footer" };
|
|
28362
|
+
var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
28363
|
+
__name: "supplierUserSelectDialog",
|
|
28364
|
+
props: {
|
|
28365
|
+
visible: {
|
|
28366
|
+
type: Boolean,
|
|
28367
|
+
default: false
|
|
28368
|
+
},
|
|
28369
|
+
title: {
|
|
28370
|
+
type: String,
|
|
28371
|
+
default: ""
|
|
28372
|
+
},
|
|
28373
|
+
data: {
|
|
28374
|
+
type: Array,
|
|
28375
|
+
default: () => []
|
|
28376
|
+
},
|
|
28377
|
+
userService: {
|
|
28378
|
+
type: String,
|
|
28379
|
+
default: "autoRes"
|
|
28380
|
+
},
|
|
28381
|
+
userAction: {
|
|
28382
|
+
type: String,
|
|
28383
|
+
default: "supplierUserTable"
|
|
28384
|
+
},
|
|
28385
|
+
userParams: {
|
|
28386
|
+
type: Object,
|
|
28387
|
+
default: () => {
|
|
28388
|
+
}
|
|
28389
|
+
}
|
|
28390
|
+
},
|
|
28391
|
+
emits: ["update:visible", "change"],
|
|
28392
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
28393
|
+
let emits = __emit;
|
|
28394
|
+
const props = __props;
|
|
28395
|
+
const userList = ref([]);
|
|
28396
|
+
let checkedUsersList = ref([]);
|
|
28397
|
+
const state = reactive({
|
|
28398
|
+
total: 0,
|
|
28399
|
+
pdata: null,
|
|
28400
|
+
queryParams: {
|
|
28401
|
+
orgId: -1,
|
|
28402
|
+
page: 1,
|
|
28403
|
+
pageSize: 50
|
|
28404
|
+
}
|
|
28405
|
+
});
|
|
28406
|
+
let visibleDialog = computed({
|
|
28407
|
+
get() {
|
|
28408
|
+
return props.visible;
|
|
28409
|
+
},
|
|
28410
|
+
set() {
|
|
28411
|
+
closeDialog();
|
|
28412
|
+
}
|
|
28413
|
+
});
|
|
28414
|
+
onMounted(async () => {
|
|
28415
|
+
});
|
|
28416
|
+
const resetQuery = () => {
|
|
28417
|
+
state.queryParams = {};
|
|
28418
|
+
handleQuery();
|
|
28419
|
+
};
|
|
28420
|
+
const getUserList = async () => {
|
|
28421
|
+
var _a, _b, _c, _d;
|
|
28422
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
28423
|
+
userList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
28424
|
+
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
28425
|
+
};
|
|
28426
|
+
async function handleQuery() {
|
|
28427
|
+
state.queryParams.pageNum = 1;
|
|
28428
|
+
await getUserList();
|
|
28429
|
+
}
|
|
28430
|
+
function handleSelectUser(row) {
|
|
28431
|
+
if (!row || row.id == "") return;
|
|
28432
|
+
emits("change", row);
|
|
28433
|
+
}
|
|
28434
|
+
const handledbclick = (row) => {
|
|
28435
|
+
handleSelectUser(row);
|
|
28436
|
+
};
|
|
28437
|
+
const handleSizeChange = (val) => {
|
|
28438
|
+
state.queryParams.pageSize = val;
|
|
28439
|
+
handleQuery();
|
|
28440
|
+
};
|
|
28441
|
+
const handleCurrentChange = (val) => {
|
|
28442
|
+
state.queryParams.page = val;
|
|
28443
|
+
handleQuery();
|
|
28444
|
+
};
|
|
28445
|
+
const closeDialog = () => {
|
|
28446
|
+
checkedUsersList.value = [];
|
|
28447
|
+
emits("update:visible", false);
|
|
28448
|
+
};
|
|
28449
|
+
__expose({
|
|
28450
|
+
handleQuery
|
|
28451
|
+
});
|
|
28452
|
+
return (_ctx, _cache) => {
|
|
28453
|
+
const _component_ele_Edit = resolveComponent("ele-Edit");
|
|
28454
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
28455
|
+
const _component_el_input = resolveComponent("el-input");
|
|
28456
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
28457
|
+
const _component_el_button = resolveComponent("el-button");
|
|
28458
|
+
const _component_el_button_group = resolveComponent("el-button-group");
|
|
28459
|
+
const _component_el_form = resolveComponent("el-form");
|
|
28460
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
28461
|
+
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
28462
|
+
const _component_el_table = resolveComponent("el-table");
|
|
28463
|
+
const _component_el_pagination = resolveComponent("el-pagination");
|
|
28464
|
+
const _component_el_card = resolveComponent("el-card");
|
|
28465
|
+
const _component_el_col = resolveComponent("el-col");
|
|
28466
|
+
const _component_el_row = resolveComponent("el-row");
|
|
28467
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
28468
|
+
return openBlock(), createBlock(_component_el_dialog, {
|
|
28469
|
+
modelValue: unref(visibleDialog),
|
|
28470
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
|
|
28471
|
+
style: { "width": "70vw" },
|
|
28472
|
+
"append-to-body": "",
|
|
28473
|
+
draggable: "",
|
|
28474
|
+
"close-on-click-modal": false
|
|
28475
|
+
}, {
|
|
28476
|
+
header: withCtx(() => [
|
|
28477
|
+
createElementVNode("div", _hoisted_1$s, [
|
|
28478
|
+
createVNode(_component_el_icon, {
|
|
28479
|
+
size: "16",
|
|
28480
|
+
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
28481
|
+
}, {
|
|
28482
|
+
default: withCtx(() => [
|
|
28483
|
+
createVNode(_component_ele_Edit)
|
|
28484
|
+
]),
|
|
28485
|
+
_: 1
|
|
28486
|
+
/* STABLE */
|
|
28487
|
+
}),
|
|
28488
|
+
createElementVNode(
|
|
28489
|
+
"span",
|
|
28490
|
+
null,
|
|
28491
|
+
toDisplayString(_ctx.$t("\u9009\u62E9")) + toDisplayString(_ctx.$t(__props.title)),
|
|
28492
|
+
1
|
|
28493
|
+
/* TEXT */
|
|
28494
|
+
)
|
|
28495
|
+
])
|
|
28496
|
+
]),
|
|
28497
|
+
footer: withCtx(() => [
|
|
28498
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
28499
|
+
createVNode(_component_el_button, {
|
|
28500
|
+
icon: "ele-CircleCloseFilled",
|
|
28501
|
+
onClick: closeDialog
|
|
28502
|
+
}, {
|
|
28503
|
+
default: withCtx(() => [
|
|
28504
|
+
createTextVNode(
|
|
28505
|
+
toDisplayString(_ctx.$t("\u53D6\u6D88")),
|
|
28506
|
+
1
|
|
28507
|
+
/* TEXT */
|
|
28508
|
+
)
|
|
28509
|
+
]),
|
|
28510
|
+
_: 1
|
|
28511
|
+
/* STABLE */
|
|
28512
|
+
}),
|
|
28513
|
+
createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
|
|
28514
|
+
])
|
|
28515
|
+
]),
|
|
28516
|
+
default: withCtx(() => [
|
|
28517
|
+
createVNode(_component_el_row, { gutter: 10 }, {
|
|
28518
|
+
default: withCtx(() => [
|
|
28519
|
+
createVNode(_component_el_col, { span: 24 }, {
|
|
28520
|
+
default: withCtx(() => [
|
|
28521
|
+
createElementVNode("div", _hoisted_2$k, [
|
|
28522
|
+
createVNode(_component_el_form, {
|
|
28523
|
+
model: state.queryParams,
|
|
28524
|
+
ref: "queryRef",
|
|
28525
|
+
inline: true
|
|
28526
|
+
}, {
|
|
28527
|
+
default: withCtx(() => [
|
|
28528
|
+
createVNode(_component_el_form_item, {
|
|
28529
|
+
label: _ctx.$t("\u5173\u952E\u5B57")
|
|
28530
|
+
}, {
|
|
28531
|
+
default: withCtx(() => [
|
|
28532
|
+
createVNode(_component_el_input, {
|
|
28533
|
+
modelValue: state.queryParams.keyword,
|
|
28534
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
|
|
28535
|
+
clearable: "",
|
|
28536
|
+
style: { "width": "150px" },
|
|
28537
|
+
onKeyup: withKeys(handleQuery, ["enter"])
|
|
28538
|
+
}, null, 8, ["modelValue"])
|
|
28539
|
+
]),
|
|
28540
|
+
_: 1
|
|
28541
|
+
/* STABLE */
|
|
28542
|
+
}, 8, ["label"]),
|
|
28543
|
+
createVNode(_component_el_form_item, null, {
|
|
28544
|
+
default: withCtx(() => [
|
|
28545
|
+
createVNode(_component_el_button_group, null, {
|
|
28546
|
+
default: withCtx(() => [
|
|
28547
|
+
createVNode(_component_el_button, {
|
|
28548
|
+
type: "primary",
|
|
28549
|
+
icon: "ele-Search",
|
|
28550
|
+
onClick: handleQuery
|
|
28551
|
+
}, {
|
|
28552
|
+
default: withCtx(() => [
|
|
28553
|
+
createTextVNode(
|
|
28554
|
+
toDisplayString(_ctx.$t("\u67E5\u8BE2")),
|
|
28555
|
+
1
|
|
28556
|
+
/* TEXT */
|
|
28557
|
+
)
|
|
28558
|
+
]),
|
|
28559
|
+
_: 1
|
|
28560
|
+
/* STABLE */
|
|
28561
|
+
}),
|
|
28562
|
+
createVNode(_component_el_button, {
|
|
28563
|
+
icon: "ele-Refresh",
|
|
28564
|
+
onClick: resetQuery
|
|
28565
|
+
}, {
|
|
28566
|
+
default: withCtx(() => [
|
|
28567
|
+
createTextVNode(
|
|
28568
|
+
toDisplayString(_ctx.$t("\u91CD\u7F6E")),
|
|
28569
|
+
1
|
|
28570
|
+
/* TEXT */
|
|
28571
|
+
)
|
|
28572
|
+
]),
|
|
28573
|
+
_: 1
|
|
28574
|
+
/* STABLE */
|
|
28575
|
+
})
|
|
28576
|
+
]),
|
|
28577
|
+
_: 1
|
|
28578
|
+
/* STABLE */
|
|
28579
|
+
}),
|
|
28580
|
+
createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
28581
|
+
]),
|
|
28582
|
+
_: 1
|
|
28583
|
+
/* STABLE */
|
|
28584
|
+
})
|
|
28585
|
+
]),
|
|
28586
|
+
_: 1
|
|
28587
|
+
/* STABLE */
|
|
28588
|
+
}, 8, ["model"]),
|
|
28589
|
+
createVNode(_component_el_card, {
|
|
28590
|
+
class: "full-table",
|
|
28591
|
+
shadow: "hover"
|
|
28592
|
+
}, {
|
|
28593
|
+
default: withCtx(() => [
|
|
28594
|
+
createVNode(_component_el_table, {
|
|
28595
|
+
ref: "refTable",
|
|
28596
|
+
data: userList.value,
|
|
28597
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
28598
|
+
onRowDblclick: handledbclick
|
|
28599
|
+
}, {
|
|
28600
|
+
default: withCtx(() => [
|
|
28601
|
+
createVNode(_component_el_table_column, {
|
|
28602
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
28603
|
+
prop: "name",
|
|
28604
|
+
align: "center",
|
|
28605
|
+
"show-overflow-tooltip": true
|
|
28606
|
+
}, null, 8, ["label"]),
|
|
28607
|
+
createVNode(_component_el_table_column, {
|
|
28608
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
28609
|
+
prop: "tel",
|
|
28610
|
+
align: "center",
|
|
28611
|
+
"show-overflow-tooltip": true
|
|
28612
|
+
}, null, 8, ["label"]),
|
|
28613
|
+
createVNode(_component_el_table_column, {
|
|
28614
|
+
label: _ctx.$t("\u4F20\u771F"),
|
|
28615
|
+
prop: "fax",
|
|
28616
|
+
align: "center",
|
|
28617
|
+
"show-overflow-tooltip": true
|
|
28618
|
+
}, null, 8, ["label"]),
|
|
28619
|
+
createVNode(_component_el_table_column, {
|
|
28620
|
+
label: _ctx.$t("\u5FAE\u4FE1\u53F7"),
|
|
28621
|
+
prop: "wxNumber",
|
|
28622
|
+
align: "center",
|
|
28623
|
+
"show-overflow-tooltip": true
|
|
28624
|
+
}, null, 8, ["label"]),
|
|
28625
|
+
createVNode(_component_el_table_column, {
|
|
28626
|
+
label: "\u64CD\u4F5C",
|
|
28627
|
+
width: "60",
|
|
28628
|
+
align: "center"
|
|
28629
|
+
}, {
|
|
28630
|
+
default: withCtx((scope) => [
|
|
28631
|
+
createVNode(_component_el_button, {
|
|
28632
|
+
link: "",
|
|
28633
|
+
type: "primary",
|
|
28634
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
28635
|
+
}, {
|
|
28636
|
+
default: withCtx(() => [
|
|
28637
|
+
createVNode(_component_el_icon, null, {
|
|
28638
|
+
default: withCtx(() => [
|
|
28639
|
+
createVNode(_component_ele_Plus)
|
|
28640
|
+
]),
|
|
28641
|
+
_: 1
|
|
28642
|
+
/* STABLE */
|
|
28643
|
+
})
|
|
28644
|
+
]),
|
|
28645
|
+
_: 1
|
|
28646
|
+
/* STABLE */
|
|
28647
|
+
}, 8, ["onClick"])
|
|
28648
|
+
]),
|
|
28649
|
+
_: 1
|
|
28650
|
+
/* STABLE */
|
|
28651
|
+
})
|
|
27934
28652
|
]),
|
|
27935
28653
|
_: 1
|
|
27936
28654
|
/* STABLE */
|
|
@@ -27971,7 +28689,7 @@ const _hoisted_1$r = { style: { "color": "#fff" } };
|
|
|
27971
28689
|
const _hoisted_2$j = { style: { "margin-top": "10px" } };
|
|
27972
28690
|
const _hoisted_3$c = { class: "dialog-footer" };
|
|
27973
28691
|
var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
27974
|
-
__name: "
|
|
28692
|
+
__name: "accountSelectDialog",
|
|
27975
28693
|
props: {
|
|
27976
28694
|
visible: {
|
|
27977
28695
|
type: Boolean,
|
|
@@ -27991,7 +28709,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
27991
28709
|
},
|
|
27992
28710
|
userAction: {
|
|
27993
28711
|
type: String,
|
|
27994
|
-
default: "
|
|
28712
|
+
default: "accountTable"
|
|
27995
28713
|
},
|
|
27996
28714
|
userParams: {
|
|
27997
28715
|
type: Object,
|
|
@@ -28007,9 +28725,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28007
28725
|
let checkedUsersList = ref([]);
|
|
28008
28726
|
const state = reactive({
|
|
28009
28727
|
total: 0,
|
|
28010
|
-
pdata: null,
|
|
28011
28728
|
queryParams: {
|
|
28012
|
-
orgId: -1,
|
|
28013
28729
|
page: 1,
|
|
28014
28730
|
pageSize: 50
|
|
28015
28731
|
}
|
|
@@ -28040,18 +28756,11 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28040
28756
|
}
|
|
28041
28757
|
function handleSelectUser(row) {
|
|
28042
28758
|
if (!row || row.id == "") return;
|
|
28043
|
-
emits("change", { id: row.id, name: row.
|
|
28759
|
+
emits("change", { id: row.id, name: row.name, data: row });
|
|
28044
28760
|
}
|
|
28045
28761
|
const handledbclick = (row) => {
|
|
28046
28762
|
handleSelectUser(row);
|
|
28047
28763
|
};
|
|
28048
|
-
const loadSub = async (row, treeNode, resolve) => {
|
|
28049
|
-
var _a, _b, _c;
|
|
28050
|
-
state.pdata = row;
|
|
28051
|
-
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams, pid: row.id }, props.userAction);
|
|
28052
|
-
row.children = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
28053
|
-
resolve((_c = row.children) != null ? _c : []);
|
|
28054
|
-
};
|
|
28055
28764
|
const handleSizeChange = (val) => {
|
|
28056
28765
|
state.queryParams.pageSize = val;
|
|
28057
28766
|
handleQuery();
|
|
@@ -28075,8 +28784,8 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28075
28784
|
const _component_el_button = resolveComponent("el-button");
|
|
28076
28785
|
const _component_el_button_group = resolveComponent("el-button-group");
|
|
28077
28786
|
const _component_el_form = resolveComponent("el-form");
|
|
28078
|
-
const _component_el_table_column = resolveComponent("el-table-column");
|
|
28079
28787
|
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
28788
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
28080
28789
|
const _component_el_table = resolveComponent("el-table");
|
|
28081
28790
|
const _component_el_pagination = resolveComponent("el-pagination");
|
|
28082
28791
|
const _component_el_card = resolveComponent("el-card");
|
|
@@ -28213,76 +28922,9 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28213
28922
|
ref: "refTable",
|
|
28214
28923
|
data: userList.value,
|
|
28215
28924
|
style: { "height": "calc(70vh - 96px)" },
|
|
28216
|
-
"row-key": "id",
|
|
28217
|
-
lazy: "",
|
|
28218
|
-
load: loadSub,
|
|
28219
|
-
"tree-props": { children: "children", hasChildren: "hasChildren" },
|
|
28220
28925
|
onRowDblclick: handledbclick
|
|
28221
28926
|
}, {
|
|
28222
28927
|
default: withCtx(() => [
|
|
28223
|
-
createVNode(_component_el_table_column, {
|
|
28224
|
-
label: _ctx.$t("\u540D\u79F0"),
|
|
28225
|
-
prop: "supplierName",
|
|
28226
|
-
align: "center",
|
|
28227
|
-
"show-overflow-tooltip": true
|
|
28228
|
-
}, null, 8, ["label"]),
|
|
28229
|
-
createVNode(_component_el_table_column, {
|
|
28230
|
-
label: _ctx.$t("\u8D1F\u8D23\u4EBA"),
|
|
28231
|
-
prop: "mainuser",
|
|
28232
|
-
align: "center",
|
|
28233
|
-
"show-overflow-tooltip": true
|
|
28234
|
-
}, {
|
|
28235
|
-
default: withCtx((scope) => {
|
|
28236
|
-
var _a, _b;
|
|
28237
|
-
return [
|
|
28238
|
-
createTextVNode(
|
|
28239
|
-
toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.Contact),
|
|
28240
|
-
1
|
|
28241
|
-
/* TEXT */
|
|
28242
|
-
)
|
|
28243
|
-
];
|
|
28244
|
-
}),
|
|
28245
|
-
_: 1
|
|
28246
|
-
/* STABLE */
|
|
28247
|
-
}, 8, ["label"]),
|
|
28248
|
-
createVNode(_component_el_table_column, {
|
|
28249
|
-
label: _ctx.$t("\u7535\u8BDD"),
|
|
28250
|
-
prop: "mainusertel",
|
|
28251
|
-
align: "center",
|
|
28252
|
-
"show-overflow-tooltip": true
|
|
28253
|
-
}, {
|
|
28254
|
-
default: withCtx((scope) => {
|
|
28255
|
-
var _a, _b;
|
|
28256
|
-
return [
|
|
28257
|
-
createTextVNode(
|
|
28258
|
-
toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.tel),
|
|
28259
|
-
1
|
|
28260
|
-
/* TEXT */
|
|
28261
|
-
)
|
|
28262
|
-
];
|
|
28263
|
-
}),
|
|
28264
|
-
_: 1
|
|
28265
|
-
/* STABLE */
|
|
28266
|
-
}, 8, ["label"]),
|
|
28267
|
-
createVNode(_component_el_table_column, {
|
|
28268
|
-
label: _ctx.$t("\u6240\u5728\u533A\u57DF"),
|
|
28269
|
-
prop: "mainusertel",
|
|
28270
|
-
align: "center",
|
|
28271
|
-
"show-overflow-tooltip": true
|
|
28272
|
-
}, {
|
|
28273
|
-
default: withCtx((scope) => {
|
|
28274
|
-
var _a, _b, _c, _d, _e, _f;
|
|
28275
|
-
return [
|
|
28276
|
-
createTextVNode(
|
|
28277
|
-
toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.province) + toDisplayString((_d = (_c = scope.row) == null ? void 0 : _c.mainManager) == null ? void 0 : _d.city) + toDisplayString((_f = (_e = scope.row) == null ? void 0 : _e.mainManager) == null ? void 0 : _f.district),
|
|
28278
|
-
1
|
|
28279
|
-
/* TEXT */
|
|
28280
|
-
)
|
|
28281
|
-
];
|
|
28282
|
-
}),
|
|
28283
|
-
_: 1
|
|
28284
|
-
/* STABLE */
|
|
28285
|
-
}, 8, ["label"]),
|
|
28286
28928
|
createVNode(_component_el_table_column, {
|
|
28287
28929
|
label: "\u64CD\u4F5C",
|
|
28288
28930
|
width: "60",
|
|
@@ -28309,13 +28951,31 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28309
28951
|
]),
|
|
28310
28952
|
_: 1
|
|
28311
28953
|
/* STABLE */
|
|
28312
|
-
})
|
|
28954
|
+
}),
|
|
28955
|
+
createVNode(_component_el_table_column, {
|
|
28956
|
+
label: _ctx.$t("\u8D26\u6237\u540D\u79F0"),
|
|
28957
|
+
prop: "accountName",
|
|
28958
|
+
align: "center",
|
|
28959
|
+
"show-overflow-tooltip": true
|
|
28960
|
+
}, null, 8, ["label"]),
|
|
28961
|
+
createVNode(_component_el_table_column, {
|
|
28962
|
+
label: _ctx.$t("\u94F6\u884C\u4FE1\u606F"),
|
|
28963
|
+
prop: "bankInfo",
|
|
28964
|
+
align: "center",
|
|
28965
|
+
"show-overflow-tooltip": true
|
|
28966
|
+
}, null, 8, ["label"]),
|
|
28967
|
+
createVNode(_component_el_table_column, {
|
|
28968
|
+
label: _ctx.$t("\u4F59\u989D"),
|
|
28969
|
+
prop: "accountBalance",
|
|
28970
|
+
align: "center",
|
|
28971
|
+
"show-overflow-tooltip": true
|
|
28972
|
+
}, null, 8, ["label"])
|
|
28313
28973
|
]),
|
|
28314
28974
|
_: 1
|
|
28315
28975
|
/* STABLE */
|
|
28316
28976
|
}, 8, ["data"]),
|
|
28317
28977
|
createVNode(_component_el_pagination, {
|
|
28318
|
-
|
|
28978
|
+
"current-page": state.queryParams.page,
|
|
28319
28979
|
"page-size": state.queryParams.pageSize,
|
|
28320
28980
|
total: state.queryParams.total,
|
|
28321
28981
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -28324,7 +28984,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28324
28984
|
onCurrentChange: handleCurrentChange,
|
|
28325
28985
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
28326
28986
|
style: { "padding-bottom": "8px" }
|
|
28327
|
-
}, null, 8, ["
|
|
28987
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
28328
28988
|
]),
|
|
28329
28989
|
_: 1
|
|
28330
28990
|
/* STABLE */
|
|
@@ -28347,10 +29007,12 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28347
29007
|
});
|
|
28348
29008
|
|
|
28349
29009
|
const _hoisted_1$q = { style: { "color": "#fff" } };
|
|
28350
|
-
const _hoisted_2$i = { style: { "margin-
|
|
28351
|
-
const _hoisted_3$b = {
|
|
29010
|
+
const _hoisted_2$i = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
29011
|
+
const _hoisted_3$b = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
29012
|
+
const _hoisted_4$5 = { style: { "margin-top": "10px" } };
|
|
29013
|
+
const _hoisted_5$5 = { class: "dialog-footer" };
|
|
28352
29014
|
var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
28353
|
-
__name: "
|
|
29015
|
+
__name: "subjectSelectDialog",
|
|
28354
29016
|
props: {
|
|
28355
29017
|
visible: {
|
|
28356
29018
|
type: Boolean,
|
|
@@ -28364,15 +29026,15 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28364
29026
|
type: Array,
|
|
28365
29027
|
default: () => []
|
|
28366
29028
|
},
|
|
28367
|
-
|
|
29029
|
+
subjectService: {
|
|
28368
29030
|
type: String,
|
|
28369
29031
|
default: "autoRes"
|
|
28370
29032
|
},
|
|
28371
|
-
|
|
29033
|
+
subjectAction: {
|
|
28372
29034
|
type: String,
|
|
28373
|
-
default: "
|
|
29035
|
+
default: "subjectTable"
|
|
28374
29036
|
},
|
|
28375
|
-
|
|
29037
|
+
subjectParams: {
|
|
28376
29038
|
type: Object,
|
|
28377
29039
|
default: () => {
|
|
28378
29040
|
}
|
|
@@ -28382,17 +29044,6 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28382
29044
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
28383
29045
|
let emits = __emit;
|
|
28384
29046
|
const props = __props;
|
|
28385
|
-
const userList = ref([]);
|
|
28386
|
-
let checkedUsersList = ref([]);
|
|
28387
|
-
const state = reactive({
|
|
28388
|
-
total: 0,
|
|
28389
|
-
pdata: null,
|
|
28390
|
-
queryParams: {
|
|
28391
|
-
orgId: -1,
|
|
28392
|
-
page: 1,
|
|
28393
|
-
pageSize: 50
|
|
28394
|
-
}
|
|
28395
|
-
});
|
|
28396
29047
|
let visibleDialog = computed({
|
|
28397
29048
|
get() {
|
|
28398
29049
|
return props.visible;
|
|
@@ -28401,39 +29052,41 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28401
29052
|
closeDialog();
|
|
28402
29053
|
}
|
|
28403
29054
|
});
|
|
29055
|
+
const state = reactive({
|
|
29056
|
+
treeData: [],
|
|
29057
|
+
total: 0,
|
|
29058
|
+
queryParams: {
|
|
29059
|
+
pid: 0
|
|
29060
|
+
}
|
|
29061
|
+
});
|
|
29062
|
+
const tableList = ref([]);
|
|
28404
29063
|
onMounted(async () => {
|
|
29064
|
+
state.treeData = [{ id: 1, name: "\u8D44\u4EA7", code: "" }, { id: 2, name: "\u8D1F\u503A", code: "" }, { id: 3, name: "\u6743\u76CA", code: "" }, { id: 4, name: "\u6210\u672C", code: "" }, { id: 5, name: "\u635F\u76CA", code: "" }];
|
|
28405
29065
|
});
|
|
28406
|
-
const
|
|
28407
|
-
|
|
28408
|
-
|
|
28409
|
-
|
|
28410
|
-
const getUserList = async () => {
|
|
28411
|
-
var _a, _b, _c, _d;
|
|
28412
|
-
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
28413
|
-
userList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
28414
|
-
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
29066
|
+
const getTableList = async () => {
|
|
29067
|
+
var _a;
|
|
29068
|
+
const res = await useBaseApi(props.subjectService).post(state.queryParams, props.subjectAction);
|
|
29069
|
+
tableList.value = (_a = res.data.result) != null ? _a : [];
|
|
28415
29070
|
};
|
|
28416
|
-
|
|
28417
|
-
|
|
28418
|
-
|
|
28419
|
-
}
|
|
28420
|
-
function handleSelectUser(row) {
|
|
28421
|
-
if (!row || row.id == "") return;
|
|
28422
|
-
emits("change", row);
|
|
29071
|
+
function handleSelect(row) {
|
|
29072
|
+
if (!row || row.id == "" || row.isLeaf == 0) return;
|
|
29073
|
+
emits("change", { id: row.id, name: row.subjectName, code: row.subjectCode, data: row });
|
|
28423
29074
|
}
|
|
28424
29075
|
const handledbclick = (row) => {
|
|
28425
|
-
|
|
29076
|
+
handleSelect(row);
|
|
28426
29077
|
};
|
|
28427
|
-
|
|
28428
|
-
|
|
28429
|
-
|
|
29078
|
+
async function handleQuery() {
|
|
29079
|
+
await getTableList();
|
|
29080
|
+
}
|
|
29081
|
+
const handleNodeChange = async (node) => {
|
|
29082
|
+
state.queryParams.pid = node.id;
|
|
29083
|
+
await handleQuery();
|
|
28430
29084
|
};
|
|
28431
|
-
const
|
|
28432
|
-
state.queryParams
|
|
29085
|
+
const resetQuery = () => {
|
|
29086
|
+
state.queryParams = {};
|
|
28433
29087
|
handleQuery();
|
|
28434
29088
|
};
|
|
28435
29089
|
const closeDialog = () => {
|
|
28436
|
-
checkedUsersList.value = [];
|
|
28437
29090
|
emits("update:visible", false);
|
|
28438
29091
|
};
|
|
28439
29092
|
__expose({
|
|
@@ -28442,6 +29095,8 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28442
29095
|
return (_ctx, _cache) => {
|
|
28443
29096
|
const _component_ele_Edit = resolveComponent("ele-Edit");
|
|
28444
29097
|
const _component_el_icon = resolveComponent("el-icon");
|
|
29098
|
+
const _component_FmTree = resolveComponent("FmTree");
|
|
29099
|
+
const _component_el_col = resolveComponent("el-col");
|
|
28445
29100
|
const _component_el_input = resolveComponent("el-input");
|
|
28446
29101
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
28447
29102
|
const _component_el_button = resolveComponent("el-button");
|
|
@@ -28450,9 +29105,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28450
29105
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
28451
29106
|
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
28452
29107
|
const _component_el_table = resolveComponent("el-table");
|
|
28453
|
-
const _component_el_pagination = resolveComponent("el-pagination");
|
|
28454
29108
|
const _component_el_card = resolveComponent("el-card");
|
|
28455
|
-
const _component_el_col = resolveComponent("el-col");
|
|
28456
29109
|
const _component_el_row = resolveComponent("el-row");
|
|
28457
29110
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
28458
29111
|
return openBlock(), createBlock(_component_el_dialog, {
|
|
@@ -28485,7 +29138,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28485
29138
|
])
|
|
28486
29139
|
]),
|
|
28487
29140
|
footer: withCtx(() => [
|
|
28488
|
-
createElementVNode("div",
|
|
29141
|
+
createElementVNode("div", _hoisted_5$5, [
|
|
28489
29142
|
createVNode(_component_el_button, {
|
|
28490
29143
|
icon: "ele-CircleCloseFilled",
|
|
28491
29144
|
onClick: closeDialog
|
|
@@ -28506,9 +29159,34 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28506
29159
|
default: withCtx(() => [
|
|
28507
29160
|
createVNode(_component_el_row, { gutter: 10 }, {
|
|
28508
29161
|
default: withCtx(() => [
|
|
28509
|
-
createVNode(_component_el_col, { span:
|
|
29162
|
+
createVNode(_component_el_col, { span: 6 }, {
|
|
28510
29163
|
default: withCtx(() => [
|
|
28511
|
-
createElementVNode(
|
|
29164
|
+
createElementVNode(
|
|
29165
|
+
"p",
|
|
29166
|
+
_hoisted_2$i,
|
|
29167
|
+
toDisplayString(_ctx.$t("\u5927\u7C7B")),
|
|
29168
|
+
1
|
|
29169
|
+
/* TEXT */
|
|
29170
|
+
),
|
|
29171
|
+
createVNode(_component_FmTree, {
|
|
29172
|
+
treeData: state.treeData,
|
|
29173
|
+
onNodeClick: handleNodeChange,
|
|
29174
|
+
style: { "height": "calc(100% - 40px)", "overflow-y": "scroll", "overflow-x": "hidden" }
|
|
29175
|
+
}, null, 8, ["treeData"])
|
|
29176
|
+
]),
|
|
29177
|
+
_: 1
|
|
29178
|
+
/* STABLE */
|
|
29179
|
+
}),
|
|
29180
|
+
createVNode(_component_el_col, { span: 18 }, {
|
|
29181
|
+
default: withCtx(() => [
|
|
29182
|
+
createElementVNode(
|
|
29183
|
+
"p",
|
|
29184
|
+
_hoisted_3$b,
|
|
29185
|
+
toDisplayString(_ctx.$t(__props.title)) + toDisplayString(_ctx.$t("\u5217\u8868")),
|
|
29186
|
+
1
|
|
29187
|
+
/* TEXT */
|
|
29188
|
+
),
|
|
29189
|
+
createElementVNode("div", _hoisted_4$5, [
|
|
28512
29190
|
createVNode(_component_el_form, {
|
|
28513
29191
|
model: state.queryParams,
|
|
28514
29192
|
ref: "queryRef",
|
|
@@ -28566,8 +29244,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28566
29244
|
]),
|
|
28567
29245
|
_: 1
|
|
28568
29246
|
/* STABLE */
|
|
28569
|
-
})
|
|
28570
|
-
createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
29247
|
+
})
|
|
28571
29248
|
]),
|
|
28572
29249
|
_: 1
|
|
28573
29250
|
/* STABLE */
|
|
@@ -28583,32 +29260,22 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28583
29260
|
default: withCtx(() => [
|
|
28584
29261
|
createVNode(_component_el_table, {
|
|
28585
29262
|
ref: "refTable",
|
|
28586
|
-
data:
|
|
29263
|
+
data: tableList.value,
|
|
29264
|
+
"row-key": "id",
|
|
29265
|
+
"default-expand-all": "",
|
|
28587
29266
|
style: { "height": "calc(70vh - 96px)" },
|
|
28588
29267
|
onRowDblclick: handledbclick
|
|
28589
29268
|
}, {
|
|
28590
29269
|
default: withCtx(() => [
|
|
28591
29270
|
createVNode(_component_el_table_column, {
|
|
28592
|
-
label: _ctx.$t("\
|
|
28593
|
-
prop: "
|
|
28594
|
-
align: "center",
|
|
28595
|
-
"show-overflow-tooltip": true
|
|
28596
|
-
}, null, 8, ["label"]),
|
|
28597
|
-
createVNode(_component_el_table_column, {
|
|
28598
|
-
label: _ctx.$t("\u7535\u8BDD"),
|
|
28599
|
-
prop: "tel",
|
|
28600
|
-
align: "center",
|
|
28601
|
-
"show-overflow-tooltip": true
|
|
28602
|
-
}, null, 8, ["label"]),
|
|
28603
|
-
createVNode(_component_el_table_column, {
|
|
28604
|
-
label: _ctx.$t("\u4F20\u771F"),
|
|
28605
|
-
prop: "fax",
|
|
29271
|
+
label: _ctx.$t("\u79D1\u76EE\u7F16\u7801"),
|
|
29272
|
+
prop: "subjectCode",
|
|
28606
29273
|
align: "center",
|
|
28607
29274
|
"show-overflow-tooltip": true
|
|
28608
29275
|
}, null, 8, ["label"]),
|
|
28609
29276
|
createVNode(_component_el_table_column, {
|
|
28610
|
-
label: _ctx.$t("\
|
|
28611
|
-
prop: "
|
|
29277
|
+
label: _ctx.$t("\u79D1\u76EE\u540D\u79F0"),
|
|
29278
|
+
prop: "subjectName",
|
|
28612
29279
|
align: "center",
|
|
28613
29280
|
"show-overflow-tooltip": true
|
|
28614
29281
|
}, null, 8, ["label"]),
|
|
@@ -28618,10 +29285,11 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28618
29285
|
align: "center"
|
|
28619
29286
|
}, {
|
|
28620
29287
|
default: withCtx((scope) => [
|
|
28621
|
-
|
|
29288
|
+
scope.row.isLeaf == 1 ? (openBlock(), createBlock(_component_el_button, {
|
|
29289
|
+
key: 0,
|
|
28622
29290
|
link: "",
|
|
28623
29291
|
type: "primary",
|
|
28624
|
-
onClick: ($event) =>
|
|
29292
|
+
onClick: ($event) => handleSelect(scope.row)
|
|
28625
29293
|
}, {
|
|
28626
29294
|
default: withCtx(() => [
|
|
28627
29295
|
createVNode(_component_el_icon, null, {
|
|
@@ -28634,7 +29302,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28634
29302
|
]),
|
|
28635
29303
|
_: 1
|
|
28636
29304
|
/* STABLE */
|
|
28637
|
-
}, 8, ["onClick"])
|
|
29305
|
+
}, 8, ["onClick"])) : createCommentVNode("v-if", true)
|
|
28638
29306
|
]),
|
|
28639
29307
|
_: 1
|
|
28640
29308
|
/* STABLE */
|
|
@@ -28642,18 +29310,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28642
29310
|
]),
|
|
28643
29311
|
_: 1
|
|
28644
29312
|
/* STABLE */
|
|
28645
|
-
}, 8, ["data"])
|
|
28646
|
-
createVNode(_component_el_pagination, {
|
|
28647
|
-
currentPage: state.queryParams.page,
|
|
28648
|
-
"page-size": state.queryParams.pageSize,
|
|
28649
|
-
total: state.queryParams.total,
|
|
28650
|
-
"page-sizes": [10, 20, 50, 100],
|
|
28651
|
-
background: "",
|
|
28652
|
-
onSizeChange: handleSizeChange,
|
|
28653
|
-
onCurrentChange: handleCurrentChange,
|
|
28654
|
-
layout: "total, sizes, prev, pager, next, jumper",
|
|
28655
|
-
style: { "padding-bottom": "8px" }
|
|
28656
|
-
}, null, 8, ["currentPage", "page-size", "total"])
|
|
29313
|
+
}, 8, ["data"])
|
|
28657
29314
|
]),
|
|
28658
29315
|
_: 1
|
|
28659
29316
|
/* STABLE */
|
|
@@ -28679,7 +29336,7 @@ const _hoisted_1$p = { style: { "color": "#fff" } };
|
|
|
28679
29336
|
const _hoisted_2$h = { style: { "margin-top": "10px" } };
|
|
28680
29337
|
const _hoisted_3$a = { class: "dialog-footer" };
|
|
28681
29338
|
var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
28682
|
-
__name: "
|
|
29339
|
+
__name: "linSelectDialog",
|
|
28683
29340
|
props: {
|
|
28684
29341
|
visible: {
|
|
28685
29342
|
type: Boolean,
|
|
@@ -28699,7 +29356,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28699
29356
|
},
|
|
28700
29357
|
userAction: {
|
|
28701
29358
|
type: String,
|
|
28702
|
-
default: "
|
|
29359
|
+
default: "lineTable"
|
|
28703
29360
|
},
|
|
28704
29361
|
userParams: {
|
|
28705
29362
|
type: Object,
|
|
@@ -28715,7 +29372,9 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28715
29372
|
let checkedUsersList = ref([]);
|
|
28716
29373
|
const state = reactive({
|
|
28717
29374
|
total: 0,
|
|
29375
|
+
pdata: null,
|
|
28718
29376
|
queryParams: {
|
|
29377
|
+
orgId: -1,
|
|
28719
29378
|
page: 1,
|
|
28720
29379
|
pageSize: 50
|
|
28721
29380
|
}
|
|
@@ -28746,7 +29405,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28746
29405
|
}
|
|
28747
29406
|
function handleSelectUser(row) {
|
|
28748
29407
|
if (!row || row.id == "") return;
|
|
28749
|
-
emits("change",
|
|
29408
|
+
emits("change", row);
|
|
28750
29409
|
}
|
|
28751
29410
|
const handledbclick = (row) => {
|
|
28752
29411
|
handleSelectUser(row);
|
|
@@ -28774,8 +29433,8 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28774
29433
|
const _component_el_button = resolveComponent("el-button");
|
|
28775
29434
|
const _component_el_button_group = resolveComponent("el-button-group");
|
|
28776
29435
|
const _component_el_form = resolveComponent("el-form");
|
|
28777
|
-
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
28778
29436
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
29437
|
+
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
28779
29438
|
const _component_el_table = resolveComponent("el-table");
|
|
28780
29439
|
const _component_el_pagination = resolveComponent("el-pagination");
|
|
28781
29440
|
const _component_el_card = resolveComponent("el-card");
|
|
@@ -28915,6 +29574,42 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28915
29574
|
onRowDblclick: handledbclick
|
|
28916
29575
|
}, {
|
|
28917
29576
|
default: withCtx(() => [
|
|
29577
|
+
createVNode(_component_el_table_column, {
|
|
29578
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
29579
|
+
prop: "lineName",
|
|
29580
|
+
align: "center",
|
|
29581
|
+
"show-overflow-tooltip": true
|
|
29582
|
+
}, null, 8, ["label"]),
|
|
29583
|
+
createVNode(_component_el_table_column, {
|
|
29584
|
+
label: _ctx.$t("\u7EBF\u8DEF\u7F16\u7801"),
|
|
29585
|
+
prop: "lineCode",
|
|
29586
|
+
align: "center",
|
|
29587
|
+
"show-overflow-tooltip": true
|
|
29588
|
+
}, null, 8, ["label"]),
|
|
29589
|
+
createVNode(_component_el_table_column, {
|
|
29590
|
+
label: _ctx.$t("\u6210\u4EBA\u4EF7"),
|
|
29591
|
+
prop: "adultPrice",
|
|
29592
|
+
align: "center",
|
|
29593
|
+
"show-overflow-tooltip": true
|
|
29594
|
+
}, null, 8, ["label"]),
|
|
29595
|
+
createVNode(_component_el_table_column, {
|
|
29596
|
+
label: _ctx.$t("\u513F\u7AE5\u4EF7"),
|
|
29597
|
+
prop: "childPrice",
|
|
29598
|
+
align: "center",
|
|
29599
|
+
"show-overflow-tooltip": true
|
|
29600
|
+
}, null, 8, ["label"]),
|
|
29601
|
+
createVNode(_component_el_table_column, {
|
|
29602
|
+
label: _ctx.$t("\u51FA\u56E2\u4EA4\u901A"),
|
|
29603
|
+
prop: "sendTraffic",
|
|
29604
|
+
align: "center",
|
|
29605
|
+
"show-overflow-tooltip": true
|
|
29606
|
+
}, null, 8, ["label"]),
|
|
29607
|
+
createVNode(_component_el_table_column, {
|
|
29608
|
+
label: _ctx.$t("\u8FD4\u56DE\u4EA4\u901A"),
|
|
29609
|
+
prop: "endTraffic",
|
|
29610
|
+
align: "center",
|
|
29611
|
+
"show-overflow-tooltip": true
|
|
29612
|
+
}, null, 8, ["label"]),
|
|
28918
29613
|
createVNode(_component_el_table_column, {
|
|
28919
29614
|
label: "\u64CD\u4F5C",
|
|
28920
29615
|
width: "60",
|
|
@@ -28941,31 +29636,13 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28941
29636
|
]),
|
|
28942
29637
|
_: 1
|
|
28943
29638
|
/* STABLE */
|
|
28944
|
-
})
|
|
28945
|
-
createVNode(_component_el_table_column, {
|
|
28946
|
-
label: _ctx.$t("\u8D26\u6237\u540D\u79F0"),
|
|
28947
|
-
prop: "accountName",
|
|
28948
|
-
align: "center",
|
|
28949
|
-
"show-overflow-tooltip": true
|
|
28950
|
-
}, null, 8, ["label"]),
|
|
28951
|
-
createVNode(_component_el_table_column, {
|
|
28952
|
-
label: _ctx.$t("\u94F6\u884C\u4FE1\u606F"),
|
|
28953
|
-
prop: "bankInfo",
|
|
28954
|
-
align: "center",
|
|
28955
|
-
"show-overflow-tooltip": true
|
|
28956
|
-
}, null, 8, ["label"]),
|
|
28957
|
-
createVNode(_component_el_table_column, {
|
|
28958
|
-
label: _ctx.$t("\u4F59\u989D"),
|
|
28959
|
-
prop: "accountBalance",
|
|
28960
|
-
align: "center",
|
|
28961
|
-
"show-overflow-tooltip": true
|
|
28962
|
-
}, null, 8, ["label"])
|
|
29639
|
+
})
|
|
28963
29640
|
]),
|
|
28964
29641
|
_: 1
|
|
28965
29642
|
/* STABLE */
|
|
28966
29643
|
}, 8, ["data"]),
|
|
28967
29644
|
createVNode(_component_el_pagination, {
|
|
28968
|
-
|
|
29645
|
+
"current-page": state.queryParams.page,
|
|
28969
29646
|
"page-size": state.queryParams.pageSize,
|
|
28970
29647
|
total: state.queryParams.total,
|
|
28971
29648
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -28974,7 +29651,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28974
29651
|
onCurrentChange: handleCurrentChange,
|
|
28975
29652
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
28976
29653
|
style: { "padding-bottom": "8px" }
|
|
28977
|
-
}, null, 8, ["
|
|
29654
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
28978
29655
|
]),
|
|
28979
29656
|
_: 1
|
|
28980
29657
|
/* STABLE */
|
|
@@ -28997,12 +29674,10 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28997
29674
|
});
|
|
28998
29675
|
|
|
28999
29676
|
const _hoisted_1$o = { style: { "color": "#fff" } };
|
|
29000
|
-
const _hoisted_2$g = { style: { "
|
|
29001
|
-
const _hoisted_3$9 = {
|
|
29002
|
-
const _hoisted_4$5 = { style: { "margin-top": "10px" } };
|
|
29003
|
-
const _hoisted_5$5 = { class: "dialog-footer" };
|
|
29677
|
+
const _hoisted_2$g = { style: { "margin-top": "10px" } };
|
|
29678
|
+
const _hoisted_3$9 = { class: "dialog-footer" };
|
|
29004
29679
|
var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
29005
|
-
__name: "
|
|
29680
|
+
__name: "guideSelectDialog",
|
|
29006
29681
|
props: {
|
|
29007
29682
|
visible: {
|
|
29008
29683
|
type: Boolean,
|
|
@@ -29016,15 +29691,15 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29016
29691
|
type: Array,
|
|
29017
29692
|
default: () => []
|
|
29018
29693
|
},
|
|
29019
|
-
|
|
29694
|
+
userService: {
|
|
29020
29695
|
type: String,
|
|
29021
29696
|
default: "autoRes"
|
|
29022
29697
|
},
|
|
29023
|
-
|
|
29698
|
+
userAction: {
|
|
29024
29699
|
type: String,
|
|
29025
|
-
default: "
|
|
29700
|
+
default: "guideTable"
|
|
29026
29701
|
},
|
|
29027
|
-
|
|
29702
|
+
userParams: {
|
|
29028
29703
|
type: Object,
|
|
29029
29704
|
default: () => {
|
|
29030
29705
|
}
|
|
@@ -29034,6 +29709,17 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29034
29709
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
29035
29710
|
let emits = __emit;
|
|
29036
29711
|
const props = __props;
|
|
29712
|
+
const dataList = ref([]);
|
|
29713
|
+
let checkedUsersList = ref([]);
|
|
29714
|
+
const state = reactive({
|
|
29715
|
+
total: 0,
|
|
29716
|
+
pdata: null,
|
|
29717
|
+
queryParams: {
|
|
29718
|
+
orgId: -1,
|
|
29719
|
+
page: 1,
|
|
29720
|
+
pageSize: 50
|
|
29721
|
+
}
|
|
29722
|
+
});
|
|
29037
29723
|
let visibleDialog = computed({
|
|
29038
29724
|
get() {
|
|
29039
29725
|
return props.visible;
|
|
@@ -29042,41 +29728,39 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29042
29728
|
closeDialog();
|
|
29043
29729
|
}
|
|
29044
29730
|
});
|
|
29045
|
-
const state = reactive({
|
|
29046
|
-
treeData: [],
|
|
29047
|
-
total: 0,
|
|
29048
|
-
queryParams: {
|
|
29049
|
-
pid: 0
|
|
29050
|
-
}
|
|
29051
|
-
});
|
|
29052
|
-
const tableList = ref([]);
|
|
29053
29731
|
onMounted(async () => {
|
|
29054
|
-
state.treeData = [{ id: 1, name: "\u8D44\u4EA7", code: "" }, { id: 2, name: "\u8D1F\u503A", code: "" }, { id: 3, name: "\u6743\u76CA", code: "" }, { id: 4, name: "\u6210\u672C", code: "" }, { id: 5, name: "\u635F\u76CA", code: "" }];
|
|
29055
29732
|
});
|
|
29056
|
-
const
|
|
29057
|
-
|
|
29058
|
-
|
|
29059
|
-
tableList.value = (_a = res.data.result) != null ? _a : [];
|
|
29733
|
+
const resetQuery = () => {
|
|
29734
|
+
state.queryParams = {};
|
|
29735
|
+
handleQuery();
|
|
29060
29736
|
};
|
|
29061
|
-
|
|
29062
|
-
|
|
29063
|
-
|
|
29064
|
-
|
|
29065
|
-
|
|
29066
|
-
handleSelect(row);
|
|
29737
|
+
const getUserList = async () => {
|
|
29738
|
+
var _a, _b, _c, _d;
|
|
29739
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
29740
|
+
dataList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
29741
|
+
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
29067
29742
|
};
|
|
29068
29743
|
async function handleQuery() {
|
|
29069
|
-
|
|
29744
|
+
state.queryParams.pageNum = 1;
|
|
29745
|
+
await getUserList();
|
|
29070
29746
|
}
|
|
29071
|
-
|
|
29072
|
-
|
|
29073
|
-
|
|
29747
|
+
function handleSelectUser(row) {
|
|
29748
|
+
if (!row || row.id == "") return;
|
|
29749
|
+
emits("change", row);
|
|
29750
|
+
}
|
|
29751
|
+
const handledbclick = (row) => {
|
|
29752
|
+
handleSelectUser(row);
|
|
29074
29753
|
};
|
|
29075
|
-
const
|
|
29076
|
-
state.queryParams =
|
|
29754
|
+
const handleSizeChange = (val) => {
|
|
29755
|
+
state.queryParams.pageSize = val;
|
|
29756
|
+
handleQuery();
|
|
29757
|
+
};
|
|
29758
|
+
const handleCurrentChange = (val) => {
|
|
29759
|
+
state.queryParams.page = val;
|
|
29077
29760
|
handleQuery();
|
|
29078
29761
|
};
|
|
29079
29762
|
const closeDialog = () => {
|
|
29763
|
+
checkedUsersList.value = [];
|
|
29080
29764
|
emits("update:visible", false);
|
|
29081
29765
|
};
|
|
29082
29766
|
__expose({
|
|
@@ -29085,8 +29769,6 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29085
29769
|
return (_ctx, _cache) => {
|
|
29086
29770
|
const _component_ele_Edit = resolveComponent("ele-Edit");
|
|
29087
29771
|
const _component_el_icon = resolveComponent("el-icon");
|
|
29088
|
-
const _component_FmTree = resolveComponent("FmTree");
|
|
29089
|
-
const _component_el_col = resolveComponent("el-col");
|
|
29090
29772
|
const _component_el_input = resolveComponent("el-input");
|
|
29091
29773
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
29092
29774
|
const _component_el_button = resolveComponent("el-button");
|
|
@@ -29095,7 +29777,9 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29095
29777
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
29096
29778
|
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
29097
29779
|
const _component_el_table = resolveComponent("el-table");
|
|
29780
|
+
const _component_el_pagination = resolveComponent("el-pagination");
|
|
29098
29781
|
const _component_el_card = resolveComponent("el-card");
|
|
29782
|
+
const _component_el_col = resolveComponent("el-col");
|
|
29099
29783
|
const _component_el_row = resolveComponent("el-row");
|
|
29100
29784
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
29101
29785
|
return openBlock(), createBlock(_component_el_dialog, {
|
|
@@ -29128,7 +29812,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29128
29812
|
])
|
|
29129
29813
|
]),
|
|
29130
29814
|
footer: withCtx(() => [
|
|
29131
|
-
createElementVNode("div",
|
|
29815
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
29132
29816
|
createVNode(_component_el_button, {
|
|
29133
29817
|
icon: "ele-CircleCloseFilled",
|
|
29134
29818
|
onClick: closeDialog
|
|
@@ -29149,34 +29833,9 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29149
29833
|
default: withCtx(() => [
|
|
29150
29834
|
createVNode(_component_el_row, { gutter: 10 }, {
|
|
29151
29835
|
default: withCtx(() => [
|
|
29152
|
-
createVNode(_component_el_col, { span:
|
|
29153
|
-
default: withCtx(() => [
|
|
29154
|
-
createElementVNode(
|
|
29155
|
-
"p",
|
|
29156
|
-
_hoisted_2$g,
|
|
29157
|
-
toDisplayString(_ctx.$t("\u5927\u7C7B")),
|
|
29158
|
-
1
|
|
29159
|
-
/* TEXT */
|
|
29160
|
-
),
|
|
29161
|
-
createVNode(_component_FmTree, {
|
|
29162
|
-
treeData: state.treeData,
|
|
29163
|
-
onNodeClick: handleNodeChange,
|
|
29164
|
-
style: { "height": "calc(100% - 40px)", "overflow-y": "scroll", "overflow-x": "hidden" }
|
|
29165
|
-
}, null, 8, ["treeData"])
|
|
29166
|
-
]),
|
|
29167
|
-
_: 1
|
|
29168
|
-
/* STABLE */
|
|
29169
|
-
}),
|
|
29170
|
-
createVNode(_component_el_col, { span: 18 }, {
|
|
29836
|
+
createVNode(_component_el_col, { span: 24 }, {
|
|
29171
29837
|
default: withCtx(() => [
|
|
29172
|
-
createElementVNode(
|
|
29173
|
-
"p",
|
|
29174
|
-
_hoisted_3$9,
|
|
29175
|
-
toDisplayString(_ctx.$t(__props.title)) + toDisplayString(_ctx.$t("\u5217\u8868")),
|
|
29176
|
-
1
|
|
29177
|
-
/* TEXT */
|
|
29178
|
-
),
|
|
29179
|
-
createElementVNode("div", _hoisted_4$5, [
|
|
29838
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
29180
29839
|
createVNode(_component_el_form, {
|
|
29181
29840
|
model: state.queryParams,
|
|
29182
29841
|
ref: "queryRef",
|
|
@@ -29234,7 +29893,8 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29234
29893
|
]),
|
|
29235
29894
|
_: 1
|
|
29236
29895
|
/* STABLE */
|
|
29237
|
-
})
|
|
29896
|
+
}),
|
|
29897
|
+
createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
29238
29898
|
]),
|
|
29239
29899
|
_: 1
|
|
29240
29900
|
/* STABLE */
|
|
@@ -29250,22 +29910,20 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29250
29910
|
default: withCtx(() => [
|
|
29251
29911
|
createVNode(_component_el_table, {
|
|
29252
29912
|
ref: "refTable",
|
|
29253
|
-
data:
|
|
29254
|
-
"row-key": "id",
|
|
29255
|
-
"default-expand-all": "",
|
|
29913
|
+
data: dataList.value,
|
|
29256
29914
|
style: { "height": "calc(70vh - 96px)" },
|
|
29257
29915
|
onRowDblclick: handledbclick
|
|
29258
29916
|
}, {
|
|
29259
29917
|
default: withCtx(() => [
|
|
29260
29918
|
createVNode(_component_el_table_column, {
|
|
29261
|
-
label: _ctx.$t("\
|
|
29262
|
-
prop: "
|
|
29919
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
29920
|
+
prop: "name",
|
|
29263
29921
|
align: "center",
|
|
29264
29922
|
"show-overflow-tooltip": true
|
|
29265
29923
|
}, null, 8, ["label"]),
|
|
29266
29924
|
createVNode(_component_el_table_column, {
|
|
29267
|
-
label: _ctx.$t("\
|
|
29268
|
-
prop: "
|
|
29925
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
29926
|
+
prop: "phone",
|
|
29269
29927
|
align: "center",
|
|
29270
29928
|
"show-overflow-tooltip": true
|
|
29271
29929
|
}, null, 8, ["label"]),
|
|
@@ -29275,11 +29933,10 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29275
29933
|
align: "center"
|
|
29276
29934
|
}, {
|
|
29277
29935
|
default: withCtx((scope) => [
|
|
29278
|
-
|
|
29279
|
-
key: 0,
|
|
29936
|
+
createVNode(_component_el_button, {
|
|
29280
29937
|
link: "",
|
|
29281
29938
|
type: "primary",
|
|
29282
|
-
onClick: ($event) =>
|
|
29939
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
29283
29940
|
}, {
|
|
29284
29941
|
default: withCtx(() => [
|
|
29285
29942
|
createVNode(_component_el_icon, null, {
|
|
@@ -29292,7 +29949,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29292
29949
|
]),
|
|
29293
29950
|
_: 1
|
|
29294
29951
|
/* STABLE */
|
|
29295
|
-
}, 8, ["onClick"])
|
|
29952
|
+
}, 8, ["onClick"])
|
|
29296
29953
|
]),
|
|
29297
29954
|
_: 1
|
|
29298
29955
|
/* STABLE */
|
|
@@ -29300,7 +29957,18 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29300
29957
|
]),
|
|
29301
29958
|
_: 1
|
|
29302
29959
|
/* STABLE */
|
|
29303
|
-
}, 8, ["data"])
|
|
29960
|
+
}, 8, ["data"]),
|
|
29961
|
+
createVNode(_component_el_pagination, {
|
|
29962
|
+
"current-page": state.queryParams.page,
|
|
29963
|
+
"page-size": state.queryParams.pageSize,
|
|
29964
|
+
total: state.queryParams.total,
|
|
29965
|
+
"page-sizes": [10, 20, 50, 100],
|
|
29966
|
+
background: "",
|
|
29967
|
+
onSizeChange: handleSizeChange,
|
|
29968
|
+
onCurrentChange: handleCurrentChange,
|
|
29969
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
29970
|
+
style: { "padding-bottom": "8px" }
|
|
29971
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
29304
29972
|
]),
|
|
29305
29973
|
_: 1
|
|
29306
29974
|
/* STABLE */
|
|
@@ -29326,7 +29994,7 @@ const _hoisted_1$n = { style: { "color": "#fff" } };
|
|
|
29326
29994
|
const _hoisted_2$f = { style: { "margin-top": "10px" } };
|
|
29327
29995
|
const _hoisted_3$8 = { class: "dialog-footer" };
|
|
29328
29996
|
var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
29329
|
-
__name: "
|
|
29997
|
+
__name: "dirverSelectDialog",
|
|
29330
29998
|
props: {
|
|
29331
29999
|
visible: {
|
|
29332
30000
|
type: Boolean,
|
|
@@ -29346,7 +30014,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29346
30014
|
},
|
|
29347
30015
|
userAction: {
|
|
29348
30016
|
type: String,
|
|
29349
|
-
default: "
|
|
30017
|
+
default: "dirverTable"
|
|
29350
30018
|
},
|
|
29351
30019
|
userParams: {
|
|
29352
30020
|
type: Object,
|
|
@@ -29358,7 +30026,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29358
30026
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
29359
30027
|
let emits = __emit;
|
|
29360
30028
|
const props = __props;
|
|
29361
|
-
const
|
|
30029
|
+
const dataList = ref([]);
|
|
29362
30030
|
let checkedUsersList = ref([]);
|
|
29363
30031
|
const state = reactive({
|
|
29364
30032
|
total: 0,
|
|
@@ -29386,7 +30054,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29386
30054
|
const getUserList = async () => {
|
|
29387
30055
|
var _a, _b, _c, _d;
|
|
29388
30056
|
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
29389
|
-
|
|
30057
|
+
dataList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
29390
30058
|
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
29391
30059
|
};
|
|
29392
30060
|
async function handleQuery() {
|
|
@@ -29559,49 +30227,37 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29559
30227
|
default: withCtx(() => [
|
|
29560
30228
|
createVNode(_component_el_table, {
|
|
29561
30229
|
ref: "refTable",
|
|
29562
|
-
data:
|
|
30230
|
+
data: dataList.value,
|
|
29563
30231
|
style: { "height": "calc(70vh - 96px)" },
|
|
29564
30232
|
onRowDblclick: handledbclick
|
|
29565
30233
|
}, {
|
|
29566
30234
|
default: withCtx(() => [
|
|
29567
30235
|
createVNode(_component_el_table_column, {
|
|
29568
30236
|
label: _ctx.$t("\u540D\u79F0"),
|
|
29569
|
-
prop: "
|
|
29570
|
-
align: "center",
|
|
29571
|
-
"show-overflow-tooltip": true
|
|
29572
|
-
}, null, 8, ["label"]),
|
|
29573
|
-
createVNode(_component_el_table_column, {
|
|
29574
|
-
label: _ctx.$t("\u7EBF\u8DEF\u7F16\u7801"),
|
|
29575
|
-
prop: "lineCode",
|
|
29576
|
-
align: "center",
|
|
29577
|
-
"show-overflow-tooltip": true
|
|
29578
|
-
}, null, 8, ["label"]),
|
|
29579
|
-
createVNode(_component_el_table_column, {
|
|
29580
|
-
label: _ctx.$t("\u6210\u4EBA\u4EF7"),
|
|
29581
|
-
prop: "adultPrice",
|
|
30237
|
+
prop: "name",
|
|
29582
30238
|
align: "center",
|
|
29583
30239
|
"show-overflow-tooltip": true
|
|
29584
30240
|
}, null, 8, ["label"]),
|
|
29585
30241
|
createVNode(_component_el_table_column, {
|
|
29586
|
-
label: _ctx.$t("\
|
|
29587
|
-
prop: "
|
|
30242
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
30243
|
+
prop: "phone",
|
|
29588
30244
|
align: "center",
|
|
29589
30245
|
"show-overflow-tooltip": true
|
|
29590
30246
|
}, null, 8, ["label"]),
|
|
29591
30247
|
createVNode(_component_el_table_column, {
|
|
29592
|
-
label: _ctx.$t("\
|
|
29593
|
-
prop: "
|
|
30248
|
+
label: _ctx.$t("\u8F66\u724C"),
|
|
30249
|
+
prop: "license",
|
|
29594
30250
|
align: "center",
|
|
29595
30251
|
"show-overflow-tooltip": true
|
|
29596
30252
|
}, null, 8, ["label"]),
|
|
29597
30253
|
createVNode(_component_el_table_column, {
|
|
29598
|
-
label: _ctx.$t("\
|
|
29599
|
-
prop: "
|
|
30254
|
+
label: _ctx.$t("\u5EA7\u4F4D\u6570"),
|
|
30255
|
+
prop: "seats",
|
|
29600
30256
|
align: "center",
|
|
29601
30257
|
"show-overflow-tooltip": true
|
|
29602
30258
|
}, null, 8, ["label"]),
|
|
29603
30259
|
createVNode(_component_el_table_column, {
|
|
29604
|
-
label: "\u64CD\u4F5C",
|
|
30260
|
+
label: _ctx.$t("\u64CD\u4F5C"),
|
|
29605
30261
|
width: "60",
|
|
29606
30262
|
align: "center"
|
|
29607
30263
|
}, {
|
|
@@ -29626,13 +30282,13 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29626
30282
|
]),
|
|
29627
30283
|
_: 1
|
|
29628
30284
|
/* STABLE */
|
|
29629
|
-
})
|
|
30285
|
+
}, 8, ["label"])
|
|
29630
30286
|
]),
|
|
29631
30287
|
_: 1
|
|
29632
30288
|
/* STABLE */
|
|
29633
30289
|
}, 8, ["data"]),
|
|
29634
30290
|
createVNode(_component_el_pagination, {
|
|
29635
|
-
|
|
30291
|
+
"current-page": state.queryParams.page,
|
|
29636
30292
|
"page-size": state.queryParams.pageSize,
|
|
29637
30293
|
total: state.queryParams.total,
|
|
29638
30294
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -29641,7 +30297,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29641
30297
|
onCurrentChange: handleCurrentChange,
|
|
29642
30298
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
29643
30299
|
style: { "padding-bottom": "8px" }
|
|
29644
|
-
}, null, 8, ["
|
|
30300
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
29645
30301
|
]),
|
|
29646
30302
|
_: 1
|
|
29647
30303
|
/* STABLE */
|
|
@@ -29801,6 +30457,8 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29801
30457
|
const tableSubjectDialogRef = ref();
|
|
29802
30458
|
const tableLineDialogRef = ref();
|
|
29803
30459
|
const tableSupplierDialogRef = ref();
|
|
30460
|
+
const tableGuideDialogRef = ref();
|
|
30461
|
+
const tableDirverDialogRef = ref();
|
|
29804
30462
|
const emit = __emit;
|
|
29805
30463
|
const querySearchAsync = async (queryString, cb) => {
|
|
29806
30464
|
var _a;
|
|
@@ -29835,7 +30493,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29835
30493
|
emit("select", value);
|
|
29836
30494
|
};
|
|
29837
30495
|
const handleRefresh = async () => {
|
|
29838
|
-
var _a;
|
|
30496
|
+
var _a, _b, _c;
|
|
29839
30497
|
await nextTick();
|
|
29840
30498
|
if (props.openType == 0) {
|
|
29841
30499
|
if (tableUserDialogRef.value) {
|
|
@@ -29860,6 +30518,10 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29860
30518
|
}
|
|
29861
30519
|
} else if (props.openType == 5) {
|
|
29862
30520
|
(_a = tableLineDialogRef.value) == null ? void 0 : _a.handleQuery();
|
|
30521
|
+
} else if (props.openType == 6) {
|
|
30522
|
+
(_b = tableGuideDialogRef.value) == null ? void 0 : _b.handleQuery();
|
|
30523
|
+
} else if (props.openType == 7) {
|
|
30524
|
+
(_c = tableDirverDialogRef.value) == null ? void 0 : _c.handleQuery();
|
|
29863
30525
|
}
|
|
29864
30526
|
};
|
|
29865
30527
|
return (_ctx, _cache) => {
|
|
@@ -29867,7 +30529,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29867
30529
|
const _component_el_autocomplete = resolveComponent("el-autocomplete");
|
|
29868
30530
|
return openBlock(), createBlock(_component_el_autocomplete, {
|
|
29869
30531
|
modelValue: autoName.value,
|
|
29870
|
-
"onUpdate:modelValue": _cache[
|
|
30532
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => autoName.value = $event),
|
|
29871
30533
|
debounce: 500,
|
|
29872
30534
|
"fetch-suggestions": querySearchAsync,
|
|
29873
30535
|
placeholder: props.placeholder,
|
|
@@ -29913,7 +30575,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29913
30575
|
_: 1
|
|
29914
30576
|
/* STABLE */
|
|
29915
30577
|
}, 8, ["size"]),
|
|
29916
|
-
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$
|
|
30578
|
+
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$A, {
|
|
29917
30579
|
key: 0,
|
|
29918
30580
|
ref_key: "tableUserDialogRef",
|
|
29919
30581
|
ref: tableUserDialogRef,
|
|
@@ -29928,7 +30590,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29928
30590
|
userParams: __props.params,
|
|
29929
30591
|
onChange: handleSelectDialogChange
|
|
29930
30592
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29931
|
-
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$
|
|
30593
|
+
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
29932
30594
|
key: 1,
|
|
29933
30595
|
ref_key: "tableSupplierUserDialogRef",
|
|
29934
30596
|
ref: tableSupplierUserDialogRef,
|
|
@@ -29940,7 +30602,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29940
30602
|
userParams: __props.params,
|
|
29941
30603
|
onChange: handleSelectDialogChange
|
|
29942
30604
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29943
|
-
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$
|
|
30605
|
+
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$z, {
|
|
29944
30606
|
key: 2,
|
|
29945
30607
|
ref_key: "tableSupplierDialogRef",
|
|
29946
30608
|
ref: tableSupplierDialogRef,
|
|
@@ -29953,7 +30615,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29953
30615
|
onChange: handleSelectDialogChange
|
|
29954
30616
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29955
30617
|
createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
|
|
29956
|
-
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$
|
|
30618
|
+
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$x, {
|
|
29957
30619
|
key: 3,
|
|
29958
30620
|
ref_key: "tableAccountDialogRef",
|
|
29959
30621
|
ref: tableAccountDialogRef,
|
|
@@ -29966,7 +30628,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29966
30628
|
onChange: handleSelectDialogChange
|
|
29967
30629
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29968
30630
|
createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
|
|
29969
|
-
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$
|
|
30631
|
+
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$w, {
|
|
29970
30632
|
key: 4,
|
|
29971
30633
|
ref_key: "tableSubjectDialogRef",
|
|
29972
30634
|
ref: tableSubjectDialogRef,
|
|
@@ -29979,7 +30641,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29979
30641
|
onChange: handleSelectDialogChange
|
|
29980
30642
|
}, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : createCommentVNode("v-if", true),
|
|
29981
30643
|
createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
|
|
29982
|
-
__props.openType == 5 ? (openBlock(), createBlock(_sfc_main$
|
|
30644
|
+
__props.openType == 5 ? (openBlock(), createBlock(_sfc_main$v, {
|
|
29983
30645
|
key: 5,
|
|
29984
30646
|
ref_key: "tableLineDialogRef",
|
|
29985
30647
|
ref: tableLineDialogRef,
|
|
@@ -29990,6 +30652,32 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29990
30652
|
userAction: __props.userAction,
|
|
29991
30653
|
userParams: __props.params,
|
|
29992
30654
|
onChange: handleSelectDialogChange
|
|
30655
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30656
|
+
createCommentVNode("\u5BFC\u6E38\u9009\u62E9"),
|
|
30657
|
+
__props.openType == 6 ? (openBlock(), createBlock(_sfc_main$u, {
|
|
30658
|
+
key: 6,
|
|
30659
|
+
ref_key: "tableGuideDialogRef",
|
|
30660
|
+
ref: tableGuideDialogRef,
|
|
30661
|
+
visible: visibleopenDialog.value,
|
|
30662
|
+
"onUpdate:visible": _cache[7] || (_cache[7] = ($event) => visibleopenDialog.value = $event),
|
|
30663
|
+
title: __props.title,
|
|
30664
|
+
userService: __props.userService,
|
|
30665
|
+
userAction: __props.userAction,
|
|
30666
|
+
userParams: __props.params,
|
|
30667
|
+
onChange: handleSelectDialogChange
|
|
30668
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30669
|
+
createCommentVNode("\u53F8\u673A\u9009\u62E9"),
|
|
30670
|
+
__props.openType == 7 ? (openBlock(), createBlock(_sfc_main$t, {
|
|
30671
|
+
key: 7,
|
|
30672
|
+
ref_key: "tableDirverDialogRef",
|
|
30673
|
+
ref: tableDirverDialogRef,
|
|
30674
|
+
visible: visibleopenDialog.value,
|
|
30675
|
+
"onUpdate:visible": _cache[8] || (_cache[8] = ($event) => visibleopenDialog.value = $event),
|
|
30676
|
+
title: __props.title,
|
|
30677
|
+
userService: __props.userService,
|
|
30678
|
+
userAction: __props.userAction,
|
|
30679
|
+
userParams: __props.params,
|
|
30680
|
+
onChange: handleSelectDialogChange
|
|
29993
30681
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true)
|
|
29994
30682
|
]),
|
|
29995
30683
|
key: "1"
|
|
@@ -30247,7 +30935,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30247
30935
|
_: 1
|
|
30248
30936
|
/* STABLE */
|
|
30249
30937
|
}, 8, ["size"]),
|
|
30250
|
-
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$
|
|
30938
|
+
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$A, {
|
|
30251
30939
|
key: 0,
|
|
30252
30940
|
ref_key: "tableUserDialogRef",
|
|
30253
30941
|
ref: tableUserDialogRef,
|
|
@@ -30262,7 +30950,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30262
30950
|
userParams: __props.params,
|
|
30263
30951
|
onChange: handleSelectDialogChange
|
|
30264
30952
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30265
|
-
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$
|
|
30953
|
+
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
30266
30954
|
key: 1,
|
|
30267
30955
|
ref_key: "tableSupplierUserDialogRef",
|
|
30268
30956
|
ref: tableSupplierUserDialogRef,
|
|
@@ -30274,7 +30962,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30274
30962
|
userParams: __props.params,
|
|
30275
30963
|
onChange: handleSelectDialogChange
|
|
30276
30964
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30277
|
-
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$
|
|
30965
|
+
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$z, {
|
|
30278
30966
|
key: 2,
|
|
30279
30967
|
ref_key: "tableSupplierDialogRef",
|
|
30280
30968
|
ref: tableSupplierDialogRef,
|
|
@@ -30287,7 +30975,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30287
30975
|
onChange: handleSelectDialogChange
|
|
30288
30976
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30289
30977
|
createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
|
|
30290
|
-
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$
|
|
30978
|
+
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$x, {
|
|
30291
30979
|
key: 3,
|
|
30292
30980
|
ref_key: "tableAccountDialogRef",
|
|
30293
30981
|
ref: tableAccountDialogRef,
|
|
@@ -30300,7 +30988,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30300
30988
|
onChange: handleSelectDialogChange
|
|
30301
30989
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30302
30990
|
createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
|
|
30303
|
-
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$
|
|
30991
|
+
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$w, {
|
|
30304
30992
|
key: 4,
|
|
30305
30993
|
ref_key: "tableSubjectDialogRef",
|
|
30306
30994
|
ref: tableSubjectDialogRef,
|
|
@@ -30313,7 +31001,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30313
31001
|
onChange: handleSelectDialogChange
|
|
30314
31002
|
}, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : createCommentVNode("v-if", true),
|
|
30315
31003
|
createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
|
|
30316
|
-
__props.openType == 5 ? (openBlock(), createBlock(_sfc_main$
|
|
31004
|
+
__props.openType == 5 ? (openBlock(), createBlock(_sfc_main$v, {
|
|
30317
31005
|
key: 5,
|
|
30318
31006
|
ref_key: "tableLineDialogRef",
|
|
30319
31007
|
ref: tableLineDialogRef,
|
|
@@ -35020,4 +35708,4 @@ var upgradeInfo = /*#__PURE__*/Object.freeze({
|
|
|
35020
35708
|
default: _sfc_main
|
|
35021
35709
|
});
|
|
35022
35710
|
|
|
35023
|
-
export { AccountTypeEnum, AppItem, AppSysTypeData, AppSysTypeEnum, COST_CATEGORIES, CurrencyData, HttpMethodEnum, JobCreateTypeEnum, Local, NextLoading, PowerAreaData, Session, StringToObj, watermark as Watermark, accessTokenKey, auth, authAll, auths, axiosInstance, base64ToFile, blobToFile, buildLocaleContext, buildTranslator, cancelAllRequest, cancelRequest, clearAccessTokens, clearTokens, clone, cmpId, commonFun, commonFunction, dataURLtoBlob, decryptJWT, installer as default, depId, destroyIdleTimeout, downloadByBase64, downloadByData, downloadByOnlineUrl, downloadByUrl, downloadStreamFile, en, exportExcel, feature, fileToBase64, flowLoading, formatAxis, formatDate, formatPast, gcj02ToBd09, getAppItemData, getAppItemText, getBdate, getCountryCode, getEdate, getFileDownloadUrl, getFileName, getFileUrl, getFormItemLabel, getFormItemProp, getHeader, getJWTDate, getOpOrg, getPageSetting, getRules, getShowColumn, getShowColumnWidth, getSubFormFields, getToken, getWeek, getlimit, getpower, groupId, hAuth, hAuthAll, hAuths, hasPrivilege, hasRoleCode, i18n, initIconfont, initIdleTimeout, install, isAdmin, isMember, isNormalUser, isObjectValueEqual, isSupperAdmin, isTenantAdmin, iso_3166_1_CountryList, judgementIdCard, judgementSameArr, languageList, loadRemoteMessages, loadSysInfo, mergMessage, emitter as mittBus, openWindow, orgId, orgName, other, pinia, posId, posName, powerAuthDel, provideFormEvents, reLoadLoginAccessToken, refreshAccessTokenKey, removeDuplicate, request2, restartSignalR, roles, saulVModel, service, setCssCdn, setIntroduction, setJsCdn, setupI18n, showFileUrl, showFileUrlByType, showTabelColumn, signalR, signatureByKSort, sleep, tansParams, tenantId, translate, updateFavicon, updateIdleTimeout, urlToBase64, useApi, useBaseApi, useChangeColor, useDateTimeShortCust, useFormEvents, useFormRulePresets, useKeepALiveNames, useLocale, useRequestOldRoutes, useRoutesList, useSysApi, useTagsViewRoutes, useThemeConfig, useUserInfo, useVxeTable, usefminputdropdownstore, userAccount, userEmail, userFriendName, userId, userName, userPhone, validateFormWithScroll, validateFormWithScrollCallback, verifiyNumberInteger, verifyAccount, verifyAndSpace, verifyCarNum, verifyCnAndSpace, verifyEmail, verifyEnAndSpace, verifyFullName, verifyIPAddress, verifyIdCard, verifyNumberCnUppercase, verifyNumberComma, verifyNumberIntegerAndFloat, verifyNumberPercentage, verifyNumberPercentageFloat, verifyPassword, verifyPasswordPowerful, verifyPasswordStrength, verifyPhone, verifyPostalCode, verifyTelPhone, verifyTextColor, verifyUrl, version, wgs84ToBd09, wgs84ToGcj02, plusZhCn as zhCn };
|
|
35711
|
+
export { AccountTypeEnum, AppItem, AppSysTypeData, AppSysTypeEnum, COST_CATEGORIES, CurrencyData, HttpMethodEnum, JobCreateTypeEnum, Local, NextLoading, PowerAreaData, Session, StringToObj, watermark as Watermark, accessTokenKey, auth, authAll, auths, axiosInstance, base64ToFile, blobToFile, buildLocaleContext, buildTranslator, cancelAllRequest, cancelRequest, clearAccessTokens, clearTokens, clone, cmpId, commonFun, commonFunction, dataURLtoBlob, decryptJWT, installer as default, depId, destroyIdleTimeout, downloadByBase64, downloadByData, downloadByOnlineUrl, downloadByUrl, downloadStreamFile, en, exportExcel, feature, fileToBase64, flowLoading, formatAxis, formatDate, formatPast, gcj02ToBd09, getAppItemData, getAppItemText, getBdate, getCountryCode, getEdate, getFileDownloadUrl, getFileName, getFileUrl, getFormItemLabel, getFormItemProp, getHeader, getJWTDate, getOpOrg, getPageSetting, getRules, getShowColumn, getShowColumnWidth, getSubFormFields, getToken, getWeek, getlimit, getpower, groupId, hAuth, hAuthAll, hAuths, hasPrivilege, hasRoleCode, i18n, initIconfont, initIdleTimeout, install, isAdmin, isMember, isNormalUser, isObjectValueEqual, isSupperAdmin, isTenantAdmin, iso_3166_1_CountryList, judgementIdCard, judgementSameArr, languageList, loadRemoteMessages, loadSysInfo, mergMessage, emitter as mittBus, openWindow, orgId, orgName, other, pinia, posId, posName, powerAuthDel, provideFormEvents, reLoadLoginAccessToken, refreshAccessTokenKey, removeDuplicate, request2, restartSignalR, roles, saulVModel, scrollToSection, service, setCssCdn, setIntroduction, setJsCdn, setupI18n, showFileUrl, showFileUrlByType, showTabelColumn, signalR, signatureByKSort, sleep, tansParams, tenantId, translate, updateFavicon, updateIdleTimeout, urlToBase64, useApi, useBaseApi, useChangeColor, useDateTimeShortCust, useFormEvents, useFormRulePresets, useKeepALiveNames, useLocale, useRequestOldRoutes, useRoutesList, useSysApi, useTagsViewRoutes, useThemeConfig, useUserInfo, useVxeTable, usefminputdropdownstore, userAccount, userEmail, userFriendName, userId, userName, userPhone, validateFormWithScroll, validateFormWithScrollCallback, verifiyNumberInteger, verifyAccount, verifyAndSpace, verifyCarNum, verifyCnAndSpace, verifyEmail, verifyEnAndSpace, verifyFullName, verifyIPAddress, verifyIdCard, verifyNumberCnUppercase, verifyNumberComma, verifyNumberIntegerAndFloat, verifyNumberPercentage, verifyNumberPercentageFloat, verifyPassword, verifyPasswordPowerful, verifyPasswordStrength, verifyPhone, verifyPostalCode, verifyTelPhone, verifyTextColor, verifyUrl, version, wgs84ToBd09, wgs84ToGcj02, plusZhCn as zhCn };
|