feat: 增加问卷调查组件
This commit is contained in:
31
src/components/SurveyQuestionnaire/index.vue
Normal file
31
src/components/SurveyQuestionnaire/index.vue
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<template>
|
||||||
|
<view class="survey-questionnaire">
|
||||||
|
<view class="w-full bg-white border-box border-ff overflow-hidden rounded-20">
|
||||||
|
<view class="border-box w-vw flex flex-items-center flex-justify-between bg-EEF8FF">
|
||||||
|
<text class="font-size-18 font-500 color-171717 text-left ml-12">
|
||||||
|
调查问卷
|
||||||
|
</text>
|
||||||
|
<image class="w-102 h-72" src="./sq_edit.png" mode="widthFix" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<image class="w-full" src="./sq_banner.png" mode="widthFix" />
|
||||||
|
|
||||||
|
<view class="h-44 m-12 rounded-50 bg-button color-white flex flex-items-center flex-justify-center"
|
||||||
|
@click="handleCall">
|
||||||
|
前往填写
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
|
||||||
|
const handleCall = () => {
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped></style
|
||||||
BIN
src/components/SurveyQuestionnaire/sq_banner.png
Normal file
BIN
src/components/SurveyQuestionnaire/sq_banner.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 664 KiB |
BIN
src/components/SurveyQuestionnaire/sq_edit.png
Normal file
BIN
src/components/SurveyQuestionnaire/sq_edit.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
@@ -21,6 +21,8 @@ export const CompName = {
|
|||||||
pictureAndCommodityCard: "pictureAndCommodityCard",
|
pictureAndCommodityCard: "pictureAndCommodityCard",
|
||||||
// 输入车牌卡片
|
// 输入车牌卡片
|
||||||
enterLicensePlateCard: "enterLicensePlateCard",
|
enterLicensePlateCard: "enterLicensePlateCard",
|
||||||
|
// 调查问卷卡片
|
||||||
|
callSurveyQuestionnaire: "callSurveyQuestionnaire",
|
||||||
};
|
};
|
||||||
|
|
||||||
/// 发送的指令类型
|
/// 发送的指令类型
|
||||||
|
|||||||
@@ -33,6 +33,9 @@
|
|||||||
<AddCarCrad v-else-if="
|
<AddCarCrad v-else-if="
|
||||||
item.toolCall.componentName === CompName.enterLicensePlateCard
|
item.toolCall.componentName === CompName.enterLicensePlateCard
|
||||||
" :toolCall="item.toolCall" />
|
" :toolCall="item.toolCall" />
|
||||||
|
<SurveyQuestionnaire v-else-if="
|
||||||
|
item.toolCall.componentName === CompName.callSurveyQuestionnaire
|
||||||
|
" :toolCall="item.toolCall" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
@@ -99,6 +102,7 @@ import DetailCardCompontent from "../../module/DetailCardCompontent/index.vue";
|
|||||||
import CreateServiceOrder from "@/components/CreateServiceOrder/index.vue";
|
import CreateServiceOrder from "@/components/CreateServiceOrder/index.vue";
|
||||||
import Feedback from "@/components/Feedback/index.vue";
|
import Feedback from "@/components/Feedback/index.vue";
|
||||||
import AddCarCrad from "@/components/AddCarCrad/index.vue";
|
import AddCarCrad from "@/components/AddCarCrad/index.vue";
|
||||||
|
import SurveyQuestionnaire from "@/components/SurveyQuestionnaire/index.vue";
|
||||||
import { mainPageData } from "@/request/api/MainPageDataApi";
|
import { mainPageData } from "@/request/api/MainPageDataApi";
|
||||||
import {
|
import {
|
||||||
conversationMsgList,
|
conversationMsgList,
|
||||||
|
|||||||
@@ -21,3 +21,7 @@
|
|||||||
.h-24 {
|
.h-24 {
|
||||||
height: 24px;
|
height: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.h72 {
|
||||||
|
height: 72px;
|
||||||
|
}
|
||||||
@@ -22,6 +22,12 @@
|
|||||||
width: 60px;
|
width: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.w-80 {
|
.w-80 {
|
||||||
width: 80px;
|
width: 80px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.w-102 {
|
||||||
|
width: 102px;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user