ソースを参照

feat:简化 detail 和 list 相关界面,去除无用的 String、- 等处理

YunaiV 4 ヶ月 前
コミット
bc773d3799
55 ファイル変更247 行追加247 行削除
  1. 6 6
      src/pages-infra/api-access-log/detail/index.vue
  2. 6 6
      src/pages-infra/api-error-log/detail/index.vue
  3. 6 6
      src/pages-infra/config/detail/index.vue
  4. 4 4
      src/pages-infra/config/index.vue
  5. 5 5
      src/pages-infra/data-source-config/detail/index.vue
  6. 3 3
      src/pages-infra/data-source-config/index.vue
  7. 1 1
      src/pages-infra/file/components/config-list.vue
  8. 2 2
      src/pages-infra/file/components/file-list.vue
  9. 15 15
      src/pages-infra/file/config/detail/index.vue
  10. 6 6
      src/pages-infra/file/detail/index.vue
  11. 3 3
      src/pages-infra/job/components/job-list.vue
  12. 2 2
      src/pages-infra/job/components/log-list.vue
  13. 6 6
      src/pages-infra/job/job/detail/index.vue
  14. 10 10
      src/pages-infra/job/log/detail/index.vue
  15. 2 2
      src/pages-system/dept/detail/index.vue
  16. 1 1
      src/pages-system/dict/components/data-list.vue
  17. 1 1
      src/pages-system/dict/components/type-list.vue
  18. 7 7
      src/pages-system/dict/data/detail/index.vue
  19. 5 5
      src/pages-system/dict/type/detail/index.vue
  20. 1 1
      src/pages-system/login-log/detail/index.vue
  21. 2 2
      src/pages-system/login-log/index.vue
  22. 6 6
      src/pages-system/mail/account/detail/index.vue
  23. 1 1
      src/pages-system/mail/components/account-list.vue
  24. 3 3
      src/pages-system/mail/components/log-list.vue
  25. 1 1
      src/pages-system/mail/components/template-list.vue
  26. 10 10
      src/pages-system/mail/log/detail/index.vue
  27. 9 9
      src/pages-system/mail/template/detail/index.vue
  28. 2 2
      src/pages-system/menu/detail/index.vue
  29. 4 4
      src/pages-system/notice/detail/index.vue
  30. 1 1
      src/pages-system/notice/index.vue
  31. 2 2
      src/pages-system/notify/components/message-list.vue
  32. 2 2
      src/pages-system/notify/components/template-list.vue
  33. 7 7
      src/pages-system/notify/message/detail/index.vue
  34. 7 7
      src/pages-system/notify/template/detail/index.vue
  35. 7 7
      src/pages-system/oauth2/client/detail/index.vue
  36. 2 2
      src/pages-system/oauth2/components/client-list.vue
  37. 6 6
      src/pages-system/oauth2/components/token-list.vue
  38. 10 10
      src/pages-system/operate-log/detail/index.vue
  39. 1 1
      src/pages-system/operate-log/index.vue
  40. 4 4
      src/pages-system/post/detail/index.vue
  41. 2 2
      src/pages-system/role/detail/index.vue
  42. 7 7
      src/pages-system/sms/channel/detail/index.vue
  43. 2 2
      src/pages-system/sms/components/channel-list.vue
  44. 1 1
      src/pages-system/sms/components/template-list.vue
  45. 12 12
      src/pages-system/sms/log/detail/index.vue
  46. 6 6
      src/pages-system/sms/template/detail/index.vue
  47. 7 7
      src/pages-system/social/client/detail/index.vue
  48. 2 2
      src/pages-system/social/components/client-list.vue
  49. 2 2
      src/pages-system/social/components/user-list.vue
  50. 9 9
      src/pages-system/social/user/detail/index.vue
  51. 1 1
      src/pages-system/tenant/components/package-list.vue
  52. 3 3
      src/pages-system/tenant/components/tenant-list.vue
  53. 4 4
      src/pages-system/tenant/package/detail/index.vue
  54. 7 7
      src/pages-system/tenant/tenant/detail/index.vue
  55. 3 3
      src/pages/message/components/detail-popup.vue

+ 6 - 6
src/pages-infra/api-access-log/detail/index.vue

@@ -10,13 +10,13 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="日志编号" :value="String(formData?.id ?? '-')" />
+        <wd-cell title="日志编号" :value="formData?.id" />
         <wd-cell title="链路追踪" :value="formData?.traceId || '-'" />
-        <wd-cell title="应用名" :value="formData?.applicationName || '-'" />
-        <wd-cell title="用户编号" :value="String(formData?.userId ?? '-')" />
+        <wd-cell title="应用名" :value="formData?.applicationName" />
+        <wd-cell title="用户编号" :value="formData?.userId ?? '-'" />
         <wd-cell title="用户类型" :value="getDictLabel(DICT_TYPE.USER_TYPE, formData?.userType) || '-'" />
-        <wd-cell title="用户 IP" :value="formData?.userIp || '-'" />
-        <wd-cell title="用户 UA" :value="formData?.userAgent || '-'" />
+        <wd-cell title="用户 IP" :value="formData?.userIp" />
+        <wd-cell title="用户 UA" :value="formData?.userAgent" />
         <wd-cell title="请求信息" :value="getRequestInfo()" />
         <wd-cell title="请求参数" is-link @click="handleCopyText(formData?.requestParams, '请求参数')">
           <view class="max-w-400rpx truncate text-right">
@@ -29,7 +29,7 @@
           </view>
         </wd-cell>
         <wd-cell title="请求时间" :value="getRequestTimeRange()" />
-        <wd-cell title="请求耗时" :value="formData?.duration ? `${formData.duration} ms` : '-'" />
+        <wd-cell title="请求耗时" :value="`${formData.duration} ms`" />
         <wd-cell title="操作结果">
           <template v-if="formData?.resultCode === 0">
             <wd-tag type="success" plain>

+ 6 - 6
src/pages-infra/api-error-log/detail/index.vue

@@ -10,13 +10,13 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="日志编号" :value="String(formData?.id ?? '-')" />
+        <wd-cell title="日志编号" :value="formData?.id" />
         <wd-cell title="链路追踪" :value="formData?.traceId || '-'" />
-        <wd-cell title="应用名" :value="formData?.applicationName || '-'" />
-        <wd-cell title="用户编号" :value="String(formData?.userId ?? '-')" />
+        <wd-cell title="应用名" :value="formData?.applicationName" />
+        <wd-cell title="用户编号" :value="formData?.userId ?? '-'" />
         <wd-cell title="用户类型" :value="getDictLabel(DICT_TYPE.USER_TYPE, formData?.userType) || '-'" />
-        <wd-cell title="用户 IP" :value="formData?.userIp || '-'" />
-        <wd-cell title="用户 UA" :value="formData?.userAgent || '-'" />
+        <wd-cell title="用户 IP" :value="formData?.userIp" />
+        <wd-cell title="用户 UA" :value="formData?.userAgent" />
         <wd-cell title="请求信息" :value="getRequestInfo()" />
         <wd-cell title="请求参数" is-link @click="handleCopyText(formData?.requestParams, '请求参数')">
           <view class="max-w-400rpx truncate text-right">
@@ -28,7 +28,7 @@
         <wd-cell title="处理状态">
           <dict-tag :type="DICT_TYPE.INFRA_API_ERROR_LOG_PROCESS_STATUS" :value="formData?.processStatus" />
         </wd-cell>
-        <wd-cell v-if="formData?.processUserId" title="处理人" :value="String(formData.processUserId)" />
+        <wd-cell v-if="formData?.processUserId" title="处理人" :value="formData.processUserId" />
         <wd-cell v-if="formData?.processTime" title="处理时间" :value="formatDateTime(formData.processTime) || '-'" />
       </wd-cell-group>
 

+ 6 - 6
src/pages-infra/config/detail/index.vue

@@ -10,18 +10,18 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="参数主键" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="参数分类" :value="String(formData?.category ?? '-')" />
-        <wd-cell title="参数名称" :value="String(formData?.name ?? '-')" />
-        <wd-cell title="参数键名" :value="String(formData?.key ?? '-')" />
-        <wd-cell title="参数键值" :value="String(formData?.value ?? '-')" />
+        <wd-cell title="参数主键" :value="formData?.id" />
+        <wd-cell title="参数分类" :value="formData?.category" />
+        <wd-cell title="参数名称" :value="formData?.name" />
+        <wd-cell title="参数键名" :value="formData?.key" />
+        <wd-cell title="参数键值" :value="formData?.value" />
         <wd-cell title="是否可见">
           <dict-tag :type="DICT_TYPE.INFRA_BOOLEAN_STRING" :value="formData?.visible" />
         </wd-cell>
         <wd-cell title="系统内置">
           <dict-tag :type="DICT_TYPE.INFRA_CONFIG_TYPE" :value="formData?.type" />
         </wd-cell>
-        <wd-cell title="备注" :value="String(formData?.remark ?? '-')" />
+        <wd-cell title="备注" :value="formData?.remark ?? '-'" />
         <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
       </wd-cell-group>
     </view>

+ 4 - 4
src/pages-infra/config/index.vue

@@ -27,15 +27,15 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx shrink-0 text-[#999]">参数分类:</text>
-            <text class="min-w-0 flex-1 truncate">{{ item.category || '-' }}</text>
+            <text class="min-w-0 flex-1 truncate">{{ item.category }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">参数键名:</text>
-            <text class="min-w-0 flex-1 truncate">{{ item.key || '-' }}</text>
+            <text class="min-w-0 flex-1 truncate">{{ item.key }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">参数键值:</text>
-            <text class="min-w-0 flex-1 truncate">{{ item.value || '-' }}</text>
+            <text class="min-w-0 flex-1 truncate">{{ item.value }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">是否可见:</text>
@@ -43,7 +43,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
         </view>
       </view>

+ 5 - 5
src/pages-infra/data-source-config/detail/index.vue

@@ -10,15 +10,15 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="主键编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="数据源名称" :value="String(formData?.name ?? '-')" />
+        <wd-cell title="主键编号" :value="formData?.id" />
+        <wd-cell title="数据源名称" :value="formData?.name" />
         <wd-cell title="数据源连接" is-link @click="handleCopyText(formData?.url, '数据源连接')">
           <view class="max-w-400rpx truncate text-right">
-            {{ formData?.url || '-' }}
+            {{ formData?.url }}
           </view>
         </wd-cell>
-        <wd-cell title="用户名" :value="String(formData?.username ?? '-')" />
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="用户名" :value="formData?.username" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
 

+ 3 - 3
src/pages-infra/data-source-config/index.vue

@@ -30,15 +30,15 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">数据源连接:</text>
-            <text class="min-w-0 flex-1 truncate">{{ item.url || '-' }}</text>
+            <text class="min-w-0 flex-1 truncate">{{ item.url }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">用户名:</text>
-            <text>{{ item.username || '-' }}</text>
+            <text>{{ item.username }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
         </view>
       </view>

+ 1 - 1
src/pages-infra/file/components/config-list.vue

@@ -33,7 +33,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
           <!-- 操作按钮 -->
           <view class="mt-16rpx flex justify-end gap-16rpx">

+ 2 - 2
src/pages-infra/file/components/file-list.vue

@@ -23,7 +23,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx shrink-0 text-[#999]">文件类型:</text>
-            <text class="min-w-0 flex-1 truncate">{{ item.type || '-' }}</text>
+            <text class="min-w-0 flex-1 truncate">{{ item.type }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx shrink-0 text-[#999]">文件大小:</text>
@@ -31,7 +31,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">上传时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
           <view v-if="item.type && item.type.includes('image')" class="mb-12rpx">
             <wd-img

+ 15 - 15
src/pages-infra/file/config/detail/index.vue

@@ -10,43 +10,43 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="配置编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="配置名" :value="String(formData?.name ?? '-')" />
+        <wd-cell title="配置编号" :value="formData?.id" />
+        <wd-cell title="配置名" :value="formData?.name" />
         <wd-cell title="存储器">
           <dict-tag :type="DICT_TYPE.INFRA_FILE_STORAGE" :value="formData?.storage" />
         </wd-cell>
         <wd-cell title="主配置">
           <dict-tag :type="DICT_TYPE.INFRA_BOOLEAN_STRING" :value="formData?.master" />
         </wd-cell>
-        <wd-cell title="备注" :value="String(formData?.remark ?? '-')" />
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="备注" :value="formData?.remark ?? '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
 
       <!-- 存储配置详情 -->
       <wd-cell-group v-if="formData?.config" border title="存储配置">
         <!-- DB / Local / FTP / SFTP 配置 -->
         <template v-if="formData.storage && formData.storage >= 10 && formData.storage <= 12">
-          <wd-cell title="基础路径" :value="String(formData.config.basePath ?? '-')" />
+          <wd-cell title="基础路径" :value="formData.config.basePath ?? '-'" />
           <template v-if="formData.storage >= 11 && formData.storage <= 12">
-            <wd-cell title="主机地址" :value="String(formData.config.host ?? '-')" />
-            <wd-cell title="主机端口" :value="String(formData.config.port ?? '-')" />
-            <wd-cell title="用户名" :value="String(formData.config.username ?? '-')" />
-            <wd-cell title="密码" :value="String(formData.config.password ?? '-')" />
+            <wd-cell title="主机地址" :value="formData.config.host ?? '-'" />
+            <wd-cell title="主机端口" :value="formData.config.port ?? '-'" />
+            <wd-cell title="用户名" :value="formData.config.username ?? '-'" />
+            <wd-cell title="密码" :value="formData.config.password ?? '-'" />
           </template>
           <wd-cell v-if="formData.storage === 11" title="连接模式" :value="formData.config.mode === 'Active' ? '主动模式' : '被动模式'" />
         </template>
         <!-- S3 配置 -->
         <template v-if="formData.storage === 20">
-          <wd-cell title="节点地址" :value="String(formData.config.endpoint ?? '-')" />
-          <wd-cell title="存储 bucket" :value="String(formData.config.bucket ?? '-')" />
-          <wd-cell title="accessKey" :value="String(formData.config.accessKey ?? '-')" />
-          <wd-cell title="accessSecret" :value="String(formData.config.accessSecret ?? '-')" />
+          <wd-cell title="节点地址" :value="formData.config.endpoint" />
+          <wd-cell title="存储 bucket" :value="formData.config.bucket" />
+          <wd-cell title="accessKey" :value="formData.config.accessKey" />
+          <wd-cell title="accessSecret" :value="formData.config.accessSecret" />
           <wd-cell title="Path Style" :value="formData.config.enablePathStyleAccess ? '启用' : '禁用'" />
           <wd-cell title="公开访问" :value="formData.config.enablePublicAccess ? '公开' : '私有'" />
-          <wd-cell title="区域" :value="String(formData.config.region ?? '-')" />
+          <wd-cell title="区域" :value="formData.config.region ?? '-'" />
         </template>
         <!-- 通用配置 -->
-        <wd-cell title="自定义域名" :value="String(formData.config.domain ?? '-')" />
+        <wd-cell title="自定义域名" :value="formData.config.domain ?? '-'" />
       </wd-cell-group>
     </view>
 

+ 6 - 6
src/pages-infra/file/detail/index.vue

@@ -10,13 +10,13 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="文件编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="文件名" :value="String(formData?.name ?? '-')" />
-        <wd-cell title="文件路径" :value="String(formData?.path ?? '-')" />
-        <wd-cell title="文件 URL" :value="String(formData?.url ?? '-')" />
+        <wd-cell title="文件编号" :value="formData?.id" />
+        <wd-cell title="文件名" :value="formData?.name" />
+        <wd-cell title="文件路径" :value="formData?.path" />
+        <wd-cell title="文件 URL" :value="formData?.url" />
         <wd-cell title="文件大小" :value="formatFileSize(formData?.size)" />
-        <wd-cell title="文件类型" :value="String(formData?.type ?? '-')" />
-        <wd-cell title="上传时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="文件类型" :value="formData?.type" />
+        <wd-cell title="上传时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
       <!-- 文件预览 -->
       <view v-if="formData?.type && formData.type.includes('image')" class="m-24rpx">

+ 3 - 3
src/pages-infra/job/components/job-list.vue

@@ -20,7 +20,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx shrink-0 text-[#999]">处理器名称:</text>
-            <text class="min-w-0 flex-1 truncate">{{ item.handlerName || '-' }}</text>
+            <text class="min-w-0 flex-1 truncate">{{ item.handlerName }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx shrink-0 text-[#999]">处理器参数:</text>
@@ -28,11 +28,11 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">CRON 表达式:</text>
-            <text class="min-w-0 flex-1 truncate">{{ item.cronExpression || '-' }}</text>
+            <text class="min-w-0 flex-1 truncate">{{ item.cronExpression }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
           <!-- 查看日志按钮 -->
           <view class="flex justify-end -mt-8">

+ 2 - 2
src/pages-infra/job/components/log-list.vue

@@ -20,7 +20,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx shrink-0 text-[#999]">任务编号:</text>
-            <text class="min-w-0 flex-1 truncate">{{ item.jobId || '-' }}</text>
+            <text class="min-w-0 flex-1 truncate">{{ item.jobId }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx shrink-0 text-[#999]">处理器参数:</text>
@@ -32,7 +32,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">开始时间:</text>
-            <text>{{ formatDateTime(item.beginTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.beginTime) }}</text>
           </view>
         </view>
       </view>

+ 6 - 6
src/pages-infra/job/job/detail/index.vue

@@ -10,15 +10,15 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="任务编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="任务名称" :value="String(formData?.name ?? '-')" />
+        <wd-cell title="任务编号" :value="formData?.id" />
+        <wd-cell title="任务名称" :value="formData?.name" />
         <wd-cell title="任务状态">
           <dict-tag :type="DICT_TYPE.INFRA_JOB_STATUS" :value="formData?.status" />
         </wd-cell>
-        <wd-cell title="处理器名称" :value="String(formData?.handlerName ?? '-')" />
-        <wd-cell title="处理器参数" :value="String(formData?.handlerParam ?? '-')" />
-        <wd-cell title="CRON 表达式" :value="String(formData?.cronExpression ?? '-')" />
-        <wd-cell title="重试次数" :value="String(formData?.retryCount ?? '-')" />
+        <wd-cell title="处理器名称" :value="formData?.handlerName" />
+        <wd-cell title="处理器参数" :value="formData?.handlerParam ?? '-'" />
+        <wd-cell title="CRON 表达式" :value="formData?.cronExpression" />
+        <wd-cell title="重试次数" :value="formData?.retryCount" />
         <wd-cell title="重试间隔" :value="formData?.retryInterval ? `${formData.retryInterval} ms` : '-'" />
         <wd-cell title="监控超时" :value="formData?.monitorTimeout ? `${formData.monitorTimeout} ms` : '-'" />
         <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />

+ 10 - 10
src/pages-infra/job/log/detail/index.vue

@@ -10,20 +10,20 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="日志编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="任务编号" :value="String(formData?.jobId ?? '-')" />
-        <wd-cell title="处理器名称" :value="String(formData?.handlerName ?? '-')" />
-        <wd-cell title="处理器参数" :value="String(formData?.handlerParam ?? '-')" />
-        <wd-cell title="CRON 表达式" :value="String(formData?.cronExpression ?? '-')" />
-        <wd-cell title="执行索引" :value="String(formData?.executeIndex ?? '-')" />
+        <wd-cell title="日志编号" :value="formData?.id" />
+        <wd-cell title="任务编号" :value="formData?.jobId" />
+        <wd-cell title="处理器名称" :value="formData?.handlerName" />
+        <wd-cell title="处理器参数" :value="formData?.handlerParam ?? '-'" />
+        <wd-cell title="CRON 表达式" :value="formData?.cronExpression" />
+        <wd-cell title="执行索引" :value="formData?.executeIndex" />
         <wd-cell title="执行状态">
           <dict-tag :type="DICT_TYPE.INFRA_JOB_LOG_STATUS" :value="formData?.status" />
         </wd-cell>
-        <wd-cell title="开始时间" :value="formatDateTime(formData?.beginTime) || '-'" />
-        <wd-cell title="结束时间" :value="formatDateTime(formData?.endTime) || '-'" />
+        <wd-cell title="开始时间" :value="formatDateTime(formData?.beginTime)" />
+        <wd-cell title="结束时间" :value="formatDateTime(formData?.endTime)" />
         <wd-cell title="执行时长" :value="formData?.duration ? `${formData.duration} ms` : '-'" />
-        <wd-cell title="执行结果" :value="String(formData?.result ?? '-')" />
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="执行结果" :value="formData?.result" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
   </view>

+ 2 - 2
src/pages-system/dept/detail/index.vue

@@ -10,12 +10,12 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="部门名称" :value="formData?.name || '-'" />
+        <wd-cell title="部门名称" :value="formData?.name" />
         <wd-cell title="上级部门" :value="getParentName() || '-'" />
         <wd-cell title="负责人" :value="getLeaderName() || '-'" />
         <wd-cell title="联系电话" :value="formData?.phone || '-'" />
         <wd-cell title="邮箱" :value="formData?.email || '-'" />
-        <wd-cell title="显示顺序" :value="String(formData?.sort ?? '-')" />
+        <wd-cell title="显示顺序" :value="formData?.sort" />
         <wd-cell title="状态">
           <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="formData?.status" />
         </wd-cell>

+ 1 - 1
src/pages-system/dict/components/data-list.vue

@@ -42,7 +42,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
         </view>
       </view>

+ 1 - 1
src/pages-system/dict/components/type-list.vue

@@ -28,7 +28,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
           <!-- 查看数据按钮 -->
           <view class="flex justify-end -mt-8">

+ 7 - 7
src/pages-system/dict/data/detail/index.vue

@@ -10,11 +10,11 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="字典编码" :value="formData?.id ?? '-'" />
-        <wd-cell title="字典类型" :value="formData?.dictType ?? '-'" />
-        <wd-cell title="字典标签" :value="formData?.label ?? '-'" />
-        <wd-cell title="字典键值" :value="formData?.value ?? '-'" />
-        <wd-cell title="字典排序" :value="formData?.sort ?? '-'" />
+        <wd-cell title="字典编码" :value="formData?.id" />
+        <wd-cell title="字典类型" :value="formData?.dictType" />
+        <wd-cell title="字典标签" :value="formData?.label" />
+        <wd-cell title="字典键值" :value="formData?.value" />
+        <wd-cell title="字典排序" :value="formData?.sort" />
         <wd-cell title="状态">
           <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="formData?.status" />
         </wd-cell>
@@ -30,8 +30,8 @@
           </view>
           <text v-else>-</text>
         </wd-cell>
-        <wd-cell title="备注" :value="String(formData?.remark ?? '-')" />
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="备注" :value="formData?.remark ?? '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
 

+ 5 - 5
src/pages-system/dict/type/detail/index.vue

@@ -10,14 +10,14 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="字典编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="字典名称" :value="String(formData?.name ?? '-')" />
-        <wd-cell title="字典类型" :value="String(formData?.type ?? '-')" />
+        <wd-cell title="字典编号" :value="formData?.id" />
+        <wd-cell title="字典名称" :value="formData?.name" />
+        <wd-cell title="字典类型" :value="formData?.type" />
         <wd-cell title="状态">
           <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="formData?.status" />
         </wd-cell>
-        <wd-cell title="备注" :value="String(formData?.remark ?? '-')" />
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="备注" :value="formData?.remark ?? '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
 

+ 1 - 1
src/pages-system/login-log/detail/index.vue

@@ -10,7 +10,7 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="日志编号" :value="String(formData?.id ?? '-')" />
+        <wd-cell title="日志编号" :value="formData?.id" />
         <wd-cell title="登录类型">
           <dict-tag :type="DICT_TYPE.SYSTEM_LOGIN_TYPE" :value="formData?.logType" />
         </wd-cell>

+ 2 - 2
src/pages-system/login-log/index.vue

@@ -30,11 +30,11 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">登录地址:</text>
-            <text class="line-clamp-1">{{ item.userIp || '-' }}</text>
+            <text class="line-clamp-1">{{ item.userIp }}</text>
           </view>
           <view class="mb-12rpx flex text-28rpx text-[#666]">
             <text class="mr-8rpx shrink-0 text-[#999]">登录时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
         </view>
       </view>

+ 6 - 6
src/pages-system/mail/account/detail/index.vue

@@ -10,18 +10,18 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="邮箱" :value="String(formData?.mail ?? '-')" />
-        <wd-cell title="用户名" :value="String(formData?.username ?? '-')" />
-        <wd-cell title="SMTP 服务器域名" :value="String(formData?.host ?? '-')" />
-        <wd-cell title="SMTP 服务器端口" :value="String(formData?.port ?? '-')" />
+        <wd-cell title="编号" :value="formData?.id" />
+        <wd-cell title="邮箱" :value="formData?.mail" />
+        <wd-cell title="用户名" :value="formData?.username" />
+        <wd-cell title="SMTP 服务器域名" :value="formData?.host" />
+        <wd-cell title="SMTP 服务器端口" :value="formData?.port" />
         <wd-cell title="是否开启 SSL">
           <dict-tag :type="DICT_TYPE.INFRA_BOOLEAN_STRING" :value="formData?.sslEnable" />
         </wd-cell>
         <wd-cell title="是否开启 STARTTLS">
           <dict-tag :type="DICT_TYPE.INFRA_BOOLEAN_STRING" :value="formData?.starttlsEnable" />
         </wd-cell>
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
 

+ 1 - 1
src/pages-system/mail/components/account-list.vue

@@ -23,7 +23,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
         </view>
       </view>

+ 3 - 3
src/pages-system/mail/components/log-list.vue

@@ -14,13 +14,13 @@
         <view class="p-24rpx">
           <view class="mb-16rpx flex items-center justify-between">
             <view class="text-32rpx text-[#333] font-semibold">
-              {{ item.templateTitle || '-' }}
+              {{ item.templateTitle }}
             </view>
             <dict-tag :type="DICT_TYPE.SYSTEM_MAIL_SEND_STATUS" :value="item.sendStatus" />
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx shrink-0 text-[#999]">发送邮箱:</text>
-            <text class="min-w-0 flex-1 truncate">{{ item.fromMail || '-' }}</text>
+            <text class="min-w-0 flex-1 truncate">{{ item.fromMail }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx shrink-0 text-[#999]">收件人:</text>
@@ -28,7 +28,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">发送时间:</text>
-            <text>{{ formatDateTime(item.sendTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.sendTime) }}</text>
           </view>
         </view>
       </view>

+ 1 - 1
src/pages-system/mail/components/template-list.vue

@@ -28,7 +28,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
         </view>
       </view>

+ 10 - 10
src/pages-system/mail/log/detail/index.vue

@@ -10,20 +10,20 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="日志编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="发送邮箱" :value="String(formData?.fromMail ?? '-')" />
+        <wd-cell title="日志编号" :value="formData?.id" />
+        <wd-cell title="发送邮箱" :value="formData?.fromMail" />
         <wd-cell title="接收信息" :value="formatReceiveInfo(formData)" />
-        <wd-cell title="模板编号" :value="String(formData?.templateId ?? '-')" />
-        <wd-cell title="模板编码" :value="String(formData?.templateCode ?? '-')" />
-        <wd-cell title="邮件标题" :value="String(formData?.templateTitle ?? '-')" />
-        <wd-cell title="邮件内容" :value="String(formData?.templateContent ?? '-')" />
+        <wd-cell title="模板编号" :value="formData?.templateId" />
+        <wd-cell title="模板编码" :value="formData?.templateCode" />
+        <wd-cell title="邮件标题" :value="formData?.templateTitle" />
+        <wd-cell title="邮件内容" :value="formData?.templateContent" />
         <wd-cell title="发送状态">
           <dict-tag :type="DICT_TYPE.SYSTEM_MAIL_SEND_STATUS" :value="formData?.sendStatus" />
         </wd-cell>
-        <wd-cell title="发送时间" :value="formatDateTime(formData?.sendTime) || '-'" />
-        <wd-cell title="发送消息编号" :value="String(formData?.sendMessageId ?? '-')" />
-        <wd-cell title="发送异常" :value="String(formData?.sendException ?? '-')" />
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="发送时间" :value="formatDateTime(formData?.sendTime)" />
+        <wd-cell title="发送消息编号" :value="formData?.sendMessageId ?? '-'" />
+        <wd-cell title="发送异常" :value="formData?.sendException ?? '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
   </view>

+ 9 - 9
src/pages-system/mail/template/detail/index.vue

@@ -10,18 +10,18 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="模板编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="模板名称" :value="String(formData?.name ?? '-')" />
-        <wd-cell title="模板编码" :value="String(formData?.code ?? '-')" />
-        <wd-cell title="邮箱账号" :value="String(getAccountMail(formData?.accountId) || formData?.accountId || '-')" />
-        <wd-cell title="发送人名称" :value="String(formData?.nickname ?? '-')" />
-        <wd-cell title="模板标题" :value="String(formData?.title ?? '-')" />
+        <wd-cell title="模板编号" :value="formData?.id" />
+        <wd-cell title="模板名称" :value="formData?.name" />
+        <wd-cell title="模板编码" :value="formData?.code" />
+        <wd-cell title="邮箱账号" :value="getAccountMail(formData?.accountId) || formData?.accountId" />
+        <wd-cell title="发送人名称" :value="formData?.nickname" />
+        <wd-cell title="模板标题" :value="formData?.title" />
         <wd-cell title="开启状态">
           <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="formData?.status" />
         </wd-cell>
-        <wd-cell title="模板内容" :value="String(formData?.content ?? '-')" />
-        <wd-cell title="备注" :value="String(formData?.remark ?? '-')" />
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="模板内容" :value="formData?.content" />
+        <wd-cell title="备注" :value="formData?.remark ?? '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
 

+ 2 - 2
src/pages-system/menu/detail/index.vue

@@ -15,7 +15,7 @@
           <dict-tag :type="DICT_TYPE.SYSTEM_MENU_TYPE" :value="formData?.type" />
         </wd-cell>
         <wd-cell title="上级菜单" :value="parentMenuName" />
-        <wd-cell title="显示排序" :value="String(formData?.sort ?? '-')" />
+        <wd-cell title="显示排序" :value="formData?.sort" />
         <wd-cell title="路由地址" :value="formData?.path || '-'" />
         <wd-cell v-if="formData?.type === SystemMenuTypeEnum.MENU" title="组件路径" :value="formData?.component || '-'" />
         <wd-cell v-if="formData?.type === SystemMenuTypeEnum.MENU" title="组件名称" :value="formData?.componentName || '-'" />
@@ -39,7 +39,7 @@
             不缓存
           </wd-tag>
         </wd-cell>
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
 

+ 4 - 4
src/pages-system/notice/detail/index.vue

@@ -10,16 +10,16 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="公告编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="公告标题" :value="String(formData?.title ?? '-')" />
-        <wd-cell title="公告内容" :value="String(formData?.content ?? '-')" />
+        <wd-cell title="公告编号" :value="formData?.id" />
+        <wd-cell title="公告标题" :value="formData?.title" />
+        <wd-cell title="公告内容" :value="formData?.content" />
         <wd-cell title="公告类型">
           <dict-tag :type="DICT_TYPE.SYSTEM_NOTICE_TYPE" :value="formData?.type" />
         </wd-cell>
         <wd-cell title="公告状态">
           <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="formData?.status" />
         </wd-cell>
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
 

+ 1 - 1
src/pages-system/notice/index.vue

@@ -35,7 +35,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text class="line-clamp-1">{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text class="line-clamp-1">{{ formatDateTime(item.createTime) }}</text>
           </view>
         </view>
       </view>

+ 2 - 2
src/pages-system/notify/components/message-list.vue

@@ -14,7 +14,7 @@
         <view class="p-24rpx">
           <view class="mb-16rpx flex items-center justify-between">
             <view class="text-32rpx text-[#333] font-semibold">
-              {{ item.templateNickname || '-' }}
+              {{ item.templateNickname }}
             </view>
             <dict-tag :type="DICT_TYPE.INFRA_BOOLEAN_STRING" :value="item.readStatus" />
           </view>
@@ -40,7 +40,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
         </view>
       </view>

+ 2 - 2
src/pages-system/notify/components/template-list.vue

@@ -24,7 +24,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx shrink-0 text-[#999]">发送人名称:</text>
-            <text class="min-w-0 flex-1 truncate">{{ item.nickname || '-' }}</text>
+            <text class="min-w-0 flex-1 truncate">{{ item.nickname }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx shrink-0 text-[#999]">模板类型:</text>
@@ -36,7 +36,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
         </view>
       </view>

+ 7 - 7
src/pages-system/notify/message/detail/index.vue

@@ -10,15 +10,15 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="编号" :value="String(formData?.id ?? '-')" />
+        <wd-cell title="编号" :value="formData?.id" />
         <wd-cell title="用户类型">
           <dict-tag :type="DICT_TYPE.USER_TYPE" :value="formData?.userType" />
         </wd-cell>
-        <wd-cell title="用户编号" :value="String(formData?.userId ?? '-')" />
-        <wd-cell title="模版编号" :value="String(formData?.templateId ?? '-')" />
-        <wd-cell title="模板编码" :value="String(formData?.templateCode ?? '-')" />
-        <wd-cell title="发送人名称" :value="String(formData?.templateNickname ?? '-')" />
-        <wd-cell title="模版内容" :value="String(formData?.templateContent ?? '-')" />
+        <wd-cell title="用户编号" :value="formData?.userId" />
+        <wd-cell title="模版编号" :value="formData?.templateId" />
+        <wd-cell title="模板编码" :value="formData?.templateCode" />
+        <wd-cell title="发送人名称" :value="formData?.templateNickname" />
+        <wd-cell title="模版内容" :value="formData?.templateContent" />
         <wd-cell title="模版参数" :value="formatTemplateParams(formData?.templateParams)" />
         <wd-cell title="模版类型">
           <dict-tag :type="DICT_TYPE.SYSTEM_NOTIFY_TEMPLATE_TYPE" :value="formData?.templateType" />
@@ -27,7 +27,7 @@
           <dict-tag :type="DICT_TYPE.INFRA_BOOLEAN_STRING" :value="formData?.readStatus" />
         </wd-cell>
         <wd-cell title="阅读时间" :value="formatDateTime(formData?.readTime) || '-'" />
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
   </view>

+ 7 - 7
src/pages-system/notify/template/detail/index.vue

@@ -10,19 +10,19 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="模板编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="模板名称" :value="String(formData?.name ?? '-')" />
-        <wd-cell title="模板编码" :value="String(formData?.code ?? '-')" />
-        <wd-cell title="发送人名称" :value="String(formData?.nickname ?? '-')" />
+        <wd-cell title="模板编号" :value="formData?.id" />
+        <wd-cell title="模板名称" :value="formData?.name" />
+        <wd-cell title="模板编码" :value="formData?.code" />
+        <wd-cell title="发送人名称" :value="formData?.nickname" />
         <wd-cell title="模板类型">
           <dict-tag :type="DICT_TYPE.SYSTEM_NOTIFY_TEMPLATE_TYPE" :value="formData?.type" />
         </wd-cell>
         <wd-cell title="状态">
           <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="formData?.status" />
         </wd-cell>
-        <wd-cell title="模板内容" :value="String(formData?.content ?? '-')" />
-        <wd-cell title="备注" :value="String(formData?.remark ?? '-')" />
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="模板内容" :value="formData?.content" />
+        <wd-cell title="备注" :value="formData?.remark ?? '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
 

+ 7 - 7
src/pages-system/oauth2/client/detail/index.vue

@@ -10,19 +10,19 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="客户端编号" :value="String(formData?.clientId ?? '-')" />
-        <wd-cell title="客户端密钥" :value="String(formData?.secret ?? '-')" />
-        <wd-cell title="应用名" :value="String(formData?.name ?? '-')" />
-        <wd-cell title="应用描述" :value="String(formData?.description ?? '-')" />
+        <wd-cell title="客户端编号" :value="formData?.clientId" />
+        <wd-cell title="客户端密钥" :value="formData?.secret" />
+        <wd-cell title="应用名" :value="formData?.name" />
+        <wd-cell title="应用描述" :value="formData?.description ?? '-'" />
         <wd-cell title="状态">
           <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="formData?.status" />
         </wd-cell>
-        <wd-cell title="访问令牌有效期" :value="`${formData?.accessTokenValiditySeconds ?? '-'} 秒`" />
-        <wd-cell title="刷新令牌有效期" :value="`${formData?.refreshTokenValiditySeconds ?? '-'} 秒`" />
+        <wd-cell title="访问令牌有效期" :value="`${formData?.accessTokenValiditySeconds} 秒`" />
+        <wd-cell title="刷新令牌有效期" :value="`${formData?.refreshTokenValiditySeconds} 秒`" />
         <wd-cell title="授权类型" :value="formData?.authorizedGrantTypes?.join(', ') || '-'" />
         <wd-cell title="授权范围" :value="formData?.scopes?.join(', ') || '-'" />
         <wd-cell title="可重定向 URI" :value="formData?.redirectUris?.join(', ') || '-'" />
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
 

+ 2 - 2
src/pages-system/oauth2/components/client-list.vue

@@ -20,7 +20,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx shrink-0 text-[#999]">客户端编号:</text>
-            <text class="min-w-0 flex-1 truncate">{{ item.clientId || '-' }}</text>
+            <text class="min-w-0 flex-1 truncate">{{ item.clientId }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">访问令牌有效期:</text>
@@ -32,7 +32,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
         </view>
       </view>

+ 6 - 6
src/pages-system/oauth2/components/token-list.vue

@@ -19,28 +19,28 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx shrink-0 text-[#999]">访问令牌:</text>
-            <text class="min-w-0 flex-1 truncate">{{ item.accessToken || '-' }}</text>
+            <text class="min-w-0 flex-1 truncate">{{ item.accessToken }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">刷新令牌:</text>
-            <text class="min-w-0 flex-1 truncate">{{ item.refreshToken || '-' }}</text>
+            <text class="min-w-0 flex-1 truncate">{{ item.refreshToken }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">客户端编号:</text>
-            <text>{{ item.clientId || '-' }}</text>
+            <text>{{ item.clientId }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">过期时间:</text>
-            <text>{{ formatDateTime(item.expiresTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.expiresTime) }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
           <!-- 删除按钮 -->
           <view
             v-if="hasAccessByCodes(['system:oauth2-token:delete'])"
-            class="-mt-8 flex justify-end"
+            class="flex justify-end -mt-8"
           >
             <wd-button size="small" type="error" @click="handleDelete(item)">
               强退

+ 10 - 10
src/pages-system/operate-log/detail/index.vue

@@ -10,18 +10,18 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="日志编号" :value="String(formData?.id ?? '-')" />
+        <wd-cell title="日志编号" :value="formData?.id" />
         <wd-cell v-if="formData?.traceId" title="链路追踪" :value="formData.traceId" />
-        <wd-cell title="操作人编号" :value="String(formData?.userId ?? '-')" />
+        <wd-cell title="操作人编号" :value="formData?.userId ?? '-'" />
         <wd-cell title="操作人类型">
           <dict-tag :type="DICT_TYPE.USER_TYPE" :value="formData?.userType" />
         </wd-cell>
-        <wd-cell title="操作人名字" :value="formData?.userName || '-'" />
-        <wd-cell title="操作人 IP" :value="formData?.userIp || '-'" />
-        <wd-cell title="操作人 UA" :value="formData?.userAgent || '-'" />
-        <wd-cell title="操作模块" :value="formData?.type || '-'" />
-        <wd-cell title="操作名" :value="formData?.subType || '-'" />
-        <wd-cell title="操作内容" :value="formData?.action || '-'" />
+        <wd-cell title="操作人名字" :value="formData?.userName" />
+        <wd-cell title="操作人 IP" :value="formData?.userIp" />
+        <wd-cell title="操作人 UA" :value="formData?.userAgent" />
+        <wd-cell title="操作模块" :value="formData?.type" />
+        <wd-cell title="操作名" :value="formData?.subType" />
+        <wd-cell title="操作内容" :value="formData?.action" />
         <wd-cell v-if="formData?.extra" title="操作拓展参数" :value="formData.extra" />
         <wd-cell title="请求 URL">
           <template #value>
@@ -31,8 +31,8 @@
             <text v-else>-</text>
           </template>
         </wd-cell>
-        <wd-cell title="操作时间" :value="formatDateTime(formData?.createTime) || '-'" />
-        <wd-cell title="业务编号" :value="String(formData?.bizId ?? '-')" />
+        <wd-cell title="操作时间" :value="formatDateTime(formData?.createTime)" />
+        <wd-cell title="业务编号" :value="formData?.bizId ?? '-'" />
       </wd-cell-group>
     </view>
   </view>

+ 1 - 1
src/pages-system/operate-log/index.vue

@@ -35,7 +35,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">操作时间:</text>
-            <text class="line-clamp-1">{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text class="line-clamp-1">{{ formatDateTime(item.createTime) }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">业务编号:</text>

+ 4 - 4
src/pages-system/post/detail/index.vue

@@ -10,14 +10,14 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="岗位名称" :value="formData?.name || '-'" />
-        <wd-cell title="岗位编码" :value="formData?.code || '-'" />
-        <wd-cell title="显示顺序" :value="String(formData?.sort ?? '-')" />
+        <wd-cell title="岗位名称" :value="formData?.name" />
+        <wd-cell title="岗位编码" :value="formData?.code" />
+        <wd-cell title="显示顺序" :value="formData?.sort" />
         <wd-cell title="状态">
           <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="formData?.status" />
         </wd-cell>
         <wd-cell title="备注" :value="formData?.remark || '-'" />
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
 

+ 2 - 2
src/pages-system/role/detail/index.vue

@@ -12,12 +12,12 @@
       <wd-cell-group border>
         <wd-cell title="角色名称" :value="formData?.name || '-'" />
         <wd-cell title="角色标识" :value="formData?.code || '-'" />
-        <wd-cell title="显示顺序" :value="String(formData?.sort ?? '-')" />
+        <wd-cell title="显示顺序" :value="formData?.sort" />
         <wd-cell title="状态">
           <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="formData?.status" />
         </wd-cell>
         <wd-cell title="备注" :value="formData?.remark || '-'" />
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
 

+ 7 - 7
src/pages-system/sms/channel/detail/index.vue

@@ -10,19 +10,19 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="渠道编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="短信签名" :value="String(formData?.signature ?? '-')" />
+        <wd-cell title="渠道编号" :value="formData?.id" />
+        <wd-cell title="短信签名" :value="formData?.signature" />
         <wd-cell title="渠道编码">
           <dict-tag :type="DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE" :value="formData?.code" />
         </wd-cell>
         <wd-cell title="启用状态">
           <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="formData?.status" />
         </wd-cell>
-        <wd-cell title="短信 API 账号" :value="String(formData?.apiKey ?? '-')" />
-        <wd-cell title="短信 API 密钥" :value="String(formData?.apiSecret ?? '-')" />
-        <wd-cell title="回调 URL" :value="String(formData?.callbackUrl ?? '-')" />
-        <wd-cell title="备注" :value="String(formData?.remark ?? '-')" />
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="短信 API 账号" :value="formData?.apiKey" />
+        <wd-cell title="短信 API 密钥" :value="formData?.apiSecret" />
+        <wd-cell title="回调 URL" :value="formData?.callbackUrl" />
+        <wd-cell title="备注" :value="formData?.remark ?? '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
 

+ 2 - 2
src/pages-system/sms/components/channel-list.vue

@@ -24,11 +24,11 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">API 账号:</text>
-            <text class="min-w-0 flex-1 truncate">{{ item.apiKey || '-' }}</text>
+            <text class="min-w-0 flex-1 truncate">{{ item.apiKey }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
         </view>
       </view>

+ 1 - 1
src/pages-system/sms/components/template-list.vue

@@ -32,7 +32,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
         </view>
       </view>

+ 12 - 12
src/pages-system/sms/log/detail/index.vue

@@ -10,31 +10,31 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="日志编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="手机号" :value="String(formData?.mobile ?? '-')" />
+        <wd-cell title="日志编号" :value="formData?.id" />
+        <wd-cell title="手机号" :value="formData?.mobile" />
         <wd-cell title="短信渠道">
           <dict-tag :type="DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE" :value="formData?.channelCode" />
         </wd-cell>
-        <wd-cell title="模板编号" :value="String(formData?.templateId ?? '-')" />
+        <wd-cell title="模板编号" :value="formData?.templateId" />
         <wd-cell title="模板类型">
           <dict-tag :type="DICT_TYPE.SYSTEM_SMS_TEMPLATE_TYPE" :value="formData?.templateType" />
         </wd-cell>
-        <wd-cell title="短信内容" :value="String(formData?.templateContent ?? '-')" />
+        <wd-cell title="短信内容" :value="formData?.templateContent" />
         <wd-cell title="发送状态">
           <dict-tag :type="DICT_TYPE.SYSTEM_SMS_SEND_STATUS" :value="formData?.sendStatus" />
         </wd-cell>
-        <wd-cell title="发送时间" :value="formatDateTime(formData?.sendTime) || '-'" />
-        <wd-cell title="API 发送编码" :value="String(formData?.apiSendCode ?? '-')" />
-        <wd-cell title="API 发送消息" :value="String(formData?.apiSendMsg ?? '-')" />
+        <wd-cell title="发送时间" :value="formatDateTime(formData?.sendTime)" />
+        <wd-cell title="API 发送编码" :value="formData?.apiSendCode" />
+        <wd-cell title="API 发送消息" :value="formData?.apiSendMsg" />
         <wd-cell title="接收状态">
           <dict-tag :type="DICT_TYPE.SYSTEM_SMS_RECEIVE_STATUS" :value="formData?.receiveStatus" />
         </wd-cell>
         <wd-cell title="接收时间" :value="formatDateTime(formData?.receiveTime) || '-'" />
-        <wd-cell title="API 接收编码" :value="String(formData?.apiReceiveCode ?? '-')" />
-        <wd-cell title="API 接收消息" :value="String(formData?.apiReceiveMsg ?? '-')" />
-        <wd-cell title="API 请求 ID" :value="String(formData?.apiRequestId ?? '-')" />
-        <wd-cell title="API 序列号" :value="String(formData?.apiSerialNo ?? '-')" />
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="API 接收编码" :value="formData?.apiReceiveCode ?? '-'" />
+        <wd-cell title="API 接收消息" :value="formData?.apiReceiveMsg ?? '-'" />
+        <wd-cell title="API 请求 ID" :value="formData?.apiRequestId ?? '-'" />
+        <wd-cell title="API 序列号" :value="formData?.apiSerialNo ?? '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
   </view>

+ 6 - 6
src/pages-system/sms/template/detail/index.vue

@@ -10,21 +10,21 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="模板编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="模板名称" :value="String(formData?.name ?? '-')" />
-        <wd-cell title="模板编码" :value="String(formData?.code ?? '-')" />
+        <wd-cell title="模板编号" :value="formData?.id" />
+        <wd-cell title="模板名称" :value="formData?.name" />
+        <wd-cell title="模板编码" :value="formData?.code" />
         <wd-cell title="短信类型">
           <dict-tag :type="DICT_TYPE.SYSTEM_SMS_TEMPLATE_TYPE" :value="formData?.type" />
         </wd-cell>
         <wd-cell title="开启状态">
           <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="formData?.status" />
         </wd-cell>
-        <wd-cell title="模板内容" :value="String(formData?.content ?? '-')" />
-        <wd-cell title="API 模板编号" :value="String(formData?.apiTemplateId ?? '-')" />
+        <wd-cell title="模板内容" :value="formData?.content" />
+        <wd-cell title="API 模板编号" :value="formData?.apiTemplateId" />
         <wd-cell title="短信渠道">
           <dict-tag :type="DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE" :value="formData?.channelCode" />
         </wd-cell>
-        <wd-cell title="备注" :value="String(formData?.remark ?? '-')" />
+        <wd-cell title="备注" :value="formData?.remark ?? '-'" />
         <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
       </wd-cell-group>
     </view>

+ 7 - 7
src/pages-system/social/client/detail/index.vue

@@ -10,22 +10,22 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="应用名" :value="String(formData?.name ?? '-')" />
+        <wd-cell title="编号" :value="formData?.id" />
+        <wd-cell title="应用名" :value="formData?.name" />
         <wd-cell title="社交平台">
           <dict-tag :type="DICT_TYPE.SYSTEM_SOCIAL_TYPE" :value="formData?.socialType" />
         </wd-cell>
         <wd-cell title="用户类型">
           <dict-tag :type="DICT_TYPE.USER_TYPE" :value="formData?.userType" />
         </wd-cell>
-        <wd-cell title="应用编号" :value="String(formData?.clientId ?? '-')" />
-        <wd-cell title="应用密钥" :value="String(formData?.clientSecret ?? '-')" />
-        <wd-cell title="agentId" :value="String(formData?.agentId ?? '-')" />
-        <wd-cell title="publicKey" :value="String(formData?.publicKey ?? '-')" />
+        <wd-cell title="应用编号" :value="formData?.clientId" />
+        <wd-cell title="应用密钥" :value="formData?.clientSecret" />
+        <wd-cell title="agentId" :value="formData?.agentId ?? '-'" />
+        <wd-cell title="publicKey" :value="formData?.publicKey ?? '-'" />
         <wd-cell title="状态">
           <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="formData?.status" />
         </wd-cell>
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
 

+ 2 - 2
src/pages-system/social/components/client-list.vue

@@ -28,11 +28,11 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">应用编号:</text>
-            <text class="min-w-0 flex-1 truncate">{{ item.clientId || '-' }}</text>
+            <text class="min-w-0 flex-1 truncate">{{ item.clientId }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
         </view>
       </view>

+ 2 - 2
src/pages-system/social/components/user-list.vue

@@ -20,7 +20,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx shrink-0 text-[#999]">社交 openid:</text>
-            <text class="min-w-0 flex-1 truncate">{{ item.openid || '-' }}</text>
+            <text class="min-w-0 flex-1 truncate">{{ item.openid }}</text>
           </view>
           <view v-if="item.avatar" class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">头像:</text>
@@ -28,7 +28,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
         </view>
       </view>

+ 9 - 9
src/pages-system/social/user/detail/index.vue

@@ -13,34 +13,34 @@
         <wd-cell title="三方平台">
           <dict-tag :type="DICT_TYPE.SYSTEM_SOCIAL_TYPE" :value="formData?.type" />
         </wd-cell>
-        <wd-cell title="用户昵称" :value="String(formData?.nickname ?? '-')" />
+        <wd-cell title="用户昵称" :value="formData?.nickname ?? '-'" />
         <wd-cell v-if="formData?.avatar" title="用户头像">
           <wd-img :src="formData.avatar" width="120rpx" height="120rpx" />
         </wd-cell>
         <wd-cell title="社交 openid" is-link @click="handleCopyText(formData?.openid, '社交 openid')">
           <view class="max-w-400rpx truncate text-right">
-            {{ formData?.openid || '-' }}
+            {{ formData?.openid }}
           </view>
         </wd-cell>
         <wd-cell title="社交 token" is-link @click="handleCopyText(formData?.token, '社交 token')">
           <view class="max-w-400rpx truncate text-right">
-            {{ formData?.token || '-' }}
+            {{ formData?.token }}
           </view>
         </wd-cell>
         <wd-cell title="原始 Token 数据" is-link @click="handleCopyText(formData?.rawTokenInfo, '原始 Token 数据')">
           <view class="max-w-400rpx truncate text-right">
-            {{ formData?.rawTokenInfo || '-' }}
+            {{ formData?.rawTokenInfo }}
           </view>
         </wd-cell>
         <wd-cell title="原始 User 数据" is-link @click="handleCopyText(formData?.rawUserInfo, '原始 User 数据')">
           <view class="max-w-400rpx truncate text-right">
-            {{ formData?.rawUserInfo || '-' }}
+            {{ formData?.rawUserInfo }}
           </view>
         </wd-cell>
-        <wd-cell title="最后一次的认证 code" :value="String(formData?.code ?? '-')" />
-        <wd-cell title="最后一次的认证 state" :value="String(formData?.state ?? '-')" />
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
-        <wd-cell title="更新时间" :value="formatDateTime(formData?.updateTime) || '-'" />
+        <wd-cell title="最后一次的认证 code" :value="formData?.code ?? '-'" />
+        <wd-cell title="最后一次的认证 state" :value="formData?.state ?? '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
+        <wd-cell title="更新时间" :value="formatDateTime(formData?.updateTime)" />
       </wd-cell-group>
     </view>
   </view>

+ 1 - 1
src/pages-system/tenant/components/package-list.vue

@@ -28,7 +28,7 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
         </view>
       </view>

+ 3 - 3
src/pages-system/tenant/components/tenant-list.vue

@@ -32,15 +32,15 @@
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">账号额度:</text>
-            <text>{{ item.accountCount || '-' }}</text>
+            <text>{{ item.accountCount }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">过期时间:</text>
-            <text>{{ formatDateTime(item.expireTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.expireTime) }}</text>
           </view>
           <view class="mb-12rpx flex items-center text-28rpx text-[#666]">
             <text class="mr-8rpx text-[#999]">创建时间:</text>
-            <text>{{ formatDateTime(item.createTime) || '-' }}</text>
+            <text>{{ formatDateTime(item.createTime) }}</text>
           </view>
         </view>
       </view>

+ 4 - 4
src/pages-system/tenant/package/detail/index.vue

@@ -10,13 +10,13 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="套餐编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="套餐名称" :value="String(formData?.name ?? '-')" />
+        <wd-cell title="套餐编号" :value="formData?.id" />
+        <wd-cell title="套餐名称" :value="formData?.name" />
         <wd-cell title="状态">
           <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="formData?.status" />
         </wd-cell>
-        <wd-cell title="备注" :value="String(formData?.remark ?? '-')" />
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="备注" :value="formData?.remark ?? '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
 

+ 7 - 7
src/pages-system/tenant/tenant/detail/index.vue

@@ -10,18 +10,18 @@
     <!-- 详情内容 -->
     <view>
       <wd-cell-group border>
-        <wd-cell title="租户编号" :value="String(formData?.id ?? '-')" />
-        <wd-cell title="租户名称" :value="String(formData?.name ?? '-')" />
+        <wd-cell title="租户编号" :value="formData?.id" />
+        <wd-cell title="租户名称" :value="formData?.name" />
         <wd-cell title="租户套餐" :value="getPackageName(formData?.packageId)" />
-        <wd-cell title="联系人" :value="String(formData?.contactName ?? '-')" />
-        <wd-cell title="联系手机" :value="String(formData?.contactMobile ?? '-')" />
-        <wd-cell title="账号额度" :value="String(formData?.accountCount ?? '-')" />
-        <wd-cell title="过期时间" :value="formatDateTime(formData?.expireTime) || '-'" />
+        <wd-cell title="联系人" :value="formData?.contactName ?? '-'" />
+        <wd-cell title="联系手机" :value="formData?.contactMobile ?? '-'" />
+        <wd-cell title="账号额度" :value="formData?.accountCount" />
+        <wd-cell title="过期时间" :value="formatDateTime(formData?.expireTime)" />
         <wd-cell title="绑定域名" :value="formData?.websites?.join(', ') || '-'" />
         <wd-cell title="租户状态">
           <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="formData?.status" />
         </wd-cell>
-        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime) || '-'" />
+        <wd-cell title="创建时间" :value="formatDateTime(formData?.createTime)" />
       </wd-cell-group>
     </view>
 

+ 3 - 3
src/pages/message/components/detail-popup.vue

@@ -21,11 +21,11 @@
       <view v-if="formData" class="flex flex-1 flex-col overflow-hidden space-y-24rpx">
         <view class="flex items-start">
           <text class="w-160rpx shrink-0 text-28rpx text-[#999]">发送人</text>
-          <text class="text-28rpx text-[#333]">{{ formData.templateNickname || '-' }}</text>
+          <text class="text-28rpx text-[#333]">{{ formData.templateNickname }}</text>
         </view>
         <view class="flex items-start">
           <text class="w-160rpx shrink-0 text-28rpx text-[#999]">发送时间</text>
-          <text class="text-28rpx text-[#333]">{{ formatDateTime(formData.createTime) || '-' }}</text>
+          <text class="text-28rpx text-[#333]">{{ formatDateTime(formData.createTime) }}</text>
         </view>
         <view class="flex items-start">
           <text class="w-160rpx shrink-0 text-28rpx text-[#999]">消息类型</text>
@@ -49,7 +49,7 @@
         <view class="flex flex-1 flex-col overflow-hidden">
           <text class="mb-12rpx w-160rpx shrink-0 text-28rpx text-[#999]">消息内容</text>
           <view class="flex-1 rounded-12rpx bg-[#f5f5f5] p-24rpx">
-            <text class="text-28rpx text-[#333]">{{ formData.templateContent || '-' }}</text>
+            <text class="text-28rpx text-[#333]">{{ formData.templateContent }}</text>
           </view>
         </view>
       </view>