Commit 6600719b by gao_yingdong

个人效能评估, 单位效能评估

parent 2072089b
......@@ -28,4 +28,13 @@ post(`${base.alyIP}/ywgz/queryAllByPerson`, params);
//获取单位系统业务效能评估情况
export const querySysDlrzAllByPerson = params =>
post(`${base.alyIP}/sysDlrz/queryAllByPerson`, params);
\ No newline at end of file
post(`${base.alyIP}/sysDlrz/queryAllByPerson`, params);
// 21.2.4下级单位辖区工作情况分析
export const pageXjdwxqgzqkfx = params =>
post(`${base.alyIP}/ywgz/pageXjdwxqgzqkfx`, params);
// 21.2.5下级单位系统使用情况分析
export const sysDlrzpageXjdwxtsyqkfx = params =>
post(`${base.alyIP}/sysDlrz/pageXjdwxtsyqkfx`, params);
\ No newline at end of file
......@@ -419,6 +419,8 @@
pageBs != 'queryZjcljcqk' &&
pageBs != 'queryFzth' &&
pageBs != 'queryShseaj' &&
pageBs != 'queryDwxnpg' &&
pageBs != 'queryGrxnpg' &&
pageBs != 'queryWjpj' &&
pageBs != 'queryShsery' &&
pageBs != 'qyeryrlqbxsBJ'
......@@ -1090,6 +1092,8 @@
!(
pageBs == 'gnsyrz' ||
pageBs == 'jdcxsGl' ||
pageBs == 'queryGrxnpg' ||
pageBs == 'queryDwxnpg' ||
pageBs == 'hmxsGl' ||
pageBs == 'ryxsGl' ||
pageBs == 'queryQzlb' ||
......
......@@ -25,6 +25,8 @@ import bjzycxRoutes from "./modules/bjzycx";
import hbyprwRoutes from "./modules/hbyprw";
import ywgzxnpgRoutes from "./modules/ywgzxnpg";
import hxgcRoutes from "./modules/hxgc";
import grxnpgRoutes from "./modules/grxnpg";
import dwxnpgRoutes from "./modules/dwxnpg";
import dswtzRoutes from "./modules/dswtz";
import yhzRoutes from "./modules/yhz";
import zczlRoutes from "./modules/zczl";
......@@ -80,6 +82,8 @@ const mainRouters = [
xsjsdbRoutes,
zjclRoutes,
userAuthRoutes,
grxnpgRoutes,
dwxnpgRoutes,
hbyprwRoutes,
shseRoutes,
ajxscxbdRoutes,
......
import menuLayout from "@/layout/menuLayout.vue";
const menuLayouts = [
{
path: "/queryDwxnpg",
name: "queryDwxnpg",
meta: {
title: '单位效能评估',
auth: '5'
},
component: () => import("@/views/sf/queryDwxnpg.vue")
},
];
export default {
path: "/right",
component: menuLayout,
children: [...menuLayouts]
};
\ No newline at end of file
import menuLayout from "@/layout/menuLayout.vue";
const menuLayouts = [
{
path: "/queryGrxnpg",
name: "queryGrxnpg",
meta: {
title: '个人效能评估',
auth: '5'
},
component: () => import("@/views/sf/queryGrxnpg.vue")
},
];
export default {
path: "/right",
component: menuLayout,
children: [...menuLayouts]
};
\ No newline at end of file
......@@ -137,11 +137,14 @@
<el-table-column property="unitcode" label="单位代码"></el-table-column>
<el-table-column property="telephone" label="手机号"></el-table-column>
</el-table>
<div slot="footer" class="dialog-footer" style="margin:5px">
<el-button @click="dialogTableVisible = false" size="mini" style="margin-right:10px !important">取 消</el-button>
<el-button type="primary" @click="toSure" size="mini"
>确 定</el-button
<div slot="footer" class="dialog-footer" style="margin: 5px">
<el-button
@click="dialogTableVisible = false"
size="mini"
style="margin-right: 10px !important"
>取 消</el-button
>
<el-button type="primary" @click="toSure" size="mini">确 定</el-button>
</div>
</el-dialog>
</div>
......@@ -311,16 +314,16 @@ export default {
rules: {
sfhm: this.$rules.emptyAbleIdentityBT,
},
loading:null
loading: null,
};
},
created() {
this.loading = this.$loading({
lock: true,
text: "正在查询...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
this.loading = this.$loading({
lock: true,
text: "正在查询...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
this.$store.commit("user/SET_Menu", this.Menu);
this.cxFormData.kssj = new Date().getFullYear() + "-01";
this.cxFormData.jssj =
......@@ -331,27 +334,27 @@ export default {
},
methods: {
handleSelectionChange(val) {
debugger
this.$set(this.cxFormData,'sfhm',val[0].identitycard)
debugger;
this.$set(this.cxFormData, "sfhm", val[0].identitycard);
this.multipleSelection = val;
},
toSure() {
if(this.multipleSelection.length == 1){
debugger
if (this.multipleSelection.length == 1) {
debugger;
this.dialogTableVisible = false;
}else if(this.multipleSelection.length == 0){
this.$message.error('请选择用户');
}else{
this.$message.error('最多选择一条用户');
} else if (this.multipleSelection.length == 0) {
this.$message.error("请选择用户");
} else {
this.$message.error("最多选择一条用户");
}
},
getQueryUserByPo() {
this.loading = this.$loading({
lock: true,
text: "正在查询...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
this.loading = this.$loading({
lock: true,
text: "正在查询...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
const form = {
page: 1,
limit: 10,
......@@ -361,7 +364,7 @@ export default {
if (res.success) {
this.userList = res.data.rows;
this.dialogTableVisible = true;
this.loading.close()
this.loading.close();
}
});
},
......@@ -535,7 +538,7 @@ export default {
});
this.startMyEcharts1(hData1, zData1);
self.headerInfo1 = `${self.cxFormData.kssj}${self.cxFormData.jssj}${res.data.name}共接受案事件${res.data.rows[0].jsasjs}起,
处理立案${res.data.rows[0].las}起,侦查终结案事件${res.data.rows[0].zczjs}起。立案信息采集率为XX%、立案侦查终结率为${res.data.rows[0].zczjl}`;
处理立案${res.data.rows[0].las}起,侦查终结案事件${res.data.rows[0].zczjs}起。立案信息采集率为${res.data.rows[0].lal}、立案侦查终结率为${res.data.rows[0].zczjl}`;
}
self.tableBarData = res.data.rows;
} else {
......@@ -565,7 +568,7 @@ export default {
人力情报${res.data.rows[0].rlqb}起,阵地管控${res.data.rows[0].zdgk}起、处理组织犯罪${res.data.rows[0].zzfz}起、发起次数${res.data.rows[0].fqcs}次。`;
}
self.tableLineData = res.data.rows;
self.loading.close()
self.loading.close();
}
});
},
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@toInfor='toInfor'
ref="rightContent"
>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
export default {
name: "queryGrxnpg",
components: {
rightContent,
},
data() {
return {
header: "单位效能评估",
pageBs: "queryDwxnpg",
cxFormData: {
limit: 10,
page: 1,
},
cxDefaultFormThead: [
// {
// label: "序列号",
// // toInfor: true,
// prop: "id",
// },
{
label: "单位代码",
toInfor: true,
prop: "code",
// width: "200",
},
{
label: "单位名称",
prop: "name",
// width: "200",
},
],
cxUrl: "/ywgz/pageDwxnpglb",
Menu: [
// zylx:"asj",
{
id: "queryDwxnpg",
label: "单位效能评估列表",
index: "queryDwxnpg",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryDwxnpg",
label: "单位效能评估列表",
newAuth: "M01",
index: "queryDwxnpg",
className: "iconfont icongongnengfuwu",
hasChildren: false,
children: [],
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
toInfor(scope) {
this.$router.pushToTab({
path: '/dwxnpgbg',
query: {
unitcode: scope.code
}
})
},
},
watch: {},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
.el-form-item {
margin: 15px 0 20px 0;
}
.red {
color: red;
}
.black {
color: black;
}
@import "@/assets/styles/rightContent.scss";
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
}
</style>
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@toInfor='toInfor'
ref="rightContent"
>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
export default {
name: "queryGrxnpg",
components: {
rightContent,
},
data() {
return {
header: "个人效能评估",
pageBs: "queryGrxnpg",
cxFormData: {
limit: 10,
page: 1,
},
cxDefaultFormThead: [
// {
// label: "序列号",
// // toInfor: true,
// prop: "id",
// },
{
label: "用户单位",
prop: "name",
// width: "200",
},
{
label: "用户账户",
prop: "username",
toInfor: true,
// width: "200",
},
{
label: "用户姓名",
prop: "trueName",
// width: "200",
},
{
label: "联系电话",
prop: "telephone",
// width: "200",
},
],
cxUrl: "/ywgz/pageGrxnpglb",
Menu: [
// zylx:"asj",
{
id: "queryGrxnpg",
label: "个人效能评估列表",
index: "queryGrxnpg",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryGrxnpg",
label: "个人效能评估列表",
newAuth: "M01",
index: "queryGrxnpg",
className: "iconfont icongongnengfuwu",
hasChildren: false,
children: [],
},
],
selectArr: [],
revokeVisiable: false,
ckForm: {
file: "",
},
fileArr: [],
zdXxzjbh: "",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
toInfor(scope) {
this.$router.pushToTab({
path: '/grxnpgbg',
})
},
},
watch: {},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
.el-form-item {
margin: 15px 0 20px 0;
}
.red {
color: red;
}
.black {
color: black;
}
@import "@/assets/styles/rightContent.scss";
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
}
</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