diff --git a/yudao-ui-admin-vue3/src/views/bpm/form/index.vue b/yudao-ui-admin-vue3/src/views/bpm/form/index.vue
index cd72dc4d6..e6d27854e 100644
--- a/yudao-ui-admin-vue3/src/views/bpm/form/index.vue
+++ b/yudao-ui-admin-vue3/src/views/bpm/form/index.vue
@@ -73,12 +73,12 @@ const submitForm = async () => {
}
// ========== 详情相关 ==========
-const detailRef = ref() // 详情 Ref
+const detailData = ref() // 详情 Ref
// 详情操作
const handleDetail = async (row: FormVO) => {
// 设置数据
- detailRef.value = row
+ detailData.value = row
setDialogTile('detail')
}
@@ -148,7 +148,7 @@ getList()
diff --git a/yudao-ui-admin-vue3/src/views/bpm/group/index.vue b/yudao-ui-admin-vue3/src/views/bpm/group/index.vue
index 643c2bd79..1db887a74 100644
--- a/yudao-ui-admin-vue3/src/views/bpm/group/index.vue
+++ b/yudao-ui-admin-vue3/src/views/bpm/group/index.vue
@@ -90,12 +90,12 @@ const getUserNickName = (userId: number) => {
return '未知(' + userId + ')'
}
// ========== 详情相关 ==========
-const detailRef = ref() // 详情 Ref
+const detailData = ref() // 详情 Ref
// 详情操作
const handleDetail = async (row: UserGroupVO) => {
// 设置数据
- detailRef.value = row
+ detailData.value = row
setDialogTile('detail')
}
@@ -194,7 +194,7 @@ onMounted(async () => {
diff --git a/yudao-ui-admin-vue3/src/views/bpm/model/index.vue b/yudao-ui-admin-vue3/src/views/bpm/model/index.vue
index ee417aa56..025f36e27 100644
--- a/yudao-ui-admin-vue3/src/views/bpm/model/index.vue
+++ b/yudao-ui-admin-vue3/src/views/bpm/model/index.vue
@@ -92,12 +92,12 @@ const handleChangeState = async (row: ModelVO) => {
.catch(() => {})
}
// ========== 详情相关 ==========
-const detailRef = ref() // 详情 Ref
+const detailData = ref() // 详情 Ref
// 详情操作
const handleDetail = async (row: ModelVO) => {
// 设置数据
- detailRef.value = row
+ detailData.value = row
setDialogTile('detail')
}
@@ -198,7 +198,7 @@ getList()
diff --git a/yudao-ui-admin-vue3/src/views/bpm/processInstance/index.vue b/yudao-ui-admin-vue3/src/views/bpm/processInstance/index.vue
index fa30f3451..efa4f56b6 100644
--- a/yudao-ui-admin-vue3/src/views/bpm/processInstance/index.vue
+++ b/yudao-ui-admin-vue3/src/views/bpm/processInstance/index.vue
@@ -38,12 +38,12 @@ const handleCancel = (row: ProcessInstanceVO) => {
}
// ========== 详情相关 ==========
-const detailRef = ref() // 详情 Ref
+const detailData = ref() // 详情 Ref
// 详情操作
const handleDetail = async (row: ProcessInstanceVO) => {
// 设置数据
- detailRef.value = row
+ detailData.value = row
dialogVisible.value = true
}
@@ -105,7 +105,7 @@ getList()
-
+
{{ t('dialog.close') }}
diff --git a/yudao-ui-admin-vue3/src/views/infra/apiAccessLog/index.vue b/yudao-ui-admin-vue3/src/views/infra/apiAccessLog/index.vue
index a5885d352..ae1aba8a1 100644
--- a/yudao-ui-admin-vue3/src/views/infra/apiAccessLog/index.vue
+++ b/yudao-ui-admin-vue3/src/views/infra/apiAccessLog/index.vue
@@ -21,7 +21,7 @@
-
+
{{ row.duration + 'ms' }}
@@ -52,14 +52,14 @@ const { gridOptions } = useVxeGrid({
getListApi: ApiAccessLogApi.getApiAccessLogPageApi
})
// ========== 详情相关 ==========
-const detailRef = ref() // 详情 Ref
+const detailData = ref() // 详情 Ref
const dialogVisible = ref(false) // 是否显示弹出层
const dialogTitle = ref('') // 弹出层标题
// 详情操作
const handleDetail = (row: ApiAccessLogApi.ApiAccessLogVO) => {
// 设置数据
- detailRef.value = row
+ detailData.value = row
dialogTitle.value = t('action.detail')
dialogVisible.value = true
}
diff --git a/yudao-ui-admin-vue3/src/views/infra/apiErrorLog/index.vue b/yudao-ui-admin-vue3/src/views/infra/apiErrorLog/index.vue
index 2dd547ad0..d838ec6ec 100644
--- a/yudao-ui-admin-vue3/src/views/infra/apiErrorLog/index.vue
+++ b/yudao-ui-admin-vue3/src/views/infra/apiErrorLog/index.vue
@@ -44,7 +44,7 @@
-
+
@@ -71,14 +71,14 @@ const { gridOptions, getList, exportList } = useVxeGrid {
// 设置数据
- detailRef.value = row
+ detailData.value = row
dialogTitle.value = t('action.detail')
dialogVisible.value = true
}
diff --git a/yudao-ui-admin-vue3/src/views/infra/codegen/components/Preview.vue b/yudao-ui-admin-vue3/src/views/infra/codegen/components/Preview.vue
index a68f70b68..ee26c2083 100644
--- a/yudao-ui-admin-vue3/src/views/infra/codegen/components/Preview.vue
+++ b/yudao-ui-admin-vue3/src/views/infra/codegen/components/Preview.vue
@@ -8,7 +8,6 @@
node-key="id"
:data="preview.fileTree"
:expand-on-click-node="false"
- default-expanded-keys="[0]"
highlight-current
@node-click="handleNodeClick"
/>
diff --git a/yudao-ui-admin-vue3/src/views/infra/job/JobLog.vue b/yudao-ui-admin-vue3/src/views/infra/job/JobLog.vue
index 6726d380d..94c33eb47 100644
--- a/yudao-ui-admin-vue3/src/views/infra/job/JobLog.vue
+++ b/yudao-ui-admin-vue3/src/views/infra/job/JobLog.vue
@@ -33,7 +33,7 @@
-
+
{{ row.retryInterval + '毫秒' }}
@@ -69,13 +69,13 @@ const dialogVisible = ref(false) // 是否显示弹出层
const dialogTitle = ref('') // 弹出层标题
// ========== 详情相关 ==========
-const detailRef = ref() // 详情 Ref
+const detailData = ref() // 详情 Ref
// 详情操作
const handleDetail = async (row: JobLogApi.JobLogVO) => {
// 设置数据
const res = JobLogApi.getJobLogApi(row.id)
- detailRef.value = res
+ detailData.value = res
dialogTitle.value = t('action.detail')
dialogVisible.value = true
}
diff --git a/yudao-ui-admin-vue3/src/views/infra/job/index.vue b/yudao-ui-admin-vue3/src/views/infra/job/index.vue
index 79dd4f5b1..ad02dfbe1 100644
--- a/yudao-ui-admin-vue3/src/views/infra/job/index.vue
+++ b/yudao-ui-admin-vue3/src/views/infra/job/index.vue
@@ -101,7 +101,7 @@
{{ row.retryInterval + '毫秒' }}
@@ -161,7 +161,7 @@ const actionType = ref('') // 操作按钮的类型
const dialogVisible = ref(false) // 是否显示弹出层
const dialogTitle = ref('edit') // 弹出层标题
const formRef = ref() // 表单 Ref
-const detailRef = ref() // 详情 Ref
+const detailData = ref() // 详情 Ref
const nextTimes = ref([])
const shortcuts = ref([
{
@@ -198,7 +198,7 @@ const handleUpdate = async (rowId: number) => {
const handleDetail = async (rowId: number) => {
// 设置数据
const res = await JobApi.getJobApi(rowId)
- detailRef.value = res
+ detailData.value = res
// 后续执行时长
const jobNextTime = await JobApi.getJobNextTimesApi(rowId)
nextTimes.value = jobNextTime
diff --git a/yudao-ui-admin-vue3/src/views/system/errorCode/index.vue b/yudao-ui-admin-vue3/src/views/system/errorCode/index.vue
index 123b67418..2d987ca5d 100644
--- a/yudao-ui-admin-vue3/src/views/system/errorCode/index.vue
+++ b/yudao-ui-admin-vue3/src/views/system/errorCode/index.vue
@@ -50,7 +50,7 @@
@@ -93,7 +93,7 @@ const dialogTitle = ref('edit') // 弹出层标题
const actionType = ref('') // 操作按钮的类型
const actionLoading = ref(false) // 按钮 Loading
const formRef = ref() // 表单 Ref
-const detailRef = ref() // 详情 Ref
+const detailData = ref() // 详情 Ref
// 设置标题
const setDialogTile = (type: string) => {
@@ -120,7 +120,7 @@ const handleDetail = async (rowId: number) => {
setDialogTile('detail')
// 设置数据
const res = await ErrorCodeApi.getErrorCodeApi(rowId)
- detailRef.value = res
+ detailData.value = res
}
// 删除操作
diff --git a/yudao-ui-admin-vue3/src/views/system/loginlog/index.vue b/yudao-ui-admin-vue3/src/views/system/loginlog/index.vue
index d8c1fcb36..fc2f5dd68 100644
--- a/yudao-ui-admin-vue3/src/views/system/loginlog/index.vue
+++ b/yudao-ui-admin-vue3/src/views/system/loginlog/index.vue
@@ -20,7 +20,7 @@
-
+
@@ -47,13 +47,13 @@ const { gridOptions, exportList } = useVxeGrid({
})
// 详情操作
-const detailRef = ref() // 详情 Ref
+const detailData = ref() // 详情 Ref
const dialogVisible = ref(false) // 是否显示弹出层
const dialogTitle = ref(t('action.detail')) // 弹出层标题
// 详情
const handleDetail = async (row: LoginLogVO) => {
// 设置数据
- detailRef.value = row
+ detailData.value = row
dialogVisible.value = true
}
diff --git a/yudao-ui-admin-vue3/src/views/system/notice/index.vue b/yudao-ui-admin-vue3/src/views/system/notice/index.vue
index c4cd26440..eeed4c4f4 100644
--- a/yudao-ui-admin-vue3/src/views/system/notice/index.vue
+++ b/yudao-ui-admin-vue3/src/views/system/notice/index.vue
@@ -50,7 +50,7 @@
@@ -98,7 +98,7 @@ const dialogTitle = ref('edit') // 弹出层标题
const actionType = ref('') // 操作按钮的类型
const actionLoading = ref(false) // 按钮 Loading
const formRef = ref() // 表单 Ref
-const detailRef = ref() // 详情 Ref
+const detailData = ref() // 详情 Ref
// 设置标题
const setDialogTile = (type: string) => {
@@ -125,7 +125,7 @@ const handleDetail = async (rowId: number) => {
setDialogTile('detail')
// 设置数据
const res = await NoticeApi.getNoticeApi(rowId)
- detailRef.value = res
+ detailData.value = res
}
// 删除操作
diff --git a/yudao-ui-admin-vue3/src/views/system/oauth2/token/index.vue b/yudao-ui-admin-vue3/src/views/system/oauth2/token/index.vue
index 214c9b5e9..2328d3071 100644
--- a/yudao-ui-admin-vue3/src/views/system/oauth2/token/index.vue
+++ b/yudao-ui-admin-vue3/src/views/system/oauth2/token/index.vue
@@ -17,7 +17,7 @@
-
+
@@ -45,13 +45,13 @@ const { gridOptions, getList } = useVxeGrid({
})
// ========== 详情相关 ==========
-const detailRef = ref() // 详情 Ref
+const detailData = ref() // 详情 Ref
const dialogVisible = ref(false) // 是否显示弹出层
const dialogTitle = ref(t('action.detail')) // 弹出层标题
// 详情
const handleDetail = async (row: TokenApi.OAuth2TokenVO) => {
// 设置数据
- detailRef.value = row
+ detailData.value = row
dialogVisible.value = true
}
diff --git a/yudao-ui-admin-vue3/src/views/system/operatelog/index.vue b/yudao-ui-admin-vue3/src/views/system/operatelog/index.vue
index 999b18d43..d1c2a2409 100644
--- a/yudao-ui-admin-vue3/src/views/system/operatelog/index.vue
+++ b/yudao-ui-admin-vue3/src/views/system/operatelog/index.vue
@@ -27,7 +27,7 @@
-
+
{{ row.resultCode === 0 ? '成功' : '失败' }}
@@ -63,11 +63,11 @@ const { gridOptions, exportList } = useVxeGrid({
// 弹窗相关的变量
const dialogVisible = ref(false) // 是否显示弹出层
const actionLoading = ref(false) // 按钮 Loading
-const detailRef = ref() // 详情 Ref
+const detailData = ref() // 详情 Ref
// 详情
const handleDetail = (row: OperateLogApi.OperateLogVO) => {
// 设置数据
- detailRef.value = row
+ detailData.value = row
dialogVisible.value = true
}
diff --git a/yudao-ui-admin-vue3/src/views/system/role/index.vue b/yudao-ui-admin-vue3/src/views/system/role/index.vue
index cf24162e7..5ff8543f5 100644
--- a/yudao-ui-admin-vue3/src/views/system/role/index.vue
+++ b/yudao-ui-admin-vue3/src/views/system/role/index.vue
@@ -64,7 +64,7 @@
@@ -189,7 +189,7 @@ const actionType = ref('') // 操作按钮的类型
const dialogVisible = ref(false) // 是否显示弹出层
const dialogTitle = ref('edit') // 弹出层标题
const formRef = ref() // 表单 Ref
-const detailRef = ref() // 详情 Ref
+const detailData = ref() // 详情 Ref
// 设置标题
const setDialogTile = (type: string) => {
@@ -216,7 +216,7 @@ const handleDetail = async (rowId: number) => {
setDialogTile('detail')
// 设置数据
const res = await RoleApi.getRoleApi(rowId)
- detailRef.value = res
+ detailData.value = res
}
// 删除操作
diff --git a/yudao-ui-admin-vue3/src/views/system/sms/smsLog/index.vue b/yudao-ui-admin-vue3/src/views/system/sms/smsLog/index.vue
index db5df8cea..d38f17baf 100644
--- a/yudao-ui-admin-vue3/src/views/system/sms/smsLog/index.vue
+++ b/yudao-ui-admin-vue3/src/views/system/sms/smsLog/index.vue
@@ -22,7 +22,7 @@
@@ -53,10 +53,10 @@ const dialogVisible = ref(false) // 是否显示弹出层
const dialogTitle = ref('edit') // 弹出层标题
const actionType = ref('') // 操作按钮的类型
// ========== 详情相关 ==========
-const detailRef = ref() // 详情 Ref
+const detailData = ref() // 详情 Ref
const handleDetail = (row: SmsLoglApi.SmsLogVO) => {
// 设置数据
- detailRef.value = row
+ detailData.value = row
dialogVisible.value = true
}
diff --git a/yudao-ui-admin-vue3/src/views/system/tenant/index.vue b/yudao-ui-admin-vue3/src/views/system/tenant/index.vue
index 9fed3f39e..f7cf6cab1 100644
--- a/yudao-ui-admin-vue3/src/views/system/tenant/index.vue
+++ b/yudao-ui-admin-vue3/src/views/system/tenant/index.vue
@@ -63,7 +63,7 @@
系统租户
@@ -112,7 +112,7 @@ const actionType = ref('') // 操作按钮的类型
const dialogVisible = ref(false) // 是否显示弹出层
const dialogTitle = ref('edit') // 弹出层标题
const formRef = ref() // 表单 Ref
-const detailRef = ref() // 详情 Ref
+const detailData = ref() // 详情 Ref
const getPackageName = (packageId: number) => {
for (let item of tenantPackageOption) {
if (item.value === packageId) {
@@ -147,7 +147,7 @@ const handleUpdate = async (rowId: number) => {
const handleDetail = async (rowId: number) => {
// 设置数据
const res = await TenantApi.getTenantApi(rowId)
- detailRef.value = res
+ detailData.value = res
setDialogTile('detail')
}