选煤厂生产管理平台前端代码
dongyukun
2024-12-12 373c500356889c6c0eac99a08dfa5a85bfe97c7d
提交 | 用户 | 时间
c3134f 1 import request from '@/config/axios'
D 2
3 export interface DailySalesVO {
4   id: string
5   lsh : string
6   rq: string
7   xsmz: string
8   xsmzName: string,
9   xsl: number,
10   bz: string,
11
12 }
13
14 export interface DailySalesPageReqVO extends PageParam {
15   xsmz?: string,
16   startDate?: Date,
17   endDate?: Date,
18 }
19
20 // 查询DailySales列表
21 export const getDailySalesPage = (params: DailySalesPageReqVO) => {
373c50 22   return request.get({ url: '/xmcpms/process/remindOrder/page', params })
c3134f 23 }
D 24
25 // 查询DailySales列表
26 export const getPointList = (params: DailySalesPageReqVO) => {
373c50 27   return request.get({ url: '/xmcpms/process/remindOrder/list', params })
c3134f 28 }
D 29
30 // 查询DailySales详情
31 export const getDailySales = (id: number) => {
373c50 32   return request.get({ url: `/xmcpms/process/remindOrder/info/${id}`})
c3134f 33 }
D 34
35 // 新增DailySales
36 export const createDailySales = (data: DailySalesVO) => {
373c50 37   return request.post({ url: '/xmcpms/process/remindOrder/create', data })
c3134f 38 }
D 39
40 // 修改DailySales
41 export const updateDailySales = (data: DailySalesVO) => {
373c50 42   return request.put({ url: '/xmcpms/process/remindOrder/update', data })
c3134f 43 }
D 44
45 // 删除DailySales
46 export const deleteDailySales = (id: number) => {
373c50 47   return request.delete({ url: '/xmcpms/process/remindOrder/delete?id=' + id })
c3134f 48 }
D 49
50 //导出DailySalesList
51 export const exportDailySales = (params) => {
373c50 52   return request.download({ url: '/xmcpms/process/remindOrder/export', params })
c3134f 53 }
D 54
55 // 下载用户导入模板
56 export const importPointTemplate = () => {
373c50 57   return request.download({ url: '/xmcpms/process/remindOrder/get-import-template' })
c3134f 58 }