yuang-framework-ui-pc 1.1.160 → 1.1.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.
|
@@ -3,7 +3,8 @@ import { User } from "@element-plus/icons-vue";
|
|
|
3
3
|
import UserQuery from "./user-query";
|
|
4
4
|
import { UserOutlined } from "../../icons";
|
|
5
5
|
import { http } from "yuang-framework-ui-common/lib/config/httpConfig";
|
|
6
|
-
import { useStatusEnumList
|
|
6
|
+
import { useStatusEnumList } from "yuang-framework-ui-common/lib/hooks/uims/uimsUser";
|
|
7
|
+
import { getStatusTagType } from "yuang-framework-ui-common/lib/hooks/framework/frameworkEnum";
|
|
7
8
|
import { deepClone } from "yuang-framework-ui-common/lib/utils/objectUtils";
|
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
10
|
...{ name: "UimsUserList" },
|
|
@@ -5,6 +5,7 @@ const UserQuery = require("./user-query");
|
|
|
5
5
|
const icons = require("../../icons");
|
|
6
6
|
const httpConfig = require("yuang-framework-ui-common/lib/config/httpConfig");
|
|
7
7
|
const uimsUser = require("yuang-framework-ui-common/lib/hooks/uims/uimsUser");
|
|
8
|
+
const frameworkEnum = require("yuang-framework-ui-common/lib/hooks/framework/frameworkEnum");
|
|
8
9
|
const objectUtils = require("yuang-framework-ui-common/lib/utils/objectUtils");
|
|
9
10
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
11
|
...{ name: "UimsUserList" },
|
|
@@ -255,7 +256,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
255
256
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(statusEnumList), (item, index) => {
|
|
256
257
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
257
258
|
row.status == item.value ? (vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
258
|
-
type: vue.unref(
|
|
259
|
+
type: vue.unref(frameworkEnum.getStatusTagType)(row.status),
|
|
259
260
|
"disable-transitions": true,
|
|
260
261
|
key: index
|
|
261
262
|
}, {
|