mutation-types.js 1.42 KB
export const MALLS = {
	SET_MALLS: 'setMalls',
	CHECKED_MALL_ID: 'checkedMallId',
	CHECKED_MULTI_MALL_ID: 'checkedMultiMallId',
	SET_GATES: 'setGates',
	CHECKED_GATE_ID: 'checkedGateId',
	CHECKED_MULTI_GATE_ID: 'checkedMultiGateId',
	SET_TIMEDATA: 'setTimeData',
	SET_SELECTED_CUSTOM_START_TIME: 'setSelectedCustomStartTime',
	SET_SELECTED_CUSTOM_END_TIME: 'setSelectedCustomEndTime',
	SET_PICKER_CUSTOM_START_IDX: 'setPickerCustomStartIdx',
	SET_PICKER_CUSTOM_END_IDX: 'setPickerCustomEndIdx',
	SET_DAY_DATA: 'setDayData',
	SET_SELECTED_DAY_TIME: 'setSelectedDayTime',
	SET_PICKER_DAY_IDX: 'setPickerDayIdx',
	// 开始结束日期
	SET_START_DATE: 'setStartDate',
	SET_END_DATE: 'setEndDate',
	SET_PICKER_START_IDX: 'setPickerStartIdx',
	SET_PICKER_END_IDX: 'setPickerEndIdx'
}

export const GATES = {
	SET_GATES: 'setGates'
}

export const CONDITIONS = {
	// 门店
	SET_MALLS: 'setMalls',
	CHECKED_MALL_ID: 'checkedMallId',
	CHECKED_MULTI_MALL_ID: 'checkedMultiMallId',
	// 出入口
	SET_GATES: 'setGates',
	CHECKED_GATE_ID: 'checkedGateId',
	CHECKED_MULTI_GATE_ID: 'checkedMultiGateId',
	// 基础时间
	SET_DATEDATA: 'setDateData',
	// 天级日期
	SET_SELECTED_DAY_TIME: 'setSelectedDayTime',
	SET_DAY_ANCHOR: 'setDayAnchor',
	// 开始结束日期
	SET_SELECTED_START_DAY_TIME: 'setSelectedStartDayTime',
	SET_START_DAY_ANCHOR: 'setStartDayAnchor',
	SET_SELECTED_END_DAY_TIME: 'setSelectedEndDayTime',
	SET_END_DAY_ANCHOR: 'setEndDayAnchor'
}