yuang-framework-ui-pc 1.1.159 → 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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, watch, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import RoleQuery from "./role-query";
|
|
3
3
|
import { http } from "yuang-framework-ui-common/lib/config/httpConfig";
|
|
4
|
-
import { useStatusEnumList } from "yuang-framework-ui-common/lib/hooks/framework/frameworkEnum";
|
|
4
|
+
import { useStatusEnumList, getStatusTagType } from "yuang-framework-ui-common/lib/hooks/framework/frameworkEnum";
|
|
5
5
|
import { deepClone } from "yuang-framework-ui-common/lib/utils/objectUtils";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
...{ name: "UimsUserList" },
|
|
@@ -211,7 +211,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
211
211
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(statusEnumList), (item, index) => {
|
|
212
212
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
213
213
|
row.status == item.value ? (openBlock(), createBlock(_component_el_tag, {
|
|
214
|
-
type:
|
|
214
|
+
type: unref(getStatusTagType)(row.status),
|
|
215
215
|
"disable-transitions": true,
|
|
216
216
|
key: index
|
|
217
217
|
}, {
|
|
@@ -4,6 +4,7 @@ import UserQuery from "./user-query";
|
|
|
4
4
|
import { UserOutlined } from "../../icons";
|
|
5
5
|
import { http } from "yuang-framework-ui-common/lib/config/httpConfig";
|
|
6
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" },
|
|
@@ -254,7 +255,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
254
255
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(statusEnumList), (item, index) => {
|
|
255
256
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
256
257
|
row.status == item.value ? (openBlock(), createBlock(_component_el_tag, {
|
|
257
|
-
type:
|
|
258
|
+
type: unref(getStatusTagType)(row.status),
|
|
258
259
|
"disable-transitions": true,
|
|
259
260
|
key: index
|
|
260
261
|
}, {
|
|
@@ -212,7 +212,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
212
212
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(statusEnumList), (item, index) => {
|
|
213
213
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
214
214
|
row.status == item.value ? (vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
215
|
-
type:
|
|
215
|
+
type: vue.unref(frameworkEnum.getStatusTagType)(row.status),
|
|
216
216
|
"disable-transitions": true,
|
|
217
217
|
key: index
|
|
218
218
|
}, {
|
|
@@ -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:
|
|
259
|
+
type: vue.unref(frameworkEnum.getStatusTagType)(row.status),
|
|
259
260
|
"disable-transitions": true,
|
|
260
261
|
key: index
|
|
261
262
|
}, {
|