Commit 860049d23806c344cdb3adb6a57ad190e2825737
1 parent
731e49d7
style: detailRef => detailData
Showing
17 changed files
with
48 additions
and
49 deletions
yudao-ui-admin-vue3/src/views/bpm/form/index.vue
| ... | ... | @@ -73,12 +73,12 @@ const submitForm = async () => { |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | // ========== 详情相关 ========== |
| 76 | -const detailRef = ref() // 详情 Ref | |
| 76 | +const detailData = ref() // 详情 Ref | |
| 77 | 77 | |
| 78 | 78 | // 详情操作 |
| 79 | 79 | const handleDetail = async (row: FormVO) => { |
| 80 | 80 | // 设置数据 |
| 81 | - detailRef.value = row | |
| 81 | + detailData.value = row | |
| 82 | 82 | setDialogTile('detail') |
| 83 | 83 | } |
| 84 | 84 | |
| ... | ... | @@ -148,7 +148,7 @@ getList() |
| 148 | 148 | <Descriptions |
| 149 | 149 | v-if="actionType === 'detail'" |
| 150 | 150 | :schema="allSchemas.detailSchema" |
| 151 | - :data="detailRef" | |
| 151 | + :data="detailData" | |
| 152 | 152 | /> |
| 153 | 153 | <!-- 操作按钮 --> |
| 154 | 154 | <template #footer> | ... | ... |
yudao-ui-admin-vue3/src/views/bpm/group/index.vue
| ... | ... | @@ -90,12 +90,12 @@ const getUserNickName = (userId: number) => { |
| 90 | 90 | return '未知(' + userId + ')' |
| 91 | 91 | } |
| 92 | 92 | // ========== 详情相关 ========== |
| 93 | -const detailRef = ref() // 详情 Ref | |
| 93 | +const detailData = ref() // 详情 Ref | |
| 94 | 94 | |
| 95 | 95 | // 详情操作 |
| 96 | 96 | const handleDetail = async (row: UserGroupVO) => { |
| 97 | 97 | // 设置数据 |
| 98 | - detailRef.value = row | |
| 98 | + detailData.value = row | |
| 99 | 99 | setDialogTile('detail') |
| 100 | 100 | } |
| 101 | 101 | |
| ... | ... | @@ -194,7 +194,7 @@ onMounted(async () => { |
| 194 | 194 | <Descriptions |
| 195 | 195 | v-if="actionType === 'detail'" |
| 196 | 196 | :schema="allSchemas.detailSchema" |
| 197 | - :data="detailRef" | |
| 197 | + :data="detailData" | |
| 198 | 198 | > |
| 199 | 199 | <template #memberUserIds="{ row }"> |
| 200 | 200 | <span v-for="userId in row.memberUserIds" :key="userId"> | ... | ... |
yudao-ui-admin-vue3/src/views/bpm/model/index.vue
| ... | ... | @@ -92,12 +92,12 @@ const handleChangeState = async (row: ModelVO) => { |
| 92 | 92 | .catch(() => {}) |
| 93 | 93 | } |
| 94 | 94 | // ========== 详情相关 ========== |
| 95 | -const detailRef = ref() // 详情 Ref | |
| 95 | +const detailData = ref() // 详情 Ref | |
| 96 | 96 | |
| 97 | 97 | // 详情操作 |
| 98 | 98 | const handleDetail = async (row: ModelVO) => { |
| 99 | 99 | // 设置数据 |
| 100 | - detailRef.value = row | |
| 100 | + detailData.value = row | |
| 101 | 101 | setDialogTile('detail') |
| 102 | 102 | } |
| 103 | 103 | |
| ... | ... | @@ -198,7 +198,7 @@ getList() |
| 198 | 198 | <Descriptions |
| 199 | 199 | v-if="actionType === 'detail'" |
| 200 | 200 | :schema="allSchemas.detailSchema" |
| 201 | - :data="detailRef" | |
| 201 | + :data="detailData" | |
| 202 | 202 | /> |
| 203 | 203 | <!-- 操作按钮 --> |
| 204 | 204 | <template #footer> | ... | ... |
yudao-ui-admin-vue3/src/views/bpm/processInstance/index.vue
| ... | ... | @@ -38,12 +38,12 @@ const handleCancel = (row: ProcessInstanceVO) => { |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | // ========== 详情相关 ========== |
| 41 | -const detailRef = ref() // 详情 Ref | |
| 41 | +const detailData = ref() // 详情 Ref | |
| 42 | 42 | |
| 43 | 43 | // 详情操作 |
| 44 | 44 | const handleDetail = async (row: ProcessInstanceVO) => { |
| 45 | 45 | // 设置数据 |
| 46 | - detailRef.value = row | |
| 46 | + detailData.value = row | |
| 47 | 47 | dialogVisible.value = true |
| 48 | 48 | } |
| 49 | 49 | |
| ... | ... | @@ -105,7 +105,7 @@ getList() |
| 105 | 105 | |
| 106 | 106 | <XModal v-model="dialogVisible" :title="t('action.detail')"> |
| 107 | 107 | <!-- 对话框(详情) --> |
| 108 | - <Descriptions :schema="allSchemas.detailSchema" :data="detailRef" /> | |
| 108 | + <Descriptions :schema="allSchemas.detailSchema" :data="detailData" /> | |
| 109 | 109 | <!-- 操作按钮 --> |
| 110 | 110 | <template #footer> |
| 111 | 111 | <el-button @click="dialogVisible = false">{{ t('dialog.close') }}</el-button> | ... | ... |
yudao-ui-admin-vue3/src/views/infra/apiAccessLog/index.vue
| ... | ... | @@ -21,7 +21,7 @@ |
| 21 | 21 | </ContentWrap> |
| 22 | 22 | <XModal v-model="dialogVisible" :title="dialogTitle"> |
| 23 | 23 | <!-- 对话框(详情) --> |
| 24 | - <Descriptions :schema="allSchemas.detailSchema" :data="detailRef"> | |
| 24 | + <Descriptions :schema="allSchemas.detailSchema" :data="detailData"> | |
| 25 | 25 | <template #duration="{ row }"> |
| 26 | 26 | <span>{{ row.duration + 'ms' }}</span> |
| 27 | 27 | </template> |
| ... | ... | @@ -52,14 +52,14 @@ const { gridOptions } = useVxeGrid<ApiAccessLogApi.ApiAccessLogVO>({ |
| 52 | 52 | getListApi: ApiAccessLogApi.getApiAccessLogPageApi |
| 53 | 53 | }) |
| 54 | 54 | // ========== 详情相关 ========== |
| 55 | -const detailRef = ref() // 详情 Ref | |
| 55 | +const detailData = ref() // 详情 Ref | |
| 56 | 56 | const dialogVisible = ref(false) // 是否显示弹出层 |
| 57 | 57 | const dialogTitle = ref('') // 弹出层标题 |
| 58 | 58 | |
| 59 | 59 | // 详情操作 |
| 60 | 60 | const handleDetail = (row: ApiAccessLogApi.ApiAccessLogVO) => { |
| 61 | 61 | // 设置数据 |
| 62 | - detailRef.value = row | |
| 62 | + detailData.value = row | |
| 63 | 63 | dialogTitle.value = t('action.detail') |
| 64 | 64 | dialogVisible.value = true |
| 65 | 65 | } | ... | ... |
yudao-ui-admin-vue3/src/views/infra/apiErrorLog/index.vue
| ... | ... | @@ -44,7 +44,7 @@ |
| 44 | 44 | </ContentWrap> |
| 45 | 45 | <XModal v-model="dialogVisible" :title="dialogTitle"> |
| 46 | 46 | <!-- 对话框(详情) --> |
| 47 | - <Descriptions :schema="allSchemas.detailSchema" :data="detailRef" /> | |
| 47 | + <Descriptions :schema="allSchemas.detailSchema" :data="detailData" /> | |
| 48 | 48 | <!-- 操作按钮 --> |
| 49 | 49 | <template #footer> |
| 50 | 50 | <XButton :title="t('dialog.close')" @click="dialogVisible = false" /> |
| ... | ... | @@ -71,14 +71,14 @@ const { gridOptions, getList, exportList } = useVxeGrid<ApiErrorLogApi.ApiErrorL |
| 71 | 71 | exportListApi: ApiErrorLogApi.exportApiErrorLogApi |
| 72 | 72 | }) |
| 73 | 73 | // ========== 详情相关 ========== |
| 74 | -const detailRef = ref() // 详情 Ref | |
| 74 | +const detailData = ref() // 详情 Ref | |
| 75 | 75 | const dialogVisible = ref(false) // 是否显示弹出层 |
| 76 | 76 | const dialogTitle = ref('') // 弹出层标题 |
| 77 | 77 | |
| 78 | 78 | // 详情操作 |
| 79 | 79 | const handleDetail = (row: ApiErrorLogApi.ApiErrorLogVO) => { |
| 80 | 80 | // 设置数据 |
| 81 | - detailRef.value = row | |
| 81 | + detailData.value = row | |
| 82 | 82 | dialogTitle.value = t('action.detail') |
| 83 | 83 | dialogVisible.value = true |
| 84 | 84 | } | ... | ... |
yudao-ui-admin-vue3/src/views/infra/codegen/components/Preview.vue
yudao-ui-admin-vue3/src/views/infra/job/JobLog.vue
| ... | ... | @@ -33,7 +33,7 @@ |
| 33 | 33 | </ContentWrap> |
| 34 | 34 | <XModal v-model="dialogVisible" :title="dialogTitle"> |
| 35 | 35 | <!-- 对话框(详情) --> |
| 36 | - <Descriptions :schema="allSchemas.detailSchema" :data="detailRef"> | |
| 36 | + <Descriptions :schema="allSchemas.detailSchema" :data="detailData"> | |
| 37 | 37 | <template #retryInterval="{ row }"> |
| 38 | 38 | <span>{{ row.retryInterval + '毫秒' }} </span> |
| 39 | 39 | </template> |
| ... | ... | @@ -69,13 +69,13 @@ const dialogVisible = ref(false) // 是否显示弹出层 |
| 69 | 69 | const dialogTitle = ref('') // 弹出层标题 |
| 70 | 70 | |
| 71 | 71 | // ========== 详情相关 ========== |
| 72 | -const detailRef = ref() // 详情 Ref | |
| 72 | +const detailData = ref() // 详情 Ref | |
| 73 | 73 | |
| 74 | 74 | // 详情操作 |
| 75 | 75 | const handleDetail = async (row: JobLogApi.JobLogVO) => { |
| 76 | 76 | // 设置数据 |
| 77 | 77 | const res = JobLogApi.getJobLogApi(row.id) |
| 78 | - detailRef.value = res | |
| 78 | + detailData.value = res | |
| 79 | 79 | dialogTitle.value = t('action.detail') |
| 80 | 80 | dialogVisible.value = true |
| 81 | 81 | } | ... | ... |
yudao-ui-admin-vue3/src/views/infra/job/index.vue
| ... | ... | @@ -101,7 +101,7 @@ |
| 101 | 101 | <Descriptions |
| 102 | 102 | v-if="actionType === 'detail'" |
| 103 | 103 | :schema="allSchemas.detailSchema" |
| 104 | - :data="detailRef" | |
| 104 | + :data="detailData" | |
| 105 | 105 | > |
| 106 | 106 | <template #retryInterval="{ row }"> |
| 107 | 107 | <span>{{ row.retryInterval + '毫秒' }} </span> |
| ... | ... | @@ -161,7 +161,7 @@ const actionType = ref('') // 操作按钮的类型 |
| 161 | 161 | const dialogVisible = ref(false) // 是否显示弹出层 |
| 162 | 162 | const dialogTitle = ref('edit') // 弹出层标题 |
| 163 | 163 | const formRef = ref<FormExpose>() // 表单 Ref |
| 164 | -const detailRef = ref() // 详情 Ref | |
| 164 | +const detailData = ref() // 详情 Ref | |
| 165 | 165 | const nextTimes = ref([]) |
| 166 | 166 | const shortcuts = ref([ |
| 167 | 167 | { |
| ... | ... | @@ -198,7 +198,7 @@ const handleUpdate = async (rowId: number) => { |
| 198 | 198 | const handleDetail = async (rowId: number) => { |
| 199 | 199 | // 设置数据 |
| 200 | 200 | const res = await JobApi.getJobApi(rowId) |
| 201 | - detailRef.value = res | |
| 201 | + detailData.value = res | |
| 202 | 202 | // 后续执行时长 |
| 203 | 203 | const jobNextTime = await JobApi.getJobNextTimesApi(rowId) |
| 204 | 204 | nextTimes.value = jobNextTime | ... | ... |
yudao-ui-admin-vue3/src/views/system/errorCode/index.vue
| ... | ... | @@ -50,7 +50,7 @@ |
| 50 | 50 | <Descriptions |
| 51 | 51 | v-if="actionType === 'detail'" |
| 52 | 52 | :schema="allSchemas.detailSchema" |
| 53 | - :data="detailRef" | |
| 53 | + :data="detailData" | |
| 54 | 54 | /> |
| 55 | 55 | <template #footer> |
| 56 | 56 | <!-- 按钮:保存 --> |
| ... | ... | @@ -93,7 +93,7 @@ const dialogTitle = ref('edit') // 弹出层标题 |
| 93 | 93 | const actionType = ref('') // 操作按钮的类型 |
| 94 | 94 | const actionLoading = ref(false) // 按钮 Loading |
| 95 | 95 | const formRef = ref<FormExpose>() // 表单 Ref |
| 96 | -const detailRef = ref() // 详情 Ref | |
| 96 | +const detailData = ref() // 详情 Ref | |
| 97 | 97 | |
| 98 | 98 | // 设置标题 |
| 99 | 99 | const setDialogTile = (type: string) => { |
| ... | ... | @@ -120,7 +120,7 @@ const handleDetail = async (rowId: number) => { |
| 120 | 120 | setDialogTile('detail') |
| 121 | 121 | // 设置数据 |
| 122 | 122 | const res = await ErrorCodeApi.getErrorCodeApi(rowId) |
| 123 | - detailRef.value = res | |
| 123 | + detailData.value = res | |
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | // 删除操作 | ... | ... |
yudao-ui-admin-vue3/src/views/system/loginlog/index.vue
| ... | ... | @@ -20,7 +20,7 @@ |
| 20 | 20 | <!-- 弹窗 --> |
| 21 | 21 | <XModal id="postModel" v-model="dialogVisible" :title="dialogTitle"> |
| 22 | 22 | <!-- 表单:详情 --> |
| 23 | - <Descriptions :schema="allSchemas.detailSchema" :data="detailRef" /> | |
| 23 | + <Descriptions :schema="allSchemas.detailSchema" :data="detailData" /> | |
| 24 | 24 | <template #footer> |
| 25 | 25 | <!-- 按钮:关闭 --> |
| 26 | 26 | <XButton :title="t('dialog.close')" @click="dialogVisible = false" /> |
| ... | ... | @@ -47,13 +47,13 @@ const { gridOptions, exportList } = useVxeGrid<LoginLogVO>({ |
| 47 | 47 | }) |
| 48 | 48 | |
| 49 | 49 | // 详情操作 |
| 50 | -const detailRef = ref() // 详情 Ref | |
| 50 | +const detailData = ref() // 详情 Ref | |
| 51 | 51 | const dialogVisible = ref(false) // 是否显示弹出层 |
| 52 | 52 | const dialogTitle = ref(t('action.detail')) // 弹出层标题 |
| 53 | 53 | // 详情 |
| 54 | 54 | const handleDetail = async (row: LoginLogVO) => { |
| 55 | 55 | // 设置数据 |
| 56 | - detailRef.value = row | |
| 56 | + detailData.value = row | |
| 57 | 57 | dialogVisible.value = true |
| 58 | 58 | } |
| 59 | 59 | ... | ... |
yudao-ui-admin-vue3/src/views/system/notice/index.vue
| ... | ... | @@ -50,7 +50,7 @@ |
| 50 | 50 | <Descriptions |
| 51 | 51 | v-if="actionType === 'detail'" |
| 52 | 52 | :schema="allSchemas.detailSchema" |
| 53 | - :data="detailRef" | |
| 53 | + :data="detailData" | |
| 54 | 54 | > |
| 55 | 55 | <template #content="{ row }"> |
| 56 | 56 | <Editor :model-value="row.content" read-only="true" /> |
| ... | ... | @@ -98,7 +98,7 @@ const dialogTitle = ref('edit') // 弹出层标题 |
| 98 | 98 | const actionType = ref('') // 操作按钮的类型 |
| 99 | 99 | const actionLoading = ref(false) // 按钮 Loading |
| 100 | 100 | const formRef = ref<FormExpose>() // 表单 Ref |
| 101 | -const detailRef = ref() // 详情 Ref | |
| 101 | +const detailData = ref() // 详情 Ref | |
| 102 | 102 | |
| 103 | 103 | // 设置标题 |
| 104 | 104 | const setDialogTile = (type: string) => { |
| ... | ... | @@ -125,7 +125,7 @@ const handleDetail = async (rowId: number) => { |
| 125 | 125 | setDialogTile('detail') |
| 126 | 126 | // 设置数据 |
| 127 | 127 | const res = await NoticeApi.getNoticeApi(rowId) |
| 128 | - detailRef.value = res | |
| 128 | + detailData.value = res | |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | // 删除操作 | ... | ... |
yudao-ui-admin-vue3/src/views/system/oauth2/token/index.vue
| ... | ... | @@ -17,7 +17,7 @@ |
| 17 | 17 | </ContentWrap> |
| 18 | 18 | <XModal v-model="dialogVisible" :title="dialogTitle"> |
| 19 | 19 | <!-- 对话框(详情) --> |
| 20 | - <Descriptions :schema="allSchemas.detailSchema" :data="detailRef" /> | |
| 20 | + <Descriptions :schema="allSchemas.detailSchema" :data="detailData" /> | |
| 21 | 21 | <!-- 操作按钮 --> |
| 22 | 22 | <template #footer> |
| 23 | 23 | <XButton :title="t('dialog.close')" @click="dialogVisible = false" /> |
| ... | ... | @@ -45,13 +45,13 @@ const { gridOptions, getList } = useVxeGrid<TokenApi.OAuth2TokenVO>({ |
| 45 | 45 | }) |
| 46 | 46 | |
| 47 | 47 | // ========== 详情相关 ========== |
| 48 | -const detailRef = ref() // 详情 Ref | |
| 48 | +const detailData = ref() // 详情 Ref | |
| 49 | 49 | const dialogVisible = ref(false) // 是否显示弹出层 |
| 50 | 50 | const dialogTitle = ref(t('action.detail')) // 弹出层标题 |
| 51 | 51 | // 详情 |
| 52 | 52 | const handleDetail = async (row: TokenApi.OAuth2TokenVO) => { |
| 53 | 53 | // 设置数据 |
| 54 | - detailRef.value = row | |
| 54 | + detailData.value = row | |
| 55 | 55 | dialogVisible.value = true |
| 56 | 56 | } |
| 57 | 57 | ... | ... |
yudao-ui-admin-vue3/src/views/system/operatelog/index.vue
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 | <!-- 弹窗 --> |
| 28 | 28 | <XModal id="postModel" v-model="dialogVisible" :title="t('action.detail')"> |
| 29 | 29 | <!-- 对话框(详情) --> |
| 30 | - <Descriptions :schema="allSchemas.detailSchema" :data="detailRef"> | |
| 30 | + <Descriptions :schema="allSchemas.detailSchema" :data="detailData"> | |
| 31 | 31 | <template #resultCode="{ row }"> |
| 32 | 32 | <span>{{ row.resultCode === 0 ? '成功' : '失败' }}</span> |
| 33 | 33 | </template> |
| ... | ... | @@ -63,11 +63,11 @@ const { gridOptions, exportList } = useVxeGrid<OperateLogApi.OperateLogVO>({ |
| 63 | 63 | // 弹窗相关的变量 |
| 64 | 64 | const dialogVisible = ref(false) // 是否显示弹出层 |
| 65 | 65 | const actionLoading = ref(false) // 按钮 Loading |
| 66 | -const detailRef = ref() // 详情 Ref | |
| 66 | +const detailData = ref() // 详情 Ref | |
| 67 | 67 | // 详情 |
| 68 | 68 | const handleDetail = (row: OperateLogApi.OperateLogVO) => { |
| 69 | 69 | // 设置数据 |
| 70 | - detailRef.value = row | |
| 70 | + detailData.value = row | |
| 71 | 71 | dialogVisible.value = true |
| 72 | 72 | } |
| 73 | 73 | ... | ... |
yudao-ui-admin-vue3/src/views/system/role/index.vue
| ... | ... | @@ -64,7 +64,7 @@ |
| 64 | 64 | <Descriptions |
| 65 | 65 | v-if="actionType === 'detail'" |
| 66 | 66 | :schema="allSchemas.detailSchema" |
| 67 | - :data="detailRef" | |
| 67 | + :data="detailData" | |
| 68 | 68 | /> |
| 69 | 69 | <!-- 操作按钮 --> |
| 70 | 70 | <template #footer> |
| ... | ... | @@ -189,7 +189,7 @@ const actionType = ref('') // 操作按钮的类型 |
| 189 | 189 | const dialogVisible = ref(false) // 是否显示弹出层 |
| 190 | 190 | const dialogTitle = ref('edit') // 弹出层标题 |
| 191 | 191 | const formRef = ref<FormExpose>() // 表单 Ref |
| 192 | -const detailRef = ref() // 详情 Ref | |
| 192 | +const detailData = ref() // 详情 Ref | |
| 193 | 193 | |
| 194 | 194 | // 设置标题 |
| 195 | 195 | const setDialogTile = (type: string) => { |
| ... | ... | @@ -216,7 +216,7 @@ const handleDetail = async (rowId: number) => { |
| 216 | 216 | setDialogTile('detail') |
| 217 | 217 | // 设置数据 |
| 218 | 218 | const res = await RoleApi.getRoleApi(rowId) |
| 219 | - detailRef.value = res | |
| 219 | + detailData.value = res | |
| 220 | 220 | } |
| 221 | 221 | |
| 222 | 222 | // 删除操作 | ... | ... |
yudao-ui-admin-vue3/src/views/system/sms/smsLog/index.vue
| ... | ... | @@ -22,7 +22,7 @@ |
| 22 | 22 | <Descriptions |
| 23 | 23 | v-if="actionType === 'detail'" |
| 24 | 24 | :schema="allSchemas.detailSchema" |
| 25 | - :data="detailRef" | |
| 25 | + :data="detailData" | |
| 26 | 26 | /> |
| 27 | 27 | <!-- 操作按钮 --> |
| 28 | 28 | <template #footer> |
| ... | ... | @@ -53,10 +53,10 @@ const dialogVisible = ref(false) // 是否显示弹出层 |
| 53 | 53 | const dialogTitle = ref('edit') // 弹出层标题 |
| 54 | 54 | const actionType = ref('') // 操作按钮的类型 |
| 55 | 55 | // ========== 详情相关 ========== |
| 56 | -const detailRef = ref() // 详情 Ref | |
| 56 | +const detailData = ref() // 详情 Ref | |
| 57 | 57 | const handleDetail = (row: SmsLoglApi.SmsLogVO) => { |
| 58 | 58 | // 设置数据 |
| 59 | - detailRef.value = row | |
| 59 | + detailData.value = row | |
| 60 | 60 | dialogVisible.value = true |
| 61 | 61 | } |
| 62 | 62 | ... | ... |
yudao-ui-admin-vue3/src/views/system/tenant/index.vue
| ... | ... | @@ -63,7 +63,7 @@ |
| 63 | 63 | <Descriptions |
| 64 | 64 | v-if="actionType === 'detail'" |
| 65 | 65 | :schema="allSchemas.detailSchema" |
| 66 | - :data="detailRef" | |
| 66 | + :data="detailData" | |
| 67 | 67 | > |
| 68 | 68 | <template #packageId="{ row }"> |
| 69 | 69 | <el-tag v-if="row.packageId === 0" type="danger">系统租户</el-tag> |
| ... | ... | @@ -112,7 +112,7 @@ const actionType = ref('') // 操作按钮的类型 |
| 112 | 112 | const dialogVisible = ref(false) // 是否显示弹出层 |
| 113 | 113 | const dialogTitle = ref('edit') // 弹出层标题 |
| 114 | 114 | const formRef = ref<FormExpose>() // 表单 Ref |
| 115 | -const detailRef = ref() // 详情 Ref | |
| 115 | +const detailData = ref() // 详情 Ref | |
| 116 | 116 | const getPackageName = (packageId: number) => { |
| 117 | 117 | for (let item of tenantPackageOption) { |
| 118 | 118 | if (item.value === packageId) { |
| ... | ... | @@ -147,7 +147,7 @@ const handleUpdate = async (rowId: number) => { |
| 147 | 147 | const handleDetail = async (rowId: number) => { |
| 148 | 148 | // 设置数据 |
| 149 | 149 | const res = await TenantApi.getTenantApi(rowId) |
| 150 | - detailRef.value = res | |
| 150 | + detailData.value = res | |
| 151 | 151 | setDialogTile('detail') |
| 152 | 152 | } |
| 153 | 153 | ... | ... |