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
2ca2dcee
Commit
2ca2dcee
authored
Feb 15, 2022
by
lp784568205
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改团伙研判
parent
6643a183
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
303 additions
and
65 deletions
+303
-65
src/api/yhz/yhz.js
+6
-0
src/views/ztyp/queryQtypfx.vue
+297
-65
No files found.
src/api/yhz/yhz.js
View file @
2ca2dcee
...
...
@@ -55,3 +55,8 @@ export const addThyp = params =>
//研判结果详情
export
const
getThypXq
=
params
=>
post
(
`
${
base
.
alyIP
}
/thyp/getThypXq`
,
params
);
//研判结果查询列表
export
const
getThypList
=
params
=>
post
(
`
${
base
.
alyIP
}
/thyp/getThypList`
,
params
);
\ No newline at end of file
src/views/ztyp/queryQtypfx.vue
View file @
2ca2dcee
...
...
@@ -15,9 +15,9 @@
<span
class=
"hbyps"
v-if=
"show"
@
click=
"add(scope.scope)"
>
<i
class=
"el-ibncon-plus"
></i>
群体计算
</span
>
<span
class=
"hbyps"
v-if=
"showS"
@
click=
"addX()"
>
<
!--
<
span
class=
"hbyps"
v-if=
"showS"
@
click=
"addX()"
>
<i
class=
"el-ibncon-plus"
></i>
新增
</span
>
>
-->
</
template
>
<
template
#
btnGroup=
"scope"
>
<span
class=
"hbyp"
v-if=
"show"
@
click=
"toKshfx(scope.scope)"
...
...
@@ -26,7 +26,9 @@
<span
class=
"hbyp"
v-if=
"show"
@
click=
"toQtyp(scope.scope)"
>
群体研判
</span
>
<span
class=
"hbyp"
v-if=
"showS"
@
click=
"toDetail(scope.scope)"
>
详情
</span>
<span
class=
"hbyp"
v-if=
"showS"
@
click=
"toDetail(scope.scope)"
>
详情
</span
>
</
template
>
</right-content>
<!-- 群体相关嫌疑人列表 -->
...
...
@@ -41,21 +43,138 @@
></el-table-column>
</el-table>
</el-dialog>
<!-- 案件列表 -->
<el-dialog
title=
"相关案件"
width=
"67%"
:visible
.
sync=
"dialogTableAj"
>
<el-table
:data=
"ajData"
>
<el-table-column
v-for=
"(item, index) in tableAj"
:key=
"index"
:prop=
"item.prop"
:label=
"item.label"
:width=
"item.width"
align=
"center"
></el-table-column>
</el-table>
</el-dialog>
<!-- 群体研判结果查询列表 -->
<el-dialog
title=
"研判结果"
:visible
.
sync=
"dialogTableQt"
>
<span
class=
"hbyps"
style=
"float: right"
v-if=
"dialogTableQt"
@
click=
"addX()"
>
<i
class=
"el-ibncon-plus"
></i>
新增研判结果
</span
>
<el-table
:data=
"qtData"
>
<el-table-column
v-for=
"(item, index) in tableQt"
:key=
"index"
:prop=
"item.prop"
:label=
"item.label"
:width=
"item.width"
align=
"center"
></el-table-column>
</el-table>
</el-dialog>
<!-- <el-dialog title="新增研判结果" :visible.sync="dialogTableQtAdd">
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
>
</form-compontent>
</el-dialog> -->
<el-dialog
title=
"群体计算"
:visible
.
sync=
"dialogTableQtjs"
>
<el-form
:inline=
"true"
:model=
"lkForm"
class=
"demo-form-inline"
>
<el-row>
<el-col
:span=
"8"
:offset=
"2"
style=
"margin-top: 20px"
>
<el-form-item
label=
"起始时间:"
style=
"width:100%"
>
<el-date-picker
v-model=
"lkForm.startDate"
placeholder=
"选择日期"
value-format=
"yyyy-MM-dd"
style=
"width: 100px"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"8"
:offset=
"2"
style=
"margin-top: 20px"
>
<el-form-item
label=
"结束时间:"
style=
"width:100%"
>
<el-date-picker
v-model=
"lkForm.endDate"
placeholder=
"选择日期"
value-format=
"yyyy-MM-dd"
style=
"width: 100px"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"8"
:offset=
"2"
style=
""
>
<el-form-item
label=
"人员数:"
label-width=
"70px"
style=
"width:100%"
>
<el-input
v-model=
"lkForm.rysl"
style=
"width: 300px"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
:offset=
"2"
style=
""
>
<el-form-item
label=
"案件数:"
label-width=
"70px"
style=
"width:100%"
>
<el-input
v-model=
"lkForm.ajsl"
style=
"width: 300px"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
:offset=
"2"
style=
""
>
<el-form-item
label=
"人员系数:"
style=
"width:100%"
>
<el-input
v-model=
"lkForm.ryWxxs"
style=
"width: 300px"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
:offset=
"2"
style=
""
>
<el-form-item
label=
"案件系数:"
style=
"width:100%"
>
<el-input
v-model=
"lkForm.ajWxxs"
style=
"width: 300px"
>
</el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogTableQtjs = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"submitQtjs"
>
确 定
</el-button>
</div>
</el-dialog>
</div>
</template>
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
{
getXyrByThbh
,
getAjByThbh
}
from
"@/api/yhz/yhz.js"
;
import
{
getXyrByThbh
,
getAjByThbh
,
getThypList
,
insertQtxx
}
from
"@/api/yhz/yhz.js"
;
// import { addThyp } from "@/api/yhz/yhz.js";
// import formCompontent from "@c/form.vue";
export
default
{
name
:
"queryQtypfx"
,
components
:
{
rightContent
,
// formCompontent,
},
data
()
{
return
{
dialogTableXyr
:
false
,
dialogTableAj
:
false
,
dialogTableQt
:
false
,
dialogTableQtjs
:
false
,
// dialogTableQtAdd: false,
tableXyr
:
[
{
label
:
"团伙编号"
,
...
...
@@ -79,21 +198,54 @@ export default {
{
label
:
"团伙编号"
,
prop
:
"thbh"
,
width
:
280
,
},
{
label
:
"姓名"
,
prop
:
"xm"
,
label
:
"案件编号"
,
prop
:
"asjbh"
,
width
:
250
,
},
{
label
:
"证件号码"
,
prop
:
"zjhm"
,
label
:
"案件名称"
,
prop
:
"ajmc"
,
width
:
200
,
},
{
label
:
"户籍地"
,
prop
:
"hjddmStr"
,
label
:
"案件类别"
,
prop
:
"ajlbdmStr"
,
width
:
120
,
},
{
label
:
"立案日期"
,
prop
:
"larq"
,
width
:
200
,
},
{
label
:
"立案单位"
,
prop
:
"ladwdmStr"
,
width
:
200
,
},
],
ajData
:
[],
tableQt
:
[
{
label
:
"研判结论"
,
prop
:
"ypjg"
,
},
{
label
:
"录入人"
,
prop
:
"xxdjryXm"
,
},
{
label
:
"录入单位"
,
prop
:
"xxdjdwGajgmc"
,
},
{
label
:
"录入时间"
,
prop
:
"djsj"
,
},
],
qtData
:
[],
header
:
"主题研判"
,
pageBs
:
"queryQtypfx"
,
cxFormData
:
{
...
...
@@ -212,7 +364,16 @@ export default {
//群体研判表单切换
show
:
true
,
showS
:
false
,
thbh
:
''
,
thbh
:
""
,
//群体计算
lkForm
:
{
startDate
:
""
,
endDate
:
""
,
rysl
:
""
,
ajsl
:
""
,
ryWxxs
:
""
,
ajWxxs
:
""
,
},
};
},
created
()
{
...
...
@@ -221,17 +382,46 @@ export default {
methods
:
{
//群体计算
add
()
{
this
.
$router
.
pushToTab
({
path
:
"/qtjsForm"
,
});
// this.$router.pushToTab({
// path: "/qtjsForm",
// });
this
.
dialogTableQtjs
=
true
;
},
addX
()
{
// this.dialogTableQt = false;
// this.dialogTableQtAdd = true;
// this.$set(this.formLabelAlign, "thbh", this.$route.query.thbh);
// this.$forceUpdate();
this
.
$router
.
pushToTab
({
path
:
"/addYpjg"
,
query
:
{
thbh
:
this
.
thbh
,
},
})
});
},
submit
(
params
)
{
let
loading
=
this
.
$loading
({
lock
:
true
,
text
:
"正在保存..."
,
spinner
:
"el-icon-loading"
,
background
:
"rgba(255, 255, 255, 0.7)"
,
});
addThyp
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$alert
(
"保存成功!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"success"
,
callback
:
()
=>
{
loading
.
close
();
window
.
close
();
window
.
opener
.
location
.
reload
();
},
});
}
else
{
loading
.
close
();
this
.
$message
.
error
(
"添加失败,请检查数据格式是否正确"
);
}
});
},
toDetail
(
scope
)
{
this
.
$router
.
pushToTab
({
...
...
@@ -239,7 +429,7 @@ export default {
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
,
},
})
})
;
},
// 可视化
toKshfx
(
scope
)
{
...
...
@@ -267,63 +457,69 @@ export default {
query
:
{
title
:
"群体发现分析"
,
type
:
"qtfxfx"
,
types
:
'tonat'
types
:
"tonat"
,
},
});
},
// 群体研判
toQtyp
(
scope
)
{
debugger
;
this
.
thbh
=
scope
.
row
.
thbh
;
var
self
=
this
;
this
.
show
=
false
;
this
.
showS
=
true
;
(
self
.
pageBs
=
"queryZjShow"
),
(
self
.
cxFormData
.
thbh
=
scope
.
row
.
thbh
);
// self.cxFormData.teamNum = "2";
self
.
cxUrl
=
"/thyp/getThypList"
;
var
arreyTj
=
[
{
name
:
"团伙编号"
,
id
:
"thbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
""
,
col
:
"3"
,
},
];
var
arrey
=
[
{
label
:
"研判结论"
,
prop
:
"ypjg"
,
},
{
label
:
"录入人"
,
prop
:
"xxdjryXm"
,
},
{
label
:
"录入单位"
,
prop
:
"xxdjdwGajgmc"
,
},
{
label
:
"录入时间"
,
prop
:
"djsj"
,
},
];
let
lengtha
=
arreyTj
.
length
-
this
.
cxQueryField
.
length
;
if
(
lengtha
<
0
)
{
this
.
cxQueryField
.
splice
(
arreyTj
.
length
);
}
let
length
=
arrey
.
length
-
this
.
cxDefaultFormThead
.
length
;
if
(
length
<
0
)
{
this
.
cxDefaultFormThead
.
splice
(
arrey
.
length
);
}
arreyTj
.
forEach
((
item
,
index
)
=>
{
this
.
$set
(
this
.
cxQueryField
,
index
,
{});
this
.
$set
(
this
.
cxQueryField
,
index
,
item
);
});
arrey
.
forEach
((
items
,
indexs
)
=>
{
this
.
$set
(
this
.
cxDefaultFormThead
,
indexs
,
{});
this
.
$set
(
this
.
cxDefaultFormThead
,
indexs
,
items
);
// this.show = false;
// this.showS = true;
this
.
dialogTableQt
=
true
;
getThypList
({
thbh
:
this
.
thbh
,
page
:
1
,
limit
:
10
}).
then
((
res
)
=>
{
var
result
=
res
.
data
.
rows
;
this
.
qtData
=
[...
result
];
});
// (self.pageBs = "queryZjShow"), (self.cxFormData.thbh = scope.row.thbh);
// self.cxFormData.teamNum = "2";
// self.cxUrl = "/thyp/getThypList";
// var arreyTj = [
// {
// name: "团伙编号",
// id: "thbh",
// type: "text",
// value: "",
// placeholder: "",
// col: "3",
// },
// ];
// var arrey = [
// {
// label: "研判结论",
// prop: "ypjg",
// },
// {
// label: "录入人",
// prop: "xxdjryXm",
// },
// {
// label: "录入单位",
// prop: "xxdjdwGajgmc",
// },
// {
// label: "录入时间",
// prop: "djsj",
// },
// ];
// let lengtha = arreyTj.length - this.cxQueryField.length;
// if (lengtha
<
0
)
{
// this.cxQueryField.splice(arreyTj.length);
// }
// let length = arrey.length - this.cxDefaultFormThead.length;
// if (length
<
0
)
{
// this.cxDefaultFormThead.splice(arrey.length);
// }
// arreyTj.forEach((item, index) => {
// this.$set(this.cxQueryField, index, {});
// this.$set(this.cxQueryField, index, item);
// });
// arrey.forEach((items, indexs) => {
// this.$set(this.cxDefaultFormThead, indexs, {});
// this.$set(this.cxDefaultFormThead, indexs, items);
// });
},
// 群体相关嫌疑人列表
toInfor
(
scope
)
{
...
...
@@ -345,6 +541,42 @@ export default {
this
.
dialogTableAj
=
true
;
debugger
;
},
//群体研判群体计算
submitQtjs
()
{
let
loading
=
this
.
$loading
({
lock
:
true
,
text
:
"正在保存..."
,
spinner
:
"el-icon-loading"
,
background
:
"rgba(255, 255, 255, 0.7)"
,
});
insertQtxx
({
startDate
:
this
.
lkForm
.
startDate
,
endDate
:
this
.
lkForm
.
endDate
,
rysl
:
this
.
lkForm
.
rysl
,
ajsl
:
this
.
lkForm
.
ajsl
,
ryWxxs
:
this
.
lkForm
.
ryWxxs
,
ajWxxs
:
this
.
lkForm
.
ajWxxs
,
}).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
setTimeout
(()
=>
{
this
.
$alert
(
"保存成功!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"success"
,
callback
:
()
=>
{
loading
.
close
();
this
.
dialogTableQtjs
=
false
;
window
.
location
.
reload
();
// window.close();
// window.opener.location.reload();
},
});
},
2000
);
}
else
{
loading
.
close
();
this
.
$message
.
error
(
"添加失败,请检查数据格式是否正确"
);
}
});
},
//群体研判新增附件
fileOnchange
(
file
,
fileList
)
{
if
(
fileList
.
length
>
0
)
{
...
...
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