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
45e33ff9
Commit
45e33ff9
authored
Apr 02, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userName
parent
9132db3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
add.vue
pages/bug/component/add.vue
+2
-2
index.vue
pages/bug/index.vue
+4
-4
No files found.
pages/bug/component/add.vue
View file @
45e33ff9
...
@@ -101,7 +101,7 @@ export default {
...
@@ -101,7 +101,7 @@ export default {
methods
:
{
methods
:
{
initial
()
{
initial
()
{
this
.
bugForm
.
pagePath
=
window
.
location
.
href
this
.
bugForm
.
pagePath
=
window
.
location
.
href
this
.
bugForm
.
createor
=
localStorage
.
getItem
(
'userName'
)
this
.
bugForm
.
createor
=
this
.
$store
.
state
.
userInfo
.
userName
},
},
//初始化编辑信息
//初始化编辑信息
editeInfo
(
value
)
{
editeInfo
(
value
)
{
...
@@ -150,7 +150,7 @@ export default {
...
@@ -150,7 +150,7 @@ export default {
pagePath
:
window
.
location
.
href
,
pagePath
:
window
.
location
.
href
,
content
:
''
,
content
:
''
,
imgPaths
:
[],
imgPaths
:
[],
createor
:
localStorage
.
getItem
(
'userName'
)
,
createor
:
this
.
$store
.
state
.
userInfo
.
userName
,
level
:
1
,
level
:
1
,
name
:
''
name
:
''
}
}
...
...
pages/bug/index.vue
View file @
45e33ff9
...
@@ -349,7 +349,7 @@ export default {
...
@@ -349,7 +349,7 @@ export default {
//修改事件
//修改事件
addSave
()
{
addSave
()
{
let
param
=
this
.
$refs
.
edit
.
addBugInfo
()
let
param
=
this
.
$refs
.
edit
.
addBugInfo
()
param
.
auditUser
=
localStorage
.
getItem
(
'userName'
)
param
.
auditUser
=
this
.
$store
.
state
.
userInfo
.
userName
if
(
param
.
id
!=
null
)
{
if
(
param
.
id
!=
null
)
{
//增加确定
//增加确定
this
.
$http
.
bug
.
createorupdate
(
param
).
then
((
res
)
=>
{
this
.
$http
.
bug
.
createorupdate
(
param
).
then
((
res
)
=>
{
...
@@ -373,7 +373,7 @@ export default {
...
@@ -373,7 +373,7 @@ export default {
//确定/关闭操作
//确定/关闭操作
detailSave
()
{
detailSave
()
{
let
param
=
this
.
$refs
.
detail
.
addBugInfo
()
let
param
=
this
.
$refs
.
detail
.
addBugInfo
()
param
.
auditUser
=
localStorage
.
getItem
(
'userName'
)
param
.
auditUser
=
this
.
$store
.
state
.
userInfo
.
userName
param
.
ids
=
[
param
.
id
]
param
.
ids
=
[
param
.
id
]
if
(
param
.
id
!=
null
)
{
if
(
param
.
id
!=
null
)
{
//增加确定
//增加确定
...
@@ -398,7 +398,7 @@ export default {
...
@@ -398,7 +398,7 @@ export default {
}
else
{
}
else
{
param
=
this
.
$refs
.
detail
.
addBugInfo
()
param
=
this
.
$refs
.
detail
.
addBugInfo
()
}
}
param
.
auditUser
=
localStorage
.
getItem
(
'userName'
)
param
.
auditUser
=
this
.
$store
.
state
.
userInfo
.
userName
param
.
ids
=
[
param
.
id
]
param
.
ids
=
[
param
.
id
]
param
.
statusNew
=
5
param
.
statusNew
=
5
if
(
param
.
id
!=
null
)
{
if
(
param
.
id
!=
null
)
{
...
@@ -440,7 +440,7 @@ export default {
...
@@ -440,7 +440,7 @@ export default {
//this.showBt = false
//this.showBt = false
this
.
selectBatch
=
100
this
.
selectBatch
=
100
}
}
this
.
listBatch
.
auditUser
=
localStorage
.
getItem
(
'userName'
)
this
.
listBatch
.
auditUser
=
this
.
$store
.
state
.
userInfo
.
userName
},
},
//批量操作
//批量操作
statuChange
(
value
)
{
statuChange
(
value
)
{
...
...
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