Commit 4a7f856d by zhangzhijie

个人效能评估还原,海南本模块跟西藏和湖南的不一样

parent d91a913e
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:selectedPropAllformThead="AllformThead"
:selectedPropdefaultCheckedThead="defaultCheckedThead"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@tableDy="tableDy"
ref="rightContent"
menuIdPgbg="gr"
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:selectedPropAllformThead="AllformThead"
:selectedPropdefaultCheckedThead="defaultCheckedThead"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@tableDy="tableDy"
ref="rightContent"
menuIdPgbg="gr"
>
<template #listOperation="scope">
<span class="hbyp" @click="addCY(scope.scope)">导出</span>
......@@ -375,10 +375,28 @@ export default {
],
},
{
id: "queryGrxnfx",
label: "个人效能分析",
id: "queryJfgl",
label: "积分管理",
newAuth: "M01",
index: "queryGrxnfx",
index: "queryJfgl",
className: "iconfont icongongnengfuwu",
hasChildren: false,
children: [],
},
{
id: "queryJfxs",
label: "积分悬赏",
newAuth: "M01",
index: "queryJfxs",
className: "iconfont icongongnengfuwu",
hasChildren: false,
children: [],
},
{
id: "queryJftj",
label: "积分考评",
newAuth: "M01",
index: "queryJftj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
children: [],
......@@ -393,7 +411,7 @@ export default {
this.getMenuBtCX(); // 表头设置
},
methods: {
addFbbg() {
addFbbg() {
if (this.cxFormData.kssj && this.cxFormData.jssj) {
this.$router.pushToTab({
......@@ -526,24 +544,24 @@ export default {
background: "rgba(255, 255, 255, 0.7)",
});
axios
.post(`${base.alyIP}/dwGrXnpg/dcGrXnpg`, params, {
responseType: "blob",
})
.then((res) => {
loading.close();
let blob = new Blob([res], {
type: "application/vnd.ms-excel",
.post(`${base.alyIP}/dwGrXnpg/dcGrXnpg`, params, {
responseType: "blob",
})
.then((res) => {
loading.close();
let blob = new Blob([res], {
type: "application/vnd.ms-excel",
});
// 组装a标签
let elink = document.createElement("a");
// 设置下载文件名
elink.download = "个人效能评估.xls";
elink.style.display = "none";
elink.href = URL.createObjectURL(blob);
document.body.appendChild(elink);
elink.click();
document.body.removeChild(elink);
});
// 组装a标签
let elink = document.createElement("a");
// 设置下载文件名
elink.download = "个人效能评估.xls";
elink.style.display = "none";
elink.href = URL.createObjectURL(blob);
document.body.appendChild(elink);
elink.click();
document.body.removeChild(elink);
});
},
// // 单位下钻
// toInfor(scope) {
......@@ -613,9 +631,9 @@ export default {
tableData[i].bsqrName = tableData[i].btxxCn.split(",");
tableData[i].bsqrajNum = tableData[i].btxxEn.split(",");
for (
let j = 0;
j < tableData[i].bsqrName.length && tableData[i].bsqrajNum.length;
j++
let j = 0;
j < tableData[i].bsqrName.length && tableData[i].bsqrajNum.length;
j++
) {
tableData[i].bsqrList.push({
label: tableData[i].bsqrName[j],
......
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