feat: 优化问卷列表和分析页面
1. 修改 SurveyItem 组件布局和样式 2. 在分析页面添加搜索栏 3. 更新问卷项中的时间显示格式 4. 调整分析页面组件的宽度 5. 添加 AI 洞察图标
This commit is contained in:
@@ -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<SurveyItem>();
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user