Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
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
常超
founder_vue
Commits
70a9acf1
Commit
70a9acf1
authored
Apr 01, 2022
by
gao_yingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
刑嫌对象信息管理, 详情图片
parent
fcf17e8a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
7 deletions
+38
-7
src/components/PersonInfor.vue
+23
-2
src/views/xxtk/gzry/detailGzry.vue
+15
-5
No files found.
src/components/PersonInfor.vue
View file @
70a9acf1
...
...
@@ -99,7 +99,7 @@
<div
:class=
"'col' + i.col"
v-for=
"i in item.data"
v-show=
"!i.hidden"
v-show=
"!i.hidden"
:key=
"i.prop"
>
<span
class=
"label"
:style=
"
{ width: labelWidth }">
{{
...
...
@@ -143,8 +143,21 @@
>
{{
"预览"
}}
</span
>
</div>
<div
id=
"PhotoNew"
class=
"photoBox"
v-else-if=
"i.type == 'photoNew' && pageData[i.prop]"
>
<!--
{{
pageData
[
i
.
prop
].
src
}}
-->
<el-image
class=
"new-image"
:preview-src-list=
"[pageData[i.prop].src]"
:src=
"pageData[i.prop].src"
lazy
></el-image>
</div>
<!-- 群体研判页面只有标题没有文件,显示为比标题 -->
<div
v-if=
"i.type == 'photoW' && pageData[i.prop]"
>
<div
v-
else-
if=
"i.type == 'photoW' && pageData[i.prop]"
>
<p
class=
"photoBox"
v-for=
"(itemW, index) in pageData[i.prop]"
...
...
@@ -240,6 +253,13 @@ export default {
};
</
script
>
<
style
lang=
"scss"
scoped
>
#PhotoNew
{
border
:
0px
solid
rgba
(
0
,
0
,
0
,
0.18
);
.el-image
{
width
:
178px
;
height
:
178px
;
}
}
i
.iconfont.iconfujian-wenjian
{
color
:
#ffa456
;
margin-right
:
9px
;
...
...
@@ -367,6 +387,7 @@ i.iconfont.iconfujian-wenjian {
.module
{
padding
:
10px
0
;
}
.photoBox
{
@include
photoStyle();
width
:
100%
;
...
...
src/views/xxtk/gzry/detailGzry.vue
View file @
70a9acf1
...
...
@@ -45,31 +45,31 @@ export default {
//photo的数据为对象格式有src: 图片路径 name: 图片名 字段
label
:
"正面:"
,
prop
:
"zmfile"
,
type
:
"photo"
,
type
:
"photo
New
"
,
col
:
"3"
,
},
{
label
:
"左侧:"
,
prop
:
"zcfile"
,
type
:
"photo"
,
type
:
"photo
New
"
,
col
:
"3"
,
},
{
label
:
"右侧:"
,
prop
:
"ycfile"
,
type
:
"photo"
,
type
:
"photo
New
"
,
col
:
"3"
,
},
{
label
:
"身份证人像:"
,
prop
:
"sfzrxfile"
,
type
:
"photo"
,
type
:
"photo
New
"
,
col
:
"3"
,
},
{
label
:
"身份证国徽:"
,
prop
:
"sfzghfile"
,
type
:
"photo"
,
type
:
"photo
New
"
,
col
:
"13"
,
},
{
...
...
@@ -352,6 +352,16 @@ export default {
name
:
obj
.
ryzpDzwjmc
,
});
self
.
$forceUpdate
(
self
.
pageObject
);
}
else
if
(
fieldItem
.
type
==
"photoNew"
)
{
let
obj
=
result
.
find
(
(
i
)
=>
self
.
selectBw
(
i
.
zpbw
)
==
fieldItem
.
prop
);
if
(
obj
&&
obj
.
ryzpDzwjnr
)
self
.
$set
(
self
.
pageObject
,
fieldItem
.
prop
,
{
src
:
"data:image/jpeg;base64,"
+
obj
.
ryzpDzwjnr
,
name
:
obj
.
ryzpDzwjmc
,
});
self
.
$forceUpdate
(
self
.
pageObject
);
}
});
self
.
loadingIndex
--
;
...
...
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