@fmdeui/fmui 1.0.160 → 1.0.161
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/fm-autocomplete/component/dirverSelectDialog.vue.d.ts +72 -0
- package/es/components/fm-autocomplete/component/guideSelectDialog.vue.d.ts +72 -0
- package/es/components/fm-autocomplete/index.d.ts +176 -0
- package/es/components/fm-autocomplete/index.vue.d.ts +352 -0
- package/es/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/index.js +956 -278
- package/index.min.js +6 -6
- package/index.min.mjs +7 -7
- package/index.mjs +956 -278
- 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/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/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/{lib → es}/version.css +0 -0
- /package/{es/make-installer.css → lib/component.css} +0 -0
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.161 */
|
|
2
2
|
import VxeUITable from 'vxe-table';
|
|
3
3
|
import VxeUIPluginRenderElement from '@vxe-ui/plugin-render-element';
|
|
4
4
|
import VxeUIPluginExportXLSX from '@vxe-ui/plugin-export-xlsx';
|
|
@@ -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,17 +23052,17 @@ 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
|
},
|
|
@@ -23684,9 +23684,9 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23684
23684
|
style: normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
|
|
23685
23685
|
},
|
|
23686
23686
|
[
|
|
23687
|
-
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
23687
|
+
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
23688
23688
|
createVNode(
|
|
23689
|
-
_sfc_main$
|
|
23689
|
+
_sfc_main$N,
|
|
23690
23690
|
mergeProps({
|
|
23691
23691
|
ref_key: "fQueryConditionRef",
|
|
23692
23692
|
ref: fQueryConditionRef,
|
|
@@ -23812,7 +23812,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23812
23812
|
fixed: item.fixed
|
|
23813
23813
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
23814
23814
|
default: withCtx((scope) => [
|
|
23815
|
-
item.render ? (openBlock(), createBlock(_sfc_main$
|
|
23815
|
+
item.render ? (openBlock(), createBlock(_sfc_main$M, {
|
|
23816
23816
|
key: 0,
|
|
23817
23817
|
column: item,
|
|
23818
23818
|
row: scope.row,
|
|
@@ -23823,7 +23823,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23823
23823
|
key: 1,
|
|
23824
23824
|
scope
|
|
23825
23825
|
}) : createCommentVNode("v-if", true),
|
|
23826
|
-
!item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
23826
|
+
!item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$h, [
|
|
23827
23827
|
createElementVNode(
|
|
23828
23828
|
"span",
|
|
23829
23829
|
null,
|
|
@@ -23857,7 +23857,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23857
23857
|
total: __props.table.total
|
|
23858
23858
|
}, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
|
|
23859
23859
|
])) : createCommentVNode("v-if", true)
|
|
23860
|
-
], 8, _hoisted_2$
|
|
23860
|
+
], 8, _hoisted_2$p)), [
|
|
23861
23861
|
[_directive_loading, __props.tableLoading]
|
|
23862
23862
|
]),
|
|
23863
23863
|
renderSlot(_ctx.$slots, "footer")
|
|
@@ -23875,11 +23875,11 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
23875
23875
|
}
|
|
23876
23876
|
});
|
|
23877
23877
|
|
|
23878
|
-
const FSelectTable = _sfc_main$
|
|
23878
|
+
const FSelectTable = _sfc_main$L;
|
|
23879
23879
|
|
|
23880
|
-
const FQueryCondition = _sfc_main$
|
|
23880
|
+
const FQueryCondition = _sfc_main$N;
|
|
23881
23881
|
|
|
23882
|
-
var _sfc_main$
|
|
23882
|
+
var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
23883
23883
|
...{
|
|
23884
23884
|
name: "RenderComp"
|
|
23885
23885
|
},
|
|
@@ -23899,7 +23899,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
23899
23899
|
}
|
|
23900
23900
|
});
|
|
23901
23901
|
|
|
23902
|
-
var _sfc_main$
|
|
23902
|
+
var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
23903
23903
|
...{
|
|
23904
23904
|
name: "RenderBtn"
|
|
23905
23905
|
},
|
|
@@ -23919,12 +23919,12 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
23919
23919
|
}
|
|
23920
23920
|
});
|
|
23921
23921
|
|
|
23922
|
-
const _hoisted_1$
|
|
23922
|
+
const _hoisted_1$y = {
|
|
23923
23923
|
key: 1,
|
|
23924
23924
|
class: "text_show"
|
|
23925
23925
|
};
|
|
23926
|
-
const _hoisted_2$
|
|
23927
|
-
var _sfc_main$
|
|
23926
|
+
const _hoisted_2$o = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
23927
|
+
var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
23928
23928
|
...{
|
|
23929
23929
|
name: "FForm"
|
|
23930
23930
|
},
|
|
@@ -24175,7 +24175,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
24175
24175
|
}) : createCommentVNode("v-if", true),
|
|
24176
24176
|
item.textShow ? (openBlock(), createElementBlock(
|
|
24177
24177
|
"span",
|
|
24178
|
-
_hoisted_1$
|
|
24178
|
+
_hoisted_1$y,
|
|
24179
24179
|
toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
|
|
24180
24180
|
1
|
|
24181
24181
|
/* TEXT */
|
|
@@ -24295,7 +24295,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
24295
24295
|
item.labelSlotName || item.labelRender ? {
|
|
24296
24296
|
name: "label",
|
|
24297
24297
|
fn: withCtx(() => [
|
|
24298
|
-
item.labelRender ? (openBlock(), createBlock(_sfc_main$
|
|
24298
|
+
item.labelRender ? (openBlock(), createBlock(_sfc_main$K, {
|
|
24299
24299
|
key: 0,
|
|
24300
24300
|
render: item.labelRender,
|
|
24301
24301
|
item
|
|
@@ -24317,7 +24317,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
24317
24317
|
/* UNKEYED_FRAGMENT */
|
|
24318
24318
|
)),
|
|
24319
24319
|
createCommentVNode(" \u6309\u94AE "),
|
|
24320
|
-
createElementVNode("div", _hoisted_2$
|
|
24320
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
24321
24321
|
__props.formOpts.btnSlotName ? renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : createCommentVNode("v-if", true),
|
|
24322
24322
|
!__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (openBlock(true), createElementBlock(
|
|
24323
24323
|
Fragment,
|
|
@@ -24327,7 +24327,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
24327
24327
|
Fragment,
|
|
24328
24328
|
null,
|
|
24329
24329
|
[
|
|
24330
|
-
val.render ? (openBlock(), createBlock(_sfc_main$
|
|
24330
|
+
val.render ? (openBlock(), createBlock(_sfc_main$J, {
|
|
24331
24331
|
key: index,
|
|
24332
24332
|
item: val,
|
|
24333
24333
|
render: val.render
|
|
@@ -24374,10 +24374,10 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
24374
24374
|
}
|
|
24375
24375
|
});
|
|
24376
24376
|
|
|
24377
|
-
const FForm = _sfc_main$
|
|
24377
|
+
const FForm = _sfc_main$I;
|
|
24378
24378
|
|
|
24379
|
-
const _hoisted_1$
|
|
24380
|
-
var _sfc_main$
|
|
24379
|
+
const _hoisted_1$x = ["src"];
|
|
24380
|
+
var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
24381
24381
|
...{
|
|
24382
24382
|
name: "svgIcon"
|
|
24383
24383
|
},
|
|
@@ -24448,7 +24448,7 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
24448
24448
|
createElementVNode("img", {
|
|
24449
24449
|
src: getIconName.value,
|
|
24450
24450
|
style: normalizeStyle(setIconSvgInsStyle.value)
|
|
24451
|
-
}, null, 12, _hoisted_1$
|
|
24451
|
+
}, null, 12, _hoisted_1$x)
|
|
24452
24452
|
],
|
|
24453
24453
|
4
|
|
24454
24454
|
/* STYLE */
|
|
@@ -24475,13 +24475,13 @@ function elSvg(app) {
|
|
|
24475
24475
|
}
|
|
24476
24476
|
}
|
|
24477
24477
|
if (!app._context.components[`SvgIcon`]) {
|
|
24478
|
-
app.component("SvgIcon", _sfc_main$
|
|
24478
|
+
app.component("SvgIcon", _sfc_main$H);
|
|
24479
24479
|
}
|
|
24480
24480
|
}
|
|
24481
24481
|
|
|
24482
24482
|
const emitter = mitt();
|
|
24483
24483
|
|
|
24484
|
-
var _sfc_main$
|
|
24484
|
+
var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
24485
24485
|
...{
|
|
24486
24486
|
name: "FLayout"
|
|
24487
24487
|
},
|
|
@@ -24567,7 +24567,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
24567
24567
|
}
|
|
24568
24568
|
});
|
|
24569
24569
|
|
|
24570
|
-
const FLayout = _sfc_main$
|
|
24570
|
+
const FLayout = _sfc_main$G;
|
|
24571
24571
|
|
|
24572
24572
|
function commonFunction() {
|
|
24573
24573
|
const { copy, isSupported } = useClipboard();
|
|
@@ -24844,9 +24844,9 @@ const other = {
|
|
|
24844
24844
|
// },
|
|
24845
24845
|
};
|
|
24846
24846
|
|
|
24847
|
-
const _hoisted_1$
|
|
24848
|
-
const _hoisted_2$
|
|
24849
|
-
const _hoisted_3$
|
|
24847
|
+
const _hoisted_1$w = { class: "layout-breadcrumb-seting" };
|
|
24848
|
+
const _hoisted_2$n = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
24849
|
+
const _hoisted_3$g = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
24850
24850
|
const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
24851
24851
|
const _hoisted_5$7 = { style: { "margin": "10px 0" } };
|
|
24852
24852
|
const _hoisted_6$3 = { class: "layout-breadcrumb-seting-bar-flex mt15" };
|
|
@@ -24969,7 +24969,7 @@ const _hoisted_119 = {
|
|
|
24969
24969
|
class: "traditionalColors-chines",
|
|
24970
24970
|
style: { "cursor": "grab", "color": "gray" }
|
|
24971
24971
|
};
|
|
24972
|
-
var _sfc_main$
|
|
24972
|
+
var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
24973
24973
|
...{
|
|
24974
24974
|
name: "FSettings"
|
|
24975
24975
|
},
|
|
@@ -25233,7 +25233,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
25233
25233
|
const _component_el_col = resolveComponent("el-col");
|
|
25234
25234
|
const _component_el_row = resolveComponent("el-row");
|
|
25235
25235
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
25236
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25236
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
25237
25237
|
createVNode(_component_el_drawer, {
|
|
25238
25238
|
title: _ctx.$t("message.layout.configTitle"),
|
|
25239
25239
|
modelValue: getThemeConfig.value.isDrawer,
|
|
@@ -25258,10 +25258,10 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
25258
25258
|
_: 1
|
|
25259
25259
|
/* STABLE */
|
|
25260
25260
|
}),
|
|
25261
|
-
createElementVNode("div", _hoisted_2$
|
|
25261
|
+
createElementVNode("div", _hoisted_2$n, [
|
|
25262
25262
|
createElementVNode(
|
|
25263
25263
|
"div",
|
|
25264
|
-
_hoisted_3$
|
|
25264
|
+
_hoisted_3$g,
|
|
25265
25265
|
toDisplayString(_ctx.$t("message.layout.themeColors")),
|
|
25266
25266
|
1
|
|
25267
25267
|
/* TEXT */
|
|
@@ -26732,9 +26732,9 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
26732
26732
|
}
|
|
26733
26733
|
});
|
|
26734
26734
|
|
|
26735
|
-
const FSettings = _sfc_main$
|
|
26735
|
+
const FSettings = _sfc_main$F;
|
|
26736
26736
|
|
|
26737
|
-
var _sfc_main$
|
|
26737
|
+
var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
26738
26738
|
...{
|
|
26739
26739
|
name: "FModifyRecord"
|
|
26740
26740
|
},
|
|
@@ -26997,10 +26997,10 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
26997
26997
|
}
|
|
26998
26998
|
});
|
|
26999
26999
|
|
|
27000
|
-
const FModifyRecord = _sfc_main$
|
|
27000
|
+
const FModifyRecord = _sfc_main$E;
|
|
27001
27001
|
|
|
27002
|
-
const _hoisted_1$
|
|
27003
|
-
var _sfc_main$
|
|
27002
|
+
const _hoisted_1$v = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
|
|
27003
|
+
var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
27004
27004
|
...{
|
|
27005
27005
|
name: "FmSelect"
|
|
27006
27006
|
},
|
|
@@ -27159,7 +27159,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
27159
27159
|
onClear: handelClear
|
|
27160
27160
|
}, {
|
|
27161
27161
|
header: withCtx(() => [
|
|
27162
|
-
createElementVNode("div", _hoisted_1$
|
|
27162
|
+
createElementVNode("div", _hoisted_1$v, [
|
|
27163
27163
|
createVNode(_component_el_icon, {
|
|
27164
27164
|
color: "#13c2c2",
|
|
27165
27165
|
size: __props.freshSize,
|
|
@@ -27201,9 +27201,9 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
27201
27201
|
}
|
|
27202
27202
|
});
|
|
27203
27203
|
|
|
27204
|
-
const FmSelect = _sfc_main$
|
|
27204
|
+
const FmSelect = _sfc_main$D;
|
|
27205
27205
|
|
|
27206
|
-
var _sfc_main$
|
|
27206
|
+
var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
27207
27207
|
...{
|
|
27208
27208
|
name: "Fminputdropdown"
|
|
27209
27209
|
},
|
|
@@ -27412,9 +27412,9 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
27412
27412
|
}
|
|
27413
27413
|
});
|
|
27414
27414
|
|
|
27415
|
-
const Fminputdropdown = _sfc_main$
|
|
27415
|
+
const Fminputdropdown = _sfc_main$C;
|
|
27416
27416
|
|
|
27417
|
-
var _sfc_main$
|
|
27417
|
+
var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
27418
27418
|
...{ name: "FmInputNumber" },
|
|
27419
27419
|
__name: "index",
|
|
27420
27420
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -27579,14 +27579,14 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
27579
27579
|
}
|
|
27580
27580
|
});
|
|
27581
27581
|
|
|
27582
|
-
const FmInputNumber = _sfc_main$
|
|
27582
|
+
const FmInputNumber = _sfc_main$B;
|
|
27583
27583
|
|
|
27584
|
-
const _hoisted_1$
|
|
27585
|
-
const _hoisted_2$
|
|
27586
|
-
const _hoisted_3$
|
|
27584
|
+
const _hoisted_1$u = { style: { "color": "#fff" } };
|
|
27585
|
+
const _hoisted_2$m = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
27586
|
+
const _hoisted_3$f = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
27587
27587
|
const _hoisted_4$6 = { style: { "margin-top": "10px" } };
|
|
27588
27588
|
const _hoisted_5$6 = { class: "dialog-footer" };
|
|
27589
|
-
var _sfc_main$
|
|
27589
|
+
var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
27590
27590
|
__name: "userSelectDialog",
|
|
27591
27591
|
props: {
|
|
27592
27592
|
visible: {
|
|
@@ -27725,7 +27725,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27725
27725
|
"close-on-click-modal": false
|
|
27726
27726
|
}, {
|
|
27727
27727
|
header: withCtx(() => [
|
|
27728
|
-
createElementVNode("div", _hoisted_1$
|
|
27728
|
+
createElementVNode("div", _hoisted_1$u, [
|
|
27729
27729
|
createVNode(_component_el_icon, {
|
|
27730
27730
|
size: "16",
|
|
27731
27731
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -27771,7 +27771,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27771
27771
|
default: withCtx(() => [
|
|
27772
27772
|
createElementVNode(
|
|
27773
27773
|
"p",
|
|
27774
|
-
_hoisted_2$
|
|
27774
|
+
_hoisted_2$m,
|
|
27775
27775
|
toDisplayString(_ctx.$t("\u673A\u6784")),
|
|
27776
27776
|
1
|
|
27777
27777
|
/* TEXT */
|
|
@@ -27793,7 +27793,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27793
27793
|
default: withCtx(() => [
|
|
27794
27794
|
createElementVNode(
|
|
27795
27795
|
"p",
|
|
27796
|
-
_hoisted_3$
|
|
27796
|
+
_hoisted_3$f,
|
|
27797
27797
|
toDisplayString(_ctx.$t(__props.title)) + toDisplayString(_ctx.$t("\u5217\u8868")),
|
|
27798
27798
|
1
|
|
27799
27799
|
/* TEXT */
|
|
@@ -27977,10 +27977,10 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27977
27977
|
}
|
|
27978
27978
|
});
|
|
27979
27979
|
|
|
27980
|
-
const _hoisted_1$
|
|
27981
|
-
const _hoisted_2$
|
|
27982
|
-
const _hoisted_3$
|
|
27983
|
-
var _sfc_main$
|
|
27980
|
+
const _hoisted_1$t = { style: { "color": "#fff" } };
|
|
27981
|
+
const _hoisted_2$l = { style: { "margin-top": "10px" } };
|
|
27982
|
+
const _hoisted_3$e = { class: "dialog-footer" };
|
|
27983
|
+
var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
27984
27984
|
__name: "supplierSelectDialog",
|
|
27985
27985
|
props: {
|
|
27986
27986
|
visible: {
|
|
@@ -28102,7 +28102,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28102
28102
|
"close-on-click-modal": false
|
|
28103
28103
|
}, {
|
|
28104
28104
|
header: withCtx(() => [
|
|
28105
|
-
createElementVNode("div", _hoisted_1$
|
|
28105
|
+
createElementVNode("div", _hoisted_1$t, [
|
|
28106
28106
|
createVNode(_component_el_icon, {
|
|
28107
28107
|
size: "16",
|
|
28108
28108
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -28123,7 +28123,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28123
28123
|
])
|
|
28124
28124
|
]),
|
|
28125
28125
|
footer: withCtx(() => [
|
|
28126
|
-
createElementVNode("div", _hoisted_3$
|
|
28126
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
28127
28127
|
createVNode(_component_el_button, {
|
|
28128
28128
|
icon: "ele-CircleCloseFilled",
|
|
28129
28129
|
onClick: closeDialog
|
|
@@ -28146,7 +28146,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28146
28146
|
default: withCtx(() => [
|
|
28147
28147
|
createVNode(_component_el_col, { span: 24 }, {
|
|
28148
28148
|
default: withCtx(() => [
|
|
28149
|
-
createElementVNode("div", _hoisted_2$
|
|
28149
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
28150
28150
|
createVNode(_component_el_form, {
|
|
28151
28151
|
model: state.queryParams,
|
|
28152
28152
|
ref: "queryRef",
|
|
@@ -28325,7 +28325,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28325
28325
|
/* STABLE */
|
|
28326
28326
|
}, 8, ["data"]),
|
|
28327
28327
|
createVNode(_component_el_pagination, {
|
|
28328
|
-
|
|
28328
|
+
"current-page": state.queryParams.page,
|
|
28329
28329
|
"page-size": state.queryParams.pageSize,
|
|
28330
28330
|
total: state.queryParams.total,
|
|
28331
28331
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -28334,7 +28334,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28334
28334
|
onCurrentChange: handleCurrentChange,
|
|
28335
28335
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
28336
28336
|
style: { "padding-bottom": "8px" }
|
|
28337
|
-
}, null, 8, ["
|
|
28337
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
28338
28338
|
]),
|
|
28339
28339
|
_: 1
|
|
28340
28340
|
/* STABLE */
|
|
@@ -28356,10 +28356,10 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
28356
28356
|
}
|
|
28357
28357
|
});
|
|
28358
28358
|
|
|
28359
|
-
const _hoisted_1$
|
|
28360
|
-
const _hoisted_2$
|
|
28361
|
-
const _hoisted_3$
|
|
28362
|
-
var _sfc_main$
|
|
28359
|
+
const _hoisted_1$s = { style: { "color": "#fff" } };
|
|
28360
|
+
const _hoisted_2$k = { style: { "margin-top": "10px" } };
|
|
28361
|
+
const _hoisted_3$d = { class: "dialog-footer" };
|
|
28362
|
+
var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
28363
28363
|
__name: "supplierUserSelectDialog",
|
|
28364
28364
|
props: {
|
|
28365
28365
|
visible: {
|
|
@@ -28474,7 +28474,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28474
28474
|
"close-on-click-modal": false
|
|
28475
28475
|
}, {
|
|
28476
28476
|
header: withCtx(() => [
|
|
28477
|
-
createElementVNode("div", _hoisted_1$
|
|
28477
|
+
createElementVNode("div", _hoisted_1$s, [
|
|
28478
28478
|
createVNode(_component_el_icon, {
|
|
28479
28479
|
size: "16",
|
|
28480
28480
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -28495,7 +28495,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28495
28495
|
])
|
|
28496
28496
|
]),
|
|
28497
28497
|
footer: withCtx(() => [
|
|
28498
|
-
createElementVNode("div", _hoisted_3$
|
|
28498
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
28499
28499
|
createVNode(_component_el_button, {
|
|
28500
28500
|
icon: "ele-CircleCloseFilled",
|
|
28501
28501
|
onClick: closeDialog
|
|
@@ -28518,7 +28518,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28518
28518
|
default: withCtx(() => [
|
|
28519
28519
|
createVNode(_component_el_col, { span: 24 }, {
|
|
28520
28520
|
default: withCtx(() => [
|
|
28521
|
-
createElementVNode("div", _hoisted_2$
|
|
28521
|
+
createElementVNode("div", _hoisted_2$k, [
|
|
28522
28522
|
createVNode(_component_el_form, {
|
|
28523
28523
|
model: state.queryParams,
|
|
28524
28524
|
ref: "queryRef",
|
|
@@ -28654,7 +28654,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28654
28654
|
/* STABLE */
|
|
28655
28655
|
}, 8, ["data"]),
|
|
28656
28656
|
createVNode(_component_el_pagination, {
|
|
28657
|
-
|
|
28657
|
+
"current-page": state.queryParams.page,
|
|
28658
28658
|
"page-size": state.queryParams.pageSize,
|
|
28659
28659
|
total: state.queryParams.total,
|
|
28660
28660
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -28663,7 +28663,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28663
28663
|
onCurrentChange: handleCurrentChange,
|
|
28664
28664
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
28665
28665
|
style: { "padding-bottom": "8px" }
|
|
28666
|
-
}, null, 8, ["
|
|
28666
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
28667
28667
|
]),
|
|
28668
28668
|
_: 1
|
|
28669
28669
|
/* STABLE */
|
|
@@ -28685,10 +28685,10 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28685
28685
|
}
|
|
28686
28686
|
});
|
|
28687
28687
|
|
|
28688
|
-
const _hoisted_1$
|
|
28689
|
-
const _hoisted_2$
|
|
28690
|
-
const _hoisted_3$
|
|
28691
|
-
var _sfc_main$
|
|
28688
|
+
const _hoisted_1$r = { style: { "color": "#fff" } };
|
|
28689
|
+
const _hoisted_2$j = { style: { "margin-top": "10px" } };
|
|
28690
|
+
const _hoisted_3$c = { class: "dialog-footer" };
|
|
28691
|
+
var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
28692
28692
|
__name: "accountSelectDialog",
|
|
28693
28693
|
props: {
|
|
28694
28694
|
visible: {
|
|
@@ -28801,7 +28801,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28801
28801
|
"close-on-click-modal": false
|
|
28802
28802
|
}, {
|
|
28803
28803
|
header: withCtx(() => [
|
|
28804
|
-
createElementVNode("div", _hoisted_1$
|
|
28804
|
+
createElementVNode("div", _hoisted_1$r, [
|
|
28805
28805
|
createVNode(_component_el_icon, {
|
|
28806
28806
|
size: "16",
|
|
28807
28807
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -28822,7 +28822,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28822
28822
|
])
|
|
28823
28823
|
]),
|
|
28824
28824
|
footer: withCtx(() => [
|
|
28825
|
-
createElementVNode("div", _hoisted_3$
|
|
28825
|
+
createElementVNode("div", _hoisted_3$c, [
|
|
28826
28826
|
createVNode(_component_el_button, {
|
|
28827
28827
|
icon: "ele-CircleCloseFilled",
|
|
28828
28828
|
onClick: closeDialog
|
|
@@ -28845,7 +28845,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28845
28845
|
default: withCtx(() => [
|
|
28846
28846
|
createVNode(_component_el_col, { span: 24 }, {
|
|
28847
28847
|
default: withCtx(() => [
|
|
28848
|
-
createElementVNode("div", _hoisted_2$
|
|
28848
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
28849
28849
|
createVNode(_component_el_form, {
|
|
28850
28850
|
model: state.queryParams,
|
|
28851
28851
|
ref: "queryRef",
|
|
@@ -28975,7 +28975,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28975
28975
|
/* STABLE */
|
|
28976
28976
|
}, 8, ["data"]),
|
|
28977
28977
|
createVNode(_component_el_pagination, {
|
|
28978
|
-
|
|
28978
|
+
"current-page": state.queryParams.page,
|
|
28979
28979
|
"page-size": state.queryParams.pageSize,
|
|
28980
28980
|
total: state.queryParams.total,
|
|
28981
28981
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -28984,7 +28984,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28984
28984
|
onCurrentChange: handleCurrentChange,
|
|
28985
28985
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
28986
28986
|
style: { "padding-bottom": "8px" }
|
|
28987
|
-
}, null, 8, ["
|
|
28987
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
28988
28988
|
]),
|
|
28989
28989
|
_: 1
|
|
28990
28990
|
/* STABLE */
|
|
@@ -29006,12 +29006,12 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
29006
29006
|
}
|
|
29007
29007
|
});
|
|
29008
29008
|
|
|
29009
|
-
const _hoisted_1$
|
|
29010
|
-
const _hoisted_2$
|
|
29011
|
-
const _hoisted_3$
|
|
29009
|
+
const _hoisted_1$q = { style: { "color": "#fff" } };
|
|
29010
|
+
const _hoisted_2$i = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
29011
|
+
const _hoisted_3$b = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
29012
29012
|
const _hoisted_4$5 = { style: { "margin-top": "10px" } };
|
|
29013
29013
|
const _hoisted_5$5 = { class: "dialog-footer" };
|
|
29014
|
-
var _sfc_main$
|
|
29014
|
+
var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
29015
29015
|
__name: "subjectSelectDialog",
|
|
29016
29016
|
props: {
|
|
29017
29017
|
visible: {
|
|
@@ -29117,7 +29117,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29117
29117
|
"close-on-click-modal": false
|
|
29118
29118
|
}, {
|
|
29119
29119
|
header: withCtx(() => [
|
|
29120
|
-
createElementVNode("div", _hoisted_1$
|
|
29120
|
+
createElementVNode("div", _hoisted_1$q, [
|
|
29121
29121
|
createVNode(_component_el_icon, {
|
|
29122
29122
|
size: "16",
|
|
29123
29123
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -29163,7 +29163,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29163
29163
|
default: withCtx(() => [
|
|
29164
29164
|
createElementVNode(
|
|
29165
29165
|
"p",
|
|
29166
|
-
_hoisted_2$
|
|
29166
|
+
_hoisted_2$i,
|
|
29167
29167
|
toDisplayString(_ctx.$t("\u5927\u7C7B")),
|
|
29168
29168
|
1
|
|
29169
29169
|
/* TEXT */
|
|
@@ -29181,7 +29181,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29181
29181
|
default: withCtx(() => [
|
|
29182
29182
|
createElementVNode(
|
|
29183
29183
|
"p",
|
|
29184
|
-
_hoisted_3$
|
|
29184
|
+
_hoisted_3$b,
|
|
29185
29185
|
toDisplayString(_ctx.$t(__props.title)) + toDisplayString(_ctx.$t("\u5217\u8868")),
|
|
29186
29186
|
1
|
|
29187
29187
|
/* TEXT */
|
|
@@ -29332,10 +29332,10 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29332
29332
|
}
|
|
29333
29333
|
});
|
|
29334
29334
|
|
|
29335
|
-
const _hoisted_1$
|
|
29336
|
-
const _hoisted_2$
|
|
29337
|
-
const _hoisted_3$
|
|
29338
|
-
var _sfc_main$
|
|
29335
|
+
const _hoisted_1$p = { style: { "color": "#fff" } };
|
|
29336
|
+
const _hoisted_2$h = { style: { "margin-top": "10px" } };
|
|
29337
|
+
const _hoisted_3$a = { class: "dialog-footer" };
|
|
29338
|
+
var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
29339
29339
|
__name: "linSelectDialog",
|
|
29340
29340
|
props: {
|
|
29341
29341
|
visible: {
|
|
@@ -29450,7 +29450,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29450
29450
|
"close-on-click-modal": false
|
|
29451
29451
|
}, {
|
|
29452
29452
|
header: withCtx(() => [
|
|
29453
|
-
createElementVNode("div", _hoisted_1$
|
|
29453
|
+
createElementVNode("div", _hoisted_1$p, [
|
|
29454
29454
|
createVNode(_component_el_icon, {
|
|
29455
29455
|
size: "16",
|
|
29456
29456
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -29471,7 +29471,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29471
29471
|
])
|
|
29472
29472
|
]),
|
|
29473
29473
|
footer: withCtx(() => [
|
|
29474
|
-
createElementVNode("div", _hoisted_3$
|
|
29474
|
+
createElementVNode("div", _hoisted_3$a, [
|
|
29475
29475
|
createVNode(_component_el_button, {
|
|
29476
29476
|
icon: "ele-CircleCloseFilled",
|
|
29477
29477
|
onClick: closeDialog
|
|
@@ -29494,7 +29494,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29494
29494
|
default: withCtx(() => [
|
|
29495
29495
|
createVNode(_component_el_col, { span: 24 }, {
|
|
29496
29496
|
default: withCtx(() => [
|
|
29497
|
-
createElementVNode("div", _hoisted_2$
|
|
29497
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
29498
29498
|
createVNode(_component_el_form, {
|
|
29499
29499
|
model: state.queryParams,
|
|
29500
29500
|
ref: "queryRef",
|
|
@@ -29642,7 +29642,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29642
29642
|
/* STABLE */
|
|
29643
29643
|
}, 8, ["data"]),
|
|
29644
29644
|
createVNode(_component_el_pagination, {
|
|
29645
|
-
|
|
29645
|
+
"current-page": state.queryParams.page,
|
|
29646
29646
|
"page-size": state.queryParams.pageSize,
|
|
29647
29647
|
total: state.queryParams.total,
|
|
29648
29648
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -29651,7 +29651,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29651
29651
|
onCurrentChange: handleCurrentChange,
|
|
29652
29652
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
29653
29653
|
style: { "padding-bottom": "8px" }
|
|
29654
|
-
}, null, 8, ["
|
|
29654
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
29655
29655
|
]),
|
|
29656
29656
|
_: 1
|
|
29657
29657
|
/* STABLE */
|
|
@@ -29673,91 +29673,23 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29673
29673
|
}
|
|
29674
29674
|
});
|
|
29675
29675
|
|
|
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
|
|
29676
|
+
const _hoisted_1$o = { style: { "color": "#fff" } };
|
|
29677
|
+
const _hoisted_2$g = { style: { "margin-top": "10px" } };
|
|
29678
|
+
const _hoisted_3$9 = { class: "dialog-footer" };
|
|
29679
|
+
var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
29680
|
+
__name: "guideSelectDialog",
|
|
29681
|
+
props: {
|
|
29682
|
+
visible: {
|
|
29683
|
+
type: Boolean,
|
|
29684
|
+
default: false
|
|
29736
29685
|
},
|
|
29737
29686
|
title: {
|
|
29738
29687
|
type: String,
|
|
29739
29688
|
default: ""
|
|
29740
29689
|
},
|
|
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"
|
|
29690
|
+
data: {
|
|
29691
|
+
type: Array,
|
|
29692
|
+
default: () => []
|
|
29761
29693
|
},
|
|
29762
29694
|
userService: {
|
|
29763
29695
|
type: String,
|
|
@@ -29765,62 +29697,778 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29765
29697
|
},
|
|
29766
29698
|
userAction: {
|
|
29767
29699
|
type: String,
|
|
29768
|
-
default: "
|
|
29769
|
-
},
|
|
29770
|
-
subjectService: {
|
|
29771
|
-
type: String,
|
|
29772
|
-
default: "autoRes"
|
|
29773
|
-
},
|
|
29774
|
-
subjectAction: {
|
|
29775
|
-
type: String,
|
|
29776
|
-
default: "subjectTable"
|
|
29777
|
-
},
|
|
29778
|
-
accountService: {
|
|
29779
|
-
type: String,
|
|
29780
|
-
default: "autoRes"
|
|
29781
|
-
},
|
|
29782
|
-
accountAction: {
|
|
29783
|
-
type: String,
|
|
29784
|
-
default: "accountTable"
|
|
29700
|
+
default: "guideTable"
|
|
29785
29701
|
},
|
|
29786
|
-
|
|
29787
|
-
type:
|
|
29788
|
-
default:
|
|
29702
|
+
userParams: {
|
|
29703
|
+
type: Object,
|
|
29704
|
+
default: () => {
|
|
29705
|
+
}
|
|
29789
29706
|
}
|
|
29790
|
-
},
|
|
29791
|
-
|
|
29792
|
-
|
|
29793
|
-
|
|
29794
|
-
},
|
|
29795
|
-
"nameModifiers": {},
|
|
29796
|
-
"id": {
|
|
29797
|
-
required: true,
|
|
29798
|
-
default: 0
|
|
29799
|
-
},
|
|
29800
|
-
"idModifiers": {}
|
|
29801
|
-
}),
|
|
29802
|
-
emits: /* @__PURE__ */ mergeModels(["select", "reset"], ["update:name", "update:id"]),
|
|
29803
|
-
setup(__props, { emit: __emit }) {
|
|
29804
|
-
const autoName = useModel(__props, "name");
|
|
29805
|
-
const autoId = useModel(__props, "id");
|
|
29707
|
+
},
|
|
29708
|
+
emits: ["update:visible", "change"],
|
|
29709
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
29710
|
+
let emits = __emit;
|
|
29806
29711
|
const props = __props;
|
|
29807
|
-
const
|
|
29808
|
-
|
|
29809
|
-
const
|
|
29810
|
-
|
|
29811
|
-
|
|
29812
|
-
|
|
29813
|
-
|
|
29814
|
-
|
|
29815
|
-
|
|
29816
|
-
|
|
29817
|
-
|
|
29818
|
-
|
|
29819
|
-
|
|
29820
|
-
|
|
29821
|
-
|
|
29822
|
-
|
|
29823
|
-
|
|
29712
|
+
const dataList = ref([]);
|
|
29713
|
+
let checkedUsersList = ref([]);
|
|
29714
|
+
const state = reactive({
|
|
29715
|
+
total: 0,
|
|
29716
|
+
pdata: null,
|
|
29717
|
+
queryParams: {
|
|
29718
|
+
orgId: -1,
|
|
29719
|
+
page: 1,
|
|
29720
|
+
pageSize: 50
|
|
29721
|
+
}
|
|
29722
|
+
});
|
|
29723
|
+
let visibleDialog = computed({
|
|
29724
|
+
get() {
|
|
29725
|
+
return props.visible;
|
|
29726
|
+
},
|
|
29727
|
+
set() {
|
|
29728
|
+
closeDialog();
|
|
29729
|
+
}
|
|
29730
|
+
});
|
|
29731
|
+
onMounted(async () => {
|
|
29732
|
+
});
|
|
29733
|
+
const resetQuery = () => {
|
|
29734
|
+
state.queryParams = {};
|
|
29735
|
+
handleQuery();
|
|
29736
|
+
};
|
|
29737
|
+
const getUserList = async () => {
|
|
29738
|
+
var _a, _b, _c, _d;
|
|
29739
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
29740
|
+
dataList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
29741
|
+
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
29742
|
+
};
|
|
29743
|
+
async function handleQuery() {
|
|
29744
|
+
state.queryParams.pageNum = 1;
|
|
29745
|
+
await getUserList();
|
|
29746
|
+
}
|
|
29747
|
+
function handleSelectUser(row) {
|
|
29748
|
+
if (!row || row.id == "") return;
|
|
29749
|
+
emits("change", row);
|
|
29750
|
+
}
|
|
29751
|
+
const handledbclick = (row) => {
|
|
29752
|
+
handleSelectUser(row);
|
|
29753
|
+
};
|
|
29754
|
+
const handleSizeChange = (val) => {
|
|
29755
|
+
state.queryParams.pageSize = val;
|
|
29756
|
+
handleQuery();
|
|
29757
|
+
};
|
|
29758
|
+
const handleCurrentChange = (val) => {
|
|
29759
|
+
state.queryParams.page = val;
|
|
29760
|
+
handleQuery();
|
|
29761
|
+
};
|
|
29762
|
+
const closeDialog = () => {
|
|
29763
|
+
checkedUsersList.value = [];
|
|
29764
|
+
emits("update:visible", false);
|
|
29765
|
+
};
|
|
29766
|
+
__expose({
|
|
29767
|
+
handleQuery
|
|
29768
|
+
});
|
|
29769
|
+
return (_ctx, _cache) => {
|
|
29770
|
+
const _component_ele_Edit = resolveComponent("ele-Edit");
|
|
29771
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
29772
|
+
const _component_el_input = resolveComponent("el-input");
|
|
29773
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
29774
|
+
const _component_el_button = resolveComponent("el-button");
|
|
29775
|
+
const _component_el_button_group = resolveComponent("el-button-group");
|
|
29776
|
+
const _component_el_form = resolveComponent("el-form");
|
|
29777
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
29778
|
+
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
29779
|
+
const _component_el_table = resolveComponent("el-table");
|
|
29780
|
+
const _component_el_pagination = resolveComponent("el-pagination");
|
|
29781
|
+
const _component_el_card = resolveComponent("el-card");
|
|
29782
|
+
const _component_el_col = resolveComponent("el-col");
|
|
29783
|
+
const _component_el_row = resolveComponent("el-row");
|
|
29784
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
29785
|
+
return openBlock(), createBlock(_component_el_dialog, {
|
|
29786
|
+
modelValue: unref(visibleDialog),
|
|
29787
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
|
|
29788
|
+
style: { "width": "70vw" },
|
|
29789
|
+
"append-to-body": "",
|
|
29790
|
+
draggable: "",
|
|
29791
|
+
"close-on-click-modal": false
|
|
29792
|
+
}, {
|
|
29793
|
+
header: withCtx(() => [
|
|
29794
|
+
createElementVNode("div", _hoisted_1$o, [
|
|
29795
|
+
createVNode(_component_el_icon, {
|
|
29796
|
+
size: "16",
|
|
29797
|
+
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
29798
|
+
}, {
|
|
29799
|
+
default: withCtx(() => [
|
|
29800
|
+
createVNode(_component_ele_Edit)
|
|
29801
|
+
]),
|
|
29802
|
+
_: 1
|
|
29803
|
+
/* STABLE */
|
|
29804
|
+
}),
|
|
29805
|
+
createElementVNode(
|
|
29806
|
+
"span",
|
|
29807
|
+
null,
|
|
29808
|
+
toDisplayString(_ctx.$t("\u9009\u62E9")) + toDisplayString(_ctx.$t(__props.title)),
|
|
29809
|
+
1
|
|
29810
|
+
/* TEXT */
|
|
29811
|
+
)
|
|
29812
|
+
])
|
|
29813
|
+
]),
|
|
29814
|
+
footer: withCtx(() => [
|
|
29815
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
29816
|
+
createVNode(_component_el_button, {
|
|
29817
|
+
icon: "ele-CircleCloseFilled",
|
|
29818
|
+
onClick: closeDialog
|
|
29819
|
+
}, {
|
|
29820
|
+
default: withCtx(() => [
|
|
29821
|
+
createTextVNode(
|
|
29822
|
+
toDisplayString(_ctx.$t("\u53D6\u6D88")),
|
|
29823
|
+
1
|
|
29824
|
+
/* TEXT */
|
|
29825
|
+
)
|
|
29826
|
+
]),
|
|
29827
|
+
_: 1
|
|
29828
|
+
/* STABLE */
|
|
29829
|
+
}),
|
|
29830
|
+
createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
|
|
29831
|
+
])
|
|
29832
|
+
]),
|
|
29833
|
+
default: withCtx(() => [
|
|
29834
|
+
createVNode(_component_el_row, { gutter: 10 }, {
|
|
29835
|
+
default: withCtx(() => [
|
|
29836
|
+
createVNode(_component_el_col, { span: 24 }, {
|
|
29837
|
+
default: withCtx(() => [
|
|
29838
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
29839
|
+
createVNode(_component_el_form, {
|
|
29840
|
+
model: state.queryParams,
|
|
29841
|
+
ref: "queryRef",
|
|
29842
|
+
inline: true
|
|
29843
|
+
}, {
|
|
29844
|
+
default: withCtx(() => [
|
|
29845
|
+
createVNode(_component_el_form_item, {
|
|
29846
|
+
label: _ctx.$t("\u5173\u952E\u5B57")
|
|
29847
|
+
}, {
|
|
29848
|
+
default: withCtx(() => [
|
|
29849
|
+
createVNode(_component_el_input, {
|
|
29850
|
+
modelValue: state.queryParams.keyword,
|
|
29851
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
|
|
29852
|
+
clearable: "",
|
|
29853
|
+
style: { "width": "150px" },
|
|
29854
|
+
onKeyup: withKeys(handleQuery, ["enter"])
|
|
29855
|
+
}, null, 8, ["modelValue"])
|
|
29856
|
+
]),
|
|
29857
|
+
_: 1
|
|
29858
|
+
/* STABLE */
|
|
29859
|
+
}, 8, ["label"]),
|
|
29860
|
+
createVNode(_component_el_form_item, null, {
|
|
29861
|
+
default: withCtx(() => [
|
|
29862
|
+
createVNode(_component_el_button_group, null, {
|
|
29863
|
+
default: withCtx(() => [
|
|
29864
|
+
createVNode(_component_el_button, {
|
|
29865
|
+
type: "primary",
|
|
29866
|
+
icon: "ele-Search",
|
|
29867
|
+
onClick: handleQuery
|
|
29868
|
+
}, {
|
|
29869
|
+
default: withCtx(() => [
|
|
29870
|
+
createTextVNode(
|
|
29871
|
+
toDisplayString(_ctx.$t("\u67E5\u8BE2")),
|
|
29872
|
+
1
|
|
29873
|
+
/* TEXT */
|
|
29874
|
+
)
|
|
29875
|
+
]),
|
|
29876
|
+
_: 1
|
|
29877
|
+
/* STABLE */
|
|
29878
|
+
}),
|
|
29879
|
+
createVNode(_component_el_button, {
|
|
29880
|
+
icon: "ele-Refresh",
|
|
29881
|
+
onClick: resetQuery
|
|
29882
|
+
}, {
|
|
29883
|
+
default: withCtx(() => [
|
|
29884
|
+
createTextVNode(
|
|
29885
|
+
toDisplayString(_ctx.$t("\u91CD\u7F6E")),
|
|
29886
|
+
1
|
|
29887
|
+
/* TEXT */
|
|
29888
|
+
)
|
|
29889
|
+
]),
|
|
29890
|
+
_: 1
|
|
29891
|
+
/* STABLE */
|
|
29892
|
+
})
|
|
29893
|
+
]),
|
|
29894
|
+
_: 1
|
|
29895
|
+
/* STABLE */
|
|
29896
|
+
}),
|
|
29897
|
+
createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
29898
|
+
]),
|
|
29899
|
+
_: 1
|
|
29900
|
+
/* STABLE */
|
|
29901
|
+
})
|
|
29902
|
+
]),
|
|
29903
|
+
_: 1
|
|
29904
|
+
/* STABLE */
|
|
29905
|
+
}, 8, ["model"]),
|
|
29906
|
+
createVNode(_component_el_card, {
|
|
29907
|
+
class: "full-table",
|
|
29908
|
+
shadow: "hover"
|
|
29909
|
+
}, {
|
|
29910
|
+
default: withCtx(() => [
|
|
29911
|
+
createVNode(_component_el_table, {
|
|
29912
|
+
ref: "refTable",
|
|
29913
|
+
data: dataList.value,
|
|
29914
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
29915
|
+
onRowDblclick: handledbclick
|
|
29916
|
+
}, {
|
|
29917
|
+
default: withCtx(() => [
|
|
29918
|
+
createVNode(_component_el_table_column, {
|
|
29919
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
29920
|
+
prop: "name",
|
|
29921
|
+
align: "center",
|
|
29922
|
+
"show-overflow-tooltip": true
|
|
29923
|
+
}, null, 8, ["label"]),
|
|
29924
|
+
createVNode(_component_el_table_column, {
|
|
29925
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
29926
|
+
prop: "phone",
|
|
29927
|
+
align: "center",
|
|
29928
|
+
"show-overflow-tooltip": true
|
|
29929
|
+
}, null, 8, ["label"]),
|
|
29930
|
+
createVNode(_component_el_table_column, {
|
|
29931
|
+
label: "\u64CD\u4F5C",
|
|
29932
|
+
width: "60",
|
|
29933
|
+
align: "center"
|
|
29934
|
+
}, {
|
|
29935
|
+
default: withCtx((scope) => [
|
|
29936
|
+
createVNode(_component_el_button, {
|
|
29937
|
+
link: "",
|
|
29938
|
+
type: "primary",
|
|
29939
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
29940
|
+
}, {
|
|
29941
|
+
default: withCtx(() => [
|
|
29942
|
+
createVNode(_component_el_icon, null, {
|
|
29943
|
+
default: withCtx(() => [
|
|
29944
|
+
createVNode(_component_ele_Plus)
|
|
29945
|
+
]),
|
|
29946
|
+
_: 1
|
|
29947
|
+
/* STABLE */
|
|
29948
|
+
})
|
|
29949
|
+
]),
|
|
29950
|
+
_: 1
|
|
29951
|
+
/* STABLE */
|
|
29952
|
+
}, 8, ["onClick"])
|
|
29953
|
+
]),
|
|
29954
|
+
_: 1
|
|
29955
|
+
/* STABLE */
|
|
29956
|
+
})
|
|
29957
|
+
]),
|
|
29958
|
+
_: 1
|
|
29959
|
+
/* STABLE */
|
|
29960
|
+
}, 8, ["data"]),
|
|
29961
|
+
createVNode(_component_el_pagination, {
|
|
29962
|
+
"current-page": state.queryParams.page,
|
|
29963
|
+
"page-size": state.queryParams.pageSize,
|
|
29964
|
+
total: state.queryParams.total,
|
|
29965
|
+
"page-sizes": [10, 20, 50, 100],
|
|
29966
|
+
background: "",
|
|
29967
|
+
onSizeChange: handleSizeChange,
|
|
29968
|
+
onCurrentChange: handleCurrentChange,
|
|
29969
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
29970
|
+
style: { "padding-bottom": "8px" }
|
|
29971
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
29972
|
+
]),
|
|
29973
|
+
_: 1
|
|
29974
|
+
/* STABLE */
|
|
29975
|
+
})
|
|
29976
|
+
])
|
|
29977
|
+
]),
|
|
29978
|
+
_: 1
|
|
29979
|
+
/* STABLE */
|
|
29980
|
+
})
|
|
29981
|
+
]),
|
|
29982
|
+
_: 1
|
|
29983
|
+
/* STABLE */
|
|
29984
|
+
})
|
|
29985
|
+
]),
|
|
29986
|
+
_: 1
|
|
29987
|
+
/* STABLE */
|
|
29988
|
+
}, 8, ["modelValue"]);
|
|
29989
|
+
};
|
|
29990
|
+
}
|
|
29991
|
+
});
|
|
29992
|
+
|
|
29993
|
+
const _hoisted_1$n = { style: { "color": "#fff" } };
|
|
29994
|
+
const _hoisted_2$f = { style: { "margin-top": "10px" } };
|
|
29995
|
+
const _hoisted_3$8 = { class: "dialog-footer" };
|
|
29996
|
+
var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
29997
|
+
__name: "dirverSelectDialog",
|
|
29998
|
+
props: {
|
|
29999
|
+
visible: {
|
|
30000
|
+
type: Boolean,
|
|
30001
|
+
default: false
|
|
30002
|
+
},
|
|
30003
|
+
title: {
|
|
30004
|
+
type: String,
|
|
30005
|
+
default: ""
|
|
30006
|
+
},
|
|
30007
|
+
data: {
|
|
30008
|
+
type: Array,
|
|
30009
|
+
default: () => []
|
|
30010
|
+
},
|
|
30011
|
+
userService: {
|
|
30012
|
+
type: String,
|
|
30013
|
+
default: "autoRes"
|
|
30014
|
+
},
|
|
30015
|
+
userAction: {
|
|
30016
|
+
type: String,
|
|
30017
|
+
default: "dirverTable"
|
|
30018
|
+
},
|
|
30019
|
+
userParams: {
|
|
30020
|
+
type: Object,
|
|
30021
|
+
default: () => {
|
|
30022
|
+
}
|
|
30023
|
+
}
|
|
30024
|
+
},
|
|
30025
|
+
emits: ["update:visible", "change"],
|
|
30026
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
30027
|
+
let emits = __emit;
|
|
30028
|
+
const props = __props;
|
|
30029
|
+
const dataList = ref([]);
|
|
30030
|
+
let checkedUsersList = ref([]);
|
|
30031
|
+
const state = reactive({
|
|
30032
|
+
total: 0,
|
|
30033
|
+
pdata: null,
|
|
30034
|
+
queryParams: {
|
|
30035
|
+
orgId: -1,
|
|
30036
|
+
page: 1,
|
|
30037
|
+
pageSize: 50
|
|
30038
|
+
}
|
|
30039
|
+
});
|
|
30040
|
+
let visibleDialog = computed({
|
|
30041
|
+
get() {
|
|
30042
|
+
return props.visible;
|
|
30043
|
+
},
|
|
30044
|
+
set() {
|
|
30045
|
+
closeDialog();
|
|
30046
|
+
}
|
|
30047
|
+
});
|
|
30048
|
+
onMounted(async () => {
|
|
30049
|
+
});
|
|
30050
|
+
const resetQuery = () => {
|
|
30051
|
+
state.queryParams = {};
|
|
30052
|
+
handleQuery();
|
|
30053
|
+
};
|
|
30054
|
+
const getUserList = async () => {
|
|
30055
|
+
var _a, _b, _c, _d;
|
|
30056
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
30057
|
+
dataList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
30058
|
+
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
30059
|
+
};
|
|
30060
|
+
async function handleQuery() {
|
|
30061
|
+
state.queryParams.pageNum = 1;
|
|
30062
|
+
await getUserList();
|
|
30063
|
+
}
|
|
30064
|
+
function handleSelectUser(row) {
|
|
30065
|
+
if (!row || row.id == "") return;
|
|
30066
|
+
emits("change", row);
|
|
30067
|
+
}
|
|
30068
|
+
const handledbclick = (row) => {
|
|
30069
|
+
handleSelectUser(row);
|
|
30070
|
+
};
|
|
30071
|
+
const handleSizeChange = (val) => {
|
|
30072
|
+
state.queryParams.pageSize = val;
|
|
30073
|
+
handleQuery();
|
|
30074
|
+
};
|
|
30075
|
+
const handleCurrentChange = (val) => {
|
|
30076
|
+
state.queryParams.page = val;
|
|
30077
|
+
handleQuery();
|
|
30078
|
+
};
|
|
30079
|
+
const closeDialog = () => {
|
|
30080
|
+
checkedUsersList.value = [];
|
|
30081
|
+
emits("update:visible", false);
|
|
30082
|
+
};
|
|
30083
|
+
__expose({
|
|
30084
|
+
handleQuery
|
|
30085
|
+
});
|
|
30086
|
+
return (_ctx, _cache) => {
|
|
30087
|
+
const _component_ele_Edit = resolveComponent("ele-Edit");
|
|
30088
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
30089
|
+
const _component_el_input = resolveComponent("el-input");
|
|
30090
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
30091
|
+
const _component_el_button = resolveComponent("el-button");
|
|
30092
|
+
const _component_el_button_group = resolveComponent("el-button-group");
|
|
30093
|
+
const _component_el_form = resolveComponent("el-form");
|
|
30094
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
30095
|
+
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
30096
|
+
const _component_el_table = resolveComponent("el-table");
|
|
30097
|
+
const _component_el_pagination = resolveComponent("el-pagination");
|
|
30098
|
+
const _component_el_card = resolveComponent("el-card");
|
|
30099
|
+
const _component_el_col = resolveComponent("el-col");
|
|
30100
|
+
const _component_el_row = resolveComponent("el-row");
|
|
30101
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
30102
|
+
return openBlock(), createBlock(_component_el_dialog, {
|
|
30103
|
+
modelValue: unref(visibleDialog),
|
|
30104
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
|
|
30105
|
+
style: { "width": "70vw" },
|
|
30106
|
+
"append-to-body": "",
|
|
30107
|
+
draggable: "",
|
|
30108
|
+
"close-on-click-modal": false
|
|
30109
|
+
}, {
|
|
30110
|
+
header: withCtx(() => [
|
|
30111
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
30112
|
+
createVNode(_component_el_icon, {
|
|
30113
|
+
size: "16",
|
|
30114
|
+
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
30115
|
+
}, {
|
|
30116
|
+
default: withCtx(() => [
|
|
30117
|
+
createVNode(_component_ele_Edit)
|
|
30118
|
+
]),
|
|
30119
|
+
_: 1
|
|
30120
|
+
/* STABLE */
|
|
30121
|
+
}),
|
|
30122
|
+
createElementVNode(
|
|
30123
|
+
"span",
|
|
30124
|
+
null,
|
|
30125
|
+
toDisplayString(_ctx.$t("\u9009\u62E9")) + toDisplayString(_ctx.$t(__props.title)),
|
|
30126
|
+
1
|
|
30127
|
+
/* TEXT */
|
|
30128
|
+
)
|
|
30129
|
+
])
|
|
30130
|
+
]),
|
|
30131
|
+
footer: withCtx(() => [
|
|
30132
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
30133
|
+
createVNode(_component_el_button, {
|
|
30134
|
+
icon: "ele-CircleCloseFilled",
|
|
30135
|
+
onClick: closeDialog
|
|
30136
|
+
}, {
|
|
30137
|
+
default: withCtx(() => [
|
|
30138
|
+
createTextVNode(
|
|
30139
|
+
toDisplayString(_ctx.$t("\u53D6\u6D88")),
|
|
30140
|
+
1
|
|
30141
|
+
/* TEXT */
|
|
30142
|
+
)
|
|
30143
|
+
]),
|
|
30144
|
+
_: 1
|
|
30145
|
+
/* STABLE */
|
|
30146
|
+
}),
|
|
30147
|
+
createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
|
|
30148
|
+
])
|
|
30149
|
+
]),
|
|
30150
|
+
default: withCtx(() => [
|
|
30151
|
+
createVNode(_component_el_row, { gutter: 10 }, {
|
|
30152
|
+
default: withCtx(() => [
|
|
30153
|
+
createVNode(_component_el_col, { span: 24 }, {
|
|
30154
|
+
default: withCtx(() => [
|
|
30155
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
30156
|
+
createVNode(_component_el_form, {
|
|
30157
|
+
model: state.queryParams,
|
|
30158
|
+
ref: "queryRef",
|
|
30159
|
+
inline: true
|
|
30160
|
+
}, {
|
|
30161
|
+
default: withCtx(() => [
|
|
30162
|
+
createVNode(_component_el_form_item, {
|
|
30163
|
+
label: _ctx.$t("\u5173\u952E\u5B57")
|
|
30164
|
+
}, {
|
|
30165
|
+
default: withCtx(() => [
|
|
30166
|
+
createVNode(_component_el_input, {
|
|
30167
|
+
modelValue: state.queryParams.keyword,
|
|
30168
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
|
|
30169
|
+
clearable: "",
|
|
30170
|
+
style: { "width": "150px" },
|
|
30171
|
+
onKeyup: withKeys(handleQuery, ["enter"])
|
|
30172
|
+
}, null, 8, ["modelValue"])
|
|
30173
|
+
]),
|
|
30174
|
+
_: 1
|
|
30175
|
+
/* STABLE */
|
|
30176
|
+
}, 8, ["label"]),
|
|
30177
|
+
createVNode(_component_el_form_item, null, {
|
|
30178
|
+
default: withCtx(() => [
|
|
30179
|
+
createVNode(_component_el_button_group, null, {
|
|
30180
|
+
default: withCtx(() => [
|
|
30181
|
+
createVNode(_component_el_button, {
|
|
30182
|
+
type: "primary",
|
|
30183
|
+
icon: "ele-Search",
|
|
30184
|
+
onClick: handleQuery
|
|
30185
|
+
}, {
|
|
30186
|
+
default: withCtx(() => [
|
|
30187
|
+
createTextVNode(
|
|
30188
|
+
toDisplayString(_ctx.$t("\u67E5\u8BE2")),
|
|
30189
|
+
1
|
|
30190
|
+
/* TEXT */
|
|
30191
|
+
)
|
|
30192
|
+
]),
|
|
30193
|
+
_: 1
|
|
30194
|
+
/* STABLE */
|
|
30195
|
+
}),
|
|
30196
|
+
createVNode(_component_el_button, {
|
|
30197
|
+
icon: "ele-Refresh",
|
|
30198
|
+
onClick: resetQuery
|
|
30199
|
+
}, {
|
|
30200
|
+
default: withCtx(() => [
|
|
30201
|
+
createTextVNode(
|
|
30202
|
+
toDisplayString(_ctx.$t("\u91CD\u7F6E")),
|
|
30203
|
+
1
|
|
30204
|
+
/* TEXT */
|
|
30205
|
+
)
|
|
30206
|
+
]),
|
|
30207
|
+
_: 1
|
|
30208
|
+
/* STABLE */
|
|
30209
|
+
})
|
|
30210
|
+
]),
|
|
30211
|
+
_: 1
|
|
30212
|
+
/* STABLE */
|
|
30213
|
+
}),
|
|
30214
|
+
createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
30215
|
+
]),
|
|
30216
|
+
_: 1
|
|
30217
|
+
/* STABLE */
|
|
30218
|
+
})
|
|
30219
|
+
]),
|
|
30220
|
+
_: 1
|
|
30221
|
+
/* STABLE */
|
|
30222
|
+
}, 8, ["model"]),
|
|
30223
|
+
createVNode(_component_el_card, {
|
|
30224
|
+
class: "full-table",
|
|
30225
|
+
shadow: "hover"
|
|
30226
|
+
}, {
|
|
30227
|
+
default: withCtx(() => [
|
|
30228
|
+
createVNode(_component_el_table, {
|
|
30229
|
+
ref: "refTable",
|
|
30230
|
+
data: dataList.value,
|
|
30231
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
30232
|
+
onRowDblclick: handledbclick
|
|
30233
|
+
}, {
|
|
30234
|
+
default: withCtx(() => [
|
|
30235
|
+
createVNode(_component_el_table_column, {
|
|
30236
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
30237
|
+
prop: "name",
|
|
30238
|
+
align: "center",
|
|
30239
|
+
"show-overflow-tooltip": true
|
|
30240
|
+
}, null, 8, ["label"]),
|
|
30241
|
+
createVNode(_component_el_table_column, {
|
|
30242
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
30243
|
+
prop: "phone",
|
|
30244
|
+
align: "center",
|
|
30245
|
+
"show-overflow-tooltip": true
|
|
30246
|
+
}, null, 8, ["label"]),
|
|
30247
|
+
createVNode(_component_el_table_column, {
|
|
30248
|
+
label: _ctx.$t("\u8F66\u724C"),
|
|
30249
|
+
prop: "license",
|
|
30250
|
+
align: "center",
|
|
30251
|
+
"show-overflow-tooltip": true
|
|
30252
|
+
}, null, 8, ["label"]),
|
|
30253
|
+
createVNode(_component_el_table_column, {
|
|
30254
|
+
label: _ctx.$t("\u5EA7\u4F4D\u6570"),
|
|
30255
|
+
prop: "seats",
|
|
30256
|
+
align: "center",
|
|
30257
|
+
"show-overflow-tooltip": true
|
|
30258
|
+
}, null, 8, ["label"]),
|
|
30259
|
+
createVNode(_component_el_table_column, {
|
|
30260
|
+
label: _ctx.$t("\u64CD\u4F5C"),
|
|
30261
|
+
width: "60",
|
|
30262
|
+
align: "center"
|
|
30263
|
+
}, {
|
|
30264
|
+
default: withCtx((scope) => [
|
|
30265
|
+
createVNode(_component_el_button, {
|
|
30266
|
+
link: "",
|
|
30267
|
+
type: "primary",
|
|
30268
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
30269
|
+
}, {
|
|
30270
|
+
default: withCtx(() => [
|
|
30271
|
+
createVNode(_component_el_icon, null, {
|
|
30272
|
+
default: withCtx(() => [
|
|
30273
|
+
createVNode(_component_ele_Plus)
|
|
30274
|
+
]),
|
|
30275
|
+
_: 1
|
|
30276
|
+
/* STABLE */
|
|
30277
|
+
})
|
|
30278
|
+
]),
|
|
30279
|
+
_: 1
|
|
30280
|
+
/* STABLE */
|
|
30281
|
+
}, 8, ["onClick"])
|
|
30282
|
+
]),
|
|
30283
|
+
_: 1
|
|
30284
|
+
/* STABLE */
|
|
30285
|
+
}, 8, ["label"])
|
|
30286
|
+
]),
|
|
30287
|
+
_: 1
|
|
30288
|
+
/* STABLE */
|
|
30289
|
+
}, 8, ["data"]),
|
|
30290
|
+
createVNode(_component_el_pagination, {
|
|
30291
|
+
"current-page": state.queryParams.page,
|
|
30292
|
+
"page-size": state.queryParams.pageSize,
|
|
30293
|
+
total: state.queryParams.total,
|
|
30294
|
+
"page-sizes": [10, 20, 50, 100],
|
|
30295
|
+
background: "",
|
|
30296
|
+
onSizeChange: handleSizeChange,
|
|
30297
|
+
onCurrentChange: handleCurrentChange,
|
|
30298
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
30299
|
+
style: { "padding-bottom": "8px" }
|
|
30300
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
30301
|
+
]),
|
|
30302
|
+
_: 1
|
|
30303
|
+
/* STABLE */
|
|
30304
|
+
})
|
|
30305
|
+
])
|
|
30306
|
+
]),
|
|
30307
|
+
_: 1
|
|
30308
|
+
/* STABLE */
|
|
30309
|
+
})
|
|
30310
|
+
]),
|
|
30311
|
+
_: 1
|
|
30312
|
+
/* STABLE */
|
|
30313
|
+
})
|
|
30314
|
+
]),
|
|
30315
|
+
_: 1
|
|
30316
|
+
/* STABLE */
|
|
30317
|
+
}, 8, ["modelValue"]);
|
|
30318
|
+
};
|
|
30319
|
+
}
|
|
30320
|
+
});
|
|
30321
|
+
|
|
30322
|
+
const _hoisted_1$m = { style: { "font-size": "14px", "line-height": "30px" } };
|
|
30323
|
+
var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
30324
|
+
...{
|
|
30325
|
+
name: "FmAutocomplete"
|
|
30326
|
+
},
|
|
30327
|
+
__name: "index",
|
|
30328
|
+
props: /* @__PURE__ */ mergeModels({
|
|
30329
|
+
placeholder: {
|
|
30330
|
+
type: String,
|
|
30331
|
+
default: "\u8BF7\u8F93\u5165\u5FEB\u901F\u641C\u7D22\u9009\u62E9"
|
|
30332
|
+
},
|
|
30333
|
+
/**
|
|
30334
|
+
* ato service name
|
|
30335
|
+
*/
|
|
30336
|
+
atoService: {
|
|
30337
|
+
type: String,
|
|
30338
|
+
default: "autoRes"
|
|
30339
|
+
},
|
|
30340
|
+
/**
|
|
30341
|
+
* ato service 下的方法
|
|
30342
|
+
*/
|
|
30343
|
+
atoAction: {
|
|
30344
|
+
type: String,
|
|
30345
|
+
default: "autoUser"
|
|
30346
|
+
},
|
|
30347
|
+
top: {
|
|
30348
|
+
type: Number,
|
|
30349
|
+
default: 15
|
|
30350
|
+
},
|
|
30351
|
+
searchsize: {
|
|
30352
|
+
type: Number,
|
|
30353
|
+
default: 22
|
|
30354
|
+
},
|
|
30355
|
+
/**
|
|
30356
|
+
* 值的属性值
|
|
30357
|
+
*/
|
|
30358
|
+
vId: {
|
|
30359
|
+
type: String,
|
|
30360
|
+
default: "id"
|
|
30361
|
+
},
|
|
30362
|
+
/**
|
|
30363
|
+
* 值的属性标签
|
|
30364
|
+
*/
|
|
30365
|
+
vName: {
|
|
30366
|
+
type: String,
|
|
30367
|
+
default: "name"
|
|
30368
|
+
},
|
|
30369
|
+
/**
|
|
30370
|
+
* 过滤出来显示的名称 加上属性标签
|
|
30371
|
+
*/
|
|
30372
|
+
vLabel: {
|
|
30373
|
+
type: String,
|
|
30374
|
+
default: ""
|
|
30375
|
+
},
|
|
30376
|
+
/**
|
|
30377
|
+
* 查询业务表ID
|
|
30378
|
+
*/
|
|
30379
|
+
qId: {
|
|
30380
|
+
type: Number,
|
|
30381
|
+
default: 0
|
|
30382
|
+
},
|
|
30383
|
+
title: {
|
|
30384
|
+
type: String,
|
|
30385
|
+
default: ""
|
|
30386
|
+
},
|
|
30387
|
+
params: {
|
|
30388
|
+
type: Object,
|
|
30389
|
+
default: () => {
|
|
30390
|
+
}
|
|
30391
|
+
},
|
|
30392
|
+
/**
|
|
30393
|
+
* 打开类型 0--用户加机构 1-- 联系人 2-- 供应商单位 3-- 银行账户 4--科目 5--线路
|
|
30394
|
+
* @default 0
|
|
30395
|
+
*/
|
|
30396
|
+
openType: {
|
|
30397
|
+
type: Number,
|
|
30398
|
+
default: 0
|
|
30399
|
+
},
|
|
30400
|
+
orgService: {
|
|
30401
|
+
type: String,
|
|
30402
|
+
default: "autoRes"
|
|
30403
|
+
},
|
|
30404
|
+
orgAction: {
|
|
30405
|
+
type: String,
|
|
30406
|
+
default: "userOrgList"
|
|
30407
|
+
},
|
|
30408
|
+
userService: {
|
|
30409
|
+
type: String,
|
|
30410
|
+
default: "autoRes"
|
|
30411
|
+
},
|
|
30412
|
+
userAction: {
|
|
30413
|
+
type: String,
|
|
30414
|
+
default: "UserTable"
|
|
30415
|
+
},
|
|
30416
|
+
subjectService: {
|
|
30417
|
+
type: String,
|
|
30418
|
+
default: "autoRes"
|
|
30419
|
+
},
|
|
30420
|
+
subjectAction: {
|
|
30421
|
+
type: String,
|
|
30422
|
+
default: "subjectTable"
|
|
30423
|
+
},
|
|
30424
|
+
accountService: {
|
|
30425
|
+
type: String,
|
|
30426
|
+
default: "autoRes"
|
|
30427
|
+
},
|
|
30428
|
+
accountAction: {
|
|
30429
|
+
type: String,
|
|
30430
|
+
default: "accountTable"
|
|
30431
|
+
},
|
|
30432
|
+
refresh: {
|
|
30433
|
+
type: Boolean,
|
|
30434
|
+
default: true
|
|
30435
|
+
}
|
|
30436
|
+
}, {
|
|
30437
|
+
"name": {
|
|
30438
|
+
required: true,
|
|
30439
|
+
default: ""
|
|
30440
|
+
},
|
|
30441
|
+
"nameModifiers": {},
|
|
30442
|
+
"id": {
|
|
30443
|
+
required: true,
|
|
30444
|
+
default: 0
|
|
30445
|
+
},
|
|
30446
|
+
"idModifiers": {}
|
|
30447
|
+
}),
|
|
30448
|
+
emits: /* @__PURE__ */ mergeModels(["select", "reset"], ["update:name", "update:id"]),
|
|
30449
|
+
setup(__props, { emit: __emit }) {
|
|
30450
|
+
const autoName = useModel(__props, "name");
|
|
30451
|
+
const autoId = useModel(__props, "id");
|
|
30452
|
+
const props = __props;
|
|
30453
|
+
const visibleopenDialog = ref(false);
|
|
30454
|
+
const tableUserDialogRef = ref();
|
|
30455
|
+
const tableSupplierUserDialogRef = ref();
|
|
30456
|
+
const tableAccountDialogRef = ref();
|
|
30457
|
+
const tableSubjectDialogRef = ref();
|
|
30458
|
+
const tableLineDialogRef = ref();
|
|
30459
|
+
const tableSupplierDialogRef = ref();
|
|
30460
|
+
const tableGuideDialogRef = ref();
|
|
30461
|
+
const tableDirverDialogRef = ref();
|
|
30462
|
+
const emit = __emit;
|
|
30463
|
+
const querySearchAsync = async (queryString, cb) => {
|
|
30464
|
+
var _a;
|
|
30465
|
+
resetValue();
|
|
30466
|
+
const postdata = { keywork: queryString, id: props.qId, ...props.params };
|
|
30467
|
+
const res = await useBaseApi(props.atoService).post(postdata, props.atoAction);
|
|
30468
|
+
const data = (_a = res.data.result) != null ? _a : [];
|
|
30469
|
+
if (data.length === 0) {
|
|
30470
|
+
return cb([]);
|
|
30471
|
+
}
|
|
29824
30472
|
const results = data.map((item) => ({
|
|
29825
30473
|
...item,
|
|
29826
30474
|
displayText: `${item[props.vName]}`
|
|
@@ -29845,7 +30493,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29845
30493
|
emit("select", value);
|
|
29846
30494
|
};
|
|
29847
30495
|
const handleRefresh = async () => {
|
|
29848
|
-
var _a;
|
|
30496
|
+
var _a, _b, _c;
|
|
29849
30497
|
await nextTick();
|
|
29850
30498
|
if (props.openType == 0) {
|
|
29851
30499
|
if (tableUserDialogRef.value) {
|
|
@@ -29870,6 +30518,10 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29870
30518
|
}
|
|
29871
30519
|
} else if (props.openType == 5) {
|
|
29872
30520
|
(_a = tableLineDialogRef.value) == null ? void 0 : _a.handleQuery();
|
|
30521
|
+
} else if (props.openType == 6) {
|
|
30522
|
+
(_b = tableGuideDialogRef.value) == null ? void 0 : _b.handleQuery();
|
|
30523
|
+
} else if (props.openType == 7) {
|
|
30524
|
+
(_c = tableDirverDialogRef.value) == null ? void 0 : _c.handleQuery();
|
|
29873
30525
|
}
|
|
29874
30526
|
};
|
|
29875
30527
|
return (_ctx, _cache) => {
|
|
@@ -29877,7 +30529,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29877
30529
|
const _component_el_autocomplete = resolveComponent("el-autocomplete");
|
|
29878
30530
|
return openBlock(), createBlock(_component_el_autocomplete, {
|
|
29879
30531
|
modelValue: autoName.value,
|
|
29880
|
-
"onUpdate:modelValue": _cache[
|
|
30532
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => autoName.value = $event),
|
|
29881
30533
|
debounce: 500,
|
|
29882
30534
|
"fetch-suggestions": querySearchAsync,
|
|
29883
30535
|
placeholder: props.placeholder,
|
|
@@ -29923,7 +30575,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29923
30575
|
_: 1
|
|
29924
30576
|
/* STABLE */
|
|
29925
30577
|
}, 8, ["size"]),
|
|
29926
|
-
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$
|
|
30578
|
+
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$A, {
|
|
29927
30579
|
key: 0,
|
|
29928
30580
|
ref_key: "tableUserDialogRef",
|
|
29929
30581
|
ref: tableUserDialogRef,
|
|
@@ -29938,7 +30590,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29938
30590
|
userParams: __props.params,
|
|
29939
30591
|
onChange: handleSelectDialogChange
|
|
29940
30592
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29941
|
-
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$
|
|
30593
|
+
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
29942
30594
|
key: 1,
|
|
29943
30595
|
ref_key: "tableSupplierUserDialogRef",
|
|
29944
30596
|
ref: tableSupplierUserDialogRef,
|
|
@@ -29950,7 +30602,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29950
30602
|
userParams: __props.params,
|
|
29951
30603
|
onChange: handleSelectDialogChange
|
|
29952
30604
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29953
|
-
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$
|
|
30605
|
+
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$z, {
|
|
29954
30606
|
key: 2,
|
|
29955
30607
|
ref_key: "tableSupplierDialogRef",
|
|
29956
30608
|
ref: tableSupplierDialogRef,
|
|
@@ -29963,7 +30615,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29963
30615
|
onChange: handleSelectDialogChange
|
|
29964
30616
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29965
30617
|
createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
|
|
29966
|
-
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$
|
|
30618
|
+
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$x, {
|
|
29967
30619
|
key: 3,
|
|
29968
30620
|
ref_key: "tableAccountDialogRef",
|
|
29969
30621
|
ref: tableAccountDialogRef,
|
|
@@ -29976,7 +30628,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29976
30628
|
onChange: handleSelectDialogChange
|
|
29977
30629
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29978
30630
|
createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
|
|
29979
|
-
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$
|
|
30631
|
+
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$w, {
|
|
29980
30632
|
key: 4,
|
|
29981
30633
|
ref_key: "tableSubjectDialogRef",
|
|
29982
30634
|
ref: tableSubjectDialogRef,
|
|
@@ -29989,7 +30641,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29989
30641
|
onChange: handleSelectDialogChange
|
|
29990
30642
|
}, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : createCommentVNode("v-if", true),
|
|
29991
30643
|
createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
|
|
29992
|
-
__props.openType == 5 ? (openBlock(), createBlock(_sfc_main$
|
|
30644
|
+
__props.openType == 5 ? (openBlock(), createBlock(_sfc_main$v, {
|
|
29993
30645
|
key: 5,
|
|
29994
30646
|
ref_key: "tableLineDialogRef",
|
|
29995
30647
|
ref: tableLineDialogRef,
|
|
@@ -30000,6 +30652,32 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
30000
30652
|
userAction: __props.userAction,
|
|
30001
30653
|
userParams: __props.params,
|
|
30002
30654
|
onChange: handleSelectDialogChange
|
|
30655
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30656
|
+
createCommentVNode("\u5BFC\u6E38\u9009\u62E9"),
|
|
30657
|
+
__props.openType == 6 ? (openBlock(), createBlock(_sfc_main$u, {
|
|
30658
|
+
key: 6,
|
|
30659
|
+
ref_key: "tableGuideDialogRef",
|
|
30660
|
+
ref: tableGuideDialogRef,
|
|
30661
|
+
visible: visibleopenDialog.value,
|
|
30662
|
+
"onUpdate:visible": _cache[7] || (_cache[7] = ($event) => visibleopenDialog.value = $event),
|
|
30663
|
+
title: __props.title,
|
|
30664
|
+
userService: __props.userService,
|
|
30665
|
+
userAction: __props.userAction,
|
|
30666
|
+
userParams: __props.params,
|
|
30667
|
+
onChange: handleSelectDialogChange
|
|
30668
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30669
|
+
createCommentVNode("\u53F8\u673A\u9009\u62E9"),
|
|
30670
|
+
__props.openType == 7 ? (openBlock(), createBlock(_sfc_main$t, {
|
|
30671
|
+
key: 7,
|
|
30672
|
+
ref_key: "tableDirverDialogRef",
|
|
30673
|
+
ref: tableDirverDialogRef,
|
|
30674
|
+
visible: visibleopenDialog.value,
|
|
30675
|
+
"onUpdate:visible": _cache[8] || (_cache[8] = ($event) => visibleopenDialog.value = $event),
|
|
30676
|
+
title: __props.title,
|
|
30677
|
+
userService: __props.userService,
|
|
30678
|
+
userAction: __props.userAction,
|
|
30679
|
+
userParams: __props.params,
|
|
30680
|
+
onChange: handleSelectDialogChange
|
|
30003
30681
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true)
|
|
30004
30682
|
]),
|
|
30005
30683
|
key: "1"
|
|
@@ -30257,7 +30935,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30257
30935
|
_: 1
|
|
30258
30936
|
/* STABLE */
|
|
30259
30937
|
}, 8, ["size"]),
|
|
30260
|
-
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$
|
|
30938
|
+
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$A, {
|
|
30261
30939
|
key: 0,
|
|
30262
30940
|
ref_key: "tableUserDialogRef",
|
|
30263
30941
|
ref: tableUserDialogRef,
|
|
@@ -30272,7 +30950,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30272
30950
|
userParams: __props.params,
|
|
30273
30951
|
onChange: handleSelectDialogChange
|
|
30274
30952
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30275
|
-
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$
|
|
30953
|
+
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
30276
30954
|
key: 1,
|
|
30277
30955
|
ref_key: "tableSupplierUserDialogRef",
|
|
30278
30956
|
ref: tableSupplierUserDialogRef,
|
|
@@ -30284,7 +30962,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30284
30962
|
userParams: __props.params,
|
|
30285
30963
|
onChange: handleSelectDialogChange
|
|
30286
30964
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30287
|
-
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$
|
|
30965
|
+
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$z, {
|
|
30288
30966
|
key: 2,
|
|
30289
30967
|
ref_key: "tableSupplierDialogRef",
|
|
30290
30968
|
ref: tableSupplierDialogRef,
|
|
@@ -30297,7 +30975,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30297
30975
|
onChange: handleSelectDialogChange
|
|
30298
30976
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30299
30977
|
createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
|
|
30300
|
-
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$
|
|
30978
|
+
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$x, {
|
|
30301
30979
|
key: 3,
|
|
30302
30980
|
ref_key: "tableAccountDialogRef",
|
|
30303
30981
|
ref: tableAccountDialogRef,
|
|
@@ -30310,7 +30988,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30310
30988
|
onChange: handleSelectDialogChange
|
|
30311
30989
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
30312
30990
|
createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
|
|
30313
|
-
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$
|
|
30991
|
+
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$w, {
|
|
30314
30992
|
key: 4,
|
|
30315
30993
|
ref_key: "tableSubjectDialogRef",
|
|
30316
30994
|
ref: tableSubjectDialogRef,
|
|
@@ -30323,7 +31001,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30323
31001
|
onChange: handleSelectDialogChange
|
|
30324
31002
|
}, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : createCommentVNode("v-if", true),
|
|
30325
31003
|
createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
|
|
30326
|
-
__props.openType == 5 ? (openBlock(), createBlock(_sfc_main$
|
|
31004
|
+
__props.openType == 5 ? (openBlock(), createBlock(_sfc_main$v, {
|
|
30327
31005
|
key: 5,
|
|
30328
31006
|
ref_key: "tableLineDialogRef",
|
|
30329
31007
|
ref: tableLineDialogRef,
|