@fmdeui/fmui 1.0.137 → 1.0.138
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/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.mjs +4 -1
- package/index.js +5 -2
- package/index.min.js +6 -6
- package/index.min.mjs +6 -6
- package/index.mjs +5 -2
- package/lib/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.js +4 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/package.json +1 -1
- /package/es/{make-installer.css → component.css} +0 -0
- /package/lib/{index.css → component.css} +0 -0
|
@@ -42,6 +42,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
let checkedUsersList = ref([]);
|
|
43
43
|
const state = reactive({
|
|
44
44
|
total: 0,
|
|
45
|
+
pdata: null,
|
|
45
46
|
queryParams: {
|
|
46
47
|
orgId: -1,
|
|
47
48
|
page: 1,
|
|
@@ -75,13 +76,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
75
76
|
}
|
|
76
77
|
function handleSelectUser(row) {
|
|
77
78
|
if (!row || row.id == "") return;
|
|
78
|
-
|
|
79
|
+
if (row.pid == 0) state.pdata = null;
|
|
80
|
+
emits("change", { id: row.id, name: row.supplierName, supplierType: row.supplierType, pdata: state.pdata, data: row });
|
|
79
81
|
}
|
|
80
82
|
const handledbclick = (row) => {
|
|
81
83
|
handleSelectUser(row);
|
|
82
84
|
};
|
|
83
85
|
const loadSub = async (row, treeNode, resolve) => {
|
|
84
86
|
var _a, _b, _c;
|
|
87
|
+
state.pdata = row;
|
|
85
88
|
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams, pid: row.id }, props.userAction);
|
|
86
89
|
row.children = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
87
90
|
resolve((_c = row.children) != null ? _c : []);
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.138 */
|
|
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) :
|
|
@@ -27933,6 +27933,7 @@
|
|
|
27933
27933
|
let checkedUsersList = vue.ref([]);
|
|
27934
27934
|
const state = vue.reactive({
|
|
27935
27935
|
total: 0,
|
|
27936
|
+
pdata: null,
|
|
27936
27937
|
queryParams: {
|
|
27937
27938
|
orgId: -1,
|
|
27938
27939
|
page: 1,
|
|
@@ -27966,13 +27967,15 @@
|
|
|
27966
27967
|
}
|
|
27967
27968
|
function handleSelectUser(row) {
|
|
27968
27969
|
if (!row || row.id == "") return;
|
|
27969
|
-
|
|
27970
|
+
if (row.pid == 0) state.pdata = null;
|
|
27971
|
+
emits("change", { id: row.id, name: row.supplierName, supplierType: row.supplierType, pdata: state.pdata, data: row });
|
|
27970
27972
|
}
|
|
27971
27973
|
const handledbclick = (row) => {
|
|
27972
27974
|
handleSelectUser(row);
|
|
27973
27975
|
};
|
|
27974
27976
|
const loadSub = async (row, treeNode, resolve) => {
|
|
27975
27977
|
var _a, _b, _c;
|
|
27978
|
+
state.pdata = row;
|
|
27976
27979
|
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams, pid: row.id }, props.userAction);
|
|
27977
27980
|
row.children = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
27978
27981
|
resolve((_c = row.children) != null ? _c : []);
|