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
67742fad
Commit
67742fad
authored
Aug 29, 2023
by
zhangzhijie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人力情报线索工作效能评估模块调整
parent
324aa3ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
101 additions
and
47 deletions
+101
-47
src/views/ajzcgzxnpg/ajzcgzxnpg.vue
+35
-1
src/views/rlqbxsxx/rlqbtj.vue
+66
-46
No files found.
src/views/ajzcgzxnpg/ajzcgzxnpg.vue
View file @
67742fad
...
...
@@ -591,12 +591,46 @@ export default {
children
:
[
{
id
:
"rlqbtj"
,
label
:
"
人力情报考核
统计"
,
label
:
"
线索即席
统计"
,
index
:
"rlqbtj"
,
auth
:
"M0101"
,
className
:
"iconfont iconrizhi"
,
disabled
:
false
,
},
{
id
:
"dwtj"
,
label
:
"线索多维统计"
,
index
:
"dwtj"
,
auth
:
"M0101"
,
className
:
"iconfont iconrizhi"
,
disabled
:
false
,
},
{
id
:
"khtj"
,
label
:
"线索考核统计报表"
,
newAuth
:
"M0101"
,
index
:
"khtj"
,
className
:
"iconfont icongongnengfuwu"
,
hasChildren
:
true
,
children
:
[
{
id
:
"khtj"
,
label
:
"线索初查情况"
,
index
:
"khtj"
,
auth
:
"M010101"
,
className
:
"iconfont iconrizhi"
,
hasChildren
:
false
,
}
]
},
{
id
:
"dwtj"
,
label
:
"线索考核历史报表"
,
index
:
"lsbb"
,
auth
:
"M0101"
,
className
:
"iconfont iconrizhi"
,
disabled
:
false
,
},
// {
// id: "rlqbtj",
// label: "人力情报婚姻统计",
...
...
src/views/rlqbxsxx/rlqbtj.vue
View file @
67742fad
...
...
@@ -42,15 +42,17 @@
<select-tree-dialog
placeholder=
"请选择单位"
:sendId=
"formData.xsfbdw"
:formData=
"formData"
:currentItem=
"dwObj"
/>
:currentItem=
"dwObj"
/>
</el-form-item>
</el-col>
<el-col
:span=
"3"
v-if=
"rlPropData.searchButton"
>
<div
@
click=
"cleanData()"
class=
"cleanButton"
>
重置
</div>
class=
"cleanButton"
>
重置
</div>
<div
@
click=
"doQueryRlData()"
class=
"searchButton"
>
查询
</div>
class=
"searchButton"
>
查询
</div>
</el-col>
<el-col
:span=
"6"
>
<span
@
click=
"print"
...
...
@@ -158,16 +160,16 @@
<div
class=
"ajxq_s"
>
<span
class=
"none"
v-html=
"scope.row[columnTitle.prop]"
></span><a
href=
"javascript:void(0);"
onclick=
'javascript:this.parentNode.style.display="none";this.parentNode.nextSibling.style.display="block"'
style=
"
onclick=
'javascript:this.parentNode.style.display="none";this.parentNode.nextSibling.style.display="block"'
style=
"
display: inline-block;
width: 100%;
text-align: right;
color: #3692c6;
font-weight: 600;
"
id=
"open"
v-show=
"
id=
"open"
v-show=
"
scope.row[columnTitle.prop] != '' &&
scope.row[columnTitle.prop] != null
"
>
展开
</a>
...
...
@@ -176,10 +178,10 @@
style=
"display: none"
>
<span
style=
"display: block"
v-html=
"scope.row[columnTitle.prop]"
></span><a
href=
"javascript:void(0);"
onclick=
'javascript:this.parentNode.style.display="none";this.parentNode.previousSibling.style.display="block"'
style=
"float: right; color: #3692c6; font-weight: 600"
id=
"stop"
v-show=
"
onclick=
'javascript:this.parentNode.style.display="none";this.parentNode.previousSibling.style.display="block"'
style=
"float: right; color: #3692c6; font-weight: 600"
id=
"stop"
v-show=
"
scope.row[columnTitle.prop] != '' &&
scope.row[columnTitle.prop] != null
"
>
收起
</a>
...
...
@@ -211,7 +213,8 @@
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
SelectTreeDialog
from
"@c/treeCode_components.vue"
;
import
{
getRlqbxxtj
,
getAjTjtsg
,
getAjTjGlajxx
}
from
"@/api/rlqbxs.js"
;
import
{
getRlqbxxtj
,
getAjTjtsg
,
getAjTjGlajxx
}
from
"@/api/rlqbxs.js"
;
export
default
{
components
:
{
rightContent
,
...
...
@@ -220,10 +223,11 @@ export default {
props
:
{
rlProp
:
{
type
:
Object
,
default
:
()
=>
{
}
default
:
()
=>
{
}
}
},
data
()
{
data
()
{
return
{
rlPropData
:
{},
header
:
"人力情报线索效能评估"
,
...
...
@@ -364,7 +368,7 @@ export default {
};
},
methods
:
{
toDetail
(
scope
)
{
toDetail
(
scope
)
{
this
.
$router
.
pushToTab
({
path
:
"/detailRlqbxs"
,
query
:
{
...
...
@@ -372,10 +376,10 @@ export default {
},
});
},
print
()
{
print
()
{
this
.
htmlToExcels
.
exportExcel
(
"列表详情.xlsx"
,
"#ajzbQuery"
);
},
showDialog
(
dwcode
,
label
)
{
showDialog
(
dwcode
,
label
)
{
this
.
dialogG
=
false
;
this
.
dialogA
=
false
;
console
.
log
(
dwcode
);
...
...
@@ -425,12 +429,12 @@ export default {
}
this
.
dialog
=
true
;
},
xtt
(
scope
)
{
xtt
(
scope
)
{
// this.tableLayer.push(this.formData.xsfbdw);
// this.formData.xsfbdw = scope.row.unitcode;
this
.
doQueryRlData
(
scope
);
},
doQueryRlData
(
scope
)
{
doQueryRlData
(
scope
)
{
this
.
tableLoading
=
true
var
self
=
this
;
var
params
=
new
FormData
();
...
...
@@ -472,31 +476,31 @@ export default {
}
});
},
goBack
()
{
goBack
()
{
if
(
this
.
tableLayer
.
length
==
1
)
{
this
.
tableLayer
=
[];
}
let
pops
=
this
.
tableLayer
.
length
>
1
?
this
.
tableLayer
.
splice
(
this
.
tableLayer
.
length
-
2
,
1
).
join
()
:
"46
0000000000"
;
this
.
tableLayer
.
length
>
1
?
this
.
tableLayer
.
splice
(
this
.
tableLayer
.
length
-
2
,
1
).
join
()
:
"54
0000000000"
;
this
.
formData
.
xsfbdw
=
pops
;
console
.
log
(
pops
);
this
.
doQueryRlData
();
},
cleanData
()
{
cleanData
()
{
let
year
=
new
Date
().
getFullYear
(),
month
=
new
Date
().
getMonth
()
+
1
,
lastDate
=
new
Date
(
year
,
month
,
0
).
getDate
()
month
=
new
Date
().
getMonth
()
+
1
,
lastDate
=
new
Date
(
year
,
month
,
0
).
getDate
()
this
.
formData
.
djsjkssj
=
this
.
$moment
(
new
Date
(
`
${
year
}
-
${
month
}
-01`
).
getTime
()
new
Date
(
`
${
year
}
-
${
month
}
-01`
).
getTime
()
).
format
(
"YYYY-MM-DD"
);
this
.
formData
.
djsjjssj
=
this
.
$moment
(
new
Date
(
`
${
year
}
-
${
month
}
-
${
lastDate
}
`
).
getTime
()
new
Date
(
`
${
year
}
-
${
month
}
-
${
lastDate
}
`
).
getTime
()
).
format
(
"YYYY-MM-DD"
);
this
.
formData
.
xsfbdw
=
"
46
0000000000"
;
this
.
formData
.
xsfbdw
=
"
54
0000000000"
;
},
findchildren
()
{
findchildren
()
{
// this.formData.xsfbdw
},
// detectChildren(arr) {
...
...
@@ -525,34 +529,40 @@ export default {
// return arr;
// },
},
mounted
()
{
mounted
()
{
console
.
log
(
this
.
$route
.
path
)
this
.
rlPropData
=
{
searchButton
:
this
.
rlProp
?.
searchButton
??
false
,
xsfbdw
:
this
.
rlProp
?.
xsfbdw
??
false
,
disabled
:
this
.
rlProp
?.
disabled
??
true
}
if
(
this
.
$route
.
path
==
'/rlqbtj'
)
{
this
.
rlPropData
.
disabled
=
true
;
}
else
{
this
.
rlPropData
.
disabled
=
false
;
}
//初始化图形
this
.
doQueryRlData
();
let
self
=
this
;
/*获取字典*/
axios
.
get
(
`JsonData/CODE_UNIT.json`
)
.
then
((
res
)
=>
{
self
.
$set
(
this
.
dwObj
,
"codeOptions"
,
res
.
data
.
data
.
rows
);
this
.
dwcodeOption
=
res
.
data
.
data
.
rows
;
console
.
log
(
this
.
dwcodeOption
);
})
.
catch
((
err
)
=>
{
console
.
log
(
err
);
});
.
get
(
`JsonData/CODE_UNIT.json`
)
.
then
((
res
)
=>
{
self
.
$set
(
this
.
dwObj
,
"codeOptions"
,
res
.
data
.
data
.
rows
);
this
.
dwcodeOption
=
res
.
data
.
data
.
rows
;
console
.
log
(
this
.
dwcodeOption
);
})
.
catch
((
err
)
=>
{
console
.
log
(
err
);
});
},
created
()
{
created
()
{
let
year
=
new
Date
().
getFullYear
(),
month
=
new
Date
().
getMonth
()
+
1
,
lastDate
=
new
Date
(
year
,
month
,
0
).
getDate
()
month
=
new
Date
().
getMonth
()
+
1
,
lastDate
=
new
Date
(
year
,
month
,
0
).
getDate
()
this
.
formData
.
djsjkssj
=
this
.
$moment
(
new
Date
(
`
${
year
}
-
${
month
}
-01`
).
getTime
()
new
Date
(
`
${
year
}
-
${
month
}
-01`
).
getTime
()
).
format
(
"YYYY-MM-DD"
);
this
.
formData
.
djsjjssj
=
this
.
$moment
(
new
Date
()).
format
(
"YYYY-MM-DD"
);
this
.
$store
.
commit
(
"user/SET_Menu"
,
this
.
Menu
);
...
...
@@ -570,12 +580,12 @@ export default {
// console.log(this.formData.xsfbdw);
// this.doQueryRlData();
// },
"formData.djsjkssj"
(
newVal
)
{
"formData.djsjkssj"
(
newVal
)
{
if
(
newVal
==
null
)
{
this
.
formData
.
djsjkssj
=
""
;
}
},
"formData.djsjjssj"
(
newVal
)
{
"formData.djsjjssj"
(
newVal
)
{
if
(
newVal
==
null
)
{
this
.
formData
.
djsjjssj
=
""
;
}
...
...
@@ -590,6 +600,7 @@ export default {
box-sizing
:
border-box
;
padding
:
20px
;
position
:
relative
;
.searchItem
{
height
:
10%
;
background-color
:
#fff
;
...
...
@@ -597,11 +608,13 @@ export default {
padding-left
:
20px
;
overflow
:
hidden
;
}
#charts
{
background-color
:
#fff
;
width
:
100%
;
height
:
90%
;
}
#table
{
box-sizing
:
border-box
;
padding-top
:
1px
!important
;
...
...
@@ -610,19 +623,23 @@ export default {
background-color
:
#fff
;
padding
:
20px
;
}
.returnBtn
{
position
:
absolute
;
top
:
30px
;
right
:
40px
;
z-index
:
111
;
}
.tableTitle
{
display
:
flex
;
justify-content
:
space-between
;
padding
:
10px
10px
;
>
.tableLeft
{
font-size
:
16px
;
font-weight
:
600
;
span
{
&:last-of-type
{
font-size
:
14px
;
...
...
@@ -634,6 +651,7 @@ export default {
}
}
}
.searchButton
{
float
:
right
;
margin
:
5px
10px
0
0
;
...
...
@@ -651,6 +669,7 @@ export default {
font-weight
:
400
!important
;
cursor
:
pointer
;
}
.cleanButton
{
float
:
right
;
margin
:
5px
10px
0
0
;
...
...
@@ -669,6 +688,7 @@ export default {
cursor
:
pointer
;
line-height
:
27px
;
}
.backButton
{
float
:
right
;
margin
:
50px
10px
0
0
;
...
...
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