-
-
-
-
{{ survey.answer_num }}份
-
- {{ `${survey.start_time} 至 ${survey.end_time ?? '无限期'}` }}
-
+
+
+
+
+
+ {{ survey.answer_num }}份
+
+ {{ `${survey.start_time} 至 ${survey.end_time ?? '无限期'}` }}
+
+
-
+
- AI 洞察
-
+ />
@@ -173,7 +174,7 @@ function copyItem(item: SurveyItem) {

-
{{ survey.created_at }}
+
创建时间 {{ survey.created_at }}
@@ -278,13 +279,12 @@ function copyItem(item: SurveyItem) {
}
}
- & > :nth-child(2) {
- position: relative;
- left: 10px;
+ .wrap {
padding: 1px 3px;
border: 2px solid #f5f5f5;
border-radius: 6px;
font-size: 12px;
+ text-wrap: nowrap;
}
}
@@ -299,7 +299,7 @@ function copyItem(item: SurveyItem) {
text-overflow: ellipsis;
padding: 10px 15px;
box-sizing: border-box;
- margin: 0 10px 10px 10px;
+ margin: 0 10px 10px 5px;
color: #828282;
font-weight: 400;
font-size: 12px;
diff --git a/src/views/Survey/hooks/useSurveyData.ts b/src/views/Survey/hooks/useSurveyData.ts
index d24b0eb..7933551 100644
--- a/src/views/Survey/hooks/useSurveyData.ts
+++ b/src/views/Survey/hooks/useSurveyData.ts
@@ -1,7 +1,7 @@
import { getSurveysPage, deleteSurveys, saveTemplates } from '@/api/home';
import { ref } from 'vue';
import { showDialog, showConfirmDialog, showFailToast, showToast } from 'vant';
-import { getSurveysDetail } from '@/api/design';
+import { getSetting, getSurveysDetail } from '@/api/design';
const form = ref({
page: 0,
@@ -18,6 +18,7 @@ const currentSurvey = ref
();
async function fetchSingleSurvey(sn: string) {
const res = await getSurveysDetail(sn);
+ // const res = await getSetting({sn})
// console.log(res);
if (res.data.code === 0) {
currentSurvey.value = res.data.data;
diff --git a/src/views/Survey/views/Analysis/Index.vue b/src/views/Survey/views/Analysis/Index.vue
index 0c9405c..255602a 100644
--- a/src/views/Survey/views/Analysis/Index.vue
+++ b/src/views/Survey/views/Analysis/Index.vue
@@ -11,6 +11,7 @@ import {
} from '@/views/Survey/views/Analysis/hooks/useAnalysis';
import Wait from '@/views/Survey/views/Analysis/components/Wait/Index.vue';
import AnalysisInfo from '@/views/Survey/views/Analysis/components/AnalysisInfo/Index.vue';
+import SearchBar from '@/components/Search/Index.vue';
const route = useRoute();
/**
@@ -24,6 +25,11 @@ useFetchAnalysis(route.query.sn as string);
+ $router.push({ name: 'search' })"
+ />
@@ -74,6 +80,7 @@ useFetchAnalysis(route.query.sn as string);
.ai-insight,
.logic-info,
.analysis {
+ width: 100%;
border-radius: theme.$card-radius;
margin-bottom: theme.$gap;
}