1
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
import http from '@/utils/http'
|
||||
class SpecificationServer {
|
||||
async list() {
|
||||
let res = await http.post('/specification/list', {})
|
||||
let res = await window.framework.http.post('/specification/list', {})
|
||||
return res
|
||||
}
|
||||
|
||||
async add(row) {
|
||||
let res = await http.post('/specification/add', row)
|
||||
let res = await window.framework.http.post('/specification/add', row)
|
||||
return res
|
||||
}
|
||||
|
||||
async edit(row) {
|
||||
let res = await http.post('/specification/edit', row)
|
||||
let res = await window.framework.http.post('/specification/edit', row)
|
||||
return res
|
||||
}
|
||||
|
||||
async del(row) {
|
||||
let res = await http.post('/specification/del', row)
|
||||
let res = await window.framework.http.post('/specification/del', row)
|
||||
return res
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user