Commit a903e93d authored by 赵汉亭's avatar 赵汉亭

品牌、用途完成

parent b647fbf5
#.DS_Store
#node_modules/
#dist/
#npm-debug.log*
#yarn-debug.log*
#yarn-error.log*
#**/*.log
#
#tests/**/coverage/
#tests/e2e/reports
#selenium-debug.log
#
## Editor directories and files
#.idea
#.vscode
#*.suo
#*.ntvs*
#*.njsproj
#*.sln
#*.local
#.editorconfig
#.eslintignore
#.eslintrc.js
#.env.*
#package-lock.json
#yarn.lock
.DS_Store
node_modules/
dist/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
**/*.log
tests/**/coverage/
tests/e2e/reports
selenium-debug.log
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.local
.editorconfig
.eslintignore
.eslintrc.js
.env.*
package-lock.json
yarn.lock
import request from '@/utils/request'
// 查询生产用途列表
export function listBrand(query) {
return request({
url: '/mes/md/brand/list',
method: 'get',
params: query
})
}
// 查询所有有效生产用途
export function listAllBrand() {
return request({
url: '/mes/md/brand/listAll',
method: 'get'
})
}
// 查询生产用途详细
export function getBrand(brandId) {
return request({
url: '/mes/md/brand/' + brandId,
method: 'get'
})
}
// 新增生产用途
export function addBrand(data) {
return request({
url: '/mes/md/brand',
method: 'post',
data: data
})
}
// 修改生产用途
export function updateBrand(data) {
return request({
url: '/mes/md/brand',
method: 'put',
data: data
})
}
// 删除生产用途
export function delBrand(brandId) {
return request({
url: '/mes/md/brand/' + brandId,
method: 'delete'
})
}
import request from '@/utils/request'
// 查询生产用途列表
export function listUsage(query) {
return request({
url: '/mes/pro/usage/list',
method: 'get',
params: query
})
}
// 查询所有有效生产用途
export function listAllUsage() {
return request({
url: '/mes/pro/usage/listAll',
method: 'get'
})
}
// 查询生产用途详细
export function getUsage(usageId) {
return request({
url: '/mes/pro/usage/' + usageId,
method: 'get'
})
}
// 新增生产用途
export function addUsage(data) {
return request({
url: '/mes/pro/usage',
method: 'post',
data: data
})
}
// 修改生产用途
export function updateUsage(data) {
return request({
url: '/mes/pro/usage',
method: 'put',
data: data
})
}
// 删除生产用途
export function delUsage(usageId) {
return request({
url: '/mes/pro/usage/' + usageId,
method: 'delete'
})
}
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment