|
|
@@ -43,6 +43,7 @@
|
|
|
<script lang="ts" setup>
|
|
|
import { EnumPaperType, EnumPaperWorkState } from '@/common/enum';
|
|
|
import { useTransferPage } from '@/hooks/useTransferPage';
|
|
|
+import { getPaperWorkDetail } from '@/api/modules/study';
|
|
|
import { Study } from '@/types';
|
|
|
const { transferTo } = useTransferPage();
|
|
|
const props = defineProps<{
|
|
|
@@ -58,7 +59,19 @@ const publishTime = computed(() => {
|
|
|
});
|
|
|
|
|
|
const handleDetail = () => {
|
|
|
- console.log(props.data);
|
|
|
+ uni.$ie.showLoading();
|
|
|
+ getPaperWorkDetail(props.data.id).then(res => {
|
|
|
+ uni.$ie.hideLoading();
|
|
|
+ transferTo('/pagesStudy/pages/simulation-analysis/simulation-analysis', {
|
|
|
+ data: {
|
|
|
+ examineeId: res.data.examineeId
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }).catch(err => {
|
|
|
+ uni.$ie.hideLoading();
|
|
|
+ console.error(err);
|
|
|
+ });
|
|
|
+
|
|
|
}
|
|
|
|
|
|
const handleStart = () => {
|