Commit c57b682f by gao_yingdong

统计评估

parent e3d08458
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
class="el-menu-vertical-demo" class="el-menu-vertical-demo"
@open="handleMenuOpen" @open="handleMenuOpen"
@close="handleMenuClose" @close="handleMenuClose"
:unique-opened="isOpenOnly"
:collapse="isCollapse" :collapse="isCollapse"
active-text-color="#409EFF" active-text-color="#409EFF"
background-color="#fff" background-color="#fff"
...@@ -53,6 +54,7 @@ export default { ...@@ -53,6 +54,7 @@ export default {
}, },
data() { data() {
return { return {
isOpenOnly: true,
isCollapse: false, isCollapse: false,
leftMenu: this.propLeftMenu, leftMenu: this.propLeftMenu,
currentBar: '1', currentBar: '1',
......
...@@ -386,21 +386,36 @@ export default { ...@@ -386,21 +386,36 @@ 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 = `&op=view&tjdw=${json.unitcode}&kssj=${kssj}&jssj=${jssj}`; let 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(
"http://80.2.21.62:8080/WebReport/ReportServer?reportlet=XZXT_TJBB%2FNMXZ%2Fkhtjb.cpt" + "http://10.100.17.124:9080/webroot/decision/view/report?viewlet=XZKHTJ%252FBHGTJB%252Fbhgsjb.cpt" +
params params
); );
} else if (this.name == "rykhtj") { } else if (this.name == "rykhtj") {
window.open( 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 params
); );
} else if (this.name == "khbhgtj") { }else if (this.name == "jzrytJ") {
window.open( 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 params
); );
} }
......
...@@ -47,6 +47,30 @@ export default[ ...@@ -47,6 +47,30 @@ export default[
title: "统计评估" 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: "统计评估"
}
},
] ]
}, },
{ {
......
...@@ -12617,22 +12617,58 @@ let tjpgHeaderIcon = 'iconshujuziyuan' ...@@ -12617,22 +12617,58 @@ let tjpgHeaderIcon = 'iconshujuziyuan'
let tjpgPropLeftMenu = [ let tjpgPropLeftMenu = [
{ {
id: 'ajkhtj', id: 'ajkhtj',
label: '案件考核统计', label: '不合格统计',
index: '1', index: '1',
className: 'iconfont iconshujuziyuan' className: 'iconfont iconshujuziyuan',
children: [
{
id: 'ajkhtj',
label: '案件人员不合格统计',
index: '1',
},
]
}, },
{ {
id: 'rykhtj', id: 'rykhtj',
label: '人员考核统计', label: '工作量化统计',
index: '2', 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', id: 'khbhgtj',
label: '考核不合格统计', label: '绩效考核统计',
index: '3', 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 = { ...@@ -12757,6 +12793,369 @@ let tjpgFormData = {
cxSj: '', cxSj: '',
unitcode: '', 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 = [ let tjpgCxQueryField1 = [
{ {
name: '单位代码', name: '单位代码',
...@@ -13011,6 +13410,12 @@ export { ...@@ -13011,6 +13410,12 @@ export {
tjpgFormData1, tjpgFormData1,
tjpgCxQueryField2, tjpgCxQueryField2,
tjpgFormData2, tjpgFormData2,
tjpgCxQueryFieldSs,
tjpgFormDataSs,
tjpgCxQueryFieldJz,
tjpgFormDataSsjz,
tjpgCxQueryFieldGRTj,
tjpgFormDataGRTj,
/*基础查询界面--数据*/ /*基础查询界面--数据*/
jccxFormData, jccxFormData,
jccxHeaderTitle, jccxHeaderTitle,
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
:default-active="currentBar" :default-active="currentBar"
class="el-menu-vertical-demo" class="el-menu-vertical-demo"
@open="handleMenuOpen" @open="handleMenuOpen"
:unique-opened="isOpenOnly"
@close="handleMenuClose" @close="handleMenuClose"
:collapse="isCollapse" :collapse="isCollapse"
active-text-color="#409EFF" active-text-color="#409EFF"
...@@ -53,6 +54,7 @@ ...@@ -53,6 +54,7 @@
}, },
data() { data() {
return { return {
isOpenOnly: true,
isCollapse: false, isCollapse: false,
leftMenu: this.propLeftMenu, leftMenu: this.propLeftMenu,
currentBar: '1', currentBar: '1',
......
<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>
<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>
<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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment