Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
6e3031c6
Commit
6e3031c6
authored
Jun 24, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
申请页,申请项无数据不显示
parent
35563cf3
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
407 additions
and
405 deletions
+407
-405
src/components/shop-car-apply/apply_service_state.vue
src/components/shop-car-apply/apply_service_state.vue
+37
-43
src/pages/service_shop/shop_car_apply.vue
src/pages/service_shop/shop_car_apply.vue
+370
-362
No files found.
src/components/shop-car-apply/apply_service_state.vue
View file @
6e3031c6
...
...
@@ -2,10 +2,7 @@
<div
class=
"outborder"
>
<div
class=
"outservice"
>
<div
class=
"serviceinfo"
>
<div
class=
"pic"
:style=
"
{ backgroundImage: 'url(' + data.img + ')' }"
>
</div>
<div
class=
"pic"
:style=
"
{ backgroundImage: 'url(' + data.img + ')' }">
</div>
<div
class=
"info"
>
<p>
{{
data
.
title
}}
...
...
@@ -33,8 +30,7 @@
border: 'solid 1px #e4c884',
}
"
>
{{
item
.
tip
}}
</span
>
>
{{
item
.
tip
}}
</span>
</p>
<p>
{{
data
.
type
}}
</p>
<p>
{{
data
.
auth
}}
</p>
...
...
@@ -44,9 +40,7 @@
<p>
{{
data
.
size
}}
</p>
<P>
{{
data
.
applytype
}}
</P>
</div>
<div
class=
"num"
>
{{
data
.
num
}}
</div>
<div
class=
"num"
>
{{
data
.
num
}}
</div>
<div
class=
"oprate"
>
<upload-file
v-if=
"data.isMg"
...
...
@@ -59,20 +53,20 @@
</div>
<p
class=
"inputtitle"
>
应用场景:
</p>
<div
class=
"system"
>
<el-input
v-model=
"sceneinput"
placeholder=
"请填写申请服务的应用场景"
></el-input>
<el-input
v-model=
"sceneinput"
placeholder=
"请填写申请服务的应用场景"
></el-input>
</div>
<p
class=
"inputtitle degr"
v-if=
"!data.isapp"
@
click=
"showtable = !showtable"
>
<i
:class=
"showtable ? 'el-icon-caret-bottom' : 'el-icon-caret-right'"
></i
>
选择需要申请的数据项:
<p
class=
"inputtitle degr"
v-if=
"!data.isapp && data.data && data.data.length != 0 "
@
click=
"showtable = !showtable"
>
<i
:class=
"showtable ? 'el-icon-caret-bottom' : 'el-icon-caret-right'"
></i>
选择需要申请的数据项:
</p>
<table-um
v-if=
"!data.isapp
"
v-if=
"!data.isapp && data.data && data.data.length != 0
"
v-show=
"showtable"
:isSelection=
"true"
ref=
"apply_service_state_table"
ref=
"apply_service_state_table"
:headers=
"headers"
:stripe=
"true"
:datas=
"data.data"
...
...
@@ -85,67 +79,67 @@
import
uploadFile
from
"
@/components/upload_file
"
;
import
tableUm
from
"
@/components/table/table-um
"
;
export
default
{
props
:
[
"
data
"
,
"
idx
"
],
props
:
[
"
data
"
,
"
idx
"
],
components
:
{
uploadFile
,
tableUm
,
tableUm
},
data
()
{
return
{
sceneinput
:
""
,
fileList
:
''
,
imgList
:[],
fileList
:
""
,
imgList
:
[],
showtable
:
false
,
headers
:
[
{
label
:
"
字段编码
"
,
prop
:
"
code
"
,
align
:
"
left
"
,
minWidth
:
"
20%
"
,
minWidth
:
"
20%
"
},
{
label
:
"
字段名称
"
,
prop
:
"
name
"
,
align
:
"
left
"
,
minWidth
:
"
20%
"
,
minWidth
:
"
20%
"
},
{
label
:
"
字段类型
"
,
prop
:
"
type
"
,
align
:
"
center
"
,
width
:
"
150
"
,
width
:
"
150
"
},
{
label
:
"
字段描述
"
,
prop
:
"
desc
"
,
align
:
"
left
"
,
minWidth
:
"
50%
"
,
}
,
]
,
minWidth
:
"
50%
"
}
]
};
},
watch
:
{},
computed
:
{},
created
()
{
},
created
()
{},
mounted
()
{},
methods
:
{
getNewList
(
val
)
{
console
.
log
(
val
);
this
.
fileList
=
""
this
.
fileList
=
val
.
map
((
v
,
k
)
=>
{
return
v
.
url
}).
join
(
'
;
'
)
console
.
log
(
this
.
fileList
)
}
},
console
.
log
(
val
);
this
.
fileList
=
""
;
this
.
fileList
=
val
.
map
((
v
,
k
)
=>
{
return
v
.
url
;
})
.
join
(
"
;
"
);
console
.
log
(
this
.
fileList
);
}
}
};
</
script
>
<
style
scoped
>
.outborder
{
border-bottom
:
2px
solid
rgba
(
244
,
247
,
252
,
1
);
.outborder
{
border-bottom
:
2px
solid
rgba
(
244
,
247
,
252
,
1
);
}
.outservice
{
width
:
100%
;
...
...
@@ -238,7 +232,7 @@ export default {
text-decoration
:
underline
;
cursor
:
pointer
;
}
.table
{
margin
:
0
30px
20px
;
.table
{
margin
:
0
30px
20px
;
}
</
style
>
src/pages/service_shop/shop_car_apply.vue
View file @
6e3031c6
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