Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
9f91144d
Commit
9f91144d
authored
Nov 27, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indexindex
parent
25e68386
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
2 deletions
+13
-2
index.vue
layouts/basic-layout/header-bug/index.vue
+4
-2
bug.js
libs/bug.js
+4
-0
index.vue
pages/bug/index.vue
+1
-0
index.js
store/index.js
+4
-0
No files found.
layouts/basic-layout/header-bug/index.vue
View file @
9f91144d
...
@@ -31,7 +31,7 @@ export default {
...
@@ -31,7 +31,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
bugAdd
:
false
,
bugAdd
:
false
,
bugCount
:
3
bugCount
:
this
.
$store
.
state
.
countBug
};
};
},
},
computed
:
{},
computed
:
{},
...
@@ -74,6 +74,8 @@ export default {
...
@@ -74,6 +74,8 @@ export default {
}
}
},
},
created
()
{},
created
()
{},
mounted
()
{}
mounted
()
{
this
.
$store
.
commit
(
"setCountBug"
,
66
);
}
};
};
</
script
>
</
script
>
libs/bug.js
View file @
9f91144d
...
@@ -23,6 +23,10 @@ export default {
...
@@ -23,6 +23,10 @@ export default {
getpaged
(
params
)
{
getpaged
(
params
)
{
return
Api
.
get
(
`
${
bugUrl
}
/bugmain/getpaged`
,
params
);
return
Api
.
get
(
`
${
bugUrl
}
/bugmain/getpaged`
,
params
);
},
},
//获取bug列表
getList
(
params
)
{
return
Api
.
get
(
`
${
bugUrl
}
/bugmain/list`
,
params
);
},
//获取操作历史
//获取操作历史
getallaction
(
params
)
{
getallaction
(
params
)
{
return
Api
.
get
(
`
${
bugUrl
}
/bugmain/getallaction`
,
params
);
return
Api
.
get
(
`
${
bugUrl
}
/bugmain/getallaction`
,
params
);
...
...
pages/bug/index.vue
View file @
9f91144d
...
@@ -293,6 +293,7 @@ export default {
...
@@ -293,6 +293,7 @@ export default {
},
},
search
()
{
search
()
{
this
.
$refs
.
grid
.
easySearch
(
this
.
easySearch
);
this
.
$refs
.
grid
.
easySearch
(
this
.
easySearch
);
this
.
Api
},
},
//打开修改窗口
//打开修改窗口
editInfo
(
value
)
{
editInfo
(
value
)
{
...
...
store/index.js
View file @
9f91144d
...
@@ -20,6 +20,7 @@ export const state = () => ({
...
@@ -20,6 +20,7 @@ export const state = () => ({
countAi
:
0
,
//智能排产
countAi
:
0
,
//智能排产
countAll
:
0
,
//整机排产
countAll
:
0
,
//整机排产
countRun
:
0
,
//流水排产
countRun
:
0
,
//流水排产
countBug
:
0
,
//bug数量
})
})
export
const
getters
=
{
export
const
getters
=
{
dictionaryByKey
:
(
state
)
=>
(
key
)
=>
{
dictionaryByKey
:
(
state
)
=>
(
key
)
=>
{
...
@@ -101,6 +102,9 @@ export const mutations = {
...
@@ -101,6 +102,9 @@ export const mutations = {
setCountRun
(
state
,
count
)
{
//设置流水排产数量
setCountRun
(
state
,
count
)
{
//设置流水排产数量
state
.
countRun
=
count
;
state
.
countRun
=
count
;
},
},
setCountBug
(
state
,
count
)
{
//设置bug数量
state
.
countBug
=
count
;
},
setDepartments
(
state
,
departmentsMap
)
{
setDepartments
(
state
,
departmentsMap
)
{
state
.
departmentsMap
=
departmentsMap
;
state
.
departmentsMap
=
departmentsMap
;
},
},
...
...
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