Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pda
pda-ui
Commits
a903e93d
Commit
a903e93d
authored
Jan 16, 2024
by
赵汉亭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
品牌、用途完成
parent
b647fbf5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1054 additions
and
26 deletions
+1054
-26
.gitignore
.gitignore
+26
-26
brand.js
src/api/mes/md/brand.js
+53
-0
usage.js
src/api/mes/pro/usage.js
+53
-0
index.vue
src/views/mes/md/brand/index.vue
+557
-0
index.vue
src/views/mes/pro/usage/index.vue
+365
-0
No files found.
.gitignore
View file @
a903e93d
#
.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
src/api/mes/md/brand.js
0 → 100644
View file @
a903e93d
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'
})
}
src/api/mes/pro/usage.js
0 → 100644
View file @
a903e93d
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'
})
}
src/views/mes/md/brand/index.vue
0 → 100644
View file @
a903e93d
This diff is collapsed.
Click to expand it.
src/views/mes/pro/usage/index.vue
0 → 100644
View file @
a903e93d
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment