import http from '@/utils/http' class SpecificationServer { async list() { let res = await window.framework.http.post('/specification/list', {}) return res } async add(row) { let res = await window.framework.http.post('/specification/add', row) return res } async edit(row) { let res = await window.framework.http.post('/specification/edit', row) return res } async del(row) { let res = await window.framework.http.post('/specification/del', row) return res } } const specificationServer = new SpecificationServer() export default specificationServer