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
26115a9e
Commit
26115a9e
authored
Apr 19, 2023
by
dll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新测试地址
parent
345060c3
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
53 additions
and
67 deletions
+53
-67
attendance-performance-manager-ui/admin/.env.development
attendance-performance-manager-ui/admin/.env.development
+1
-2
attendance-performance-manager-ui/admin/src/assets/mixins/table.js
...e-performance-manager-ui/admin/src/assets/mixins/table.js
+3
-2
attendance-performance-manager-ui/admin/src/assets/utils/ajax.js
...nce-performance-manager-ui/admin/src/assets/utils/ajax.js
+4
-4
attendance-performance-manager-ui/admin/src/assets/utils/table.js
...ce-performance-manager-ui/admin/src/assets/utils/table.js
+1
-1
attendance-performance-manager-ui/admin/src/components/DataTable.vue
...performance-manager-ui/admin/src/components/DataTable.vue
+1
-1
attendance-performance-manager-ui/admin/src/views/attendance/group/list.vue
...ance-manager-ui/admin/src/views/attendance/group/list.vue
+6
-6
attendance-performance-manager-ui/admin/src/views/attendance/record/error/drawershow.vue
...ui/admin/src/views/attendance/record/error/drawershow.vue
+2
-19
attendance-performance-manager-ui/admin/src/views/attendance/record/error/list.vue
...nager-ui/admin/src/views/attendance/record/error/list.vue
+19
-16
attendance-performance-manager-ui/admin/src/views/attendance/stat/list.vue
...mance-manager-ui/admin/src/views/attendance/stat/list.vue
+15
-16
attendance-performance-manager-ui/admin/src/views/system/role/list.vue
...rformance-manager-ui/admin/src/views/system/role/list.vue
+1
-0
No files found.
attendance-performance-manager-ui/admin/.env.development
View file @
26115a9e
#开发环境
NODE_ENV = "development"
VUE_APP_API_BASE_URL= http://192.168.0.98:11039
VUE_APP_API_BASE_URL = http://192.168.0.116:17500
\ No newline at end of file
VUE_APP_API_BASE_URL= http://192.168.0.98:11039
\ No newline at end of file
attendance-performance-manager-ui/admin/src/assets/mixins/table.js
View file @
26115a9e
...
...
@@ -360,12 +360,13 @@ export default {
formatterBanci
(
row
,
column
,
val
){
const
content
=
formatter
(
this
.
tableData
,
column
,
val
)
if
(
content
)
{
// let string = row.attendanceTime.replace("、","<br>")
return
<
div
>
<
div
>
<
el
-
tag
type
=
"
info
"
>
{
row
.
restTime
}
<
/el-tag
>
<
/div
>
<
div
class
=
"
mt10
"
>
<
el
-
tag
>
{
row
.
attendanceTime
}
<
/el-tag
>
<
div
class
=
"
mt10
"
style
=
"
background:#ecf5ff;color:#409EFF
"
>
<
p
>
{
row
.
attendanceTime
}
<
/p
>
<
/div
>
<
/div
>
}
else
{
...
...
attendance-performance-manager-ui/admin/src/assets/utils/ajax.js
View file @
26115a9e
...
...
@@ -38,11 +38,11 @@ instance.interceptors.request.use(config => {
// 代
// http://192.168.0.108/17500
const
hostname
=
'
192.168.0.116
'
const
port
=
'
17500
'
// const hostname = '192.168.0.108'
// const port = '11039'
// const port = '17500'
const
hostname
=
'
192.168.0.108
'
const
port
=
'
11039
'
// 动态修改请求地址
if
(
config
.
url
.
startsWith
(
'
/
'
))
{
...
...
attendance-performance-manager-ui/admin/src/assets/utils/table.js
View file @
26115a9e
...
...
@@ -47,7 +47,7 @@ const formatterDate = (row, column) => {
const
property
=
column
.
property
;
const
time
=
row
[
property
];
if
(
!
time
)
return
''
;
let
date
=
new
Date
(
Number
(
time
));
let
date
=
time
.
length
<
13
?
new
Date
(
Number
(
time
)
*
1000
)
:
new
Date
(
Number
(
time
));
let
Y
=
date
.
getFullYear
()
+
'
-
'
;
let
M
=
(
date
.
getMonth
()
+
1
<
10
?
'
0
'
+
(
date
.
getMonth
()
+
1
)
:
date
.
getMonth
()
+
1
)
+
'
-
'
;
let
D
=
panLeft
(
date
.
getDate
())
+
'
'
;
...
...
attendance-performance-manager-ui/admin/src/components/DataTable.vue
View file @
26115a9e
...
...
@@ -27,7 +27,7 @@
:formatter=
'column.formatter'
:reserve-selection=
'column.reserveSelection'
:subColumns=
'column.subColumns'
:fixed=
"column.fixed"
>
<el-table-column
v-for=
'sunColumn in column.subColumns'
...
...
attendance-performance-manager-ui/admin/src/views/attendance/group/list.vue
View file @
26115a9e
...
...
@@ -88,16 +88,16 @@
},
],
columns
:
[
{
type
:
"
selection
"
,
width
:
60
},
{
type
:
"
index
"
,
label
:
"
序号
"
,
width
:
50
},
{
type
:
"
selection
"
,
width
:
60
,
fixed
:
'
left
'
},
{
type
:
"
index
"
,
label
:
"
序号
"
,
width
:
50
,
fixed
:
'
left
'
},
{
label
:
"
考勤组名称
"
,
prop
:
"
groupName
"
,
width
:
200
},
{
label
:
"
考勤组名称
"
,
prop
:
"
groupName
"
,
width
:
200
,
fixed
:
'
left
'
},
{
label
:
"
人数
"
,
prop
:
"
personNum
"
,
width
:
80
},
{
label
:
"
人数
"
,
prop
:
"
personNum
"
,
width
:
80
,
fixed
:
'
left
'
},
{
label
:
"
负责人
"
,
prop
:
"
responsibleName
"
,
width
:
80
},
//未
{
label
:
"
负责人
"
,
prop
:
"
responsibleName
"
,
width
:
80
,
fixed
:
'
left
'
},
//未
{
label
:
"
类型
"
,
prop
:
"
type
"
,
formatter
:
this
.
formatterattendType
,
width
:
100
},
{
label
:
"
类型
"
,
prop
:
"
type
"
,
formatter
:
this
.
formatterattendType
,
width
:
100
,
fixed
:
'
left
'
},
// {label: "创建用户", prop: "createUserId", formatter: this.formatter},
...
...
attendance-performance-manager-ui/admin/src/views/attendance/record/error/drawershow.vue
View file @
26115a9e
...
...
@@ -128,27 +128,10 @@
edit
(
row
)
{
this
.
reset
()
this
.
query
=
{
id
:
row
.
id
};
this
.
urls
.
currUrl
=
"
attendance/record/edit
"
;
this
.
urls
.
currUrl
=
"
attendance/record/e
rror/e
dit
"
;
this
.
getData
();
this
.
pageInfo
.
type
=
"
edit
"
this
.
title
=
"
修改考勤打卡记录信息
"
;
},
/** 新增 */
add
(
row
)
{
this
.
reset
()
this
.
urls
.
currUrl
=
"
attendance/record/add
"
;
this
.
getData
();
this
.
pageInfo
.
type
=
"
add
"
this
.
title
=
"
新增考勤打卡记录信息
"
;
},
/** 查看*/
view
(
row
)
{
this
.
reset
()
this
.
query
=
{
id
:
row
.
id
};
this
.
urls
.
currUrl
=
"
attendance/record/view
"
;
this
.
getData
();
this
.
pageInfo
.
type
=
"
view
"
this
.
title
=
"
考勤打卡记录信息详细
"
;
this
.
title
=
"
处理异常
"
;
},
/**取消按钮 */
cancel
()
{
...
...
attendance-performance-manager-ui/admin/src/views/attendance/record/error/list.vue
View file @
26115a9e
...
...
@@ -9,7 +9,7 @@
@
click=
"morehandle"
>
批量处理
</el-button>
</LayoutTable>
<d
ialog-show
ref=
"dialogform
"
@
ok=
"getData"
/>
<d
rawer-show
ref=
"drawerShow
"
@
ok=
"getData"
/>
<!-- 撤销提示 -->
<el-dialog
:visible.sync=
"dialogVisible"
title=
"提示"
width=
"40%"
>
<div>
撤销异常处理结果后,当天的考勤结果将会重新计算,系统需要花费一点时间。
</div>
...
...
@@ -23,12 +23,12 @@
<
script
>
/** 表单弹出框模式需引入 */
import
d
ialogShow
from
"
./dialog
show
"
;
import
d
rawerShow
from
"
./drawer
show
"
;
import
table
from
"
@/assets/mixins/table
"
;
export
default
{
name
:
"
AttendanceRecordErrorList
"
,
components
:
{
d
ialog
Show
d
rawer
Show
},
mixins
:
[
table
],
created
()
{
...
...
@@ -46,14 +46,18 @@
// toView(row) {
// this.$refs.dialogform.view(row);
// },
// morehandle(row){
// console.log(this.selection)
// this.$refs.dialogform.edit(row);
// },
morehandle
(
row
){
if
(
this
.
selection
.
length
<
1
){
this
.
$message
.
error
(
'
请至少选择一条处理
'
)
return
}
this
.
$refs
.
drawerShow
.
edit
(
row
);
},
// 处理
handle
(
err
){
console
.
log
(
err
)
this
.
$refs
.
d
ialogform
.
edit
(
err
);
this
.
$refs
.
d
rawerShow
.
edit
(
err
);
},
// 撤销
reCancle
(
err
){
...
...
@@ -130,12 +134,11 @@
},
],
columns
:
[
{
type
:
"
selection
"
,
width
:
60
},
{
type
:
"
index
"
,
label
:
"
序号
"
,
width
:
50
},
{
label
:
"
员工姓名
"
,
prop
:
"
staffName
"
},
{
type
:
"
selection
"
,
width
:
60
,
fixed
:
'
left
'
},
{
type
:
"
index
"
,
label
:
"
序号
"
,
width
:
50
,
fixed
:
'
left
'
},
{
label
:
"
员工姓名
"
,
prop
:
"
staffName
"
,
fixed
:
'
left
'
,
width
:
100
},
{
label
:
"
工号
"
,
prop
:
"
workNum
"
},
{
label
:
"
部门
"
,
prop
:
"
staff
Name
"
},
{
label
:
"
部门
"
,
prop
:
"
dept
Name
"
},
{
label
:
"
考勤组
"
,
prop
:
"
deptName
"
},
{
label
:
"
班次
"
,
prop
:
"
shiftsName
"
},
{
label
:
"
异常状态
"
,
prop
:
"
errorStatus
"
,
formatter
:
this
.
formattereErrorStatus
},
...
...
@@ -150,13 +153,13 @@
{
label
:
"
操作
"
,
width
:
240
,
formatter
:
row
=>
{
formatter
:
(
row
)
=>
{
return
(
<
span
>
<
el
-
button
type
=
"
text
"
size
=
'
mini
'
onClick
=
{(
row
)
=>
{
<
el
-
button
type
=
"
text
"
size
=
'
mini
'
onClick
=
{()
=>
{
this
.
handle
(
row
)
}}
v
-
if
=
{
row
.
processStatus
==
0
}
>
处理
<
/el-button
>
<
el
-
button
type
=
"
text
"
size
=
'
mini
'
onClick
=
{(
row
)
=>
{
<
el
-
button
type
=
"
text
"
size
=
'
mini
'
onClick
=
{()
=>
{
this
.
reCancle
(
row
)
}}
v
-
else
>
撤销
<
/el-button
>
<
/span
>
...
...
attendance-performance-manager-ui/admin/src/views/attendance/stat/list.vue
View file @
26115a9e
...
...
@@ -160,15 +160,14 @@
}
],
columns
:
[
{
type
:
"
selection
"
,
width
:
60
},
{
type
:
"
index
"
,
label
:
"
序号
"
,
width
:
50
},
{
type
:
"
selection
"
,
width
:
60
,
fixed
:
'
left
'
},
{
type
:
"
index
"
,
label
:
"
序号
"
,
width
:
50
,
fixed
:
'
left
'
},
{
label
:
"
窗口类别
"
,
prop
:
"
windowCategory
"
},
{
label
:
"
窗口类别
"
,
prop
:
"
windowCategory
"
,
fixed
:
'
left
'
,
width
:
100
},
{
label
:
"
部门
"
,
prop
:
"
deptName
"
},
{
label
:
"
员工姓名
"
,
prop
:
"
staffName
"
},
{
label
:
"
员工姓名
"
,
prop
:
"
staffName
"
,
fixed
:
'
left
'
,
width
:
100
},
{
label
:
"
部门
"
,
prop
:
"
deptName
"
},
{
label
:
"
回单位(天)
"
,
prop
:
"
backToUnit
"
},
{
label
:
"
因公请假(天)
"
,
prop
:
"
onDutyLeave
"
},
...
...
@@ -224,16 +223,16 @@
{
label
:
"
会议早退
"
,
prop
:
"
earlyLeaveMeeting
"
},
// {label: "创建用户", prop: "createUserId", formatter: this.formatter},
{
label
:
"
操作
"
,
width
:
240
,
formatter
:
row
=>
{
return
(
<
table
-
buttons
noAdd
noEdit
noView
noDel
row
=
{
row
}
onEdit
=
{
this
.
toEdit
}
onView
=
{
this
.
toView
}
onDel
=
{
this
.
toDel
}
/
>
);
}
}
//
{
//
label: "操作",
//
width: 240,
//
formatter: row => {
//
return (
//
<
table
-
buttons
noAdd
noEdit
noView
noDel
row
=
{
row
}
onEdit
=
{
this
.
toEdit
}
//
onView={this.toView} onDel={this.toDel} />
//
);
//
}
//
}
]
},
setcolum
:[],
...
...
attendance-performance-manager-ui/admin/src/views/system/role/list.vue
View file @
26115a9e
...
...
@@ -168,6 +168,7 @@ export default {
},
// 打开弹窗,获取已经选中的权限
async
setAuth
({
id
})
{
console
.
log
(
id
)
this
.
tableData
.
loading
=
true
;
try
{
this
.
auth
.
form
=
this
.
initForm
();
...
...
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