123456789101112131415161718192021222324252627282930313233343536373839404142 |
- /* eslint-disable no-restricted-syntax */
- /* eslint-disable guard-for-in */
- import axios from 'axios';
-
- export default {
- namespaced: true,
- state: {
- week: {
- id: '',
- unit: '',
- week: '',
- module: '',
- price: '',
- currentLevy: '',
- },
- contactDetails: {
- name: '',
- number: '',
- email: '',
- },
- },
- mutations: {
- setWeek(state, week) {
- state.week = week;
- },
- },
- getters: {},
- actions: {
- initWeek({
- commit,
- }, weekId) {
- commit('setWeek', {
- id: weekId,
- unit: '359',
- week: 'N18',
- module: '359/N18 River View',
- price: 85000,
- currentLevy: 5455,
- });
- },
- },
- };
|