|
|
@@ -70,11 +70,11 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
-<script name="surveySumSettings" setup>
|
|
|
+<script name="purchaseSaleSettings" setup>
|
|
|
import { getRegionTree } from "@/api/fcbi/survey.js";
|
|
|
import { reactive, ref, onMounted, getCurrentInstance, watch, toRefs } from 'vue';
|
|
|
import PublicRange from '../../../components/PublicRange.vue';
|
|
|
-import { useSurveyStore, useSurveySalesStore } from '@/store/surveyStore';
|
|
|
+import { useSurveyStore, useSalesStore } from '@/store/yamadaStore';
|
|
|
import { useRouter } from 'vue-router';
|
|
|
import { AGGREGATION_TYPE, TARGET_PERIOD_TYPE } from '@/constants';
|
|
|
|
|
|
@@ -84,7 +84,7 @@ const months = Array.from({ length: 12 }, (_, i) => i + 1);
|
|
|
const error = ref('');
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
const surveyStore = useSurveyStore();
|
|
|
-const surveySalesStore = useSurveySalesStore();
|
|
|
+const SalesStore = useSalesStore();
|
|
|
const router = useRouter();
|
|
|
|
|
|
// テンプレートで定数を使用可能にするため、エクスポートします
|
|
|
@@ -300,7 +300,7 @@ const handleAggregate = () => {
|
|
|
aggregationType: queryParams.value.aggregationType,
|
|
|
salesFlag: salesFlag
|
|
|
};
|
|
|
- surveySalesStore.setSalesData(transferData);
|
|
|
+ SalesStore.setSalesData(transferData);
|
|
|
router.push({ name: 'salesSumResult' });
|
|
|
};
|
|
|
|