dynamicDailyReport.js 1.28 KB
import api from '~/utils/request/request.js'

function staffDailyReportMerchantCarBand(data) {
	return api.post('dj.api.smartcarlife.staff.daily.report.car.brand', data)
}

function dailyReportWeeklyList(data) {
	return api.post('dj.api.smartcarlife.dailyReport.weekly.list', data)
}

function dynamicDailyReportSave(data) {
	return api.post('dj.api.smartcarlife.dailyReport.dynamic.save', data, [], undefined, 'dj', false)
}

function dynamicDailyReportDraftSave(data) {
	return api.post('dj.api.smartcarlife.dailyReport.dynamic.draft.save', data, [], undefined, 'dj', false)
}

function dynamicDailyReportDetail(data) {
	return api.post('dj.api.smartcarlife.dailyReport.dynamic.detail', data)
}

function dailyReportDetailGet(data) {
	return api.get('dj.api.smartcarlife.dailyReport.detail.get', data, [], undefined, 'dj', false)
}

function dynamicDailyReportSchema(data) {
	return api.post('dj.api.smartcarlife.dailyReport.dynamic.schema', data)
}

function findAllSceneByMerchantId(data) {
	return api.post('dj.api.scenemerchantref.findAllSceneByMerchantId', data)
}

module.exports = {
	staffDailyReportMerchantCarBand,
	dailyReportWeeklyList,
	dynamicDailyReportSave,
	dynamicDailyReportDraftSave,
	dynamicDailyReportDetail,
	dailyReportDetailGet,
	dynamicDailyReportSchema,
	findAllSceneByMerchantId
}