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
8d076be3
Commit
8d076be3
authored
Nov 16, 2023
by
xue_wengang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app修改
parent
b2e8ddb3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
140 additions
and
188 deletions
+140
-188
src/api/base.js
+2
-2
src/assets/styles/main.scss
+2
-2
src/components/Mytable.vue
+27
-1
src/components/ptCxForm_components.vue
+3
-2
src/components/treeCode_components.vue
+1
-0
src/utils/axiosHttp.js
+2
-2
src/views/rzcx/addYdyyzc.vue
+8
-16
src/views/rzcx/ydsbgl.vue
+0
-0
src/views/rzcx/ydsbsj.vue
+38
-22
src/views/rzcx/ydyxjk.vue
+50
-125
src/views/rzcx/ydyyglDetail.vue
+7
-16
src/views/rzcx/ydyyzc.vue
+0
-0
No files found.
src/api/base.js
View file @
8d076be3
...
...
@@ -9,8 +9,8 @@ let base = {
// ztptURL: "http://26.120.5.129:8006", //通辽
ztptURL
:
"http://26.3.13.120:8088"
,
codeUrl
:
""
,
BaseURL
:
"/api
AjzbGaw
"
,
//基础查询页得ip
rzURL
:
"/apiXzxt
Gaw
"
,
//刑专二期得(日志)ip
BaseURL
:
"/api
Xzxt
"
,
//基础查询页得ip
rzURL
:
"/apiXzxt"
,
//刑专二期得(日志)ip
gzzmURL
:
"/apiWoker"
,
//工作桌面
ydjwURL
:
"/apiYdjw"
,
//移动警务终端版本管理
qgcxURL
:
'/apiQgCx'
,
// 全国查询
...
...
src/assets/styles/main.scss
View file @
8d076be3
...
...
@@ -54,11 +54,11 @@ body {
/*input框 字典图标hover 删除图标hover end*/
/*分页显示多少条自定义位置 formWrap必须是父级容器 start*/
.formWrap
{
position
:
relative
;}
/
deep
/
.el-pagination__sizes
{
/
* /
deep/ .el-pagination__sizes{
position:absolute;
top:20px;
right:251px;
}
}
*/
/
deep
/
.el-input__inner
{
transition
:
none
!
important
;}
/
deep
/
.el-pagination__sizes
/
deep
/
.el-input__inner
{
height
:
32px
;
line-height
:
32px
;
border
:
1px
solid
#CFCFCF
;}
/
deep
/
.el-date-editor
/
deep
/
.el-range__icon
{
...
...
src/components/Mytable.vue
View file @
8d076be3
...
...
@@ -33,11 +33,27 @@
<template
v-if=
"column.type=='basic'"
>
<span
v-for=
"(operations, index) in column.operation"
:key=
"index"
>
<el-button
:icon=
"operations.icon"
:type=
"operations.type"
@
click=
"rowOperation(row,index,operations.option)"
:style=
"
{color:operations.color}"
size="mini"
v-if="operations.label == '挂失'"
>
{{
row
.
sbzt
==
'0'
?
operations
.
label
:
''
}}
</el-button>
<el-button
:icon=
"operations.icon"
:type=
"operations.type"
@
click=
"rowOperation(row,index,operations.option)"
:style=
"
{color:operations.color}"
size="mini">
{{
operations
.
label
}}
</el-button>
size="mini"
v-if="operations.label == '设备远程控制'"
>
{{
row
.
sbzt
==
'2'
?
'取消设备远程控制'
:
operations
.
label
}}
</el-button>
<el-button
:icon=
"operations.icon"
:type=
"operations.type"
@
click=
"rowOperation(row,index,operations.option)"
:style=
"
{color:operations.color}"
size="mini"
v-else
>
{{
operations
.
label
}}
</el-button>
</span>
</
template
>
<!-- 操作 -->
...
...
@@ -101,6 +117,8 @@
class=
"s_runn"
>
{{
(
'开启'
)
||
'--'
}}
</span>
<span
v-if=
"row.sbzt=='1'"
class=
"s_stop"
>
{{
(
'关闭'
)
||
'--'
}}
</span>
<span
v-if=
"row.sbzt=='2'"
class=
"s_running"
>
{{
(
'远程中'
)
||
'--'
}}
</span>
</
template
>
</span>
<!-- 状态对象展示 -->
...
...
@@ -262,4 +280,11 @@ export default {
color
:
#fff
;
background
:
green
;
}
.s_running
{
display
:
inline-block
;
padding
:
2px
4px
;
border-radius
:
5px
;
color
:
#fff
;
background
:
red
;
}
</
style
>
\ No newline at end of file
src/components/ptCxForm_components.vue
View file @
8d076be3
...
...
@@ -1251,11 +1251,12 @@ export default {
}
}
if
(
flag
)
{
if
(
self
.
pageBs
==
"jsj"
||
self
.
pageBs
==
"ydyxjk"
){
/*
if(self.pageBs == "jsj" || self.pageBs == "ydyxjk"){
self.tableData = self.jsjTableDate;
self.tableDataLength = self.jsjTableDataLength;
self.closeLoading();
}
else
if
(
self
.
pageBs
==
"ydjwZdbbgl"
)
{
}else */
if
(
self
.
pageBs
==
"ydjwZdbbgl"
)
{
let
params
=
new
FormData
();
debugger
;
params
.
append
(
"page"
,
json
.
page
);
...
...
src/components/treeCode_components.vue
View file @
8d076be3
...
...
@@ -28,6 +28,7 @@
:visible
.
sync=
"dialogCodeVisible"
style=
"z-index: 2020 !important;"
:close-on-click-modal=
"false"
append-to-body
center
>
<div
slot=
"title"
class=
"header-title"
...
...
src/utils/axiosHttp.js
View file @
8d076be3
...
...
@@ -41,7 +41,7 @@ service.interceptors.response.use(
// }else{
// window.open(url.eqMhUrl,'_self');
// }
sessionStorage
.
clear
()
/*
sessionStorage.clear()
MessageBox.confirm("系统登录超时,请重新登录", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
...
...
@@ -53,7 +53,7 @@ service.interceptors.response.use(
} else {
window.location.href = 'http://zhyy.xzxt.an:8080/index'
}
})
})
*/
// }
}
...
...
src/views/rzcx/addYdyyzc.vue
View file @
8d076be3
...
...
@@ -104,22 +104,22 @@ export default {
).
unitcode
;
if
(
this
.
$route
.
query
.
xxzjbh
)
{
this
.
form
.
xxzjbh
=
this
.
$route
.
query
.
xxzjbh
;
this
.
doQueryRequest
(
this
.
form
,
"/
ypzc/updateYpzccgyj
"
).
then
(
this
.
doQueryRequest
(
this
.
form
,
"/
aapydgl/updateYyByXxzjbh
"
).
then
(
(
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"保存成功"
);
this
.
$router
.
push
({
path
:
"/rzcxIndex/
jszcyygl
"
,
path
:
"/rzcxIndex/
ydyyzc
"
,
});
}
}
);
}
else
{
this
.
doQueryRequest
(
this
.
form
,
"/
ypzc/saveYpzccgyj
"
).
then
((
res
)
=>
{
this
.
doQueryRequest
(
this
.
form
,
"/
aapydgl/insertYy
"
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"保存成功"
);
this
.
$router
.
push
({
path
:
"/rzcxIndex/
jszcyygl
"
,
path
:
"/rzcxIndex/
ydyyzc
"
,
});
}
});
...
...
@@ -137,25 +137,17 @@ export default {
});
},
getShuju
()
{
let
res
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"jsj"
));
for
(
const
key
in
this
.
form
)
{
this
.
$set
(
this
.
form
,
key
,
res
[
key
]);
}
/* this.doQueryRequest(
this
.
doQueryRequest
(
{
xxzjbh
:
this
.
$route
.
query
.
xxzjbh
},
"/
ypzc/getYpyjzcxq
"
"/
aapydgl/queryYyByXxzjbh
"
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
for
(
const
key
in
this
.
form
)
{
if (key == "yynr") {
this.$set(this.form, key, res.data.yjzc["yjsj"]);
} else {
this.$set(this.form, key, res.data.yjzc[key]);
}
this
.
$set
(
this
.
form
,
key
,
res
.
data
.
appyy
[
key
]);
}
this
.
loading
=
false
;
}
});
*/
});
},
doQueryRequest
(
form
,
cxUrl
)
{
/*post方法*/
...
...
src/views/rzcx/ydsbgl.vue
View file @
8d076be3
This diff is collapsed.
Click to expand it.
src/views/rzcx/ydsbsj.vue
View file @
8d076be3
...
...
@@ -37,7 +37,7 @@
</div>
<el-dialog
title=
"设备安全审计"
:visible
.
sync=
"dialog"
width=
"1000px"
>
<div
style=
"padding: 10px"
>
<span>
是否安全:
<span
style=
"color: green"
>
安全
</span></span>
<span>
是否安全:
<span
style=
"color: green"
>
{{
pageObjDia
.
total
<=
10
?
'安全'
:
'不安全'
}}
</span></span>
</div>
<Mytable
v-loading=
"downLoading"
...
...
@@ -57,7 +57,9 @@
import
myForm
from
"@/components/myForm.vue"
;
import
Mytable
from
"@/components/Mytable.vue"
;
import
request
from
"@/api/interface/dictionaryCode.js"
;
import
url
from
"@/api/base"
;
import
requestQuery
from
"@/utils/axiosHttp.js"
;
import
qs
from
"qs"
;
import
base
from
"@/api/base"
;
import
{
mapGetters
}
from
"vuex"
;
...
...
@@ -256,11 +258,12 @@ export default {
align
:
"center"
,
},
{
text
:
true
,
text
area
:
true
,
prop
:
"czxxJyqk"
,
editRow
:
undefined
,
label
:
"操作内容"
,
align
:
"center"
,
width
:
"200"
},
],
},
...
...
@@ -269,26 +272,10 @@ export default {
total
:
10
,
pageData
:
{
page
:
1
,
size
:
10
,
limit
:
10
,
},
},
tableDataDia
:
[
{
xxczryXm
:
"王志强"
,
czxxJyqk
:
"执行[查询]动作,参数为:,cxSj:2023-10-01 00:00:00 - 2023-10-31 00:00:00,page:1,limit:10"
,
fwsj
:
"2023-11-07 15:13:33"
,
rzlsh
:
"460000202311071000000233487505"
,
xxdjdwGajgjgdm
:
"460000000000"
,
xxdjdwGajgmc
:
"海南省公安厅"
,
xxdjryLxdh
:
"19585699956"
,
yhGmsfhm
:
"123452123401X1000X"
,
yhIp
:
"172.26.252.82"
,
yymcJyqk
:
"查询登陆日志"
,
yymcdm
:
"0602"
,
yymcdmStr
:
"运控管理"
,
},
],
tableDataDia
:
[],
};
},
...
...
@@ -348,12 +335,41 @@ export default {
},
// 操作按钮
rowOperation
(
row
,
index
,
item
)
{
console
.
log
(
row
,
index
,
item
,
22
)
;
let
self
=
this
;
if
(
index
==
0
)
{
this
.
dialog
=
true
;
self
.
columObjDia
.
loading
=
true
;
let
{
page
,
limit
}
=
self
.
pageObjDia
.
pageData
;
self
.
doQueryRequest
(
{
sfzh
:
row
.
bdidcard
,
page
,
limit
},
"/aapydgl/yyjkrz"
)
.
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
res
.
data
.
rows
.
forEach
((
item
)
=>
{
item
.
expandContent
=
false
;
});
self
.
tableDataDia
=
res
.
data
.
rows
;
self
.
pageObjDia
.
total
=
res
.
data
.
total
;
self
.
columObjDia
.
loading
=
false
;
}
});
}
},
doQueryRequest
(
form
,
cxUrl
)
{
/*post方法*/
return
requestQuery
({
url
:
url
.
rzURL
+
cxUrl
,
data
:
qs
.
stringify
(
form
),
method
:
"post"
,
headers
:
{
"content-type"
:
"application/x-www-form-urlencoded"
,
},
});
},
//页码变化
handleCurrentChange
(
e
)
{
this
.
pageObj
.
pageData
.
page
=
e
;
...
...
src/views/rzcx/ydyxjk.vue
View file @
8d076be3
...
...
@@ -7,6 +7,7 @@
:cxDefaultFormThead=
"cxDefaultFormThead"
:cxUrl=
"cxUrl"
:pageBs=
"pageBs"
:isPost=
"true"
:jsjTableDate=
"jsjTableDate"
:jsjTableDataLength=
"jsjTableDataLength"
@
yypz=
"yypz"
...
...
@@ -18,14 +19,14 @@
:visible
.
sync=
"dialogVisible"
width=
"30%"
>
<span>
{{
content
}}
</span>
<span>
{{
content
}}
</span>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"dialogVisible = false"
>
确 定
</el-button
>
</span>
</el-dialog>
<el-dialog
title=
"日志情况"
:visible
.
sync=
"dialog"
width=
"1000px"
>
<el-dialog
title=
"日志情况"
:visible
.
sync=
"dialog"
width=
"1000px"
>
<div
style=
"padding: 10px"
>
<span>
是否安全:
<span
style=
"color: green"
>
安全
</span></span>
</div>
...
...
@@ -46,11 +47,14 @@
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
Mytable
from
"@/components/Mytable.vue"
;
import
url
from
"@/api/base"
;
import
requestQuery
from
"@/utils/axiosHttp.js"
;
import
qs
from
"qs"
;
export
default
{
name
:
"ydyxjk"
,
components
:
{
rightContent
,
Mytable
Mytable
,
},
data
()
{
return
{
...
...
@@ -100,10 +104,10 @@ export default {
label
:
"应用内容"
,
prop
:
"yynr"
,
},
//
{
//
label: "应用配置",
//
prop: "yypz",
//
},
{
label
:
"应用配置"
,
prop
:
"yypz"
,
},
{
label
:
"备注"
,
prop
:
"bz"
,
...
...
@@ -117,110 +121,20 @@ export default {
prop
:
"xxdjryXm"
,
},
],
cxUrl
:
"/
getFunctionService/getYkglSjzcMessage
"
,
cxUrl
:
"/
aapydgl/queryYyList
"
,
header
:
"应用运行监控"
,
pageBs
:
"ydyxjk"
,
jsjTableDataLength
:
12
,
jsjTableDate
:
[
{
yydm
:
"0701"
,
yymc
:
"证件核查"
,
yynr
:
"证件核查"
,
yypz
:
"身份证号码必须符合身份证规则"
,
bz
:
"无"
,
djsj
:
"2022-5-10"
,
xxdjryXm
:
"超级管理员"
,
},
{
yydm
:
"0702"
,
yymc
:
"人像核查"
,
yynr
:
"人像核查"
,
yypz
:
"必须有人员照片"
,
bz
:
"无"
,
djsj
:
"2022-5-10"
,
xxdjryXm
:
"超级管理员"
,
},
{
yydm
:
"0703"
,
yymc
:
"车辆核查"
,
yynr
:
"车辆核查"
,
yypz
:
"必须有正确的车牌号码"
,
bz
:
"无"
,
djsj
:
"2022-5-10"
,
xxdjryXm
:
"超级管理员"
,
},
{
yydm
:
"0704"
,
yymc
:
"协同工作"
,
yynr
:
"协同工作"
,
yypz
:
"必须有正确的案件编号"
,
bz
:
"无"
,
djsj
:
"2022-5-10"
,
xxdjryXm
:
"超级管理员"
,
},
{
yydm
:
"0705"
,
yymc
:
"案件侦办"
,
yynr
:
"案件侦办"
,
yypz
:
"必须有正确案件号码"
,
bz
:
"无"
,
djsj
:
"2022-5-10"
,
xxdjryXm
:
"超级管理员"
,
},
{
yydm
:
"0706"
,
yymc
:
"智能检索"
,
yynr
:
"智能检索"
,
yypz
:
"必须有正确的检索信息"
,
bz
:
"无"
,
djsj
:
"2022-5-10"
,
xxdjryXm
:
"超级管理员"
,
},
{
yydm
:
"0707"
,
yymc
:
"周边信息"
,
yynr
:
"周边信息"
,
yypz
:
"必须有正确的周边信息"
,
bz
:
"无"
,
djsj
:
"2022-5-10"
,
xxdjryXm
:
"超级管理员"
,
},
{
yydm
:
"0708"
,
yymc
:
"现场采集"
,
yynr
:
"现场采集"
,
yypz
:
"必须有正确的勘验编号"
,
bz
:
"无"
,
djsj
:
"2022-5-10"
,
xxdjryXm
:
"超级管理员"
,
},
{
yydm
:
"0709"
,
yymc
:
"人员一体化采集"
,
yynr
:
"人员一体化采集"
,
yypz
:
"必须有正确的身份证号码"
,
bz
:
"无"
,
djsj
:
"2022-5-10"
,
xxdjryXm
:
"超级管理员"
,
},
{
yydm
:
"0710"
,
yymc
:
"电子笔录"
,
yynr
:
"电子笔录"
,
yypz
:
"必须有正确的案件编号"
,
bz
:
"无"
,
djsj
:
"2022-5-10"
,
xxdjryXm
:
"超级管理员"
,
},
],
dialogVisible
:
false
,
columObjDia
:
{
dialogVisible
:
false
,
columObjDia
:
{
visble
:
false
,
loading
:
false
,
columnData
:
[
{
text
:
true
,
prop
:
"
xxczry
Xm"
,
prop
:
"
yh
Xm"
,
editRow
:
undefined
,
label
:
"用户姓名"
,
align
:
"center"
,
...
...
@@ -268,11 +182,12 @@ export default {
align
:
"center"
,
},
{
text
:
true
,
text
area
:
true
,
prop
:
"czxxJyqk"
,
editRow
:
undefined
,
label
:
"操作内容"
,
align
:
"center"
,
width
:
"200"
},
],
},
...
...
@@ -281,37 +196,47 @@ export default {
total
:
10
,
pageData
:
{
page
:
1
,
size
:
10
,
limit
:
10
,
},
},
tableDataDia
:
[
{
xxczryXm
:
"王志强"
,
czxxJyqk
:
"执行[查询]动作,参数为:,cxSj:2023-10-01 00:00:00 - 2023-10-31 00:00:00,page:1,limit:10"
,
fwsj
:
"2023-11-07 15:13:33"
,
rzlsh
:
"460000202311071000000233487505"
,
xxdjdwGajgjgdm
:
"460000000000"
,
xxdjdwGajgmc
:
"海南省公安厅"
,
xxdjryLxdh
:
"19585699956"
,
yhGmsfhm
:
"123452123401X1000X"
,
yhIp
:
"172.26.252.82"
,
yymcJyqk
:
"查询登陆日志"
,
yymcdm
:
"0602"
,
yymcdmStr
:
"运控管理"
,
},
],
tableDataDia
:
[],
dialog
:
false
,
content
:
""
,
content
:
""
,
};
},
methods
:
{
yypz
({
yypz
})
{
this
.
content
=
yypz
yypz
({
yypz
})
{
this
.
content
=
yypz
;
this
.
dialogVisible
=
true
;
},
rzqk
(){
this
.
dialog
=
true
rzqk
({
yydm
})
{
let
self
=
this
;
this
.
dialog
=
true
;
self
.
columObjDia
.
loading
=
true
;
let
{
page
,
limit
}
=
self
.
pageObjDia
.
pageData
;
self
.
doQueryRequest
({
yydm
,
page
,
limit
},
"/aapydgl/yyjkrz"
)
.
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
res
.
data
.
rows
.
forEach
((
item
)
=>
{
item
.
expandContent
=
false
;
});
self
.
tableDataDia
=
res
.
data
.
rows
;
self
.
pageObjDia
.
total
=
res
.
data
.
total
;
self
.
columObjDia
.
loading
=
false
;
}
});
},
doQueryRequest
(
form
,
cxUrl
)
{
/*post方法*/
return
requestQuery
({
url
:
url
.
rzURL
+
cxUrl
,
data
:
qs
.
stringify
(
form
),
method
:
"post"
,
headers
:
{
"content-type"
:
"application/x-www-form-urlencoded"
,
},
});
},
},
};
...
...
src/views/rzcx/ydyyglDetail.vue
View file @
8d076be3
...
...
@@ -72,28 +72,17 @@ export default {
},
methods
:
{
getShuju
()
{
debugger
let
res
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"jsj"
));
this
.
infoList
.
forEach
((
item
)
=>
{
this
.
$set
(
item
,
"content"
,
res
[
item
.
id
]);
});
this
.
loading
=
false
;
/* this.doQueryRequest(
this
.
doQueryRequest
(
{
xxzjbh
:
this
.
$route
.
query
.
xxzjbh
},
"/
ypzc/getYpyjzcxq
"
"/
aapydgl/queryYyByXxzjbh
"
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
infoList
.
forEach
((
item
)
=>
{
if (item.id == "yjsjStr") {
this.$set(item, "content", res.data.yjzc["yjsj"]);
} else {
this.$set(item, "content", res.data.yjzc[item.id]);
}
this
.
$set
(
item
,
"content"
,
res
.
data
.
appyy
[
item
.
id
]);
});
console.log(this.infoList);
this
.
loading
=
false
;
}
});
*/
});
},
doQueryRequest
(
form
,
cxUrl
)
{
/*post方法*/
...
...
@@ -110,7 +99,7 @@ export default {
created
()
{
if
(
this
.
$route
.
query
.
xxzjbh
)
{
this
.
getShuju
();
//
this.loading = true;
this
.
loading
=
true
;
}
},
};
...
...
@@ -155,9 +144,11 @@ export default {
}
.infoWrap1
{
width
:
50%
;
margin-top
:
10px
;
}
.infoWrap2
{
width
:
100%
;
margin-top
:
10px
;
}
.name
{
font-size
:
16px
;
...
...
src/views/rzcx/ydyyzc.vue
View file @
8d076be3
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