Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bms-vue-obear
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
daywrite
bms-vue-obear
Commits
8a9b3aaa
Commit
8a9b3aaa
authored
Jun 16, 2019
by
daywrite
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复客户信息
parent
309d950d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
8 deletions
+32
-8
caseView.vue
src/components/case_list/caseView.vue
+10
-1
reimbursementView.vue
src/components/reimbursement_list/reimbursementView.vue
+11
-6
groupView.vue
src/components/task_group_list/groupView.vue
+11
-1
No files found.
src/components/case_list/caseView.vue
View file @
8a9b3aaa
...
...
@@ -4,7 +4,7 @@
<div>
<el-row
:gutter=
"10"
class=
"header-title"
>
<el-col
:span=
"12"
>
<h2>
客户名称:
{{
result
.
list
[
0
]
&&
result
.
list
[
0
].
client
.
nam
e
}}
</h2>
<h2>
客户名称:
{{
titl
e
}}
</h2>
</el-col>
</el-row>
</div>
...
...
@@ -98,6 +98,7 @@ export default {
data
()
{
return
{
title
:
''
,
lmTemplate
:
[
{
name
:
'客户名称'
,
...
...
@@ -174,6 +175,14 @@ export default {
id
,
page
:
this
.
pagenation
.
thispage
})
this
.
getClientById
(
id
)
},
getClientById
(
id
)
{
requestAPI
(
api
.
getClientById
,
{
id
})
.
then
((
res
)
=>
{
this
.
title
=
res
.
model
.
name
})
},
// 2.列表数据
...
...
src/components/reimbursement_list/reimbursementView.vue
View file @
8a9b3aaa
...
...
@@ -4,16 +4,12 @@
<div>
<el-row
:gutter=
"10"
class=
"header-title"
>
<el-col
:span=
"12"
>
<h2>
客户名称:
{{
result
.
list
[
0
]
&&
result
.
list
[
0
].
client
.
nam
e
}}
</h2>
<h2>
客户名称:
{{
titl
e
}}
</h2>
</el-col>
</el-row>
</div>
<div
class=
"page-body-content"
>
<div
class=
"mb10"
>
<countArr
:list=
"result.countArr"
>
</countArr>
</div>
<client-nav
:trigger=
"addSch"
trigger-text=
"新建费用报销"
></client-nav>
<ReimItem
v-for=
"item in result.list"
:item=
"item"
...
...
@@ -64,6 +60,7 @@ export default {
data
()
{
return
{
title
:
''
,
lmTemplate
:
[
{
name
:
'报销类型'
,
...
...
@@ -129,6 +126,14 @@ export default {
id
,
page
:
this
.
pagenation
.
thispage
})
this
.
getClientById
(
id
)
},
getClientById
(
id
)
{
requestAPI
(
api
.
getClientById
,
{
id
})
.
then
((
res
)
=>
{
this
.
title
=
res
.
model
.
name
})
},
_reload
()
{
...
...
src/components/task_group_list/groupView.vue
View file @
8a9b3aaa
...
...
@@ -4,11 +4,12 @@
<div>
<el-row
:gutter=
"10"
class=
"header-title"
>
<el-col
:span=
"12"
>
<h2>
客户名称:
{{
(
result
.
list
[
0
]
&&
result
.
list
[
0
].
client
&&
result
.
list
[
0
].
client
.
name
)
||
'未知'
}}
</h2>
<h2>
客户名称:
{{
title
}}
</h2>
</el-col>
</el-row>
</div>
<div
class=
"page-body-content"
>
<client-nav
:trigger=
"addSch"
trigger-text=
"新建项目"
></client-nav>
<GroupItem
v-for=
"item in result.list"
:item=
"item"
...
...
@@ -64,6 +65,7 @@ export default {
data
()
{
return
{
title
:
''
,
lmTemplate
:
[
{
name
:
'项目内容'
,
...
...
@@ -143,6 +145,14 @@ export default {
id
,
page
:
this
.
pagenation
.
thispage
})
this
.
getClientById
(
id
)
},
getClientById
(
id
)
{
requestAPI
(
api
.
getClientById
,
{
id
})
.
then
((
res
)
=>
{
this
.
title
=
res
.
model
.
name
})
},
_reload
()
{
...
...
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