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
48ec678a
Commit
48ec678a
authored
Aug 25, 2023
by
yuhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加多生物
parent
c9c6cd0d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
490 additions
and
291 deletions
+490
-291
src/api/dswtzxx.js
+7
-0
src/views/ajxscxbd/ajjs/detailAjlb.vue
+216
-194
src/views/dswtz/swxx/components/dcsfxx.vue
+267
-97
No files found.
src/api/dswtzxx.js
View file @
48ec678a
...
@@ -67,3 +67,10 @@ export const deleteZjbzjgById = params =>
...
@@ -67,3 +67,10 @@ export const deleteZjbzjgById = params =>
//指纹比中新增
//指纹比中新增
export
const
deleteZwbzjgById
=
params
=>
export
const
deleteZwbzjgById
=
params
=>
postform
(
`
${
base
.
alyIP
}
/zwbzhc/deleteZwbzjgById`
,
params
);
postform
(
`
${
base
.
alyIP
}
/zwbzhc/deleteZwbzjgById`
,
params
);
//维护信息新增
export
const
insertDcsf
=
params
=>
postform
(
`
${
base
.
alyIP
}
/Rxbzrw/insertDcsf`
,
params
);
export
const
deleteDcsf
=
params
=>
postform
(
`
${
base
.
alyIP
}
/Rxbzrw/deleteDcsf`
,
params
);
export
const
updateDcsf
=
params
=>
postform
(
`
${
base
.
alyIP
}
/Rxbzrw/updateDcsf`
,
params
);
src/views/ajxscxbd/ajjs/detailAjlb.vue
View file @
48ec678a
<
template
>
<
template
>
<div
class=
"swtzxxglRoutes"
>
<div
class=
"swtzxxglRoutes"
>
<div
style=
"margin: 20px;background: #fff;border-radius: 8px;"
>
<div
style=
"margin: 20px;background: #fff;border-radius: 8px;"
>
<div
class=
"tips-ttile"
>
案件关联现场信息详情
</div>
<div
class=
"tips-ttile"
>
案件关联现场信息详情
</div>
<div
class=
"anjjbxx text-cont"
v-loading=
"loading"
>
<div
class=
"anjjbxx text-cont"
<h1>
案件基本信息
</h1>
v-loading=
"loading"
>
<el-row>
<h1>
案件基本信息
</h1>
<el-col
:span=
"8"
><span>
案件编号:
</span>
{{
ajxxInfo
.
asjbh
||
'-'
}}
<i
v-if=
"ajxxInfo.asjbh"
class=
"el-icon-view"
@
click=
"toXcky(ajxxInfo.asjbh)"
></i></el-col>
<el-row>
<el-col
:span=
"8"
><span>
现场勘验编号:
</span>
{{
ajxxInfo
.
xkbh
||
'-'
}}
</el-col>
<el-col
:span=
"8"
><span>
案件编号:
</span>
{{
ajxxInfo
.
asjbh
||
'-'
}}
<i
v-if=
"ajxxInfo.asjbh"
<el-col
:span=
"8"
><span>
案件类别:
</span>
{{
ajxxInfo
.
ajlbdmStr
||
'-'
}}
</el-col>
class=
"el-icon-view"
<el-col
:span=
"24"
><span>
案件名称:
</span>
{{
ajxxInfo
.
ajmc
||
'-'
}}
</el-col>
@
click=
"toXcky(ajxxInfo.asjbh)"
></i></el-col>
<el-col
:span=
"24"
><span>
简要案情:
</span>
{{
ajxxInfo
.
jyaq
||
'-'
}}
</el-col>
<el-col
:span=
"8"
><span>
现场勘验编号:
</span>
{{
ajxxInfo
.
xkbh
||
'-'
}}
</el-col>
<el-col
:span=
"8"
><span
class=
""
>
案发开始时间:
</span>
{{
ajxxInfo
.
asjfssjfxAsjfskssjStr
||
'-'
}}
</el-col>
<el-col
:span=
"8"
><span>
案件类别:
</span>
{{
ajxxInfo
.
ajlbdmStr
||
'-'
}}
</el-col>
<el-col
:span=
"8"
><span
class=
""
>
案发结束时间:
</span>
{{
ajxxInfo
.
asjfssjAsjfsjssjStr
||
'-'
}}
</el-col>
<el-col
:span=
"24"
><span>
案件名称:
</span>
{{
ajxxInfo
.
ajmc
||
'-'
}}
</el-col>
<el-col
:span=
"8"
><span>
立案日期:
</span>
{{
ajxxInfo
.
larqStr
||
'-'
}}
</el-col>
<el-col
:span=
"24"
><span>
简要案情:
</span>
{{
ajxxInfo
.
jyaq
||
'-'
}}
</el-col>
<el-col
:span=
"8"
><span>
立案单位:
</span>
{{
ajxxInfo
.
ladwmc
||
'-'
}}
</el-col>
<el-col
:span=
"8"
><span
class=
""
>
案发开始时间:
</span>
{{
ajxxInfo
.
asjfssjfxAsjfskssjStr
||
'-'
}}
</el-col>
<el-col
:span=
"8"
><span>
立案单位详称:
</span>
{{
ajxxInfo
.
ladwmc
||
'-'
}}
</el-col>
<el-col
:span=
"8"
><span
class=
""
>
案发结束时间:
</span>
{{
ajxxInfo
.
asjfssjAsjfsjssjStr
||
'-'
}}
</el-col>
<el-col
:span=
"8"
><span>
案发地区划:
</span>
{{
ajxxInfo
.
fxasjddXzqhdmStr
||
'-'
}}
</el-col>
<el-col
:span=
"8"
><span>
立案日期:
</span>
{{
ajxxInfo
.
larqStr
||
'-'
}}
</el-col>
<el-col
:span=
"16"
><span>
案发地详址:
</span>
{{
ajxxInfo
.
fxasjddDzmc
||
'-'
}}
</el-col>
<el-col
:span=
"8"
><span>
立案单位:
</span>
{{
ajxxInfo
.
ladwmc
||
'-'
}}
</el-col>
<el-col
:span=
"24"
><span
>
可疑标识号:
</span>
<el-col
:span=
"8"
><span>
立案单位详称:
</span>
{{
ajxxInfo
.
ladwmc
||
'-'
}}
</el-col>
<p
style=
"margin-right:15px;color:#808591;display: inline;"
v-if=
" ajxxInfo.kyfwbshList.length==0"
>
<el-col
:span=
"8"
><span>
案发地区划:
</span>
{{
ajxxInfo
.
fxasjddXzqhdmStr
||
'-'
}}
</el-col>
{{
'-'
}}
<el-col
:span=
"16"
><span>
案发地详址:
</span>
{{
ajxxInfo
.
fxasjddDzmc
||
'-'
}}
</el-col>
</p>
<el-col
:span=
"24"
><span>
可疑标识号:
</span>
<p
style=
"margin-right:15px;color:#808591;display: inline;"
v-for=
"(ajItem, ajindex) in ajxxInfo.kyfwbshList"
<p
style=
"margin-right:15px;color:#808591;display: inline;"
:key=
"ajindex"
>
v-if=
" ajxxInfo.kyfwbshList.length==0"
>
{{
'-'
}}
</p>
<p
style=
"margin-right:15px;color:#808591;display: inline;"
v-for=
"(ajItem, ajindex) in ajxxInfo.kyfwbshList"
:key=
"ajindex"
>
{{
{{
ajItem
ajItem
}}
}}
</p>
</p>
</el-col>
</el-col>
</el-row>
</el-row>
</div>
</div>
<div
class=
"xyrlb text-cont"
>
<div
class=
"xyrlb text-cont"
>
<h1>
嫌疑人列表
</h1>
<h1>
嫌疑人列表
</h1>
<el-table
<el-table
:data=
"ajxyrInfo"
:data=
"ajxyrInfo"
style=
"width: 100%"
>
style=
"width: 100%"
>
<el-table-column
prop=
"xm"
<el-table-column
label=
"姓名"
prop=
"xm"
width=
"180"
>
label=
"姓名"
</el-table-column>
width=
"180"
>
<el-table-column
prop=
"cyzjZjhm"
</el-table-column>
label=
"证件号码"
<el-table-column
width=
"180"
>
prop=
"cyzjZjhm"
</el-table-column>
label=
"证件号码"
<el-table-column
prop=
"xbdmStr"
width=
"180"
>
label=
"性别"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"mzdmStr"
prop=
"xbdmStr"
label=
"民族"
>
label=
"性别"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"jgdm"
<el-table-column
label=
"籍贯"
>
prop=
"mzdmStr"
</el-table-column>
label=
"民族"
>
</el-table>
</el-table-column>
</div>
<el-table-column
prop=
"jgdm"
label=
"籍贯"
>
</el-table-column>
</el-table>
</div>
<div
class=
"swtzxxbd text-cont"
>
<div
class=
"swtzxxbd text-cont"
>
<h1>
现场信息
</h1>
<h1>
现场信息
</h1>
<el-tabs
class=
"elTabs"
:tab-position=
"tabPosition"
v-model=
"activeName"
type=
"card"
@
tab-click=
"handleClick"
>
<el-tabs
class=
"elTabs"
<el-tab-pane
label=
"现场指掌纹"
name=
"1"
><xczzw-info
:asjbh=
"asjbh"
></xczzw-info></el-tab-pane>
:tab-position=
"tabPosition"
<el-tab-pane
label=
"现场DNA"
name=
"2"
><xcdna-info
:asjbh=
"asjbh"
></xcdna-info></el-tab-pane>
v-model=
"activeName"
<el-tab-pane
label=
"现场YSTR"
name=
"3"
><xcystr-info
:asjbh=
"asjbh"
></xcystr-info></el-tab-pane>
type=
"card"
<el-tab-pane
label=
"现场人像"
name=
"4"
><xcrx-info
:asjbh=
"asjbh"
></xcrx-info></el-tab-pane>
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"现场足迹"
name=
"5"
><xczj-info
:asjbh=
"asjbh"
></xczj-info></el-tab-pane>
<el-tab-pane
label=
"现场指掌纹"
<el-tab-pane
label=
"现场视频"
name=
"6"
><xcsp-info
:asjbh=
"asjbh"
></xcsp-info></el-tab-pane>
name=
"1"
>
</el-tabs>
<xczzw-info
:asjbh=
"asjbh"
></xczzw-info>
</div>
</el-tab-pane>
<el-tab-pane
label=
"现场DNA"
name=
"2"
>
<xcdna-info
:asjbh=
"asjbh"
></xcdna-info>
</el-tab-pane>
<el-tab-pane
label=
"现场YSTR"
name=
"3"
>
<xcystr-info
:asjbh=
"asjbh"
></xcystr-info>
</el-tab-pane>
<el-tab-pane
label=
"现场人像"
name=
"4"
>
<xcrx-info
:asjbh=
"asjbh"
></xcrx-info>
</el-tab-pane>
<el-tab-pane
label=
"现场足迹"
name=
"5"
>
<xczj-info
:asjbh=
"asjbh"
></xczj-info>
</el-tab-pane>
<el-tab-pane
label=
"现场视频"
name=
"6"
>
<xcsp-info
:asjbh=
"asjbh"
></xcsp-info>
</el-tab-pane>
</el-tabs>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
post
}
from
"@/utils/http.js"
;
import
{
post
}
from
"@/utils/http.js"
;
import
url
from
"@/api/base"
;
import
url
from
"@/api/base"
;
import
xczzwInfo
from
"./components/xczzwInfo.vue"
;
import
xczzwInfo
from
"./components/xczzwInfo.vue"
;
import
xcrxInfo
from
"./components/xcrxInfo.vue"
;
import
xcrxInfo
from
"./components/xcrxInfo.vue"
;
import
xczjInfo
from
"./components/xczjInfo.vue"
;
import
xczjInfo
from
"./components/xczjInfo.vue"
;
import
xcspInfo
from
"./components/xcspInfo.vue"
;
import
xcspInfo
from
"./components/xcspInfo.vue"
;
import
xcdnaInfo
from
"./components/xcdnaInfo.vue"
;
import
xcdnaInfo
from
"./components/xcdnaInfo.vue"
;
import
xcystrInfo
from
"./components/xcystrInfo.vue"
;
import
xcystrInfo
from
"./components/xcystrInfo.vue"
;
export
default
{
export
default
{
components
:
{
components
:
{
xczzwInfo
,
xczzwInfo
,
xcrxInfo
,
xcrxInfo
,
xczjInfo
,
xczjInfo
,
xcdnaInfo
,
xcdnaInfo
,
xcystrInfo
,
xcystrInfo
,
xcspInfo
xcspInfo
},
data
()
{
return
{
// form: {
// page: 1,
// limit: 10,
// asjbh: this.$route.query.asjbh
// },
asjbh
:
''
,
dnaTotal
:
0
,
tabPosition
:
'left'
,
activeName
:
'1'
,
loading
:
false
,
ajxxUrl
:
'/rxbz/querySaDetailbyId'
,
zzwUrl
:
'/Zwbzrw/getZwrwZcList'
,
dnaUrl
:
'/Dnabzrw/getDnarwList'
,
ystrUrl
:
'/Ystrbzrw/getYstrrwList'
,
rxUrl
:
'/Rxccbzrw/getRxrwList'
,
zjUrl
:
'/Zjccbzrw/getRxCcrwList'
,
ajxyrUrl
:
'/newAsjbz/getZbfzxyrxxList'
,
ajxxInfo
:
{},
// 案件基本信息
xcystr
:
{},
// 现场YSTR列表
xcrx
:
{},
// 现场人像列表
ajxyrInfo
:
[]
}
},
methods
:
{
toXcky
(
data
)
{
debugger
let
path
=
`http://89.0.23.192:9080/xcky_pic/page/sceneview/intoSceneview.action?functionType=3&caseId=
${
data
}
&IMP=1`
// let path = 'http://89.0.23.192:9080/xcky_pic/page/sceneview/intoSceneview.action?functionType=3&id=K4601095300002021090102'
window
.
open
(
path
,
"_blank"
);
},
},
data
()
{
handleClick
(
tab
,
event
)
{
return
{
console
.
log
(
tab
,
event
);
// form: {
// page: 1,
// limit: 10,
// asjbh: this.$route.query.asjbh
// },
asjbh
:
''
,
dnaTotal
:
0
,
tabPosition
:
'left'
,
activeName
:
'1'
,
loading
:
false
,
ajxxUrl
:
'/rxbz/querySaDetailbyId'
,
zzwUrl
:
'/Zwbzrw/getZwrwZcList'
,
dnaUrl
:
'/Dnabzrw/getDnarwList'
,
ystrUrl
:
'/Ystrbzrw/getYstrrwList'
,
rxUrl
:
'/Rxccbzrw/getRxrwList'
,
zjUrl
:
'/Zjccbzrw/getRxCcrwList'
,
ajxyrUrl
:
'/newAsjbz/getZbfzxyrxxList'
,
ajxxInfo
:
{},
// 案件基本信息
xcystr
:
{},
// 现场YSTR列表
xcrx
:
{},
// 现场人像列表
ajxyrInfo
:
[]
}
},
},
methods
:
{
doTask
()
{
toXcky
(
data
)
{
debugger
let
path
=
`http://89.0.23.192:9080/xcky_pic/page/sceneview/intoSceneview.action?functionType=3&id=
${
data
}
`
// let path = 'http://89.0.23.192:9080/xcky_pic/page/sceneview/intoSceneview.action?functionType=3&id=K4601095300002021090102'
window
.
open
(
path
,
"_blank"
);
},
},
handleClick
(
tab
,
event
)
{
// 获取案件信息详情
console
.
log
(
tab
,
event
);
getAjxxxq
()
{
},
this
.
loading
=
true
doTask
()
{
post
(
`
${
url
.
alyIP
}${
this
.
ajxxUrl
}
`
,
{
asjbh
:
this
.
asjbh
}).
then
(
},
// 获取案件信息详情
getAjxxxq
()
{
this
.
loading
=
true
post
(
`
${
url
.
alyIP
}${
this
.
ajxxUrl
}
`
,
{
asjbh
:
this
.
asjbh
}).
then
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
ajxxInfo
=
res
.
data
.
rows
this
.
ajxxInfo
=
res
.
data
.
rows
}
}
this
.
loading
=
false
this
.
loading
=
false
});
});
},
},
// 案件嫌疑人信息列表
// 案件嫌疑人信息列表
getZbfzxyrxxList
()
{
getZbfzxyrxxList
()
{
this
.
loading
=
true
this
.
loading
=
true
post
(
`
${
url
.
alyIP
}${
this
.
ajxyrUrl
}
`
,
{
asjbh
:
this
.
asjbh
}).
then
(
post
(
`
${
url
.
alyIP
}${
this
.
ajxyrUrl
}
`
,
{
asjbh
:
this
.
asjbh
}).
then
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
ajxyrInfo
=
res
.
data
.
rows
this
.
ajxyrInfo
=
res
.
data
.
rows
}
}
this
.
loading
=
false
this
.
loading
=
false
});
});
},
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
},
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
}
},
},
created
()
{
handleSizeChange
(
val
)
{
this
.
asjbh
=
this
.
$route
.
query
.
asjbh
console
.
log
(
`每页
${
val
}
条`
);
this
.
getAjxxxq
()
this
.
getZbfzxyrxxList
()
},
},
mounted
(
)
{
handleCurrentChange
(
val
)
{
// this.getXczwlb()
console
.
log
(
`当前页:
${
val
}
`
);
}
}
};
},
created
()
{
this
.
asjbh
=
this
.
$route
.
query
.
asjbh
this
.
getAjxxxq
()
this
.
getZbfzxyrxxList
()
},
mounted
()
{
// this.getXczwlb()
}
};
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
i
.el-icon-view
{
i
.el-icon-view
{
margin-left
:
22px
;
margin-left
:
22px
;
color
:
#0889ff
;
color
:
#0889ff
;
cursor
:
pointer
cursor
:
pointer
;
}
.swtzxxglRoutes
{
padding-bottom
:
30px
;
width
:
1200px
;
margin
:
0
auto
;
.tips-ttile
{
font-size
:
16px
;
font-family
:
Source
Han
Sans
CN
;
font-weight
:
600
;
color
:
#363636
;
padding
:
13px
20px
;
border-bottom
:
1px
solid
#e4e4e4
;
}
}
.swtzxxglRoutes
{
.text-cont
{
padding-bottom
:
30px
;
margin-bottom
:
10px
;
width
:
1200px
;
padding
:
13px
50px
;
margin
:
0
auto
;
h1
{
.tips-ttile{
font-size
:
16px
;
font-size
:
16px
;
font-family
:
Source
Han
Sans
CN
;
font-family
:
Source
Han
Sans
CN
;
font-weight
:
600
;
font-weight
:
600
;
color
:
#363636
;
color
:
#ff8d1e
;
padding
:
13px
20px
;
border-bottom
:
1px
solid
#e4e4e4
;
border-bottom
:
1px
solid
#e4e4e4
;
padding-bottom
:
10px
;
}
}
.text-cont
{
.el-tabs
{
margin-bottom
:
10px
;
margin
:
10px
0
;
padding
:
13px
50px
;
}
h1{
.el-row
{
font-size
:
16px
;
.el-col
{
font-family
:
Source
Han
Sans
CN
;
color
:
#808591
;
font-weight
:
600
;
font-size
:
15px
;
color
:
#ff8d1e
;
line-height
:
2.5
;
border-bottom
:
1px
solid
#e4e4e4
;
font-weight
:
bold
;
padding-bottom
:
10px
;
span
{
}
display
:
inline-block
;
.el-tabs
{
color
:
#363636
;
margin
:
10px
0
;
width
:
100px
;
}
}
.el-row
{
.time
{
.el-col{
width
:
130px
;
color
:
#808591
;
font-size
:
15px
;
line-height
:
2.5
;
font-weight
:
bold
;
span{
display
:
inline-block
;
color
:
#363636
;
width
:
100px
;
}
.time
{
width
:
130px
;
}
}
}
}
}
}
}
::v-deep
.el-tabs--left.el-tabs--card
.el-tabs__nav
{
border-bottom
:
0
;
}
::v-deep
.el-tabs__item
{
height
:
55px
;
line-height
:
55px
;
background-color
:
#f5f7fa
;
}
::v-deep
.is-active
{
background-color
:
#fff
;
}
}
}
::v-deep
.el-tabs--left.el-tabs--card
.el-tabs__nav
{
border-bottom
:
0
;
}
::v-deep
.el-tabs__item
{
height
:
55px
;
line-height
:
55px
;
background-color
:
#f5f7fa
;
}
::v-deep
.is-active
{
background-color
:
#fff
;
}
}
</
style
>
</
style
>
\ No newline at end of file
src/views/dswtz/swxx/components/dcsfxx.vue
View file @
48ec678a
<
template
>
<
template
>
<div>
<div>
<
el-table
<
span
class=
"hbyp"
v-loading=
"loading"
@
click=
"dnaAdd()"
>
新增
</span>
:data=
"tableData
"
<el-table
v-loading=
"loading
"
style=
"width: 100%"
>
:data=
"tableData"
<el-table-column
style=
"width: 100%"
>
prop=
"xm"
<el-table-column
prop=
"xm"
label=
"姓名"
label=
"姓名"
width=
"120"
>
width=
"120"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"cyzjZjhm"
prop=
"cyzjZjhm"
label=
"身份证号"
label=
"身份证号"
width=
"180"
>
width=
"180"
>
</el-table-column>
</el-table-column>
<!--
<el-table-column
<!--
<el-table-column
prop=
""
prop=
""
...
@@ -21,24 +20,20 @@
...
@@ -21,24 +20,20 @@
<el-image
style=
"width: 60px;"
:src=
"'data:image/jpeg;base64,' + scope.row.ryzp"
></el-image>
<el-image
style=
"width: 60px;"
:src=
"'data:image/jpeg;base64,' + scope.row.ryzp"
></el-image>
</
template
>
</
template
>
</el-table-column>
-->
</el-table-column>
-->
<el-table-column
<el-table-column
prop=
"xbdmStr"
prop=
"xbdmStr"
label=
"性别"
label=
"性别"
width=
"100"
>
width=
"100"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"gjdmStr"
prop=
"gjdmStr"
label=
"户籍地"
label=
"户籍地"
width=
"180"
>
width=
"180"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"bz"
prop=
"bz"
label=
"信息来源"
>
label=
"信息来源"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"rdbzcz"
prop=
"rdbzcz"
label=
"备注"
label=
"备注"
width=
"180"
>
width=
"180"
>
</el-table-column>
</el-table-column>
<!-- <el-table-column
<!-- <el-table-column
prop="rdzt"
prop="rdzt"
...
@@ -48,93 +43,239 @@
...
@@ -48,93 +43,239 @@
<span>{{ getRdbs(scope.row.rdzt) }}</span>
<span>{{ getRdbs(scope.row.rdzt) }}</span>
</template>
</template>
</el-table-column> -->
</el-table-column> -->
<el-table-column
<el-table-column
prop=
""
prop=
""
label=
"操作"
label=
"操作"
width=
"180"
>
width=
"80"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"rending(scope.row)"
type=
"text"
>
备注
</el-button>
<el-button
@
click=
"rending(scope.row)"
type=
"text"
>
备注
</el-button>
<el-button
@
click=
"edit(scope)"
type=
"text"
>
修改
</el-button>
<el-button
@
click=
"dele(scope)"
type=
"text"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-dialog
title=
"修改备注"
:visible
.
sync=
"dialogFormVisible"
>
<el-dialog
title=
"修改备注"
<el-form
:model=
"form"
style=
"margin-top: 20px;"
>
:visible
.
sync=
"dialogFormVisible"
>
<el-form-item
label=
"备注:"
:label-width=
"formLabelWidth"
>
<el-form
:model=
"form"
<el-input
type=
"textarea"
rows=
"3"
v-model=
"form.name"
autocomplete=
"off"
style=
"width: 98%"
></el-input>
style=
"margin-top: 20px;"
>
<el-form-item
label=
"备注:"
:label-width=
"formLabelWidth"
>
<el-input
type=
"textarea"
rows=
"3"
v-model=
"form.name"
autocomplete=
"off"
style=
"width: 98%"
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogFormVisible = false"
>
取 消
</el-button>
<el-button
@
click=
"dialogFormVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"areyouSure"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"areyouSure"
>
确 定
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
<!-- 比对结果弹框 -->
<el-dialog
title=
"比对结果"
class=
"dialogBd"
:before-close=
"handleCloseBd"
:visible
.
sync=
"dialogVisibleBd"
width=
"53%"
>
<el-form
ref=
"ruleForm"
:model=
"formPer"
size=
"small"
:rules=
"rulesPer"
label-width=
"110px"
label-position=
"left"
>
<el-form-item
label=
"姓名"
style=
"width:50%;"
prop=
"xm"
>
<el-input
type=
"input"
:rows=
"2"
size=
"medium"
v-model=
"formPer.xm"
></el-input>
</el-form-item>
<el-form-item
label=
"身份证号"
style=
"width:50%;"
prop=
"cyzjZjhm"
>
<el-input
type=
"input"
size=
"medium"
:rows=
"2"
v-model=
"formPer.cyzjZjhm"
></el-input>
</el-form-item>
<el-form-item
label=
"性别"
style=
"width:50%;"
prop=
"xbdmStr"
>
<el-input
type=
"input"
size=
"medium"
:rows=
"2"
v-model=
"formPer.xbdmStr"
></el-input>
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
:loading=
"loadingPer"
style=
"backgroundColor:#266FE8;"
@
click=
"submitPer('ruleForm')"
>
确认
</el-button>
<el-button
@
click=
"cancelBtn"
>
取 消
</el-button>
</span>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
post
}
from
"@/utils/http.js"
;
import
{
post
}
from
"@/utils/http.js"
;
import
url
from
"@/api/base"
;
import
url
from
"@/api/base"
;
import
{
updateDcsf
,
deleteDcsf
,
insertDcsf
}
from
"@/api/dswtzxx.js"
;
export
default
{
export
default
{
name
:
"dcsfxx"
,
name
:
"dcsfxx"
,
components
:
{
components
:
{
},
data
()
{
return
{
rulesPer
:
{
cyzjZjhm
:
[
{
required
:
true
,
message
:
"请输入身份证号"
,
trigger
:
"change"
},
],
},
formPer
:
{
xm
:
''
,
cyzjZjhm
:
''
,
xbdmStr
:
''
,
},
editType
:
''
,
dialogVisibleBd
:
false
,
loadingPer
:
false
,
formLabelWidth
:
'60px'
,
dialogFormVisible
:
false
,
tableData
:
[],
Url
:
'/Rxbzrw/selectDcsflist'
,
rdUrl
:
'/Rxbzrw/updateDcsfrd'
,
loading
:
false
,
form
:
{
name
:
''
},
redingData
:
{}
};
},
props
:
{
rybh
:
String
},
methods
:
{
edit
(
scope
)
{
this
.
formPer
.
xm
=
scope
.
row
.
xm
this
.
formPer
.
cyzjZjhm
=
scope
.
row
.
cyzjZjhm
this
.
formPer
.
xbdmStr
=
scope
.
row
.
xbdmStr
this
.
formPer
.
xxzjbh
=
scope
.
row
.
xxzjbh
this
.
editType
=
2
this
.
dialogVisibleBd
=
true
},
dele
(
scope
)
{
this
.
$confirm
(
"此操作将永久删除, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
let
params
=
new
FormData
()
params
.
append
(
'xxzjbh'
,
scope
.
row
.
xxzjbh
)
params
.
append
(
'rybh'
,
this
.
rybh
)
deleteDcsf
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$message
({
type
:
"success"
,
message
:
"删除成功"
,
});
this
.
getDcsfxx
()
}
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
,
});
});
},
// 提交
async
submitPer
(
searchForm
)
{
this
.
$refs
[
searchForm
].
validate
(
async
(
valid
)
=>
{
if
(
valid
)
{
this
.
loadingPer
=
true
let
params
=
new
FormData
()
params
.
append
(
'xm'
,
this
.
formPer
.
xm
)
params
.
append
(
'zjhm'
,
this
.
formPer
.
cyzjZjhm
)
params
.
append
(
'xbdmStr'
,
this
.
formPer
.
xbdmStr
)
params
.
append
(
'rybh'
,
this
.
rybh
)
let
res
if
(
this
.
editType
==
2
)
{
params
.
append
(
'xxzjbh'
,
this
.
formPer
.
xxzjbh
)
res
=
await
updateDcsf
(
params
)
}
else
{
res
=
await
insertDcsf
(
params
)
}
if
(
res
&&
res
.
code
==
200
)
{
this
.
$message
.
success
(
'提交成功'
)
this
.
dialogVisibleBd
=
false
;
this
.
loadingPer
=
false
this
.
getDcsfxx
()
}
}
})
},
},
data
()
{
cancelBtn
()
{
return
{
this
.
$refs
[
'ruleForm'
].
resetFields
();
formLabelWidth
:
'60px'
,
this
.
dialogVisibleBd
=
false
;
dialogFormVisible
:
false
,
tableData
:
[],
Url
:
'/Rxbzrw/selectDcsflist'
,
rdUrl
:
'/Rxbzrw/updateDcsfrd'
,
loading
:
false
,
form
:
{
name
:
''
},
redingData
:
{}
};
},
},
props
:
{
handleCloseBd
()
{
rybh
:
String
this
.
$refs
[
'ruleForm'
].
resetFields
();
this
.
dialogVisibleBd
=
false
;
},
},
methods
:
{
dnaAdd
()
{
// 获取多重身份信息
this
.
dialogVisibleBd
=
true
getDcsfxx
()
{
},
this
.
loading
=
true
// 获取多重身份信息
post
(
`
${
url
.
alyIP
}${
this
.
Url
}
`
,
{
xxzjbh
:
this
.
rybh
}).
then
(
getDcsfxx
()
{
this
.
loading
=
true
post
(
`
${
url
.
alyIP
}${
this
.
Url
}
`
,
{
xxzjbh
:
this
.
rybh
}).
then
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
tableData
=
res
.
data
.
rows
this
.
tableData
=
res
.
data
.
rows
}
}
this
.
loading
=
false
this
.
loading
=
false
});
});
},
},
rending
(
data
)
{
rending
(
data
)
{
this
.
dialogFormVisible
=
true
this
.
dialogFormVisible
=
true
console
.
log
(
'data'
,
data
)
console
.
log
(
'data'
,
data
)
this
.
redingData
=
data
this
.
redingData
=
data
this
.
form
.
name
=
data
.
rdbzcz
this
.
form
.
name
=
data
.
rdbzcz
},
},
getRdbs
(
type
)
{
getRdbs
(
type
)
{
// 0-未认定 1-已认定
// 0-未认定 1-已认定
let
text
=
''
let
text
=
''
switch
(
type
)
{
switch
(
type
)
{
case
'0'
:
case
'0'
:
text
=
'未认定'
text
=
'未认定'
break
break
case
'1'
:
case
'1'
:
text
=
'已认定'
text
=
'已认定'
break
break
}
}
return
text
return
text
},
},
areyouSure
()
{
areyouSure
()
{
const
param
=
{
const
param
=
{
rybh
:
this
.
rybh
,
rybh
:
this
.
rybh
,
zjhm
:
this
.
redingData
.
cyzjZjhm
,
zjhm
:
this
.
redingData
.
cyzjZjhm
,
bdzt
:
'1'
,
bdzt
:
'1'
,
bz
:
this
.
form
.
name
bz
:
this
.
form
.
name
}
}
post
(
`
${
url
.
alyIP
}${
this
.
rdUrl
}
`
,
param
).
then
(
post
(
`
${
url
.
alyIP
}${
this
.
rdUrl
}
`
,
param
).
then
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
dialogFormVisible
=
false
this
.
dialogFormVisible
=
false
...
@@ -146,15 +287,44 @@
...
@@ -146,15 +287,44 @@
this
.
getDcsfxx
()
this
.
getDcsfxx
()
}
}
});
});
}
},
created
()
{
},
mounted
()
{
this
.
getDcsfxx
()
}
}
};
},
created
()
{
},
mounted
()
{
this
.
getDcsfxx
()
}
};
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.hbyp
{
width
:
64px
;
height
:
24px
;
background
:
#ffffff
;
border
:
1px
solid
#007aff
;
opacity
:
1
;
border-radius
:
4px
;
text-align
:
center
;
align-items
:
center
;
display
:
inline-block
;
font-size
:
12px
!important
;
font-weight
:
400
!important
;
color
:
#007aff
!important
;
cursor
:
pointer
;
margin-right
:
10px
;
margin-top
:
8px
;
}
.dialogBd
{
/deep/.el-dialog
{
max-height
:
620px
;
overflow
:
hidden
;
border-radius
:
8px
;
}
/
deep
/
.el-dialog__body
{
height
:
440px
;
overflow-y
:
auto
;
padding
:
10px
20px
0
20px
!important
;
}
}
</
style
>
</
style
>
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