Blame view

src/api/extend/zyZbConsult.js 526 Bytes
4424f41c   monkeyhouyi   网信执法、清单管理静态页面
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  import request from '@/utils/request'
  // 获取批注
  export function getPostil(id) {
    return request({
      url: `/api/SubDev/ZyZbwfConsult/${id}/Actions/Postil`,
      method: 'get'
    })
  }
  // 发送批注
  export function sendPostil(id, data) {
    return request({
      url: `/api/SubDev/ZyZbwfConsult/${id}/Postil`,
      method: 'post',
      data
    })
  }
  // 删除批注
  export function zyZbConsultDeletePostil(id, index) {
    return request({
      url: `/api/SubDev/ZyZbwfConsult/${id}/Postil/${index}`,
      method: 'DELETE'
    })
  }