@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.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.161 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('vue-router'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', 'vue-router', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
|
|
@@ -768,6 +768,16 @@
|
|
|
768
768
|
if (num > 0) lastDay.setDate(num);
|
|
769
769
|
return formatDate(lastDay, "YYYY-mm-dd");
|
|
770
770
|
}
|
|
771
|
+
function scrollToSection(targetId, time = 1500) {
|
|
772
|
+
const targetEl = document.getElementById(targetId);
|
|
773
|
+
if (targetEl) {
|
|
774
|
+
targetEl.scrollIntoView({ behavior: "smooth", block: "start" });
|
|
775
|
+
targetEl.classList.remove("section-highlight");
|
|
776
|
+
void targetEl.offsetWidth;
|
|
777
|
+
targetEl.classList.add("section-highlight");
|
|
778
|
+
setTimeout(() => targetEl.classList.remove("section-highlight"), time);
|
|
779
|
+
}
|
|
780
|
+
}
|
|
771
781
|
|
|
772
782
|
const TRIGGER_INPUT = "change";
|
|
773
783
|
const TRIGGER_BLUR = "blur";
|
|
@@ -3872,13 +3882,13 @@
|
|
|
3872
3882
|
}
|
|
3873
3883
|
];
|
|
3874
3884
|
const COST_CATEGORIES = [
|
|
3885
|
+
{ code: "GUIDE", type: 10, name: "\u6D3E\u5BFC\u6E38", icon: "\u{1F468}\u200D", color: "#f5222d", bg: "#fff1f0" },
|
|
3875
3886
|
{ code: "HOTEL", type: 8, name: "\u623F\u8D39", icon: "\u{1F3E8}", color: "#165dff", bg: "#e8f3ff" },
|
|
3876
3887
|
{ code: "MEAL", type: 13, name: "\u9910\u8D39", icon: "\u{1F37D}\uFE0F", color: "#fa8c16", bg: "#fff7e6" },
|
|
3877
3888
|
{ code: "BUS", type: 12, name: "\u8F66\u8D39", icon: "\u{1F68C}", color: "#722ed1", bg: "#f9f0ff" },
|
|
3878
3889
|
{ code: "TICKET", type: 3, name: "\u7968\u52A1", icon: "\u{1F3AB}", color: "#13c2c2", bg: "#e6fffb" },
|
|
3879
3890
|
{ code: "SCENIC", type: 11, name: "\u666F\u70B9", icon: "\uFE0F\u{1F3DE}\uFE0F", color: "#52c41a", bg: "#f6ffed" },
|
|
3880
3891
|
{ code: "INSURE", type: 9, name: "\u4FDD\u9669", icon: "\u{1F6E1}\uFE0F", color: "#eb2f96", bg: "#fff0f6" },
|
|
3881
|
-
{ code: "GUIDE", type: 10, name: "\u5BFC\u670D", icon: "\u{1F468}\u200D", color: "#f5222d", bg: "#fff1f0" },
|
|
3882
3892
|
{ code: "VISA", type: 15, name: "\u7B7E\u8BC1", icon: "\u{1F4CB}", color: "#faad14", bg: "#fffbe6" },
|
|
3883
3893
|
{ code: "SHIP", type: 14, name: "\u6E38\u8239", icon: "\u{1F6A2}", color: "#0ea5e9", bg: "#e0f2fe" },
|
|
3884
3894
|
{ code: "TOPLAN", type: 6, name: "\u5730\u63A5", icon: "\u{1F91D}", color: "#1890ff", bg: "#e6f7ff" },
|
|
@@ -20430,7 +20440,7 @@
|
|
|
20430
20440
|
app.use(VxeUITable);
|
|
20431
20441
|
};
|
|
20432
20442
|
|
|
20433
|
-
var _sfc_main$
|
|
20443
|
+
var _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
20434
20444
|
...{
|
|
20435
20445
|
name: "FButton"
|
|
20436
20446
|
},
|
|
@@ -20500,7 +20510,7 @@
|
|
|
20500
20510
|
}
|
|
20501
20511
|
});
|
|
20502
20512
|
|
|
20503
|
-
const FButton = _sfc_main$
|
|
20513
|
+
const FButton = _sfc_main$V;
|
|
20504
20514
|
|
|
20505
20515
|
const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
|
|
20506
20516
|
const translate = (path, option, locale) => lodashEs.get(locale, path, path).replace(
|
|
@@ -21224,9 +21234,9 @@
|
|
|
21224
21234
|
return setting;
|
|
21225
21235
|
}
|
|
21226
21236
|
|
|
21227
|
-
const _hoisted_1$
|
|
21228
|
-
const _hoisted_2$
|
|
21229
|
-
var _sfc_main$
|
|
21237
|
+
const _hoisted_1$E = { key: 0 };
|
|
21238
|
+
const _hoisted_2$r = { key: 0 };
|
|
21239
|
+
var _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
21230
21240
|
...{
|
|
21231
21241
|
name: "FInput"
|
|
21232
21242
|
},
|
|
@@ -21433,7 +21443,7 @@
|
|
|
21433
21443
|
fn: vue.withCtx(() => [
|
|
21434
21444
|
__props.inputType === "amount" ? (vue.openBlock(), vue.createElementBlock(
|
|
21435
21445
|
"span",
|
|
21436
|
-
_hoisted_1$
|
|
21446
|
+
_hoisted_1$E,
|
|
21437
21447
|
vue.toDisplayString(appendTitleText.value),
|
|
21438
21448
|
1
|
|
21439
21449
|
/* TEXT */
|
|
@@ -21466,7 +21476,7 @@
|
|
|
21466
21476
|
fn: vue.withCtx(() => [
|
|
21467
21477
|
__props.inputType === "amount" ? (vue.openBlock(), vue.createElementBlock(
|
|
21468
21478
|
"span",
|
|
21469
|
-
_hoisted_2$
|
|
21479
|
+
_hoisted_2$r,
|
|
21470
21480
|
vue.toDisplayString(appendTitleText.value),
|
|
21471
21481
|
1
|
|
21472
21482
|
/* TEXT */
|
|
@@ -21479,13 +21489,13 @@
|
|
|
21479
21489
|
}
|
|
21480
21490
|
});
|
|
21481
21491
|
|
|
21482
|
-
const FInput = _sfc_main$
|
|
21492
|
+
const FInput = _sfc_main$U;
|
|
21483
21493
|
|
|
21484
|
-
const _hoisted_1$
|
|
21494
|
+
const _hoisted_1$D = {
|
|
21485
21495
|
key: 0,
|
|
21486
21496
|
class: "back_to_top"
|
|
21487
21497
|
};
|
|
21488
|
-
var _sfc_main$
|
|
21498
|
+
var _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
21489
21499
|
...{
|
|
21490
21500
|
name: "FLayoutPage"
|
|
21491
21501
|
},
|
|
@@ -21547,7 +21557,7 @@
|
|
|
21547
21557
|
},
|
|
21548
21558
|
[
|
|
21549
21559
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
21550
|
-
__props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
21560
|
+
__props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
|
|
21551
21561
|
isShowGoTopButton.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
21552
21562
|
key: 0,
|
|
21553
21563
|
onClick: backToTop
|
|
@@ -21575,9 +21585,9 @@
|
|
|
21575
21585
|
}
|
|
21576
21586
|
});
|
|
21577
21587
|
|
|
21578
|
-
const FLayoutPage = _sfc_main$
|
|
21588
|
+
const FLayoutPage = _sfc_main$T;
|
|
21579
21589
|
|
|
21580
|
-
var _sfc_main$
|
|
21590
|
+
var _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
21581
21591
|
...{
|
|
21582
21592
|
name: "FLayoutPageItem"
|
|
21583
21593
|
},
|
|
@@ -21605,7 +21615,7 @@
|
|
|
21605
21615
|
}
|
|
21606
21616
|
});
|
|
21607
21617
|
|
|
21608
|
-
const FLayoutPageItem = _sfc_main$
|
|
21618
|
+
const FLayoutPageItem = _sfc_main$S;
|
|
21609
21619
|
|
|
21610
21620
|
function debounce(func, delay = 500, immediate, resultCallback) {
|
|
21611
21621
|
let timer = null;
|
|
@@ -21648,8 +21658,8 @@
|
|
|
21648
21658
|
return name.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
21649
21659
|
}
|
|
21650
21660
|
|
|
21651
|
-
const _hoisted_1$
|
|
21652
|
-
var _sfc_main$
|
|
21661
|
+
const _hoisted_1$C = ["id"];
|
|
21662
|
+
var _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
21653
21663
|
...{
|
|
21654
21664
|
name: "FChart"
|
|
21655
21665
|
},
|
|
@@ -21733,7 +21743,7 @@
|
|
|
21733
21743
|
id: __props.id,
|
|
21734
21744
|
ref_key: "echartRef",
|
|
21735
21745
|
ref: echartRef
|
|
21736
|
-
}, null, 8, _hoisted_1$
|
|
21746
|
+
}, null, 8, _hoisted_1$C), [
|
|
21737
21747
|
[vue.vShow, !formatEmpty.value]
|
|
21738
21748
|
]),
|
|
21739
21749
|
formatEmpty.value ? vue.renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
@@ -21748,13 +21758,13 @@
|
|
|
21748
21758
|
}
|
|
21749
21759
|
});
|
|
21750
21760
|
|
|
21751
|
-
const FChart = _sfc_main$
|
|
21761
|
+
const FChart = _sfc_main$R;
|
|
21752
21762
|
|
|
21753
|
-
const _hoisted_1$
|
|
21763
|
+
const _hoisted_1$B = {
|
|
21754
21764
|
key: 1,
|
|
21755
21765
|
class: "f_select__pagination"
|
|
21756
21766
|
};
|
|
21757
|
-
var _sfc_main$
|
|
21767
|
+
var _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
21758
21768
|
...{
|
|
21759
21769
|
name: "FSelect"
|
|
21760
21770
|
},
|
|
@@ -21967,7 +21977,7 @@
|
|
|
21967
21977
|
128
|
|
21968
21978
|
/* KEYED_FRAGMENT */
|
|
21969
21979
|
)),
|
|
21970
|
-
__props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
21980
|
+
__props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
21971
21981
|
vue.createVNode(_component_el_pagination, vue.mergeProps({
|
|
21972
21982
|
"current-page": __props.paginationOption.currentPage,
|
|
21973
21983
|
"onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
|
|
@@ -22005,9 +22015,9 @@
|
|
|
22005
22015
|
}
|
|
22006
22016
|
});
|
|
22007
22017
|
|
|
22008
|
-
const FSelect = _sfc_main$
|
|
22018
|
+
const FSelect = _sfc_main$Q;
|
|
22009
22019
|
|
|
22010
|
-
var _sfc_main$
|
|
22020
|
+
var _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
22011
22021
|
...{
|
|
22012
22022
|
name: "RenderComp"
|
|
22013
22023
|
},
|
|
@@ -22027,12 +22037,12 @@
|
|
|
22027
22037
|
}
|
|
22028
22038
|
});
|
|
22029
22039
|
|
|
22030
|
-
const _hoisted_1$
|
|
22031
|
-
const _hoisted_2$
|
|
22032
|
-
const _hoisted_3$
|
|
22040
|
+
const _hoisted_1$A = { class: "inside_box" };
|
|
22041
|
+
const _hoisted_2$q = { class: "inside_box_title" };
|
|
22042
|
+
const _hoisted_3$i = { class: "check-box" };
|
|
22033
22043
|
const _hoisted_4$9 = { class: "more_dropdown_icon" };
|
|
22034
22044
|
const _hoisted_5$8 = { class: "out_box" };
|
|
22035
|
-
var _sfc_main$
|
|
22045
|
+
var _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
22036
22046
|
...{
|
|
22037
22047
|
name: "MoreChoose"
|
|
22038
22048
|
},
|
|
@@ -22170,8 +22180,8 @@
|
|
|
22170
22180
|
])
|
|
22171
22181
|
]),
|
|
22172
22182
|
default: vue.withCtx(() => [
|
|
22173
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
22174
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
22183
|
+
vue.createElementVNode("div", _hoisted_1$A, [
|
|
22184
|
+
vue.createElementVNode("div", _hoisted_2$q, [
|
|
22175
22185
|
vue.createElementVNode(
|
|
22176
22186
|
"div",
|
|
22177
22187
|
null,
|
|
@@ -22179,7 +22189,7 @@
|
|
|
22179
22189
|
1
|
|
22180
22190
|
/* TEXT */
|
|
22181
22191
|
),
|
|
22182
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
22192
|
+
vue.createElementVNode("div", _hoisted_3$i, [
|
|
22183
22193
|
vue.createVNode(_component_el_button, {
|
|
22184
22194
|
size: "small",
|
|
22185
22195
|
link: "",
|
|
@@ -22347,7 +22357,7 @@
|
|
|
22347
22357
|
};
|
|
22348
22358
|
}
|
|
22349
22359
|
|
|
22350
|
-
var _sfc_main$
|
|
22360
|
+
var _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
22351
22361
|
...{
|
|
22352
22362
|
name: "FQueryCondition"
|
|
22353
22363
|
},
|
|
@@ -22766,7 +22776,7 @@
|
|
|
22766
22776
|
opt.labelRender ? {
|
|
22767
22777
|
name: "label",
|
|
22768
22778
|
fn: vue.withCtx(() => [
|
|
22769
|
-
vue.createVNode(_sfc_main$
|
|
22779
|
+
vue.createVNode(_sfc_main$P, {
|
|
22770
22780
|
form: vue.unref(queryState).form,
|
|
22771
22781
|
render: opt.labelRender
|
|
22772
22782
|
}, null, 8, ["form", "render"])
|
|
@@ -22862,7 +22872,7 @@
|
|
|
22862
22872
|
_: 1
|
|
22863
22873
|
/* STABLE */
|
|
22864
22874
|
})) : vue.createCommentVNode("v-if", true),
|
|
22865
|
-
vue.createVNode(_sfc_main$
|
|
22875
|
+
vue.createVNode(_sfc_main$O, {
|
|
22866
22876
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22867
22877
|
moreCheckList: __props.moreCheckList,
|
|
22868
22878
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22888,7 +22898,7 @@
|
|
|
22888
22898
|
}
|
|
22889
22899
|
});
|
|
22890
22900
|
|
|
22891
|
-
var _sfc_main$
|
|
22901
|
+
var _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
22892
22902
|
...{
|
|
22893
22903
|
name: "RenderCol"
|
|
22894
22904
|
},
|
|
@@ -23044,17 +23054,17 @@
|
|
|
23044
23054
|
};
|
|
23045
23055
|
}
|
|
23046
23056
|
|
|
23047
|
-
const _hoisted_1$
|
|
23057
|
+
const _hoisted_1$z = {
|
|
23048
23058
|
key: 0,
|
|
23049
23059
|
class: "table_query_condition"
|
|
23050
23060
|
};
|
|
23051
|
-
const _hoisted_2$
|
|
23052
|
-
const _hoisted_3$
|
|
23061
|
+
const _hoisted_2$p = ["element-loading-text"];
|
|
23062
|
+
const _hoisted_3$h = { key: 2 };
|
|
23053
23063
|
const _hoisted_4$8 = {
|
|
23054
23064
|
key: 0,
|
|
23055
23065
|
class: "f-table-select__page"
|
|
23056
23066
|
};
|
|
23057
|
-
var _sfc_main$
|
|
23067
|
+
var _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
23058
23068
|
...{
|
|
23059
23069
|
name: "FSelectTable"
|
|
23060
23070
|
},
|
|
@@ -23676,9 +23686,9 @@
|
|
|
23676
23686
|
style: vue.normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
|
|
23677
23687
|
},
|
|
23678
23688
|
[
|
|
23679
|
-
__props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
23689
|
+
__props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
|
|
23680
23690
|
vue.createVNode(
|
|
23681
|
-
_sfc_main$
|
|
23691
|
+
_sfc_main$N,
|
|
23682
23692
|
vue.mergeProps({
|
|
23683
23693
|
ref_key: "fQueryConditionRef",
|
|
23684
23694
|
ref: fQueryConditionRef,
|
|
@@ -23804,7 +23814,7 @@
|
|
|
23804
23814
|
fixed: item.fixed
|
|
23805
23815
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
23806
23816
|
default: vue.withCtx((scope) => [
|
|
23807
|
-
item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
23817
|
+
item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$M, {
|
|
23808
23818
|
key: 0,
|
|
23809
23819
|
column: item,
|
|
23810
23820
|
row: scope.row,
|
|
@@ -23815,7 +23825,7 @@
|
|
|
23815
23825
|
key: 1,
|
|
23816
23826
|
scope
|
|
23817
23827
|
}) : vue.createCommentVNode("v-if", true),
|
|
23818
|
-
!item.render && !item.slotName ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
23828
|
+
!item.render && !item.slotName ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$h, [
|
|
23819
23829
|
vue.createElementVNode(
|
|
23820
23830
|
"span",
|
|
23821
23831
|
null,
|
|
@@ -23849,7 +23859,7 @@
|
|
|
23849
23859
|
total: __props.table.total
|
|
23850
23860
|
}, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
|
|
23851
23861
|
])) : vue.createCommentVNode("v-if", true)
|
|
23852
|
-
], 8, _hoisted_2$
|
|
23862
|
+
], 8, _hoisted_2$p)), [
|
|
23853
23863
|
[_directive_loading, __props.tableLoading]
|
|
23854
23864
|
]),
|
|
23855
23865
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
@@ -23867,11 +23877,11 @@
|
|
|
23867
23877
|
}
|
|
23868
23878
|
});
|
|
23869
23879
|
|
|
23870
|
-
const FSelectTable = _sfc_main$
|
|
23880
|
+
const FSelectTable = _sfc_main$L;
|
|
23871
23881
|
|
|
23872
|
-
const FQueryCondition = _sfc_main$
|
|
23882
|
+
const FQueryCondition = _sfc_main$N;
|
|
23873
23883
|
|
|
23874
|
-
var _sfc_main$
|
|
23884
|
+
var _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
23875
23885
|
...{
|
|
23876
23886
|
name: "RenderComp"
|
|
23877
23887
|
},
|
|
@@ -23891,7 +23901,7 @@
|
|
|
23891
23901
|
}
|
|
23892
23902
|
});
|
|
23893
23903
|
|
|
23894
|
-
var _sfc_main$
|
|
23904
|
+
var _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
23895
23905
|
...{
|
|
23896
23906
|
name: "RenderBtn"
|
|
23897
23907
|
},
|
|
@@ -23911,12 +23921,12 @@
|
|
|
23911
23921
|
}
|
|
23912
23922
|
});
|
|
23913
23923
|
|
|
23914
|
-
const _hoisted_1$
|
|
23924
|
+
const _hoisted_1$y = {
|
|
23915
23925
|
key: 1,
|
|
23916
23926
|
class: "text_show"
|
|
23917
23927
|
};
|
|
23918
|
-
const _hoisted_2$
|
|
23919
|
-
var _sfc_main$
|
|
23928
|
+
const _hoisted_2$o = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
23929
|
+
var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
23920
23930
|
...{
|
|
23921
23931
|
name: "FForm"
|
|
23922
23932
|
},
|
|
@@ -24167,7 +24177,7 @@
|
|
|
24167
24177
|
}) : vue.createCommentVNode("v-if", true),
|
|
24168
24178
|
item.textShow ? (vue.openBlock(), vue.createElementBlock(
|
|
24169
24179
|
"span",
|
|
24170
|
-
_hoisted_1$
|
|
24180
|
+
_hoisted_1$y,
|
|
24171
24181
|
vue.toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
|
|
24172
24182
|
1
|
|
24173
24183
|
/* TEXT */
|
|
@@ -24287,7 +24297,7 @@
|
|
|
24287
24297
|
item.labelSlotName || item.labelRender ? {
|
|
24288
24298
|
name: "label",
|
|
24289
24299
|
fn: vue.withCtx(() => [
|
|
24290
|
-
item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
24300
|
+
item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$K, {
|
|
24291
24301
|
key: 0,
|
|
24292
24302
|
render: item.labelRender,
|
|
24293
24303
|
item
|
|
@@ -24309,7 +24319,7 @@
|
|
|
24309
24319
|
/* UNKEYED_FRAGMENT */
|
|
24310
24320
|
)),
|
|
24311
24321
|
vue.createCommentVNode(" \u6309\u94AE "),
|
|
24312
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
24322
|
+
vue.createElementVNode("div", _hoisted_2$o, [
|
|
24313
24323
|
__props.formOpts.btnSlotName ? vue.renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : vue.createCommentVNode("v-if", true),
|
|
24314
24324
|
!__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (vue.openBlock(true), vue.createElementBlock(
|
|
24315
24325
|
vue.Fragment,
|
|
@@ -24319,7 +24329,7 @@
|
|
|
24319
24329
|
vue.Fragment,
|
|
24320
24330
|
null,
|
|
24321
24331
|
[
|
|
24322
|
-
val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
24332
|
+
val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$J, {
|
|
24323
24333
|
key: index,
|
|
24324
24334
|
item: val,
|
|
24325
24335
|
render: val.render
|
|
@@ -24366,10 +24376,10 @@
|
|
|
24366
24376
|
}
|
|
24367
24377
|
});
|
|
24368
24378
|
|
|
24369
|
-
const FForm = _sfc_main$
|
|
24379
|
+
const FForm = _sfc_main$I;
|
|
24370
24380
|
|
|
24371
|
-
const _hoisted_1$
|
|
24372
|
-
var _sfc_main$
|
|
24381
|
+
const _hoisted_1$x = ["src"];
|
|
24382
|
+
var _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
24373
24383
|
...{
|
|
24374
24384
|
name: "svgIcon"
|
|
24375
24385
|
},
|
|
@@ -24440,7 +24450,7 @@
|
|
|
24440
24450
|
vue.createElementVNode("img", {
|
|
24441
24451
|
src: getIconName.value,
|
|
24442
24452
|
style: vue.normalizeStyle(setIconSvgInsStyle.value)
|
|
24443
|
-
}, null, 12, _hoisted_1$
|
|
24453
|
+
}, null, 12, _hoisted_1$x)
|
|
24444
24454
|
],
|
|
24445
24455
|
4
|
|
24446
24456
|
/* STYLE */
|
|
@@ -24467,13 +24477,13 @@
|
|
|
24467
24477
|
}
|
|
24468
24478
|
}
|
|
24469
24479
|
if (!app._context.components[`SvgIcon`]) {
|
|
24470
|
-
app.component("SvgIcon", _sfc_main$
|
|
24480
|
+
app.component("SvgIcon", _sfc_main$H);
|
|
24471
24481
|
}
|
|
24472
24482
|
}
|
|
24473
24483
|
|
|
24474
24484
|
const emitter = mitt();
|
|
24475
24485
|
|
|
24476
|
-
var _sfc_main$
|
|
24486
|
+
var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
24477
24487
|
...{
|
|
24478
24488
|
name: "FLayout"
|
|
24479
24489
|
},
|
|
@@ -24559,7 +24569,7 @@
|
|
|
24559
24569
|
}
|
|
24560
24570
|
});
|
|
24561
24571
|
|
|
24562
|
-
const FLayout = _sfc_main$
|
|
24572
|
+
const FLayout = _sfc_main$G;
|
|
24563
24573
|
|
|
24564
24574
|
function commonFunction() {
|
|
24565
24575
|
const { copy, isSupported } = core.useClipboard();
|
|
@@ -24836,9 +24846,9 @@
|
|
|
24836
24846
|
// },
|
|
24837
24847
|
};
|
|
24838
24848
|
|
|
24839
|
-
const _hoisted_1$
|
|
24840
|
-
const _hoisted_2$
|
|
24841
|
-
const _hoisted_3$
|
|
24849
|
+
const _hoisted_1$w = { class: "layout-breadcrumb-seting" };
|
|
24850
|
+
const _hoisted_2$n = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
24851
|
+
const _hoisted_3$g = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
24842
24852
|
const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
24843
24853
|
const _hoisted_5$7 = { style: { "margin": "10px 0" } };
|
|
24844
24854
|
const _hoisted_6$3 = { class: "layout-breadcrumb-seting-bar-flex mt15" };
|
|
@@ -24961,7 +24971,7 @@
|
|
|
24961
24971
|
class: "traditionalColors-chines",
|
|
24962
24972
|
style: { "cursor": "grab", "color": "gray" }
|
|
24963
24973
|
};
|
|
24964
|
-
var _sfc_main$
|
|
24974
|
+
var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
24965
24975
|
...{
|
|
24966
24976
|
name: "FSettings"
|
|
24967
24977
|
},
|
|
@@ -25225,7 +25235,7 @@
|
|
|
25225
25235
|
const _component_el_col = vue.resolveComponent("el-col");
|
|
25226
25236
|
const _component_el_row = vue.resolveComponent("el-row");
|
|
25227
25237
|
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
25228
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
25238
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
|
|
25229
25239
|
vue.createVNode(_component_el_drawer, {
|
|
25230
25240
|
title: _ctx.$t("message.layout.configTitle"),
|
|
25231
25241
|
modelValue: getThemeConfig.value.isDrawer,
|
|
@@ -25250,10 +25260,10 @@
|
|
|
25250
25260
|
_: 1
|
|
25251
25261
|
/* STABLE */
|
|
25252
25262
|
}),
|
|
25253
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
25263
|
+
vue.createElementVNode("div", _hoisted_2$n, [
|
|
25254
25264
|
vue.createElementVNode(
|
|
25255
25265
|
"div",
|
|
25256
|
-
_hoisted_3$
|
|
25266
|
+
_hoisted_3$g,
|
|
25257
25267
|
vue.toDisplayString(_ctx.$t("message.layout.themeColors")),
|
|
25258
25268
|
1
|
|
25259
25269
|
/* TEXT */
|
|
@@ -26724,9 +26734,9 @@
|
|
|
26724
26734
|
}
|
|
26725
26735
|
});
|
|
26726
26736
|
|
|
26727
|
-
const FSettings = _sfc_main$
|
|
26737
|
+
const FSettings = _sfc_main$F;
|
|
26728
26738
|
|
|
26729
|
-
var _sfc_main$
|
|
26739
|
+
var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
26730
26740
|
...{
|
|
26731
26741
|
name: "FModifyRecord"
|
|
26732
26742
|
},
|
|
@@ -26989,10 +26999,10 @@
|
|
|
26989
26999
|
}
|
|
26990
27000
|
});
|
|
26991
27001
|
|
|
26992
|
-
const FModifyRecord = _sfc_main$
|
|
27002
|
+
const FModifyRecord = _sfc_main$E;
|
|
26993
27003
|
|
|
26994
|
-
const _hoisted_1$
|
|
26995
|
-
var _sfc_main$
|
|
27004
|
+
const _hoisted_1$v = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
|
|
27005
|
+
var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
26996
27006
|
...{
|
|
26997
27007
|
name: "FmSelect"
|
|
26998
27008
|
},
|
|
@@ -27151,7 +27161,7 @@
|
|
|
27151
27161
|
onClear: handelClear
|
|
27152
27162
|
}, {
|
|
27153
27163
|
header: vue.withCtx(() => [
|
|
27154
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
27164
|
+
vue.createElementVNode("div", _hoisted_1$v, [
|
|
27155
27165
|
vue.createVNode(_component_el_icon, {
|
|
27156
27166
|
color: "#13c2c2",
|
|
27157
27167
|
size: __props.freshSize,
|
|
@@ -27193,9 +27203,9 @@
|
|
|
27193
27203
|
}
|
|
27194
27204
|
});
|
|
27195
27205
|
|
|
27196
|
-
const FmSelect = _sfc_main$
|
|
27206
|
+
const FmSelect = _sfc_main$D;
|
|
27197
27207
|
|
|
27198
|
-
var _sfc_main$
|
|
27208
|
+
var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
27199
27209
|
...{
|
|
27200
27210
|
name: "Fminputdropdown"
|
|
27201
27211
|
},
|
|
@@ -27404,9 +27414,9 @@
|
|
|
27404
27414
|
}
|
|
27405
27415
|
});
|
|
27406
27416
|
|
|
27407
|
-
const Fminputdropdown = _sfc_main$
|
|
27417
|
+
const Fminputdropdown = _sfc_main$C;
|
|
27408
27418
|
|
|
27409
|
-
var _sfc_main$
|
|
27419
|
+
var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
27410
27420
|
...{ name: "FmInputNumber" },
|
|
27411
27421
|
__name: "index",
|
|
27412
27422
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -27571,14 +27581,14 @@
|
|
|
27571
27581
|
}
|
|
27572
27582
|
});
|
|
27573
27583
|
|
|
27574
|
-
const FmInputNumber = _sfc_main$
|
|
27584
|
+
const FmInputNumber = _sfc_main$B;
|
|
27575
27585
|
|
|
27576
|
-
const _hoisted_1$
|
|
27577
|
-
const _hoisted_2$
|
|
27578
|
-
const _hoisted_3$
|
|
27586
|
+
const _hoisted_1$u = { style: { "color": "#fff" } };
|
|
27587
|
+
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" } };
|
|
27588
|
+
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" } };
|
|
27579
27589
|
const _hoisted_4$6 = { style: { "margin-top": "10px" } };
|
|
27580
27590
|
const _hoisted_5$6 = { class: "dialog-footer" };
|
|
27581
|
-
var _sfc_main$
|
|
27591
|
+
var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
27582
27592
|
__name: "userSelectDialog",
|
|
27583
27593
|
props: {
|
|
27584
27594
|
visible: {
|
|
@@ -27717,7 +27727,7 @@
|
|
|
27717
27727
|
"close-on-click-modal": false
|
|
27718
27728
|
}, {
|
|
27719
27729
|
header: vue.withCtx(() => [
|
|
27720
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
27730
|
+
vue.createElementVNode("div", _hoisted_1$u, [
|
|
27721
27731
|
vue.createVNode(_component_el_icon, {
|
|
27722
27732
|
size: "16",
|
|
27723
27733
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -27763,7 +27773,7 @@
|
|
|
27763
27773
|
default: vue.withCtx(() => [
|
|
27764
27774
|
vue.createElementVNode(
|
|
27765
27775
|
"p",
|
|
27766
|
-
_hoisted_2$
|
|
27776
|
+
_hoisted_2$m,
|
|
27767
27777
|
vue.toDisplayString(_ctx.$t("\u673A\u6784")),
|
|
27768
27778
|
1
|
|
27769
27779
|
/* TEXT */
|
|
@@ -27785,7 +27795,7 @@
|
|
|
27785
27795
|
default: vue.withCtx(() => [
|
|
27786
27796
|
vue.createElementVNode(
|
|
27787
27797
|
"p",
|
|
27788
|
-
_hoisted_3$
|
|
27798
|
+
_hoisted_3$f,
|
|
27789
27799
|
vue.toDisplayString(_ctx.$t(__props.title)) + vue.toDisplayString(_ctx.$t("\u5217\u8868")),
|
|
27790
27800
|
1
|
|
27791
27801
|
/* TEXT */
|
|
@@ -27896,43 +27906,751 @@
|
|
|
27896
27906
|
]),
|
|
27897
27907
|
_: 1
|
|
27898
27908
|
/* STABLE */
|
|
27899
|
-
}),
|
|
27900
|
-
vue.createVNode(_component_el_table_column, {
|
|
27901
|
-
label: _ctx.$t("\u8D26\u53F7\u540D\u79F0"),
|
|
27902
|
-
prop: "account",
|
|
27903
|
-
align: "center",
|
|
27904
|
-
"show-overflow-tooltip": true
|
|
27905
|
-
}, null, 8, ["label"]),
|
|
27906
|
-
vue.createVNode(_component_el_table_column, {
|
|
27907
|
-
label: _ctx.$t("\u771F\u5B9E\u59D3\u540D"),
|
|
27908
|
-
prop: "realName",
|
|
27909
|
-
align: "center",
|
|
27910
|
-
"show-overflow-tooltip": true
|
|
27911
|
-
}, null, 8, ["label"]),
|
|
27912
|
-
vue.createVNode(_component_el_table_column, {
|
|
27913
|
-
label: _ctx.$t("\u8054\u7CFB\u65B9\u5F0F"),
|
|
27914
|
-
prop: "phone",
|
|
27915
|
-
align: "center",
|
|
27916
|
-
"show-overflow-tooltip": true
|
|
27917
|
-
}, null, 8, ["label"]),
|
|
27918
|
-
vue.createVNode(_component_el_table_column, {
|
|
27919
|
-
label: _ctx.$t("\u5C97\u4F4D"),
|
|
27920
|
-
prop: "posName",
|
|
27921
|
-
align: "center",
|
|
27922
|
-
"show-overflow-tooltip": true
|
|
27923
|
-
}, null, 8, ["label"]),
|
|
27924
|
-
vue.createVNode(_component_el_table_column, {
|
|
27925
|
-
label: _ctx.$t("\u5DE5\u53F7"),
|
|
27926
|
-
prop: "jobNum",
|
|
27927
|
-
align: "center",
|
|
27928
|
-
"show-overflow-tooltip": true
|
|
27929
|
-
}, null, 8, ["label"]),
|
|
27930
|
-
vue.createVNode(_component_el_table_column, {
|
|
27931
|
-
label: _ctx.$t("\u6240\u5C5E\u673A\u6784"),
|
|
27932
|
-
prop: "orgName",
|
|
27933
|
-
align: "center",
|
|
27934
|
-
"show-overflow-tooltip": true
|
|
27935
|
-
}, null, 8, ["label"])
|
|
27909
|
+
}),
|
|
27910
|
+
vue.createVNode(_component_el_table_column, {
|
|
27911
|
+
label: _ctx.$t("\u8D26\u53F7\u540D\u79F0"),
|
|
27912
|
+
prop: "account",
|
|
27913
|
+
align: "center",
|
|
27914
|
+
"show-overflow-tooltip": true
|
|
27915
|
+
}, null, 8, ["label"]),
|
|
27916
|
+
vue.createVNode(_component_el_table_column, {
|
|
27917
|
+
label: _ctx.$t("\u771F\u5B9E\u59D3\u540D"),
|
|
27918
|
+
prop: "realName",
|
|
27919
|
+
align: "center",
|
|
27920
|
+
"show-overflow-tooltip": true
|
|
27921
|
+
}, null, 8, ["label"]),
|
|
27922
|
+
vue.createVNode(_component_el_table_column, {
|
|
27923
|
+
label: _ctx.$t("\u8054\u7CFB\u65B9\u5F0F"),
|
|
27924
|
+
prop: "phone",
|
|
27925
|
+
align: "center",
|
|
27926
|
+
"show-overflow-tooltip": true
|
|
27927
|
+
}, null, 8, ["label"]),
|
|
27928
|
+
vue.createVNode(_component_el_table_column, {
|
|
27929
|
+
label: _ctx.$t("\u5C97\u4F4D"),
|
|
27930
|
+
prop: "posName",
|
|
27931
|
+
align: "center",
|
|
27932
|
+
"show-overflow-tooltip": true
|
|
27933
|
+
}, null, 8, ["label"]),
|
|
27934
|
+
vue.createVNode(_component_el_table_column, {
|
|
27935
|
+
label: _ctx.$t("\u5DE5\u53F7"),
|
|
27936
|
+
prop: "jobNum",
|
|
27937
|
+
align: "center",
|
|
27938
|
+
"show-overflow-tooltip": true
|
|
27939
|
+
}, null, 8, ["label"]),
|
|
27940
|
+
vue.createVNode(_component_el_table_column, {
|
|
27941
|
+
label: _ctx.$t("\u6240\u5C5E\u673A\u6784"),
|
|
27942
|
+
prop: "orgName",
|
|
27943
|
+
align: "center",
|
|
27944
|
+
"show-overflow-tooltip": true
|
|
27945
|
+
}, null, 8, ["label"])
|
|
27946
|
+
]),
|
|
27947
|
+
_: 1
|
|
27948
|
+
/* STABLE */
|
|
27949
|
+
}, 8, ["data"]),
|
|
27950
|
+
vue.createVNode(_component_el_pagination, {
|
|
27951
|
+
"current-page": state.queryParams.page,
|
|
27952
|
+
"page-size": state.queryParams.pageSize,
|
|
27953
|
+
total: state.queryParams.total,
|
|
27954
|
+
"page-sizes": [10, 20, 50, 100],
|
|
27955
|
+
background: "",
|
|
27956
|
+
onSizeChange: handleSizeChange,
|
|
27957
|
+
onCurrentChange: handleCurrentChange,
|
|
27958
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
27959
|
+
style: { "padding-bottom": "8px" }
|
|
27960
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
27961
|
+
]),
|
|
27962
|
+
_: 1
|
|
27963
|
+
/* STABLE */
|
|
27964
|
+
})
|
|
27965
|
+
])
|
|
27966
|
+
]),
|
|
27967
|
+
_: 1
|
|
27968
|
+
/* STABLE */
|
|
27969
|
+
})
|
|
27970
|
+
]),
|
|
27971
|
+
_: 1
|
|
27972
|
+
/* STABLE */
|
|
27973
|
+
})
|
|
27974
|
+
]),
|
|
27975
|
+
_: 1
|
|
27976
|
+
/* STABLE */
|
|
27977
|
+
}, 8, ["modelValue"]);
|
|
27978
|
+
};
|
|
27979
|
+
}
|
|
27980
|
+
});
|
|
27981
|
+
|
|
27982
|
+
const _hoisted_1$t = { style: { "color": "#fff" } };
|
|
27983
|
+
const _hoisted_2$l = { style: { "margin-top": "10px" } };
|
|
27984
|
+
const _hoisted_3$e = { class: "dialog-footer" };
|
|
27985
|
+
var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
27986
|
+
__name: "supplierSelectDialog",
|
|
27987
|
+
props: {
|
|
27988
|
+
visible: {
|
|
27989
|
+
type: Boolean,
|
|
27990
|
+
default: false
|
|
27991
|
+
},
|
|
27992
|
+
title: {
|
|
27993
|
+
type: String,
|
|
27994
|
+
default: ""
|
|
27995
|
+
},
|
|
27996
|
+
data: {
|
|
27997
|
+
type: Array,
|
|
27998
|
+
default: () => []
|
|
27999
|
+
},
|
|
28000
|
+
userService: {
|
|
28001
|
+
type: String,
|
|
28002
|
+
default: "autoRes"
|
|
28003
|
+
},
|
|
28004
|
+
userAction: {
|
|
28005
|
+
type: String,
|
|
28006
|
+
default: "UserTable"
|
|
28007
|
+
},
|
|
28008
|
+
userParams: {
|
|
28009
|
+
type: Object,
|
|
28010
|
+
default: () => {
|
|
28011
|
+
}
|
|
28012
|
+
}
|
|
28013
|
+
},
|
|
28014
|
+
emits: ["update:visible", "change"],
|
|
28015
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
28016
|
+
let emits = __emit;
|
|
28017
|
+
const props = __props;
|
|
28018
|
+
const userList = vue.ref([]);
|
|
28019
|
+
let checkedUsersList = vue.ref([]);
|
|
28020
|
+
const state = vue.reactive({
|
|
28021
|
+
total: 0,
|
|
28022
|
+
pdata: null,
|
|
28023
|
+
queryParams: {
|
|
28024
|
+
orgId: -1,
|
|
28025
|
+
page: 1,
|
|
28026
|
+
pageSize: 50
|
|
28027
|
+
}
|
|
28028
|
+
});
|
|
28029
|
+
let visibleDialog = vue.computed({
|
|
28030
|
+
get() {
|
|
28031
|
+
return props.visible;
|
|
28032
|
+
},
|
|
28033
|
+
set() {
|
|
28034
|
+
closeDialog();
|
|
28035
|
+
}
|
|
28036
|
+
});
|
|
28037
|
+
vue.onMounted(async () => {
|
|
28038
|
+
});
|
|
28039
|
+
const resetQuery = () => {
|
|
28040
|
+
state.queryParams = {};
|
|
28041
|
+
handleQuery();
|
|
28042
|
+
};
|
|
28043
|
+
const getUserList = async () => {
|
|
28044
|
+
var _a, _b, _c, _d;
|
|
28045
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
28046
|
+
userList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
28047
|
+
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
28048
|
+
};
|
|
28049
|
+
async function handleQuery() {
|
|
28050
|
+
state.queryParams.pageNum = 1;
|
|
28051
|
+
await getUserList();
|
|
28052
|
+
}
|
|
28053
|
+
function handleSelectUser(row) {
|
|
28054
|
+
if (!row || row.id == "") return;
|
|
28055
|
+
emits("change", { id: row.id, name: row.supplierName, supplierType: row.supplierType, pdata: state.pdata, data: row });
|
|
28056
|
+
}
|
|
28057
|
+
const handledbclick = (row) => {
|
|
28058
|
+
handleSelectUser(row);
|
|
28059
|
+
};
|
|
28060
|
+
const loadSub = async (row, treeNode, resolve) => {
|
|
28061
|
+
var _a, _b, _c;
|
|
28062
|
+
state.pdata = row;
|
|
28063
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams, pid: row.id }, props.userAction);
|
|
28064
|
+
row.children = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
28065
|
+
resolve((_c = row.children) != null ? _c : []);
|
|
28066
|
+
};
|
|
28067
|
+
const handleSizeChange = (val) => {
|
|
28068
|
+
state.queryParams.pageSize = val;
|
|
28069
|
+
handleQuery();
|
|
28070
|
+
};
|
|
28071
|
+
const handleCurrentChange = (val) => {
|
|
28072
|
+
state.queryParams.page = val;
|
|
28073
|
+
handleQuery();
|
|
28074
|
+
};
|
|
28075
|
+
const closeDialog = () => {
|
|
28076
|
+
checkedUsersList.value = [];
|
|
28077
|
+
emits("update:visible", false);
|
|
28078
|
+
};
|
|
28079
|
+
__expose({
|
|
28080
|
+
handleQuery
|
|
28081
|
+
});
|
|
28082
|
+
return (_ctx, _cache) => {
|
|
28083
|
+
const _component_ele_Edit = vue.resolveComponent("ele-Edit");
|
|
28084
|
+
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
28085
|
+
const _component_el_input = vue.resolveComponent("el-input");
|
|
28086
|
+
const _component_el_form_item = vue.resolveComponent("el-form-item");
|
|
28087
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
28088
|
+
const _component_el_button_group = vue.resolveComponent("el-button-group");
|
|
28089
|
+
const _component_el_form = vue.resolveComponent("el-form");
|
|
28090
|
+
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
28091
|
+
const _component_ele_Plus = vue.resolveComponent("ele-Plus");
|
|
28092
|
+
const _component_el_table = vue.resolveComponent("el-table");
|
|
28093
|
+
const _component_el_pagination = vue.resolveComponent("el-pagination");
|
|
28094
|
+
const _component_el_card = vue.resolveComponent("el-card");
|
|
28095
|
+
const _component_el_col = vue.resolveComponent("el-col");
|
|
28096
|
+
const _component_el_row = vue.resolveComponent("el-row");
|
|
28097
|
+
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
28098
|
+
return vue.openBlock(), vue.createBlock(_component_el_dialog, {
|
|
28099
|
+
modelValue: vue.unref(visibleDialog),
|
|
28100
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
|
|
28101
|
+
style: { "width": "70vw" },
|
|
28102
|
+
"append-to-body": "",
|
|
28103
|
+
draggable: "",
|
|
28104
|
+
"close-on-click-modal": false
|
|
28105
|
+
}, {
|
|
28106
|
+
header: vue.withCtx(() => [
|
|
28107
|
+
vue.createElementVNode("div", _hoisted_1$t, [
|
|
28108
|
+
vue.createVNode(_component_el_icon, {
|
|
28109
|
+
size: "16",
|
|
28110
|
+
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
28111
|
+
}, {
|
|
28112
|
+
default: vue.withCtx(() => [
|
|
28113
|
+
vue.createVNode(_component_ele_Edit)
|
|
28114
|
+
]),
|
|
28115
|
+
_: 1
|
|
28116
|
+
/* STABLE */
|
|
28117
|
+
}),
|
|
28118
|
+
vue.createElementVNode(
|
|
28119
|
+
"span",
|
|
28120
|
+
null,
|
|
28121
|
+
vue.toDisplayString(_ctx.$t("\u9009\u62E9")) + vue.toDisplayString(_ctx.$t(__props.title)),
|
|
28122
|
+
1
|
|
28123
|
+
/* TEXT */
|
|
28124
|
+
)
|
|
28125
|
+
])
|
|
28126
|
+
]),
|
|
28127
|
+
footer: vue.withCtx(() => [
|
|
28128
|
+
vue.createElementVNode("div", _hoisted_3$e, [
|
|
28129
|
+
vue.createVNode(_component_el_button, {
|
|
28130
|
+
icon: "ele-CircleCloseFilled",
|
|
28131
|
+
onClick: closeDialog
|
|
28132
|
+
}, {
|
|
28133
|
+
default: vue.withCtx(() => [
|
|
28134
|
+
vue.createTextVNode(
|
|
28135
|
+
vue.toDisplayString(_ctx.$t("\u53D6\u6D88")),
|
|
28136
|
+
1
|
|
28137
|
+
/* TEXT */
|
|
28138
|
+
)
|
|
28139
|
+
]),
|
|
28140
|
+
_: 1
|
|
28141
|
+
/* STABLE */
|
|
28142
|
+
}),
|
|
28143
|
+
vue.createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
|
|
28144
|
+
])
|
|
28145
|
+
]),
|
|
28146
|
+
default: vue.withCtx(() => [
|
|
28147
|
+
vue.createVNode(_component_el_row, { gutter: 10 }, {
|
|
28148
|
+
default: vue.withCtx(() => [
|
|
28149
|
+
vue.createVNode(_component_el_col, { span: 24 }, {
|
|
28150
|
+
default: vue.withCtx(() => [
|
|
28151
|
+
vue.createElementVNode("div", _hoisted_2$l, [
|
|
28152
|
+
vue.createVNode(_component_el_form, {
|
|
28153
|
+
model: state.queryParams,
|
|
28154
|
+
ref: "queryRef",
|
|
28155
|
+
inline: true
|
|
28156
|
+
}, {
|
|
28157
|
+
default: vue.withCtx(() => [
|
|
28158
|
+
vue.createVNode(_component_el_form_item, {
|
|
28159
|
+
label: _ctx.$t("\u5173\u952E\u5B57")
|
|
28160
|
+
}, {
|
|
28161
|
+
default: vue.withCtx(() => [
|
|
28162
|
+
vue.createVNode(_component_el_input, {
|
|
28163
|
+
modelValue: state.queryParams.keyword,
|
|
28164
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
|
|
28165
|
+
clearable: "",
|
|
28166
|
+
style: { "width": "150px" },
|
|
28167
|
+
onKeyup: vue.withKeys(handleQuery, ["enter"])
|
|
28168
|
+
}, null, 8, ["modelValue"])
|
|
28169
|
+
]),
|
|
28170
|
+
_: 1
|
|
28171
|
+
/* STABLE */
|
|
28172
|
+
}, 8, ["label"]),
|
|
28173
|
+
vue.createVNode(_component_el_form_item, null, {
|
|
28174
|
+
default: vue.withCtx(() => [
|
|
28175
|
+
vue.createVNode(_component_el_button_group, null, {
|
|
28176
|
+
default: vue.withCtx(() => [
|
|
28177
|
+
vue.createVNode(_component_el_button, {
|
|
28178
|
+
type: "primary",
|
|
28179
|
+
icon: "ele-Search",
|
|
28180
|
+
onClick: handleQuery
|
|
28181
|
+
}, {
|
|
28182
|
+
default: vue.withCtx(() => [
|
|
28183
|
+
vue.createTextVNode(
|
|
28184
|
+
vue.toDisplayString(_ctx.$t("\u67E5\u8BE2")),
|
|
28185
|
+
1
|
|
28186
|
+
/* TEXT */
|
|
28187
|
+
)
|
|
28188
|
+
]),
|
|
28189
|
+
_: 1
|
|
28190
|
+
/* STABLE */
|
|
28191
|
+
}),
|
|
28192
|
+
vue.createVNode(_component_el_button, {
|
|
28193
|
+
icon: "ele-Refresh",
|
|
28194
|
+
onClick: resetQuery
|
|
28195
|
+
}, {
|
|
28196
|
+
default: vue.withCtx(() => [
|
|
28197
|
+
vue.createTextVNode(
|
|
28198
|
+
vue.toDisplayString(_ctx.$t("\u91CD\u7F6E")),
|
|
28199
|
+
1
|
|
28200
|
+
/* TEXT */
|
|
28201
|
+
)
|
|
28202
|
+
]),
|
|
28203
|
+
_: 1
|
|
28204
|
+
/* STABLE */
|
|
28205
|
+
})
|
|
28206
|
+
]),
|
|
28207
|
+
_: 1
|
|
28208
|
+
/* STABLE */
|
|
28209
|
+
}),
|
|
28210
|
+
vue.createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
28211
|
+
]),
|
|
28212
|
+
_: 1
|
|
28213
|
+
/* STABLE */
|
|
28214
|
+
})
|
|
28215
|
+
]),
|
|
28216
|
+
_: 1
|
|
28217
|
+
/* STABLE */
|
|
28218
|
+
}, 8, ["model"]),
|
|
28219
|
+
vue.createVNode(_component_el_card, {
|
|
28220
|
+
class: "full-table",
|
|
28221
|
+
shadow: "hover"
|
|
28222
|
+
}, {
|
|
28223
|
+
default: vue.withCtx(() => [
|
|
28224
|
+
vue.createVNode(_component_el_table, {
|
|
28225
|
+
ref: "refTable",
|
|
28226
|
+
data: userList.value,
|
|
28227
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
28228
|
+
"row-key": "id",
|
|
28229
|
+
lazy: "",
|
|
28230
|
+
load: loadSub,
|
|
28231
|
+
"tree-props": { children: "children", hasChildren: "hasChildren" },
|
|
28232
|
+
onRowDblclick: handledbclick
|
|
28233
|
+
}, {
|
|
28234
|
+
default: vue.withCtx(() => [
|
|
28235
|
+
vue.createVNode(_component_el_table_column, {
|
|
28236
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
28237
|
+
prop: "supplierName",
|
|
28238
|
+
align: "center",
|
|
28239
|
+
"show-overflow-tooltip": true
|
|
28240
|
+
}, null, 8, ["label"]),
|
|
28241
|
+
vue.createVNode(_component_el_table_column, {
|
|
28242
|
+
label: _ctx.$t("\u8D1F\u8D23\u4EBA"),
|
|
28243
|
+
prop: "mainuser",
|
|
28244
|
+
align: "center",
|
|
28245
|
+
"show-overflow-tooltip": true
|
|
28246
|
+
}, {
|
|
28247
|
+
default: vue.withCtx((scope) => {
|
|
28248
|
+
var _a, _b;
|
|
28249
|
+
return [
|
|
28250
|
+
vue.createTextVNode(
|
|
28251
|
+
vue.toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.Contact),
|
|
28252
|
+
1
|
|
28253
|
+
/* TEXT */
|
|
28254
|
+
)
|
|
28255
|
+
];
|
|
28256
|
+
}),
|
|
28257
|
+
_: 1
|
|
28258
|
+
/* STABLE */
|
|
28259
|
+
}, 8, ["label"]),
|
|
28260
|
+
vue.createVNode(_component_el_table_column, {
|
|
28261
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
28262
|
+
prop: "mainusertel",
|
|
28263
|
+
align: "center",
|
|
28264
|
+
"show-overflow-tooltip": true
|
|
28265
|
+
}, {
|
|
28266
|
+
default: vue.withCtx((scope) => {
|
|
28267
|
+
var _a, _b;
|
|
28268
|
+
return [
|
|
28269
|
+
vue.createTextVNode(
|
|
28270
|
+
vue.toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.tel),
|
|
28271
|
+
1
|
|
28272
|
+
/* TEXT */
|
|
28273
|
+
)
|
|
28274
|
+
];
|
|
28275
|
+
}),
|
|
28276
|
+
_: 1
|
|
28277
|
+
/* STABLE */
|
|
28278
|
+
}, 8, ["label"]),
|
|
28279
|
+
vue.createVNode(_component_el_table_column, {
|
|
28280
|
+
label: _ctx.$t("\u6240\u5728\u533A\u57DF"),
|
|
28281
|
+
prop: "mainusertel",
|
|
28282
|
+
align: "center",
|
|
28283
|
+
"show-overflow-tooltip": true
|
|
28284
|
+
}, {
|
|
28285
|
+
default: vue.withCtx((scope) => {
|
|
28286
|
+
var _a, _b, _c, _d, _e, _f;
|
|
28287
|
+
return [
|
|
28288
|
+
vue.createTextVNode(
|
|
28289
|
+
vue.toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.province) + vue.toDisplayString((_d = (_c = scope.row) == null ? void 0 : _c.mainManager) == null ? void 0 : _d.city) + vue.toDisplayString((_f = (_e = scope.row) == null ? void 0 : _e.mainManager) == null ? void 0 : _f.district),
|
|
28290
|
+
1
|
|
28291
|
+
/* TEXT */
|
|
28292
|
+
)
|
|
28293
|
+
];
|
|
28294
|
+
}),
|
|
28295
|
+
_: 1
|
|
28296
|
+
/* STABLE */
|
|
28297
|
+
}, 8, ["label"]),
|
|
28298
|
+
vue.createVNode(_component_el_table_column, {
|
|
28299
|
+
label: "\u64CD\u4F5C",
|
|
28300
|
+
width: "60",
|
|
28301
|
+
align: "center"
|
|
28302
|
+
}, {
|
|
28303
|
+
default: vue.withCtx((scope) => [
|
|
28304
|
+
vue.createVNode(_component_el_button, {
|
|
28305
|
+
link: "",
|
|
28306
|
+
type: "primary",
|
|
28307
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
28308
|
+
}, {
|
|
28309
|
+
default: vue.withCtx(() => [
|
|
28310
|
+
vue.createVNode(_component_el_icon, null, {
|
|
28311
|
+
default: vue.withCtx(() => [
|
|
28312
|
+
vue.createVNode(_component_ele_Plus)
|
|
28313
|
+
]),
|
|
28314
|
+
_: 1
|
|
28315
|
+
/* STABLE */
|
|
28316
|
+
})
|
|
28317
|
+
]),
|
|
28318
|
+
_: 1
|
|
28319
|
+
/* STABLE */
|
|
28320
|
+
}, 8, ["onClick"])
|
|
28321
|
+
]),
|
|
28322
|
+
_: 1
|
|
28323
|
+
/* STABLE */
|
|
28324
|
+
})
|
|
28325
|
+
]),
|
|
28326
|
+
_: 1
|
|
28327
|
+
/* STABLE */
|
|
28328
|
+
}, 8, ["data"]),
|
|
28329
|
+
vue.createVNode(_component_el_pagination, {
|
|
28330
|
+
"current-page": state.queryParams.page,
|
|
28331
|
+
"page-size": state.queryParams.pageSize,
|
|
28332
|
+
total: state.queryParams.total,
|
|
28333
|
+
"page-sizes": [10, 20, 50, 100],
|
|
28334
|
+
background: "",
|
|
28335
|
+
onSizeChange: handleSizeChange,
|
|
28336
|
+
onCurrentChange: handleCurrentChange,
|
|
28337
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
28338
|
+
style: { "padding-bottom": "8px" }
|
|
28339
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
28340
|
+
]),
|
|
28341
|
+
_: 1
|
|
28342
|
+
/* STABLE */
|
|
28343
|
+
})
|
|
28344
|
+
])
|
|
28345
|
+
]),
|
|
28346
|
+
_: 1
|
|
28347
|
+
/* STABLE */
|
|
28348
|
+
})
|
|
28349
|
+
]),
|
|
28350
|
+
_: 1
|
|
28351
|
+
/* STABLE */
|
|
28352
|
+
})
|
|
28353
|
+
]),
|
|
28354
|
+
_: 1
|
|
28355
|
+
/* STABLE */
|
|
28356
|
+
}, 8, ["modelValue"]);
|
|
28357
|
+
};
|
|
28358
|
+
}
|
|
28359
|
+
});
|
|
28360
|
+
|
|
28361
|
+
const _hoisted_1$s = { style: { "color": "#fff" } };
|
|
28362
|
+
const _hoisted_2$k = { style: { "margin-top": "10px" } };
|
|
28363
|
+
const _hoisted_3$d = { class: "dialog-footer" };
|
|
28364
|
+
var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
28365
|
+
__name: "supplierUserSelectDialog",
|
|
28366
|
+
props: {
|
|
28367
|
+
visible: {
|
|
28368
|
+
type: Boolean,
|
|
28369
|
+
default: false
|
|
28370
|
+
},
|
|
28371
|
+
title: {
|
|
28372
|
+
type: String,
|
|
28373
|
+
default: ""
|
|
28374
|
+
},
|
|
28375
|
+
data: {
|
|
28376
|
+
type: Array,
|
|
28377
|
+
default: () => []
|
|
28378
|
+
},
|
|
28379
|
+
userService: {
|
|
28380
|
+
type: String,
|
|
28381
|
+
default: "autoRes"
|
|
28382
|
+
},
|
|
28383
|
+
userAction: {
|
|
28384
|
+
type: String,
|
|
28385
|
+
default: "supplierUserTable"
|
|
28386
|
+
},
|
|
28387
|
+
userParams: {
|
|
28388
|
+
type: Object,
|
|
28389
|
+
default: () => {
|
|
28390
|
+
}
|
|
28391
|
+
}
|
|
28392
|
+
},
|
|
28393
|
+
emits: ["update:visible", "change"],
|
|
28394
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
28395
|
+
let emits = __emit;
|
|
28396
|
+
const props = __props;
|
|
28397
|
+
const userList = vue.ref([]);
|
|
28398
|
+
let checkedUsersList = vue.ref([]);
|
|
28399
|
+
const state = vue.reactive({
|
|
28400
|
+
total: 0,
|
|
28401
|
+
pdata: null,
|
|
28402
|
+
queryParams: {
|
|
28403
|
+
orgId: -1,
|
|
28404
|
+
page: 1,
|
|
28405
|
+
pageSize: 50
|
|
28406
|
+
}
|
|
28407
|
+
});
|
|
28408
|
+
let visibleDialog = vue.computed({
|
|
28409
|
+
get() {
|
|
28410
|
+
return props.visible;
|
|
28411
|
+
},
|
|
28412
|
+
set() {
|
|
28413
|
+
closeDialog();
|
|
28414
|
+
}
|
|
28415
|
+
});
|
|
28416
|
+
vue.onMounted(async () => {
|
|
28417
|
+
});
|
|
28418
|
+
const resetQuery = () => {
|
|
28419
|
+
state.queryParams = {};
|
|
28420
|
+
handleQuery();
|
|
28421
|
+
};
|
|
28422
|
+
const getUserList = async () => {
|
|
28423
|
+
var _a, _b, _c, _d;
|
|
28424
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
28425
|
+
userList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
28426
|
+
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
28427
|
+
};
|
|
28428
|
+
async function handleQuery() {
|
|
28429
|
+
state.queryParams.pageNum = 1;
|
|
28430
|
+
await getUserList();
|
|
28431
|
+
}
|
|
28432
|
+
function handleSelectUser(row) {
|
|
28433
|
+
if (!row || row.id == "") return;
|
|
28434
|
+
emits("change", row);
|
|
28435
|
+
}
|
|
28436
|
+
const handledbclick = (row) => {
|
|
28437
|
+
handleSelectUser(row);
|
|
28438
|
+
};
|
|
28439
|
+
const handleSizeChange = (val) => {
|
|
28440
|
+
state.queryParams.pageSize = val;
|
|
28441
|
+
handleQuery();
|
|
28442
|
+
};
|
|
28443
|
+
const handleCurrentChange = (val) => {
|
|
28444
|
+
state.queryParams.page = val;
|
|
28445
|
+
handleQuery();
|
|
28446
|
+
};
|
|
28447
|
+
const closeDialog = () => {
|
|
28448
|
+
checkedUsersList.value = [];
|
|
28449
|
+
emits("update:visible", false);
|
|
28450
|
+
};
|
|
28451
|
+
__expose({
|
|
28452
|
+
handleQuery
|
|
28453
|
+
});
|
|
28454
|
+
return (_ctx, _cache) => {
|
|
28455
|
+
const _component_ele_Edit = vue.resolveComponent("ele-Edit");
|
|
28456
|
+
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
28457
|
+
const _component_el_input = vue.resolveComponent("el-input");
|
|
28458
|
+
const _component_el_form_item = vue.resolveComponent("el-form-item");
|
|
28459
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
28460
|
+
const _component_el_button_group = vue.resolveComponent("el-button-group");
|
|
28461
|
+
const _component_el_form = vue.resolveComponent("el-form");
|
|
28462
|
+
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
28463
|
+
const _component_ele_Plus = vue.resolveComponent("ele-Plus");
|
|
28464
|
+
const _component_el_table = vue.resolveComponent("el-table");
|
|
28465
|
+
const _component_el_pagination = vue.resolveComponent("el-pagination");
|
|
28466
|
+
const _component_el_card = vue.resolveComponent("el-card");
|
|
28467
|
+
const _component_el_col = vue.resolveComponent("el-col");
|
|
28468
|
+
const _component_el_row = vue.resolveComponent("el-row");
|
|
28469
|
+
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
28470
|
+
return vue.openBlock(), vue.createBlock(_component_el_dialog, {
|
|
28471
|
+
modelValue: vue.unref(visibleDialog),
|
|
28472
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
|
|
28473
|
+
style: { "width": "70vw" },
|
|
28474
|
+
"append-to-body": "",
|
|
28475
|
+
draggable: "",
|
|
28476
|
+
"close-on-click-modal": false
|
|
28477
|
+
}, {
|
|
28478
|
+
header: vue.withCtx(() => [
|
|
28479
|
+
vue.createElementVNode("div", _hoisted_1$s, [
|
|
28480
|
+
vue.createVNode(_component_el_icon, {
|
|
28481
|
+
size: "16",
|
|
28482
|
+
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
28483
|
+
}, {
|
|
28484
|
+
default: vue.withCtx(() => [
|
|
28485
|
+
vue.createVNode(_component_ele_Edit)
|
|
28486
|
+
]),
|
|
28487
|
+
_: 1
|
|
28488
|
+
/* STABLE */
|
|
28489
|
+
}),
|
|
28490
|
+
vue.createElementVNode(
|
|
28491
|
+
"span",
|
|
28492
|
+
null,
|
|
28493
|
+
vue.toDisplayString(_ctx.$t("\u9009\u62E9")) + vue.toDisplayString(_ctx.$t(__props.title)),
|
|
28494
|
+
1
|
|
28495
|
+
/* TEXT */
|
|
28496
|
+
)
|
|
28497
|
+
])
|
|
28498
|
+
]),
|
|
28499
|
+
footer: vue.withCtx(() => [
|
|
28500
|
+
vue.createElementVNode("div", _hoisted_3$d, [
|
|
28501
|
+
vue.createVNode(_component_el_button, {
|
|
28502
|
+
icon: "ele-CircleCloseFilled",
|
|
28503
|
+
onClick: closeDialog
|
|
28504
|
+
}, {
|
|
28505
|
+
default: vue.withCtx(() => [
|
|
28506
|
+
vue.createTextVNode(
|
|
28507
|
+
vue.toDisplayString(_ctx.$t("\u53D6\u6D88")),
|
|
28508
|
+
1
|
|
28509
|
+
/* TEXT */
|
|
28510
|
+
)
|
|
28511
|
+
]),
|
|
28512
|
+
_: 1
|
|
28513
|
+
/* STABLE */
|
|
28514
|
+
}),
|
|
28515
|
+
vue.createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
|
|
28516
|
+
])
|
|
28517
|
+
]),
|
|
28518
|
+
default: vue.withCtx(() => [
|
|
28519
|
+
vue.createVNode(_component_el_row, { gutter: 10 }, {
|
|
28520
|
+
default: vue.withCtx(() => [
|
|
28521
|
+
vue.createVNode(_component_el_col, { span: 24 }, {
|
|
28522
|
+
default: vue.withCtx(() => [
|
|
28523
|
+
vue.createElementVNode("div", _hoisted_2$k, [
|
|
28524
|
+
vue.createVNode(_component_el_form, {
|
|
28525
|
+
model: state.queryParams,
|
|
28526
|
+
ref: "queryRef",
|
|
28527
|
+
inline: true
|
|
28528
|
+
}, {
|
|
28529
|
+
default: vue.withCtx(() => [
|
|
28530
|
+
vue.createVNode(_component_el_form_item, {
|
|
28531
|
+
label: _ctx.$t("\u5173\u952E\u5B57")
|
|
28532
|
+
}, {
|
|
28533
|
+
default: vue.withCtx(() => [
|
|
28534
|
+
vue.createVNode(_component_el_input, {
|
|
28535
|
+
modelValue: state.queryParams.keyword,
|
|
28536
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
|
|
28537
|
+
clearable: "",
|
|
28538
|
+
style: { "width": "150px" },
|
|
28539
|
+
onKeyup: vue.withKeys(handleQuery, ["enter"])
|
|
28540
|
+
}, null, 8, ["modelValue"])
|
|
28541
|
+
]),
|
|
28542
|
+
_: 1
|
|
28543
|
+
/* STABLE */
|
|
28544
|
+
}, 8, ["label"]),
|
|
28545
|
+
vue.createVNode(_component_el_form_item, null, {
|
|
28546
|
+
default: vue.withCtx(() => [
|
|
28547
|
+
vue.createVNode(_component_el_button_group, null, {
|
|
28548
|
+
default: vue.withCtx(() => [
|
|
28549
|
+
vue.createVNode(_component_el_button, {
|
|
28550
|
+
type: "primary",
|
|
28551
|
+
icon: "ele-Search",
|
|
28552
|
+
onClick: handleQuery
|
|
28553
|
+
}, {
|
|
28554
|
+
default: vue.withCtx(() => [
|
|
28555
|
+
vue.createTextVNode(
|
|
28556
|
+
vue.toDisplayString(_ctx.$t("\u67E5\u8BE2")),
|
|
28557
|
+
1
|
|
28558
|
+
/* TEXT */
|
|
28559
|
+
)
|
|
28560
|
+
]),
|
|
28561
|
+
_: 1
|
|
28562
|
+
/* STABLE */
|
|
28563
|
+
}),
|
|
28564
|
+
vue.createVNode(_component_el_button, {
|
|
28565
|
+
icon: "ele-Refresh",
|
|
28566
|
+
onClick: resetQuery
|
|
28567
|
+
}, {
|
|
28568
|
+
default: vue.withCtx(() => [
|
|
28569
|
+
vue.createTextVNode(
|
|
28570
|
+
vue.toDisplayString(_ctx.$t("\u91CD\u7F6E")),
|
|
28571
|
+
1
|
|
28572
|
+
/* TEXT */
|
|
28573
|
+
)
|
|
28574
|
+
]),
|
|
28575
|
+
_: 1
|
|
28576
|
+
/* STABLE */
|
|
28577
|
+
})
|
|
28578
|
+
]),
|
|
28579
|
+
_: 1
|
|
28580
|
+
/* STABLE */
|
|
28581
|
+
}),
|
|
28582
|
+
vue.createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
28583
|
+
]),
|
|
28584
|
+
_: 1
|
|
28585
|
+
/* STABLE */
|
|
28586
|
+
})
|
|
28587
|
+
]),
|
|
28588
|
+
_: 1
|
|
28589
|
+
/* STABLE */
|
|
28590
|
+
}, 8, ["model"]),
|
|
28591
|
+
vue.createVNode(_component_el_card, {
|
|
28592
|
+
class: "full-table",
|
|
28593
|
+
shadow: "hover"
|
|
28594
|
+
}, {
|
|
28595
|
+
default: vue.withCtx(() => [
|
|
28596
|
+
vue.createVNode(_component_el_table, {
|
|
28597
|
+
ref: "refTable",
|
|
28598
|
+
data: userList.value,
|
|
28599
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
28600
|
+
onRowDblclick: handledbclick
|
|
28601
|
+
}, {
|
|
28602
|
+
default: vue.withCtx(() => [
|
|
28603
|
+
vue.createVNode(_component_el_table_column, {
|
|
28604
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
28605
|
+
prop: "name",
|
|
28606
|
+
align: "center",
|
|
28607
|
+
"show-overflow-tooltip": true
|
|
28608
|
+
}, null, 8, ["label"]),
|
|
28609
|
+
vue.createVNode(_component_el_table_column, {
|
|
28610
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
28611
|
+
prop: "tel",
|
|
28612
|
+
align: "center",
|
|
28613
|
+
"show-overflow-tooltip": true
|
|
28614
|
+
}, null, 8, ["label"]),
|
|
28615
|
+
vue.createVNode(_component_el_table_column, {
|
|
28616
|
+
label: _ctx.$t("\u4F20\u771F"),
|
|
28617
|
+
prop: "fax",
|
|
28618
|
+
align: "center",
|
|
28619
|
+
"show-overflow-tooltip": true
|
|
28620
|
+
}, null, 8, ["label"]),
|
|
28621
|
+
vue.createVNode(_component_el_table_column, {
|
|
28622
|
+
label: _ctx.$t("\u5FAE\u4FE1\u53F7"),
|
|
28623
|
+
prop: "wxNumber",
|
|
28624
|
+
align: "center",
|
|
28625
|
+
"show-overflow-tooltip": true
|
|
28626
|
+
}, null, 8, ["label"]),
|
|
28627
|
+
vue.createVNode(_component_el_table_column, {
|
|
28628
|
+
label: "\u64CD\u4F5C",
|
|
28629
|
+
width: "60",
|
|
28630
|
+
align: "center"
|
|
28631
|
+
}, {
|
|
28632
|
+
default: vue.withCtx((scope) => [
|
|
28633
|
+
vue.createVNode(_component_el_button, {
|
|
28634
|
+
link: "",
|
|
28635
|
+
type: "primary",
|
|
28636
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
28637
|
+
}, {
|
|
28638
|
+
default: vue.withCtx(() => [
|
|
28639
|
+
vue.createVNode(_component_el_icon, null, {
|
|
28640
|
+
default: vue.withCtx(() => [
|
|
28641
|
+
vue.createVNode(_component_ele_Plus)
|
|
28642
|
+
]),
|
|
28643
|
+
_: 1
|
|
28644
|
+
/* STABLE */
|
|
28645
|
+
})
|
|
28646
|
+
]),
|
|
28647
|
+
_: 1
|
|
28648
|
+
/* STABLE */
|
|
28649
|
+
}, 8, ["onClick"])
|
|
28650
|
+
]),
|
|
28651
|
+
_: 1
|
|
28652
|
+
/* STABLE */
|
|
28653
|
+
})
|
|
27936
28654
|
]),
|
|
27937
28655
|
_: 1
|
|
27938
28656
|
/* STABLE */
|
|
@@ -27973,7 +28691,7 @@
|
|
|
27973
28691
|
const _hoisted_2$j = { style: { "margin-top": "10px" } };
|
|
27974
28692
|
const _hoisted_3$c = { class: "dialog-footer" };
|
|
27975
28693
|
var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
27976
|
-
__name: "
|
|
28694
|
+
__name: "accountSelectDialog",
|
|
27977
28695
|
props: {
|
|
27978
28696
|
visible: {
|
|
27979
28697
|
type: Boolean,
|
|
@@ -27993,7 +28711,7 @@
|
|
|
27993
28711
|
},
|
|
27994
28712
|
userAction: {
|
|
27995
28713
|
type: String,
|
|
27996
|
-
default: "
|
|
28714
|
+
default: "accountTable"
|
|
27997
28715
|
},
|
|
27998
28716
|
userParams: {
|
|
27999
28717
|
type: Object,
|
|
@@ -28009,9 +28727,7 @@
|
|
|
28009
28727
|
let checkedUsersList = vue.ref([]);
|
|
28010
28728
|
const state = vue.reactive({
|
|
28011
28729
|
total: 0,
|
|
28012
|
-
pdata: null,
|
|
28013
28730
|
queryParams: {
|
|
28014
|
-
orgId: -1,
|
|
28015
28731
|
page: 1,
|
|
28016
28732
|
pageSize: 50
|
|
28017
28733
|
}
|
|
@@ -28042,18 +28758,11 @@
|
|
|
28042
28758
|
}
|
|
28043
28759
|
function handleSelectUser(row) {
|
|
28044
28760
|
if (!row || row.id == "") return;
|
|
28045
|
-
emits("change", { id: row.id, name: row.
|
|
28761
|
+
emits("change", { id: row.id, name: row.name, data: row });
|
|
28046
28762
|
}
|
|
28047
28763
|
const handledbclick = (row) => {
|
|
28048
28764
|
handleSelectUser(row);
|
|
28049
28765
|
};
|
|
28050
|
-
const loadSub = async (row, treeNode, resolve) => {
|
|
28051
|
-
var _a, _b, _c;
|
|
28052
|
-
state.pdata = row;
|
|
28053
|
-
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams, pid: row.id }, props.userAction);
|
|
28054
|
-
row.children = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
28055
|
-
resolve((_c = row.children) != null ? _c : []);
|
|
28056
|
-
};
|
|
28057
28766
|
const handleSizeChange = (val) => {
|
|
28058
28767
|
state.queryParams.pageSize = val;
|
|
28059
28768
|
handleQuery();
|
|
@@ -28077,8 +28786,8 @@
|
|
|
28077
28786
|
const _component_el_button = vue.resolveComponent("el-button");
|
|
28078
28787
|
const _component_el_button_group = vue.resolveComponent("el-button-group");
|
|
28079
28788
|
const _component_el_form = vue.resolveComponent("el-form");
|
|
28080
|
-
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
28081
28789
|
const _component_ele_Plus = vue.resolveComponent("ele-Plus");
|
|
28790
|
+
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
28082
28791
|
const _component_el_table = vue.resolveComponent("el-table");
|
|
28083
28792
|
const _component_el_pagination = vue.resolveComponent("el-pagination");
|
|
28084
28793
|
const _component_el_card = vue.resolveComponent("el-card");
|
|
@@ -28215,76 +28924,9 @@
|
|
|
28215
28924
|
ref: "refTable",
|
|
28216
28925
|
data: userList.value,
|
|
28217
28926
|
style: { "height": "calc(70vh - 96px)" },
|
|
28218
|
-
"row-key": "id",
|
|
28219
|
-
lazy: "",
|
|
28220
|
-
load: loadSub,
|
|
28221
|
-
"tree-props": { children: "children", hasChildren: "hasChildren" },
|
|
28222
28927
|
onRowDblclick: handledbclick
|
|
28223
28928
|
}, {
|
|
28224
28929
|
default: vue.withCtx(() => [
|
|
28225
|
-
vue.createVNode(_component_el_table_column, {
|
|
28226
|
-
label: _ctx.$t("\u540D\u79F0"),
|
|
28227
|
-
prop: "supplierName",
|
|
28228
|
-
align: "center",
|
|
28229
|
-
"show-overflow-tooltip": true
|
|
28230
|
-
}, null, 8, ["label"]),
|
|
28231
|
-
vue.createVNode(_component_el_table_column, {
|
|
28232
|
-
label: _ctx.$t("\u8D1F\u8D23\u4EBA"),
|
|
28233
|
-
prop: "mainuser",
|
|
28234
|
-
align: "center",
|
|
28235
|
-
"show-overflow-tooltip": true
|
|
28236
|
-
}, {
|
|
28237
|
-
default: vue.withCtx((scope) => {
|
|
28238
|
-
var _a, _b;
|
|
28239
|
-
return [
|
|
28240
|
-
vue.createTextVNode(
|
|
28241
|
-
vue.toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.Contact),
|
|
28242
|
-
1
|
|
28243
|
-
/* TEXT */
|
|
28244
|
-
)
|
|
28245
|
-
];
|
|
28246
|
-
}),
|
|
28247
|
-
_: 1
|
|
28248
|
-
/* STABLE */
|
|
28249
|
-
}, 8, ["label"]),
|
|
28250
|
-
vue.createVNode(_component_el_table_column, {
|
|
28251
|
-
label: _ctx.$t("\u7535\u8BDD"),
|
|
28252
|
-
prop: "mainusertel",
|
|
28253
|
-
align: "center",
|
|
28254
|
-
"show-overflow-tooltip": true
|
|
28255
|
-
}, {
|
|
28256
|
-
default: vue.withCtx((scope) => {
|
|
28257
|
-
var _a, _b;
|
|
28258
|
-
return [
|
|
28259
|
-
vue.createTextVNode(
|
|
28260
|
-
vue.toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.tel),
|
|
28261
|
-
1
|
|
28262
|
-
/* TEXT */
|
|
28263
|
-
)
|
|
28264
|
-
];
|
|
28265
|
-
}),
|
|
28266
|
-
_: 1
|
|
28267
|
-
/* STABLE */
|
|
28268
|
-
}, 8, ["label"]),
|
|
28269
|
-
vue.createVNode(_component_el_table_column, {
|
|
28270
|
-
label: _ctx.$t("\u6240\u5728\u533A\u57DF"),
|
|
28271
|
-
prop: "mainusertel",
|
|
28272
|
-
align: "center",
|
|
28273
|
-
"show-overflow-tooltip": true
|
|
28274
|
-
}, {
|
|
28275
|
-
default: vue.withCtx((scope) => {
|
|
28276
|
-
var _a, _b, _c, _d, _e, _f;
|
|
28277
|
-
return [
|
|
28278
|
-
vue.createTextVNode(
|
|
28279
|
-
vue.toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.province) + vue.toDisplayString((_d = (_c = scope.row) == null ? void 0 : _c.mainManager) == null ? void 0 : _d.city) + vue.toDisplayString((_f = (_e = scope.row) == null ? void 0 : _e.mainManager) == null ? void 0 : _f.district),
|
|
28280
|
-
1
|
|
28281
|
-
/* TEXT */
|
|
28282
|
-
)
|
|
28283
|
-
];
|
|
28284
|
-
}),
|
|
28285
|
-
_: 1
|
|
28286
|
-
/* STABLE */
|
|
28287
|
-
}, 8, ["label"]),
|
|
28288
28930
|
vue.createVNode(_component_el_table_column, {
|
|
28289
28931
|
label: "\u64CD\u4F5C",
|
|
28290
28932
|
width: "60",
|
|
@@ -28311,13 +28953,31 @@
|
|
|
28311
28953
|
]),
|
|
28312
28954
|
_: 1
|
|
28313
28955
|
/* STABLE */
|
|
28314
|
-
})
|
|
28956
|
+
}),
|
|
28957
|
+
vue.createVNode(_component_el_table_column, {
|
|
28958
|
+
label: _ctx.$t("\u8D26\u6237\u540D\u79F0"),
|
|
28959
|
+
prop: "accountName",
|
|
28960
|
+
align: "center",
|
|
28961
|
+
"show-overflow-tooltip": true
|
|
28962
|
+
}, null, 8, ["label"]),
|
|
28963
|
+
vue.createVNode(_component_el_table_column, {
|
|
28964
|
+
label: _ctx.$t("\u94F6\u884C\u4FE1\u606F"),
|
|
28965
|
+
prop: "bankInfo",
|
|
28966
|
+
align: "center",
|
|
28967
|
+
"show-overflow-tooltip": true
|
|
28968
|
+
}, null, 8, ["label"]),
|
|
28969
|
+
vue.createVNode(_component_el_table_column, {
|
|
28970
|
+
label: _ctx.$t("\u4F59\u989D"),
|
|
28971
|
+
prop: "accountBalance",
|
|
28972
|
+
align: "center",
|
|
28973
|
+
"show-overflow-tooltip": true
|
|
28974
|
+
}, null, 8, ["label"])
|
|
28315
28975
|
]),
|
|
28316
28976
|
_: 1
|
|
28317
28977
|
/* STABLE */
|
|
28318
28978
|
}, 8, ["data"]),
|
|
28319
28979
|
vue.createVNode(_component_el_pagination, {
|
|
28320
|
-
|
|
28980
|
+
"current-page": state.queryParams.page,
|
|
28321
28981
|
"page-size": state.queryParams.pageSize,
|
|
28322
28982
|
total: state.queryParams.total,
|
|
28323
28983
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -28326,7 +28986,7 @@
|
|
|
28326
28986
|
onCurrentChange: handleCurrentChange,
|
|
28327
28987
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
28328
28988
|
style: { "padding-bottom": "8px" }
|
|
28329
|
-
}, null, 8, ["
|
|
28989
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
28330
28990
|
]),
|
|
28331
28991
|
_: 1
|
|
28332
28992
|
/* STABLE */
|
|
@@ -28349,10 +29009,12 @@
|
|
|
28349
29009
|
});
|
|
28350
29010
|
|
|
28351
29011
|
const _hoisted_1$q = { style: { "color": "#fff" } };
|
|
28352
|
-
const _hoisted_2$i = { style: { "margin-
|
|
28353
|
-
const _hoisted_3$b = {
|
|
29012
|
+
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" } };
|
|
29013
|
+
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" } };
|
|
29014
|
+
const _hoisted_4$5 = { style: { "margin-top": "10px" } };
|
|
29015
|
+
const _hoisted_5$5 = { class: "dialog-footer" };
|
|
28354
29016
|
var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
28355
|
-
__name: "
|
|
29017
|
+
__name: "subjectSelectDialog",
|
|
28356
29018
|
props: {
|
|
28357
29019
|
visible: {
|
|
28358
29020
|
type: Boolean,
|
|
@@ -28366,15 +29028,15 @@
|
|
|
28366
29028
|
type: Array,
|
|
28367
29029
|
default: () => []
|
|
28368
29030
|
},
|
|
28369
|
-
|
|
29031
|
+
subjectService: {
|
|
28370
29032
|
type: String,
|
|
28371
29033
|
default: "autoRes"
|
|
28372
29034
|
},
|
|
28373
|
-
|
|
29035
|
+
subjectAction: {
|
|
28374
29036
|
type: String,
|
|
28375
|
-
default: "
|
|
29037
|
+
default: "subjectTable"
|
|
28376
29038
|
},
|
|
28377
|
-
|
|
29039
|
+
subjectParams: {
|
|
28378
29040
|
type: Object,
|
|
28379
29041
|
default: () => {
|
|
28380
29042
|
}
|
|
@@ -28384,17 +29046,6 @@
|
|
|
28384
29046
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
28385
29047
|
let emits = __emit;
|
|
28386
29048
|
const props = __props;
|
|
28387
|
-
const userList = vue.ref([]);
|
|
28388
|
-
let checkedUsersList = vue.ref([]);
|
|
28389
|
-
const state = vue.reactive({
|
|
28390
|
-
total: 0,
|
|
28391
|
-
pdata: null,
|
|
28392
|
-
queryParams: {
|
|
28393
|
-
orgId: -1,
|
|
28394
|
-
page: 1,
|
|
28395
|
-
pageSize: 50
|
|
28396
|
-
}
|
|
28397
|
-
});
|
|
28398
29049
|
let visibleDialog = vue.computed({
|
|
28399
29050
|
get() {
|
|
28400
29051
|
return props.visible;
|
|
@@ -28403,39 +29054,41 @@
|
|
|
28403
29054
|
closeDialog();
|
|
28404
29055
|
}
|
|
28405
29056
|
});
|
|
29057
|
+
const state = vue.reactive({
|
|
29058
|
+
treeData: [],
|
|
29059
|
+
total: 0,
|
|
29060
|
+
queryParams: {
|
|
29061
|
+
pid: 0
|
|
29062
|
+
}
|
|
29063
|
+
});
|
|
29064
|
+
const tableList = vue.ref([]);
|
|
28406
29065
|
vue.onMounted(async () => {
|
|
29066
|
+
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: "" }];
|
|
28407
29067
|
});
|
|
28408
|
-
const
|
|
28409
|
-
|
|
28410
|
-
|
|
28411
|
-
|
|
28412
|
-
const getUserList = async () => {
|
|
28413
|
-
var _a, _b, _c, _d;
|
|
28414
|
-
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
28415
|
-
userList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
28416
|
-
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
29068
|
+
const getTableList = async () => {
|
|
29069
|
+
var _a;
|
|
29070
|
+
const res = await useBaseApi(props.subjectService).post(state.queryParams, props.subjectAction);
|
|
29071
|
+
tableList.value = (_a = res.data.result) != null ? _a : [];
|
|
28417
29072
|
};
|
|
28418
|
-
|
|
28419
|
-
|
|
28420
|
-
|
|
28421
|
-
}
|
|
28422
|
-
function handleSelectUser(row) {
|
|
28423
|
-
if (!row || row.id == "") return;
|
|
28424
|
-
emits("change", row);
|
|
29073
|
+
function handleSelect(row) {
|
|
29074
|
+
if (!row || row.id == "" || row.isLeaf == 0) return;
|
|
29075
|
+
emits("change", { id: row.id, name: row.subjectName, code: row.subjectCode, data: row });
|
|
28425
29076
|
}
|
|
28426
29077
|
const handledbclick = (row) => {
|
|
28427
|
-
|
|
29078
|
+
handleSelect(row);
|
|
28428
29079
|
};
|
|
28429
|
-
|
|
28430
|
-
|
|
28431
|
-
|
|
29080
|
+
async function handleQuery() {
|
|
29081
|
+
await getTableList();
|
|
29082
|
+
}
|
|
29083
|
+
const handleNodeChange = async (node) => {
|
|
29084
|
+
state.queryParams.pid = node.id;
|
|
29085
|
+
await handleQuery();
|
|
28432
29086
|
};
|
|
28433
|
-
const
|
|
28434
|
-
state.queryParams
|
|
29087
|
+
const resetQuery = () => {
|
|
29088
|
+
state.queryParams = {};
|
|
28435
29089
|
handleQuery();
|
|
28436
29090
|
};
|
|
28437
29091
|
const closeDialog = () => {
|
|
28438
|
-
checkedUsersList.value = [];
|
|
28439
29092
|
emits("update:visible", false);
|
|
28440
29093
|
};
|
|
28441
29094
|
__expose({
|
|
@@ -28444,6 +29097,8 @@
|
|
|
28444
29097
|
return (_ctx, _cache) => {
|
|
28445
29098
|
const _component_ele_Edit = vue.resolveComponent("ele-Edit");
|
|
28446
29099
|
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
29100
|
+
const _component_FmTree = vue.resolveComponent("FmTree");
|
|
29101
|
+
const _component_el_col = vue.resolveComponent("el-col");
|
|
28447
29102
|
const _component_el_input = vue.resolveComponent("el-input");
|
|
28448
29103
|
const _component_el_form_item = vue.resolveComponent("el-form-item");
|
|
28449
29104
|
const _component_el_button = vue.resolveComponent("el-button");
|
|
@@ -28452,9 +29107,7 @@
|
|
|
28452
29107
|
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
28453
29108
|
const _component_ele_Plus = vue.resolveComponent("ele-Plus");
|
|
28454
29109
|
const _component_el_table = vue.resolveComponent("el-table");
|
|
28455
|
-
const _component_el_pagination = vue.resolveComponent("el-pagination");
|
|
28456
29110
|
const _component_el_card = vue.resolveComponent("el-card");
|
|
28457
|
-
const _component_el_col = vue.resolveComponent("el-col");
|
|
28458
29111
|
const _component_el_row = vue.resolveComponent("el-row");
|
|
28459
29112
|
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
28460
29113
|
return vue.openBlock(), vue.createBlock(_component_el_dialog, {
|
|
@@ -28487,7 +29140,7 @@
|
|
|
28487
29140
|
])
|
|
28488
29141
|
]),
|
|
28489
29142
|
footer: vue.withCtx(() => [
|
|
28490
|
-
vue.createElementVNode("div",
|
|
29143
|
+
vue.createElementVNode("div", _hoisted_5$5, [
|
|
28491
29144
|
vue.createVNode(_component_el_button, {
|
|
28492
29145
|
icon: "ele-CircleCloseFilled",
|
|
28493
29146
|
onClick: closeDialog
|
|
@@ -28508,9 +29161,34 @@
|
|
|
28508
29161
|
default: vue.withCtx(() => [
|
|
28509
29162
|
vue.createVNode(_component_el_row, { gutter: 10 }, {
|
|
28510
29163
|
default: vue.withCtx(() => [
|
|
28511
|
-
vue.createVNode(_component_el_col, { span:
|
|
29164
|
+
vue.createVNode(_component_el_col, { span: 6 }, {
|
|
28512
29165
|
default: vue.withCtx(() => [
|
|
28513
|
-
vue.createElementVNode(
|
|
29166
|
+
vue.createElementVNode(
|
|
29167
|
+
"p",
|
|
29168
|
+
_hoisted_2$i,
|
|
29169
|
+
vue.toDisplayString(_ctx.$t("\u5927\u7C7B")),
|
|
29170
|
+
1
|
|
29171
|
+
/* TEXT */
|
|
29172
|
+
),
|
|
29173
|
+
vue.createVNode(_component_FmTree, {
|
|
29174
|
+
treeData: state.treeData,
|
|
29175
|
+
onNodeClick: handleNodeChange,
|
|
29176
|
+
style: { "height": "calc(100% - 40px)", "overflow-y": "scroll", "overflow-x": "hidden" }
|
|
29177
|
+
}, null, 8, ["treeData"])
|
|
29178
|
+
]),
|
|
29179
|
+
_: 1
|
|
29180
|
+
/* STABLE */
|
|
29181
|
+
}),
|
|
29182
|
+
vue.createVNode(_component_el_col, { span: 18 }, {
|
|
29183
|
+
default: vue.withCtx(() => [
|
|
29184
|
+
vue.createElementVNode(
|
|
29185
|
+
"p",
|
|
29186
|
+
_hoisted_3$b,
|
|
29187
|
+
vue.toDisplayString(_ctx.$t(__props.title)) + vue.toDisplayString(_ctx.$t("\u5217\u8868")),
|
|
29188
|
+
1
|
|
29189
|
+
/* TEXT */
|
|
29190
|
+
),
|
|
29191
|
+
vue.createElementVNode("div", _hoisted_4$5, [
|
|
28514
29192
|
vue.createVNode(_component_el_form, {
|
|
28515
29193
|
model: state.queryParams,
|
|
28516
29194
|
ref: "queryRef",
|
|
@@ -28568,8 +29246,7 @@
|
|
|
28568
29246
|
]),
|
|
28569
29247
|
_: 1
|
|
28570
29248
|
/* STABLE */
|
|
28571
|
-
})
|
|
28572
|
-
vue.createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
29249
|
+
})
|
|
28573
29250
|
]),
|
|
28574
29251
|
_: 1
|
|
28575
29252
|
/* STABLE */
|
|
@@ -28585,32 +29262,22 @@
|
|
|
28585
29262
|
default: vue.withCtx(() => [
|
|
28586
29263
|
vue.createVNode(_component_el_table, {
|
|
28587
29264
|
ref: "refTable",
|
|
28588
|
-
data:
|
|
29265
|
+
data: tableList.value,
|
|
29266
|
+
"row-key": "id",
|
|
29267
|
+
"default-expand-all": "",
|
|
28589
29268
|
style: { "height": "calc(70vh - 96px)" },
|
|
28590
29269
|
onRowDblclick: handledbclick
|
|
28591
29270
|
}, {
|
|
28592
29271
|
default: vue.withCtx(() => [
|
|
28593
29272
|
vue.createVNode(_component_el_table_column, {
|
|
28594
|
-
label: _ctx.$t("\
|
|
28595
|
-
prop: "
|
|
28596
|
-
align: "center",
|
|
28597
|
-
"show-overflow-tooltip": true
|
|
28598
|
-
}, null, 8, ["label"]),
|
|
28599
|
-
vue.createVNode(_component_el_table_column, {
|
|
28600
|
-
label: _ctx.$t("\u7535\u8BDD"),
|
|
28601
|
-
prop: "tel",
|
|
28602
|
-
align: "center",
|
|
28603
|
-
"show-overflow-tooltip": true
|
|
28604
|
-
}, null, 8, ["label"]),
|
|
28605
|
-
vue.createVNode(_component_el_table_column, {
|
|
28606
|
-
label: _ctx.$t("\u4F20\u771F"),
|
|
28607
|
-
prop: "fax",
|
|
29273
|
+
label: _ctx.$t("\u79D1\u76EE\u7F16\u7801"),
|
|
29274
|
+
prop: "subjectCode",
|
|
28608
29275
|
align: "center",
|
|
28609
29276
|
"show-overflow-tooltip": true
|
|
28610
29277
|
}, null, 8, ["label"]),
|
|
28611
29278
|
vue.createVNode(_component_el_table_column, {
|
|
28612
|
-
label: _ctx.$t("\
|
|
28613
|
-
prop: "
|
|
29279
|
+
label: _ctx.$t("\u79D1\u76EE\u540D\u79F0"),
|
|
29280
|
+
prop: "subjectName",
|
|
28614
29281
|
align: "center",
|
|
28615
29282
|
"show-overflow-tooltip": true
|
|
28616
29283
|
}, null, 8, ["label"]),
|
|
@@ -28620,10 +29287,11 @@
|
|
|
28620
29287
|
align: "center"
|
|
28621
29288
|
}, {
|
|
28622
29289
|
default: vue.withCtx((scope) => [
|
|
28623
|
-
vue.
|
|
29290
|
+
scope.row.isLeaf == 1 ? (vue.openBlock(), vue.createBlock(_component_el_button, {
|
|
29291
|
+
key: 0,
|
|
28624
29292
|
link: "",
|
|
28625
29293
|
type: "primary",
|
|
28626
|
-
onClick: ($event) =>
|
|
29294
|
+
onClick: ($event) => handleSelect(scope.row)
|
|
28627
29295
|
}, {
|
|
28628
29296
|
default: vue.withCtx(() => [
|
|
28629
29297
|
vue.createVNode(_component_el_icon, null, {
|
|
@@ -28636,7 +29304,7 @@
|
|
|
28636
29304
|
]),
|
|
28637
29305
|
_: 1
|
|
28638
29306
|
/* STABLE */
|
|
28639
|
-
}, 8, ["onClick"])
|
|
29307
|
+
}, 8, ["onClick"])) : vue.createCommentVNode("v-if", true)
|
|
28640
29308
|
]),
|
|
28641
29309
|
_: 1
|
|
28642
29310
|
/* STABLE */
|
|
@@ -28644,18 +29312,7 @@
|
|
|
28644
29312
|
]),
|
|
28645
29313
|
_: 1
|
|
28646
29314
|
/* STABLE */
|
|
28647
|
-
}, 8, ["data"])
|
|
28648
|
-
vue.createVNode(_component_el_pagination, {
|
|
28649
|
-
currentPage: state.queryParams.page,
|
|
28650
|
-
"page-size": state.queryParams.pageSize,
|
|
28651
|
-
total: state.queryParams.total,
|
|
28652
|
-
"page-sizes": [10, 20, 50, 100],
|
|
28653
|
-
background: "",
|
|
28654
|
-
onSizeChange: handleSizeChange,
|
|
28655
|
-
onCurrentChange: handleCurrentChange,
|
|
28656
|
-
layout: "total, sizes, prev, pager, next, jumper",
|
|
28657
|
-
style: { "padding-bottom": "8px" }
|
|
28658
|
-
}, null, 8, ["currentPage", "page-size", "total"])
|
|
29315
|
+
}, 8, ["data"])
|
|
28659
29316
|
]),
|
|
28660
29317
|
_: 1
|
|
28661
29318
|
/* STABLE */
|
|
@@ -28681,7 +29338,7 @@
|
|
|
28681
29338
|
const _hoisted_2$h = { style: { "margin-top": "10px" } };
|
|
28682
29339
|
const _hoisted_3$a = { class: "dialog-footer" };
|
|
28683
29340
|
var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
28684
|
-
__name: "
|
|
29341
|
+
__name: "linSelectDialog",
|
|
28685
29342
|
props: {
|
|
28686
29343
|
visible: {
|
|
28687
29344
|
type: Boolean,
|
|
@@ -28701,7 +29358,7 @@
|
|
|
28701
29358
|
},
|
|
28702
29359
|
userAction: {
|
|
28703
29360
|
type: String,
|
|
28704
|
-
default: "
|
|
29361
|
+
default: "lineTable"
|
|
28705
29362
|
},
|
|
28706
29363
|
userParams: {
|
|
28707
29364
|
type: Object,
|
|
@@ -28717,7 +29374,9 @@
|
|
|
28717
29374
|
let checkedUsersList = vue.ref([]);
|
|
28718
29375
|
const state = vue.reactive({
|
|
28719
29376
|
total: 0,
|
|
29377
|
+
pdata: null,
|
|
28720
29378
|
queryParams: {
|
|
29379
|
+
orgId: -1,
|
|
28721
29380
|
page: 1,
|
|
28722
29381
|
pageSize: 50
|
|
28723
29382
|
}
|
|
@@ -28748,7 +29407,7 @@
|
|
|
28748
29407
|
}
|
|
28749
29408
|
function handleSelectUser(row) {
|
|
28750
29409
|
if (!row || row.id == "") return;
|
|
28751
|
-
emits("change",
|
|
29410
|
+
emits("change", row);
|
|
28752
29411
|
}
|
|
28753
29412
|
const handledbclick = (row) => {
|
|
28754
29413
|
handleSelectUser(row);
|
|
@@ -28776,8 +29435,8 @@
|
|
|
28776
29435
|
const _component_el_button = vue.resolveComponent("el-button");
|
|
28777
29436
|
const _component_el_button_group = vue.resolveComponent("el-button-group");
|
|
28778
29437
|
const _component_el_form = vue.resolveComponent("el-form");
|
|
28779
|
-
const _component_ele_Plus = vue.resolveComponent("ele-Plus");
|
|
28780
29438
|
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
29439
|
+
const _component_ele_Plus = vue.resolveComponent("ele-Plus");
|
|
28781
29440
|
const _component_el_table = vue.resolveComponent("el-table");
|
|
28782
29441
|
const _component_el_pagination = vue.resolveComponent("el-pagination");
|
|
28783
29442
|
const _component_el_card = vue.resolveComponent("el-card");
|
|
@@ -28917,6 +29576,42 @@
|
|
|
28917
29576
|
onRowDblclick: handledbclick
|
|
28918
29577
|
}, {
|
|
28919
29578
|
default: vue.withCtx(() => [
|
|
29579
|
+
vue.createVNode(_component_el_table_column, {
|
|
29580
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
29581
|
+
prop: "lineName",
|
|
29582
|
+
align: "center",
|
|
29583
|
+
"show-overflow-tooltip": true
|
|
29584
|
+
}, null, 8, ["label"]),
|
|
29585
|
+
vue.createVNode(_component_el_table_column, {
|
|
29586
|
+
label: _ctx.$t("\u7EBF\u8DEF\u7F16\u7801"),
|
|
29587
|
+
prop: "lineCode",
|
|
29588
|
+
align: "center",
|
|
29589
|
+
"show-overflow-tooltip": true
|
|
29590
|
+
}, null, 8, ["label"]),
|
|
29591
|
+
vue.createVNode(_component_el_table_column, {
|
|
29592
|
+
label: _ctx.$t("\u6210\u4EBA\u4EF7"),
|
|
29593
|
+
prop: "adultPrice",
|
|
29594
|
+
align: "center",
|
|
29595
|
+
"show-overflow-tooltip": true
|
|
29596
|
+
}, null, 8, ["label"]),
|
|
29597
|
+
vue.createVNode(_component_el_table_column, {
|
|
29598
|
+
label: _ctx.$t("\u513F\u7AE5\u4EF7"),
|
|
29599
|
+
prop: "childPrice",
|
|
29600
|
+
align: "center",
|
|
29601
|
+
"show-overflow-tooltip": true
|
|
29602
|
+
}, null, 8, ["label"]),
|
|
29603
|
+
vue.createVNode(_component_el_table_column, {
|
|
29604
|
+
label: _ctx.$t("\u51FA\u56E2\u4EA4\u901A"),
|
|
29605
|
+
prop: "sendTraffic",
|
|
29606
|
+
align: "center",
|
|
29607
|
+
"show-overflow-tooltip": true
|
|
29608
|
+
}, null, 8, ["label"]),
|
|
29609
|
+
vue.createVNode(_component_el_table_column, {
|
|
29610
|
+
label: _ctx.$t("\u8FD4\u56DE\u4EA4\u901A"),
|
|
29611
|
+
prop: "endTraffic",
|
|
29612
|
+
align: "center",
|
|
29613
|
+
"show-overflow-tooltip": true
|
|
29614
|
+
}, null, 8, ["label"]),
|
|
28920
29615
|
vue.createVNode(_component_el_table_column, {
|
|
28921
29616
|
label: "\u64CD\u4F5C",
|
|
28922
29617
|
width: "60",
|
|
@@ -28943,31 +29638,13 @@
|
|
|
28943
29638
|
]),
|
|
28944
29639
|
_: 1
|
|
28945
29640
|
/* STABLE */
|
|
28946
|
-
})
|
|
28947
|
-
vue.createVNode(_component_el_table_column, {
|
|
28948
|
-
label: _ctx.$t("\u8D26\u6237\u540D\u79F0"),
|
|
28949
|
-
prop: "accountName",
|
|
28950
|
-
align: "center",
|
|
28951
|
-
"show-overflow-tooltip": true
|
|
28952
|
-
}, null, 8, ["label"]),
|
|
28953
|
-
vue.createVNode(_component_el_table_column, {
|
|
28954
|
-
label: _ctx.$t("\u94F6\u884C\u4FE1\u606F"),
|
|
28955
|
-
prop: "bankInfo",
|
|
28956
|
-
align: "center",
|
|
28957
|
-
"show-overflow-tooltip": true
|
|
28958
|
-
}, null, 8, ["label"]),
|
|
28959
|
-
vue.createVNode(_component_el_table_column, {
|
|
28960
|
-
label: _ctx.$t("\u4F59\u989D"),
|
|
28961
|
-
prop: "accountBalance",
|
|
28962
|
-
align: "center",
|
|
28963
|
-
"show-overflow-tooltip": true
|
|
28964
|
-
}, null, 8, ["label"])
|
|
29641
|
+
})
|
|
28965
29642
|
]),
|
|
28966
29643
|
_: 1
|
|
28967
29644
|
/* STABLE */
|
|
28968
29645
|
}, 8, ["data"]),
|
|
28969
29646
|
vue.createVNode(_component_el_pagination, {
|
|
28970
|
-
|
|
29647
|
+
"current-page": state.queryParams.page,
|
|
28971
29648
|
"page-size": state.queryParams.pageSize,
|
|
28972
29649
|
total: state.queryParams.total,
|
|
28973
29650
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -28976,7 +29653,7 @@
|
|
|
28976
29653
|
onCurrentChange: handleCurrentChange,
|
|
28977
29654
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
28978
29655
|
style: { "padding-bottom": "8px" }
|
|
28979
|
-
}, null, 8, ["
|
|
29656
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
28980
29657
|
]),
|
|
28981
29658
|
_: 1
|
|
28982
29659
|
/* STABLE */
|
|
@@ -28999,12 +29676,10 @@
|
|
|
28999
29676
|
});
|
|
29000
29677
|
|
|
29001
29678
|
const _hoisted_1$o = { style: { "color": "#fff" } };
|
|
29002
|
-
const _hoisted_2$g = { style: { "
|
|
29003
|
-
const _hoisted_3$9 = {
|
|
29004
|
-
const _hoisted_4$5 = { style: { "margin-top": "10px" } };
|
|
29005
|
-
const _hoisted_5$5 = { class: "dialog-footer" };
|
|
29679
|
+
const _hoisted_2$g = { style: { "margin-top": "10px" } };
|
|
29680
|
+
const _hoisted_3$9 = { class: "dialog-footer" };
|
|
29006
29681
|
var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
29007
|
-
__name: "
|
|
29682
|
+
__name: "guideSelectDialog",
|
|
29008
29683
|
props: {
|
|
29009
29684
|
visible: {
|
|
29010
29685
|
type: Boolean,
|
|
@@ -29018,15 +29693,15 @@
|
|
|
29018
29693
|
type: Array,
|
|
29019
29694
|
default: () => []
|
|
29020
29695
|
},
|
|
29021
|
-
|
|
29696
|
+
userService: {
|
|
29022
29697
|
type: String,
|
|
29023
29698
|
default: "autoRes"
|
|
29024
29699
|
},
|
|
29025
|
-
|
|
29700
|
+
userAction: {
|
|
29026
29701
|
type: String,
|
|
29027
|
-
default: "
|
|
29702
|
+
default: "guideTable"
|
|
29028
29703
|
},
|
|
29029
|
-
|
|
29704
|
+
userParams: {
|
|
29030
29705
|
type: Object,
|
|
29031
29706
|
default: () => {
|
|
29032
29707
|
}
|
|
@@ -29036,6 +29711,17 @@
|
|
|
29036
29711
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
29037
29712
|
let emits = __emit;
|
|
29038
29713
|
const props = __props;
|
|
29714
|
+
const dataList = vue.ref([]);
|
|
29715
|
+
let checkedUsersList = vue.ref([]);
|
|
29716
|
+
const state = vue.reactive({
|
|
29717
|
+
total: 0,
|
|
29718
|
+
pdata: null,
|
|
29719
|
+
queryParams: {
|
|
29720
|
+
orgId: -1,
|
|
29721
|
+
page: 1,
|
|
29722
|
+
pageSize: 50
|
|
29723
|
+
}
|
|
29724
|
+
});
|
|
29039
29725
|
let visibleDialog = vue.computed({
|
|
29040
29726
|
get() {
|
|
29041
29727
|
return props.visible;
|
|
@@ -29044,41 +29730,39 @@
|
|
|
29044
29730
|
closeDialog();
|
|
29045
29731
|
}
|
|
29046
29732
|
});
|
|
29047
|
-
const state = vue.reactive({
|
|
29048
|
-
treeData: [],
|
|
29049
|
-
total: 0,
|
|
29050
|
-
queryParams: {
|
|
29051
|
-
pid: 0
|
|
29052
|
-
}
|
|
29053
|
-
});
|
|
29054
|
-
const tableList = vue.ref([]);
|
|
29055
29733
|
vue.onMounted(async () => {
|
|
29056
|
-
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: "" }];
|
|
29057
29734
|
});
|
|
29058
|
-
const
|
|
29059
|
-
|
|
29060
|
-
|
|
29061
|
-
tableList.value = (_a = res.data.result) != null ? _a : [];
|
|
29735
|
+
const resetQuery = () => {
|
|
29736
|
+
state.queryParams = {};
|
|
29737
|
+
handleQuery();
|
|
29062
29738
|
};
|
|
29063
|
-
|
|
29064
|
-
|
|
29065
|
-
|
|
29066
|
-
|
|
29067
|
-
|
|
29068
|
-
handleSelect(row);
|
|
29739
|
+
const getUserList = async () => {
|
|
29740
|
+
var _a, _b, _c, _d;
|
|
29741
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
29742
|
+
dataList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
29743
|
+
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
29069
29744
|
};
|
|
29070
29745
|
async function handleQuery() {
|
|
29071
|
-
|
|
29746
|
+
state.queryParams.pageNum = 1;
|
|
29747
|
+
await getUserList();
|
|
29072
29748
|
}
|
|
29073
|
-
|
|
29074
|
-
|
|
29075
|
-
|
|
29749
|
+
function handleSelectUser(row) {
|
|
29750
|
+
if (!row || row.id == "") return;
|
|
29751
|
+
emits("change", row);
|
|
29752
|
+
}
|
|
29753
|
+
const handledbclick = (row) => {
|
|
29754
|
+
handleSelectUser(row);
|
|
29076
29755
|
};
|
|
29077
|
-
const
|
|
29078
|
-
state.queryParams =
|
|
29756
|
+
const handleSizeChange = (val) => {
|
|
29757
|
+
state.queryParams.pageSize = val;
|
|
29758
|
+
handleQuery();
|
|
29759
|
+
};
|
|
29760
|
+
const handleCurrentChange = (val) => {
|
|
29761
|
+
state.queryParams.page = val;
|
|
29079
29762
|
handleQuery();
|
|
29080
29763
|
};
|
|
29081
29764
|
const closeDialog = () => {
|
|
29765
|
+
checkedUsersList.value = [];
|
|
29082
29766
|
emits("update:visible", false);
|
|
29083
29767
|
};
|
|
29084
29768
|
__expose({
|
|
@@ -29087,8 +29771,6 @@
|
|
|
29087
29771
|
return (_ctx, _cache) => {
|
|
29088
29772
|
const _component_ele_Edit = vue.resolveComponent("ele-Edit");
|
|
29089
29773
|
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
29090
|
-
const _component_FmTree = vue.resolveComponent("FmTree");
|
|
29091
|
-
const _component_el_col = vue.resolveComponent("el-col");
|
|
29092
29774
|
const _component_el_input = vue.resolveComponent("el-input");
|
|
29093
29775
|
const _component_el_form_item = vue.resolveComponent("el-form-item");
|
|
29094
29776
|
const _component_el_button = vue.resolveComponent("el-button");
|
|
@@ -29097,7 +29779,9 @@
|
|
|
29097
29779
|
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
29098
29780
|
const _component_ele_Plus = vue.resolveComponent("ele-Plus");
|
|
29099
29781
|
const _component_el_table = vue.resolveComponent("el-table");
|
|
29782
|
+
const _component_el_pagination = vue.resolveComponent("el-pagination");
|
|
29100
29783
|
const _component_el_card = vue.resolveComponent("el-card");
|
|
29784
|
+
const _component_el_col = vue.resolveComponent("el-col");
|
|
29101
29785
|
const _component_el_row = vue.resolveComponent("el-row");
|
|
29102
29786
|
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
29103
29787
|
return vue.openBlock(), vue.createBlock(_component_el_dialog, {
|
|
@@ -29130,7 +29814,7 @@
|
|
|
29130
29814
|
])
|
|
29131
29815
|
]),
|
|
29132
29816
|
footer: vue.withCtx(() => [
|
|
29133
|
-
vue.createElementVNode("div",
|
|
29817
|
+
vue.createElementVNode("div", _hoisted_3$9, [
|
|
29134
29818
|
vue.createVNode(_component_el_button, {
|
|
29135
29819
|
icon: "ele-CircleCloseFilled",
|
|
29136
29820
|
onClick: closeDialog
|
|
@@ -29151,34 +29835,9 @@
|
|
|
29151
29835
|
default: vue.withCtx(() => [
|
|
29152
29836
|
vue.createVNode(_component_el_row, { gutter: 10 }, {
|
|
29153
29837
|
default: vue.withCtx(() => [
|
|
29154
|
-
vue.createVNode(_component_el_col, { span:
|
|
29155
|
-
default: vue.withCtx(() => [
|
|
29156
|
-
vue.createElementVNode(
|
|
29157
|
-
"p",
|
|
29158
|
-
_hoisted_2$g,
|
|
29159
|
-
vue.toDisplayString(_ctx.$t("\u5927\u7C7B")),
|
|
29160
|
-
1
|
|
29161
|
-
/* TEXT */
|
|
29162
|
-
),
|
|
29163
|
-
vue.createVNode(_component_FmTree, {
|
|
29164
|
-
treeData: state.treeData,
|
|
29165
|
-
onNodeClick: handleNodeChange,
|
|
29166
|
-
style: { "height": "calc(100% - 40px)", "overflow-y": "scroll", "overflow-x": "hidden" }
|
|
29167
|
-
}, null, 8, ["treeData"])
|
|
29168
|
-
]),
|
|
29169
|
-
_: 1
|
|
29170
|
-
/* STABLE */
|
|
29171
|
-
}),
|
|
29172
|
-
vue.createVNode(_component_el_col, { span: 18 }, {
|
|
29838
|
+
vue.createVNode(_component_el_col, { span: 24 }, {
|
|
29173
29839
|
default: vue.withCtx(() => [
|
|
29174
|
-
vue.createElementVNode(
|
|
29175
|
-
"p",
|
|
29176
|
-
_hoisted_3$9,
|
|
29177
|
-
vue.toDisplayString(_ctx.$t(__props.title)) + vue.toDisplayString(_ctx.$t("\u5217\u8868")),
|
|
29178
|
-
1
|
|
29179
|
-
/* TEXT */
|
|
29180
|
-
),
|
|
29181
|
-
vue.createElementVNode("div", _hoisted_4$5, [
|
|
29840
|
+
vue.createElementVNode("div", _hoisted_2$g, [
|
|
29182
29841
|
vue.createVNode(_component_el_form, {
|
|
29183
29842
|
model: state.queryParams,
|
|
29184
29843
|
ref: "queryRef",
|
|
@@ -29236,7 +29895,8 @@
|
|
|
29236
29895
|
]),
|
|
29237
29896
|
_: 1
|
|
29238
29897
|
/* STABLE */
|
|
29239
|
-
})
|
|
29898
|
+
}),
|
|
29899
|
+
vue.createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
29240
29900
|
]),
|
|
29241
29901
|
_: 1
|
|
29242
29902
|
/* STABLE */
|
|
@@ -29252,22 +29912,20 @@
|
|
|
29252
29912
|
default: vue.withCtx(() => [
|
|
29253
29913
|
vue.createVNode(_component_el_table, {
|
|
29254
29914
|
ref: "refTable",
|
|
29255
|
-
data:
|
|
29256
|
-
"row-key": "id",
|
|
29257
|
-
"default-expand-all": "",
|
|
29915
|
+
data: dataList.value,
|
|
29258
29916
|
style: { "height": "calc(70vh - 96px)" },
|
|
29259
29917
|
onRowDblclick: handledbclick
|
|
29260
29918
|
}, {
|
|
29261
29919
|
default: vue.withCtx(() => [
|
|
29262
29920
|
vue.createVNode(_component_el_table_column, {
|
|
29263
|
-
label: _ctx.$t("\
|
|
29264
|
-
prop: "
|
|
29921
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
29922
|
+
prop: "name",
|
|
29265
29923
|
align: "center",
|
|
29266
29924
|
"show-overflow-tooltip": true
|
|
29267
29925
|
}, null, 8, ["label"]),
|
|
29268
29926
|
vue.createVNode(_component_el_table_column, {
|
|
29269
|
-
label: _ctx.$t("\
|
|
29270
|
-
prop: "
|
|
29927
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
29928
|
+
prop: "phone",
|
|
29271
29929
|
align: "center",
|
|
29272
29930
|
"show-overflow-tooltip": true
|
|
29273
29931
|
}, null, 8, ["label"]),
|
|
@@ -29277,11 +29935,10 @@
|
|
|
29277
29935
|
align: "center"
|
|
29278
29936
|
}, {
|
|
29279
29937
|
default: vue.withCtx((scope) => [
|
|
29280
|
-
|
|
29281
|
-
key: 0,
|
|
29938
|
+
vue.createVNode(_component_el_button, {
|
|
29282
29939
|
link: "",
|
|
29283
29940
|
type: "primary",
|
|
29284
|
-
onClick: ($event) =>
|
|
29941
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
29285
29942
|
}, {
|
|
29286
29943
|
default: vue.withCtx(() => [
|
|
29287
29944
|
vue.createVNode(_component_el_icon, null, {
|
|
@@ -29294,7 +29951,7 @@
|
|
|
29294
29951
|
]),
|
|
29295
29952
|
_: 1
|
|
29296
29953
|
/* STABLE */
|
|
29297
|
-
}, 8, ["onClick"])
|
|
29954
|
+
}, 8, ["onClick"])
|
|
29298
29955
|
]),
|
|
29299
29956
|
_: 1
|
|
29300
29957
|
/* STABLE */
|
|
@@ -29302,7 +29959,18 @@
|
|
|
29302
29959
|
]),
|
|
29303
29960
|
_: 1
|
|
29304
29961
|
/* STABLE */
|
|
29305
|
-
}, 8, ["data"])
|
|
29962
|
+
}, 8, ["data"]),
|
|
29963
|
+
vue.createVNode(_component_el_pagination, {
|
|
29964
|
+
"current-page": state.queryParams.page,
|
|
29965
|
+
"page-size": state.queryParams.pageSize,
|
|
29966
|
+
total: state.queryParams.total,
|
|
29967
|
+
"page-sizes": [10, 20, 50, 100],
|
|
29968
|
+
background: "",
|
|
29969
|
+
onSizeChange: handleSizeChange,
|
|
29970
|
+
onCurrentChange: handleCurrentChange,
|
|
29971
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
29972
|
+
style: { "padding-bottom": "8px" }
|
|
29973
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
29306
29974
|
]),
|
|
29307
29975
|
_: 1
|
|
29308
29976
|
/* STABLE */
|
|
@@ -29328,7 +29996,7 @@
|
|
|
29328
29996
|
const _hoisted_2$f = { style: { "margin-top": "10px" } };
|
|
29329
29997
|
const _hoisted_3$8 = { class: "dialog-footer" };
|
|
29330
29998
|
var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
29331
|
-
__name: "
|
|
29999
|
+
__name: "dirverSelectDialog",
|
|
29332
30000
|
props: {
|
|
29333
30001
|
visible: {
|
|
29334
30002
|
type: Boolean,
|
|
@@ -29348,7 +30016,7 @@
|
|
|
29348
30016
|
},
|
|
29349
30017
|
userAction: {
|
|
29350
30018
|
type: String,
|
|
29351
|
-
default: "
|
|
30019
|
+
default: "dirverTable"
|
|
29352
30020
|
},
|
|
29353
30021
|
userParams: {
|
|
29354
30022
|
type: Object,
|
|
@@ -29360,7 +30028,7 @@
|
|
|
29360
30028
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
29361
30029
|
let emits = __emit;
|
|
29362
30030
|
const props = __props;
|
|
29363
|
-
const
|
|
30031
|
+
const dataList = vue.ref([]);
|
|
29364
30032
|
let checkedUsersList = vue.ref([]);
|
|
29365
30033
|
const state = vue.reactive({
|
|
29366
30034
|
total: 0,
|
|
@@ -29388,7 +30056,7 @@
|
|
|
29388
30056
|
const getUserList = async () => {
|
|
29389
30057
|
var _a, _b, _c, _d;
|
|
29390
30058
|
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
29391
|
-
|
|
30059
|
+
dataList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
29392
30060
|
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
29393
30061
|
};
|
|
29394
30062
|
async function handleQuery() {
|
|
@@ -29561,49 +30229,37 @@
|
|
|
29561
30229
|
default: vue.withCtx(() => [
|
|
29562
30230
|
vue.createVNode(_component_el_table, {
|
|
29563
30231
|
ref: "refTable",
|
|
29564
|
-
data:
|
|
30232
|
+
data: dataList.value,
|
|
29565
30233
|
style: { "height": "calc(70vh - 96px)" },
|
|
29566
30234
|
onRowDblclick: handledbclick
|
|
29567
30235
|
}, {
|
|
29568
30236
|
default: vue.withCtx(() => [
|
|
29569
30237
|
vue.createVNode(_component_el_table_column, {
|
|
29570
30238
|
label: _ctx.$t("\u540D\u79F0"),
|
|
29571
|
-
prop: "
|
|
29572
|
-
align: "center",
|
|
29573
|
-
"show-overflow-tooltip": true
|
|
29574
|
-
}, null, 8, ["label"]),
|
|
29575
|
-
vue.createVNode(_component_el_table_column, {
|
|
29576
|
-
label: _ctx.$t("\u7EBF\u8DEF\u7F16\u7801"),
|
|
29577
|
-
prop: "lineCode",
|
|
29578
|
-
align: "center",
|
|
29579
|
-
"show-overflow-tooltip": true
|
|
29580
|
-
}, null, 8, ["label"]),
|
|
29581
|
-
vue.createVNode(_component_el_table_column, {
|
|
29582
|
-
label: _ctx.$t("\u6210\u4EBA\u4EF7"),
|
|
29583
|
-
prop: "adultPrice",
|
|
30239
|
+
prop: "name",
|
|
29584
30240
|
align: "center",
|
|
29585
30241
|
"show-overflow-tooltip": true
|
|
29586
30242
|
}, null, 8, ["label"]),
|
|
29587
30243
|
vue.createVNode(_component_el_table_column, {
|
|
29588
|
-
label: _ctx.$t("\
|
|
29589
|
-
prop: "
|
|
30244
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
30245
|
+
prop: "phone",
|
|
29590
30246
|
align: "center",
|
|
29591
30247
|
"show-overflow-tooltip": true
|
|
29592
30248
|
}, null, 8, ["label"]),
|
|
29593
30249
|
vue.createVNode(_component_el_table_column, {
|
|
29594
|
-
label: _ctx.$t("\
|
|
29595
|
-
prop: "
|
|
30250
|
+
label: _ctx.$t("\u8F66\u724C"),
|
|
30251
|
+
prop: "license",
|
|
29596
30252
|
align: "center",
|
|
29597
30253
|
"show-overflow-tooltip": true
|
|
29598
30254
|
}, null, 8, ["label"]),
|
|
29599
30255
|
vue.createVNode(_component_el_table_column, {
|
|
29600
|
-
label: _ctx.$t("\
|
|
29601
|
-
prop: "
|
|
30256
|
+
label: _ctx.$t("\u5EA7\u4F4D\u6570"),
|
|
30257
|
+
prop: "seats",
|
|
29602
30258
|
align: "center",
|
|
29603
30259
|
"show-overflow-tooltip": true
|
|
29604
30260
|
}, null, 8, ["label"]),
|
|
29605
30261
|
vue.createVNode(_component_el_table_column, {
|
|
29606
|
-
label: "\u64CD\u4F5C",
|
|
30262
|
+
label: _ctx.$t("\u64CD\u4F5C"),
|
|
29607
30263
|
width: "60",
|
|
29608
30264
|
align: "center"
|
|
29609
30265
|
}, {
|
|
@@ -29628,13 +30284,13 @@
|
|
|
29628
30284
|
]),
|
|
29629
30285
|
_: 1
|
|
29630
30286
|
/* STABLE */
|
|
29631
|
-
})
|
|
30287
|
+
}, 8, ["label"])
|
|
29632
30288
|
]),
|
|
29633
30289
|
_: 1
|
|
29634
30290
|
/* STABLE */
|
|
29635
30291
|
}, 8, ["data"]),
|
|
29636
30292
|
vue.createVNode(_component_el_pagination, {
|
|
29637
|
-
|
|
30293
|
+
"current-page": state.queryParams.page,
|
|
29638
30294
|
"page-size": state.queryParams.pageSize,
|
|
29639
30295
|
total: state.queryParams.total,
|
|
29640
30296
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -29643,7 +30299,7 @@
|
|
|
29643
30299
|
onCurrentChange: handleCurrentChange,
|
|
29644
30300
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
29645
30301
|
style: { "padding-bottom": "8px" }
|
|
29646
|
-
}, null, 8, ["
|
|
30302
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
29647
30303
|
]),
|
|
29648
30304
|
_: 1
|
|
29649
30305
|
/* STABLE */
|
|
@@ -29803,6 +30459,8 @@
|
|
|
29803
30459
|
const tableSubjectDialogRef = vue.ref();
|
|
29804
30460
|
const tableLineDialogRef = vue.ref();
|
|
29805
30461
|
const tableSupplierDialogRef = vue.ref();
|
|
30462
|
+
const tableGuideDialogRef = vue.ref();
|
|
30463
|
+
const tableDirverDialogRef = vue.ref();
|
|
29806
30464
|
const emit = __emit;
|
|
29807
30465
|
const querySearchAsync = async (queryString, cb) => {
|
|
29808
30466
|
var _a;
|
|
@@ -29837,7 +30495,7 @@
|
|
|
29837
30495
|
emit("select", value);
|
|
29838
30496
|
};
|
|
29839
30497
|
const handleRefresh = async () => {
|
|
29840
|
-
var _a;
|
|
30498
|
+
var _a, _b, _c;
|
|
29841
30499
|
await vue.nextTick();
|
|
29842
30500
|
if (props.openType == 0) {
|
|
29843
30501
|
if (tableUserDialogRef.value) {
|
|
@@ -29862,6 +30520,10 @@
|
|
|
29862
30520
|
}
|
|
29863
30521
|
} else if (props.openType == 5) {
|
|
29864
30522
|
(_a = tableLineDialogRef.value) == null ? void 0 : _a.handleQuery();
|
|
30523
|
+
} else if (props.openType == 6) {
|
|
30524
|
+
(_b = tableGuideDialogRef.value) == null ? void 0 : _b.handleQuery();
|
|
30525
|
+
} else if (props.openType == 7) {
|
|
30526
|
+
(_c = tableDirverDialogRef.value) == null ? void 0 : _c.handleQuery();
|
|
29865
30527
|
}
|
|
29866
30528
|
};
|
|
29867
30529
|
return (_ctx, _cache) => {
|
|
@@ -29869,7 +30531,7 @@
|
|
|
29869
30531
|
const _component_el_autocomplete = vue.resolveComponent("el-autocomplete");
|
|
29870
30532
|
return vue.openBlock(), vue.createBlock(_component_el_autocomplete, {
|
|
29871
30533
|
modelValue: autoName.value,
|
|
29872
|
-
"onUpdate:modelValue": _cache[
|
|
30534
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => autoName.value = $event),
|
|
29873
30535
|
debounce: 500,
|
|
29874
30536
|
"fetch-suggestions": querySearchAsync,
|
|
29875
30537
|
placeholder: props.placeholder,
|
|
@@ -29915,7 +30577,7 @@
|
|
|
29915
30577
|
_: 1
|
|
29916
30578
|
/* STABLE */
|
|
29917
30579
|
}, 8, ["size"]),
|
|
29918
|
-
__props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30580
|
+
__props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
|
|
29919
30581
|
key: 0,
|
|
29920
30582
|
ref_key: "tableUserDialogRef",
|
|
29921
30583
|
ref: tableUserDialogRef,
|
|
@@ -29930,7 +30592,7 @@
|
|
|
29930
30592
|
userParams: __props.params,
|
|
29931
30593
|
onChange: handleSelectDialogChange
|
|
29932
30594
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
29933
|
-
__props.openType == 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30595
|
+
__props.openType == 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
|
|
29934
30596
|
key: 1,
|
|
29935
30597
|
ref_key: "tableSupplierUserDialogRef",
|
|
29936
30598
|
ref: tableSupplierUserDialogRef,
|
|
@@ -29942,7 +30604,7 @@
|
|
|
29942
30604
|
userParams: __props.params,
|
|
29943
30605
|
onChange: handleSelectDialogChange
|
|
29944
30606
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
29945
|
-
__props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30607
|
+
__props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$z, {
|
|
29946
30608
|
key: 2,
|
|
29947
30609
|
ref_key: "tableSupplierDialogRef",
|
|
29948
30610
|
ref: tableSupplierDialogRef,
|
|
@@ -29955,7 +30617,7 @@
|
|
|
29955
30617
|
onChange: handleSelectDialogChange
|
|
29956
30618
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
29957
30619
|
vue.createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
|
|
29958
|
-
__props.openType == 3 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30620
|
+
__props.openType == 3 ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
|
|
29959
30621
|
key: 3,
|
|
29960
30622
|
ref_key: "tableAccountDialogRef",
|
|
29961
30623
|
ref: tableAccountDialogRef,
|
|
@@ -29968,7 +30630,7 @@
|
|
|
29968
30630
|
onChange: handleSelectDialogChange
|
|
29969
30631
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
29970
30632
|
vue.createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
|
|
29971
|
-
__props.openType == 4 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30633
|
+
__props.openType == 4 ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
29972
30634
|
key: 4,
|
|
29973
30635
|
ref_key: "tableSubjectDialogRef",
|
|
29974
30636
|
ref: tableSubjectDialogRef,
|
|
@@ -29981,7 +30643,7 @@
|
|
|
29981
30643
|
onChange: handleSelectDialogChange
|
|
29982
30644
|
}, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : vue.createCommentVNode("v-if", true),
|
|
29983
30645
|
vue.createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
|
|
29984
|
-
__props.openType == 5 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30646
|
+
__props.openType == 5 ? (vue.openBlock(), vue.createBlock(_sfc_main$v, {
|
|
29985
30647
|
key: 5,
|
|
29986
30648
|
ref_key: "tableLineDialogRef",
|
|
29987
30649
|
ref: tableLineDialogRef,
|
|
@@ -29992,6 +30654,32 @@
|
|
|
29992
30654
|
userAction: __props.userAction,
|
|
29993
30655
|
userParams: __props.params,
|
|
29994
30656
|
onChange: handleSelectDialogChange
|
|
30657
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
30658
|
+
vue.createCommentVNode("\u5BFC\u6E38\u9009\u62E9"),
|
|
30659
|
+
__props.openType == 6 ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
|
|
30660
|
+
key: 6,
|
|
30661
|
+
ref_key: "tableGuideDialogRef",
|
|
30662
|
+
ref: tableGuideDialogRef,
|
|
30663
|
+
visible: visibleopenDialog.value,
|
|
30664
|
+
"onUpdate:visible": _cache[7] || (_cache[7] = ($event) => visibleopenDialog.value = $event),
|
|
30665
|
+
title: __props.title,
|
|
30666
|
+
userService: __props.userService,
|
|
30667
|
+
userAction: __props.userAction,
|
|
30668
|
+
userParams: __props.params,
|
|
30669
|
+
onChange: handleSelectDialogChange
|
|
30670
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
30671
|
+
vue.createCommentVNode("\u53F8\u673A\u9009\u62E9"),
|
|
30672
|
+
__props.openType == 7 ? (vue.openBlock(), vue.createBlock(_sfc_main$t, {
|
|
30673
|
+
key: 7,
|
|
30674
|
+
ref_key: "tableDirverDialogRef",
|
|
30675
|
+
ref: tableDirverDialogRef,
|
|
30676
|
+
visible: visibleopenDialog.value,
|
|
30677
|
+
"onUpdate:visible": _cache[8] || (_cache[8] = ($event) => visibleopenDialog.value = $event),
|
|
30678
|
+
title: __props.title,
|
|
30679
|
+
userService: __props.userService,
|
|
30680
|
+
userAction: __props.userAction,
|
|
30681
|
+
userParams: __props.params,
|
|
30682
|
+
onChange: handleSelectDialogChange
|
|
29995
30683
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true)
|
|
29996
30684
|
]),
|
|
29997
30685
|
key: "1"
|
|
@@ -30249,7 +30937,7 @@
|
|
|
30249
30937
|
_: 1
|
|
30250
30938
|
/* STABLE */
|
|
30251
30939
|
}, 8, ["size"]),
|
|
30252
|
-
__props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30940
|
+
__props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
|
|
30253
30941
|
key: 0,
|
|
30254
30942
|
ref_key: "tableUserDialogRef",
|
|
30255
30943
|
ref: tableUserDialogRef,
|
|
@@ -30264,7 +30952,7 @@
|
|
|
30264
30952
|
userParams: __props.params,
|
|
30265
30953
|
onChange: handleSelectDialogChange
|
|
30266
30954
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
30267
|
-
__props.openType == 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30955
|
+
__props.openType == 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
|
|
30268
30956
|
key: 1,
|
|
30269
30957
|
ref_key: "tableSupplierUserDialogRef",
|
|
30270
30958
|
ref: tableSupplierUserDialogRef,
|
|
@@ -30276,7 +30964,7 @@
|
|
|
30276
30964
|
userParams: __props.params,
|
|
30277
30965
|
onChange: handleSelectDialogChange
|
|
30278
30966
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
30279
|
-
__props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30967
|
+
__props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$z, {
|
|
30280
30968
|
key: 2,
|
|
30281
30969
|
ref_key: "tableSupplierDialogRef",
|
|
30282
30970
|
ref: tableSupplierDialogRef,
|
|
@@ -30289,7 +30977,7 @@
|
|
|
30289
30977
|
onChange: handleSelectDialogChange
|
|
30290
30978
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
30291
30979
|
vue.createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
|
|
30292
|
-
__props.openType == 3 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30980
|
+
__props.openType == 3 ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
|
|
30293
30981
|
key: 3,
|
|
30294
30982
|
ref_key: "tableAccountDialogRef",
|
|
30295
30983
|
ref: tableAccountDialogRef,
|
|
@@ -30302,7 +30990,7 @@
|
|
|
30302
30990
|
onChange: handleSelectDialogChange
|
|
30303
30991
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
30304
30992
|
vue.createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
|
|
30305
|
-
__props.openType == 4 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30993
|
+
__props.openType == 4 ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
30306
30994
|
key: 4,
|
|
30307
30995
|
ref_key: "tableSubjectDialogRef",
|
|
30308
30996
|
ref: tableSubjectDialogRef,
|
|
@@ -30315,7 +31003,7 @@
|
|
|
30315
31003
|
onChange: handleSelectDialogChange
|
|
30316
31004
|
}, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : vue.createCommentVNode("v-if", true),
|
|
30317
31005
|
vue.createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
|
|
30318
|
-
__props.openType == 5 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
31006
|
+
__props.openType == 5 ? (vue.openBlock(), vue.createBlock(_sfc_main$v, {
|
|
30319
31007
|
key: 5,
|
|
30320
31008
|
ref_key: "tableLineDialogRef",
|
|
30321
31009
|
ref: tableLineDialogRef,
|
|
@@ -35134,6 +35822,7 @@
|
|
|
35134
35822
|
exports.restartSignalR = restartSignalR;
|
|
35135
35823
|
exports.roles = roles;
|
|
35136
35824
|
exports.saulVModel = saulVModel;
|
|
35825
|
+
exports.scrollToSection = scrollToSection;
|
|
35137
35826
|
exports.service = service;
|
|
35138
35827
|
exports.setCssCdn = setCssCdn;
|
|
35139
35828
|
exports.setIntroduction = setIntroduction;
|