@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.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.161 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('vue-router'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', 'vue-router', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
|
|
@@ -3882,13 +3882,13 @@
|
|
|
3882
3882
|
}
|
|
3883
3883
|
];
|
|
3884
3884
|
const COST_CATEGORIES = [
|
|
3885
|
+
{ code: "GUIDE", type: 10, name: "\u6D3E\u5BFC\u6E38", icon: "\u{1F468}\u200D", color: "#f5222d", bg: "#fff1f0" },
|
|
3885
3886
|
{ code: "HOTEL", type: 8, name: "\u623F\u8D39", icon: "\u{1F3E8}", color: "#165dff", bg: "#e8f3ff" },
|
|
3886
3887
|
{ code: "MEAL", type: 13, name: "\u9910\u8D39", icon: "\u{1F37D}\uFE0F", color: "#fa8c16", bg: "#fff7e6" },
|
|
3887
3888
|
{ code: "BUS", type: 12, name: "\u8F66\u8D39", icon: "\u{1F68C}", color: "#722ed1", bg: "#f9f0ff" },
|
|
3888
3889
|
{ code: "TICKET", type: 3, name: "\u7968\u52A1", icon: "\u{1F3AB}", color: "#13c2c2", bg: "#e6fffb" },
|
|
3889
3890
|
{ code: "SCENIC", type: 11, name: "\u666F\u70B9", icon: "\uFE0F\u{1F3DE}\uFE0F", color: "#52c41a", bg: "#f6ffed" },
|
|
3890
3891
|
{ code: "INSURE", type: 9, name: "\u4FDD\u9669", icon: "\u{1F6E1}\uFE0F", color: "#eb2f96", bg: "#fff0f6" },
|
|
3891
|
-
//{ code: 'GUIDE',type:10, name: '导服', icon: '👨', color: '#f5222d', bg: '#fff1f0' },
|
|
3892
3892
|
{ code: "VISA", type: 15, name: "\u7B7E\u8BC1", icon: "\u{1F4CB}", color: "#faad14", bg: "#fffbe6" },
|
|
3893
3893
|
{ code: "SHIP", type: 14, name: "\u6E38\u8239", icon: "\u{1F6A2}", color: "#0ea5e9", bg: "#e0f2fe" },
|
|
3894
3894
|
{ code: "TOPLAN", type: 6, name: "\u5730\u63A5", icon: "\u{1F91D}", color: "#1890ff", bg: "#e6f7ff" },
|
|
@@ -20440,7 +20440,7 @@
|
|
|
20440
20440
|
app.use(VxeUITable);
|
|
20441
20441
|
};
|
|
20442
20442
|
|
|
20443
|
-
var _sfc_main$
|
|
20443
|
+
var _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
20444
20444
|
...{
|
|
20445
20445
|
name: "FButton"
|
|
20446
20446
|
},
|
|
@@ -20510,7 +20510,7 @@
|
|
|
20510
20510
|
}
|
|
20511
20511
|
});
|
|
20512
20512
|
|
|
20513
|
-
const FButton = _sfc_main$
|
|
20513
|
+
const FButton = _sfc_main$V;
|
|
20514
20514
|
|
|
20515
20515
|
const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
|
|
20516
20516
|
const translate = (path, option, locale) => lodashEs.get(locale, path, path).replace(
|
|
@@ -21234,9 +21234,9 @@
|
|
|
21234
21234
|
return setting;
|
|
21235
21235
|
}
|
|
21236
21236
|
|
|
21237
|
-
const _hoisted_1$
|
|
21238
|
-
const _hoisted_2$
|
|
21239
|
-
var _sfc_main$
|
|
21237
|
+
const _hoisted_1$E = { key: 0 };
|
|
21238
|
+
const _hoisted_2$r = { key: 0 };
|
|
21239
|
+
var _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
21240
21240
|
...{
|
|
21241
21241
|
name: "FInput"
|
|
21242
21242
|
},
|
|
@@ -21443,7 +21443,7 @@
|
|
|
21443
21443
|
fn: vue.withCtx(() => [
|
|
21444
21444
|
__props.inputType === "amount" ? (vue.openBlock(), vue.createElementBlock(
|
|
21445
21445
|
"span",
|
|
21446
|
-
_hoisted_1$
|
|
21446
|
+
_hoisted_1$E,
|
|
21447
21447
|
vue.toDisplayString(appendTitleText.value),
|
|
21448
21448
|
1
|
|
21449
21449
|
/* TEXT */
|
|
@@ -21476,7 +21476,7 @@
|
|
|
21476
21476
|
fn: vue.withCtx(() => [
|
|
21477
21477
|
__props.inputType === "amount" ? (vue.openBlock(), vue.createElementBlock(
|
|
21478
21478
|
"span",
|
|
21479
|
-
_hoisted_2$
|
|
21479
|
+
_hoisted_2$r,
|
|
21480
21480
|
vue.toDisplayString(appendTitleText.value),
|
|
21481
21481
|
1
|
|
21482
21482
|
/* TEXT */
|
|
@@ -21489,13 +21489,13 @@
|
|
|
21489
21489
|
}
|
|
21490
21490
|
});
|
|
21491
21491
|
|
|
21492
|
-
const FInput = _sfc_main$
|
|
21492
|
+
const FInput = _sfc_main$U;
|
|
21493
21493
|
|
|
21494
|
-
const _hoisted_1$
|
|
21494
|
+
const _hoisted_1$D = {
|
|
21495
21495
|
key: 0,
|
|
21496
21496
|
class: "back_to_top"
|
|
21497
21497
|
};
|
|
21498
|
-
var _sfc_main$
|
|
21498
|
+
var _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
21499
21499
|
...{
|
|
21500
21500
|
name: "FLayoutPage"
|
|
21501
21501
|
},
|
|
@@ -21557,7 +21557,7 @@
|
|
|
21557
21557
|
},
|
|
21558
21558
|
[
|
|
21559
21559
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
21560
|
-
__props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
21560
|
+
__props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
|
|
21561
21561
|
isShowGoTopButton.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
21562
21562
|
key: 0,
|
|
21563
21563
|
onClick: backToTop
|
|
@@ -21585,9 +21585,9 @@
|
|
|
21585
21585
|
}
|
|
21586
21586
|
});
|
|
21587
21587
|
|
|
21588
|
-
const FLayoutPage = _sfc_main$
|
|
21588
|
+
const FLayoutPage = _sfc_main$T;
|
|
21589
21589
|
|
|
21590
|
-
var _sfc_main$
|
|
21590
|
+
var _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
21591
21591
|
...{
|
|
21592
21592
|
name: "FLayoutPageItem"
|
|
21593
21593
|
},
|
|
@@ -21615,7 +21615,7 @@
|
|
|
21615
21615
|
}
|
|
21616
21616
|
});
|
|
21617
21617
|
|
|
21618
|
-
const FLayoutPageItem = _sfc_main$
|
|
21618
|
+
const FLayoutPageItem = _sfc_main$S;
|
|
21619
21619
|
|
|
21620
21620
|
function debounce(func, delay = 500, immediate, resultCallback) {
|
|
21621
21621
|
let timer = null;
|
|
@@ -21658,8 +21658,8 @@
|
|
|
21658
21658
|
return name.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
21659
21659
|
}
|
|
21660
21660
|
|
|
21661
|
-
const _hoisted_1$
|
|
21662
|
-
var _sfc_main$
|
|
21661
|
+
const _hoisted_1$C = ["id"];
|
|
21662
|
+
var _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
21663
21663
|
...{
|
|
21664
21664
|
name: "FChart"
|
|
21665
21665
|
},
|
|
@@ -21743,7 +21743,7 @@
|
|
|
21743
21743
|
id: __props.id,
|
|
21744
21744
|
ref_key: "echartRef",
|
|
21745
21745
|
ref: echartRef
|
|
21746
|
-
}, null, 8, _hoisted_1$
|
|
21746
|
+
}, null, 8, _hoisted_1$C), [
|
|
21747
21747
|
[vue.vShow, !formatEmpty.value]
|
|
21748
21748
|
]),
|
|
21749
21749
|
formatEmpty.value ? vue.renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
@@ -21758,13 +21758,13 @@
|
|
|
21758
21758
|
}
|
|
21759
21759
|
});
|
|
21760
21760
|
|
|
21761
|
-
const FChart = _sfc_main$
|
|
21761
|
+
const FChart = _sfc_main$R;
|
|
21762
21762
|
|
|
21763
|
-
const _hoisted_1$
|
|
21763
|
+
const _hoisted_1$B = {
|
|
21764
21764
|
key: 1,
|
|
21765
21765
|
class: "f_select__pagination"
|
|
21766
21766
|
};
|
|
21767
|
-
var _sfc_main$
|
|
21767
|
+
var _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
21768
21768
|
...{
|
|
21769
21769
|
name: "FSelect"
|
|
21770
21770
|
},
|
|
@@ -21977,7 +21977,7 @@
|
|
|
21977
21977
|
128
|
|
21978
21978
|
/* KEYED_FRAGMENT */
|
|
21979
21979
|
)),
|
|
21980
|
-
__props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
21980
|
+
__props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
21981
21981
|
vue.createVNode(_component_el_pagination, vue.mergeProps({
|
|
21982
21982
|
"current-page": __props.paginationOption.currentPage,
|
|
21983
21983
|
"onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
|
|
@@ -22015,9 +22015,9 @@
|
|
|
22015
22015
|
}
|
|
22016
22016
|
});
|
|
22017
22017
|
|
|
22018
|
-
const FSelect = _sfc_main$
|
|
22018
|
+
const FSelect = _sfc_main$Q;
|
|
22019
22019
|
|
|
22020
|
-
var _sfc_main$
|
|
22020
|
+
var _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
22021
22021
|
...{
|
|
22022
22022
|
name: "RenderComp"
|
|
22023
22023
|
},
|
|
@@ -22037,12 +22037,12 @@
|
|
|
22037
22037
|
}
|
|
22038
22038
|
});
|
|
22039
22039
|
|
|
22040
|
-
const _hoisted_1$
|
|
22041
|
-
const _hoisted_2$
|
|
22042
|
-
const _hoisted_3$
|
|
22040
|
+
const _hoisted_1$A = { class: "inside_box" };
|
|
22041
|
+
const _hoisted_2$q = { class: "inside_box_title" };
|
|
22042
|
+
const _hoisted_3$i = { class: "check-box" };
|
|
22043
22043
|
const _hoisted_4$9 = { class: "more_dropdown_icon" };
|
|
22044
22044
|
const _hoisted_5$8 = { class: "out_box" };
|
|
22045
|
-
var _sfc_main$
|
|
22045
|
+
var _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
22046
22046
|
...{
|
|
22047
22047
|
name: "MoreChoose"
|
|
22048
22048
|
},
|
|
@@ -22180,8 +22180,8 @@
|
|
|
22180
22180
|
])
|
|
22181
22181
|
]),
|
|
22182
22182
|
default: vue.withCtx(() => [
|
|
22183
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
22184
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
22183
|
+
vue.createElementVNode("div", _hoisted_1$A, [
|
|
22184
|
+
vue.createElementVNode("div", _hoisted_2$q, [
|
|
22185
22185
|
vue.createElementVNode(
|
|
22186
22186
|
"div",
|
|
22187
22187
|
null,
|
|
@@ -22189,7 +22189,7 @@
|
|
|
22189
22189
|
1
|
|
22190
22190
|
/* TEXT */
|
|
22191
22191
|
),
|
|
22192
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
22192
|
+
vue.createElementVNode("div", _hoisted_3$i, [
|
|
22193
22193
|
vue.createVNode(_component_el_button, {
|
|
22194
22194
|
size: "small",
|
|
22195
22195
|
link: "",
|
|
@@ -22357,7 +22357,7 @@
|
|
|
22357
22357
|
};
|
|
22358
22358
|
}
|
|
22359
22359
|
|
|
22360
|
-
var _sfc_main$
|
|
22360
|
+
var _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
22361
22361
|
...{
|
|
22362
22362
|
name: "FQueryCondition"
|
|
22363
22363
|
},
|
|
@@ -22776,7 +22776,7 @@
|
|
|
22776
22776
|
opt.labelRender ? {
|
|
22777
22777
|
name: "label",
|
|
22778
22778
|
fn: vue.withCtx(() => [
|
|
22779
|
-
vue.createVNode(_sfc_main$
|
|
22779
|
+
vue.createVNode(_sfc_main$P, {
|
|
22780
22780
|
form: vue.unref(queryState).form,
|
|
22781
22781
|
render: opt.labelRender
|
|
22782
22782
|
}, null, 8, ["form", "render"])
|
|
@@ -22872,7 +22872,7 @@
|
|
|
22872
22872
|
_: 1
|
|
22873
22873
|
/* STABLE */
|
|
22874
22874
|
})) : vue.createCommentVNode("v-if", true),
|
|
22875
|
-
vue.createVNode(_sfc_main$
|
|
22875
|
+
vue.createVNode(_sfc_main$O, {
|
|
22876
22876
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22877
22877
|
moreCheckList: __props.moreCheckList,
|
|
22878
22878
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22898,7 +22898,7 @@
|
|
|
22898
22898
|
}
|
|
22899
22899
|
});
|
|
22900
22900
|
|
|
22901
|
-
var _sfc_main$
|
|
22901
|
+
var _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
22902
22902
|
...{
|
|
22903
22903
|
name: "RenderCol"
|
|
22904
22904
|
},
|
|
@@ -23054,17 +23054,17 @@
|
|
|
23054
23054
|
};
|
|
23055
23055
|
}
|
|
23056
23056
|
|
|
23057
|
-
const _hoisted_1$
|
|
23057
|
+
const _hoisted_1$z = {
|
|
23058
23058
|
key: 0,
|
|
23059
23059
|
class: "table_query_condition"
|
|
23060
23060
|
};
|
|
23061
|
-
const _hoisted_2$
|
|
23062
|
-
const _hoisted_3$
|
|
23061
|
+
const _hoisted_2$p = ["element-loading-text"];
|
|
23062
|
+
const _hoisted_3$h = { key: 2 };
|
|
23063
23063
|
const _hoisted_4$8 = {
|
|
23064
23064
|
key: 0,
|
|
23065
23065
|
class: "f-table-select__page"
|
|
23066
23066
|
};
|
|
23067
|
-
var _sfc_main$
|
|
23067
|
+
var _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
23068
23068
|
...{
|
|
23069
23069
|
name: "FSelectTable"
|
|
23070
23070
|
},
|
|
@@ -23686,9 +23686,9 @@
|
|
|
23686
23686
|
style: vue.normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
|
|
23687
23687
|
},
|
|
23688
23688
|
[
|
|
23689
|
-
__props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
23689
|
+
__props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
|
|
23690
23690
|
vue.createVNode(
|
|
23691
|
-
_sfc_main$
|
|
23691
|
+
_sfc_main$N,
|
|
23692
23692
|
vue.mergeProps({
|
|
23693
23693
|
ref_key: "fQueryConditionRef",
|
|
23694
23694
|
ref: fQueryConditionRef,
|
|
@@ -23814,7 +23814,7 @@
|
|
|
23814
23814
|
fixed: item.fixed
|
|
23815
23815
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
23816
23816
|
default: vue.withCtx((scope) => [
|
|
23817
|
-
item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
23817
|
+
item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$M, {
|
|
23818
23818
|
key: 0,
|
|
23819
23819
|
column: item,
|
|
23820
23820
|
row: scope.row,
|
|
@@ -23825,7 +23825,7 @@
|
|
|
23825
23825
|
key: 1,
|
|
23826
23826
|
scope
|
|
23827
23827
|
}) : vue.createCommentVNode("v-if", true),
|
|
23828
|
-
!item.render && !item.slotName ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
23828
|
+
!item.render && !item.slotName ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$h, [
|
|
23829
23829
|
vue.createElementVNode(
|
|
23830
23830
|
"span",
|
|
23831
23831
|
null,
|
|
@@ -23859,7 +23859,7 @@
|
|
|
23859
23859
|
total: __props.table.total
|
|
23860
23860
|
}, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
|
|
23861
23861
|
])) : vue.createCommentVNode("v-if", true)
|
|
23862
|
-
], 8, _hoisted_2$
|
|
23862
|
+
], 8, _hoisted_2$p)), [
|
|
23863
23863
|
[_directive_loading, __props.tableLoading]
|
|
23864
23864
|
]),
|
|
23865
23865
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
@@ -23877,11 +23877,11 @@
|
|
|
23877
23877
|
}
|
|
23878
23878
|
});
|
|
23879
23879
|
|
|
23880
|
-
const FSelectTable = _sfc_main$
|
|
23880
|
+
const FSelectTable = _sfc_main$L;
|
|
23881
23881
|
|
|
23882
|
-
const FQueryCondition = _sfc_main$
|
|
23882
|
+
const FQueryCondition = _sfc_main$N;
|
|
23883
23883
|
|
|
23884
|
-
var _sfc_main$
|
|
23884
|
+
var _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
23885
23885
|
...{
|
|
23886
23886
|
name: "RenderComp"
|
|
23887
23887
|
},
|
|
@@ -23901,7 +23901,7 @@
|
|
|
23901
23901
|
}
|
|
23902
23902
|
});
|
|
23903
23903
|
|
|
23904
|
-
var _sfc_main$
|
|
23904
|
+
var _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
23905
23905
|
...{
|
|
23906
23906
|
name: "RenderBtn"
|
|
23907
23907
|
},
|
|
@@ -23921,12 +23921,12 @@
|
|
|
23921
23921
|
}
|
|
23922
23922
|
});
|
|
23923
23923
|
|
|
23924
|
-
const _hoisted_1$
|
|
23924
|
+
const _hoisted_1$y = {
|
|
23925
23925
|
key: 1,
|
|
23926
23926
|
class: "text_show"
|
|
23927
23927
|
};
|
|
23928
|
-
const _hoisted_2$
|
|
23929
|
-
var _sfc_main$
|
|
23928
|
+
const _hoisted_2$o = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
23929
|
+
var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
23930
23930
|
...{
|
|
23931
23931
|
name: "FForm"
|
|
23932
23932
|
},
|
|
@@ -24177,7 +24177,7 @@
|
|
|
24177
24177
|
}) : vue.createCommentVNode("v-if", true),
|
|
24178
24178
|
item.textShow ? (vue.openBlock(), vue.createElementBlock(
|
|
24179
24179
|
"span",
|
|
24180
|
-
_hoisted_1$
|
|
24180
|
+
_hoisted_1$y,
|
|
24181
24181
|
vue.toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
|
|
24182
24182
|
1
|
|
24183
24183
|
/* TEXT */
|
|
@@ -24297,7 +24297,7 @@
|
|
|
24297
24297
|
item.labelSlotName || item.labelRender ? {
|
|
24298
24298
|
name: "label",
|
|
24299
24299
|
fn: vue.withCtx(() => [
|
|
24300
|
-
item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
24300
|
+
item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$K, {
|
|
24301
24301
|
key: 0,
|
|
24302
24302
|
render: item.labelRender,
|
|
24303
24303
|
item
|
|
@@ -24319,7 +24319,7 @@
|
|
|
24319
24319
|
/* UNKEYED_FRAGMENT */
|
|
24320
24320
|
)),
|
|
24321
24321
|
vue.createCommentVNode(" \u6309\u94AE "),
|
|
24322
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
24322
|
+
vue.createElementVNode("div", _hoisted_2$o, [
|
|
24323
24323
|
__props.formOpts.btnSlotName ? vue.renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : vue.createCommentVNode("v-if", true),
|
|
24324
24324
|
!__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (vue.openBlock(true), vue.createElementBlock(
|
|
24325
24325
|
vue.Fragment,
|
|
@@ -24329,7 +24329,7 @@
|
|
|
24329
24329
|
vue.Fragment,
|
|
24330
24330
|
null,
|
|
24331
24331
|
[
|
|
24332
|
-
val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
24332
|
+
val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$J, {
|
|
24333
24333
|
key: index,
|
|
24334
24334
|
item: val,
|
|
24335
24335
|
render: val.render
|
|
@@ -24376,10 +24376,10 @@
|
|
|
24376
24376
|
}
|
|
24377
24377
|
});
|
|
24378
24378
|
|
|
24379
|
-
const FForm = _sfc_main$
|
|
24379
|
+
const FForm = _sfc_main$I;
|
|
24380
24380
|
|
|
24381
|
-
const _hoisted_1$
|
|
24382
|
-
var _sfc_main$
|
|
24381
|
+
const _hoisted_1$x = ["src"];
|
|
24382
|
+
var _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
24383
24383
|
...{
|
|
24384
24384
|
name: "svgIcon"
|
|
24385
24385
|
},
|
|
@@ -24450,7 +24450,7 @@
|
|
|
24450
24450
|
vue.createElementVNode("img", {
|
|
24451
24451
|
src: getIconName.value,
|
|
24452
24452
|
style: vue.normalizeStyle(setIconSvgInsStyle.value)
|
|
24453
|
-
}, null, 12, _hoisted_1$
|
|
24453
|
+
}, null, 12, _hoisted_1$x)
|
|
24454
24454
|
],
|
|
24455
24455
|
4
|
|
24456
24456
|
/* STYLE */
|
|
@@ -24477,13 +24477,13 @@
|
|
|
24477
24477
|
}
|
|
24478
24478
|
}
|
|
24479
24479
|
if (!app._context.components[`SvgIcon`]) {
|
|
24480
|
-
app.component("SvgIcon", _sfc_main$
|
|
24480
|
+
app.component("SvgIcon", _sfc_main$H);
|
|
24481
24481
|
}
|
|
24482
24482
|
}
|
|
24483
24483
|
|
|
24484
24484
|
const emitter = mitt();
|
|
24485
24485
|
|
|
24486
|
-
var _sfc_main$
|
|
24486
|
+
var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
24487
24487
|
...{
|
|
24488
24488
|
name: "FLayout"
|
|
24489
24489
|
},
|
|
@@ -24569,7 +24569,7 @@
|
|
|
24569
24569
|
}
|
|
24570
24570
|
});
|
|
24571
24571
|
|
|
24572
|
-
const FLayout = _sfc_main$
|
|
24572
|
+
const FLayout = _sfc_main$G;
|
|
24573
24573
|
|
|
24574
24574
|
function commonFunction() {
|
|
24575
24575
|
const { copy, isSupported } = core.useClipboard();
|
|
@@ -24846,9 +24846,9 @@
|
|
|
24846
24846
|
// },
|
|
24847
24847
|
};
|
|
24848
24848
|
|
|
24849
|
-
const _hoisted_1$
|
|
24850
|
-
const _hoisted_2$
|
|
24851
|
-
const _hoisted_3$
|
|
24849
|
+
const _hoisted_1$w = { class: "layout-breadcrumb-seting" };
|
|
24850
|
+
const _hoisted_2$n = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
24851
|
+
const _hoisted_3$g = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
24852
24852
|
const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
24853
24853
|
const _hoisted_5$7 = { style: { "margin": "10px 0" } };
|
|
24854
24854
|
const _hoisted_6$3 = { class: "layout-breadcrumb-seting-bar-flex mt15" };
|
|
@@ -24971,7 +24971,7 @@
|
|
|
24971
24971
|
class: "traditionalColors-chines",
|
|
24972
24972
|
style: { "cursor": "grab", "color": "gray" }
|
|
24973
24973
|
};
|
|
24974
|
-
var _sfc_main$
|
|
24974
|
+
var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
24975
24975
|
...{
|
|
24976
24976
|
name: "FSettings"
|
|
24977
24977
|
},
|
|
@@ -25235,7 +25235,7 @@
|
|
|
25235
25235
|
const _component_el_col = vue.resolveComponent("el-col");
|
|
25236
25236
|
const _component_el_row = vue.resolveComponent("el-row");
|
|
25237
25237
|
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
25238
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
25238
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
|
|
25239
25239
|
vue.createVNode(_component_el_drawer, {
|
|
25240
25240
|
title: _ctx.$t("message.layout.configTitle"),
|
|
25241
25241
|
modelValue: getThemeConfig.value.isDrawer,
|
|
@@ -25260,10 +25260,10 @@
|
|
|
25260
25260
|
_: 1
|
|
25261
25261
|
/* STABLE */
|
|
25262
25262
|
}),
|
|
25263
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
25263
|
+
vue.createElementVNode("div", _hoisted_2$n, [
|
|
25264
25264
|
vue.createElementVNode(
|
|
25265
25265
|
"div",
|
|
25266
|
-
_hoisted_3$
|
|
25266
|
+
_hoisted_3$g,
|
|
25267
25267
|
vue.toDisplayString(_ctx.$t("message.layout.themeColors")),
|
|
25268
25268
|
1
|
|
25269
25269
|
/* TEXT */
|
|
@@ -26734,9 +26734,9 @@
|
|
|
26734
26734
|
}
|
|
26735
26735
|
});
|
|
26736
26736
|
|
|
26737
|
-
const FSettings = _sfc_main$
|
|
26737
|
+
const FSettings = _sfc_main$F;
|
|
26738
26738
|
|
|
26739
|
-
var _sfc_main$
|
|
26739
|
+
var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
26740
26740
|
...{
|
|
26741
26741
|
name: "FModifyRecord"
|
|
26742
26742
|
},
|
|
@@ -26999,10 +26999,10 @@
|
|
|
26999
26999
|
}
|
|
27000
27000
|
});
|
|
27001
27001
|
|
|
27002
|
-
const FModifyRecord = _sfc_main$
|
|
27002
|
+
const FModifyRecord = _sfc_main$E;
|
|
27003
27003
|
|
|
27004
|
-
const _hoisted_1$
|
|
27005
|
-
var _sfc_main$
|
|
27004
|
+
const _hoisted_1$v = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
|
|
27005
|
+
var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
27006
27006
|
...{
|
|
27007
27007
|
name: "FmSelect"
|
|
27008
27008
|
},
|
|
@@ -27161,7 +27161,7 @@
|
|
|
27161
27161
|
onClear: handelClear
|
|
27162
27162
|
}, {
|
|
27163
27163
|
header: vue.withCtx(() => [
|
|
27164
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
27164
|
+
vue.createElementVNode("div", _hoisted_1$v, [
|
|
27165
27165
|
vue.createVNode(_component_el_icon, {
|
|
27166
27166
|
color: "#13c2c2",
|
|
27167
27167
|
size: __props.freshSize,
|
|
@@ -27203,9 +27203,9 @@
|
|
|
27203
27203
|
}
|
|
27204
27204
|
});
|
|
27205
27205
|
|
|
27206
|
-
const FmSelect = _sfc_main$
|
|
27206
|
+
const FmSelect = _sfc_main$D;
|
|
27207
27207
|
|
|
27208
|
-
var _sfc_main$
|
|
27208
|
+
var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
27209
27209
|
...{
|
|
27210
27210
|
name: "Fminputdropdown"
|
|
27211
27211
|
},
|
|
@@ -27414,9 +27414,9 @@
|
|
|
27414
27414
|
}
|
|
27415
27415
|
});
|
|
27416
27416
|
|
|
27417
|
-
const Fminputdropdown = _sfc_main$
|
|
27417
|
+
const Fminputdropdown = _sfc_main$C;
|
|
27418
27418
|
|
|
27419
|
-
var _sfc_main$
|
|
27419
|
+
var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
27420
27420
|
...{ name: "FmInputNumber" },
|
|
27421
27421
|
__name: "index",
|
|
27422
27422
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -27581,14 +27581,14 @@
|
|
|
27581
27581
|
}
|
|
27582
27582
|
});
|
|
27583
27583
|
|
|
27584
|
-
const FmInputNumber = _sfc_main$
|
|
27584
|
+
const FmInputNumber = _sfc_main$B;
|
|
27585
27585
|
|
|
27586
|
-
const _hoisted_1$
|
|
27587
|
-
const _hoisted_2$
|
|
27588
|
-
const _hoisted_3$
|
|
27586
|
+
const _hoisted_1$u = { style: { "color": "#fff" } };
|
|
27587
|
+
const _hoisted_2$m = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
27588
|
+
const _hoisted_3$f = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
27589
27589
|
const _hoisted_4$6 = { style: { "margin-top": "10px" } };
|
|
27590
27590
|
const _hoisted_5$6 = { class: "dialog-footer" };
|
|
27591
|
-
var _sfc_main$
|
|
27591
|
+
var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
27592
27592
|
__name: "userSelectDialog",
|
|
27593
27593
|
props: {
|
|
27594
27594
|
visible: {
|
|
@@ -27727,7 +27727,7 @@
|
|
|
27727
27727
|
"close-on-click-modal": false
|
|
27728
27728
|
}, {
|
|
27729
27729
|
header: vue.withCtx(() => [
|
|
27730
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
27730
|
+
vue.createElementVNode("div", _hoisted_1$u, [
|
|
27731
27731
|
vue.createVNode(_component_el_icon, {
|
|
27732
27732
|
size: "16",
|
|
27733
27733
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -27773,7 +27773,7 @@
|
|
|
27773
27773
|
default: vue.withCtx(() => [
|
|
27774
27774
|
vue.createElementVNode(
|
|
27775
27775
|
"p",
|
|
27776
|
-
_hoisted_2$
|
|
27776
|
+
_hoisted_2$m,
|
|
27777
27777
|
vue.toDisplayString(_ctx.$t("\u673A\u6784")),
|
|
27778
27778
|
1
|
|
27779
27779
|
/* TEXT */
|
|
@@ -27795,7 +27795,7 @@
|
|
|
27795
27795
|
default: vue.withCtx(() => [
|
|
27796
27796
|
vue.createElementVNode(
|
|
27797
27797
|
"p",
|
|
27798
|
-
_hoisted_3$
|
|
27798
|
+
_hoisted_3$f,
|
|
27799
27799
|
vue.toDisplayString(_ctx.$t(__props.title)) + vue.toDisplayString(_ctx.$t("\u5217\u8868")),
|
|
27800
27800
|
1
|
|
27801
27801
|
/* TEXT */
|
|
@@ -27979,10 +27979,10 @@
|
|
|
27979
27979
|
}
|
|
27980
27980
|
});
|
|
27981
27981
|
|
|
27982
|
-
const _hoisted_1$
|
|
27983
|
-
const _hoisted_2$
|
|
27984
|
-
const _hoisted_3$
|
|
27985
|
-
var _sfc_main$
|
|
27982
|
+
const _hoisted_1$t = { style: { "color": "#fff" } };
|
|
27983
|
+
const _hoisted_2$l = { style: { "margin-top": "10px" } };
|
|
27984
|
+
const _hoisted_3$e = { class: "dialog-footer" };
|
|
27985
|
+
var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
27986
27986
|
__name: "supplierSelectDialog",
|
|
27987
27987
|
props: {
|
|
27988
27988
|
visible: {
|
|
@@ -28104,7 +28104,7 @@
|
|
|
28104
28104
|
"close-on-click-modal": false
|
|
28105
28105
|
}, {
|
|
28106
28106
|
header: vue.withCtx(() => [
|
|
28107
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
28107
|
+
vue.createElementVNode("div", _hoisted_1$t, [
|
|
28108
28108
|
vue.createVNode(_component_el_icon, {
|
|
28109
28109
|
size: "16",
|
|
28110
28110
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -28125,7 +28125,7 @@
|
|
|
28125
28125
|
])
|
|
28126
28126
|
]),
|
|
28127
28127
|
footer: vue.withCtx(() => [
|
|
28128
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
28128
|
+
vue.createElementVNode("div", _hoisted_3$e, [
|
|
28129
28129
|
vue.createVNode(_component_el_button, {
|
|
28130
28130
|
icon: "ele-CircleCloseFilled",
|
|
28131
28131
|
onClick: closeDialog
|
|
@@ -28148,7 +28148,7 @@
|
|
|
28148
28148
|
default: vue.withCtx(() => [
|
|
28149
28149
|
vue.createVNode(_component_el_col, { span: 24 }, {
|
|
28150
28150
|
default: vue.withCtx(() => [
|
|
28151
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
28151
|
+
vue.createElementVNode("div", _hoisted_2$l, [
|
|
28152
28152
|
vue.createVNode(_component_el_form, {
|
|
28153
28153
|
model: state.queryParams,
|
|
28154
28154
|
ref: "queryRef",
|
|
@@ -28327,7 +28327,7 @@
|
|
|
28327
28327
|
/* STABLE */
|
|
28328
28328
|
}, 8, ["data"]),
|
|
28329
28329
|
vue.createVNode(_component_el_pagination, {
|
|
28330
|
-
|
|
28330
|
+
"current-page": state.queryParams.page,
|
|
28331
28331
|
"page-size": state.queryParams.pageSize,
|
|
28332
28332
|
total: state.queryParams.total,
|
|
28333
28333
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -28336,7 +28336,7 @@
|
|
|
28336
28336
|
onCurrentChange: handleCurrentChange,
|
|
28337
28337
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
28338
28338
|
style: { "padding-bottom": "8px" }
|
|
28339
|
-
}, null, 8, ["
|
|
28339
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
28340
28340
|
]),
|
|
28341
28341
|
_: 1
|
|
28342
28342
|
/* STABLE */
|
|
@@ -28358,10 +28358,10 @@
|
|
|
28358
28358
|
}
|
|
28359
28359
|
});
|
|
28360
28360
|
|
|
28361
|
-
const _hoisted_1$
|
|
28362
|
-
const _hoisted_2$
|
|
28363
|
-
const _hoisted_3$
|
|
28364
|
-
var _sfc_main$
|
|
28361
|
+
const _hoisted_1$s = { style: { "color": "#fff" } };
|
|
28362
|
+
const _hoisted_2$k = { style: { "margin-top": "10px" } };
|
|
28363
|
+
const _hoisted_3$d = { class: "dialog-footer" };
|
|
28364
|
+
var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
28365
28365
|
__name: "supplierUserSelectDialog",
|
|
28366
28366
|
props: {
|
|
28367
28367
|
visible: {
|
|
@@ -28476,7 +28476,7 @@
|
|
|
28476
28476
|
"close-on-click-modal": false
|
|
28477
28477
|
}, {
|
|
28478
28478
|
header: vue.withCtx(() => [
|
|
28479
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
28479
|
+
vue.createElementVNode("div", _hoisted_1$s, [
|
|
28480
28480
|
vue.createVNode(_component_el_icon, {
|
|
28481
28481
|
size: "16",
|
|
28482
28482
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -28497,7 +28497,7 @@
|
|
|
28497
28497
|
])
|
|
28498
28498
|
]),
|
|
28499
28499
|
footer: vue.withCtx(() => [
|
|
28500
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
28500
|
+
vue.createElementVNode("div", _hoisted_3$d, [
|
|
28501
28501
|
vue.createVNode(_component_el_button, {
|
|
28502
28502
|
icon: "ele-CircleCloseFilled",
|
|
28503
28503
|
onClick: closeDialog
|
|
@@ -28520,7 +28520,7 @@
|
|
|
28520
28520
|
default: vue.withCtx(() => [
|
|
28521
28521
|
vue.createVNode(_component_el_col, { span: 24 }, {
|
|
28522
28522
|
default: vue.withCtx(() => [
|
|
28523
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
28523
|
+
vue.createElementVNode("div", _hoisted_2$k, [
|
|
28524
28524
|
vue.createVNode(_component_el_form, {
|
|
28525
28525
|
model: state.queryParams,
|
|
28526
28526
|
ref: "queryRef",
|
|
@@ -28656,7 +28656,7 @@
|
|
|
28656
28656
|
/* STABLE */
|
|
28657
28657
|
}, 8, ["data"]),
|
|
28658
28658
|
vue.createVNode(_component_el_pagination, {
|
|
28659
|
-
|
|
28659
|
+
"current-page": state.queryParams.page,
|
|
28660
28660
|
"page-size": state.queryParams.pageSize,
|
|
28661
28661
|
total: state.queryParams.total,
|
|
28662
28662
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -28665,7 +28665,7 @@
|
|
|
28665
28665
|
onCurrentChange: handleCurrentChange,
|
|
28666
28666
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
28667
28667
|
style: { "padding-bottom": "8px" }
|
|
28668
|
-
}, null, 8, ["
|
|
28668
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
28669
28669
|
]),
|
|
28670
28670
|
_: 1
|
|
28671
28671
|
/* STABLE */
|
|
@@ -28687,10 +28687,10 @@
|
|
|
28687
28687
|
}
|
|
28688
28688
|
});
|
|
28689
28689
|
|
|
28690
|
-
const _hoisted_1$
|
|
28691
|
-
const _hoisted_2$
|
|
28692
|
-
const _hoisted_3$
|
|
28693
|
-
var _sfc_main$
|
|
28690
|
+
const _hoisted_1$r = { style: { "color": "#fff" } };
|
|
28691
|
+
const _hoisted_2$j = { style: { "margin-top": "10px" } };
|
|
28692
|
+
const _hoisted_3$c = { class: "dialog-footer" };
|
|
28693
|
+
var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
28694
28694
|
__name: "accountSelectDialog",
|
|
28695
28695
|
props: {
|
|
28696
28696
|
visible: {
|
|
@@ -28803,7 +28803,7 @@
|
|
|
28803
28803
|
"close-on-click-modal": false
|
|
28804
28804
|
}, {
|
|
28805
28805
|
header: vue.withCtx(() => [
|
|
28806
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
28806
|
+
vue.createElementVNode("div", _hoisted_1$r, [
|
|
28807
28807
|
vue.createVNode(_component_el_icon, {
|
|
28808
28808
|
size: "16",
|
|
28809
28809
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -28824,7 +28824,7 @@
|
|
|
28824
28824
|
])
|
|
28825
28825
|
]),
|
|
28826
28826
|
footer: vue.withCtx(() => [
|
|
28827
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
28827
|
+
vue.createElementVNode("div", _hoisted_3$c, [
|
|
28828
28828
|
vue.createVNode(_component_el_button, {
|
|
28829
28829
|
icon: "ele-CircleCloseFilled",
|
|
28830
28830
|
onClick: closeDialog
|
|
@@ -28847,7 +28847,7 @@
|
|
|
28847
28847
|
default: vue.withCtx(() => [
|
|
28848
28848
|
vue.createVNode(_component_el_col, { span: 24 }, {
|
|
28849
28849
|
default: vue.withCtx(() => [
|
|
28850
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
28850
|
+
vue.createElementVNode("div", _hoisted_2$j, [
|
|
28851
28851
|
vue.createVNode(_component_el_form, {
|
|
28852
28852
|
model: state.queryParams,
|
|
28853
28853
|
ref: "queryRef",
|
|
@@ -28977,7 +28977,7 @@
|
|
|
28977
28977
|
/* STABLE */
|
|
28978
28978
|
}, 8, ["data"]),
|
|
28979
28979
|
vue.createVNode(_component_el_pagination, {
|
|
28980
|
-
|
|
28980
|
+
"current-page": state.queryParams.page,
|
|
28981
28981
|
"page-size": state.queryParams.pageSize,
|
|
28982
28982
|
total: state.queryParams.total,
|
|
28983
28983
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -28986,7 +28986,7 @@
|
|
|
28986
28986
|
onCurrentChange: handleCurrentChange,
|
|
28987
28987
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
28988
28988
|
style: { "padding-bottom": "8px" }
|
|
28989
|
-
}, null, 8, ["
|
|
28989
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
28990
28990
|
]),
|
|
28991
28991
|
_: 1
|
|
28992
28992
|
/* STABLE */
|
|
@@ -29008,12 +29008,12 @@
|
|
|
29008
29008
|
}
|
|
29009
29009
|
});
|
|
29010
29010
|
|
|
29011
|
-
const _hoisted_1$
|
|
29012
|
-
const _hoisted_2$
|
|
29013
|
-
const _hoisted_3$
|
|
29011
|
+
const _hoisted_1$q = { style: { "color": "#fff" } };
|
|
29012
|
+
const _hoisted_2$i = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
29013
|
+
const _hoisted_3$b = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
29014
29014
|
const _hoisted_4$5 = { style: { "margin-top": "10px" } };
|
|
29015
29015
|
const _hoisted_5$5 = { class: "dialog-footer" };
|
|
29016
|
-
var _sfc_main$
|
|
29016
|
+
var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
29017
29017
|
__name: "subjectSelectDialog",
|
|
29018
29018
|
props: {
|
|
29019
29019
|
visible: {
|
|
@@ -29119,7 +29119,7 @@
|
|
|
29119
29119
|
"close-on-click-modal": false
|
|
29120
29120
|
}, {
|
|
29121
29121
|
header: vue.withCtx(() => [
|
|
29122
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
29122
|
+
vue.createElementVNode("div", _hoisted_1$q, [
|
|
29123
29123
|
vue.createVNode(_component_el_icon, {
|
|
29124
29124
|
size: "16",
|
|
29125
29125
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -29165,7 +29165,7 @@
|
|
|
29165
29165
|
default: vue.withCtx(() => [
|
|
29166
29166
|
vue.createElementVNode(
|
|
29167
29167
|
"p",
|
|
29168
|
-
_hoisted_2$
|
|
29168
|
+
_hoisted_2$i,
|
|
29169
29169
|
vue.toDisplayString(_ctx.$t("\u5927\u7C7B")),
|
|
29170
29170
|
1
|
|
29171
29171
|
/* TEXT */
|
|
@@ -29183,7 +29183,7 @@
|
|
|
29183
29183
|
default: vue.withCtx(() => [
|
|
29184
29184
|
vue.createElementVNode(
|
|
29185
29185
|
"p",
|
|
29186
|
-
_hoisted_3$
|
|
29186
|
+
_hoisted_3$b,
|
|
29187
29187
|
vue.toDisplayString(_ctx.$t(__props.title)) + vue.toDisplayString(_ctx.$t("\u5217\u8868")),
|
|
29188
29188
|
1
|
|
29189
29189
|
/* TEXT */
|
|
@@ -29334,10 +29334,10 @@
|
|
|
29334
29334
|
}
|
|
29335
29335
|
});
|
|
29336
29336
|
|
|
29337
|
-
const _hoisted_1$
|
|
29338
|
-
const _hoisted_2$
|
|
29339
|
-
const _hoisted_3$
|
|
29340
|
-
var _sfc_main$
|
|
29337
|
+
const _hoisted_1$p = { style: { "color": "#fff" } };
|
|
29338
|
+
const _hoisted_2$h = { style: { "margin-top": "10px" } };
|
|
29339
|
+
const _hoisted_3$a = { class: "dialog-footer" };
|
|
29340
|
+
var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
29341
29341
|
__name: "linSelectDialog",
|
|
29342
29342
|
props: {
|
|
29343
29343
|
visible: {
|
|
@@ -29452,7 +29452,7 @@
|
|
|
29452
29452
|
"close-on-click-modal": false
|
|
29453
29453
|
}, {
|
|
29454
29454
|
header: vue.withCtx(() => [
|
|
29455
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
29455
|
+
vue.createElementVNode("div", _hoisted_1$p, [
|
|
29456
29456
|
vue.createVNode(_component_el_icon, {
|
|
29457
29457
|
size: "16",
|
|
29458
29458
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -29473,7 +29473,7 @@
|
|
|
29473
29473
|
])
|
|
29474
29474
|
]),
|
|
29475
29475
|
footer: vue.withCtx(() => [
|
|
29476
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
29476
|
+
vue.createElementVNode("div", _hoisted_3$a, [
|
|
29477
29477
|
vue.createVNode(_component_el_button, {
|
|
29478
29478
|
icon: "ele-CircleCloseFilled",
|
|
29479
29479
|
onClick: closeDialog
|
|
@@ -29496,7 +29496,7 @@
|
|
|
29496
29496
|
default: vue.withCtx(() => [
|
|
29497
29497
|
vue.createVNode(_component_el_col, { span: 24 }, {
|
|
29498
29498
|
default: vue.withCtx(() => [
|
|
29499
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
29499
|
+
vue.createElementVNode("div", _hoisted_2$h, [
|
|
29500
29500
|
vue.createVNode(_component_el_form, {
|
|
29501
29501
|
model: state.queryParams,
|
|
29502
29502
|
ref: "queryRef",
|
|
@@ -29644,7 +29644,7 @@
|
|
|
29644
29644
|
/* STABLE */
|
|
29645
29645
|
}, 8, ["data"]),
|
|
29646
29646
|
vue.createVNode(_component_el_pagination, {
|
|
29647
|
-
|
|
29647
|
+
"current-page": state.queryParams.page,
|
|
29648
29648
|
"page-size": state.queryParams.pageSize,
|
|
29649
29649
|
total: state.queryParams.total,
|
|
29650
29650
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -29653,7 +29653,7 @@
|
|
|
29653
29653
|
onCurrentChange: handleCurrentChange,
|
|
29654
29654
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
29655
29655
|
style: { "padding-bottom": "8px" }
|
|
29656
|
-
}, null, 8, ["
|
|
29656
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
29657
29657
|
]),
|
|
29658
29658
|
_: 1
|
|
29659
29659
|
/* STABLE */
|
|
@@ -29675,91 +29675,23 @@
|
|
|
29675
29675
|
}
|
|
29676
29676
|
});
|
|
29677
29677
|
|
|
29678
|
-
const _hoisted_1$
|
|
29679
|
-
|
|
29680
|
-
|
|
29681
|
-
|
|
29682
|
-
|
|
29683
|
-
|
|
29684
|
-
|
|
29685
|
-
|
|
29686
|
-
|
|
29687
|
-
default: "\u8BF7\u8F93\u5165\u5FEB\u901F\u641C\u7D22\u9009\u62E9"
|
|
29688
|
-
},
|
|
29689
|
-
/**
|
|
29690
|
-
* ato service name
|
|
29691
|
-
*/
|
|
29692
|
-
atoService: {
|
|
29693
|
-
type: String,
|
|
29694
|
-
default: "autoRes"
|
|
29695
|
-
},
|
|
29696
|
-
/**
|
|
29697
|
-
* ato service 下的方法
|
|
29698
|
-
*/
|
|
29699
|
-
atoAction: {
|
|
29700
|
-
type: String,
|
|
29701
|
-
default: "autoUser"
|
|
29702
|
-
},
|
|
29703
|
-
top: {
|
|
29704
|
-
type: Number,
|
|
29705
|
-
default: 15
|
|
29706
|
-
},
|
|
29707
|
-
searchsize: {
|
|
29708
|
-
type: Number,
|
|
29709
|
-
default: 22
|
|
29710
|
-
},
|
|
29711
|
-
/**
|
|
29712
|
-
* 值的属性值
|
|
29713
|
-
*/
|
|
29714
|
-
vId: {
|
|
29715
|
-
type: String,
|
|
29716
|
-
default: "id"
|
|
29717
|
-
},
|
|
29718
|
-
/**
|
|
29719
|
-
* 值的属性标签
|
|
29720
|
-
*/
|
|
29721
|
-
vName: {
|
|
29722
|
-
type: String,
|
|
29723
|
-
default: "name"
|
|
29724
|
-
},
|
|
29725
|
-
/**
|
|
29726
|
-
* 过滤出来显示的名称 加上属性标签
|
|
29727
|
-
*/
|
|
29728
|
-
vLabel: {
|
|
29729
|
-
type: String,
|
|
29730
|
-
default: ""
|
|
29731
|
-
},
|
|
29732
|
-
/**
|
|
29733
|
-
* 查询业务表ID
|
|
29734
|
-
*/
|
|
29735
|
-
qId: {
|
|
29736
|
-
type: Number,
|
|
29737
|
-
default: 0
|
|
29678
|
+
const _hoisted_1$o = { style: { "color": "#fff" } };
|
|
29679
|
+
const _hoisted_2$g = { style: { "margin-top": "10px" } };
|
|
29680
|
+
const _hoisted_3$9 = { class: "dialog-footer" };
|
|
29681
|
+
var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
29682
|
+
__name: "guideSelectDialog",
|
|
29683
|
+
props: {
|
|
29684
|
+
visible: {
|
|
29685
|
+
type: Boolean,
|
|
29686
|
+
default: false
|
|
29738
29687
|
},
|
|
29739
29688
|
title: {
|
|
29740
29689
|
type: String,
|
|
29741
29690
|
default: ""
|
|
29742
29691
|
},
|
|
29743
|
-
|
|
29744
|
-
type:
|
|
29745
|
-
default: () =>
|
|
29746
|
-
}
|
|
29747
|
-
},
|
|
29748
|
-
/**
|
|
29749
|
-
* 打开类型 0--用户加机构 1-- 联系人 2-- 供应商单位 3-- 银行账户 4--科目 5--线路
|
|
29750
|
-
* @default 0
|
|
29751
|
-
*/
|
|
29752
|
-
openType: {
|
|
29753
|
-
type: Number,
|
|
29754
|
-
default: 0
|
|
29755
|
-
},
|
|
29756
|
-
orgService: {
|
|
29757
|
-
type: String,
|
|
29758
|
-
default: "autoRes"
|
|
29759
|
-
},
|
|
29760
|
-
orgAction: {
|
|
29761
|
-
type: String,
|
|
29762
|
-
default: "userOrgList"
|
|
29692
|
+
data: {
|
|
29693
|
+
type: Array,
|
|
29694
|
+
default: () => []
|
|
29763
29695
|
},
|
|
29764
29696
|
userService: {
|
|
29765
29697
|
type: String,
|
|
@@ -29767,62 +29699,778 @@
|
|
|
29767
29699
|
},
|
|
29768
29700
|
userAction: {
|
|
29769
29701
|
type: String,
|
|
29770
|
-
default: "
|
|
29771
|
-
},
|
|
29772
|
-
subjectService: {
|
|
29773
|
-
type: String,
|
|
29774
|
-
default: "autoRes"
|
|
29775
|
-
},
|
|
29776
|
-
subjectAction: {
|
|
29777
|
-
type: String,
|
|
29778
|
-
default: "subjectTable"
|
|
29779
|
-
},
|
|
29780
|
-
accountService: {
|
|
29781
|
-
type: String,
|
|
29782
|
-
default: "autoRes"
|
|
29783
|
-
},
|
|
29784
|
-
accountAction: {
|
|
29785
|
-
type: String,
|
|
29786
|
-
default: "accountTable"
|
|
29702
|
+
default: "guideTable"
|
|
29787
29703
|
},
|
|
29788
|
-
|
|
29789
|
-
type:
|
|
29790
|
-
default:
|
|
29704
|
+
userParams: {
|
|
29705
|
+
type: Object,
|
|
29706
|
+
default: () => {
|
|
29707
|
+
}
|
|
29791
29708
|
}
|
|
29792
|
-
},
|
|
29793
|
-
|
|
29794
|
-
|
|
29795
|
-
|
|
29796
|
-
},
|
|
29797
|
-
"nameModifiers": {},
|
|
29798
|
-
"id": {
|
|
29799
|
-
required: true,
|
|
29800
|
-
default: 0
|
|
29801
|
-
},
|
|
29802
|
-
"idModifiers": {}
|
|
29803
|
-
}),
|
|
29804
|
-
emits: /* @__PURE__ */ vue.mergeModels(["select", "reset"], ["update:name", "update:id"]),
|
|
29805
|
-
setup(__props, { emit: __emit }) {
|
|
29806
|
-
const autoName = vue.useModel(__props, "name");
|
|
29807
|
-
const autoId = vue.useModel(__props, "id");
|
|
29709
|
+
},
|
|
29710
|
+
emits: ["update:visible", "change"],
|
|
29711
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
29712
|
+
let emits = __emit;
|
|
29808
29713
|
const props = __props;
|
|
29809
|
-
const
|
|
29810
|
-
|
|
29811
|
-
const
|
|
29812
|
-
|
|
29813
|
-
|
|
29814
|
-
|
|
29815
|
-
|
|
29816
|
-
|
|
29817
|
-
|
|
29818
|
-
|
|
29819
|
-
|
|
29820
|
-
|
|
29821
|
-
|
|
29822
|
-
|
|
29823
|
-
|
|
29824
|
-
|
|
29825
|
-
|
|
29714
|
+
const dataList = vue.ref([]);
|
|
29715
|
+
let checkedUsersList = vue.ref([]);
|
|
29716
|
+
const state = vue.reactive({
|
|
29717
|
+
total: 0,
|
|
29718
|
+
pdata: null,
|
|
29719
|
+
queryParams: {
|
|
29720
|
+
orgId: -1,
|
|
29721
|
+
page: 1,
|
|
29722
|
+
pageSize: 50
|
|
29723
|
+
}
|
|
29724
|
+
});
|
|
29725
|
+
let visibleDialog = vue.computed({
|
|
29726
|
+
get() {
|
|
29727
|
+
return props.visible;
|
|
29728
|
+
},
|
|
29729
|
+
set() {
|
|
29730
|
+
closeDialog();
|
|
29731
|
+
}
|
|
29732
|
+
});
|
|
29733
|
+
vue.onMounted(async () => {
|
|
29734
|
+
});
|
|
29735
|
+
const resetQuery = () => {
|
|
29736
|
+
state.queryParams = {};
|
|
29737
|
+
handleQuery();
|
|
29738
|
+
};
|
|
29739
|
+
const getUserList = async () => {
|
|
29740
|
+
var _a, _b, _c, _d;
|
|
29741
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
29742
|
+
dataList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
29743
|
+
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
29744
|
+
};
|
|
29745
|
+
async function handleQuery() {
|
|
29746
|
+
state.queryParams.pageNum = 1;
|
|
29747
|
+
await getUserList();
|
|
29748
|
+
}
|
|
29749
|
+
function handleSelectUser(row) {
|
|
29750
|
+
if (!row || row.id == "") return;
|
|
29751
|
+
emits("change", row);
|
|
29752
|
+
}
|
|
29753
|
+
const handledbclick = (row) => {
|
|
29754
|
+
handleSelectUser(row);
|
|
29755
|
+
};
|
|
29756
|
+
const handleSizeChange = (val) => {
|
|
29757
|
+
state.queryParams.pageSize = val;
|
|
29758
|
+
handleQuery();
|
|
29759
|
+
};
|
|
29760
|
+
const handleCurrentChange = (val) => {
|
|
29761
|
+
state.queryParams.page = val;
|
|
29762
|
+
handleQuery();
|
|
29763
|
+
};
|
|
29764
|
+
const closeDialog = () => {
|
|
29765
|
+
checkedUsersList.value = [];
|
|
29766
|
+
emits("update:visible", false);
|
|
29767
|
+
};
|
|
29768
|
+
__expose({
|
|
29769
|
+
handleQuery
|
|
29770
|
+
});
|
|
29771
|
+
return (_ctx, _cache) => {
|
|
29772
|
+
const _component_ele_Edit = vue.resolveComponent("ele-Edit");
|
|
29773
|
+
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
29774
|
+
const _component_el_input = vue.resolveComponent("el-input");
|
|
29775
|
+
const _component_el_form_item = vue.resolveComponent("el-form-item");
|
|
29776
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
29777
|
+
const _component_el_button_group = vue.resolveComponent("el-button-group");
|
|
29778
|
+
const _component_el_form = vue.resolveComponent("el-form");
|
|
29779
|
+
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
29780
|
+
const _component_ele_Plus = vue.resolveComponent("ele-Plus");
|
|
29781
|
+
const _component_el_table = vue.resolveComponent("el-table");
|
|
29782
|
+
const _component_el_pagination = vue.resolveComponent("el-pagination");
|
|
29783
|
+
const _component_el_card = vue.resolveComponent("el-card");
|
|
29784
|
+
const _component_el_col = vue.resolveComponent("el-col");
|
|
29785
|
+
const _component_el_row = vue.resolveComponent("el-row");
|
|
29786
|
+
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
29787
|
+
return vue.openBlock(), vue.createBlock(_component_el_dialog, {
|
|
29788
|
+
modelValue: vue.unref(visibleDialog),
|
|
29789
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
|
|
29790
|
+
style: { "width": "70vw" },
|
|
29791
|
+
"append-to-body": "",
|
|
29792
|
+
draggable: "",
|
|
29793
|
+
"close-on-click-modal": false
|
|
29794
|
+
}, {
|
|
29795
|
+
header: vue.withCtx(() => [
|
|
29796
|
+
vue.createElementVNode("div", _hoisted_1$o, [
|
|
29797
|
+
vue.createVNode(_component_el_icon, {
|
|
29798
|
+
size: "16",
|
|
29799
|
+
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
29800
|
+
}, {
|
|
29801
|
+
default: vue.withCtx(() => [
|
|
29802
|
+
vue.createVNode(_component_ele_Edit)
|
|
29803
|
+
]),
|
|
29804
|
+
_: 1
|
|
29805
|
+
/* STABLE */
|
|
29806
|
+
}),
|
|
29807
|
+
vue.createElementVNode(
|
|
29808
|
+
"span",
|
|
29809
|
+
null,
|
|
29810
|
+
vue.toDisplayString(_ctx.$t("\u9009\u62E9")) + vue.toDisplayString(_ctx.$t(__props.title)),
|
|
29811
|
+
1
|
|
29812
|
+
/* TEXT */
|
|
29813
|
+
)
|
|
29814
|
+
])
|
|
29815
|
+
]),
|
|
29816
|
+
footer: vue.withCtx(() => [
|
|
29817
|
+
vue.createElementVNode("div", _hoisted_3$9, [
|
|
29818
|
+
vue.createVNode(_component_el_button, {
|
|
29819
|
+
icon: "ele-CircleCloseFilled",
|
|
29820
|
+
onClick: closeDialog
|
|
29821
|
+
}, {
|
|
29822
|
+
default: vue.withCtx(() => [
|
|
29823
|
+
vue.createTextVNode(
|
|
29824
|
+
vue.toDisplayString(_ctx.$t("\u53D6\u6D88")),
|
|
29825
|
+
1
|
|
29826
|
+
/* TEXT */
|
|
29827
|
+
)
|
|
29828
|
+
]),
|
|
29829
|
+
_: 1
|
|
29830
|
+
/* STABLE */
|
|
29831
|
+
}),
|
|
29832
|
+
vue.createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
|
|
29833
|
+
])
|
|
29834
|
+
]),
|
|
29835
|
+
default: vue.withCtx(() => [
|
|
29836
|
+
vue.createVNode(_component_el_row, { gutter: 10 }, {
|
|
29837
|
+
default: vue.withCtx(() => [
|
|
29838
|
+
vue.createVNode(_component_el_col, { span: 24 }, {
|
|
29839
|
+
default: vue.withCtx(() => [
|
|
29840
|
+
vue.createElementVNode("div", _hoisted_2$g, [
|
|
29841
|
+
vue.createVNode(_component_el_form, {
|
|
29842
|
+
model: state.queryParams,
|
|
29843
|
+
ref: "queryRef",
|
|
29844
|
+
inline: true
|
|
29845
|
+
}, {
|
|
29846
|
+
default: vue.withCtx(() => [
|
|
29847
|
+
vue.createVNode(_component_el_form_item, {
|
|
29848
|
+
label: _ctx.$t("\u5173\u952E\u5B57")
|
|
29849
|
+
}, {
|
|
29850
|
+
default: vue.withCtx(() => [
|
|
29851
|
+
vue.createVNode(_component_el_input, {
|
|
29852
|
+
modelValue: state.queryParams.keyword,
|
|
29853
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
|
|
29854
|
+
clearable: "",
|
|
29855
|
+
style: { "width": "150px" },
|
|
29856
|
+
onKeyup: vue.withKeys(handleQuery, ["enter"])
|
|
29857
|
+
}, null, 8, ["modelValue"])
|
|
29858
|
+
]),
|
|
29859
|
+
_: 1
|
|
29860
|
+
/* STABLE */
|
|
29861
|
+
}, 8, ["label"]),
|
|
29862
|
+
vue.createVNode(_component_el_form_item, null, {
|
|
29863
|
+
default: vue.withCtx(() => [
|
|
29864
|
+
vue.createVNode(_component_el_button_group, null, {
|
|
29865
|
+
default: vue.withCtx(() => [
|
|
29866
|
+
vue.createVNode(_component_el_button, {
|
|
29867
|
+
type: "primary",
|
|
29868
|
+
icon: "ele-Search",
|
|
29869
|
+
onClick: handleQuery
|
|
29870
|
+
}, {
|
|
29871
|
+
default: vue.withCtx(() => [
|
|
29872
|
+
vue.createTextVNode(
|
|
29873
|
+
vue.toDisplayString(_ctx.$t("\u67E5\u8BE2")),
|
|
29874
|
+
1
|
|
29875
|
+
/* TEXT */
|
|
29876
|
+
)
|
|
29877
|
+
]),
|
|
29878
|
+
_: 1
|
|
29879
|
+
/* STABLE */
|
|
29880
|
+
}),
|
|
29881
|
+
vue.createVNode(_component_el_button, {
|
|
29882
|
+
icon: "ele-Refresh",
|
|
29883
|
+
onClick: resetQuery
|
|
29884
|
+
}, {
|
|
29885
|
+
default: vue.withCtx(() => [
|
|
29886
|
+
vue.createTextVNode(
|
|
29887
|
+
vue.toDisplayString(_ctx.$t("\u91CD\u7F6E")),
|
|
29888
|
+
1
|
|
29889
|
+
/* TEXT */
|
|
29890
|
+
)
|
|
29891
|
+
]),
|
|
29892
|
+
_: 1
|
|
29893
|
+
/* STABLE */
|
|
29894
|
+
})
|
|
29895
|
+
]),
|
|
29896
|
+
_: 1
|
|
29897
|
+
/* STABLE */
|
|
29898
|
+
}),
|
|
29899
|
+
vue.createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
29900
|
+
]),
|
|
29901
|
+
_: 1
|
|
29902
|
+
/* STABLE */
|
|
29903
|
+
})
|
|
29904
|
+
]),
|
|
29905
|
+
_: 1
|
|
29906
|
+
/* STABLE */
|
|
29907
|
+
}, 8, ["model"]),
|
|
29908
|
+
vue.createVNode(_component_el_card, {
|
|
29909
|
+
class: "full-table",
|
|
29910
|
+
shadow: "hover"
|
|
29911
|
+
}, {
|
|
29912
|
+
default: vue.withCtx(() => [
|
|
29913
|
+
vue.createVNode(_component_el_table, {
|
|
29914
|
+
ref: "refTable",
|
|
29915
|
+
data: dataList.value,
|
|
29916
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
29917
|
+
onRowDblclick: handledbclick
|
|
29918
|
+
}, {
|
|
29919
|
+
default: vue.withCtx(() => [
|
|
29920
|
+
vue.createVNode(_component_el_table_column, {
|
|
29921
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
29922
|
+
prop: "name",
|
|
29923
|
+
align: "center",
|
|
29924
|
+
"show-overflow-tooltip": true
|
|
29925
|
+
}, null, 8, ["label"]),
|
|
29926
|
+
vue.createVNode(_component_el_table_column, {
|
|
29927
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
29928
|
+
prop: "phone",
|
|
29929
|
+
align: "center",
|
|
29930
|
+
"show-overflow-tooltip": true
|
|
29931
|
+
}, null, 8, ["label"]),
|
|
29932
|
+
vue.createVNode(_component_el_table_column, {
|
|
29933
|
+
label: "\u64CD\u4F5C",
|
|
29934
|
+
width: "60",
|
|
29935
|
+
align: "center"
|
|
29936
|
+
}, {
|
|
29937
|
+
default: vue.withCtx((scope) => [
|
|
29938
|
+
vue.createVNode(_component_el_button, {
|
|
29939
|
+
link: "",
|
|
29940
|
+
type: "primary",
|
|
29941
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
29942
|
+
}, {
|
|
29943
|
+
default: vue.withCtx(() => [
|
|
29944
|
+
vue.createVNode(_component_el_icon, null, {
|
|
29945
|
+
default: vue.withCtx(() => [
|
|
29946
|
+
vue.createVNode(_component_ele_Plus)
|
|
29947
|
+
]),
|
|
29948
|
+
_: 1
|
|
29949
|
+
/* STABLE */
|
|
29950
|
+
})
|
|
29951
|
+
]),
|
|
29952
|
+
_: 1
|
|
29953
|
+
/* STABLE */
|
|
29954
|
+
}, 8, ["onClick"])
|
|
29955
|
+
]),
|
|
29956
|
+
_: 1
|
|
29957
|
+
/* STABLE */
|
|
29958
|
+
})
|
|
29959
|
+
]),
|
|
29960
|
+
_: 1
|
|
29961
|
+
/* STABLE */
|
|
29962
|
+
}, 8, ["data"]),
|
|
29963
|
+
vue.createVNode(_component_el_pagination, {
|
|
29964
|
+
"current-page": state.queryParams.page,
|
|
29965
|
+
"page-size": state.queryParams.pageSize,
|
|
29966
|
+
total: state.queryParams.total,
|
|
29967
|
+
"page-sizes": [10, 20, 50, 100],
|
|
29968
|
+
background: "",
|
|
29969
|
+
onSizeChange: handleSizeChange,
|
|
29970
|
+
onCurrentChange: handleCurrentChange,
|
|
29971
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
29972
|
+
style: { "padding-bottom": "8px" }
|
|
29973
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
29974
|
+
]),
|
|
29975
|
+
_: 1
|
|
29976
|
+
/* STABLE */
|
|
29977
|
+
})
|
|
29978
|
+
])
|
|
29979
|
+
]),
|
|
29980
|
+
_: 1
|
|
29981
|
+
/* STABLE */
|
|
29982
|
+
})
|
|
29983
|
+
]),
|
|
29984
|
+
_: 1
|
|
29985
|
+
/* STABLE */
|
|
29986
|
+
})
|
|
29987
|
+
]),
|
|
29988
|
+
_: 1
|
|
29989
|
+
/* STABLE */
|
|
29990
|
+
}, 8, ["modelValue"]);
|
|
29991
|
+
};
|
|
29992
|
+
}
|
|
29993
|
+
});
|
|
29994
|
+
|
|
29995
|
+
const _hoisted_1$n = { style: { "color": "#fff" } };
|
|
29996
|
+
const _hoisted_2$f = { style: { "margin-top": "10px" } };
|
|
29997
|
+
const _hoisted_3$8 = { class: "dialog-footer" };
|
|
29998
|
+
var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
29999
|
+
__name: "dirverSelectDialog",
|
|
30000
|
+
props: {
|
|
30001
|
+
visible: {
|
|
30002
|
+
type: Boolean,
|
|
30003
|
+
default: false
|
|
30004
|
+
},
|
|
30005
|
+
title: {
|
|
30006
|
+
type: String,
|
|
30007
|
+
default: ""
|
|
30008
|
+
},
|
|
30009
|
+
data: {
|
|
30010
|
+
type: Array,
|
|
30011
|
+
default: () => []
|
|
30012
|
+
},
|
|
30013
|
+
userService: {
|
|
30014
|
+
type: String,
|
|
30015
|
+
default: "autoRes"
|
|
30016
|
+
},
|
|
30017
|
+
userAction: {
|
|
30018
|
+
type: String,
|
|
30019
|
+
default: "dirverTable"
|
|
30020
|
+
},
|
|
30021
|
+
userParams: {
|
|
30022
|
+
type: Object,
|
|
30023
|
+
default: () => {
|
|
30024
|
+
}
|
|
30025
|
+
}
|
|
30026
|
+
},
|
|
30027
|
+
emits: ["update:visible", "change"],
|
|
30028
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
30029
|
+
let emits = __emit;
|
|
30030
|
+
const props = __props;
|
|
30031
|
+
const dataList = vue.ref([]);
|
|
30032
|
+
let checkedUsersList = vue.ref([]);
|
|
30033
|
+
const state = vue.reactive({
|
|
30034
|
+
total: 0,
|
|
30035
|
+
pdata: null,
|
|
30036
|
+
queryParams: {
|
|
30037
|
+
orgId: -1,
|
|
30038
|
+
page: 1,
|
|
30039
|
+
pageSize: 50
|
|
30040
|
+
}
|
|
30041
|
+
});
|
|
30042
|
+
let visibleDialog = vue.computed({
|
|
30043
|
+
get() {
|
|
30044
|
+
return props.visible;
|
|
30045
|
+
},
|
|
30046
|
+
set() {
|
|
30047
|
+
closeDialog();
|
|
30048
|
+
}
|
|
30049
|
+
});
|
|
30050
|
+
vue.onMounted(async () => {
|
|
30051
|
+
});
|
|
30052
|
+
const resetQuery = () => {
|
|
30053
|
+
state.queryParams = {};
|
|
30054
|
+
handleQuery();
|
|
30055
|
+
};
|
|
30056
|
+
const getUserList = async () => {
|
|
30057
|
+
var _a, _b, _c, _d;
|
|
30058
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
30059
|
+
dataList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
30060
|
+
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
30061
|
+
};
|
|
30062
|
+
async function handleQuery() {
|
|
30063
|
+
state.queryParams.pageNum = 1;
|
|
30064
|
+
await getUserList();
|
|
30065
|
+
}
|
|
30066
|
+
function handleSelectUser(row) {
|
|
30067
|
+
if (!row || row.id == "") return;
|
|
30068
|
+
emits("change", row);
|
|
30069
|
+
}
|
|
30070
|
+
const handledbclick = (row) => {
|
|
30071
|
+
handleSelectUser(row);
|
|
30072
|
+
};
|
|
30073
|
+
const handleSizeChange = (val) => {
|
|
30074
|
+
state.queryParams.pageSize = val;
|
|
30075
|
+
handleQuery();
|
|
30076
|
+
};
|
|
30077
|
+
const handleCurrentChange = (val) => {
|
|
30078
|
+
state.queryParams.page = val;
|
|
30079
|
+
handleQuery();
|
|
30080
|
+
};
|
|
30081
|
+
const closeDialog = () => {
|
|
30082
|
+
checkedUsersList.value = [];
|
|
30083
|
+
emits("update:visible", false);
|
|
30084
|
+
};
|
|
30085
|
+
__expose({
|
|
30086
|
+
handleQuery
|
|
30087
|
+
});
|
|
30088
|
+
return (_ctx, _cache) => {
|
|
30089
|
+
const _component_ele_Edit = vue.resolveComponent("ele-Edit");
|
|
30090
|
+
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
30091
|
+
const _component_el_input = vue.resolveComponent("el-input");
|
|
30092
|
+
const _component_el_form_item = vue.resolveComponent("el-form-item");
|
|
30093
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
30094
|
+
const _component_el_button_group = vue.resolveComponent("el-button-group");
|
|
30095
|
+
const _component_el_form = vue.resolveComponent("el-form");
|
|
30096
|
+
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
30097
|
+
const _component_ele_Plus = vue.resolveComponent("ele-Plus");
|
|
30098
|
+
const _component_el_table = vue.resolveComponent("el-table");
|
|
30099
|
+
const _component_el_pagination = vue.resolveComponent("el-pagination");
|
|
30100
|
+
const _component_el_card = vue.resolveComponent("el-card");
|
|
30101
|
+
const _component_el_col = vue.resolveComponent("el-col");
|
|
30102
|
+
const _component_el_row = vue.resolveComponent("el-row");
|
|
30103
|
+
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
30104
|
+
return vue.openBlock(), vue.createBlock(_component_el_dialog, {
|
|
30105
|
+
modelValue: vue.unref(visibleDialog),
|
|
30106
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
|
|
30107
|
+
style: { "width": "70vw" },
|
|
30108
|
+
"append-to-body": "",
|
|
30109
|
+
draggable: "",
|
|
30110
|
+
"close-on-click-modal": false
|
|
30111
|
+
}, {
|
|
30112
|
+
header: vue.withCtx(() => [
|
|
30113
|
+
vue.createElementVNode("div", _hoisted_1$n, [
|
|
30114
|
+
vue.createVNode(_component_el_icon, {
|
|
30115
|
+
size: "16",
|
|
30116
|
+
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
30117
|
+
}, {
|
|
30118
|
+
default: vue.withCtx(() => [
|
|
30119
|
+
vue.createVNode(_component_ele_Edit)
|
|
30120
|
+
]),
|
|
30121
|
+
_: 1
|
|
30122
|
+
/* STABLE */
|
|
30123
|
+
}),
|
|
30124
|
+
vue.createElementVNode(
|
|
30125
|
+
"span",
|
|
30126
|
+
null,
|
|
30127
|
+
vue.toDisplayString(_ctx.$t("\u9009\u62E9")) + vue.toDisplayString(_ctx.$t(__props.title)),
|
|
30128
|
+
1
|
|
30129
|
+
/* TEXT */
|
|
30130
|
+
)
|
|
30131
|
+
])
|
|
30132
|
+
]),
|
|
30133
|
+
footer: vue.withCtx(() => [
|
|
30134
|
+
vue.createElementVNode("div", _hoisted_3$8, [
|
|
30135
|
+
vue.createVNode(_component_el_button, {
|
|
30136
|
+
icon: "ele-CircleCloseFilled",
|
|
30137
|
+
onClick: closeDialog
|
|
30138
|
+
}, {
|
|
30139
|
+
default: vue.withCtx(() => [
|
|
30140
|
+
vue.createTextVNode(
|
|
30141
|
+
vue.toDisplayString(_ctx.$t("\u53D6\u6D88")),
|
|
30142
|
+
1
|
|
30143
|
+
/* TEXT */
|
|
30144
|
+
)
|
|
30145
|
+
]),
|
|
30146
|
+
_: 1
|
|
30147
|
+
/* STABLE */
|
|
30148
|
+
}),
|
|
30149
|
+
vue.createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
|
|
30150
|
+
])
|
|
30151
|
+
]),
|
|
30152
|
+
default: vue.withCtx(() => [
|
|
30153
|
+
vue.createVNode(_component_el_row, { gutter: 10 }, {
|
|
30154
|
+
default: vue.withCtx(() => [
|
|
30155
|
+
vue.createVNode(_component_el_col, { span: 24 }, {
|
|
30156
|
+
default: vue.withCtx(() => [
|
|
30157
|
+
vue.createElementVNode("div", _hoisted_2$f, [
|
|
30158
|
+
vue.createVNode(_component_el_form, {
|
|
30159
|
+
model: state.queryParams,
|
|
30160
|
+
ref: "queryRef",
|
|
30161
|
+
inline: true
|
|
30162
|
+
}, {
|
|
30163
|
+
default: vue.withCtx(() => [
|
|
30164
|
+
vue.createVNode(_component_el_form_item, {
|
|
30165
|
+
label: _ctx.$t("\u5173\u952E\u5B57")
|
|
30166
|
+
}, {
|
|
30167
|
+
default: vue.withCtx(() => [
|
|
30168
|
+
vue.createVNode(_component_el_input, {
|
|
30169
|
+
modelValue: state.queryParams.keyword,
|
|
30170
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
|
|
30171
|
+
clearable: "",
|
|
30172
|
+
style: { "width": "150px" },
|
|
30173
|
+
onKeyup: vue.withKeys(handleQuery, ["enter"])
|
|
30174
|
+
}, null, 8, ["modelValue"])
|
|
30175
|
+
]),
|
|
30176
|
+
_: 1
|
|
30177
|
+
/* STABLE */
|
|
30178
|
+
}, 8, ["label"]),
|
|
30179
|
+
vue.createVNode(_component_el_form_item, null, {
|
|
30180
|
+
default: vue.withCtx(() => [
|
|
30181
|
+
vue.createVNode(_component_el_button_group, null, {
|
|
30182
|
+
default: vue.withCtx(() => [
|
|
30183
|
+
vue.createVNode(_component_el_button, {
|
|
30184
|
+
type: "primary",
|
|
30185
|
+
icon: "ele-Search",
|
|
30186
|
+
onClick: handleQuery
|
|
30187
|
+
}, {
|
|
30188
|
+
default: vue.withCtx(() => [
|
|
30189
|
+
vue.createTextVNode(
|
|
30190
|
+
vue.toDisplayString(_ctx.$t("\u67E5\u8BE2")),
|
|
30191
|
+
1
|
|
30192
|
+
/* TEXT */
|
|
30193
|
+
)
|
|
30194
|
+
]),
|
|
30195
|
+
_: 1
|
|
30196
|
+
/* STABLE */
|
|
30197
|
+
}),
|
|
30198
|
+
vue.createVNode(_component_el_button, {
|
|
30199
|
+
icon: "ele-Refresh",
|
|
30200
|
+
onClick: resetQuery
|
|
30201
|
+
}, {
|
|
30202
|
+
default: vue.withCtx(() => [
|
|
30203
|
+
vue.createTextVNode(
|
|
30204
|
+
vue.toDisplayString(_ctx.$t("\u91CD\u7F6E")),
|
|
30205
|
+
1
|
|
30206
|
+
/* TEXT */
|
|
30207
|
+
)
|
|
30208
|
+
]),
|
|
30209
|
+
_: 1
|
|
30210
|
+
/* STABLE */
|
|
30211
|
+
})
|
|
30212
|
+
]),
|
|
30213
|
+
_: 1
|
|
30214
|
+
/* STABLE */
|
|
30215
|
+
}),
|
|
30216
|
+
vue.createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
30217
|
+
]),
|
|
30218
|
+
_: 1
|
|
30219
|
+
/* STABLE */
|
|
30220
|
+
})
|
|
30221
|
+
]),
|
|
30222
|
+
_: 1
|
|
30223
|
+
/* STABLE */
|
|
30224
|
+
}, 8, ["model"]),
|
|
30225
|
+
vue.createVNode(_component_el_card, {
|
|
30226
|
+
class: "full-table",
|
|
30227
|
+
shadow: "hover"
|
|
30228
|
+
}, {
|
|
30229
|
+
default: vue.withCtx(() => [
|
|
30230
|
+
vue.createVNode(_component_el_table, {
|
|
30231
|
+
ref: "refTable",
|
|
30232
|
+
data: dataList.value,
|
|
30233
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
30234
|
+
onRowDblclick: handledbclick
|
|
30235
|
+
}, {
|
|
30236
|
+
default: vue.withCtx(() => [
|
|
30237
|
+
vue.createVNode(_component_el_table_column, {
|
|
30238
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
30239
|
+
prop: "name",
|
|
30240
|
+
align: "center",
|
|
30241
|
+
"show-overflow-tooltip": true
|
|
30242
|
+
}, null, 8, ["label"]),
|
|
30243
|
+
vue.createVNode(_component_el_table_column, {
|
|
30244
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
30245
|
+
prop: "phone",
|
|
30246
|
+
align: "center",
|
|
30247
|
+
"show-overflow-tooltip": true
|
|
30248
|
+
}, null, 8, ["label"]),
|
|
30249
|
+
vue.createVNode(_component_el_table_column, {
|
|
30250
|
+
label: _ctx.$t("\u8F66\u724C"),
|
|
30251
|
+
prop: "license",
|
|
30252
|
+
align: "center",
|
|
30253
|
+
"show-overflow-tooltip": true
|
|
30254
|
+
}, null, 8, ["label"]),
|
|
30255
|
+
vue.createVNode(_component_el_table_column, {
|
|
30256
|
+
label: _ctx.$t("\u5EA7\u4F4D\u6570"),
|
|
30257
|
+
prop: "seats",
|
|
30258
|
+
align: "center",
|
|
30259
|
+
"show-overflow-tooltip": true
|
|
30260
|
+
}, null, 8, ["label"]),
|
|
30261
|
+
vue.createVNode(_component_el_table_column, {
|
|
30262
|
+
label: _ctx.$t("\u64CD\u4F5C"),
|
|
30263
|
+
width: "60",
|
|
30264
|
+
align: "center"
|
|
30265
|
+
}, {
|
|
30266
|
+
default: vue.withCtx((scope) => [
|
|
30267
|
+
vue.createVNode(_component_el_button, {
|
|
30268
|
+
link: "",
|
|
30269
|
+
type: "primary",
|
|
30270
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
30271
|
+
}, {
|
|
30272
|
+
default: vue.withCtx(() => [
|
|
30273
|
+
vue.createVNode(_component_el_icon, null, {
|
|
30274
|
+
default: vue.withCtx(() => [
|
|
30275
|
+
vue.createVNode(_component_ele_Plus)
|
|
30276
|
+
]),
|
|
30277
|
+
_: 1
|
|
30278
|
+
/* STABLE */
|
|
30279
|
+
})
|
|
30280
|
+
]),
|
|
30281
|
+
_: 1
|
|
30282
|
+
/* STABLE */
|
|
30283
|
+
}, 8, ["onClick"])
|
|
30284
|
+
]),
|
|
30285
|
+
_: 1
|
|
30286
|
+
/* STABLE */
|
|
30287
|
+
}, 8, ["label"])
|
|
30288
|
+
]),
|
|
30289
|
+
_: 1
|
|
30290
|
+
/* STABLE */
|
|
30291
|
+
}, 8, ["data"]),
|
|
30292
|
+
vue.createVNode(_component_el_pagination, {
|
|
30293
|
+
"current-page": state.queryParams.page,
|
|
30294
|
+
"page-size": state.queryParams.pageSize,
|
|
30295
|
+
total: state.queryParams.total,
|
|
30296
|
+
"page-sizes": [10, 20, 50, 100],
|
|
30297
|
+
background: "",
|
|
30298
|
+
onSizeChange: handleSizeChange,
|
|
30299
|
+
onCurrentChange: handleCurrentChange,
|
|
30300
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
30301
|
+
style: { "padding-bottom": "8px" }
|
|
30302
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
30303
|
+
]),
|
|
30304
|
+
_: 1
|
|
30305
|
+
/* STABLE */
|
|
30306
|
+
})
|
|
30307
|
+
])
|
|
30308
|
+
]),
|
|
30309
|
+
_: 1
|
|
30310
|
+
/* STABLE */
|
|
30311
|
+
})
|
|
30312
|
+
]),
|
|
30313
|
+
_: 1
|
|
30314
|
+
/* STABLE */
|
|
30315
|
+
})
|
|
30316
|
+
]),
|
|
30317
|
+
_: 1
|
|
30318
|
+
/* STABLE */
|
|
30319
|
+
}, 8, ["modelValue"]);
|
|
30320
|
+
};
|
|
30321
|
+
}
|
|
30322
|
+
});
|
|
30323
|
+
|
|
30324
|
+
const _hoisted_1$m = { style: { "font-size": "14px", "line-height": "30px" } };
|
|
30325
|
+
var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
30326
|
+
...{
|
|
30327
|
+
name: "FmAutocomplete"
|
|
30328
|
+
},
|
|
30329
|
+
__name: "index",
|
|
30330
|
+
props: /* @__PURE__ */ vue.mergeModels({
|
|
30331
|
+
placeholder: {
|
|
30332
|
+
type: String,
|
|
30333
|
+
default: "\u8BF7\u8F93\u5165\u5FEB\u901F\u641C\u7D22\u9009\u62E9"
|
|
30334
|
+
},
|
|
30335
|
+
/**
|
|
30336
|
+
* ato service name
|
|
30337
|
+
*/
|
|
30338
|
+
atoService: {
|
|
30339
|
+
type: String,
|
|
30340
|
+
default: "autoRes"
|
|
30341
|
+
},
|
|
30342
|
+
/**
|
|
30343
|
+
* ato service 下的方法
|
|
30344
|
+
*/
|
|
30345
|
+
atoAction: {
|
|
30346
|
+
type: String,
|
|
30347
|
+
default: "autoUser"
|
|
30348
|
+
},
|
|
30349
|
+
top: {
|
|
30350
|
+
type: Number,
|
|
30351
|
+
default: 15
|
|
30352
|
+
},
|
|
30353
|
+
searchsize: {
|
|
30354
|
+
type: Number,
|
|
30355
|
+
default: 22
|
|
30356
|
+
},
|
|
30357
|
+
/**
|
|
30358
|
+
* 值的属性值
|
|
30359
|
+
*/
|
|
30360
|
+
vId: {
|
|
30361
|
+
type: String,
|
|
30362
|
+
default: "id"
|
|
30363
|
+
},
|
|
30364
|
+
/**
|
|
30365
|
+
* 值的属性标签
|
|
30366
|
+
*/
|
|
30367
|
+
vName: {
|
|
30368
|
+
type: String,
|
|
30369
|
+
default: "name"
|
|
30370
|
+
},
|
|
30371
|
+
/**
|
|
30372
|
+
* 过滤出来显示的名称 加上属性标签
|
|
30373
|
+
*/
|
|
30374
|
+
vLabel: {
|
|
30375
|
+
type: String,
|
|
30376
|
+
default: ""
|
|
30377
|
+
},
|
|
30378
|
+
/**
|
|
30379
|
+
* 查询业务表ID
|
|
30380
|
+
*/
|
|
30381
|
+
qId: {
|
|
30382
|
+
type: Number,
|
|
30383
|
+
default: 0
|
|
30384
|
+
},
|
|
30385
|
+
title: {
|
|
30386
|
+
type: String,
|
|
30387
|
+
default: ""
|
|
30388
|
+
},
|
|
30389
|
+
params: {
|
|
30390
|
+
type: Object,
|
|
30391
|
+
default: () => {
|
|
30392
|
+
}
|
|
30393
|
+
},
|
|
30394
|
+
/**
|
|
30395
|
+
* 打开类型 0--用户加机构 1-- 联系人 2-- 供应商单位 3-- 银行账户 4--科目 5--线路
|
|
30396
|
+
* @default 0
|
|
30397
|
+
*/
|
|
30398
|
+
openType: {
|
|
30399
|
+
type: Number,
|
|
30400
|
+
default: 0
|
|
30401
|
+
},
|
|
30402
|
+
orgService: {
|
|
30403
|
+
type: String,
|
|
30404
|
+
default: "autoRes"
|
|
30405
|
+
},
|
|
30406
|
+
orgAction: {
|
|
30407
|
+
type: String,
|
|
30408
|
+
default: "userOrgList"
|
|
30409
|
+
},
|
|
30410
|
+
userService: {
|
|
30411
|
+
type: String,
|
|
30412
|
+
default: "autoRes"
|
|
30413
|
+
},
|
|
30414
|
+
userAction: {
|
|
30415
|
+
type: String,
|
|
30416
|
+
default: "UserTable"
|
|
30417
|
+
},
|
|
30418
|
+
subjectService: {
|
|
30419
|
+
type: String,
|
|
30420
|
+
default: "autoRes"
|
|
30421
|
+
},
|
|
30422
|
+
subjectAction: {
|
|
30423
|
+
type: String,
|
|
30424
|
+
default: "subjectTable"
|
|
30425
|
+
},
|
|
30426
|
+
accountService: {
|
|
30427
|
+
type: String,
|
|
30428
|
+
default: "autoRes"
|
|
30429
|
+
},
|
|
30430
|
+
accountAction: {
|
|
30431
|
+
type: String,
|
|
30432
|
+
default: "accountTable"
|
|
30433
|
+
},
|
|
30434
|
+
refresh: {
|
|
30435
|
+
type: Boolean,
|
|
30436
|
+
default: true
|
|
30437
|
+
}
|
|
30438
|
+
}, {
|
|
30439
|
+
"name": {
|
|
30440
|
+
required: true,
|
|
30441
|
+
default: ""
|
|
30442
|
+
},
|
|
30443
|
+
"nameModifiers": {},
|
|
30444
|
+
"id": {
|
|
30445
|
+
required: true,
|
|
30446
|
+
default: 0
|
|
30447
|
+
},
|
|
30448
|
+
"idModifiers": {}
|
|
30449
|
+
}),
|
|
30450
|
+
emits: /* @__PURE__ */ vue.mergeModels(["select", "reset"], ["update:name", "update:id"]),
|
|
30451
|
+
setup(__props, { emit: __emit }) {
|
|
30452
|
+
const autoName = vue.useModel(__props, "name");
|
|
30453
|
+
const autoId = vue.useModel(__props, "id");
|
|
30454
|
+
const props = __props;
|
|
30455
|
+
const visibleopenDialog = vue.ref(false);
|
|
30456
|
+
const tableUserDialogRef = vue.ref();
|
|
30457
|
+
const tableSupplierUserDialogRef = vue.ref();
|
|
30458
|
+
const tableAccountDialogRef = vue.ref();
|
|
30459
|
+
const tableSubjectDialogRef = vue.ref();
|
|
30460
|
+
const tableLineDialogRef = vue.ref();
|
|
30461
|
+
const tableSupplierDialogRef = vue.ref();
|
|
30462
|
+
const tableGuideDialogRef = vue.ref();
|
|
30463
|
+
const tableDirverDialogRef = vue.ref();
|
|
30464
|
+
const emit = __emit;
|
|
30465
|
+
const querySearchAsync = async (queryString, cb) => {
|
|
30466
|
+
var _a;
|
|
30467
|
+
resetValue();
|
|
30468
|
+
const postdata = { keywork: queryString, id: props.qId, ...props.params };
|
|
30469
|
+
const res = await useBaseApi(props.atoService).post(postdata, props.atoAction);
|
|
30470
|
+
const data = (_a = res.data.result) != null ? _a : [];
|
|
30471
|
+
if (data.length === 0) {
|
|
30472
|
+
return cb([]);
|
|
30473
|
+
}
|
|
29826
30474
|
const results = data.map((item) => ({
|
|
29827
30475
|
...item,
|
|
29828
30476
|
displayText: `${item[props.vName]}`
|
|
@@ -29847,7 +30495,7 @@
|
|
|
29847
30495
|
emit("select", value);
|
|
29848
30496
|
};
|
|
29849
30497
|
const handleRefresh = async () => {
|
|
29850
|
-
var _a;
|
|
30498
|
+
var _a, _b, _c;
|
|
29851
30499
|
await vue.nextTick();
|
|
29852
30500
|
if (props.openType == 0) {
|
|
29853
30501
|
if (tableUserDialogRef.value) {
|
|
@@ -29872,6 +30520,10 @@
|
|
|
29872
30520
|
}
|
|
29873
30521
|
} else if (props.openType == 5) {
|
|
29874
30522
|
(_a = tableLineDialogRef.value) == null ? void 0 : _a.handleQuery();
|
|
30523
|
+
} else if (props.openType == 6) {
|
|
30524
|
+
(_b = tableGuideDialogRef.value) == null ? void 0 : _b.handleQuery();
|
|
30525
|
+
} else if (props.openType == 7) {
|
|
30526
|
+
(_c = tableDirverDialogRef.value) == null ? void 0 : _c.handleQuery();
|
|
29875
30527
|
}
|
|
29876
30528
|
};
|
|
29877
30529
|
return (_ctx, _cache) => {
|
|
@@ -29879,7 +30531,7 @@
|
|
|
29879
30531
|
const _component_el_autocomplete = vue.resolveComponent("el-autocomplete");
|
|
29880
30532
|
return vue.openBlock(), vue.createBlock(_component_el_autocomplete, {
|
|
29881
30533
|
modelValue: autoName.value,
|
|
29882
|
-
"onUpdate:modelValue": _cache[
|
|
30534
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => autoName.value = $event),
|
|
29883
30535
|
debounce: 500,
|
|
29884
30536
|
"fetch-suggestions": querySearchAsync,
|
|
29885
30537
|
placeholder: props.placeholder,
|
|
@@ -29925,7 +30577,7 @@
|
|
|
29925
30577
|
_: 1
|
|
29926
30578
|
/* STABLE */
|
|
29927
30579
|
}, 8, ["size"]),
|
|
29928
|
-
__props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30580
|
+
__props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
|
|
29929
30581
|
key: 0,
|
|
29930
30582
|
ref_key: "tableUserDialogRef",
|
|
29931
30583
|
ref: tableUserDialogRef,
|
|
@@ -29940,7 +30592,7 @@
|
|
|
29940
30592
|
userParams: __props.params,
|
|
29941
30593
|
onChange: handleSelectDialogChange
|
|
29942
30594
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
29943
|
-
__props.openType == 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30595
|
+
__props.openType == 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
|
|
29944
30596
|
key: 1,
|
|
29945
30597
|
ref_key: "tableSupplierUserDialogRef",
|
|
29946
30598
|
ref: tableSupplierUserDialogRef,
|
|
@@ -29952,7 +30604,7 @@
|
|
|
29952
30604
|
userParams: __props.params,
|
|
29953
30605
|
onChange: handleSelectDialogChange
|
|
29954
30606
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
29955
|
-
__props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30607
|
+
__props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$z, {
|
|
29956
30608
|
key: 2,
|
|
29957
30609
|
ref_key: "tableSupplierDialogRef",
|
|
29958
30610
|
ref: tableSupplierDialogRef,
|
|
@@ -29965,7 +30617,7 @@
|
|
|
29965
30617
|
onChange: handleSelectDialogChange
|
|
29966
30618
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
29967
30619
|
vue.createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
|
|
29968
|
-
__props.openType == 3 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30620
|
+
__props.openType == 3 ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
|
|
29969
30621
|
key: 3,
|
|
29970
30622
|
ref_key: "tableAccountDialogRef",
|
|
29971
30623
|
ref: tableAccountDialogRef,
|
|
@@ -29978,7 +30630,7 @@
|
|
|
29978
30630
|
onChange: handleSelectDialogChange
|
|
29979
30631
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
29980
30632
|
vue.createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
|
|
29981
|
-
__props.openType == 4 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30633
|
+
__props.openType == 4 ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
29982
30634
|
key: 4,
|
|
29983
30635
|
ref_key: "tableSubjectDialogRef",
|
|
29984
30636
|
ref: tableSubjectDialogRef,
|
|
@@ -29991,7 +30643,7 @@
|
|
|
29991
30643
|
onChange: handleSelectDialogChange
|
|
29992
30644
|
}, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : vue.createCommentVNode("v-if", true),
|
|
29993
30645
|
vue.createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
|
|
29994
|
-
__props.openType == 5 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30646
|
+
__props.openType == 5 ? (vue.openBlock(), vue.createBlock(_sfc_main$v, {
|
|
29995
30647
|
key: 5,
|
|
29996
30648
|
ref_key: "tableLineDialogRef",
|
|
29997
30649
|
ref: tableLineDialogRef,
|
|
@@ -30002,6 +30654,32 @@
|
|
|
30002
30654
|
userAction: __props.userAction,
|
|
30003
30655
|
userParams: __props.params,
|
|
30004
30656
|
onChange: handleSelectDialogChange
|
|
30657
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
30658
|
+
vue.createCommentVNode("\u5BFC\u6E38\u9009\u62E9"),
|
|
30659
|
+
__props.openType == 6 ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
|
|
30660
|
+
key: 6,
|
|
30661
|
+
ref_key: "tableGuideDialogRef",
|
|
30662
|
+
ref: tableGuideDialogRef,
|
|
30663
|
+
visible: visibleopenDialog.value,
|
|
30664
|
+
"onUpdate:visible": _cache[7] || (_cache[7] = ($event) => visibleopenDialog.value = $event),
|
|
30665
|
+
title: __props.title,
|
|
30666
|
+
userService: __props.userService,
|
|
30667
|
+
userAction: __props.userAction,
|
|
30668
|
+
userParams: __props.params,
|
|
30669
|
+
onChange: handleSelectDialogChange
|
|
30670
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
30671
|
+
vue.createCommentVNode("\u53F8\u673A\u9009\u62E9"),
|
|
30672
|
+
__props.openType == 7 ? (vue.openBlock(), vue.createBlock(_sfc_main$t, {
|
|
30673
|
+
key: 7,
|
|
30674
|
+
ref_key: "tableDirverDialogRef",
|
|
30675
|
+
ref: tableDirverDialogRef,
|
|
30676
|
+
visible: visibleopenDialog.value,
|
|
30677
|
+
"onUpdate:visible": _cache[8] || (_cache[8] = ($event) => visibleopenDialog.value = $event),
|
|
30678
|
+
title: __props.title,
|
|
30679
|
+
userService: __props.userService,
|
|
30680
|
+
userAction: __props.userAction,
|
|
30681
|
+
userParams: __props.params,
|
|
30682
|
+
onChange: handleSelectDialogChange
|
|
30005
30683
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true)
|
|
30006
30684
|
]),
|
|
30007
30685
|
key: "1"
|
|
@@ -30259,7 +30937,7 @@
|
|
|
30259
30937
|
_: 1
|
|
30260
30938
|
/* STABLE */
|
|
30261
30939
|
}, 8, ["size"]),
|
|
30262
|
-
__props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30940
|
+
__props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
|
|
30263
30941
|
key: 0,
|
|
30264
30942
|
ref_key: "tableUserDialogRef",
|
|
30265
30943
|
ref: tableUserDialogRef,
|
|
@@ -30274,7 +30952,7 @@
|
|
|
30274
30952
|
userParams: __props.params,
|
|
30275
30953
|
onChange: handleSelectDialogChange
|
|
30276
30954
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
30277
|
-
__props.openType == 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30955
|
+
__props.openType == 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
|
|
30278
30956
|
key: 1,
|
|
30279
30957
|
ref_key: "tableSupplierUserDialogRef",
|
|
30280
30958
|
ref: tableSupplierUserDialogRef,
|
|
@@ -30286,7 +30964,7 @@
|
|
|
30286
30964
|
userParams: __props.params,
|
|
30287
30965
|
onChange: handleSelectDialogChange
|
|
30288
30966
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
30289
|
-
__props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30967
|
+
__props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$z, {
|
|
30290
30968
|
key: 2,
|
|
30291
30969
|
ref_key: "tableSupplierDialogRef",
|
|
30292
30970
|
ref: tableSupplierDialogRef,
|
|
@@ -30299,7 +30977,7 @@
|
|
|
30299
30977
|
onChange: handleSelectDialogChange
|
|
30300
30978
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
30301
30979
|
vue.createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
|
|
30302
|
-
__props.openType == 3 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30980
|
+
__props.openType == 3 ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
|
|
30303
30981
|
key: 3,
|
|
30304
30982
|
ref_key: "tableAccountDialogRef",
|
|
30305
30983
|
ref: tableAccountDialogRef,
|
|
@@ -30312,7 +30990,7 @@
|
|
|
30312
30990
|
onChange: handleSelectDialogChange
|
|
30313
30991
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
30314
30992
|
vue.createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
|
|
30315
|
-
__props.openType == 4 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30993
|
+
__props.openType == 4 ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
30316
30994
|
key: 4,
|
|
30317
30995
|
ref_key: "tableSubjectDialogRef",
|
|
30318
30996
|
ref: tableSubjectDialogRef,
|
|
@@ -30325,7 +31003,7 @@
|
|
|
30325
31003
|
onChange: handleSelectDialogChange
|
|
30326
31004
|
}, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : vue.createCommentVNode("v-if", true),
|
|
30327
31005
|
vue.createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
|
|
30328
|
-
__props.openType == 5 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
31006
|
+
__props.openType == 5 ? (vue.openBlock(), vue.createBlock(_sfc_main$v, {
|
|
30329
31007
|
key: 5,
|
|
30330
31008
|
ref_key: "tableLineDialogRef",
|
|
30331
31009
|
ref: tableLineDialogRef,
|