12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- import request from '@/utils/request'
- // 查询扩容申请列表
- export function listExpand(query) {
- return request({
- url: '/doc/expand/list',
- method: 'get',
- params: query
- })
- }
- // 查询扩容申请详细
- export function getExpand(expandId) {
- return request({
- url: '/doc/expand/' + expandId,
- method: 'get'
- })
- }
- // 新增扩容申请
- export function addExpand(data) {
- return request({
- url: '/doc/expand',
- method: 'post',
- data: data
- })
- }
- // 修改扩容申请
- export function updateExpand(data) {
- return request({
- url: '/doc/expand',
- method: 'put',
- data: data
- })
- }
- // 修改扩容申请
- export function yesExpand(expandId) {
- return request({
- url: '/doc/expand/yes/'+expandId,
- method: 'get',
- })
- }
- // 修改扩容申请
- export function noExpand(expandId) {
- return request({
- url: '/doc/expand/no/'+expandId,
- method: 'get',
- })
- }
- // 删除扩容申请
- export function delExpand(expandId) {
- return request({
- url: '/doc/expand/' + expandId,
- method: 'delete'
- })
- }
|