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
79af974b
Commit
79af974b
authored
Oct 31, 2023
by
gao_yingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手机档案车辆档案
parent
0e656ff4
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1220 additions
and
254 deletions
+1220
-254
src/assets/img/asjxx_ychy.e14dc40.png
+0
-0
src/components/qxda_compontents.vue
+46
-4
src/router/index.js
+1
-0
src/utils/encrypt.js
+71
-0
src/views/ryda/carDa/carDadj.vue
+26
-3
src/views/ryda/carDa/car_compontents.vue
+10
-3
src/views/ryda/carda.vue
+171
-221
src/views/ryda/ryGl.vue
+51
-0
src/views/ryda/sjda.vue
+844
-23
No files found.
src/assets/img/asjxx_ychy.e14dc40.png
0 → 100644
View file @
79af974b
15 KB
src/components/qxda_compontents.vue
View file @
79af974b
...
...
@@ -11,6 +11,7 @@
cxType != 'thjl' &&
cxType != 'lsjsr' &&
cxType != 'sjlsjz' &&
cxType != 'sjlsjz' &&
cxType != 'sjLs'
"
style=
"
...
...
@@ -269,6 +270,7 @@ export default {
tableData
:
[],
key
:
1
,
phoneInfo
:
{},
tableDataTl
:
[],
};
},
created
()
{
...
...
@@ -394,10 +396,40 @@ export default {
this
.
page_size
=
val
;
this
.
doQuery
(
"yes"
);
},
getNeedArr
(
array
,
size
)
{
const
length
=
array
.
length
;
if
(
!
length
||
!
size
||
size
<
1
)
{
return
[];
}
let
index
=
0
;
//用来表示切割元素的范围start
let
resIndex
=
0
;
//用来递增表示输出数组的下标
//根据length和size算出输出数组的长度,并且创建它。
let
result
=
new
Array
(
Math
.
ceil
(
length
/
size
));
//进行循环
while
(
index
<
length
)
{
//循环过程中设置result[0]和result[1]的值。该值根据array.slice切割得到。
result
[
resIndex
++
]
=
array
.
slice
(
index
,
(
index
+=
size
));
}
//输出新数组
return
result
;
},
handleCurrentChange
(
val
)
{
let
self
=
this
;
debugger
;
this
.
currentPage1
=
val
;
this
.
doQuery
(
"yes"
);
if
(
self
.
cxType
==
"qgAsj"
)
{
self
.
tableData
=
self
.
getNeedArr
(
self
.
tableDataTl
,
self
.
pageSize
)[
self
.
currentPage1
-
1
];
}
else
if
(
self
.
cxType
==
"sjlsjz"
)
{
self
.
tableData
=
self
.
getNeedArr
(
self
.
tableDataTl
,
self
.
queryData
.
limit
)[
self
.
currentPage1
-
1
];
}
else
{
this
.
doQuery
(
"yes"
);
}
},
doQueryRequest
(
form
)
{
/*post方法*/
...
...
@@ -513,9 +545,19 @@ export default {
.
doQueryRequest
(
JSON
.
stringify
(
json
))
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
self
.
tableData
=
res
.
data
.
rows
?
res
.
data
.
rows
:
res
.
data
.
result
.
rows
;
if
(
res
.
success
===
true
)
{
self
.
tableDataTl
=
res
.
data
.
rows
?
res
.
data
.
rows
:
res
.
data
.
result
.
rows
;
self
.
tableData
=
self
.
getNeedArr
(
self
.
tableDataTl
,
self
.
queryData
.
limit
)[
self
.
currentPage1
-
1
];
}
else
{
self
.
tableData
=
res
.
data
.
rows
?
res
.
data
.
rows
:
res
.
data
.
result
.
rows
;
}
self
.
dataLength
=
parseInt
(
res
.
data
.
total
)
?
parseInt
(
res
.
data
.
total
)
:
parseInt
(
res
.
data
.
result
.
total
);
...
...
src/router/index.js
View file @
79af974b
...
...
@@ -51,6 +51,7 @@ router.afterEach((to) => {
if
(
to
.
path
!=
'/dwqsajIndex'
)
{
request
.
getYhxx
(
""
).
then
(
res
=>
{
if
(
res
.
success
===
true
)
{
sessionStorage
.
setItem
(
"userInfo"
,
JSON
.
stringify
(
res
.
data
.
rows
));
let
userInfo
=
res
.
data
.
rows
let
zjhm
=
userInfo
.
identitycard
.
replace
(
/^
(
.
{10})(?:\d
+
)(
.
{4})
$/
,
"$1****$2"
)
let
name
=
userInfo
.
trueName
.
substring
(
0
,
userInfo
.
trueName
.
length
-
1
)
...
...
src/utils/encrypt.js
0 → 100644
View file @
79af974b
const
CryptoJS
=
require
(
'crypto-js'
);
//引用AES源码js
// key iv 自己设置16即可,位置要对应上;
const
key
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"xzeq2021@zhyy#54"
);
//十六位十六进制数作为密钥
const
skKey
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"maplogin"
);
const
iv
=
CryptoJS
.
enc
.
Utf8
.
parse
(
'xzeq2021@zhyy#54'
);
//十六位十六进制数作为密钥偏移量
//解密方法
function
Decrypt
(
word
)
{
let
encryptedHexStr
=
CryptoJS
.
enc
.
Hex
.
parse
(
word
);
let
srcs
=
CryptoJS
.
enc
.
Base64
.
stringify
(
encryptedHexStr
);
let
decrypt
=
CryptoJS
.
AES
.
decrypt
(
srcs
,
key
,
{
iv
:
iv
,
mode
:
CryptoJS
.
mode
.
CBC
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
let
decryptedStr
=
decrypt
.
toString
(
CryptoJS
.
enc
.
Utf8
);
return
decryptedStr
.
toString
();
}
//加密方法
function
Encrypt
(
word
)
{
let
srcs
=
CryptoJS
.
enc
.
Utf8
.
parse
(
word
);
let
encrypted
=
CryptoJS
.
AES
.
encrypt
(
srcs
,
key
,
{
iv
:
iv
,
mode
:
CryptoJS
.
mode
.
CBC
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
return
encrypted
.
ciphertext
.
toString
().
toUpperCase
();
}
function
skEncrypt
(
word
,
keyStr
,
ivStr
)
{
let
key
=
''
;
let
iv
=
''
;
if
(
keyStr
)
{
key
=
CryptoJS
.
enc
.
Utf8
.
parse
(
keyStr
);
iv
=
CryptoJS
.
enc
.
Utf8
.
parse
(
ivStr
);
}
let
srcs
=
CryptoJS
.
enc
.
Utf8
.
parse
(
word
);
var
encrypted
=
CryptoJS
.
AES
.
encrypt
(
srcs
,
key
,
{
iv
:
iv
,
mode
:
CryptoJS
.
mode
.
CBC
,
padding
:
CryptoJS
.
pad
.
ZeroPadding
,
});
// console.log("参数", keyStr, ivStr);
return
CryptoJS
.
enc
.
Base64
.
stringify
(
encrypted
.
ciphertext
);
}
// 解密
function
skDecrypt
(
word
)
{
let
key
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"maplogin"
);
let
iv
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"map_vues"
);
let
encryptedHexStr
=
CryptoJS
.
enc
.
Hex
.
parse
(
word
);
let
srcs
=
CryptoJS
.
enc
.
Base64
.
stringify
(
encryptedHexStr
);
let
decrypt
=
CryptoJS
.
AES
.
decrypt
(
srcs
,
key
,
{
iv
:
iv
,
mode
:
CryptoJS
.
mode
.
CBC
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
let
decryptedStr
=
decrypt
.
toString
(
CryptoJS
.
enc
.
Utf8
);
return
decryptedStr
.
toString
();
}
function
creattimeBumderNYR
(
number
)
{
var
dateh
=
new
Date
(
number
);
let
month
=
(
dateh
.
getMonth
()
+
1
<
10
?
"0"
+
(
dateh
.
getMonth
()
+
1
)
:
dateh
.
getMonth
()
+
1
)
+
"-"
;
let
day
=
(
dateh
.
getDate
()
<
10
?
"0"
+
dateh
.
getDate
()
:
dateh
.
getDate
())
+
" "
;
var
year
=
dateh
.
getFullYear
()
+
"-"
;
var
houyizhou
=
year
+
month
+
day
;
return
houyizhou
;
}
export
default
{
Decrypt
,
Encrypt
,
skEncrypt
,
skDecrypt
,
creattimeBumderNYR
}
src/views/ryda/carDa/carDadj.vue
View file @
79af974b
...
...
@@ -49,14 +49,33 @@
</div>
<div
class=
"right"
>
<!-- 机动车基本信息 -->
<car-component
<
!--
<
car-component
:DefaultAjFormThead=
"jdcJbxxFormThead"
:propQueryData=
"jbcJbxxQueryData"
:cxUrl=
"jbcJbxxCxUrl"
:cxType=
"jbcjbxxCxType"
:jbcjbxxThear=
"jbcjbxxThear"
ref=
"rightContent"
></car-component>
></car-component>
-->
<div
style=
" font-size: 15px;
font-weight: 800;"
>
机动车基本信息 (
{{
djxxArr
.
length
}}
)
</div>
<el-table
id=
"ajzbQuery"
:data=
"djxxArr"
tooltip-effect=
"dark"
style=
"width: 100%"
size=
"small"
>
<el-table-column
align=
"center"
v-for=
"columnTitle in jdcJbxxFormThead"
:prop=
"columnTitle.prop"
:key=
"columnTitle.prop"
:label=
"columnTitle.label"
:width=
"columnTitle.width"
>
</el-table-column>
</el-table>
<!-- 违章 -->
<div
style=
"margin-top: 39px"
>
<table-component
...
...
@@ -84,7 +103,11 @@ export default {
carComponent
,
},
props
:
{
showDj
:
Boolean
,
showDj
:
Boolean
,
djxxArr
:
{
type
:
Array
,
default
:
()
=>
[]
}
},
data
()
{
return
{
...
...
src/views/ryda/carDa/car_compontents.vue
View file @
79af974b
...
...
@@ -116,7 +116,6 @@
<el-table-column
v-if=
"
zdygxPage == 'zdygx' ||
cxType == 'lsjsr' ||
zdygxPage == 'daypbg' ||
zdygxPage == 'wPdsw'
"
...
...
@@ -218,6 +217,7 @@ export default {
tableData
:
[],
key
:
1
,
phoneInfo
:
{},
tableDataTl
:
[],
};
},
created
()
{
...
...
@@ -342,8 +342,11 @@ export default {
this
.
doQuery
(
"yes"
);
},
handleCurrentChange
(
val
)
{
debugger
;
let
self
=
this
this
.
currentPage1
=
val
;
self
.
tableData
=
self
.
getNeedArr
(
self
.
tableDataTl
,
self
.
page_size
)[
self
.
currentPage1
-
1
];
this
.
doQuery
(
"yes"
);
},
doQueryRequest
(
form
)
{
...
...
@@ -461,9 +464,13 @@ export default {
.
doQueryRequest
(
JSON
.
stringify
(
json
))
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
self
.
tableData
=
res
.
data
.
rows
self
.
tableDataTl
=
res
.
data
.
rows
?
res
.
data
.
rows
:
res
.
data
.
result
.
rows
;
self
.
tableData
=
self
.
getNeedArr
(
self
.
tableDataTl
,
self
.
page_size
)[
self
.
currentPage1
-
1
];
self
.
dataLength
=
parseInt
(
res
.
data
.
total
)
?
parseInt
(
res
.
data
.
total
)
:
parseInt
(
res
.
data
.
result
.
total
);
...
...
src/views/ryda/carda.vue
View file @
79af974b
...
...
@@ -41,8 +41,32 @@
<el-row>
<el-col
:span=
"8"
v-for=
"(item, i) in formData"
:key=
"i"
>
<el-form-item
:label=
"item.name"
><span>
:
{{
item
.
value
}}
</span></el-form-item
>
><span>
:
{{
arr
[
item
.
prop
]
}}
</span>
<el-tooltip
v-if=
"item.prop == 'hphm'"
placement=
"right"
>
<div
slot=
"content"
>
<div
@
click=
"goRy(arr[item.prop], 'n')"
style=
"margin-bottom: 10px; cursor: pointer"
>
车辆脑图
</div>
<div
@
click=
"goRy(arr[item.prop], 's')"
style=
"cursor: pointer"
>
以车侦查
</div>
</div>
<img
style=
"cursor: pointer; width: 20px"
src=
"@/assets/img/asjxx_ychy.e14dc40.png"
alt=
""
/>
</el-tooltip>
</el-form-item>
</el-col>
</el-row>
</el-form>
...
...
@@ -106,7 +130,28 @@
<div
class=
"padding24"
>
<div>
<ul>
<ul
>
<li
class=
"bqTag"
style=
"
border-radius: 26px;
border-bottom-right-radius: 26px;
background: red;
"
>
异常轨迹
</li>
<li
class=
"bqTag"
style=
"
border-radius: 26px;
border-bottom-right-radius: 26px;
background: red;
"
>
异常伴随
</li>
<li
v-for=
"(item, index) in zdbqList"
:style=
"
{
...
...
@@ -552,7 +597,7 @@
:visible
.
sync=
"addLsjsrContent"
width=
"60%"
>
<div
style=
"position: absolute; left: 70px; top: 35px"
>
<
!--
<
div
style=
"position: absolute; left: 70px; top: 35px"
>
<el-upload
class=
"avatar-uploader"
action=
"/"
...
...
@@ -562,7 +607,7 @@
<img
v-if=
"imageUrl"
:src=
"imageUrl"
class=
"avatar"
/>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
</div>
</div>
-->
<div
v-loading=
"lsJsrLoading"
class=
"cltc"
...
...
@@ -645,8 +690,8 @@
</el-tab-pane>
<el-tab-pane
label=
"登记"
name=
"second"
>
<!-- 登记信息 -->
<
car-djxx
:showDj=
'showDj'
></car-djxx>
<
!--
<car-djxx
:showDj=
"showDj"
></car-djxx>
-->
<car-djxx
:djxxArr=
"djxxArr"
:showDj=
"showDj"
></car-djxx>
</el-tab-pane>
<el-tab-pane
label=
"车辆轨迹"
name=
"carGj"
>
<car-gjxx></car-gjxx>
...
...
@@ -673,6 +718,7 @@ import CarDaypbg from "./carDa/carDaypbg.vue";
import
CarGjasjxx
from
"./carDa/carDaAsj.vue"
;
import
requests
from
"@/api/interface/dictionaryCode.js"
;
import
errorVue
from
"../index/error.vue"
;
import
encrypt
from
"@/utils/encrypt"
;
export
default
{
components
:
{
tableComponent
,
...
...
@@ -686,6 +732,7 @@ export default {
name
:
"carda"
,
data
()
{
return
{
arr
:{},
showDj
:
false
,
valueCxgl
:
""
,
activeName
:
"first"
,
...
...
@@ -860,92 +907,36 @@ export default {
carLsFormThead
:
[
{
label
:
"姓名"
,
width
:
"150"
,
prop
:
"xm"
,
},
{
label
:
"证件号码"
,
width
:
"220"
,
prop
:
"zjhm"
,
},
{
label
:
"民族"
,
width
:
"100"
,
prop
:
"mzdm"
,
label
:
"性别"
,
prop
:
"xbdmStr"
,
},
{
label
:
"户籍地址"
,
width
:
"200"
,
prop
:
"hjdzXzqhdm"
,
},
{
label
:
"现住址"
,
width
:
"200"
,
prop
:
"xzzDzmc"
,
label
:
"民族"
,
prop
:
"mzdmStr"
,
},
{
label
:
"出生地"
,
width
:
"200"
,
prop
:
"csdDzmc"
,
label
:
"户籍地址"
,
prop
:
"hjdqhdmStr"
,
},
{
label
:
"出生日期"
,
width
:
"200"
,
prop
:
"csrq"
,
},
{
label
:
"年龄"
,
width
:
"200"
,
prop
:
"nl"
,
},
{
label
:
"婚姻状况"
,
width
:
"100"
,
prop
:
"hyzk"
,
},
{
label
:
"兵役状况"
,
width
:
"100"
,
prop
:
"byzk"
,
},
{
label
:
"文化程度"
,
width
:
"200"
,
prop
:
"whcd"
,
},
{
label
:
"身高"
,
width
:
"150"
,
prop
:
"sg"
,
},
{
label
:
"职业"
,
width
:
"200"
,
prop
:
"zy"
,
},
{
label
:
"人员性质"
,
width
:
"200"
,
prop
:
"ryxz"
,
},
{
label
:
"曾用名"
,
width
:
"200"
,
prop
:
"cym"
,
},
{
label
:
"车牌号"
,
width
:
"200"
,
prop
:
"hphm"
,
},
],
carLsQueryData
:
{
hphm
:
this
.
$route
.
query
[
"cphm"
],
jdczt
:
"注销"
,
page
:
1
,
limit
:
2
,
//
jdczt: "注销",
//
page: 1,
//
limit: 2,
},
carLsCxUrl
:
"/cldaApi/get
TbStQgjbryxx
"
,
carLsCxUrl
:
"/cldaApi/get
ClLsJsr
"
,
carLsCxType
:
"lsjsr"
,
carwzFormThead
:
[
{
...
...
@@ -1276,25 +1267,11 @@ export default {
zjhm
:
""
,
xbdm
:
""
,
mzdm
:
""
,
hjdzXzqhdm
:
""
,
xzzDzmc
:
""
,
csdDzmc
:
""
,
edzzplj
:
""
,
hjdqhdm
:
""
,
csrq
:
""
,
nl
:
""
,
hyzk
:
""
,
byzk
:
""
,
whcd
:
""
,
sg
:
""
,
zy
:
""
,
ryxz
:
""
,
cym
:
""
,
},
propQueryFieldLsjsr
:
[
{
col
:
"2"
,
},
{
name
:
"姓名:"
,
id
:
"xm"
,
type
:
"text"
,
...
...
@@ -1310,9 +1287,9 @@ export default {
value
:
""
,
col
:
"2"
,
},
{
col
:
"2"
,
},
//
{
//
col: "2",
//
},
{
name
:
"性别:"
,
id
:
"xbdm"
,
...
...
@@ -1333,12 +1310,12 @@ export default {
value
:
""
,
col
:
"2"
,
},
{
col
:
"2"
,
},
//
{
//
col: "2",
//
},
{
name
:
"户籍地址:"
,
id
:
"hjd
zXz
qhdm"
,
id
:
"hjdqhdm"
,
type
:
"code"
,
//字典弹框
props
:
[],
//字典弹框需要的字段
codeOptions
:
[],
...
...
@@ -1346,117 +1323,32 @@ export default {
value
:
""
,
col
:
"2"
,
},
{
name
:
"现住址:"
,
id
:
"xzzDzmc"
,
type
:
"text"
,
placeholder
:
"请输入"
,
value
:
""
,
col
:
"2"
,
},
{
name
:
"出生地:"
,
id
:
"csdDzmc"
,
type
:
"text"
,
placeholder
:
"请输入"
,
value
:
""
,
col
:
"2"
,
},
{
name
:
"出生日期:"
,
id
:
"csrq"
,
placeholder
:
"请输入"
,
type
:
"datetime"
,
value
:
""
,
col
:
"2"
,
},
{
name
:
"年龄:"
,
id
:
"nl"
,
type
:
"text"
,
placeholder
:
"请输入"
,
value
:
""
,
col
:
"2"
,
},
{
name
:
"婚姻状况:"
,
id
:
"hyzk"
,
type
:
"code"
,
//字典弹框
props
:
[],
//字典弹框需要的字段
codeOptions
:
[],
codeTree
:
"CODE_HYZK"
,
value
:
""
,
col
:
"2"
,
},
{
name
:
"兵役状况:"
,
id
:
"byzk"
,
type
:
"code"
,
//字典弹框
props
:
[],
//字典弹框需要的字段
codeOptions
:
[],
codeTree
:
"CODE_BYQK"
,
value
:
""
,
col
:
"2"
,
},
{
name
:
"文化程度:"
,
id
:
"whcd"
,
type
:
"code"
,
//字典弹框
props
:
[],
//字典弹框需要的字段
codeOptions
:
[],
codeTree
:
"CODE_WHCD"
,
value
:
""
,
col
:
"2"
,
},
{
name
:
"身高:"
,
id
:
"sg"
,
type
:
"text"
,
placeholder
:
"请输入"
,
value
:
""
,
col
:
"2"
,
},
{
name
:
"职业:"
,
id
:
"zy"
,
type
:
"text"
,
placeholder
:
"请输入"
,
value
:
""
,
col
:
"2"
,
},
{
name
:
"人员性质:"
,
id
:
"ryxz"
,
type
:
"text"
,
placeholder
:
"请输入"
,
value
:
""
,
col
:
"2"
,
},
{
name
:
"曾用名:"
,
id
:
"cym"
,
type
:
"text"
,
placeholder
:
"请输入"
,
value
:
""
,
col
:
"2"
,
},
// {
// name: "
车牌号
:",
// id: "
hphm
",
// name: "
现住址
:",
// id: "
xzzDzmc
",
// type: "text",
// placeholder: "请输入",
// value: "",
// col: "2",
// },
// {
// name: "
身份证号
:",
// id: "
sfzh
",
// name: "
出生地
:",
// id: "
csdDzmc
",
// type: "text",
// placeholder: "请输入",
// value: "",
// col: "2",
// },
{
name
:
"出生日期:"
,
id
:
"csrq"
,
placeholder
:
"请输入"
,
type
:
"datetime"
,
value
:
""
,
col
:
"2"
,
},
],
djxxArr
:
[],
imageUrl
:
""
,
imageUrlLsjsr
:
""
,
xxzjbhLsclr
:
""
,
...
...
@@ -1473,9 +1365,56 @@ export default {
this
.
getClJbxx
();
// 车辆基本信息查询
this
.
postGetTbStCldaClbqLisr
();
// 标签基本信息查询
this
.
postGetClcxsjglLsit
();
// 出行时间规律查询
//
this.getZdm(); // 字典码
this
.
getZdm
();
// 字典码
},
methods
:
{
goRy
(
cphm
,
key
)
{
debugger
;
if
(
key
==
"n"
)
{
var
userInfo
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"userInfo"
));
var
idcard
=
userInfo
.
identitycard
;
var
params
=
{
type
:
"KyJdc"
,
kybh
:
cphm
,
userId
:
idcard
,
username
:
userInfo
.
username
,
trueName
:
userInfo
.
trueName
,
identitycard
:
userInfo
.
identitycard
,
unitcode
:
userInfo
.
unitcode
,
unitname
:
userInfo
.
unitname
,
};
this
.
toDetail
(
"http://74.6.54.173:8005/naotu/naotuBox"
,
params
);
}
else
{
let
key
=
"maplogin"
+
encrypt
.
creattimeBumderNYR
(
new
Date
()).
split
(
"-"
).
join
(
""
);
let
vi
=
"map_vues"
+
encrypt
.
creattimeBumderNYR
(
new
Date
()).
split
(
"-"
).
join
(
""
);
let
skjm
=
encrypt
.
skEncrypt
(
JSON
.
parse
(
sessionStorage
.
getItem
(
"userInfo"
)).
identitycard
,
key
.
trim
(),
vi
.
trim
()
);
let
path
=
`http://74.6.54.165:9005/#/loginZZ?idcard=
${
skjm
}
&toType=yczc&objectValue=
${
cphm
}
&menuTop=yczc`
;
window
.
open
(
path
,
"_blank"
);
}
},
toDetail
(
url
,
PARAMS
)
{
var
temp_form
=
document
.
createElement
(
"form"
);
temp_form
.
action
=
url
;
temp_form
.
target
=
"_blank"
;
temp_form
.
method
=
"post"
;
temp_form
.
style
.
display
=
"none"
;
for
(
var
x
in
PARAMS
)
{
var
opt
=
document
.
createElement
(
"textarea"
);
opt
.
name
=
x
;
opt
.
value
=
PARAMS
[
x
];
temp_form
.
appendChild
(
opt
);
}
document
.
body
.
appendChild
(
temp_form
);
temp_form
.
submit
();
},
// 字典码
getZdm
()
{
var
self
=
this
;
...
...
@@ -1557,7 +1496,7 @@ export default {
// 历史驾驶人 *新增保存接口*
postInsertTbStQgjbryxx
(
form
)
{
return
request
({
url
:
url
.
rzURL
+
"/cldaApi/
insertTbStQgjbryxx
"
,
url
:
url
.
rzURL
+
"/cldaApi/
addClLsJsr
"
,
data
:
JSON
.
parse
(
form
),
method
:
"POST"
,
});
...
...
@@ -1595,15 +1534,20 @@ export default {
self
.
postCarJbxx
(
JSON
.
stringify
(
json
)).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
// debugger;
self
.
formData
.
forEach
((
item
)
=>
{
item
.
value
=
res
.
data
.
result
.
rows
[
item
.
prop
];
});
// self.formData.forEach((item) => {
// item.value = res.data.result.rows[item.prop];
// });
// for (let i in self.formDataCl) {
// self.formDataCl[i] = res.data.result.rows[i];
// }
self
.
djxxArr
=
res
.
data
.
result
.
rows
||
[];
self
.
arr
=
res
.
data
.
result
.
rows
[
0
]
||
{};
for
(
let
i
in
self
.
formDataCl
)
{
self
.
formDataCl
[
i
]
=
res
.
data
.
result
.
rows
[
i
];
self
.
formDataCl
[
i
]
=
res
.
data
.
result
.
rows
[
0
][
i
];
}
// debugger;
this
.
getTbStQgjbryxxList
();
// 登记车主信息查询
self
.
showDj
=
true
self
.
showDj
=
true
;
}
else
{
self
.
$message
({
type
:
"error"
,
...
...
@@ -1674,8 +1618,8 @@ export default {
// self.carOnwer.forEach((item) => {
// item.value = res.data.result.rows[0][item.prop];
// });
debugger
this
.
$refs
.
carLsjsr
.
doQuery
(
'yes'
)
debugger
;
this
.
$refs
.
carLsjsr
.
doQuery
(
"yes"
);
self
.
carOnwerUserxx
=
res
.
data
.
result
.
rows
[
0
];
var
img
=
document
.
getElementById
(
"zp"
);
debugger
;
...
...
@@ -1874,29 +1818,35 @@ export default {
let
self
=
this
;
this
.
lsJsrLoading
=
true
;
let
json
=
{};
let
base
=
`data:image/
${
self
.
proofImageBaseHZ
}
;base64,
${
self
.
proofImage
}
`
;
//
let base = `data:image/${self.proofImageBaseHZ};base64,${self.proofImage}`;
for
(
let
i
in
self
.
formDataLsjsr
)
{
json
[
i
]
=
self
.
formDataLsjsr
[
i
];
}
json
[
"edzzplj"
]
=
base
?
base
:
""
;
json
[
"hphm"
]
=
sessionStorage
.
getItem
(
"cphm"
);
self
.
postInsertTbStQgjbryxx
(
JSON
.
stringify
(
json
)).
then
((
res
)
=>
{
if
(
res
.
success
==
true
)
{
self
.
$message
({
type
:
"success"
,
message
:
"保存成功"
,
});
self
.
lsJsrLoading
=
false
;
this
.
addLsjsrContent
=
false
;
location
.
reload
();
}
else
{
// json["edzzplj"] = base ? base : "";
json
[
"cphm"
]
=
this
.
$route
.
query
[
"cphm"
];
self
.
postInsertTbStQgjbryxx
(
JSON
.
stringify
(
json
))
.
then
((
res
)
=>
{
if
(
res
.
success
==
true
)
{
self
.
$message
({
type
:
"success"
,
message
:
"保存成功"
,
});
self
.
lsJsrLoading
=
false
;
this
.
addLsjsrContent
=
false
;
this
.
$refs
.
carLsjsr
.
doQuery
(
"yes"
);
location
.
reload
();
}
else
{
this
.
lsJsrLoading
=
false
;
self
.
$message
({
type
:
"error"
,
message
:
"保存失败"
,
});
}
})
.
catch
(()
=>
{
this
.
lsJsrLoading
=
false
;
self
.
$message
({
type
:
"error"
,
message
:
"保存失败"
,
});
}
});
});
},
// 历史驾驶人修改保存
postUpdateTbStQgjbryxxList
()
{
...
...
src/views/ryda/ryGl.vue
View file @
79af974b
...
...
@@ -44,6 +44,27 @@
><img
src=
"@/assets/img/ryda/card.svg"
class=
"card"
/><span
class=
"cardValue"
>
{{
ryjbxx
.
sfzh
}}
<el-tooltip
placement=
"right"
>
<div
slot=
"content"
>
<div
@
click=
"goRy(ryjbxx.sfzh, 'n')"
style=
"margin-bottom: 10px; cursor: pointer"
>
人员脑图
</div>
<div
@
click=
"goRy(ryjbxx.sfzh, 's')"
style=
"cursor: pointer"
>
以人侦查
</div>
</div>
<img
style=
"cursor: pointer; width: 20px"
src=
"@/assets/img/asjxx_ychy.e14dc40.png"
alt=
""
/>
</el-tooltip>
</span>
<span
class=
"wz"
>
{{
ryjbxx
.
xbStr
}}
</span>
<span
class=
"wz"
>
{{
ryjbxx
.
age
}}
</span>
...
...
@@ -264,6 +285,36 @@
<div
class=
"padding24"
>
<div>
<ul>
<li
class=
"bqTag"
style=
"
border-radius: 26px;
border-bottom-right-radius: 26px;
background: red;
"
>
异常活动
</li>
<li
class=
"bqTag"
style=
"
border-radius: 26px;
border-bottom-right-radius: 26px;
background: red;
"
>
异常关系
</li>
<li
class=
"bqTag"
style=
"
border-radius: 26px;
border-bottom-right-radius: 26px;
background: red;
"
>
嫌疑度中
</li>
<li
v-for=
"(item, index) in bqList"
:key=
"index"
class=
"bqTag"
>
{{ item.label }}
</li>
...
...
src/views/ryda/sjda.vue
View file @
79af974b
...
...
@@ -5,8 +5,8 @@
<span>
手机档案详情
</span>
</div>
</div>
<
!--
<
el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"手机概括"
name=
"sjgk"
>
-->
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"手机概括"
name=
"sjgk"
>
<div
id=
"sjda"
class=
"sjda"
>
<div
class=
"sjda_top"
>
<div
class=
"sjda_top_left"
>
...
...
@@ -48,6 +48,26 @@
<div
class=
"padding24"
>
<div>
<ul>
<li
class=
"bqTag"
style=
"
border-radius: 26px;
border-bottom-right-radius: 26px;
background: red;
"
>
异常轨迹
</li>
<li
class=
"bqTag"
style=
"
border-radius: 26px;
border-bottom-right-radius: 26px;
background: red;
"
>
异常伴随
</li>
<li
v-for=
"(item, index) in zdbqList"
:key=
"index"
...
...
@@ -108,7 +128,30 @@
<span
class=
"title"
v-if=
"item.label"
>
{{
item
.
label
}}
:
</span
>
<span
class=
"value"
>
{{
item
.
value
}}
</span>
<span
class=
"value"
:title=
"item.value"
>
{{
item
.
value
}}
<el-tooltip
v-if=
"item.prop == 'jzhm'"
placement=
"right"
>
<div
slot=
"content"
>
<div
@
click=
"goRy('n')"
style=
"margin-bottom: 10px; cursor: pointer"
>
手机脑图
</div>
<div
@
click=
"goRy('s')"
style=
"cursor: pointer"
>
以人侦查
</div>
</div>
<img
style=
"cursor: pointer; width: 20px"
src=
"@/assets/img/asjxx_ychy.e14dc40.png"
alt=
""
/>
</el-tooltip>
</span>
</div>
</el-col>
</el-row>
...
...
@@ -116,14 +159,27 @@
</div>
<div
class=
"sjda_two_right"
>
<div
class=
"sjda_two_right_title"
>
<img
src=
"@/assets/img/dangan/962.png"
alt=
""
style=
"vertical-align: middle; padding-right: 5px"
/>
<span>
<img
src=
"@/assets/img/dangan/962.png"
alt=
""
style=
"vertical-align: middle; padding-right: 5px"
/>
<span
style=
"
color: #21272a;
font-size: 15px;
vertical-align: middle;
display: inline-block;
width: 95%;
"
>
历史机主信息
</span
>
</span>
<span
style=
"color: #21272a; font-size: 15px; vertical-align: middle"
>
历史机主信息
</span
@
click=
"add"
>
新增
</span
>
<el-divider></el-divider>
</div>
...
...
@@ -133,6 +189,8 @@
:propQueryData=
"sjLsQueryData"
:cxUrl=
"sjLsCxUrl"
:cxType=
"sjLsCxType"
:page_size=
"page_size"
ref=
"sjzc"
></table-component>
</div>
</div>
...
...
@@ -356,11 +414,53 @@
</div>
</div>
</div>
<
!--
<
/el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"手机研判报告"
name=
"sjDaypbg"
>
<sjda-ypbg></sjda-ypbg>
</el-tab-pane>
</el-tabs>
-->
</el-tabs>
<el-dialog
title=
"新增历史机主信息"
:visible
.
sync=
"centerDialogVisible"
width=
"25%"
>
<div
style=
"margin: 20px; z-index: 2006"
>
<el-form
:rules=
"rules"
ref=
"ruleForm"
:model=
"formData"
>
<el-form-item
:label=
"item.name"
v-for=
"item in propQueryField"
:key=
"item.id"
:prop=
"item.id"
:class=
"'demo-input-suffix zdycol' + item.col"
>
<el-input
clearable
:placeholder=
"item.placeholder"
v-model=
"formData[item.id]"
v-if=
"item.type == 'text'"
>
</el-input>
<!--字典框-->
<div
class=
"zdyInputW"
v-else-if=
"item.type == 'code'"
>
<el-select
v-model=
"formData[item.id]"
>
<el-option
v-for=
"(itemX, indexX) in item.codeOptions"
:key=
"indexX"
:label=
"itemX.label"
:value=
"itemX.id"
></el-option>
</el-select>
</div>
</el-form-item>
<el-form-item>
<el-button
@
click=
"centerDialogVisible = false"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit('ruleForm')"
>
确定
</el-button
>
</el-form-item>
</el-form>
</div>
</el-dialog>
</div>
</
template
>
...
...
@@ -369,12 +469,13 @@ import request from "@/utils/axiosHttp.js";
import
url
from
"@/api/base"
;
import
tableComponent
from
"@c/qxda_compontents.vue"
;
import
poi
from
"@/assets/img/ryda/index.png"
;
//
import SjdaYpbg from "./carDa/sjdaYpbg.vue";
import
SjdaYpbg
from
"./carDa/sjdaYpbg.vue"
;
import
iphone
from
"@/assets/img/dangan/534.png"
;
import
encrypt
from
"@/utils/encrypt"
;
export
default
{
components
:
{
tableComponent
,
//
SjdaYpbg,
SjdaYpbg
,
},
name
:
"sjda"
,
data
()
{
...
...
@@ -389,6 +490,11 @@ export default {
value
:
""
,
prop
:
"jzxm"
,
},
{
label
:
"机主号码"
,
value
:
""
,
prop
:
"jzhm"
,
},
{
label
:
"证件号码"
,
value
:
""
,
...
...
@@ -442,6 +548,7 @@ export default {
page
:
1
,
limit
:
3
,
},
page_size
:
2
,
mySjCxUrl
:
"/sjdaApi/getSjhJbxx"
,
mySjCxType
:
"sjlsjz"
,
sjLsFormThead
:
[
...
...
@@ -685,6 +792,600 @@ export default {
},
tableLoadingT
:
false
,
dateTimeShowTh
:
false
,
formData
:
{
xm
:
""
,
zjhm
:
""
,
xbdm
:
""
,
mzdm
:
""
,
},
propQueryField
:
[
{
name
:
"姓名:"
,
id
:
"xm"
,
type
:
"text"
,
placeholder
:
"请输入"
,
value
:
""
,
col
:
"1"
,
},
{
name
:
"身份证号:"
,
id
:
"zjhm"
,
type
:
"text"
,
placeholder
:
"请输入"
,
value
:
""
,
col
:
"1"
,
},
{
name
:
"性别:"
,
id
:
"xbdm"
,
type
:
"code"
,
//字典弹框
props
:
[],
//字典弹框需要的字段
codeOptions
:
[
{
label
:
"未知的性别"
,
id
:
"0"
,
},
{
label
:
"男"
,
id
:
"1"
,
},
{
label
:
"女"
,
id
:
"2"
,
},
{
label
:
"未说明的性别"
,
id
:
"9"
,
},
],
codeTree
:
"CODE_XB"
,
value
:
""
,
col
:
"1"
,
},
{
name
:
"民族:"
,
id
:
"mzdm"
,
type
:
"code"
,
//字典弹框
props
:
[],
//字典弹框需要的字段
codeOptions
:
[
{
ids
:
"9544"
,
label
:
"汉族"
,
codeType
:
"CODE_MZ"
,
text
:
"汉族"
,
id
:
"01"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9545"
,
label
:
"蒙古族"
,
codeType
:
"CODE_MZ"
,
text
:
"蒙古族"
,
id
:
"02"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9546"
,
label
:
"回族"
,
codeType
:
"CODE_MZ"
,
text
:
"回族"
,
id
:
"03"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9547"
,
label
:
"藏族"
,
codeType
:
"CODE_MZ"
,
text
:
"藏族"
,
id
:
"04"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9548"
,
label
:
"维吾尔族"
,
codeType
:
"CODE_MZ"
,
text
:
"维吾尔族"
,
id
:
"05"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9549"
,
label
:
"苗族"
,
codeType
:
"CODE_MZ"
,
text
:
"苗族"
,
id
:
"06"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9550"
,
label
:
"彝族"
,
codeType
:
"CODE_MZ"
,
text
:
"彝族"
,
id
:
"07"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9551"
,
label
:
"壮族"
,
codeType
:
"CODE_MZ"
,
text
:
"壮族"
,
id
:
"08"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9552"
,
label
:
"布依族"
,
codeType
:
"CODE_MZ"
,
text
:
"布依族"
,
id
:
"09"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9553"
,
label
:
"朝鲜族"
,
codeType
:
"CODE_MZ"
,
text
:
"朝鲜族"
,
id
:
"10"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9554"
,
label
:
"满族"
,
codeType
:
"CODE_MZ"
,
text
:
"满族"
,
id
:
"11"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9555"
,
label
:
"侗族"
,
codeType
:
"CODE_MZ"
,
text
:
"侗族"
,
id
:
"12"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9556"
,
label
:
"瑶族"
,
codeType
:
"CODE_MZ"
,
text
:
"瑶族"
,
id
:
"13"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9557"
,
label
:
"白族"
,
codeType
:
"CODE_MZ"
,
text
:
"白族"
,
id
:
"14"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9558"
,
label
:
"土家族"
,
codeType
:
"CODE_MZ"
,
text
:
"土家族"
,
id
:
"15"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9559"
,
label
:
"哈尼族"
,
codeType
:
"CODE_MZ"
,
text
:
"哈尼族"
,
id
:
"16"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9560"
,
label
:
"哈萨克族"
,
codeType
:
"CODE_MZ"
,
text
:
"哈萨克族"
,
id
:
"17"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9570"
,
label
:
"傣族"
,
codeType
:
"CODE_MZ"
,
text
:
"傣族"
,
id
:
"18"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9571"
,
label
:
"黎族"
,
codeType
:
"CODE_MZ"
,
text
:
"黎族"
,
id
:
"19"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9572"
,
label
:
"傈僳族"
,
codeType
:
"CODE_MZ"
,
text
:
"傈僳族"
,
id
:
"20"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9573"
,
label
:
"佤族"
,
codeType
:
"CODE_MZ"
,
text
:
"佤族"
,
id
:
"21"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9574"
,
label
:
"畲族"
,
codeType
:
"CODE_MZ"
,
text
:
"畲族"
,
id
:
"22"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9575"
,
label
:
"高山族"
,
codeType
:
"CODE_MZ"
,
text
:
"高山族"
,
id
:
"23"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9576"
,
label
:
"拉祜族"
,
codeType
:
"CODE_MZ"
,
text
:
"拉祜族"
,
id
:
"24"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9577"
,
label
:
"水族"
,
codeType
:
"CODE_MZ"
,
text
:
"水族"
,
id
:
"25"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9578"
,
label
:
"东乡族"
,
codeType
:
"CODE_MZ"
,
text
:
"东乡族"
,
id
:
"26"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9579"
,
label
:
"纳西族"
,
codeType
:
"CODE_MZ"
,
text
:
"纳西族"
,
id
:
"27"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9580"
,
label
:
"景颇族"
,
codeType
:
"CODE_MZ"
,
text
:
"景颇族"
,
id
:
"28"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9581"
,
label
:
"柯尔克孜族"
,
codeType
:
"CODE_MZ"
,
text
:
"柯尔克孜族"
,
id
:
"29"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9582"
,
label
:
"土族"
,
codeType
:
"CODE_MZ"
,
text
:
"土族"
,
id
:
"30"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9583"
,
label
:
"达斡尔族"
,
codeType
:
"CODE_MZ"
,
text
:
"达斡尔族"
,
id
:
"31"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9584"
,
label
:
"仫佬族"
,
codeType
:
"CODE_MZ"
,
text
:
"仫佬族"
,
id
:
"32"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9585"
,
label
:
"羌族"
,
codeType
:
"CODE_MZ"
,
text
:
"羌族"
,
id
:
"33"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9586"
,
label
:
"布朗族"
,
codeType
:
"CODE_MZ"
,
text
:
"布朗族"
,
id
:
"34"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9587"
,
label
:
"撒拉族"
,
codeType
:
"CODE_MZ"
,
text
:
"撒拉族"
,
id
:
"35"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9588"
,
label
:
"毛南族"
,
codeType
:
"CODE_MZ"
,
text
:
"毛南族"
,
id
:
"36"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9589"
,
label
:
"仡佬族"
,
codeType
:
"CODE_MZ"
,
text
:
"仡佬族"
,
id
:
"37"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9590"
,
label
:
"锡伯族"
,
codeType
:
"CODE_MZ"
,
text
:
"锡伯族"
,
id
:
"38"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9591"
,
label
:
"阿昌族"
,
codeType
:
"CODE_MZ"
,
text
:
"阿昌族"
,
id
:
"39"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9592"
,
label
:
"普米族"
,
codeType
:
"CODE_MZ"
,
text
:
"普米族"
,
id
:
"40"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9593"
,
label
:
"塔吉克族"
,
codeType
:
"CODE_MZ"
,
text
:
"塔吉克族"
,
id
:
"41"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9594"
,
label
:
"怒族"
,
codeType
:
"CODE_MZ"
,
text
:
"怒族"
,
id
:
"42"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9595"
,
label
:
"乌孜别克族"
,
codeType
:
"CODE_MZ"
,
text
:
"乌孜别克族"
,
id
:
"43"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9596"
,
label
:
"俄罗斯族"
,
codeType
:
"CODE_MZ"
,
text
:
"俄罗斯族"
,
id
:
"44"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9597"
,
label
:
"鄂温克族"
,
codeType
:
"CODE_MZ"
,
text
:
"鄂温克族"
,
id
:
"45"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9598"
,
label
:
"德昂族"
,
codeType
:
"CODE_MZ"
,
text
:
"德昂族"
,
id
:
"46"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9599"
,
label
:
"保安族"
,
codeType
:
"CODE_MZ"
,
text
:
"保安族"
,
id
:
"47"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9600"
,
label
:
"裕固族"
,
codeType
:
"CODE_MZ"
,
text
:
"裕固族"
,
id
:
"48"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9601"
,
label
:
"京族"
,
codeType
:
"CODE_MZ"
,
text
:
"京族"
,
id
:
"49"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9602"
,
label
:
"塔塔尔族"
,
codeType
:
"CODE_MZ"
,
text
:
"塔塔尔族"
,
id
:
"50"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9561"
,
label
:
"独龙族"
,
codeType
:
"CODE_MZ"
,
text
:
"独龙族"
,
id
:
"51"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9562"
,
label
:
"鄂伦春族"
,
codeType
:
"CODE_MZ"
,
text
:
"鄂伦春族"
,
id
:
"52"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9563"
,
label
:
"赫哲族"
,
codeType
:
"CODE_MZ"
,
text
:
"赫哲族"
,
id
:
"53"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9564"
,
label
:
"门巴族"
,
codeType
:
"CODE_MZ"
,
text
:
"门巴族"
,
id
:
"54"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9565"
,
label
:
"珞巴族"
,
codeType
:
"CODE_MZ"
,
text
:
"珞巴族"
,
id
:
"55"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9566"
,
label
:
"基诺族"
,
codeType
:
"CODE_MZ"
,
text
:
"基诺族"
,
id
:
"56"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9567"
,
label
:
"穿青人族"
,
codeType
:
"CODE_MZ"
,
text
:
"穿青人族"
,
id
:
"81"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9568"
,
label
:
"其他"
,
codeType
:
"CODE_MZ"
,
text
:
"其他"
,
id
:
"97"
,
isParent
:
false
,
children
:
[],
},
{
ids
:
"9569"
,
label
:
"外国血统中国籍人士"
,
codeType
:
"CODE_MZ"
,
text
:
"外国血统中国籍人士"
,
id
:
"98"
,
isParent
:
false
,
children
:
[],
},
],
codeTree
:
"CODE_MZ"
,
value
:
""
,
col
:
"1"
,
},
],
centerDialogVisible
:
false
,
};
},
mounted
()
{
...
...
@@ -702,6 +1403,105 @@ export default {
this
.
getPhoneLastStation
();
//****
},
methods
:
{
goRy
(
key
)
{
if
(
key
==
"n"
)
{
var
userInfo
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"userInfo"
));
var
idcard
=
userInfo
.
identitycard
;
var
params
=
{
type
:
"KySj"
,
kybh
:
this
.
$route
.
query
.
cphm
,
userId
:
idcard
,
username
:
userInfo
.
username
,
trueName
:
userInfo
.
trueName
,
identitycard
:
userInfo
.
identitycard
,
unitcode
:
userInfo
.
unitcode
,
unitname
:
userInfo
.
unitname
,
};
this
.
toDetail
(
"http://74.6.54.173:8005/naotu/naotuBox"
,
params
);
}
else
{
let
key
=
"maplogin"
+
encrypt
.
creattimeBumderNYR
(
new
Date
()).
split
(
"-"
).
join
(
""
);
let
vi
=
"map_vues"
+
encrypt
.
creattimeBumderNYR
(
new
Date
()).
split
(
"-"
).
join
(
""
);
let
skjm
=
encrypt
.
skEncrypt
(
JSON
.
parse
(
sessionStorage
.
getItem
(
"userInfo"
)).
identitycard
,
key
.
trim
(),
vi
.
trim
()
);
let
path
=
`http://74.6.54.165:9005/#/loginZZ?idcard=
${
skjm
}
&toType=yrzc&objectValue=
${
this
.
$route
.
query
.
cphm
}
&objectType=sjh&menuTop=yrzc`
;
window
.
open
(
path
,
"_blank"
);
}
},
toDetail
(
url
,
PARAMS
)
{
var
temp_form
=
document
.
createElement
(
"form"
);
temp_form
.
action
=
url
;
temp_form
.
target
=
"_blank"
;
temp_form
.
method
=
"post"
;
temp_form
.
style
.
display
=
"none"
;
for
(
var
x
in
PARAMS
)
{
var
opt
=
document
.
createElement
(
"textarea"
);
opt
.
name
=
x
;
opt
.
value
=
PARAMS
[
x
];
temp_form
.
appendChild
(
opt
);
}
document
.
body
.
appendChild
(
temp_form
);
temp_form
.
submit
();
},
add
()
{
for
(
let
i
in
this
.
formData
)
{
this
.
formData
[
i
]
=
""
;
}
this
.
centerDialogVisible
=
true
;
},
addSubmit
()
{
// debugger;
let
xbdmStr
=
""
;
let
mzdmStr
=
""
;
this
.
propQueryField
.
forEach
((
it
)
=>
{
if
(
it
.
type
==
"code"
)
{
it
.
codeOptions
.
forEach
((
item
)
=>
{
if
(
it
.
id
==
"xbdm"
)
{
if
(
item
.
id
==
this
.
formData
.
xbdm
)
{
xbdmStr
=
item
.
label
;
}
}
if
(
it
.
id
==
"mzdm"
)
{
if
(
item
.
id
==
this
.
formData
.
mzdm
)
{
mzdmStr
=
item
.
label
;
}
}
});
}
});
let
obj
=
{
sjhm
:
this
.
$route
.
query
[
"cphm"
]
||
""
,
xm
:
this
.
formData
.
xm
,
zjhm
:
this
.
formData
.
zjhm
,
xbdm
:
this
.
formData
.
xbdm
,
mzdm
:
this
.
formData
.
mzdm
,
xbdmStr
:
xbdmStr
,
mzdmStr
:
mzdmStr
,
};
this
.
addLsSjhJzxx
(
JSON
.
stringify
(
obj
)).
then
((
res
)
=>
{
if
(
res
.
success
==
true
)
{
this
.
centerDialogVisible
=
false
;
this
.
$message
.
success
(
"保存成功!"
);
this
.
$refs
.
sjzc
.
doQuery
(
"yes"
);
}
else
{
this
.
$message
.
error
(
"保存失败!"
);
}
});
// this.$refs.sjzc.doQuery('yes')
},
addLsSjhJzxx
(
form
)
{
return
request
({
url
:
url
.
rzURL
+
"/sjdaApi/addLsSjhJzxx"
,
data
:
JSON
.
parse
(
form
),
method
:
"POST"
,
});
},
postSjJz
(
form
)
{
return
request
({
url
:
url
.
rzURL
+
"/sjdaApi/getSjhJzxx"
,
...
...
@@ -764,8 +1564,12 @@ export default {
};
self
.
postGetSjhJzxx
(
JSON
.
stringify
(
json
)).
then
((
res
)
=>
{
if
(
res
.
success
==
true
)
{
self
.
phoneOnwer
.
forEach
((
item
)
=>
{
item
.
value
=
res
.
data
.
rows
[
0
][
item
.
prop
];
self
.
phoneOnwer
.
forEach
((
item
)
=>
{
if
(
item
.
prop
==
"jzhm"
)
{
item
.
value
=
this
.
$route
.
query
.
cphm
;
}
else
{
item
.
value
=
res
.
data
.
rows
[
0
][
item
.
prop
];
}
});
self
.
sfzp
=
res
.
data
.
rows
[
0
].
zp
;
self
.
djjzxxLoading
=
false
;
...
...
@@ -1442,6 +2246,26 @@ export default {
</
script
>
<
style
scoped
lang=
"scss"
>
::v-deep
.el-form-item__content
{
line-height
:
40px
;
position
:
relative
;
font-size
:
14px
;
text-align
:
center
;
margin-bottom
:
10px
;
}
.zdycol1
{
display
:
flex
;
::v-deep.el-form-item__label
{
width
:
100px
;
}
}
::v-deep
.el-tabs__header
{
margin
:
0
0
10px
;
position
:
relative
;
top
:
-10px
;
background
:
#ffffff
;
padding
:
0
0
0
20px
;
}
.el-col-6
{
width
:
25%
;
}
...
...
@@ -1844,18 +2668,15 @@ export default {
text-align
:
left
;
display
:
inline-block
;
//
width
:
70px
;
width
:
44%
;
width
:
73px
;
}
.value
{
font-size
:
14px
;
line-height
:
14px
;
font-size
:
14px
;
//
line-height
:
14px
;
color
:
#333333
;
text-align
:
left
;
//
text-align
:
left
;
display
:
inline-block
;
width
:
56%
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
width
:
calc
(
100%
-
73px
);
}
}
.ryxx1
{
...
...
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