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
c57b682f
Commit
c57b682f
authored
Mar 28, 2022
by
gao_yingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计评估
parent
e3d08458
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
552 additions
and
11 deletions
+552
-11
src/components/leftMenu_components.vue
+2
-0
src/components/ptCxForm_componentsTjpg.vue
+20
-5
src/router/modules/index.js
+24
-0
src/utils/params.js
+411
-6
src/views/ryda/leftMenu.vue
+2
-0
src/views/tjpg/gRjftj.vue
+31
-0
src/views/tjpg/jzrytJ.vue
+31
-0
src/views/tjpg/ssRytj.vue
+31
-0
No files found.
src/components/leftMenu_components.vue
View file @
c57b682f
...
...
@@ -11,6 +11,7 @@
class=
"el-menu-vertical-demo"
@
open=
"handleMenuOpen"
@
close=
"handleMenuClose"
:unique-opened=
"isOpenOnly"
:collapse=
"isCollapse"
active-text-color=
"#409EFF"
background-color=
"#fff"
...
...
@@ -53,6 +54,7 @@ export default {
},
data
()
{
return
{
isOpenOnly
:
true
,
isCollapse
:
false
,
leftMenu
:
this
.
propLeftMenu
,
currentBar
:
'1'
,
...
...
src/components/ptCxForm_componentsTjpg.vue
View file @
c57b682f
...
...
@@ -386,21 +386,36 @@ export default {
if
(
json
.
unitcode
&&
json
.
cxSj
)
{
let
kssj
=
json
.
cxSj
.
substring
(
0
,
10
);
let
jssj
=
json
.
cxSj
.
substring
(
22
,
32
);
let
params
=
`&
op=view
&tjdw=
${
json
.
unitcode
}
&kssj=
${
kssj
}
&jssj=
${
jssj
}
`
;
let
params
=
`&
__bypagesize__=false
&tjdw=
${
json
.
unitcode
}
&kssj=
${
kssj
}
&jssj=
${
jssj
}
`
;
console
.
log
(
params
);
if
(
this
.
name
==
"ajkhtj"
)
{
window
.
open
(
"http://
80.2.21.62:8080/WebReport/ReportServer?reportlet=XZXT_TJBB%2FNMXZ%2Fkht
jb.cpt"
+
"http://
10.100.17.124:9080/webroot/decision/view/report?viewlet=XZKHTJ%252FBHGTJB%252Fbhgs
jb.cpt"
+
params
);
}
else
if
(
this
.
name
==
"rykhtj"
)
{
window
.
open
(
"http://
80.2.21.62:8080/WebReport/ReportServer?reportlet=XZXT_TJBB%2FNMXZ%2Fryxxkhb
.cpt"
+
"http://
10.100.17.124:9080/webroot/decision/view/report?viewlet=XZKHTJ%252FGZLHB%252FZHXZJSGZLHB
.cpt"
+
params
);
}
else
if
(
this
.
name
==
"khbhgtj
"
)
{
}
else
if
(
this
.
name
==
"jzrytJ
"
)
{
window
.
open
(
"http://80.2.21.62:8080/WebReport/ReportServer?reportlet=XZXT_TJBB%2FNMXZ%2Fbhgsjb.cpt"
+
"http://10.100.17.124:9080/webroot/decision/view/report?viewlet=XZKHTJ%252FGZLHB%252FZHXZJSGZLHB_JZDCRY.cpt"
+
params
);
}
else
if
(
this
.
name
==
"ssRytj"
)
{
window
.
open
(
"http://10.100.17.124:9080/webroot/decision/view/report?viewlet=XZKHTJ%252FGZLHB%252FZHXZJSGZLHB_SSRY.cpt"
+
params
);
}
else
if
(
this
.
name
==
"khbhgtj"
)
{
window
.
open
(
"http://10.100.17.124:9080/webroot/decision/view/report?viewlet=XZKHTJ%252FGZLHB%252FJXKHTJB.cpt"
+
params
);
}
else
if
(
this
.
name
==
"gRjftj"
)
{
window
.
open
(
"http://10.100.17.124:9080/webroot/decision/view/report?viewlet=XZKHTJ%252FJFKH%252FJFKHTJB.cpt"
+
params
);
}
...
...
src/router/modules/index.js
View file @
c57b682f
...
...
@@ -47,6 +47,30 @@ export default[
title
:
"统计评估"
}
},
{
path
:
"gRjftj"
,
name
:
"gRjftj"
,
component
:
()
=>
import
(
"@/views/tjpg/gRjftj.vue"
),
meta
:
{
title
:
"统计评估"
}
},
{
path
:
"jzrytJ"
,
name
:
"jzrytJ"
,
component
:
()
=>
import
(
"@/views/tjpg/jzrytJ.vue"
),
meta
:
{
title
:
"统计评估"
}
},
{
path
:
"ssRytj"
,
name
:
"ssRytj"
,
component
:
()
=>
import
(
"@/views/tjpg/ssRytj.vue"
),
meta
:
{
title
:
"统计评估"
}
},
]
},
{
...
...
src/utils/params.js
View file @
c57b682f
...
...
@@ -12617,22 +12617,58 @@ let tjpgHeaderIcon = 'iconshujuziyuan'
let
tjpgPropLeftMenu
=
[
{
id
:
'ajkhtj'
,
label
:
'
案件考核
统计'
,
label
:
'
不合格
统计'
,
index
:
'1'
,
className
:
'iconfont iconshujuziyuan'
className
:
'iconfont iconshujuziyuan'
,
children
:
[
{
id
:
'ajkhtj'
,
label
:
'案件人员不合格统计'
,
index
:
'1'
,
},
]
},
{
id
:
'rykhtj'
,
label
:
'
人员考核
统计'
,
label
:
'
工作量化
统计'
,
index
:
'2'
,
className
:
'iconfont icongonggongfuwuyunkong'
className
:
'iconfont icongonggongfuwuyunkong'
,
children
:
[
{
id
:
'rykhtj'
,
label
:
'案件人员统计'
,
index
:
'2-1'
,
},
{
id
:
'jzrytJ'
,
label
:
'警综人员统计'
,
index
:
'2-2'
,
},
{
id
:
'ssRytj'
,
label
:
'三所人员统计'
,
index
:
'2-3'
,
},
]
},
{
id
:
'khbhgtj'
,
label
:
'
考核不合格
统计'
,
label
:
'
绩效考核
统计'
,
index
:
'3'
,
className
:
'iconfont iconshengbuduijiefuwuyunkong'
className
:
'iconfont iconshengbuduijiefuwuyunkong'
,
children
:
[
{
id
:
'khbhgtj'
,
label
:
'智慧刑侦考核统计'
,
index
:
'3-1'
,
},
{
id
:
'gRjftj'
,
label
:
'个人积分统计'
,
index
:
'3-2'
,
},
]
},
]
...
...
@@ -12757,6 +12793,369 @@ let tjpgFormData = {
cxSj
:
''
,
unitcode
:
''
,
}
let
tjpgCxQueryFieldSs
=
[
{
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
])
}
}
]
}
},
]
let
tjpgFormDataSs
=
{
cxSj
:
''
,
unitcode
:
''
,
}
let
tjpgCxQueryFieldJz
=
[
{
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
])
}
}
]
}
},
]
let
tjpgFormDataSsjz
=
{
cxSj
:
''
,
unitcode
:
''
,
}
let
tjpgCxQueryFieldGRTj
=
[
{
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
])
}
}
]
}
},
]
let
tjpgFormDataGRTj
=
{
cxSj
:
''
,
unitcode
:
''
,
}
let
tjpgCxQueryField1
=
[
{
name
:
'单位代码'
,
...
...
@@ -13011,6 +13410,12 @@ export {
tjpgFormData1
,
tjpgCxQueryField2
,
tjpgFormData2
,
tjpgCxQueryFieldSs
,
tjpgFormDataSs
,
tjpgCxQueryFieldJz
,
tjpgFormDataSsjz
,
tjpgCxQueryFieldGRTj
,
tjpgFormDataGRTj
,
/*基础查询界面--数据*/
jccxFormData
,
jccxHeaderTitle
,
...
...
src/views/ryda/leftMenu.vue
View file @
c57b682f
...
...
@@ -10,6 +10,7 @@
:default-active=
"currentBar"
class=
"el-menu-vertical-demo"
@
open=
"handleMenuOpen"
:unique-opened=
"isOpenOnly"
@
close=
"handleMenuClose"
:collapse=
"isCollapse"
active-text-color=
"#409EFF"
...
...
@@ -53,6 +54,7 @@
},
data
()
{
return
{
isOpenOnly
:
true
,
isCollapse
:
false
,
leftMenu
:
this
.
propLeftMenu
,
currentBar
:
'1'
,
...
...
src/views/tjpg/gRjftj.vue
0 → 100644
View file @
c57b682f
<
template
>
<div>
<right-content
:cxQueryField=
"cxQueryField"
:cxFormData=
"cxFormData"
:name=
'name'
></right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/ptCxForm_componentsTjpg.vue"
;
import
{
tjpgCxQueryFieldGRTj
,
tjpgFormDataGRTj
}
from
"@/utils/params"
;
export
default
{
name
:
"ajkhtj"
,
components
:
{
rightContent
,
},
data
()
{
return
{
name
:
'gRjftj'
,
cxFormData
:
tjpgFormDataGRTj
,
cxQueryField
:
tjpgCxQueryFieldGRTj
,
};
},
};
</
script
>
<
style
scoped
>
</
style
>
src/views/tjpg/jzrytJ.vue
0 → 100644
View file @
c57b682f
<
template
>
<div>
<right-content
:cxQueryField=
"cxQueryField"
:cxFormData=
"cxFormData"
:name=
'name'
></right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/ptCxForm_componentsTjpg.vue"
;
import
{
tjpgCxQueryFieldJz
,
tjpgFormDataSsjz
}
from
"@/utils/params"
;
export
default
{
name
:
"ajkhtj"
,
components
:
{
rightContent
,
},
data
()
{
return
{
name
:
'jzrytJ'
,
cxFormData
:
tjpgFormDataSsjz
,
cxQueryField
:
tjpgCxQueryFieldJz
,
};
},
};
</
script
>
<
style
scoped
>
</
style
>
src/views/tjpg/ssRytj.vue
0 → 100644
View file @
c57b682f
<
template
>
<div>
<right-content
:cxQueryField=
"cxQueryField"
:cxFormData=
"cxFormData"
:name=
'name'
></right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/ptCxForm_componentsTjpg.vue"
;
import
{
tjpgCxQueryFieldSs
,
tjpgFormDataSs
}
from
"@/utils/params"
;
export
default
{
name
:
"ajkhtj"
,
components
:
{
rightContent
,
},
data
()
{
return
{
name
:
'ssRytj'
,
cxFormData
:
tjpgFormDataSs
,
cxQueryField
:
tjpgCxQueryFieldSs
,
};
},
};
</
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