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
4a7f856d
Commit
4a7f856d
authored
Oct 30, 2023
by
zhangzhijie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人效能评估还原,海南本模块跟西藏和湖南的不一样
parent
d91a913e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
35 deletions
+53
-35
src/views/xnpgbg/grxnpg.vue
+53
-35
No files found.
src/views/xnpgbg/grxnpg.vue
View file @
4a7f856d
<
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
:
"query
Grxnfx
"
,
label
:
"
个人效能分析
"
,
id
:
"query
Jfgl
"
,
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
],
...
...
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