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
12c8bc91
Commit
12c8bc91
authored
Oct 19, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ok
parent
2297d1bc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
26 deletions
+24
-26
zh-CN.js
i18n/locale/zh-CN.js
+19
-22
index.vue
pages/project/plan/index.vue
+5
-4
No files found.
i18n/locale/zh-CN.js
View file @
12c8bc91
...
@@ -1818,9 +1818,8 @@ export default {
...
@@ -1818,9 +1818,8 @@ export default {
type
:
'类型'
,
type
:
'类型'
,
attachment
:
'附件'
,
attachment
:
'附件'
,
executor
:
'执行人'
,
executor
:
'执行人'
,
}
},
,
project_main
:
{
project_main
:
{
creationTime
:
'创建时间'
,
creationTime
:
'创建时间'
,
creatorUserId
:
'创建人'
,
creatorUserId
:
'创建人'
,
lastModificationTime
:
'更新时间'
,
lastModificationTime
:
'更新时间'
,
...
@@ -1838,7 +1837,5 @@ project_main: {
...
@@ -1838,7 +1837,5 @@ project_main: {
startDate
:
'开始日期'
,
startDate
:
'开始日期'
,
endDate
:
'结束日期'
,
endDate
:
'结束日期'
,
businessUnits
:
'业务单位'
,
businessUnits
:
'业务单位'
,
}
}
}
}
pages/project/plan/index.vue
View file @
12c8bc91
...
@@ -155,23 +155,24 @@ export default {
...
@@ -155,23 +155,24 @@ export default {
},
},
mounted
()
{
mounted
()
{
console
.
log
(
this
);
console
.
log
(
this
);
this
.
search
();
},
},
async
fetch
({
store
,
params
})
{
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
},
methods
:
{
methods
:
{
ok
()
{
ok
()
{
// this.$refs.grid.load
();
this
.
search
();
this
.
modal
=
false
;
this
.
modal
=
false
;
this
.
curId
=
0
;
this
.
curId
=
0
;
},
},
search
()
{
search
()
{
this
.
$refs
.
grid
.
reload
(
this
.
easySearch
);
//
this.$refs.grid.reload(this.easySearch);
var
params
=
{
var
params
=
{
conditions
:[]
conditions
:[]
}
}
Api
.
list
(
params
).
then
(
r
=>
{
Api
.
list
(
params
).
then
(
r
=>
{
this
.
list
=
r
.
result
;
})
})
},
},
add
()
{
add
()
{
...
@@ -201,7 +202,7 @@ export default {
...
@@ -201,7 +202,7 @@ export default {
remove
(
id
)
{
remove
(
id
)
{
Api
.
delete
(
id
).
then
((
r
)
=>
{
Api
.
delete
(
id
).
then
((
r
)
=>
{
if
(
r
.
success
)
{
if
(
r
.
success
)
{
this
.
$refs
.
grid
.
load
();
this
.
search
();
this
.
$Message
.
success
(
"删除成功"
);
this
.
$Message
.
success
(
"删除成功"
);
}
}
});
});
...
...
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