Blame view

admin-web-master/src/api/manage.js 2.23 KB
3f535f30   杨鑫   '初始'
1
  import request from '@/utils/request'
c0c9fa7a   wesley88   1
2
3
4
5
6
7
8
9
10
  // 合同修改是否内部
  
  export function editById(data) {
    return request({
      url: '/cereContractInformation/editById',
      method: 'post',
      data
    })
  }
c4af7f82   wesley88   1
11
12
13
14
15
16
17
18
19
  // 合同修改
  
  export function edit(data) {
    return request({
      url: '/cereContractInformation/edit',
      method: 'post',
      data
    })
  }
93c8bac5   李宇   1
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
  // 合同查询new
  
  export function contractGetAllnew(data) {
    return request({
      url: '/cereContractInformation/getPage',
      method: 'post',
      data
    })
  }
  
  // 合同新增new
  export function contractinsertAdd(data) {
    return request({
      url: '/cereContractInformation/insert',
      method: 'post',
      data
    })
  }
  
  
3f535f30   杨鑫   '初始'
40
41
  // import request from '@/api/map'
  // 合同查询
93c8bac5   李宇   1
42
  
3f535f30   杨鑫   '初始'
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
  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
    })
  }