diff --git a/apps/web-antd/src/views/_core/profile/modules/profile-user.vue b/apps/web-antd/src/views/_core/profile/modules/profile-user.vue index 1a058cef5..b5b11696d 100644 --- a/apps/web-antd/src/views/_core/profile/modules/profile-user.vue +++ b/apps/web-antd/src/views/_core/profile/modules/profile-user.vue @@ -62,11 +62,7 @@ async function handelUpload({ {{ profile.nickname || profile.username }}
- + {{ role.name }}
@@ -86,7 +82,10 @@ async function handelUpload({
- + 手机号码
{{ profile.mobile || '-' }} @@ -140,7 +139,10 @@ async function handelUpload({
- + 登录时间
@@ -157,11 +159,11 @@ async function handelUpload({ align-items: center; justify-content: space-between; padding: 8px 4px; - border-bottom: 1px solid rgba(0, 0, 0, 0.06); + border-bottom: 1px solid rgb(0 0 0 / 6%); } .dark .profile-item { - border-bottom-color: rgba(255, 255, 255, 0.08); + border-bottom-color: rgb(255 255 255 / 8%); } .profile-item:last-child { @@ -171,20 +173,20 @@ async function handelUpload({ .profile-item-label { display: flex; align-items: center; - color: rgba(0, 0, 0, 0.65); font-size: 14px; + color: rgb(0 0 0 / 65%); } .dark .profile-item-label { - color: rgba(255, 255, 255, 0.65); + color: rgb(255 255 255 / 65%); } .profile-item-value { - color: rgba(0, 0, 0, 0.85); font-size: 14px; + color: rgb(0 0 0 / 85%); } .dark .profile-item-value { - color: rgba(255, 255, 255, 0.85); + color: rgb(255 255 255 / 85%); } diff --git a/apps/web-antd/src/views/_core/profile/modules/user-social.vue b/apps/web-antd/src/views/_core/profile/modules/user-social.vue index 002dadec1..e4927bf99 100644 --- a/apps/web-antd/src/views/_core/profile/modules/user-social.vue +++ b/apps/web-antd/src/views/_core/profile/modules/user-social.vue @@ -29,10 +29,10 @@ const route = useRoute(); const bindList = ref([]); /** 暂不支持钉钉和企业微信,后续开放时移除此过滤 */ -const HIDDEN_SOCIAL_TYPES = [ +const HIDDEN_SOCIAL_TYPES = new Set([ SystemUserSocialTypeEnum.DINGTALK.type, SystemUserSocialTypeEnum.WECHAT_ENTERPRISE.type, -]; +]); interface SocialBindItem { title: string; @@ -44,7 +44,7 @@ interface SocialBindItem { const allBindList = computed(() => { return Object.values(SystemUserSocialTypeEnum) - .filter((social) => !HIDDEN_SOCIAL_TYPES.includes(social.type)) + .filter((social) => !HIDDEN_SOCIAL_TYPES.has(social.type)) .map((social) => { const socialUser = bindList.value.find( (item) => item.type === social.type, @@ -137,9 +137,7 @@ onMounted(async () => {
- + {{ getDictLabel(DICT_TYPE.SYSTEM_SOCIAL_TYPE, item.type) }} {{ modalData.orderCode }}
- + 工单标题 {{ modalData.title }}
diff --git a/apps/web-antd/src/views/ops/work-order/modules/security-assign-form.vue b/apps/web-antd/src/views/ops/work-order/modules/security-assign-form.vue index 859f721e5..e0cb3ae5a 100644 --- a/apps/web-antd/src/views/ops/work-order/modules/security-assign-form.vue +++ b/apps/web-antd/src/views/ops/work-order/modules/security-assign-form.vue @@ -6,7 +6,14 @@ import { onUnmounted, ref, watch } from 'vue'; import { useVbenModal } from '@vben/common-ui'; import { IconifyIcon } from '@vben/icons'; -import { Avatar, Empty, Input, message, Pagination, Spin } from 'ant-design-vue'; +import { + Avatar, + Empty, + Input, + message, + Pagination, + Spin, +} from 'ant-design-vue'; import { assignOrder } from '#/api/ops/order-center'; import { getUserPage } from '#/api/system/user'; @@ -127,7 +134,10 @@ async function handleSubmit() {
- + 工单编号 {{ modalData.orderCode }}
@@ -139,7 +149,9 @@ async function handleSubmit() {
描述 - {{ modalData.description }} + {{ + modalData.description + }}
@@ -305,8 +317,8 @@ async function handleSubmit() { flex: 1; min-width: 0; overflow: hidden; - font-size: 13px; text-overflow: ellipsis; + font-size: 13px; white-space: nowrap; } diff --git a/apps/web-antd/src/views/ops/work-order/modules/upgrade-priority-form.vue b/apps/web-antd/src/views/ops/work-order/modules/upgrade-priority-form.vue index 50f43a704..04d88fb0d 100644 --- a/apps/web-antd/src/views/ops/work-order/modules/upgrade-priority-form.vue +++ b/apps/web-antd/src/views/ops/work-order/modules/upgrade-priority-form.vue @@ -103,10 +103,7 @@ async function handleSubmit() { {{ modalData.orderCode }}
- + 优先级变更