fuliqi
2024-04-02 0a0e01138e0d9b6f370ae16ef1099e4c60d15c26
src/api/platform/check-template.js
@@ -3,8 +3,8 @@
// 查询考核模板列表
export function listCheckTemplate(query) {
  return request({
    url: '/check-template/page',
    method: 'post',
    url: '/check/template/list',
    method: 'get',
    data: query
  })
}
@@ -12,7 +12,7 @@
// 查询考核模板详细
export function getCheckTemplate(id) {
  return request({
    url: '/check-template/' + id,
    url: '/check/template/' + id,
    method: 'get'
  })
}
@@ -20,7 +20,7 @@
// 新增考核模板
export function addCheckTemplate(data) {
  return request({
    url: '/check-template',
    url: '/check/template',
    method: 'post',
    data: data
  })
@@ -29,7 +29,7 @@
// 修改考核模板
export function updateCheckTemplate(data) {
  return request({
    url: '/check-template',
    url: '/check/template',
    method: 'put',
    data: data
  })
@@ -38,7 +38,7 @@
// 删除考核模板
export function delCheckTemplate(id) {
  return request({
    url: '/check-template/' + id,
    url: '/check/template/' + id,
    method: 'delete'
  })
}
@@ -46,7 +46,7 @@
// 获取运维单位下拉列表
export function templateSelect() {
  return request({
    url: '/check-template/list',
    url: '/check/template/list',
    method: 'get'
  })
}