init
This commit is contained in:
25
src/api/system/specificationServer.js
Normal file
25
src/api/system/specificationServer.js
Normal file
@@ -0,0 +1,25 @@
|
||||
import http from '@/utils/http'
|
||||
class SpecificationServer {
|
||||
async list() {
|
||||
let res = await http.post('/specification/list', {})
|
||||
return res
|
||||
}
|
||||
|
||||
async add(row) {
|
||||
let res = await http.post('/specification/add', row)
|
||||
return res
|
||||
}
|
||||
|
||||
async edit(row) {
|
||||
let res = await http.post('/specification/edit', row)
|
||||
return res
|
||||
}
|
||||
|
||||
async del(row) {
|
||||
let res = await http.post('/specification/del', row)
|
||||
return res
|
||||
}
|
||||
}
|
||||
|
||||
const specificationServer = new SpecificationServer()
|
||||
export default specificationServer
|
||||
Reference in New Issue
Block a user