From e7fbf453476e31d7d9cf15b64acb6052fca6d78d Mon Sep 17 00:00:00 2001 From: shenrongliang <1328040932@qq.com> Date: 星期一, 07 四月 2025 14:54:00 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- easegen-front/src/views/digitalcourse/digitalhumans/index.vue | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/easegen-front/src/views/digitalcourse/digitalhumans/index.vue b/easegen-front/src/views/digitalcourse/digitalhumans/index.vue index 3b6167f..e0ecd01 100644 --- a/easegen-front/src/views/digitalcourse/digitalhumans/index.vue +++ b/easegen-front/src/views/digitalcourse/digitalhumans/index.vue @@ -173,7 +173,7 @@ <el-button link type="primary" - @click="openForm('detail', scope.row.id)" + @click="OpenLookformRef('detail', scope.row.id)" v-hasPermi="['digitalcourse:digital-humans:delete']" > {{t('digitalhumans.view')}} @@ -190,8 +190,10 @@ /> </ContentWrap> - <!-- 琛ㄥ崟寮圭獥锛氭坊鍔�/淇敼 --> + <!-- 琛ㄥ崟寮圭獥锛氭坊鍔� --> <DigitalHumansForm ref="formRef" @success="getList" /> + <!-- 琛ㄥ崟寮圭獥锛氫慨鏀� --> + <LookDigitalHumansForm ref="LookformRef" @success="getList" /> <!-- 澶勭悊 --> <AuditForm ref="auditFormRef" @success="getList" /> </template> @@ -203,6 +205,7 @@ import download from '@/utils/download' import * as DigitalHumansApi from '@/api/digitalcourse/digitalhumans' import DigitalHumansForm from './DigitalHumansForm.vue' +import LookDigitalHumansForm from './LookDigitalHumansForm.vue' import AuditForm from './AuditForm.vue' import { useUserStoreWithOut } from '@/store/modules/user' const userStore = useUserStoreWithOut() // 鐢ㄦ埛淇℃伅缂撳瓨 @@ -260,13 +263,20 @@ handleQuery() } -/** 娣诲姞/淇敼鎿嶄綔 */ +/** 娣诲姞鎿嶄綔 */ const formRef = ref() const auditFormRef = ref() const openForm = (type: string, id?: number) => { formRef.value.open(type, id) } +/* 淇敼鎿嶄綔 */ +const LookformRef = ref() +const OpenLookformRef = ( type: string, id?:number ) => { + LookformRef.value.open( type, id ) +} + + const openAuditForm = (type: string, id?: number) => { auditFormRef.value.open(type, id) } -- Gitblit v1.9.3