@fmdeui/fmui 1.0.160 → 1.0.162
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/components/select-table/index.d.ts +50 -5
- package/es/components/select-table/src/index.vue.d.ts +21 -3
- package/es/components/select-table/src/type.d.ts +4 -0
- 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/components/select-table/src/index2.vue.mjs +114 -25
- package/index.js +1026 -261
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +1027 -262
- 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/components/select-table/index.d.ts +50 -5
- package/lib/components/select-table/src/index.vue.d.ts +21 -3
- package/lib/components/select-table/src/type.d.ts +4 -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/components/select-table/src/index2.vue.js +113 -24
- 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/{make-installer.css → component.css} +0 -0
- /package/lib/{version.css → make-installer.css} +0 -0
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.162 */
|
|
2
2
|
import VxeUITable from 'vxe-table';
|
|
3
3
|
import VxeUIPluginRenderElement from '@vxe-ui/plugin-render-element';
|
|
4
4
|
import VxeUIPluginExportXLSX from '@vxe-ui/plugin-export-xlsx';
|
|
@@ -6,7 +6,7 @@ import VxeUI from 'vxe-pc-ui';
|
|
|
6
6
|
import ExcelJS from 'exceljs';
|
|
7
7
|
import * as svg from '@element-plus/icons-vue';
|
|
8
8
|
import { CaretTop, ArrowDown, ArrowUp, RefreshLeft, Search, Calendar, DArrowLeft, DArrowRight, MoreFilled, Avatar, Loading, Lock, CircleCloseFilled } from '@element-plus/icons-vue';
|
|
9
|
-
import { isRef, unref, watch, nextTick, computed, reactive, defineComponent, ref, resolveComponent, openBlock, createBlock, mergeProps, withCtx, createVNode, renderSlot, inject, withDirectives, resolveDirective, provide, useAttrs, useSlots, createSlots, renderList, normalizeProps, guardReactiveProps, createElementBlock, toDisplayString, createElementVNode, onMounted, onActivated, normalizeClass, createCommentVNode, getCurrentInstance, onBeforeUnmount, vShow, markRaw, resolveDynamicComponent, Fragment, createTextVNode, withModifiers, toHandlers, onUpdated, normalizeStyle, defineAsyncComponent, onBeforeMount, onUnmounted,
|
|
9
|
+
import { isRef, unref, watch, nextTick, computed, reactive, defineComponent, ref, resolveComponent, openBlock, createBlock, mergeProps, withCtx, createVNode, renderSlot, inject, withDirectives, resolveDirective, provide, useAttrs, useSlots, createSlots, renderList, normalizeProps, guardReactiveProps, createElementBlock, toDisplayString, createElementVNode, onMounted, onActivated, normalizeClass, createCommentVNode, getCurrentInstance, onBeforeUnmount, vShow, markRaw, resolveDynamicComponent, Fragment, createTextVNode, withModifiers, toHandlers, useModel, onUpdated, normalizeStyle, mergeModels, defineAsyncComponent, onBeforeMount, onUnmounted, withKeys, onBeforeUpdate, Transition, KeepAlive, TransitionGroup } from 'vue';
|
|
10
10
|
import { ElLoading, ElMessage, ElNotification, localeContextKey, dayjs, ElMessageBox } from 'element-plus';
|
|
11
11
|
import { get, merge, debounce as debounce$1 } from 'lodash-es';
|
|
12
12
|
import Cookies from 'js-cookie';
|
|
@@ -3880,13 +3880,13 @@ const CurrencyData = [
|
|
|
3880
3880
|
}
|
|
3881
3881
|
];
|
|
3882
3882
|
const COST_CATEGORIES = [
|
|
3883
|
+
{ code: "GUIDE", type: 10, name: "\u6D3E\u5BFC\u6E38", icon: "\u{1F468}\u200D", color: "#f5222d", bg: "#fff1f0" },
|
|
3883
3884
|
{ code: "HOTEL", type: 8, name: "\u623F\u8D39", icon: "\u{1F3E8}", color: "#165dff", bg: "#e8f3ff" },
|
|
3884
3885
|
{ code: "MEAL", type: 13, name: "\u9910\u8D39", icon: "\u{1F37D}\uFE0F", color: "#fa8c16", bg: "#fff7e6" },
|
|
3885
3886
|
{ code: "BUS", type: 12, name: "\u8F66\u8D39", icon: "\u{1F68C}", color: "#722ed1", bg: "#f9f0ff" },
|
|
3886
3887
|
{ code: "TICKET", type: 3, name: "\u7968\u52A1", icon: "\u{1F3AB}", color: "#13c2c2", bg: "#e6fffb" },
|
|
3887
3888
|
{ code: "SCENIC", type: 11, name: "\u666F\u70B9", icon: "\uFE0F\u{1F3DE}\uFE0F", color: "#52c41a", bg: "#f6ffed" },
|
|
3888
3889
|
{ code: "INSURE", type: 9, name: "\u4FDD\u9669", icon: "\u{1F6E1}\uFE0F", color: "#eb2f96", bg: "#fff0f6" },
|
|
3889
|
-
//{ code: 'GUIDE',type:10, name: '导服', icon: '👨', color: '#f5222d', bg: '#fff1f0' },
|
|
3890
3890
|
{ code: "VISA", type: 15, name: "\u7B7E\u8BC1", icon: "\u{1F4CB}", color: "#faad14", bg: "#fffbe6" },
|
|
3891
3891
|
{ code: "SHIP", type: 14, name: "\u6E38\u8239", icon: "\u{1F6A2}", color: "#0ea5e9", bg: "#e0f2fe" },
|
|
3892
3892
|
{ code: "TOPLAN", type: 6, name: "\u5730\u63A5", icon: "\u{1F91D}", color: "#1890ff", bg: "#e6f7ff" },
|
|
@@ -20438,7 +20438,7 @@ const setupVXETable = (app) => {
|
|
|
20438
20438
|
app.use(VxeUITable);
|
|
20439
20439
|
};
|
|
20440
20440
|
|
|
20441
|
-
var _sfc_main$
|
|
20441
|
+
var _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
20442
20442
|
...{
|
|
20443
20443
|
name: "FButton"
|
|
20444
20444
|
},
|
|
@@ -20508,7 +20508,7 @@ var _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
20508
20508
|
}
|
|
20509
20509
|
});
|
|
20510
20510
|
|
|
20511
|
-
const FButton = _sfc_main$
|
|
20511
|
+
const FButton = _sfc_main$V;
|
|
20512
20512
|
|
|
20513
20513
|
const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
|
|
20514
20514
|
const translate = (path, option, locale) => get(locale, path, path).replace(
|
|
@@ -21232,9 +21232,9 @@ function getPageSetting(field, defaultValue = "", flag = "main") {
|
|
|
21232
21232
|
return setting;
|
|
21233
21233
|
}
|
|
21234
21234
|
|
|
21235
|
-
const _hoisted_1$
|
|
21236
|
-
const _hoisted_2$
|
|
21237
|
-
var _sfc_main$
|
|
21235
|
+
const _hoisted_1$E = { key: 0 };
|
|
21236
|
+
const _hoisted_2$r = { key: 0 };
|
|
21237
|
+
var _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
21238
21238
|
...{
|
|
21239
21239
|
name: "FInput"
|
|
21240
21240
|
},
|
|
@@ -21441,7 +21441,7 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
21441
21441
|
fn: withCtx(() => [
|
|
21442
21442
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
21443
21443
|
"span",
|
|
21444
|
-
_hoisted_1$
|
|
21444
|
+
_hoisted_1$E,
|
|
21445
21445
|
toDisplayString(appendTitleText.value),
|
|
21446
21446
|
1
|
|
21447
21447
|
/* TEXT */
|
|
@@ -21474,7 +21474,7 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
21474
21474
|
fn: withCtx(() => [
|
|
21475
21475
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
21476
21476
|
"span",
|
|
21477
|
-
_hoisted_2$
|
|
21477
|
+
_hoisted_2$r,
|
|
21478
21478
|
toDisplayString(appendTitleText.value),
|
|
21479
21479
|
1
|
|
21480
21480
|
/* TEXT */
|
|
@@ -21487,13 +21487,13 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
21487
21487
|
}
|
|
21488
21488
|
});
|
|
21489
21489
|
|
|
21490
|
-
const FInput = _sfc_main$
|
|
21490
|
+
const FInput = _sfc_main$U;
|
|
21491
21491
|
|
|
21492
|
-
const _hoisted_1$
|
|
21492
|
+
const _hoisted_1$D = {
|
|
21493
21493
|
key: 0,
|
|
21494
21494
|
class: "back_to_top"
|
|
21495
21495
|
};
|
|
21496
|
-
var _sfc_main$
|
|
21496
|
+
var _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
21497
21497
|
...{
|
|
21498
21498
|
name: "FLayoutPage"
|
|
21499
21499
|
},
|
|
@@ -21555,7 +21555,7 @@ var _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
21555
21555
|
},
|
|
21556
21556
|
[
|
|
21557
21557
|
renderSlot(_ctx.$slots, "default"),
|
|
21558
|
-
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21558
|
+
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$D, [
|
|
21559
21559
|
isShowGoTopButton.value ? (openBlock(), createElementBlock("div", {
|
|
21560
21560
|
key: 0,
|
|
21561
21561
|
onClick: backToTop
|
|
@@ -21583,9 +21583,9 @@ var _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
21583
21583
|
}
|
|
21584
21584
|
});
|
|
21585
21585
|
|
|
21586
|
-
const FLayoutPage = _sfc_main$
|
|
21586
|
+
const FLayoutPage = _sfc_main$T;
|
|
21587
21587
|
|
|
21588
|
-
var _sfc_main$
|
|
21588
|
+
var _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
21589
21589
|
...{
|
|
21590
21590
|
name: "FLayoutPageItem"
|
|
21591
21591
|
},
|
|
@@ -21613,7 +21613,7 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
21613
21613
|
}
|
|
21614
21614
|
});
|
|
21615
21615
|
|
|
21616
|
-
const FLayoutPageItem = _sfc_main$
|
|
21616
|
+
const FLayoutPageItem = _sfc_main$S;
|
|
21617
21617
|
|
|
21618
21618
|
function debounce(func, delay = 500, immediate, resultCallback) {
|
|
21619
21619
|
let timer = null;
|
|
@@ -21656,8 +21656,8 @@ function toLine(name) {
|
|
|
21656
21656
|
return name.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
21657
21657
|
}
|
|
21658
21658
|
|
|
21659
|
-
const _hoisted_1$
|
|
21660
|
-
var _sfc_main$
|
|
21659
|
+
const _hoisted_1$C = ["id"];
|
|
21660
|
+
var _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
21661
21661
|
...{
|
|
21662
21662
|
name: "FChart"
|
|
21663
21663
|
},
|
|
@@ -21741,7 +21741,7 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
21741
21741
|
id: __props.id,
|
|
21742
21742
|
ref_key: "echartRef",
|
|
21743
21743
|
ref: echartRef
|
|
21744
|
-
}, null, 8, _hoisted_1$
|
|
21744
|
+
}, null, 8, _hoisted_1$C), [
|
|
21745
21745
|
[vShow, !formatEmpty.value]
|
|
21746
21746
|
]),
|
|
21747
21747
|
formatEmpty.value ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
@@ -21756,13 +21756,13 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
21756
21756
|
}
|
|
21757
21757
|
});
|
|
21758
21758
|
|
|
21759
|
-
const FChart = _sfc_main$
|
|
21759
|
+
const FChart = _sfc_main$R;
|
|
21760
21760
|
|
|
21761
|
-
const _hoisted_1$
|
|
21761
|
+
const _hoisted_1$B = {
|
|
21762
21762
|
key: 1,
|
|
21763
21763
|
class: "f_select__pagination"
|
|
21764
21764
|
};
|
|
21765
|
-
var _sfc_main$
|
|
21765
|
+
var _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
21766
21766
|
...{
|
|
21767
21767
|
name: "FSelect"
|
|
21768
21768
|
},
|
|
@@ -21975,7 +21975,7 @@ var _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
21975
21975
|
128
|
|
21976
21976
|
/* KEYED_FRAGMENT */
|
|
21977
21977
|
)),
|
|
21978
|
-
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21978
|
+
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
21979
21979
|
createVNode(_component_el_pagination, mergeProps({
|
|
21980
21980
|
"current-page": __props.paginationOption.currentPage,
|
|
21981
21981
|
"onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
|
|
@@ -22013,9 +22013,9 @@ var _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
22013
22013
|
}
|
|
22014
22014
|
});
|
|
22015
22015
|
|
|
22016
|
-
const FSelect = _sfc_main$
|
|
22016
|
+
const FSelect = _sfc_main$Q;
|
|
22017
22017
|
|
|
22018
|
-
var _sfc_main$
|
|
22018
|
+
var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
22019
22019
|
...{
|
|
22020
22020
|
name: "RenderComp"
|
|
22021
22021
|
},
|
|
@@ -22035,12 +22035,12 @@ var _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
22035
22035
|
}
|
|
22036
22036
|
});
|
|
22037
22037
|
|
|
22038
|
-
const _hoisted_1$
|
|
22039
|
-
const _hoisted_2$
|
|
22040
|
-
const _hoisted_3$
|
|
22038
|
+
const _hoisted_1$A = { class: "inside_box" };
|
|
22039
|
+
const _hoisted_2$q = { class: "inside_box_title" };
|
|
22040
|
+
const _hoisted_3$i = { class: "check-box" };
|
|
22041
22041
|
const _hoisted_4$9 = { class: "more_dropdown_icon" };
|
|
22042
22042
|
const _hoisted_5$8 = { class: "out_box" };
|
|
22043
|
-
var _sfc_main$
|
|
22043
|
+
var _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
22044
22044
|
...{
|
|
22045
22045
|
name: "MoreChoose"
|
|
22046
22046
|
},
|
|
@@ -22178,8 +22178,8 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
22178
22178
|
])
|
|
22179
22179
|
]),
|
|
22180
22180
|
default: withCtx(() => [
|
|
22181
|
-
createElementVNode("div", _hoisted_1$
|
|
22182
|
-
createElementVNode("div", _hoisted_2$
|
|
22181
|
+
createElementVNode("div", _hoisted_1$A, [
|
|
22182
|
+
createElementVNode("div", _hoisted_2$q, [
|
|
22183
22183
|
createElementVNode(
|
|
22184
22184
|
"div",
|
|
22185
22185
|
null,
|
|
@@ -22187,7 +22187,7 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
22187
22187
|
1
|
|
22188
22188
|
/* TEXT */
|
|
22189
22189
|
),
|
|
22190
|
-
createElementVNode("div", _hoisted_3$
|
|
22190
|
+
createElementVNode("div", _hoisted_3$i, [
|
|
22191
22191
|
createVNode(_component_el_button, {
|
|
22192
22192
|
size: "small",
|
|
22193
22193
|
link: "",
|
|
@@ -22355,7 +22355,7 @@ function useComputed() {
|
|
|
22355
22355
|
};
|
|
22356
22356
|
}
|
|
22357
22357
|
|
|
22358
|
-
var _sfc_main$
|
|
22358
|
+
var _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
22359
22359
|
...{
|
|
22360
22360
|
name: "FQueryCondition"
|
|
22361
22361
|
},
|
|
@@ -22774,7 +22774,7 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
22774
22774
|
opt.labelRender ? {
|
|
22775
22775
|
name: "label",
|
|
22776
22776
|
fn: withCtx(() => [
|
|
22777
|
-
createVNode(_sfc_main$
|
|
22777
|
+
createVNode(_sfc_main$P, {
|
|
22778
22778
|
form: unref(queryState).form,
|
|
22779
22779
|
render: opt.labelRender
|
|
22780
22780
|
}, null, 8, ["form", "render"])
|
|
@@ -22870,7 +22870,7 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
22870
22870
|
_: 1
|
|
22871
22871
|
/* STABLE */
|
|
22872
22872
|
})) : createCommentVNode("v-if", true),
|
|
22873
|
-
createVNode(_sfc_main$
|
|
22873
|
+
createVNode(_sfc_main$O, {
|
|
22874
22874
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22875
22875
|
moreCheckList: __props.moreCheckList,
|
|
22876
22876
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22896,7 +22896,7 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
22896
22896
|
}
|
|
22897
22897
|
});
|
|
22898
22898
|
|
|
22899
|
-
var _sfc_main$
|
|
22899
|
+
var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
22900
22900
|
...{
|
|
22901
22901
|
name: "RenderCol"
|
|
22902
22902
|
},
|
|
@@ -23052,22 +23052,22 @@ function useVirtualized() {
|
|
|
23052
23052
|
};
|
|
23053
23053
|
}
|
|
23054
23054
|
|
|
23055
|
-
const _hoisted_1$
|
|
23055
|
+
const _hoisted_1$z = {
|
|
23056
23056
|
key: 0,
|
|
23057
23057
|
class: "table_query_condition"
|
|
23058
23058
|
};
|
|
23059
|
-
const _hoisted_2$
|
|
23060
|
-
const _hoisted_3$
|
|
23059
|
+
const _hoisted_2$p = ["element-loading-text"];
|
|
23060
|
+
const _hoisted_3$h = { key: 2 };
|
|
23061
23061
|
const _hoisted_4$8 = {
|
|
23062
23062
|
key: 0,
|
|
23063
23063
|
class: "f-table-select__page"
|
|
23064
23064
|
};
|
|
23065
|
-
var _sfc_main$
|
|
23065
|
+
var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
23066
23066
|
...{
|
|
23067
23067
|
name: "FSelectTable"
|
|
23068
23068
|
},
|
|
23069
23069
|
__name: "index",
|
|
23070
|
-
props: {
|
|
23070
|
+
props: /* @__PURE__ */ mergeModels({
|
|
23071
23071
|
modelValue: { default: void 0 },
|
|
23072
23072
|
inputValue: { default: void 0 },
|
|
23073
23073
|
defaultSelectVal: { default: () => [] },
|
|
@@ -23120,9 +23120,21 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23120
23120
|
isExpanded: { type: Boolean, default: false },
|
|
23121
23121
|
multipleDisableDelete: { type: Boolean, default: true },
|
|
23122
23122
|
tableLoading: { type: Boolean, default: false },
|
|
23123
|
-
loadingTxt: { default: "" }
|
|
23124
|
-
|
|
23125
|
-
|
|
23123
|
+
loadingTxt: { default: "" },
|
|
23124
|
+
apiService: { default: void 0 },
|
|
23125
|
+
apiAction: { default: "" },
|
|
23126
|
+
queryParams: { default: () => ({}) },
|
|
23127
|
+
responseFormatter: { type: Function, default: (res) => ({
|
|
23128
|
+
data: res.result.items || [],
|
|
23129
|
+
total: res.result.total || 0
|
|
23130
|
+
}) }
|
|
23131
|
+
}, {
|
|
23132
|
+
"id": { default: 0, required: false },
|
|
23133
|
+
"idModifiers": {},
|
|
23134
|
+
"name": { default: "", required: false },
|
|
23135
|
+
"nameModifiers": {}
|
|
23136
|
+
}),
|
|
23137
|
+
emits: /* @__PURE__ */ mergeModels(["page-change", "selectionChange", "radioChange", "update:inputValue", "input-focus", "input-blur", "input-clear", "input-click"], ["update:id", "update:name"]),
|
|
23126
23138
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
23127
23139
|
const { t } = useLocale();
|
|
23128
23140
|
const {
|
|
@@ -23133,6 +23145,8 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23133
23145
|
saveDATA,
|
|
23134
23146
|
getItemHeightFromCache
|
|
23135
23147
|
} = useVirtualized();
|
|
23148
|
+
const modeValueId = useModel(__props, "id");
|
|
23149
|
+
const modeValueName = useModel(__props, "name");
|
|
23136
23150
|
const props = __props;
|
|
23137
23151
|
const vClickOutside = ClickOutside;
|
|
23138
23152
|
const emits = __emit;
|
|
@@ -23144,8 +23158,24 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23144
23158
|
const isVisible = ref(false);
|
|
23145
23159
|
const radioVal = ref("");
|
|
23146
23160
|
const isShowFirstRadio = ref(props.isShowFirstColumn);
|
|
23147
|
-
const selectDefaultLabel = ref(
|
|
23161
|
+
const selectDefaultLabel = ref(modeValueName.value);
|
|
23148
23162
|
const scrollTopNum = ref(0);
|
|
23163
|
+
const pagination = reactive({
|
|
23164
|
+
currentPage: props.table.currentPage,
|
|
23165
|
+
pageSize: props.table.pageSize,
|
|
23166
|
+
total: props.table.total
|
|
23167
|
+
});
|
|
23168
|
+
watch(
|
|
23169
|
+
() => props.table,
|
|
23170
|
+
(newVal) => {
|
|
23171
|
+
if (!props.apiService) {
|
|
23172
|
+
pagination.currentPage = newVal.currentPage;
|
|
23173
|
+
pagination.pageSize = newVal.pageSize;
|
|
23174
|
+
pagination.total = newVal.total;
|
|
23175
|
+
}
|
|
23176
|
+
},
|
|
23177
|
+
{ deep: true }
|
|
23178
|
+
);
|
|
23149
23179
|
let selectInputVal = computed({
|
|
23150
23180
|
get() {
|
|
23151
23181
|
return props.inputValue;
|
|
@@ -23236,20 +23266,55 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23236
23266
|
);
|
|
23237
23267
|
onMounted(() => {
|
|
23238
23268
|
var _a;
|
|
23239
|
-
if (
|
|
23240
|
-
|
|
23241
|
-
}
|
|
23242
|
-
|
|
23243
|
-
|
|
23244
|
-
|
|
23245
|
-
|
|
23246
|
-
|
|
23247
|
-
|
|
23248
|
-
|
|
23249
|
-
|
|
23269
|
+
if (props.apiService) {
|
|
23270
|
+
fetchTableData();
|
|
23271
|
+
} else {
|
|
23272
|
+
if (state.defaultSelectValue && state.defaultSelectValue.length > 0 && isDefaultSelectVal.value) {
|
|
23273
|
+
defaultSelect(state.defaultSelectValue);
|
|
23274
|
+
}
|
|
23275
|
+
if (props.selfExpanded) {
|
|
23276
|
+
selectRef.value.expanded = true;
|
|
23277
|
+
}
|
|
23278
|
+
if (props.useVirtual) {
|
|
23279
|
+
saveDATA.value = props.table.data;
|
|
23280
|
+
isShowFirstRadio.value = false;
|
|
23281
|
+
getDom(props);
|
|
23282
|
+
(_a = scrollContainerEl.value) == null ? void 0 : _a.addEventListener("scroll", handleScroll);
|
|
23283
|
+
}
|
|
23284
|
+
if (props.radioSelectValLabel) findLabel();
|
|
23250
23285
|
}
|
|
23251
|
-
if (props.radioSelectValLabel) findLabel();
|
|
23252
23286
|
});
|
|
23287
|
+
const internalLoading = ref(false);
|
|
23288
|
+
const internalQueryParams = reactive({ ...props.queryParams });
|
|
23289
|
+
const fetchTableData = async (isResetPage = false) => {
|
|
23290
|
+
if (!props.apiService) return;
|
|
23291
|
+
internalLoading.value = true;
|
|
23292
|
+
try {
|
|
23293
|
+
if (isResetPage) {
|
|
23294
|
+
pagination.currentPage = 1;
|
|
23295
|
+
}
|
|
23296
|
+
const requestParams = {
|
|
23297
|
+
currentPage: pagination.currentPage,
|
|
23298
|
+
pageSize: pagination.pageSize,
|
|
23299
|
+
...internalQueryParams
|
|
23300
|
+
};
|
|
23301
|
+
const res = await useBaseApi(props.apiService).post(requestParams, props.apiAction);
|
|
23302
|
+
const formatted = props.responseFormatter(res);
|
|
23303
|
+
pagination.total = formatted.total;
|
|
23304
|
+
state.tableData = formatted.data;
|
|
23305
|
+
if (props.useVirtual) {
|
|
23306
|
+
saveDATA.value = formatted.data;
|
|
23307
|
+
updateRenderData(scrollTopNum.value);
|
|
23308
|
+
}
|
|
23309
|
+
if (state.defaultSelectValue && state.defaultSelectValue.length > 0 && isDefaultSelectVal.value) {
|
|
23310
|
+
defaultSelect(state.defaultSelectValue);
|
|
23311
|
+
}
|
|
23312
|
+
} catch (error) {
|
|
23313
|
+
console.error("FSelectTable API request failed:", error);
|
|
23314
|
+
} finally {
|
|
23315
|
+
internalLoading.value = false;
|
|
23316
|
+
}
|
|
23317
|
+
};
|
|
23253
23318
|
const updateRenderData = (scrollTop) => {
|
|
23254
23319
|
let startIndex = 0;
|
|
23255
23320
|
let offsetHeight = 0;
|
|
@@ -23297,6 +23362,11 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23297
23362
|
} else {
|
|
23298
23363
|
if (fQueryConditionRef.value && props.isShowQuery && props.isClearQuery && !selectRef.value.expanded && !props.selfExpanded) {
|
|
23299
23364
|
(_a = fQueryConditionRef.value) == null ? void 0 : _a.resetData();
|
|
23365
|
+
if (props.apiService) {
|
|
23366
|
+
Object.keys(internalQueryParams).forEach((key) => delete internalQueryParams[key]);
|
|
23367
|
+
Object.assign(internalQueryParams, props.queryParams);
|
|
23368
|
+
fetchTableData(true);
|
|
23369
|
+
}
|
|
23300
23370
|
}
|
|
23301
23371
|
findLabel();
|
|
23302
23372
|
filterMethodHandle("");
|
|
@@ -23374,6 +23444,10 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23374
23444
|
});
|
|
23375
23445
|
};
|
|
23376
23446
|
const handlesCurrentChange = (val) => {
|
|
23447
|
+
if (props.apiService) {
|
|
23448
|
+
fetchTableData();
|
|
23449
|
+
return;
|
|
23450
|
+
}
|
|
23377
23451
|
if (props.multiple) {
|
|
23378
23452
|
if (!props.reserveSelection) {
|
|
23379
23453
|
clear();
|
|
@@ -23398,12 +23472,15 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23398
23472
|
setTimeout(() => {
|
|
23399
23473
|
var _a, _b;
|
|
23400
23474
|
state.defaultValue = multipleList.map((item) => item[props.keywords.label]);
|
|
23475
|
+
state.ids = multipleList.map((item) => item[props.keywords.value]);
|
|
23401
23476
|
multipleList.forEach((row) => {
|
|
23402
23477
|
selectTable.value.toggleRowSelection(row, true);
|
|
23403
23478
|
});
|
|
23404
23479
|
(_b = (_a = selectRef.value) == null ? void 0 : _a.selected) == null ? void 0 : _b.forEach((item) => {
|
|
23405
23480
|
item.currentLabel = item.value;
|
|
23406
23481
|
});
|
|
23482
|
+
modeValueId.value = state.ids;
|
|
23483
|
+
modeValueName.value = state.defaultValue;
|
|
23407
23484
|
}, 0);
|
|
23408
23485
|
} else {
|
|
23409
23486
|
setTimeout(() => {
|
|
@@ -23412,6 +23489,8 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23412
23489
|
radioVal.value = state.tableData.indexOf(row) + 1;
|
|
23413
23490
|
state.defaultValue = row;
|
|
23414
23491
|
selectDefaultLabel.value = row[props.keywords.label];
|
|
23492
|
+
modeValueId.value = row[props.keywords.value];
|
|
23493
|
+
modeValueName.value = row[props.keywords.label];
|
|
23415
23494
|
if (!props.defaultValIsOpenRadioChange) {
|
|
23416
23495
|
emits("radioChange", row, row[props.keywords.value]);
|
|
23417
23496
|
}
|
|
@@ -23428,6 +23507,10 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23428
23507
|
state.defaultSelectValue = [];
|
|
23429
23508
|
}
|
|
23430
23509
|
emits("selectionChange", val, state.ids);
|
|
23510
|
+
if (props.multiple) {
|
|
23511
|
+
modeValueId.value = state.ids;
|
|
23512
|
+
modeValueName.value = state.defaultValue;
|
|
23513
|
+
}
|
|
23431
23514
|
};
|
|
23432
23515
|
const getRowClassName = ({ row }) => {
|
|
23433
23516
|
if (!props.multiple && JSON.stringify(row) === JSON.stringify(state.defaultValue)) {
|
|
@@ -23552,6 +23635,8 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23552
23635
|
radioVal.value = index;
|
|
23553
23636
|
state.defaultValue = row;
|
|
23554
23637
|
emits("radioChange", row, row[props.keywords.value]);
|
|
23638
|
+
modeValueId.value = row[props.keywords.value];
|
|
23639
|
+
modeValueName.value = row[props.keywords.label];
|
|
23555
23640
|
};
|
|
23556
23641
|
const rowClick = async (row) => {
|
|
23557
23642
|
var _a;
|
|
@@ -23584,6 +23669,8 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23584
23669
|
isDefaultSelectVal.value = true;
|
|
23585
23670
|
state.defaultSelectValue = [];
|
|
23586
23671
|
state.defaultValue = props.multiple ? [] : null;
|
|
23672
|
+
modeValueId.value = props.multiple ? [] : 0;
|
|
23673
|
+
modeValueName.value = props.multiple ? [] : "";
|
|
23587
23674
|
};
|
|
23588
23675
|
if (!selectTable.value) {
|
|
23589
23676
|
console.warn("selectTable.value is not initialized");
|
|
@@ -23667,7 +23754,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23667
23754
|
ref_key: "selectRef",
|
|
23668
23755
|
ref: selectRef,
|
|
23669
23756
|
"model-value": __props.multiple ? state.defaultValue : selectDefaultLabel.value,
|
|
23670
|
-
"popper-class": "
|
|
23757
|
+
"popper-class": "f-select-table",
|
|
23671
23758
|
style: { width: __props.selectWidth ? `${__props.selectWidth}px` : "100%" },
|
|
23672
23759
|
"value-key": __props.keywords.value,
|
|
23673
23760
|
"filter-method": __props.filterMethod || filterMethodHandle,
|
|
@@ -23684,9 +23771,9 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23684
23771
|
style: normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
|
|
23685
23772
|
},
|
|
23686
23773
|
[
|
|
23687
|
-
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
23774
|
+
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
23688
23775
|
createVNode(
|
|
23689
|
-
_sfc_main$
|
|
23776
|
+
_sfc_main$N,
|
|
23690
23777
|
mergeProps({
|
|
23691
23778
|
ref_key: "fQueryConditionRef",
|
|
23692
23779
|
ref: fQueryConditionRef,
|
|
@@ -23812,7 +23899,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23812
23899
|
fixed: item.fixed
|
|
23813
23900
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
23814
23901
|
default: withCtx((scope) => [
|
|
23815
|
-
item.render ? (openBlock(), createBlock(_sfc_main$
|
|
23902
|
+
item.render ? (openBlock(), createBlock(_sfc_main$M, {
|
|
23816
23903
|
key: 0,
|
|
23817
23904
|
column: item,
|
|
23818
23905
|
row: scope.row,
|
|
@@ -23823,7 +23910,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23823
23910
|
key: 1,
|
|
23824
23911
|
scope
|
|
23825
23912
|
}) : createCommentVNode("v-if", true),
|
|
23826
|
-
!item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
23913
|
+
!item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$h, [
|
|
23827
23914
|
createElementVNode(
|
|
23828
23915
|
"span",
|
|
23829
23916
|
null,
|
|
@@ -23847,18 +23934,18 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23847
23934
|
}, 16, ["data", "class"]),
|
|
23848
23935
|
__props.isShowPagination ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
|
|
23849
23936
|
createVNode(_component_el_pagination, mergeProps({
|
|
23850
|
-
"current-page":
|
|
23851
|
-
"onUpdate:currentPage": _cache[6] || (_cache[6] = ($event) =>
|
|
23852
|
-
"page-size":
|
|
23853
|
-
"onUpdate:pageSize": _cache[7] || (_cache[7] = ($event) =>
|
|
23937
|
+
"current-page": pagination.currentPage,
|
|
23938
|
+
"onUpdate:currentPage": _cache[6] || (_cache[6] = ($event) => pagination.currentPage = $event),
|
|
23939
|
+
"page-size": pagination.pageSize,
|
|
23940
|
+
"onUpdate:pageSize": _cache[7] || (_cache[7] = ($event) => pagination.pageSize = $event),
|
|
23854
23941
|
onCurrentChange: handlesCurrentChange,
|
|
23855
23942
|
layout: "total, prev, pager, next, jumper",
|
|
23856
23943
|
"pager-count": __props.table["pager-count"] || 5,
|
|
23857
|
-
total:
|
|
23944
|
+
total: pagination.total
|
|
23858
23945
|
}, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
|
|
23859
23946
|
])) : createCommentVNode("v-if", true)
|
|
23860
|
-
], 8, _hoisted_2$
|
|
23861
|
-
[_directive_loading, __props.tableLoading]
|
|
23947
|
+
], 8, _hoisted_2$p)), [
|
|
23948
|
+
[_directive_loading, __props.tableLoading || internalLoading.value]
|
|
23862
23949
|
]),
|
|
23863
23950
|
renderSlot(_ctx.$slots, "footer")
|
|
23864
23951
|
],
|
|
@@ -23875,11 +23962,11 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23875
23962
|
}
|
|
23876
23963
|
});
|
|
23877
23964
|
|
|
23878
|
-
const FSelectTable = _sfc_main$
|
|
23965
|
+
const FSelectTable = _sfc_main$L;
|
|
23879
23966
|
|
|
23880
|
-
const FQueryCondition = _sfc_main$
|
|
23967
|
+
const FQueryCondition = _sfc_main$N;
|
|
23881
23968
|
|
|
23882
|
-
var _sfc_main$
|
|
23969
|
+
var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
23883
23970
|
...{
|
|
23884
23971
|
name: "RenderComp"
|
|
23885
23972
|
},
|
|
@@ -23899,7 +23986,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
23899
23986
|
}
|
|
23900
23987
|
});
|
|
23901
23988
|
|
|
23902
|
-
var _sfc_main$
|
|
23989
|
+
var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
23903
23990
|
...{
|
|
23904
23991
|
name: "RenderBtn"
|
|
23905
23992
|
},
|
|
@@ -23919,12 +24006,12 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
23919
24006
|
}
|
|
23920
24007
|
});
|
|
23921
24008
|
|
|
23922
|
-
const _hoisted_1$
|
|
24009
|
+
const _hoisted_1$y = {
|
|
23923
24010
|
key: 1,
|
|
23924
24011
|
class: "text_show"
|
|
23925
24012
|
};
|
|
23926
|
-
const _hoisted_2$
|
|
23927
|
-
var _sfc_main$
|
|
24013
|
+
const _hoisted_2$o = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
24014
|
+
var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
23928
24015
|
...{
|
|
23929
24016
|
name: "FForm"
|
|
23930
24017
|
},
|
|
@@ -24175,7 +24262,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
24175
24262
|
}) : createCommentVNode("v-if", true),
|
|
24176
24263
|
item.textShow ? (openBlock(), createElementBlock(
|
|
24177
24264
|
"span",
|
|
24178
|
-
_hoisted_1$
|
|
24265
|
+
_hoisted_1$y,
|
|
24179
24266
|
toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
|
|
24180
24267
|
1
|
|
24181
24268
|
/* TEXT */
|
|
@@ -24295,7 +24382,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
24295
24382
|
item.labelSlotName || item.labelRender ? {
|
|
24296
24383
|
name: "label",
|
|
24297
24384
|
fn: withCtx(() => [
|
|
24298
|
-
item.labelRender ? (openBlock(), createBlock(_sfc_main$
|
|
24385
|
+
item.labelRender ? (openBlock(), createBlock(_sfc_main$K, {
|
|
24299
24386
|
key: 0,
|
|
24300
24387
|
render: item.labelRender,
|
|
24301
24388
|
item
|
|
@@ -24317,7 +24404,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
24317
24404
|
/* UNKEYED_FRAGMENT */
|
|
24318
24405
|
)),
|
|
24319
24406
|
createCommentVNode(" \u6309\u94AE "),
|
|
24320
|
-
createElementVNode("div", _hoisted_2$
|
|
24407
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
24321
24408
|
__props.formOpts.btnSlotName ? renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : createCommentVNode("v-if", true),
|
|
24322
24409
|
!__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (openBlock(true), createElementBlock(
|
|
24323
24410
|
Fragment,
|
|
@@ -24327,7 +24414,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
24327
24414
|
Fragment,
|
|
24328
24415
|
null,
|
|
24329
24416
|
[
|
|
24330
|
-
val.render ? (openBlock(), createBlock(_sfc_main$
|
|
24417
|
+
val.render ? (openBlock(), createBlock(_sfc_main$J, {
|
|
24331
24418
|
key: index,
|
|
24332
24419
|
item: val,
|
|
24333
24420
|
render: val.render
|
|
@@ -24374,10 +24461,10 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
24374
24461
|
}
|
|
24375
24462
|
});
|
|
24376
24463
|
|
|
24377
|
-
const FForm = _sfc_main$
|
|
24464
|
+
const FForm = _sfc_main$I;
|
|
24378
24465
|
|
|
24379
|
-
const _hoisted_1$
|
|
24380
|
-
var _sfc_main$
|
|
24466
|
+
const _hoisted_1$x = ["src"];
|
|
24467
|
+
var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
24381
24468
|
...{
|
|
24382
24469
|
name: "svgIcon"
|
|
24383
24470
|
},
|
|
@@ -24448,7 +24535,7 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
24448
24535
|
createElementVNode("img", {
|
|
24449
24536
|
src: getIconName.value,
|
|
24450
24537
|
style: normalizeStyle(setIconSvgInsStyle.value)
|
|
24451
|
-
}, null, 12, _hoisted_1$
|
|
24538
|
+
}, null, 12, _hoisted_1$x)
|
|
24452
24539
|
],
|
|
24453
24540
|
4
|
|
24454
24541
|
/* STYLE */
|
|
@@ -24475,13 +24562,13 @@ function elSvg(app) {
|
|
|
24475
24562
|
}
|
|
24476
24563
|
}
|
|
24477
24564
|
if (!app._context.components[`SvgIcon`]) {
|
|
24478
|
-
app.component("SvgIcon", _sfc_main$
|
|
24565
|
+
app.component("SvgIcon", _sfc_main$H);
|
|
24479
24566
|
}
|
|
24480
24567
|
}
|
|
24481
24568
|
|
|
24482
24569
|
const emitter = mitt();
|
|
24483
24570
|
|
|
24484
|
-
var _sfc_main$
|
|
24571
|
+
var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
24485
24572
|
...{
|
|
24486
24573
|
name: "FLayout"
|
|
24487
24574
|
},
|
|
@@ -24567,7 +24654,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
24567
24654
|
}
|
|
24568
24655
|
});
|
|
24569
24656
|
|
|
24570
|
-
const FLayout = _sfc_main$
|
|
24657
|
+
const FLayout = _sfc_main$G;
|
|
24571
24658
|
|
|
24572
24659
|
function commonFunction() {
|
|
24573
24660
|
const { copy, isSupported } = useClipboard();
|
|
@@ -24844,9 +24931,9 @@ const other = {
|
|
|
24844
24931
|
// },
|
|
24845
24932
|
};
|
|
24846
24933
|
|
|
24847
|
-
const _hoisted_1$
|
|
24848
|
-
const _hoisted_2$
|
|
24849
|
-
const _hoisted_3$
|
|
24934
|
+
const _hoisted_1$w = { class: "layout-breadcrumb-seting" };
|
|
24935
|
+
const _hoisted_2$n = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
24936
|
+
const _hoisted_3$g = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
24850
24937
|
const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
24851
24938
|
const _hoisted_5$7 = { style: { "margin": "10px 0" } };
|
|
24852
24939
|
const _hoisted_6$3 = { class: "layout-breadcrumb-seting-bar-flex mt15" };
|
|
@@ -24969,7 +25056,7 @@ const _hoisted_119 = {
|
|
|
24969
25056
|
class: "traditionalColors-chines",
|
|
24970
25057
|
style: { "cursor": "grab", "color": "gray" }
|
|
24971
25058
|
};
|
|
24972
|
-
var _sfc_main$
|
|
25059
|
+
var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
24973
25060
|
...{
|
|
24974
25061
|
name: "FSettings"
|
|
24975
25062
|
},
|
|
@@ -25233,7 +25320,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
25233
25320
|
const _component_el_col = resolveComponent("el-col");
|
|
25234
25321
|
const _component_el_row = resolveComponent("el-row");
|
|
25235
25322
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
25236
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25323
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
25237
25324
|
createVNode(_component_el_drawer, {
|
|
25238
25325
|
title: _ctx.$t("message.layout.configTitle"),
|
|
25239
25326
|
modelValue: getThemeConfig.value.isDrawer,
|
|
@@ -25258,10 +25345,10 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
25258
25345
|
_: 1
|
|
25259
25346
|
/* STABLE */
|
|
25260
25347
|
}),
|
|
25261
|
-
createElementVNode("div", _hoisted_2$
|
|
25348
|
+
createElementVNode("div", _hoisted_2$n, [
|
|
25262
25349
|
createElementVNode(
|
|
25263
25350
|
"div",
|
|
25264
|
-
_hoisted_3$
|
|
25351
|
+
_hoisted_3$g,
|
|
25265
25352
|
toDisplayString(_ctx.$t("message.layout.themeColors")),
|
|
25266
25353
|
1
|
|
25267
25354
|
/* TEXT */
|
|
@@ -26732,9 +26819,9 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
26732
26819
|
}
|
|
26733
26820
|
});
|
|
26734
26821
|
|
|
26735
|
-
const FSettings = _sfc_main$
|
|
26822
|
+
const FSettings = _sfc_main$F;
|
|
26736
26823
|
|
|
26737
|
-
var _sfc_main$
|
|
26824
|
+
var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
26738
26825
|
...{
|
|
26739
26826
|
name: "FModifyRecord"
|
|
26740
26827
|
},
|
|
@@ -26997,10 +27084,10 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
26997
27084
|
}
|
|
26998
27085
|
});
|
|
26999
27086
|
|
|
27000
|
-
const FModifyRecord = _sfc_main$
|
|
27087
|
+
const FModifyRecord = _sfc_main$E;
|
|
27001
27088
|
|
|
27002
|
-
const _hoisted_1$
|
|
27003
|
-
var _sfc_main$
|
|
27089
|
+
const _hoisted_1$v = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
|
|
27090
|
+
var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
27004
27091
|
...{
|
|
27005
27092
|
name: "FmSelect"
|
|
27006
27093
|
},
|
|
@@ -27159,7 +27246,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
27159
27246
|
onClear: handelClear
|
|
27160
27247
|
}, {
|
|
27161
27248
|
header: withCtx(() => [
|
|
27162
|
-
createElementVNode("div", _hoisted_1$
|
|
27249
|
+
createElementVNode("div", _hoisted_1$v, [
|
|
27163
27250
|
createVNode(_component_el_icon, {
|
|
27164
27251
|
color: "#13c2c2",
|
|
27165
27252
|
size: __props.freshSize,
|
|
@@ -27201,9 +27288,9 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
27201
27288
|
}
|
|
27202
27289
|
});
|
|
27203
27290
|
|
|
27204
|
-
const FmSelect = _sfc_main$
|
|
27291
|
+
const FmSelect = _sfc_main$D;
|
|
27205
27292
|
|
|
27206
|
-
var _sfc_main$
|
|
27293
|
+
var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
27207
27294
|
...{
|
|
27208
27295
|
name: "Fminputdropdown"
|
|
27209
27296
|
},
|
|
@@ -27412,9 +27499,9 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
27412
27499
|
}
|
|
27413
27500
|
});
|
|
27414
27501
|
|
|
27415
|
-
const Fminputdropdown = _sfc_main$
|
|
27502
|
+
const Fminputdropdown = _sfc_main$C;
|
|
27416
27503
|
|
|
27417
|
-
var _sfc_main$
|
|
27504
|
+
var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
27418
27505
|
...{ name: "FmInputNumber" },
|
|
27419
27506
|
__name: "index",
|
|
27420
27507
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -27579,14 +27666,14 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
27579
27666
|
}
|
|
27580
27667
|
});
|
|
27581
27668
|
|
|
27582
|
-
const FmInputNumber = _sfc_main$
|
|
27669
|
+
const FmInputNumber = _sfc_main$B;
|
|
27583
27670
|
|
|
27584
|
-
const _hoisted_1$
|
|
27585
|
-
const _hoisted_2$
|
|
27586
|
-
const _hoisted_3$
|
|
27671
|
+
const _hoisted_1$u = { style: { "color": "#fff" } };
|
|
27672
|
+
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" } };
|
|
27673
|
+
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" } };
|
|
27587
27674
|
const _hoisted_4$6 = { style: { "margin-top": "10px" } };
|
|
27588
27675
|
const _hoisted_5$6 = { class: "dialog-footer" };
|
|
27589
|
-
var _sfc_main$
|
|
27676
|
+
var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
27590
27677
|
__name: "userSelectDialog",
|
|
27591
27678
|
props: {
|
|
27592
27679
|
visible: {
|
|
@@ -27725,7 +27812,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27725
27812
|
"close-on-click-modal": false
|
|
27726
27813
|
}, {
|
|
27727
27814
|
header: withCtx(() => [
|
|
27728
|
-
createElementVNode("div", _hoisted_1$
|
|
27815
|
+
createElementVNode("div", _hoisted_1$u, [
|
|
27729
27816
|
createVNode(_component_el_icon, {
|
|
27730
27817
|
size: "16",
|
|
27731
27818
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -27771,7 +27858,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27771
27858
|
default: withCtx(() => [
|
|
27772
27859
|
createElementVNode(
|
|
27773
27860
|
"p",
|
|
27774
|
-
_hoisted_2$
|
|
27861
|
+
_hoisted_2$m,
|
|
27775
27862
|
toDisplayString(_ctx.$t("\u673A\u6784")),
|
|
27776
27863
|
1
|
|
27777
27864
|
/* TEXT */
|
|
@@ -27793,7 +27880,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27793
27880
|
default: withCtx(() => [
|
|
27794
27881
|
createElementVNode(
|
|
27795
27882
|
"p",
|
|
27796
|
-
_hoisted_3$
|
|
27883
|
+
_hoisted_3$f,
|
|
27797
27884
|
toDisplayString(_ctx.$t(__props.title)) + toDisplayString(_ctx.$t("\u5217\u8868")),
|
|
27798
27885
|
1
|
|
27799
27886
|
/* TEXT */
|
|
@@ -27977,10 +28064,10 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27977
28064
|
}
|
|
27978
28065
|
});
|
|
27979
28066
|
|
|
27980
|
-
const _hoisted_1$
|
|
27981
|
-
const _hoisted_2$
|
|
27982
|
-
const _hoisted_3$
|
|
27983
|
-
var _sfc_main$
|
|
28067
|
+
const _hoisted_1$t = { style: { "color": "#fff" } };
|
|
28068
|
+
const _hoisted_2$l = { style: { "margin-top": "10px" } };
|
|
28069
|
+
const _hoisted_3$e = { class: "dialog-footer" };
|
|
28070
|
+
var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
27984
28071
|
__name: "supplierSelectDialog",
|
|
27985
28072
|
props: {
|
|
27986
28073
|
visible: {
|
|
@@ -28102,7 +28189,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28102
28189
|
"close-on-click-modal": false
|
|
28103
28190
|
}, {
|
|
28104
28191
|
header: withCtx(() => [
|
|
28105
|
-
createElementVNode("div", _hoisted_1$
|
|
28192
|
+
createElementVNode("div", _hoisted_1$t, [
|
|
28106
28193
|
createVNode(_component_el_icon, {
|
|
28107
28194
|
size: "16",
|
|
28108
28195
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -28123,7 +28210,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28123
28210
|
])
|
|
28124
28211
|
]),
|
|
28125
28212
|
footer: withCtx(() => [
|
|
28126
|
-
createElementVNode("div", _hoisted_3$
|
|
28213
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
28127
28214
|
createVNode(_component_el_button, {
|
|
28128
28215
|
icon: "ele-CircleCloseFilled",
|
|
28129
28216
|
onClick: closeDialog
|
|
@@ -28146,7 +28233,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28146
28233
|
default: withCtx(() => [
|
|
28147
28234
|
createVNode(_component_el_col, { span: 24 }, {
|
|
28148
28235
|
default: withCtx(() => [
|
|
28149
|
-
createElementVNode("div", _hoisted_2$
|
|
28236
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
28150
28237
|
createVNode(_component_el_form, {
|
|
28151
28238
|
model: state.queryParams,
|
|
28152
28239
|
ref: "queryRef",
|
|
@@ -28325,7 +28412,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28325
28412
|
/* STABLE */
|
|
28326
28413
|
}, 8, ["data"]),
|
|
28327
28414
|
createVNode(_component_el_pagination, {
|
|
28328
|
-
|
|
28415
|
+
"current-page": state.queryParams.page,
|
|
28329
28416
|
"page-size": state.queryParams.pageSize,
|
|
28330
28417
|
total: state.queryParams.total,
|
|
28331
28418
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -28334,7 +28421,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28334
28421
|
onCurrentChange: handleCurrentChange,
|
|
28335
28422
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
28336
28423
|
style: { "padding-bottom": "8px" }
|
|
28337
|
-
}, null, 8, ["
|
|
28424
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
28338
28425
|
]),
|
|
28339
28426
|
_: 1
|
|
28340
28427
|
/* STABLE */
|
|
@@ -28356,10 +28443,10 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28356
28443
|
}
|
|
28357
28444
|
});
|
|
28358
28445
|
|
|
28359
|
-
const _hoisted_1$
|
|
28360
|
-
const _hoisted_2$
|
|
28361
|
-
const _hoisted_3$
|
|
28362
|
-
var _sfc_main$
|
|
28446
|
+
const _hoisted_1$s = { style: { "color": "#fff" } };
|
|
28447
|
+
const _hoisted_2$k = { style: { "margin-top": "10px" } };
|
|
28448
|
+
const _hoisted_3$d = { class: "dialog-footer" };
|
|
28449
|
+
var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
28363
28450
|
__name: "supplierUserSelectDialog",
|
|
28364
28451
|
props: {
|
|
28365
28452
|
visible: {
|
|
@@ -28474,7 +28561,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28474
28561
|
"close-on-click-modal": false
|
|
28475
28562
|
}, {
|
|
28476
28563
|
header: withCtx(() => [
|
|
28477
|
-
createElementVNode("div", _hoisted_1$
|
|
28564
|
+
createElementVNode("div", _hoisted_1$s, [
|
|
28478
28565
|
createVNode(_component_el_icon, {
|
|
28479
28566
|
size: "16",
|
|
28480
28567
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -28495,7 +28582,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28495
28582
|
])
|
|
28496
28583
|
]),
|
|
28497
28584
|
footer: withCtx(() => [
|
|
28498
|
-
createElementVNode("div", _hoisted_3$
|
|
28585
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
28499
28586
|
createVNode(_component_el_button, {
|
|
28500
28587
|
icon: "ele-CircleCloseFilled",
|
|
28501
28588
|
onClick: closeDialog
|
|
@@ -28518,7 +28605,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28518
28605
|
default: withCtx(() => [
|
|
28519
28606
|
createVNode(_component_el_col, { span: 24 }, {
|
|
28520
28607
|
default: withCtx(() => [
|
|
28521
|
-
createElementVNode("div", _hoisted_2$
|
|
28608
|
+
createElementVNode("div", _hoisted_2$k, [
|
|
28522
28609
|
createVNode(_component_el_form, {
|
|
28523
28610
|
model: state.queryParams,
|
|
28524
28611
|
ref: "queryRef",
|
|
@@ -28654,7 +28741,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28654
28741
|
/* STABLE */
|
|
28655
28742
|
}, 8, ["data"]),
|
|
28656
28743
|
createVNode(_component_el_pagination, {
|
|
28657
|
-
|
|
28744
|
+
"current-page": state.queryParams.page,
|
|
28658
28745
|
"page-size": state.queryParams.pageSize,
|
|
28659
28746
|
total: state.queryParams.total,
|
|
28660
28747
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -28663,7 +28750,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28663
28750
|
onCurrentChange: handleCurrentChange,
|
|
28664
28751
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
28665
28752
|
style: { "padding-bottom": "8px" }
|
|
28666
|
-
}, null, 8, ["
|
|
28753
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
28667
28754
|
]),
|
|
28668
28755
|
_: 1
|
|
28669
28756
|
/* STABLE */
|
|
@@ -28685,10 +28772,10 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28685
28772
|
}
|
|
28686
28773
|
});
|
|
28687
28774
|
|
|
28688
|
-
const _hoisted_1$
|
|
28689
|
-
const _hoisted_2$
|
|
28690
|
-
const _hoisted_3$
|
|
28691
|
-
var _sfc_main$
|
|
28775
|
+
const _hoisted_1$r = { style: { "color": "#fff" } };
|
|
28776
|
+
const _hoisted_2$j = { style: { "margin-top": "10px" } };
|
|
28777
|
+
const _hoisted_3$c = { class: "dialog-footer" };
|
|
28778
|
+
var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
28692
28779
|
__name: "accountSelectDialog",
|
|
28693
28780
|
props: {
|
|
28694
28781
|
visible: {
|
|
@@ -28801,7 +28888,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28801
28888
|
"close-on-click-modal": false
|
|
28802
28889
|
}, {
|
|
28803
28890
|
header: withCtx(() => [
|
|
28804
|
-
createElementVNode("div", _hoisted_1$
|
|
28891
|
+
createElementVNode("div", _hoisted_1$r, [
|
|
28805
28892
|
createVNode(_component_el_icon, {
|
|
28806
28893
|
size: "16",
|
|
28807
28894
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -28822,7 +28909,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28822
28909
|
])
|
|
28823
28910
|
]),
|
|
28824
28911
|
footer: withCtx(() => [
|
|
28825
|
-
createElementVNode("div", _hoisted_3$
|
|
28912
|
+
createElementVNode("div", _hoisted_3$c, [
|
|
28826
28913
|
createVNode(_component_el_button, {
|
|
28827
28914
|
icon: "ele-CircleCloseFilled",
|
|
28828
28915
|
onClick: closeDialog
|
|
@@ -28845,7 +28932,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28845
28932
|
default: withCtx(() => [
|
|
28846
28933
|
createVNode(_component_el_col, { span: 24 }, {
|
|
28847
28934
|
default: withCtx(() => [
|
|
28848
|
-
createElementVNode("div", _hoisted_2$
|
|
28935
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
28849
28936
|
createVNode(_component_el_form, {
|
|
28850
28937
|
model: state.queryParams,
|
|
28851
28938
|
ref: "queryRef",
|
|
@@ -28975,7 +29062,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28975
29062
|
/* STABLE */
|
|
28976
29063
|
}, 8, ["data"]),
|
|
28977
29064
|
createVNode(_component_el_pagination, {
|
|
28978
|
-
|
|
29065
|
+
"current-page": state.queryParams.page,
|
|
28979
29066
|
"page-size": state.queryParams.pageSize,
|
|
28980
29067
|
total: state.queryParams.total,
|
|
28981
29068
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -28984,7 +29071,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28984
29071
|
onCurrentChange: handleCurrentChange,
|
|
28985
29072
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
28986
29073
|
style: { "padding-bottom": "8px" }
|
|
28987
|
-
}, null, 8, ["
|
|
29074
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
28988
29075
|
]),
|
|
28989
29076
|
_: 1
|
|
28990
29077
|
/* STABLE */
|
|
@@ -29006,12 +29093,12 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
29006
29093
|
}
|
|
29007
29094
|
});
|
|
29008
29095
|
|
|
29009
|
-
const _hoisted_1$
|
|
29010
|
-
const _hoisted_2$
|
|
29011
|
-
const _hoisted_3$
|
|
29096
|
+
const _hoisted_1$q = { style: { "color": "#fff" } };
|
|
29097
|
+
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" } };
|
|
29098
|
+
const _hoisted_3$b = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
29012
29099
|
const _hoisted_4$5 = { style: { "margin-top": "10px" } };
|
|
29013
29100
|
const _hoisted_5$5 = { class: "dialog-footer" };
|
|
29014
|
-
var _sfc_main$
|
|
29101
|
+
var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
29015
29102
|
__name: "subjectSelectDialog",
|
|
29016
29103
|
props: {
|
|
29017
29104
|
visible: {
|
|
@@ -29117,7 +29204,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29117
29204
|
"close-on-click-modal": false
|
|
29118
29205
|
}, {
|
|
29119
29206
|
header: withCtx(() => [
|
|
29120
|
-
createElementVNode("div", _hoisted_1$
|
|
29207
|
+
createElementVNode("div", _hoisted_1$q, [
|
|
29121
29208
|
createVNode(_component_el_icon, {
|
|
29122
29209
|
size: "16",
|
|
29123
29210
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -29163,7 +29250,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29163
29250
|
default: withCtx(() => [
|
|
29164
29251
|
createElementVNode(
|
|
29165
29252
|
"p",
|
|
29166
|
-
_hoisted_2$
|
|
29253
|
+
_hoisted_2$i,
|
|
29167
29254
|
toDisplayString(_ctx.$t("\u5927\u7C7B")),
|
|
29168
29255
|
1
|
|
29169
29256
|
/* TEXT */
|
|
@@ -29181,7 +29268,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29181
29268
|
default: withCtx(() => [
|
|
29182
29269
|
createElementVNode(
|
|
29183
29270
|
"p",
|
|
29184
|
-
_hoisted_3$
|
|
29271
|
+
_hoisted_3$b,
|
|
29185
29272
|
toDisplayString(_ctx.$t(__props.title)) + toDisplayString(_ctx.$t("\u5217\u8868")),
|
|
29186
29273
|
1
|
|
29187
29274
|
/* TEXT */
|
|
@@ -29332,10 +29419,10 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29332
29419
|
}
|
|
29333
29420
|
});
|
|
29334
29421
|
|
|
29335
|
-
const _hoisted_1$
|
|
29336
|
-
const _hoisted_2$
|
|
29337
|
-
const _hoisted_3$
|
|
29338
|
-
var _sfc_main$
|
|
29422
|
+
const _hoisted_1$p = { style: { "color": "#fff" } };
|
|
29423
|
+
const _hoisted_2$h = { style: { "margin-top": "10px" } };
|
|
29424
|
+
const _hoisted_3$a = { class: "dialog-footer" };
|
|
29425
|
+
var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
29339
29426
|
__name: "linSelectDialog",
|
|
29340
29427
|
props: {
|
|
29341
29428
|
visible: {
|
|
@@ -29450,7 +29537,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29450
29537
|
"close-on-click-modal": false
|
|
29451
29538
|
}, {
|
|
29452
29539
|
header: withCtx(() => [
|
|
29453
|
-
createElementVNode("div", _hoisted_1$
|
|
29540
|
+
createElementVNode("div", _hoisted_1$p, [
|
|
29454
29541
|
createVNode(_component_el_icon, {
|
|
29455
29542
|
size: "16",
|
|
29456
29543
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -29471,7 +29558,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29471
29558
|
])
|
|
29472
29559
|
]),
|
|
29473
29560
|
footer: withCtx(() => [
|
|
29474
|
-
createElementVNode("div", _hoisted_3$
|
|
29561
|
+
createElementVNode("div", _hoisted_3$a, [
|
|
29475
29562
|
createVNode(_component_el_button, {
|
|
29476
29563
|
icon: "ele-CircleCloseFilled",
|
|
29477
29564
|
onClick: closeDialog
|
|
@@ -29494,7 +29581,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29494
29581
|
default: withCtx(() => [
|
|
29495
29582
|
createVNode(_component_el_col, { span: 24 }, {
|
|
29496
29583
|
default: withCtx(() => [
|
|
29497
|
-
createElementVNode("div", _hoisted_2$
|
|
29584
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
29498
29585
|
createVNode(_component_el_form, {
|
|
29499
29586
|
model: state.queryParams,
|
|
29500
29587
|
ref: "queryRef",
|
|
@@ -29642,7 +29729,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29642
29729
|
/* STABLE */
|
|
29643
29730
|
}, 8, ["data"]),
|
|
29644
29731
|
createVNode(_component_el_pagination, {
|
|
29645
|
-
|
|
29732
|
+
"current-page": state.queryParams.page,
|
|
29646
29733
|
"page-size": state.queryParams.pageSize,
|
|
29647
29734
|
total: state.queryParams.total,
|
|
29648
29735
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -29651,7 +29738,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29651
29738
|
onCurrentChange: handleCurrentChange,
|
|
29652
29739
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
29653
29740
|
style: { "padding-bottom": "8px" }
|
|
29654
|
-
}, null, 8, ["
|
|
29741
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
29655
29742
|
]),
|
|
29656
29743
|
_: 1
|
|
29657
29744
|
/* STABLE */
|
|
@@ -29673,91 +29760,23 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29673
29760
|
}
|
|
29674
29761
|
});
|
|
29675
29762
|
|
|
29676
|
-
const _hoisted_1$
|
|
29677
|
-
|
|
29678
|
-
|
|
29679
|
-
|
|
29680
|
-
|
|
29681
|
-
|
|
29682
|
-
|
|
29683
|
-
|
|
29684
|
-
|
|
29685
|
-
default: "\u8BF7\u8F93\u5165\u5FEB\u901F\u641C\u7D22\u9009\u62E9"
|
|
29686
|
-
},
|
|
29687
|
-
/**
|
|
29688
|
-
* ato service name
|
|
29689
|
-
*/
|
|
29690
|
-
atoService: {
|
|
29691
|
-
type: String,
|
|
29692
|
-
default: "autoRes"
|
|
29693
|
-
},
|
|
29694
|
-
/**
|
|
29695
|
-
* ato service 下的方法
|
|
29696
|
-
*/
|
|
29697
|
-
atoAction: {
|
|
29698
|
-
type: String,
|
|
29699
|
-
default: "autoUser"
|
|
29700
|
-
},
|
|
29701
|
-
top: {
|
|
29702
|
-
type: Number,
|
|
29703
|
-
default: 15
|
|
29704
|
-
},
|
|
29705
|
-
searchsize: {
|
|
29706
|
-
type: Number,
|
|
29707
|
-
default: 22
|
|
29708
|
-
},
|
|
29709
|
-
/**
|
|
29710
|
-
* 值的属性值
|
|
29711
|
-
*/
|
|
29712
|
-
vId: {
|
|
29713
|
-
type: String,
|
|
29714
|
-
default: "id"
|
|
29715
|
-
},
|
|
29716
|
-
/**
|
|
29717
|
-
* 值的属性标签
|
|
29718
|
-
*/
|
|
29719
|
-
vName: {
|
|
29720
|
-
type: String,
|
|
29721
|
-
default: "name"
|
|
29722
|
-
},
|
|
29723
|
-
/**
|
|
29724
|
-
* 过滤出来显示的名称 加上属性标签
|
|
29725
|
-
*/
|
|
29726
|
-
vLabel: {
|
|
29727
|
-
type: String,
|
|
29728
|
-
default: ""
|
|
29729
|
-
},
|
|
29730
|
-
/**
|
|
29731
|
-
* 查询业务表ID
|
|
29732
|
-
*/
|
|
29733
|
-
qId: {
|
|
29734
|
-
type: Number,
|
|
29735
|
-
default: 0
|
|
29763
|
+
const _hoisted_1$o = { style: { "color": "#fff" } };
|
|
29764
|
+
const _hoisted_2$g = { style: { "margin-top": "10px" } };
|
|
29765
|
+
const _hoisted_3$9 = { class: "dialog-footer" };
|
|
29766
|
+
var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
29767
|
+
__name: "guideSelectDialog",
|
|
29768
|
+
props: {
|
|
29769
|
+
visible: {
|
|
29770
|
+
type: Boolean,
|
|
29771
|
+
default: false
|
|
29736
29772
|
},
|
|
29737
29773
|
title: {
|
|
29738
29774
|
type: String,
|
|
29739
29775
|
default: ""
|
|
29740
29776
|
},
|
|
29741
|
-
|
|
29742
|
-
type:
|
|
29743
|
-
default: () =>
|
|
29744
|
-
}
|
|
29745
|
-
},
|
|
29746
|
-
/**
|
|
29747
|
-
* 打开类型 0--用户加机构 1-- 联系人 2-- 供应商单位 3-- 银行账户 4--科目 5--线路
|
|
29748
|
-
* @default 0
|
|
29749
|
-
*/
|
|
29750
|
-
openType: {
|
|
29751
|
-
type: Number,
|
|
29752
|
-
default: 0
|
|
29753
|
-
},
|
|
29754
|
-
orgService: {
|
|
29755
|
-
type: String,
|
|
29756
|
-
default: "autoRes"
|
|
29757
|
-
},
|
|
29758
|
-
orgAction: {
|
|
29759
|
-
type: String,
|
|
29760
|
-
default: "userOrgList"
|
|
29777
|
+
data: {
|
|
29778
|
+
type: Array,
|
|
29779
|
+
default: () => []
|
|
29761
29780
|
},
|
|
29762
29781
|
userService: {
|
|
29763
29782
|
type: String,
|
|
@@ -29765,19 +29784,733 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29765
29784
|
},
|
|
29766
29785
|
userAction: {
|
|
29767
29786
|
type: String,
|
|
29768
|
-
default: "
|
|
29769
|
-
},
|
|
29770
|
-
subjectService: {
|
|
29771
|
-
type: String,
|
|
29772
|
-
default: "autoRes"
|
|
29773
|
-
},
|
|
29774
|
-
subjectAction: {
|
|
29775
|
-
type: String,
|
|
29776
|
-
default: "subjectTable"
|
|
29787
|
+
default: "guideTable"
|
|
29777
29788
|
},
|
|
29778
|
-
|
|
29779
|
-
type:
|
|
29780
|
-
default:
|
|
29789
|
+
userParams: {
|
|
29790
|
+
type: Object,
|
|
29791
|
+
default: () => {
|
|
29792
|
+
}
|
|
29793
|
+
}
|
|
29794
|
+
},
|
|
29795
|
+
emits: ["update:visible", "change"],
|
|
29796
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
29797
|
+
let emits = __emit;
|
|
29798
|
+
const props = __props;
|
|
29799
|
+
const dataList = ref([]);
|
|
29800
|
+
let checkedUsersList = ref([]);
|
|
29801
|
+
const state = reactive({
|
|
29802
|
+
total: 0,
|
|
29803
|
+
pdata: null,
|
|
29804
|
+
queryParams: {
|
|
29805
|
+
orgId: -1,
|
|
29806
|
+
page: 1,
|
|
29807
|
+
pageSize: 50
|
|
29808
|
+
}
|
|
29809
|
+
});
|
|
29810
|
+
let visibleDialog = computed({
|
|
29811
|
+
get() {
|
|
29812
|
+
return props.visible;
|
|
29813
|
+
},
|
|
29814
|
+
set() {
|
|
29815
|
+
closeDialog();
|
|
29816
|
+
}
|
|
29817
|
+
});
|
|
29818
|
+
onMounted(async () => {
|
|
29819
|
+
});
|
|
29820
|
+
const resetQuery = () => {
|
|
29821
|
+
state.queryParams = {};
|
|
29822
|
+
handleQuery();
|
|
29823
|
+
};
|
|
29824
|
+
const getUserList = async () => {
|
|
29825
|
+
var _a, _b, _c, _d;
|
|
29826
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
29827
|
+
dataList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
29828
|
+
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
29829
|
+
};
|
|
29830
|
+
async function handleQuery() {
|
|
29831
|
+
state.queryParams.pageNum = 1;
|
|
29832
|
+
await getUserList();
|
|
29833
|
+
}
|
|
29834
|
+
function handleSelectUser(row) {
|
|
29835
|
+
if (!row || row.id == "") return;
|
|
29836
|
+
emits("change", row);
|
|
29837
|
+
}
|
|
29838
|
+
const handledbclick = (row) => {
|
|
29839
|
+
handleSelectUser(row);
|
|
29840
|
+
};
|
|
29841
|
+
const handleSizeChange = (val) => {
|
|
29842
|
+
state.queryParams.pageSize = val;
|
|
29843
|
+
handleQuery();
|
|
29844
|
+
};
|
|
29845
|
+
const handleCurrentChange = (val) => {
|
|
29846
|
+
state.queryParams.page = val;
|
|
29847
|
+
handleQuery();
|
|
29848
|
+
};
|
|
29849
|
+
const closeDialog = () => {
|
|
29850
|
+
checkedUsersList.value = [];
|
|
29851
|
+
emits("update:visible", false);
|
|
29852
|
+
};
|
|
29853
|
+
__expose({
|
|
29854
|
+
handleQuery
|
|
29855
|
+
});
|
|
29856
|
+
return (_ctx, _cache) => {
|
|
29857
|
+
const _component_ele_Edit = resolveComponent("ele-Edit");
|
|
29858
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
29859
|
+
const _component_el_input = resolveComponent("el-input");
|
|
29860
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
29861
|
+
const _component_el_button = resolveComponent("el-button");
|
|
29862
|
+
const _component_el_button_group = resolveComponent("el-button-group");
|
|
29863
|
+
const _component_el_form = resolveComponent("el-form");
|
|
29864
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
29865
|
+
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
29866
|
+
const _component_el_table = resolveComponent("el-table");
|
|
29867
|
+
const _component_el_pagination = resolveComponent("el-pagination");
|
|
29868
|
+
const _component_el_card = resolveComponent("el-card");
|
|
29869
|
+
const _component_el_col = resolveComponent("el-col");
|
|
29870
|
+
const _component_el_row = resolveComponent("el-row");
|
|
29871
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
29872
|
+
return openBlock(), createBlock(_component_el_dialog, {
|
|
29873
|
+
modelValue: unref(visibleDialog),
|
|
29874
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
|
|
29875
|
+
style: { "width": "70vw" },
|
|
29876
|
+
"append-to-body": "",
|
|
29877
|
+
draggable: "",
|
|
29878
|
+
"close-on-click-modal": false
|
|
29879
|
+
}, {
|
|
29880
|
+
header: withCtx(() => [
|
|
29881
|
+
createElementVNode("div", _hoisted_1$o, [
|
|
29882
|
+
createVNode(_component_el_icon, {
|
|
29883
|
+
size: "16",
|
|
29884
|
+
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
29885
|
+
}, {
|
|
29886
|
+
default: withCtx(() => [
|
|
29887
|
+
createVNode(_component_ele_Edit)
|
|
29888
|
+
]),
|
|
29889
|
+
_: 1
|
|
29890
|
+
/* STABLE */
|
|
29891
|
+
}),
|
|
29892
|
+
createElementVNode(
|
|
29893
|
+
"span",
|
|
29894
|
+
null,
|
|
29895
|
+
toDisplayString(_ctx.$t("\u9009\u62E9")) + toDisplayString(_ctx.$t(__props.title)),
|
|
29896
|
+
1
|
|
29897
|
+
/* TEXT */
|
|
29898
|
+
)
|
|
29899
|
+
])
|
|
29900
|
+
]),
|
|
29901
|
+
footer: withCtx(() => [
|
|
29902
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
29903
|
+
createVNode(_component_el_button, {
|
|
29904
|
+
icon: "ele-CircleCloseFilled",
|
|
29905
|
+
onClick: closeDialog
|
|
29906
|
+
}, {
|
|
29907
|
+
default: withCtx(() => [
|
|
29908
|
+
createTextVNode(
|
|
29909
|
+
toDisplayString(_ctx.$t("\u53D6\u6D88")),
|
|
29910
|
+
1
|
|
29911
|
+
/* TEXT */
|
|
29912
|
+
)
|
|
29913
|
+
]),
|
|
29914
|
+
_: 1
|
|
29915
|
+
/* STABLE */
|
|
29916
|
+
}),
|
|
29917
|
+
createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
|
|
29918
|
+
])
|
|
29919
|
+
]),
|
|
29920
|
+
default: withCtx(() => [
|
|
29921
|
+
createVNode(_component_el_row, { gutter: 10 }, {
|
|
29922
|
+
default: withCtx(() => [
|
|
29923
|
+
createVNode(_component_el_col, { span: 24 }, {
|
|
29924
|
+
default: withCtx(() => [
|
|
29925
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
29926
|
+
createVNode(_component_el_form, {
|
|
29927
|
+
model: state.queryParams,
|
|
29928
|
+
ref: "queryRef",
|
|
29929
|
+
inline: true
|
|
29930
|
+
}, {
|
|
29931
|
+
default: withCtx(() => [
|
|
29932
|
+
createVNode(_component_el_form_item, {
|
|
29933
|
+
label: _ctx.$t("\u5173\u952E\u5B57")
|
|
29934
|
+
}, {
|
|
29935
|
+
default: withCtx(() => [
|
|
29936
|
+
createVNode(_component_el_input, {
|
|
29937
|
+
modelValue: state.queryParams.keyword,
|
|
29938
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
|
|
29939
|
+
clearable: "",
|
|
29940
|
+
style: { "width": "150px" },
|
|
29941
|
+
onKeyup: withKeys(handleQuery, ["enter"])
|
|
29942
|
+
}, null, 8, ["modelValue"])
|
|
29943
|
+
]),
|
|
29944
|
+
_: 1
|
|
29945
|
+
/* STABLE */
|
|
29946
|
+
}, 8, ["label"]),
|
|
29947
|
+
createVNode(_component_el_form_item, null, {
|
|
29948
|
+
default: withCtx(() => [
|
|
29949
|
+
createVNode(_component_el_button_group, null, {
|
|
29950
|
+
default: withCtx(() => [
|
|
29951
|
+
createVNode(_component_el_button, {
|
|
29952
|
+
type: "primary",
|
|
29953
|
+
icon: "ele-Search",
|
|
29954
|
+
onClick: handleQuery
|
|
29955
|
+
}, {
|
|
29956
|
+
default: withCtx(() => [
|
|
29957
|
+
createTextVNode(
|
|
29958
|
+
toDisplayString(_ctx.$t("\u67E5\u8BE2")),
|
|
29959
|
+
1
|
|
29960
|
+
/* TEXT */
|
|
29961
|
+
)
|
|
29962
|
+
]),
|
|
29963
|
+
_: 1
|
|
29964
|
+
/* STABLE */
|
|
29965
|
+
}),
|
|
29966
|
+
createVNode(_component_el_button, {
|
|
29967
|
+
icon: "ele-Refresh",
|
|
29968
|
+
onClick: resetQuery
|
|
29969
|
+
}, {
|
|
29970
|
+
default: withCtx(() => [
|
|
29971
|
+
createTextVNode(
|
|
29972
|
+
toDisplayString(_ctx.$t("\u91CD\u7F6E")),
|
|
29973
|
+
1
|
|
29974
|
+
/* TEXT */
|
|
29975
|
+
)
|
|
29976
|
+
]),
|
|
29977
|
+
_: 1
|
|
29978
|
+
/* STABLE */
|
|
29979
|
+
})
|
|
29980
|
+
]),
|
|
29981
|
+
_: 1
|
|
29982
|
+
/* STABLE */
|
|
29983
|
+
}),
|
|
29984
|
+
createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
29985
|
+
]),
|
|
29986
|
+
_: 1
|
|
29987
|
+
/* STABLE */
|
|
29988
|
+
})
|
|
29989
|
+
]),
|
|
29990
|
+
_: 1
|
|
29991
|
+
/* STABLE */
|
|
29992
|
+
}, 8, ["model"]),
|
|
29993
|
+
createVNode(_component_el_card, {
|
|
29994
|
+
class: "full-table",
|
|
29995
|
+
shadow: "hover"
|
|
29996
|
+
}, {
|
|
29997
|
+
default: withCtx(() => [
|
|
29998
|
+
createVNode(_component_el_table, {
|
|
29999
|
+
ref: "refTable",
|
|
30000
|
+
data: dataList.value,
|
|
30001
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
30002
|
+
onRowDblclick: handledbclick
|
|
30003
|
+
}, {
|
|
30004
|
+
default: withCtx(() => [
|
|
30005
|
+
createVNode(_component_el_table_column, {
|
|
30006
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
30007
|
+
prop: "name",
|
|
30008
|
+
align: "center",
|
|
30009
|
+
"show-overflow-tooltip": true
|
|
30010
|
+
}, null, 8, ["label"]),
|
|
30011
|
+
createVNode(_component_el_table_column, {
|
|
30012
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
30013
|
+
prop: "phone",
|
|
30014
|
+
align: "center",
|
|
30015
|
+
"show-overflow-tooltip": true
|
|
30016
|
+
}, null, 8, ["label"]),
|
|
30017
|
+
createVNode(_component_el_table_column, {
|
|
30018
|
+
label: "\u64CD\u4F5C",
|
|
30019
|
+
width: "60",
|
|
30020
|
+
align: "center"
|
|
30021
|
+
}, {
|
|
30022
|
+
default: withCtx((scope) => [
|
|
30023
|
+
createVNode(_component_el_button, {
|
|
30024
|
+
link: "",
|
|
30025
|
+
type: "primary",
|
|
30026
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
30027
|
+
}, {
|
|
30028
|
+
default: withCtx(() => [
|
|
30029
|
+
createVNode(_component_el_icon, null, {
|
|
30030
|
+
default: withCtx(() => [
|
|
30031
|
+
createVNode(_component_ele_Plus)
|
|
30032
|
+
]),
|
|
30033
|
+
_: 1
|
|
30034
|
+
/* STABLE */
|
|
30035
|
+
})
|
|
30036
|
+
]),
|
|
30037
|
+
_: 1
|
|
30038
|
+
/* STABLE */
|
|
30039
|
+
}, 8, ["onClick"])
|
|
30040
|
+
]),
|
|
30041
|
+
_: 1
|
|
30042
|
+
/* STABLE */
|
|
30043
|
+
})
|
|
30044
|
+
]),
|
|
30045
|
+
_: 1
|
|
30046
|
+
/* STABLE */
|
|
30047
|
+
}, 8, ["data"]),
|
|
30048
|
+
createVNode(_component_el_pagination, {
|
|
30049
|
+
"current-page": state.queryParams.page,
|
|
30050
|
+
"page-size": state.queryParams.pageSize,
|
|
30051
|
+
total: state.queryParams.total,
|
|
30052
|
+
"page-sizes": [10, 20, 50, 100],
|
|
30053
|
+
background: "",
|
|
30054
|
+
onSizeChange: handleSizeChange,
|
|
30055
|
+
onCurrentChange: handleCurrentChange,
|
|
30056
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
30057
|
+
style: { "padding-bottom": "8px" }
|
|
30058
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
30059
|
+
]),
|
|
30060
|
+
_: 1
|
|
30061
|
+
/* STABLE */
|
|
30062
|
+
})
|
|
30063
|
+
])
|
|
30064
|
+
]),
|
|
30065
|
+
_: 1
|
|
30066
|
+
/* STABLE */
|
|
30067
|
+
})
|
|
30068
|
+
]),
|
|
30069
|
+
_: 1
|
|
30070
|
+
/* STABLE */
|
|
30071
|
+
})
|
|
30072
|
+
]),
|
|
30073
|
+
_: 1
|
|
30074
|
+
/* STABLE */
|
|
30075
|
+
}, 8, ["modelValue"]);
|
|
30076
|
+
};
|
|
30077
|
+
}
|
|
30078
|
+
});
|
|
30079
|
+
|
|
30080
|
+
const _hoisted_1$n = { style: { "color": "#fff" } };
|
|
30081
|
+
const _hoisted_2$f = { style: { "margin-top": "10px" } };
|
|
30082
|
+
const _hoisted_3$8 = { class: "dialog-footer" };
|
|
30083
|
+
var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
30084
|
+
__name: "dirverSelectDialog",
|
|
30085
|
+
props: {
|
|
30086
|
+
visible: {
|
|
30087
|
+
type: Boolean,
|
|
30088
|
+
default: false
|
|
30089
|
+
},
|
|
30090
|
+
title: {
|
|
30091
|
+
type: String,
|
|
30092
|
+
default: ""
|
|
30093
|
+
},
|
|
30094
|
+
data: {
|
|
30095
|
+
type: Array,
|
|
30096
|
+
default: () => []
|
|
30097
|
+
},
|
|
30098
|
+
userService: {
|
|
30099
|
+
type: String,
|
|
30100
|
+
default: "autoRes"
|
|
30101
|
+
},
|
|
30102
|
+
userAction: {
|
|
30103
|
+
type: String,
|
|
30104
|
+
default: "dirverTable"
|
|
30105
|
+
},
|
|
30106
|
+
userParams: {
|
|
30107
|
+
type: Object,
|
|
30108
|
+
default: () => {
|
|
30109
|
+
}
|
|
30110
|
+
}
|
|
30111
|
+
},
|
|
30112
|
+
emits: ["update:visible", "change"],
|
|
30113
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
30114
|
+
let emits = __emit;
|
|
30115
|
+
const props = __props;
|
|
30116
|
+
const dataList = ref([]);
|
|
30117
|
+
let checkedUsersList = ref([]);
|
|
30118
|
+
const state = reactive({
|
|
30119
|
+
total: 0,
|
|
30120
|
+
pdata: null,
|
|
30121
|
+
queryParams: {
|
|
30122
|
+
orgId: -1,
|
|
30123
|
+
page: 1,
|
|
30124
|
+
pageSize: 50
|
|
30125
|
+
}
|
|
30126
|
+
});
|
|
30127
|
+
let visibleDialog = computed({
|
|
30128
|
+
get() {
|
|
30129
|
+
return props.visible;
|
|
30130
|
+
},
|
|
30131
|
+
set() {
|
|
30132
|
+
closeDialog();
|
|
30133
|
+
}
|
|
30134
|
+
});
|
|
30135
|
+
onMounted(async () => {
|
|
30136
|
+
});
|
|
30137
|
+
const resetQuery = () => {
|
|
30138
|
+
state.queryParams = {};
|
|
30139
|
+
handleQuery();
|
|
30140
|
+
};
|
|
30141
|
+
const getUserList = async () => {
|
|
30142
|
+
var _a, _b, _c, _d;
|
|
30143
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
30144
|
+
dataList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
30145
|
+
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
30146
|
+
};
|
|
30147
|
+
async function handleQuery() {
|
|
30148
|
+
state.queryParams.pageNum = 1;
|
|
30149
|
+
await getUserList();
|
|
30150
|
+
}
|
|
30151
|
+
function handleSelectUser(row) {
|
|
30152
|
+
if (!row || row.id == "") return;
|
|
30153
|
+
emits("change", row);
|
|
30154
|
+
}
|
|
30155
|
+
const handledbclick = (row) => {
|
|
30156
|
+
handleSelectUser(row);
|
|
30157
|
+
};
|
|
30158
|
+
const handleSizeChange = (val) => {
|
|
30159
|
+
state.queryParams.pageSize = val;
|
|
30160
|
+
handleQuery();
|
|
30161
|
+
};
|
|
30162
|
+
const handleCurrentChange = (val) => {
|
|
30163
|
+
state.queryParams.page = val;
|
|
30164
|
+
handleQuery();
|
|
30165
|
+
};
|
|
30166
|
+
const closeDialog = () => {
|
|
30167
|
+
checkedUsersList.value = [];
|
|
30168
|
+
emits("update:visible", false);
|
|
30169
|
+
};
|
|
30170
|
+
__expose({
|
|
30171
|
+
handleQuery
|
|
30172
|
+
});
|
|
30173
|
+
return (_ctx, _cache) => {
|
|
30174
|
+
const _component_ele_Edit = resolveComponent("ele-Edit");
|
|
30175
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
30176
|
+
const _component_el_input = resolveComponent("el-input");
|
|
30177
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
30178
|
+
const _component_el_button = resolveComponent("el-button");
|
|
30179
|
+
const _component_el_button_group = resolveComponent("el-button-group");
|
|
30180
|
+
const _component_el_form = resolveComponent("el-form");
|
|
30181
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
30182
|
+
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
30183
|
+
const _component_el_table = resolveComponent("el-table");
|
|
30184
|
+
const _component_el_pagination = resolveComponent("el-pagination");
|
|
30185
|
+
const _component_el_card = resolveComponent("el-card");
|
|
30186
|
+
const _component_el_col = resolveComponent("el-col");
|
|
30187
|
+
const _component_el_row = resolveComponent("el-row");
|
|
30188
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
30189
|
+
return openBlock(), createBlock(_component_el_dialog, {
|
|
30190
|
+
modelValue: unref(visibleDialog),
|
|
30191
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
|
|
30192
|
+
style: { "width": "70vw" },
|
|
30193
|
+
"append-to-body": "",
|
|
30194
|
+
draggable: "",
|
|
30195
|
+
"close-on-click-modal": false
|
|
30196
|
+
}, {
|
|
30197
|
+
header: withCtx(() => [
|
|
30198
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
30199
|
+
createVNode(_component_el_icon, {
|
|
30200
|
+
size: "16",
|
|
30201
|
+
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
30202
|
+
}, {
|
|
30203
|
+
default: withCtx(() => [
|
|
30204
|
+
createVNode(_component_ele_Edit)
|
|
30205
|
+
]),
|
|
30206
|
+
_: 1
|
|
30207
|
+
/* STABLE */
|
|
30208
|
+
}),
|
|
30209
|
+
createElementVNode(
|
|
30210
|
+
"span",
|
|
30211
|
+
null,
|
|
30212
|
+
toDisplayString(_ctx.$t("\u9009\u62E9")) + toDisplayString(_ctx.$t(__props.title)),
|
|
30213
|
+
1
|
|
30214
|
+
/* TEXT */
|
|
30215
|
+
)
|
|
30216
|
+
])
|
|
30217
|
+
]),
|
|
30218
|
+
footer: withCtx(() => [
|
|
30219
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
30220
|
+
createVNode(_component_el_button, {
|
|
30221
|
+
icon: "ele-CircleCloseFilled",
|
|
30222
|
+
onClick: closeDialog
|
|
30223
|
+
}, {
|
|
30224
|
+
default: withCtx(() => [
|
|
30225
|
+
createTextVNode(
|
|
30226
|
+
toDisplayString(_ctx.$t("\u53D6\u6D88")),
|
|
30227
|
+
1
|
|
30228
|
+
/* TEXT */
|
|
30229
|
+
)
|
|
30230
|
+
]),
|
|
30231
|
+
_: 1
|
|
30232
|
+
/* STABLE */
|
|
30233
|
+
}),
|
|
30234
|
+
createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
|
|
30235
|
+
])
|
|
30236
|
+
]),
|
|
30237
|
+
default: withCtx(() => [
|
|
30238
|
+
createVNode(_component_el_row, { gutter: 10 }, {
|
|
30239
|
+
default: withCtx(() => [
|
|
30240
|
+
createVNode(_component_el_col, { span: 24 }, {
|
|
30241
|
+
default: withCtx(() => [
|
|
30242
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
30243
|
+
createVNode(_component_el_form, {
|
|
30244
|
+
model: state.queryParams,
|
|
30245
|
+
ref: "queryRef",
|
|
30246
|
+
inline: true
|
|
30247
|
+
}, {
|
|
30248
|
+
default: withCtx(() => [
|
|
30249
|
+
createVNode(_component_el_form_item, {
|
|
30250
|
+
label: _ctx.$t("\u5173\u952E\u5B57")
|
|
30251
|
+
}, {
|
|
30252
|
+
default: withCtx(() => [
|
|
30253
|
+
createVNode(_component_el_input, {
|
|
30254
|
+
modelValue: state.queryParams.keyword,
|
|
30255
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
|
|
30256
|
+
clearable: "",
|
|
30257
|
+
style: { "width": "150px" },
|
|
30258
|
+
onKeyup: withKeys(handleQuery, ["enter"])
|
|
30259
|
+
}, null, 8, ["modelValue"])
|
|
30260
|
+
]),
|
|
30261
|
+
_: 1
|
|
30262
|
+
/* STABLE */
|
|
30263
|
+
}, 8, ["label"]),
|
|
30264
|
+
createVNode(_component_el_form_item, null, {
|
|
30265
|
+
default: withCtx(() => [
|
|
30266
|
+
createVNode(_component_el_button_group, null, {
|
|
30267
|
+
default: withCtx(() => [
|
|
30268
|
+
createVNode(_component_el_button, {
|
|
30269
|
+
type: "primary",
|
|
30270
|
+
icon: "ele-Search",
|
|
30271
|
+
onClick: handleQuery
|
|
30272
|
+
}, {
|
|
30273
|
+
default: withCtx(() => [
|
|
30274
|
+
createTextVNode(
|
|
30275
|
+
toDisplayString(_ctx.$t("\u67E5\u8BE2")),
|
|
30276
|
+
1
|
|
30277
|
+
/* TEXT */
|
|
30278
|
+
)
|
|
30279
|
+
]),
|
|
30280
|
+
_: 1
|
|
30281
|
+
/* STABLE */
|
|
30282
|
+
}),
|
|
30283
|
+
createVNode(_component_el_button, {
|
|
30284
|
+
icon: "ele-Refresh",
|
|
30285
|
+
onClick: resetQuery
|
|
30286
|
+
}, {
|
|
30287
|
+
default: withCtx(() => [
|
|
30288
|
+
createTextVNode(
|
|
30289
|
+
toDisplayString(_ctx.$t("\u91CD\u7F6E")),
|
|
30290
|
+
1
|
|
30291
|
+
/* TEXT */
|
|
30292
|
+
)
|
|
30293
|
+
]),
|
|
30294
|
+
_: 1
|
|
30295
|
+
/* STABLE */
|
|
30296
|
+
})
|
|
30297
|
+
]),
|
|
30298
|
+
_: 1
|
|
30299
|
+
/* STABLE */
|
|
30300
|
+
}),
|
|
30301
|
+
createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
30302
|
+
]),
|
|
30303
|
+
_: 1
|
|
30304
|
+
/* STABLE */
|
|
30305
|
+
})
|
|
30306
|
+
]),
|
|
30307
|
+
_: 1
|
|
30308
|
+
/* STABLE */
|
|
30309
|
+
}, 8, ["model"]),
|
|
30310
|
+
createVNode(_component_el_card, {
|
|
30311
|
+
class: "full-table",
|
|
30312
|
+
shadow: "hover"
|
|
30313
|
+
}, {
|
|
30314
|
+
default: withCtx(() => [
|
|
30315
|
+
createVNode(_component_el_table, {
|
|
30316
|
+
ref: "refTable",
|
|
30317
|
+
data: dataList.value,
|
|
30318
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
30319
|
+
onRowDblclick: handledbclick
|
|
30320
|
+
}, {
|
|
30321
|
+
default: withCtx(() => [
|
|
30322
|
+
createVNode(_component_el_table_column, {
|
|
30323
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
30324
|
+
prop: "name",
|
|
30325
|
+
align: "center",
|
|
30326
|
+
"show-overflow-tooltip": true
|
|
30327
|
+
}, null, 8, ["label"]),
|
|
30328
|
+
createVNode(_component_el_table_column, {
|
|
30329
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
30330
|
+
prop: "phone",
|
|
30331
|
+
align: "center",
|
|
30332
|
+
"show-overflow-tooltip": true
|
|
30333
|
+
}, null, 8, ["label"]),
|
|
30334
|
+
createVNode(_component_el_table_column, {
|
|
30335
|
+
label: _ctx.$t("\u8F66\u724C"),
|
|
30336
|
+
prop: "license",
|
|
30337
|
+
align: "center",
|
|
30338
|
+
"show-overflow-tooltip": true
|
|
30339
|
+
}, null, 8, ["label"]),
|
|
30340
|
+
createVNode(_component_el_table_column, {
|
|
30341
|
+
label: _ctx.$t("\u5EA7\u4F4D\u6570"),
|
|
30342
|
+
prop: "seats",
|
|
30343
|
+
align: "center",
|
|
30344
|
+
"show-overflow-tooltip": true
|
|
30345
|
+
}, null, 8, ["label"]),
|
|
30346
|
+
createVNode(_component_el_table_column, {
|
|
30347
|
+
label: _ctx.$t("\u64CD\u4F5C"),
|
|
30348
|
+
width: "60",
|
|
30349
|
+
align: "center"
|
|
30350
|
+
}, {
|
|
30351
|
+
default: withCtx((scope) => [
|
|
30352
|
+
createVNode(_component_el_button, {
|
|
30353
|
+
link: "",
|
|
30354
|
+
type: "primary",
|
|
30355
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
30356
|
+
}, {
|
|
30357
|
+
default: withCtx(() => [
|
|
30358
|
+
createVNode(_component_el_icon, null, {
|
|
30359
|
+
default: withCtx(() => [
|
|
30360
|
+
createVNode(_component_ele_Plus)
|
|
30361
|
+
]),
|
|
30362
|
+
_: 1
|
|
30363
|
+
/* STABLE */
|
|
30364
|
+
})
|
|
30365
|
+
]),
|
|
30366
|
+
_: 1
|
|
30367
|
+
/* STABLE */
|
|
30368
|
+
}, 8, ["onClick"])
|
|
30369
|
+
]),
|
|
30370
|
+
_: 1
|
|
30371
|
+
/* STABLE */
|
|
30372
|
+
}, 8, ["label"])
|
|
30373
|
+
]),
|
|
30374
|
+
_: 1
|
|
30375
|
+
/* STABLE */
|
|
30376
|
+
}, 8, ["data"]),
|
|
30377
|
+
createVNode(_component_el_pagination, {
|
|
30378
|
+
"current-page": state.queryParams.page,
|
|
30379
|
+
"page-size": state.queryParams.pageSize,
|
|
30380
|
+
total: state.queryParams.total,
|
|
30381
|
+
"page-sizes": [10, 20, 50, 100],
|
|
30382
|
+
background: "",
|
|
30383
|
+
onSizeChange: handleSizeChange,
|
|
30384
|
+
onCurrentChange: handleCurrentChange,
|
|
30385
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
30386
|
+
style: { "padding-bottom": "8px" }
|
|
30387
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
30388
|
+
]),
|
|
30389
|
+
_: 1
|
|
30390
|
+
/* STABLE */
|
|
30391
|
+
})
|
|
30392
|
+
])
|
|
30393
|
+
]),
|
|
30394
|
+
_: 1
|
|
30395
|
+
/* STABLE */
|
|
30396
|
+
})
|
|
30397
|
+
]),
|
|
30398
|
+
_: 1
|
|
30399
|
+
/* STABLE */
|
|
30400
|
+
})
|
|
30401
|
+
]),
|
|
30402
|
+
_: 1
|
|
30403
|
+
/* STABLE */
|
|
30404
|
+
}, 8, ["modelValue"]);
|
|
30405
|
+
};
|
|
30406
|
+
}
|
|
30407
|
+
});
|
|
30408
|
+
|
|
30409
|
+
const _hoisted_1$m = { style: { "font-size": "14px", "line-height": "30px" } };
|
|
30410
|
+
var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
30411
|
+
...{
|
|
30412
|
+
name: "FmAutocomplete"
|
|
30413
|
+
},
|
|
30414
|
+
__name: "index",
|
|
30415
|
+
props: /* @__PURE__ */ mergeModels({
|
|
30416
|
+
placeholder: {
|
|
30417
|
+
type: String,
|
|
30418
|
+
default: "\u8BF7\u8F93\u5165\u5FEB\u901F\u641C\u7D22\u9009\u62E9"
|
|
30419
|
+
},
|
|
30420
|
+
/**
|
|
30421
|
+
* ato service name
|
|
30422
|
+
*/
|
|
30423
|
+
atoService: {
|
|
30424
|
+
type: String,
|
|
30425
|
+
default: "autoRes"
|
|
30426
|
+
},
|
|
30427
|
+
/**
|
|
30428
|
+
* ato service 下的方法
|
|
30429
|
+
*/
|
|
30430
|
+
atoAction: {
|
|
30431
|
+
type: String,
|
|
30432
|
+
default: "autoUser"
|
|
30433
|
+
},
|
|
30434
|
+
top: {
|
|
30435
|
+
type: Number,
|
|
30436
|
+
default: 15
|
|
30437
|
+
},
|
|
30438
|
+
searchsize: {
|
|
30439
|
+
type: Number,
|
|
30440
|
+
default: 22
|
|
30441
|
+
},
|
|
30442
|
+
/**
|
|
30443
|
+
* 值的属性值
|
|
30444
|
+
*/
|
|
30445
|
+
vId: {
|
|
30446
|
+
type: String,
|
|
30447
|
+
default: "id"
|
|
30448
|
+
},
|
|
30449
|
+
/**
|
|
30450
|
+
* 值的属性标签
|
|
30451
|
+
*/
|
|
30452
|
+
vName: {
|
|
30453
|
+
type: String,
|
|
30454
|
+
default: "name"
|
|
30455
|
+
},
|
|
30456
|
+
/**
|
|
30457
|
+
* 过滤出来显示的名称 加上属性标签
|
|
30458
|
+
*/
|
|
30459
|
+
vLabel: {
|
|
30460
|
+
type: String,
|
|
30461
|
+
default: ""
|
|
30462
|
+
},
|
|
30463
|
+
/**
|
|
30464
|
+
* 查询业务表ID
|
|
30465
|
+
*/
|
|
30466
|
+
qId: {
|
|
30467
|
+
type: Number,
|
|
30468
|
+
default: 0
|
|
30469
|
+
},
|
|
30470
|
+
title: {
|
|
30471
|
+
type: String,
|
|
30472
|
+
default: ""
|
|
30473
|
+
},
|
|
30474
|
+
params: {
|
|
30475
|
+
type: Object,
|
|
30476
|
+
default: () => {
|
|
30477
|
+
}
|
|
30478
|
+
},
|
|
30479
|
+
/**
|
|
30480
|
+
* 打开类型 0--用户加机构 1-- 联系人 2-- 供应商单位 3-- 银行账户 4--科目 5--线路
|
|
30481
|
+
* @default 0
|
|
30482
|
+
*/
|
|
30483
|
+
openType: {
|
|
30484
|
+
type: Number,
|
|
30485
|
+
default: 0
|
|
30486
|
+
},
|
|
30487
|
+
orgService: {
|
|
30488
|
+
type: String,
|
|
30489
|
+
default: "autoRes"
|
|
30490
|
+
},
|
|
30491
|
+
orgAction: {
|
|
30492
|
+
type: String,
|
|
30493
|
+
default: "userOrgList"
|
|
30494
|
+
},
|
|
30495
|
+
userService: {
|
|
30496
|
+
type: String,
|
|
30497
|
+
default: "autoRes"
|
|
30498
|
+
},
|
|
30499
|
+
userAction: {
|
|
30500
|
+
type: String,
|
|
30501
|
+
default: "UserTable"
|
|
30502
|
+
},
|
|
30503
|
+
subjectService: {
|
|
30504
|
+
type: String,
|
|
30505
|
+
default: "autoRes"
|
|
30506
|
+
},
|
|
30507
|
+
subjectAction: {
|
|
30508
|
+
type: String,
|
|
30509
|
+
default: "subjectTable"
|
|
30510
|
+
},
|
|
30511
|
+
accountService: {
|
|
30512
|
+
type: String,
|
|
30513
|
+
default: "autoRes"
|
|
29781
30514
|
},
|
|
29782
30515
|
accountAction: {
|
|
29783
30516
|
type: String,
|
|
@@ -29811,6 +30544,8 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29811
30544
|
const tableSubjectDialogRef = ref();
|
|
29812
30545
|
const tableLineDialogRef = ref();
|
|
29813
30546
|
const tableSupplierDialogRef = ref();
|
|
30547
|
+
const tableGuideDialogRef = ref();
|
|
30548
|
+
const tableDirverDialogRef = ref();
|
|
29814
30549
|
const emit = __emit;
|
|
29815
30550
|
const querySearchAsync = async (queryString, cb) => {
|
|
29816
30551
|
var _a;
|
|
@@ -29845,7 +30580,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29845
30580
|
emit("select", value);
|
|
29846
30581
|
};
|
|
29847
30582
|
const handleRefresh = async () => {
|
|
29848
|
-
var _a;
|
|
30583
|
+
var _a, _b, _c;
|
|
29849
30584
|
await nextTick();
|
|
29850
30585
|
if (props.openType == 0) {
|
|
29851
30586
|
if (tableUserDialogRef.value) {
|
|
@@ -29870,6 +30605,10 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29870
30605
|
}
|
|
29871
30606
|
} else if (props.openType == 5) {
|
|
29872
30607
|
(_a = tableLineDialogRef.value) == null ? void 0 : _a.handleQuery();
|
|
30608
|
+
} else if (props.openType == 6) {
|
|
30609
|
+
(_b = tableGuideDialogRef.value) == null ? void 0 : _b.handleQuery();
|
|
30610
|
+
} else if (props.openType == 7) {
|
|
30611
|
+
(_c = tableDirverDialogRef.value) == null ? void 0 : _c.handleQuery();
|
|
29873
30612
|
}
|
|
29874
30613
|
};
|
|
29875
30614
|
return (_ctx, _cache) => {
|
|
@@ -29877,7 +30616,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29877
30616
|
const _component_el_autocomplete = resolveComponent("el-autocomplete");
|
|
29878
30617
|
return openBlock(), createBlock(_component_el_autocomplete, {
|
|
29879
30618
|
modelValue: autoName.value,
|
|
29880
|
-
"onUpdate:modelValue": _cache[
|
|
30619
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => autoName.value = $event),
|
|
29881
30620
|
debounce: 500,
|
|
29882
30621
|
"fetch-suggestions": querySearchAsync,
|
|
29883
30622
|
placeholder: props.placeholder,
|
|
@@ -29923,7 +30662,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29923
30662
|
_: 1
|
|
29924
30663
|
/* STABLE */
|
|
29925
30664
|
}, 8, ["size"]),
|
|
29926
|
-
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$
|
|
30665
|
+
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$A, {
|
|
29927
30666
|
key: 0,
|
|
29928
30667
|
ref_key: "tableUserDialogRef",
|
|
29929
30668
|
ref: tableUserDialogRef,
|
|
@@ -29938,7 +30677,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29938
30677
|
userParams: __props.params,
|
|
29939
30678
|
onChange: handleSelectDialogChange
|
|
29940
30679
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29941
|
-
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$
|
|
30680
|
+
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
29942
30681
|
key: 1,
|
|
29943
30682
|
ref_key: "tableSupplierUserDialogRef",
|
|
29944
30683
|
ref: tableSupplierUserDialogRef,
|
|
@@ -29950,7 +30689,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29950
30689
|
userParams: __props.params,
|
|
29951
30690
|
onChange: handleSelectDialogChange
|
|
29952
30691
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29953
|
-
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$
|
|
30692
|
+
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$z, {
|
|
29954
30693
|
key: 2,
|
|
29955
30694
|
ref_key: "tableSupplierDialogRef",
|
|
29956
30695
|
ref: tableSupplierDialogRef,
|
|
@@ -29963,7 +30702,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29963
30702
|
onChange: handleSelectDialogChange
|
|
29964
30703
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29965
30704
|
createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
|
|
29966
|
-
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$
|
|
30705
|
+
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$x, {
|
|
29967
30706
|
key: 3,
|
|
29968
30707
|
ref_key: "tableAccountDialogRef",
|
|
29969
30708
|
ref: tableAccountDialogRef,
|
|
@@ -29976,7 +30715,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29976
30715
|
onChange: handleSelectDialogChange
|
|
29977
30716
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29978
30717
|
createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
|
|
29979
|
-
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$
|
|
30718
|
+
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$w, {
|
|
29980
30719
|
key: 4,
|
|
29981
30720
|
ref_key: "tableSubjectDialogRef",
|
|
29982
30721
|
ref: tableSubjectDialogRef,
|
|
@@ -29989,7 +30728,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29989
30728
|
onChange: handleSelectDialogChange
|
|
29990
30729
|
}, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : createCommentVNode("v-if", true),
|
|
29991
30730
|
createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
|
|
29992
|
-
__props.openType == 5 ? (openBlock(), createBlock(_sfc_main$
|
|
30731
|
+
__props.openType == 5 ? (openBlock(), createBlock(_sfc_main$v, {
|
|
29993
30732
|
key: 5,
|
|
29994
30733
|
ref_key: "tableLineDialogRef",
|
|
29995
30734
|
ref: tableLineDialogRef,
|
|
@@ -30000,6 +30739,32 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
30000
30739
|
userAction: __props.userAction,
|
|
30001
30740
|
userParams: __props.params,
|
|
30002
30741
|
onChange: handleSelectDialogChange
|
|
30742
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30743
|
+
createCommentVNode("\u5BFC\u6E38\u9009\u62E9"),
|
|
30744
|
+
__props.openType == 6 ? (openBlock(), createBlock(_sfc_main$u, {
|
|
30745
|
+
key: 6,
|
|
30746
|
+
ref_key: "tableGuideDialogRef",
|
|
30747
|
+
ref: tableGuideDialogRef,
|
|
30748
|
+
visible: visibleopenDialog.value,
|
|
30749
|
+
"onUpdate:visible": _cache[7] || (_cache[7] = ($event) => visibleopenDialog.value = $event),
|
|
30750
|
+
title: __props.title,
|
|
30751
|
+
userService: __props.userService,
|
|
30752
|
+
userAction: __props.userAction,
|
|
30753
|
+
userParams: __props.params,
|
|
30754
|
+
onChange: handleSelectDialogChange
|
|
30755
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30756
|
+
createCommentVNode("\u53F8\u673A\u9009\u62E9"),
|
|
30757
|
+
__props.openType == 7 ? (openBlock(), createBlock(_sfc_main$t, {
|
|
30758
|
+
key: 7,
|
|
30759
|
+
ref_key: "tableDirverDialogRef",
|
|
30760
|
+
ref: tableDirverDialogRef,
|
|
30761
|
+
visible: visibleopenDialog.value,
|
|
30762
|
+
"onUpdate:visible": _cache[8] || (_cache[8] = ($event) => visibleopenDialog.value = $event),
|
|
30763
|
+
title: __props.title,
|
|
30764
|
+
userService: __props.userService,
|
|
30765
|
+
userAction: __props.userAction,
|
|
30766
|
+
userParams: __props.params,
|
|
30767
|
+
onChange: handleSelectDialogChange
|
|
30003
30768
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true)
|
|
30004
30769
|
]),
|
|
30005
30770
|
key: "1"
|
|
@@ -30257,7 +31022,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30257
31022
|
_: 1
|
|
30258
31023
|
/* STABLE */
|
|
30259
31024
|
}, 8, ["size"]),
|
|
30260
|
-
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$
|
|
31025
|
+
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$A, {
|
|
30261
31026
|
key: 0,
|
|
30262
31027
|
ref_key: "tableUserDialogRef",
|
|
30263
31028
|
ref: tableUserDialogRef,
|
|
@@ -30272,7 +31037,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30272
31037
|
userParams: __props.params,
|
|
30273
31038
|
onChange: handleSelectDialogChange
|
|
30274
31039
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30275
|
-
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$
|
|
31040
|
+
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
30276
31041
|
key: 1,
|
|
30277
31042
|
ref_key: "tableSupplierUserDialogRef",
|
|
30278
31043
|
ref: tableSupplierUserDialogRef,
|
|
@@ -30284,7 +31049,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30284
31049
|
userParams: __props.params,
|
|
30285
31050
|
onChange: handleSelectDialogChange
|
|
30286
31051
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30287
|
-
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$
|
|
31052
|
+
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$z, {
|
|
30288
31053
|
key: 2,
|
|
30289
31054
|
ref_key: "tableSupplierDialogRef",
|
|
30290
31055
|
ref: tableSupplierDialogRef,
|
|
@@ -30297,7 +31062,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30297
31062
|
onChange: handleSelectDialogChange
|
|
30298
31063
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30299
31064
|
createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
|
|
30300
|
-
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$
|
|
31065
|
+
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$x, {
|
|
30301
31066
|
key: 3,
|
|
30302
31067
|
ref_key: "tableAccountDialogRef",
|
|
30303
31068
|
ref: tableAccountDialogRef,
|
|
@@ -30310,7 +31075,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30310
31075
|
onChange: handleSelectDialogChange
|
|
30311
31076
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30312
31077
|
createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
|
|
30313
|
-
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$
|
|
31078
|
+
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$w, {
|
|
30314
31079
|
key: 4,
|
|
30315
31080
|
ref_key: "tableSubjectDialogRef",
|
|
30316
31081
|
ref: tableSubjectDialogRef,
|
|
@@ -30323,7 +31088,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30323
31088
|
onChange: handleSelectDialogChange
|
|
30324
31089
|
}, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : createCommentVNode("v-if", true),
|
|
30325
31090
|
createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
|
|
30326
|
-
__props.openType == 5 ? (openBlock(), createBlock(_sfc_main$
|
|
31091
|
+
__props.openType == 5 ? (openBlock(), createBlock(_sfc_main$v, {
|
|
30327
31092
|
key: 5,
|
|
30328
31093
|
ref_key: "tableLineDialogRef",
|
|
30329
31094
|
ref: tableLineDialogRef,
|