|
|
@@ -41,7 +41,7 @@
|
|
|
class="vertical-radio"
|
|
|
>即時公開</el-radio>
|
|
|
<el-radio
|
|
|
- label="scheduled"
|
|
|
+ value="scheduled"
|
|
|
v-model="queryParams.releaseType"
|
|
|
class="scheduled-radio"
|
|
|
>期間指定</el-radio>
|
|
|
@@ -150,11 +150,11 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="回答型" style="margin-left: 55px;margin-top: -15px">
|
|
|
<el-radio-group v-model="question.questionType" class="custom-radio-group" @change="handleQuestionTypeChange(question, $event)">
|
|
|
- <el-radio label="INPUT_BOX_50">入力ボックス(50文字)</el-radio>
|
|
|
- <el-radio label="INPUT_BOX_100">入力ボックス(100文字)</el-radio>
|
|
|
- <el-radio label="CHECK_BOX">チェックボックス</el-radio>
|
|
|
- <el-radio label="RADIO_BUTTON">ラジオボタン</el-radio>
|
|
|
- <el-radio label="NUMBER_SELECT">数字選択(プルダウン)</el-radio>
|
|
|
+ <el-radio value="INPUT_BOX_50">入力ボックス(50文字)</el-radio>
|
|
|
+ <el-radio value="INPUT_BOX_100">入力ボックス(100文字)</el-radio>
|
|
|
+ <el-radio value="CHECK_BOX">チェックボックス</el-radio>
|
|
|
+ <el-radio value="RADIO_BUTTON">ラジオボタン</el-radio>
|
|
|
+ <el-radio value="NUMBER_SELECT">数字選択(プルダウン)</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
@@ -279,16 +279,16 @@
|
|
|
|
|
|
<script name="SurveyForm" setup>
|
|
|
|
|
|
-import { getRegionTree, addSurvey } from "@/api/fcbi/survey.js"
|
|
|
+import { getRegionTree, addSurvey } from "@/api/fcbi/survey.js";
|
|
|
import { reactive, toRefs, ref, watch, onMounted } from 'vue';
|
|
|
import PublicRange from '../../../components/PublicRange.vue';
|
|
|
import { ElMessage } from "element-plus";
|
|
|
import { useRouter } from 'vue-router';
|
|
|
-import { useSurveyStore } from '@/store/yamadaStore.js'
|
|
|
-import {formatMsg} from "@/utils/yamada.js"
|
|
|
+import useSurveyStore from '@/store/modules/survey';
|
|
|
+import {formatMsg} from "@/utils/yamada.js";
|
|
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
-const surveyStore = useSurveyStore()
|
|
|
+const surveyStore = useSurveyStore();
|
|
|
// アップロード対象を取得
|
|
|
const { yamada_fc_brand: yamadaFcBrand } = proxy.useDict('yamada_fc_brand');
|
|
|
surveyStore.setBrandCode(yamadaFcBrand)
|