|
@@ -36,7 +36,9 @@
|
|
|
{{ answer.name }}
|
|
|
</n-radio>
|
|
|
</n-space>
|
|
|
+
|
|
|
<n-space
|
|
|
+ v-if="detail.hasDiy"
|
|
|
align="center"
|
|
|
style="margin-top: 15px; min-width: 450px"
|
|
|
>
|
|
@@ -67,6 +69,22 @@
|
|
|
:label="answer.name"
|
|
|
/>
|
|
|
</n-space>
|
|
|
+
|
|
|
+ <n-space
|
|
|
+ v-if="detail.hasDiy"
|
|
|
+ align="center"
|
|
|
+ style="margin-top: 15px; min-width: 450px"
|
|
|
+ >
|
|
|
+ <n-checkbox key="diy" value="diy"> 其他 </n-checkbox>
|
|
|
+ <n-input
|
|
|
+ style="min-width: 450px"
|
|
|
+ round
|
|
|
+ maxlength="100"
|
|
|
+ show-count
|
|
|
+ placeholder="请输入内容 最多100字"
|
|
|
+ v-model:value="detail[`custom-${detail['id']}`]"
|
|
|
+ />
|
|
|
+ </n-space>
|
|
|
</n-checkbox-group>
|
|
|
</n-space>
|
|
|
</template>
|
|
@@ -98,7 +116,7 @@ import sideMenu from "../components/sideMenu";
|
|
|
import heroSubTitle from "../components/heroSubTitle";
|
|
|
import { useSurveyStore } from "../store/survey";
|
|
|
const surveyStore = useSurveyStore();
|
|
|
-const title = ref("detail");
|
|
|
+const title = ref("问卷调查");
|
|
|
const message = useMessage();
|
|
|
const details = computed(() => surveyStore.details);
|
|
|
|