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
909d0683
Commit
909d0683
authored
Mar 07, 2024
by
gao_yingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计评估, ‘涉案视频统计’ ‘抓获人员统计’
parent
049abbde
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
362 additions
and
1 deletions
+362
-1
src/components/ptCxForm_componentsTjpg.vue
+6
-1
src/router/modules/index.js
+16
-0
src/utils/params.js
+19
-0
src/views/tjpg/sasptj.vue
+153
-0
src/views/tjpg/zhrytj.vue
+168
-0
No files found.
src/components/ptCxForm_componentsTjpg.vue
View file @
909d0683
...
@@ -387,7 +387,12 @@ export default {
...
@@ -387,7 +387,12 @@ export default {
if
(
json
.
unitcode
&&
json
.
cxSj
)
{
if
(
json
.
unitcode
&&
json
.
cxSj
)
{
let
kssj
=
json
.
cxSj
.
substring
(
0
,
10
);
let
kssj
=
json
.
cxSj
.
substring
(
0
,
10
);
let
jssj
=
json
.
cxSj
.
substring
(
22
,
32
);
let
jssj
=
json
.
cxSj
.
substring
(
22
,
32
);
let
params
=
`&__bypagesize__=false&tjdw=
${
json
.
unitcode
}
&kssj=
${
kssj
}
&jssj=
${
jssj
}
`
;
let
params
=
""
;
if
(
this
.
name
==
"zhrytj"
)
{
params
=
`&__bypagesize__=false&tjdw=
${
json
.
unitcode
}
&kssj=
${
kssj
}
&jssj=
${
jssj
}
&xbdm=
${
json
.
xbdm
}
`
;
}
else
{
params
=
`&__bypagesize__=false&tjdw=
${
json
.
unitcode
}
&kssj=
${
kssj
}
&jssj=
${
jssj
}
`
;
}
console
.
log
(
params
);
console
.
log
(
params
);
if
(
this
.
name
==
"ajkhtj"
)
{
if
(
this
.
name
==
"ajkhtj"
)
{
window
.
open
(
window
.
open
(
...
...
src/router/modules/index.js
View file @
909d0683
...
@@ -131,6 +131,22 @@ export default [
...
@@ -131,6 +131,22 @@ export default [
title
:
"两抢犯罪统计表"
title
:
"两抢犯罪统计表"
}
}
},
},
{
path
:
"sasptj"
,
name
:
"sasptj"
,
component
:
()
=>
import
(
"@/views/tjpg/sasptj.vue"
),
meta
:
{
title
:
"统计评估"
}
},
{
path
:
"zhrytj"
,
name
:
"zhrytj"
,
component
:
()
=>
import
(
"@/views/tjpg/zhrytj.vue"
),
meta
:
{
title
:
"统计评估"
}
},
]
]
},
},
{
{
...
...
src/utils/params.js
View file @
909d0683
...
@@ -12699,6 +12699,11 @@ let tjpgPropLeftMenu = [
...
@@ -12699,6 +12699,11 @@ let tjpgPropLeftMenu = [
label
:
'三所人员统计'
,
label
:
'三所人员统计'
,
index
:
'2-3'
,
index
:
'2-3'
,
},
},
{
id
:
'sasptj'
,
label
:
'涉案视频统计'
,
index
:
'2-4'
,
},
]
]
},
},
...
@@ -12779,6 +12784,20 @@ let tjpgPropLeftMenu = [
...
@@ -12779,6 +12784,20 @@ let tjpgPropLeftMenu = [
]
]
},
},
{
id
:
'zhrytj'
,
label
:
'DNA人员统计'
,
index
:
'6'
,
className
:
'iconfont iconchaxun'
,
children
:
[
{
id
:
'zhrytj'
,
label
:
'抓获人员统计'
,
index
:
'6-1'
,
},
]
},
]
]
let
tjpgCxQueryField
=
[
let
tjpgCxQueryField
=
[
{
{
...
...
src/views/tjpg/sasptj.vue
0 → 100644
View file @
909d0683
<
template
>
<div>
<right-content
:cxQueryField=
"cxQueryField"
:cxFormData=
"cxFormData"
:name=
"name"
:urls=
"urls"
></right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/ptCxForm_componentsTjpg.vue"
;
export
default
{
name
:
"sasptj"
,
components
:
{
rightContent
,
},
data
()
{
return
{
name
:
"sasptj"
,
cxFormData
:
{
cxSj
:
""
,
unitcode
:
""
,
},
urls
:
'http://10.100.17.124:9080/webroot/decision/view/report?viewlet=XZKHTJ%252FGZLHB%252FZHXZJSGZLHB_SASPTJ.cpt'
,
cxQueryField
:
[
{
name
:
"单位代码"
,
id
:
"unitcode"
,
type
:
"codeTreeDialog"
,
//字典弹框
props
:
[],
//字典弹框需要的字段
value
:
""
,
placeholder
:
""
,
codeOptions
:
[],
codeTree
:
"CODE_UNIT"
,
col
:
"3"
,
},
{
name
:
"时间"
,
id
:
"cxSj"
,
type
:
"datetimerange"
,
value
:
""
,
col
:
"3"
,
pickerOptions
:
{
shortcuts
:
[
{
text
:
"最近一个月"
,
onClick
(
picker
)
{
const
end
=
new
Date
();
const
start
=
new
Date
();
let
year
=
start
.
getFullYear
();
let
month
=
start
.
getMonth
();
if
(
month
===
0
)
{
month
=
12
;
year
=
year
-
1
;
}
if
(
month
<
0
)
{
month
=
12
+
month
;
year
=
year
-
1
;
}
if
(
month
<
10
&&
month
>
0
)
{
month
=
"0"
+
month
;
}
let
firstDayOfPreMonth
=
year
+
"-"
+
month
+
"-"
+
start
.
getDate
();
firstDayOfPreMonth
=
new
Date
(
firstDayOfPreMonth
);
picker
.
$emit
(
"pick"
,
[
firstDayOfPreMonth
,
end
]);
},
},
{
text
:
"最近三个月"
,
onClick
(
picker
)
{
const
end
=
new
Date
();
const
start
=
new
Date
();
let
year
=
start
.
getFullYear
();
let
month
=
start
.
getMonth
()
-
2
;
if
(
month
===
0
)
{
month
=
12
;
year
=
year
-
1
;
}
if
(
month
<
0
)
{
month
=
12
+
month
;
year
=
year
-
1
;
}
if
(
month
<
10
&&
month
>
0
)
{
month
=
"0"
+
month
;
}
let
firstDayOfPreMonth
=
year
+
"-"
+
month
+
"-"
+
start
.
getDate
();
firstDayOfPreMonth
=
new
Date
(
firstDayOfPreMonth
);
picker
.
$emit
(
"pick"
,
[
firstDayOfPreMonth
,
end
]);
},
},
{
text
:
"最近六个月"
,
onClick
(
picker
)
{
const
end
=
new
Date
();
const
start
=
new
Date
();
let
year
=
start
.
getFullYear
();
let
month
=
start
.
getMonth
()
-
5
;
if
(
month
===
0
)
{
month
=
12
;
year
=
year
-
1
;
}
if
(
month
<
0
)
{
month
=
12
+
month
;
year
=
year
-
1
;
}
if
(
month
<
10
&&
month
>
0
)
{
month
=
"0"
+
month
;
}
let
firstDayOfPreMonth
=
year
+
"-"
+
month
+
"-"
+
start
.
getDate
();
firstDayOfPreMonth
=
new
Date
(
firstDayOfPreMonth
);
picker
.
$emit
(
"pick"
,
[
firstDayOfPreMonth
,
end
]);
},
},
{
text
:
"最近一年"
,
onClick
(
picker
)
{
const
end
=
new
Date
();
const
start
=
new
Date
();
let
year
=
start
.
getFullYear
();
let
month
=
start
.
getMonth
()
-
11
;
if
(
month
===
0
)
{
month
=
12
;
year
=
year
-
1
;
}
if
(
month
<
0
)
{
month
=
12
+
month
;
year
=
year
-
1
;
}
if
(
month
<
10
&&
month
>
0
)
{
month
=
"0"
+
month
;
}
let
firstDayOfPreMonth
=
year
+
"-"
+
month
+
"-"
+
start
.
getDate
();
firstDayOfPreMonth
=
new
Date
(
firstDayOfPreMonth
);
picker
.
$emit
(
"pick"
,
[
firstDayOfPreMonth
,
end
]);
},
},
],
},
},
],
};
},
};
</
script
>
<
style
scoped
>
</
style
>
src/views/tjpg/zhrytj.vue
0 → 100644
View file @
909d0683
<
template
>
<div>
<right-content
:cxQueryField=
"cxQueryField"
:cxFormData=
"cxFormData"
:name=
"name"
:urls=
"urls"
></right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/ptCxForm_componentsTjpg.vue"
;
export
default
{
name
:
"zhrytj"
,
components
:
{
rightContent
,
},
data
()
{
return
{
name
:
"zhrytj"
,
cxFormData
:
{
cxSj
:
""
,
unitcode
:
""
,
xbdm
:
""
,
},
urls
:
"http://10.100.17.124:9080/webroot/decision/view/report?viewlet=XZKHTJ%252FGZLHB%252FDNA_RYXQ.cpt"
,
cxQueryField
:
[
{
name
:
"单位代码"
,
id
:
"unitcode"
,
type
:
"codeTreeDialog"
,
//字典弹框
props
:
[],
//字典弹框需要的字段
value
:
""
,
placeholder
:
""
,
codeOptions
:
[],
codeTree
:
"CODE_UNIT"
,
col
:
"3"
,
},
{
name
:
"时间"
,
id
:
"cxSj"
,
type
:
"datetimerange"
,
value
:
""
,
col
:
"3"
,
pickerOptions
:
{
shortcuts
:
[
{
text
:
"最近一个月"
,
onClick
(
picker
)
{
const
end
=
new
Date
();
const
start
=
new
Date
();
let
year
=
start
.
getFullYear
();
let
month
=
start
.
getMonth
();
if
(
month
===
0
)
{
month
=
12
;
year
=
year
-
1
;
}
if
(
month
<
0
)
{
month
=
12
+
month
;
year
=
year
-
1
;
}
if
(
month
<
10
&&
month
>
0
)
{
month
=
"0"
+
month
;
}
let
firstDayOfPreMonth
=
year
+
"-"
+
month
+
"-"
+
start
.
getDate
();
firstDayOfPreMonth
=
new
Date
(
firstDayOfPreMonth
);
picker
.
$emit
(
"pick"
,
[
firstDayOfPreMonth
,
end
]);
},
},
{
text
:
"最近三个月"
,
onClick
(
picker
)
{
const
end
=
new
Date
();
const
start
=
new
Date
();
let
year
=
start
.
getFullYear
();
let
month
=
start
.
getMonth
()
-
2
;
if
(
month
===
0
)
{
month
=
12
;
year
=
year
-
1
;
}
if
(
month
<
0
)
{
month
=
12
+
month
;
year
=
year
-
1
;
}
if
(
month
<
10
&&
month
>
0
)
{
month
=
"0"
+
month
;
}
let
firstDayOfPreMonth
=
year
+
"-"
+
month
+
"-"
+
start
.
getDate
();
firstDayOfPreMonth
=
new
Date
(
firstDayOfPreMonth
);
picker
.
$emit
(
"pick"
,
[
firstDayOfPreMonth
,
end
]);
},
},
{
text
:
"最近六个月"
,
onClick
(
picker
)
{
const
end
=
new
Date
();
const
start
=
new
Date
();
let
year
=
start
.
getFullYear
();
let
month
=
start
.
getMonth
()
-
5
;
if
(
month
===
0
)
{
month
=
12
;
year
=
year
-
1
;
}
if
(
month
<
0
)
{
month
=
12
+
month
;
year
=
year
-
1
;
}
if
(
month
<
10
&&
month
>
0
)
{
month
=
"0"
+
month
;
}
let
firstDayOfPreMonth
=
year
+
"-"
+
month
+
"-"
+
start
.
getDate
();
firstDayOfPreMonth
=
new
Date
(
firstDayOfPreMonth
);
picker
.
$emit
(
"pick"
,
[
firstDayOfPreMonth
,
end
]);
},
},
{
text
:
"最近一年"
,
onClick
(
picker
)
{
const
end
=
new
Date
();
const
start
=
new
Date
();
let
year
=
start
.
getFullYear
();
let
month
=
start
.
getMonth
()
-
11
;
if
(
month
===
0
)
{
month
=
12
;
year
=
year
-
1
;
}
if
(
month
<
0
)
{
month
=
12
+
month
;
year
=
year
-
1
;
}
if
(
month
<
10
&&
month
>
0
)
{
month
=
"0"
+
month
;
}
let
firstDayOfPreMonth
=
year
+
"-"
+
month
+
"-"
+
start
.
getDate
();
firstDayOfPreMonth
=
new
Date
(
firstDayOfPreMonth
);
picker
.
$emit
(
"pick"
,
[
firstDayOfPreMonth
,
end
]);
},
},
],
},
},
{
name
:
"性别"
,
id
:
"xbdm"
,
type
:
"select"
,
value
:
""
,
placeholder
:
"请选择"
,
col
:
"3"
,
selectData
:
[
{
value
:
"0"
,
name
:
"未知的性别"
},
{
value
:
"1"
,
name
:
"男"
},
{
value
:
"2"
,
name
:
"女"
},
{
value
:
"9"
,
name
:
"未说明的性别"
},
],
},
],
};
},
};
</
script
>
<
style
scoped
>
</
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