Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
4e2dc3d1
Commit
4e2dc3d1
authored
Jul 26, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
8dd1d535
74bf86ab
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
796 additions
and
577 deletions
+796
-577
attendance-performance-manager-ui/admin/src/components/FormField.vue
...performance-manager-ui/admin/src/components/FormField.vue
+0
-1
attendance-performance-manager-ui/admin/src/views/attendance/record/list.vue
...nce-manager-ui/admin/src/views/attendance/record/list.vue
+51
-23
attendance-performance-manager-ui/admin/src/views/attendance/stat/list.vue
...mance-manager-ui/admin/src/views/attendance/stat/list.vue
+323
-287
attendance-performance-manager-ui/admin/src/views/feedback/list.vue
...-performance-manager-ui/admin/src/views/feedback/list.vue
+175
-126
attendance-performance-manager-ui/admin/src/views/homeCharts/record/list.vue
...nce-manager-ui/admin/src/views/homeCharts/record/list.vue
+1
-1
attendance-performance-manager-ui/admin/src/views/perform/rules/attend/components/AttendIndex.vue
...src/views/perform/rules/attend/components/AttendIndex.vue
+1
-1
attendance-performance-manager-ui/admin/src/views/staff/dialogshow.vue
...rformance-manager-ui/admin/src/views/staff/dialogshow.vue
+238
-136
attendance-performance-manager-ui/admin/src/views/staff/list.vue
...nce-performance-manager-ui/admin/src/views/staff/list.vue
+7
-2
No files found.
attendance-performance-manager-ui/admin/src/components/FormField.vue
View file @
4e2dc3d1
...
@@ -226,7 +226,6 @@ export default {
...
@@ -226,7 +226,6 @@ export default {
},
},
maxLength
:
{
maxLength
:
{
type
:
Number
,
type
:
Number
,
default
:
256
,
},
},
},
},
methods
:
{
methods
:
{
...
...
attendance-performance-manager-ui/admin/src/views/attendance/record/list.vue
View file @
4e2dc3d1
<
template
>
<
template
>
<div
class=
"page"
>
<div
class=
"page"
>
<div
>
<div>
<tab-pane
<tab-pane
:thirdList=
"thirdList"
:thirdList=
"thirdList"
:activeName=
"activeName"
:activeName=
"activeName"
...
@@ -66,14 +66,14 @@
...
@@ -66,14 +66,14 @@
@
click=
"lookexportHis"
@
click=
"lookexportHis"
>
导出记录
</el-button
>
导出记录
</el-button
>
>
<
!--
<
el-button
<el-button
slot=
"table-head-left2"
slot=
"table-head-left2"
style=
"margin-left: 10px"
style=
"margin-left: 10px"
icon=
"el-icon-tickets"
icon=
"el-icon-tickets"
size=
"mini"
size=
"mini"
@
click=
"setdialog"
@
click=
"setdialog"
>
表格设置
</el-button
>
表格设置
</el-button
>
-->
>
</LayoutTable>
</LayoutTable>
<drawer-show
ref=
"drawerform"
@
ok=
"getData"
/>
<drawer-show
ref=
"drawerform"
@
ok=
"getData"
/>
<!-- 导出记录查看 -->
<!-- 导出记录查看 -->
...
@@ -189,7 +189,7 @@ import drawerShow from "./drawershow";
...
@@ -189,7 +189,7 @@ import drawerShow from "./drawershow";
import
table
from
"
@/assets/mixins/table
"
;
import
table
from
"
@/assets/mixins/table
"
;
import
TabPane
from
"
@/components/tabPane.vue
"
;
import
TabPane
from
"
@/components/tabPane.vue
"
;
import
{
timestampToTime
}
from
"
@/assets/utils/dateFormat
"
;
import
{
timestampToTime
}
from
"
@/assets/utils/dateFormat
"
;
import
{
formatterDateOnly
}
from
"
@/assets/utils/table
"
;
import
{
formatterDateOnly
}
from
"
@/assets/utils/table
"
;
export
default
{
export
default
{
name
:
"
AttendanceRecordList
"
,
name
:
"
AttendanceRecordList
"
,
components
:
{
components
:
{
...
@@ -401,12 +401,30 @@ export default {
...
@@ -401,12 +401,30 @@ export default {
/** 子表列元素 */
/** 子表列元素 */
columnSet
:
[
columnSet
:
[
{
prop
:
"
shiftsName
"
,
label
:
"
班次名称
"
,
width
:
150
},
{
prop
:
"
shiftsName
"
,
label
:
"
班次名称
"
,
width
:
150
},
{
prop
:
"
goWorkDate
"
,
label
:
"
上班打卡时间
"
,
width
:
100
,
formatter
:
this
.
formatterDate
},
{
{
prop
:
"
goWorkResult
"
,
label
:
"
上班打卡结果
"
,
width
:
100
,
formatter
:
this
.
formatterString
},
prop
:
"
goWorkDate
"
,
{
prop
:
"
offWorkDate
"
,
label
:
"
下班打卡时间
"
,
width
:
100
,
formatter
:
this
.
formatterDate
},
label
:
"
上班打卡时间
"
,
{
prop
:
"
offWorkResult
"
,
label
:
"
下班打卡结果
"
,
width
:
100
,
formatter
:
this
.
formatterString
}
width
:
100
,
formatter
:
this
.
formatterDate
,
},
{
prop
:
"
goWorkResult
"
,
label
:
"
上班打卡结果
"
,
width
:
100
,
formatter
:
this
.
formatterString
,
},
{
prop
:
"
offWorkDate
"
,
label
:
"
下班打卡时间
"
,
width
:
100
,
formatter
:
this
.
formatterDate
,
},
{
prop
:
"
offWorkResult
"
,
label
:
"
下班打卡结果
"
,
width
:
100
,
formatter
:
this
.
formatterString
,
},
],
],
config
:
{
config
:
{
search
:
[
search
:
[
...
@@ -459,7 +477,6 @@ export default {
...
@@ -459,7 +477,6 @@ export default {
label
:
"
考勤结束时间
"
,
label
:
"
考勤结束时间
"
,
fuzzy
:
false
,
fuzzy
:
false
,
},
},
],
],
columns
:
[
columns
:
[
{
type
:
"
selection
"
,
width
:
60
},
{
type
:
"
selection
"
,
width
:
60
},
...
@@ -479,12 +496,21 @@ export default {
...
@@ -479,12 +496,21 @@ export default {
{
label
:
"
部门
"
,
prop
:
"
deptName
"
,
formatter
:
this
.
formatters
},
{
label
:
"
部门
"
,
prop
:
"
deptName
"
,
formatter
:
this
.
formatters
},
{
label
:
"
职位
"
,
prop
:
"
positionName
"
,
formatter
:
this
.
formatters
},
{
label
:
"
职位
"
,
prop
:
"
positionName
"
,
formatter
:
this
.
formatters
},
{
label
:
"
班次
"
,
prop
:
"
shiftsName
"
,
formatter
:
this
.
formatters
},
{
label
:
"
班次
"
,
prop
:
"
shiftsName
"
,
formatter
:
this
.
formatters
},
{
label
:
"
签到结果
"
,
prop
:
"
signInResult
"
,
formatter
:
this
.
formatter
},
{
{
label
:
"
签退结果
"
,
prop
:
"
signOutResult
"
,
formatter
:
this
.
formatter
},
label
:
"
签到结果
"
,
prop
:
"
signInResult
"
,
formatter
:
this
.
formatter
,
},
{
label
:
"
签退结果
"
,
prop
:
"
signOutResult
"
,
formatter
:
this
.
formatter
,
},
{
label
:
"
打卡结果
"
,
prop
:
"
punchResult
"
,
formatter
:
this
.
formatter
},
{
label
:
"
打卡结果
"
,
prop
:
"
punchResult
"
,
formatter
:
this
.
formatter
},
{
label
:
"
考勤类型
"
,
prop
:
"
attendType
"
,
formatter
:
this
.
formatter
},
{
label
:
"
考勤类型
"
,
prop
:
"
attendType
"
,
formatter
:
this
.
formatter
},
{
label
:
"
考勤打卡记录详细信息
"
,
{
label
:
"
考勤打卡记录详细信息
"
,
width
:
120
,
width
:
120
,
prop
:
"
subColumns
"
,
prop
:
"
subColumns
"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
...
@@ -494,7 +520,9 @@ export default {
...
@@ -494,7 +520,9 @@ export default {
return
(
return
(
<
el
-
popover
placement
=
"
right
"
width
=
{
widthsize
}
trigger
=
"
click
"
>
<
el
-
popover
placement
=
"
right
"
width
=
{
widthsize
}
trigger
=
"
click
"
>
{
this
.
renderTable
(
row
.
attendanceRecordDetailList
)}
{
this
.
renderTable
(
row
.
attendanceRecordDetailList
)}
<
el
-
button
type
=
"
text
"
slot
=
"
reference
"
>
详细
<
/el-button
>
<
el
-
button
type
=
"
text
"
slot
=
"
reference
"
>
详细
<
/el-button
>
<
/el-popover
>
<
/el-popover
>
);
);
},
},
...
...
attendance-performance-manager-ui/admin/src/views/attendance/stat/list.vue
View file @
4e2dc3d1
This diff is collapsed.
Click to expand it.
attendance-performance-manager-ui/admin/src/views/feedback/list.vue
View file @
4e2dc3d1
<
template
>
<
template
>
<div
class=
"page"
>
<div
class=
"page"
>
<LayoutTable
:data=
"tableData"
notDel
:config=
"tableConfig"
>
<LayoutTable
:data=
"tableData"
notDel
:config=
"tableConfig"
>
</LayoutTable>
</LayoutTable>
<drawer-show
ref=
"drawerform"
@
ok=
"getData"
/>
<drawer-show
ref=
"drawerform"
@
ok=
"getData"
/>
</div>
</div>
</
template
>
</
template
>
...
@@ -13,11 +12,10 @@ import table from "@/assets/mixins/table";
...
@@ -13,11 +12,10 @@ import table from "@/assets/mixins/table";
export
default
{
export
default
{
name
:
"
FeedbackList
"
,
name
:
"
FeedbackList
"
,
components
:
{
components
:
{
drawerShow
drawerShow
,
},
},
mixins
:
[
table
],
mixins
:
[
table
],
created
()
{
created
()
{},
},
methods
:
{
methods
:
{
renderTable
(
tableData
)
{
renderTable
(
tableData
)
{
return
(
return
(
...
@@ -33,8 +31,7 @@ export default {
...
@@ -33,8 +31,7 @@ export default {
label
=
{
options
.
label
}
label
=
{
options
.
label
}
width
=
{
options
.
width
}
width
=
{
options
.
width
}
formatter
=
{
options
.
formatter
}
formatter
=
{
options
.
formatter
}
>
><
/el-table-column
>
<
/el-table-column
>
);
);
},
},
/** 重写新增方法 */
/** 重写新增方法 */
...
@@ -46,25 +43,28 @@ export default {
...
@@ -46,25 +43,28 @@ export default {
toEdit
(
row
)
{
toEdit
(
row
)
{
// this.$refs.drawerform.edit(row);
// this.$refs.drawerform.edit(row);
this
.
$router
.
push
({
path
:
`/feedback/addQuestion/list?id=
${
row
.
id
}
`
});
this
.
$router
.
push
({
path
:
`/feedback/addQuestion/list?id=
${
row
.
id
}
`
});
localStorage
.
setItem
(
'
editFeedback
'
,
JSON
.
stringify
(
row
))
localStorage
.
setItem
(
"
editFeedback
"
,
JSON
.
stringify
(
row
));
},
},
/** 重写查看方法 */
/** 重写查看方法 */
toView
(
row
)
{
toView
(
row
)
{
console
.
log
(
row
)
console
.
log
(
row
);
localStorage
.
setItem
(
'
checkFeedbackId
'
,
row
.
id
)
localStorage
.
setItem
(
"
checkFeedbackId
"
,
row
.
id
);
// this.$refs.drawerform.view(row);
// this.$refs.drawerform.view(row);
this
.
$router
.
push
(
'
/feedback/questionnaire/list
'
)
this
.
$router
.
push
(
"
/feedback/questionnaire/list
"
);
},
},
goPage
(
path
)
{
goPage
(
path
)
{
this
.
$router
.
push
(
path
)
this
.
$router
.
push
(
path
);
}
},
},
},
data
()
{
data
()
{
return
{
return
{
/** 子表列元素 */
/** 子表列元素 */
columnSet
:
[
columnSet
:
[
{
label
:
"
反馈问卷id号
"
,
prop
:
"
feedbackId
"
,
formatter
:
this
.
formatter
},
{
label
:
"
反馈问卷id号
"
,
prop
:
"
feedbackId
"
,
formatter
:
this
.
formatter
,
},
{
label
:
"
问题内容
"
,
prop
:
"
content
"
},
{
label
:
"
问题内容
"
,
prop
:
"
content
"
},
{
label
:
"
问题类型
"
,
prop
:
"
questionType
"
,
formatter
:
this
.
formatter
},
{
label
:
"
问题类型
"
,
prop
:
"
questionType
"
,
formatter
:
this
.
formatter
},
{
label
:
"
是否必填
"
,
prop
:
"
require
"
,
formatter
:
this
.
formatter
},
{
label
:
"
是否必填
"
,
prop
:
"
require
"
,
formatter
:
this
.
formatter
},
...
@@ -73,6 +73,18 @@ export default {
...
@@ -73,6 +73,18 @@ export default {
config
:
{
config
:
{
isshowTabPane
:
true
,
isshowTabPane
:
true
,
search
:
[
search
:
[
{
name
:
"
feedbackTimeStart
"
,
type
:
"
datetime
"
,
label
:
"
请选择日期
"
,
fuzzy
:
false
,
},
{
name
:
"
title
"
,
type
:
"
text
"
,
label
:
"
输入问卷标题关键字搜索
"
,
fuzzy
:
false
,
},
],
],
columns
:
[
columns
:
[
{
type
:
"
selection
"
,
width
:
60
},
{
type
:
"
selection
"
,
width
:
60
},
...
@@ -80,11 +92,23 @@ export default {
...
@@ -80,11 +92,23 @@ export default {
{
label
:
"
问卷标题
"
,
prop
:
"
title
"
},
{
label
:
"
问卷标题
"
,
prop
:
"
title
"
},
{
label
:
"
更新时间
"
,
prop
:
"
createTime
"
,
formatter
:
this
.
formatterDate
},
{
label
:
"
更新时间
"
,
prop
:
"
createTime
"
,
formatter
:
this
.
formatterDate
,
},
{
label
:
"
反馈开始时间
"
,
prop
:
"
feedbackTimeStart
"
,
formatter
:
this
.
formatterDate
},
{
label
:
"
反馈开始时间
"
,
prop
:
"
feedbackTimeStart
"
,
formatter
:
this
.
formatterDate
,
},
{
label
:
"
反馈结束时间
"
,
prop
:
"
feedbackTimeEnd
"
,
formatter
:
this
.
formatterDate
},
{
label
:
"
反馈结束时间
"
,
prop
:
"
feedbackTimeEnd
"
,
formatter
:
this
.
formatterDate
,
},
{
label
:
"
邀请人数
"
,
prop
:
"
inviteNum
"
,
formatter
:
this
.
formatter
},
{
label
:
"
邀请人数
"
,
prop
:
"
inviteNum
"
,
formatter
:
this
.
formatter
},
...
@@ -92,19 +116,30 @@ export default {
...
@@ -92,19 +116,30 @@ export default {
// { label: "创建用户", prop: "createUserId", formatter: this.formatter },
// { label: "创建用户", prop: "createUserId", formatter: this.formatter },
{
{
label
:
"
状态
"
,
prop
:
"
processStatus
"
,
formatter
:
(
row
)
=>
{
label
:
"
状态
"
,
let
str
=
"
未开始
"
prop
:
"
processStatus
"
,
formatter
:
(
row
)
=>
{
let
str
=
"
未开始
"
;
if
(
row
.
processStatus
==
1
)
{
if
(
row
.
processStatus
==
1
)
{
str
=
"
进行中
"
str
=
"
进行中
"
;
}
else
if
(
row
.
processStatus
==
2
)
{
}
else
if
(
row
.
processStatus
==
2
)
{
str
=
"
已结束
"
str
=
"
已结束
"
;
}
}
return
(
return
(
<
el
-
tag
type
=
{
row
.
processStatus
?
row
.
processStatus
==
1
?
'
success
'
:
'
info
'
:
'
danger
'
}
size
=
"
small
"
>
<
el
-
tag
type
=
{
row
.
processStatus
?
row
.
processStatus
==
1
?
"
success
"
:
"
info
"
:
"
danger
"
}
size
=
"
small
"
>
{
str
}
{
str
}
<
/el-tag
>
<
/el-tag
>
)
);
}
},
},
},
// {
// {
// label: "绩效反馈问题",
// label: "绩效反馈问题",
...
@@ -124,23 +159,37 @@ export default {
...
@@ -124,23 +159,37 @@ export default {
{
{
label
:
"
操作
"
,
label
:
"
操作
"
,
width
:
240
,
width
:
240
,
formatter
:
row
=>
{
formatter
:
(
row
)
=>
{
if
(
row
.
processStatus
==
0
)
{
if
(
row
.
processStatus
==
0
)
{
return
(
return
(
<
table
-
buttons
noAdd
noView
row
=
{
row
}
onEdit
=
{
this
.
toEdit
}
onView
=
{
this
.
toView
}
onDel
=
{
this
.
toDel
}
/
>
<
table
-
buttons
noAdd
noView
row
=
{
row
}
onEdit
=
{
this
.
toEdit
}
onView
=
{
this
.
toView
}
onDel
=
{
this
.
toDel
}
/
>
);
);
}
else
{
}
else
{
return
(
return
(
<
table
-
buttons
noAdd
noEdit
row
=
{
row
}
onEdit
=
{
this
.
toEdit
}
onView
=
{
this
.
toView
}
onDel
=
{
this
.
toDel
}
/
>
<
table
-
buttons
noAdd
noEdit
row
=
{
row
}
onEdit
=
{
this
.
toEdit
}
onView
=
{
this
.
toView
}
onDel
=
{
this
.
toDel
}
/
>
);
);
}
}
// return
<
table
-
buttons
noAdd
noEdit
row
=
{
row
}
onEdit
=
{
this
.
toEdit
}
onView
=
{
this
.
toView
}
onDel
=
{
this
.
toDel
}
/
>
// return
<
table
-
buttons
noAdd
noEdit
row
=
{
row
}
onEdit
=
{
this
.
toEdit
}
onView
=
{
this
.
toView
}
onDel
=
{
this
.
toDel
}
/
>
}
},
}
},
]
],
}
},
};
};
}
},
};
};
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
...
...
attendance-performance-manager-ui/admin/src/views/homeCharts/record/list.vue
View file @
4e2dc3d1
...
@@ -1174,7 +1174,7 @@ export default {
...
@@ -1174,7 +1174,7 @@ export default {
dataList
=
[...
dataList
,
...
data
];
dataList
=
[...
dataList
,
...
data
];
this
.
$app
.
loading
=
true
;
this
.
$app
.
loading
=
true
;
this
.
$app
.
percentage
=
parseInt
((
dataList
.
length
/
total
)
*
100
);
this
.
$app
.
percentage
=
parseInt
((
dataList
.
length
/
total
)
*
100
);
if
(
dataList
.
length
>=
total
||
data
.
data
.
length
==
0
)
{
if
(
dataList
.
length
>=
total
||
data
.
length
==
0
)
{
if
(
callback
)
callback
(
dataList
);
if
(
callback
)
callback
(
dataList
);
this
.
$app
.
loading
=
false
;
this
.
$app
.
loading
=
false
;
this
.
$app
.
percentage
=
1
;
this
.
$app
.
percentage
=
1
;
...
...
attendance-performance-manager-ui/admin/src/views/perform/rules/attend/components/AttendIndex.vue
View file @
4e2dc3d1
...
@@ -115,7 +115,7 @@ export default {
...
@@ -115,7 +115,7 @@ export default {
{
label
:
"
分类
"
,
prop
:
"
categoryId
"
,
formatter
:
this
.
formatter
},
{
label
:
"
分类
"
,
prop
:
"
categoryId
"
,
formatter
:
this
.
formatter
},
{
label
:
"
考核内容简称
"
,
prop
:
"
name
"
},
{
label
:
"
考核内容简称
"
,
prop
:
"
name
"
},
{
label
:
"
考核编码
"
,
prop
:
"
ruleCode
"
},
//
{ label: "考核编码", prop: "ruleCode" },
{
label
:
"
评分标准
"
,
prop
:
"
content
"
},
{
label
:
"
评分标准
"
,
prop
:
"
content
"
},
...
...
attendance-performance-manager-ui/admin/src/views/staff/dialogshow.vue
View file @
4e2dc3d1
This diff is collapsed.
Click to expand it.
attendance-performance-manager-ui/admin/src/views/staff/list.vue
View file @
4e2dc3d1
...
@@ -183,7 +183,12 @@
...
@@ -183,7 +183,12 @@
</div>
</div>
</el-dialog>
</el-dialog>
<drawer-show
ref=
"drawerform"
@
ok=
"getData"
:bumentree=
"areaData"
:currentNode=
"currentNode"
/>
<drawer-show
ref=
"drawerform"
@
ok=
"getData"
:bumentree=
"areaData"
:currentNode=
"currentNode"
/>
</div>
</div>
</
template
>
</
template
>
...
@@ -249,7 +254,7 @@ export default {
...
@@ -249,7 +254,7 @@ export default {
},
},
handleNodeClick
(
node
)
{
handleNodeClick
(
node
)
{
console
.
log
(
node
,
123123
);
console
.
log
(
node
,
123123
);
this
.
currentNode
=
node
;
this
.
currentNode
=
node
;
this
.
query
=
{
deptId
:
node
.
id
};
this
.
query
=
{
deptId
:
node
.
id
};
this
.
getData
();
this
.
getData
();
...
...
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