Blame view

admin-web-master/src/api/manage.js 1.61 KB
3f535f30   杨鑫   '初始'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
  import request from '@/utils/request'
  // import request from '@/api/map'
  // 合同查询
  export function contractGetAll(data) {
    return request({
      url: '/cereContractInformation/queryByPage',
      method: 'post',
      data
    })
  }
  // 合同删除
  export function contractDel(data) {
    return request({
      url: '/cereContractInformation/deleteById',
      method: 'post',
      data
    })
  }
  
  // 合同新增
  export function contractAdd(data) {
    return request({
      url: '/cereContractInformation/add',
      method: 'post',
      data
    })
  }
  
  //合同更新
  export function updateList(data) {
    return request({
      url: '/cereContractInformation/updateById',
      method: 'post',
      data
    })
  }
  
  //合同单条查询
  export function queryById(data) {
    return request({
      url: '/cereContractInformation/queryById',
      method: 'post',
      data
    })
  }
  
  //租赁信息查询
  export function cereLeasingByPage(data) {
    return request({
      url: '/cereLeasingInformation/queryByPage',
      method: 'post',
      data
    })
  }
  //租赁信息新增
  export function cereLeasingAdd(data) {
    return request({
      url: '/cereLeasingInformation/add',
      method: 'post',
      data
    })
  }
  //租赁信息修改
  export function cereLeasingEdit(data) {
    return request({
      url: '/cereLeasingInformation/edit',
      method: 'post',
      data
    })
  }
  // 租赁信息删除
  export function cereLeasingDel(data) {
    return request({
      url: '/cereLeasingInformation/deleteById',
      method: 'post',
      data
    })
  }
  // 到期预警
  
  export function daoqi(data) {
    return request({
      url: '/cereContractInformation/expirationWarning',
      method: 'post',
      data
    })
  }