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
611d2fe5
Commit
611d2fe5
authored
Jul 13, 2023
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推绩效依据
parent
f906d2fb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
183 additions
and
14 deletions
+183
-14
attendance-performance-manager-ui/admin/src/assets/images/fileImg.png
...erformance-manager-ui/admin/src/assets/images/fileImg.png
+0
-0
attendance-performance-manager-ui/admin/src/components/tools/TableButtons.vue
...ce-manager-ui/admin/src/components/tools/TableButtons.vue
+14
-0
attendance-performance-manager-ui/admin/src/views/perform/attend/appeal/drawershow.vue
...r-ui/admin/src/views/perform/attend/appeal/drawershow.vue
+156
-13
attendance-performance-manager-ui/admin/src/views/perform/attend/appeal/list.vue
...manager-ui/admin/src/views/perform/attend/appeal/list.vue
+13
-1
No files found.
attendance-performance-manager-ui/admin/src/assets/images/fileImg.png
0 → 100644
View file @
611d2fe5
126 KB
attendance-performance-manager-ui/admin/src/components/tools/TableButtons.vue
View file @
611d2fe5
...
@@ -39,6 +39,16 @@
...
@@ -39,6 +39,16 @@
>
核查
</el-button
>
核查
</el-button
>
>
<span>
</span>
<span>
</span>
<el-button
v-if=
"chuli"
type=
"text"
icon=
"el-icon-edit"
size=
"mini"
@
click=
"$emit('edit', row)"
title=
"处理"
>
处理
</el-button
>
<span>
</span>
<Confirm
@
confirm=
"$emit('del', row.id)"
message=
"确定要删除该条记录吗?"
>
<Confirm
@
confirm=
"$emit('del', row.id)"
message=
"确定要删除该条记录吗?"
>
<el-button
<el-button
v-if=
"!noDel"
v-if=
"!noDel"
...
@@ -72,6 +82,10 @@ export default {
...
@@ -72,6 +82,10 @@ export default {
type
:
Boolean
,
type
:
Boolean
,
default
:
false
,
default
:
false
,
},
},
chuli
:
{
type
:
Boolean
,
default
:
false
,
},
switchBtn
:
{
switchBtn
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
,
default
:
false
,
...
...
attendance-performance-manager-ui/admin/src/views/perform/attend/appeal/drawershow.vue
View file @
611d2fe5
...
@@ -50,7 +50,9 @@
...
@@ -50,7 +50,9 @@
}}
</el-col
}}
</el-col
>
>
<el-col
:span=
"9"
<el-col
:span=
"9"
>
异常结果:
{{
form
.
errorTime
?
form
.
errorTime
:
"
--
"
}}
</el-col
>
异常结果:
{{
form
.
errorResult
?
form
.
errorResult
:
"
--
"
}}
</el-col
>
>
<el-col
:span=
"5"
<el-col
:span=
"5"
>
扣分方式:
{{
form
.
subMethod
?
form
.
subMethod
:
"
--
"
}}
</el-col
>
扣分方式:
{{
form
.
subMethod
?
form
.
subMethod
:
"
--
"
}}
</el-col
...
@@ -81,7 +83,9 @@
...
@@ -81,7 +83,9 @@
>
绩效规则:
{{
form
.
ruleName
?
form
.
ruleName
:
"
--
"
}}
</el-col
>
绩效规则:
{{
form
.
ruleName
?
form
.
ruleName
:
"
--
"
}}
</el-col
>
>
<el-col
:span=
"8"
<el-col
:span=
"8"
>
加分/扣除分值:
{{
form
.
score
?
form
.
score
:
"
--
"
}}
</el-col
>
加分/扣除分值:
<span
style=
"color:#ff0000"
>
{{
form
.
score
?
form
.
score
:
"
--
"
}}
</span></el-col
>
>
</el-row>
</el-row>
<el-row>
<el-row>
...
@@ -104,20 +108,78 @@
...
@@ -104,20 +108,78 @@
<div
class=
"content"
>
<div
class=
"content"
>
<el-row>
<el-row>
<el-col
:span=
"24"
<el-col
:span=
"24"
>
申诉说明:
{{
>
申诉说明:
{{
form
.
appealDesc
?
form
.
appealDesc
:
"
--
"
}}
</el-col
form
.
appealDesc
?
form
.
appealDesc
:
"
--
"
}}
</el-col
>
>
<el-col
:span=
"24"
<el-col
:span=
"24"
>
申诉时间:
{{
form
.
appealTime
?
form
.
appealTime
:
"
--
"
}}
</el-col
>
申诉时间:
{{
form
.
appealTime
?
form
.
appealTime
:
"
--
"
}}
</el-col
>
>
<el-col
:span=
"24"
<el-col
:span=
"24"
>
申诉附件:
{{
form
.
performAttendAppealFilesList
?
form
.
performAttendAppealFilesList
:
"
--
"
}}
</el-col
>
申诉附件:
<span
v-if=
"!form.performAttendAppealFilesList"
>
--
</span>
<div
class=
"img_content"
v-else
>
<div
class=
"imgBox"
v-for=
"val in form.performAttendAppealFilesList"
:key=
"val.id"
@
click=
"hanldeDownloadFile(val)"
>
<img
src=
"../../../../assets/images/fileImg.png"
alt=
""
/>
{{
val
.
fileName
}}
</div>
</div>
</el-col>
</el-row>
</div>
</div>
<div
class=
"box"
v-if=
"form.view == '查看' || form.processStatus == 2"
>
<div
class=
"title"
>
申诉结果
</div>
<div
class=
"content"
>
<el-row>
<el-col
:span=
"8"
>
申诉结果:
{{
form
.
appealResult
?
form
.
appealResult
:
"
--
"
}}
</el-col
>
<el-col
:span=
"8"
>
处理人员:
{{
form
.
updateUserId
?
form
.
updateUserId
:
"
--
"
}}
</el-col
>
<el-col
:span=
"8"
>
处理时间:
{{
form
.
appealTime
?
form
.
appealTime
:
"
--
"
}}
</el-col
>
</el-row>
<el-row>
<el-col
:span=
"24"
>
说明:
{{
form
.
remark
?
form
.
remark
:
"
--
"
}}
</el-col
>
>
</el-row>
</el-row>
</div>
</div>
</div>
</div>
<div
class=
"box"
></div>
<div
class=
"box"
v-else
>
<div
class=
"title"
>
申诉结果
</div>
<div
class=
"content"
>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
label=
"申诉结果:"
>
<el-radio-group
v-model=
"form.appealResult"
>
<el-radio
:label=
"1"
>
通过
</el-radio>
<el-radio
:label=
"2"
>
不通过
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
label=
"说明:"
>
<el-input
type=
"textarea"
v-model=
"form.remark"
></el-input>
</el-form-item>
</el-col>
</el-row>
</div>
</div>
<form-buttons
<form-buttons
@
submit=
"submitForm"
@
submit=
"submitForm"
v-if=
"pageInfo.type != 'view'"
v-if=
"pageInfo.type != 'view'"
...
@@ -393,6 +455,9 @@
...
@@ -393,6 +455,9 @@
<
script
>
<
script
>
import
form
from
"
@/assets/mixins/formdialog
"
;
import
form
from
"
@/assets/mixins/formdialog
"
;
import
{
timestampToTime
}
from
"
@/assets/utils/dateFormat.js
"
;
import
{
downloadFile
}
from
"
@/assets/utils/index
"
;
export
default
{
export
default
{
name
:
"
PerformAttendAppealDetail
"
,
name
:
"
PerformAttendAppealDetail
"
,
mixins
:
[
form
],
mixins
:
[
form
],
...
@@ -433,6 +498,26 @@ export default {
...
@@ -433,6 +498,26 @@ export default {
},
},
methods
:
{
methods
:
{
// 下载附件
hanldeDownloadFile
(
val
)
{
console
.
log
(
val
);
downloadFile
(
val
.
filePath
,
val
.
fileName
);
},
picMatter
(
val
)
{
if
(
val
||
val
!==
"
--
"
)
{
return
(
<
el
-
image
src
=
{
val
.
indexOf
(
"
http
"
)
==
-
1
?
this
.
baseUrl
+
val
:
val
}
preview
-
src
-
list
=
{
val
.
indexOf
(
"
http
"
)
==
-
1
?
this
.
baseUrl
+
val
:
val
}
style
=
"
width: 100px
"
><
/el-image
>
);
}
else
{
return
val
;
}
},
/** 绩效记录申诉附件信息序号 */
/** 绩效记录申诉附件信息序号 */
rowPerformAttendAppealFilesIndex
({
row
,
rowIndex
})
{
rowPerformAttendAppealFilesIndex
({
row
,
rowIndex
})
{
row
.
index
=
rowIndex
+
1
;
row
.
index
=
rowIndex
+
1
;
...
@@ -472,9 +557,8 @@ export default {
...
@@ -472,9 +557,8 @@ export default {
},
},
// 渲染前置处理
// 渲染前置处理
beforeRender
(
data
)
{
beforeRender
(
data
)
{
if
(
data
.
entity
.
performAttendAppealFilesList
)
{
if
(
data
.
performAttendAppealFilesList
)
{
this
.
performAttendAppealFilesList
=
this
.
performAttendAppealFilesList
=
data
.
performAttendAppealFilesList
;
data
.
entity
.
performAttendAppealFilesList
;
}
}
return
data
;
return
data
;
},
},
...
@@ -482,10 +566,47 @@ export default {
...
@@ -482,10 +566,47 @@ export default {
edit
(
row
)
{
edit
(
row
)
{
this
.
reset
();
this
.
reset
();
this
.
query
=
{
id
:
row
.
id
};
this
.
query
=
{
id
:
row
.
id
};
this
.
urls
.
currUrl
=
"
perform/attend/appeal/edit
"
;
// this.urls.currUrl = "/perform/attend/appeal/info";
this
.
getData
();
// this.getData();
this
.
$get
(
"
/perform/attend/appeal/info
"
,
{
id
:
row
.
id
}).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
this
.
form
=
res
.
data
;
}
else
{
this
.
reset
();
}
for
(
let
key
in
this
.
form
)
{
key
==
"
actualAttendTime
"
?
(
this
.
form
[
key
]
=
timestampToTime
(
this
.
form
[
key
],
6
))
:
key
==
"
attendanceDate
"
?
(
this
.
form
[
key
]
=
timestampToTime
(
this
.
form
[
key
],
6
))
:
key
==
"
createTime
"
?
(
this
.
form
[
key
]
=
timestampToTime
(
this
.
form
[
key
],
6
))
:
key
==
"
errorTime
"
?
(
this
.
form
[
key
]
=
timestampToTime
(
this
.
form
[
key
],
6
))
:
key
==
"
updateTime
"
?
(
this
.
form
[
key
]
=
timestampToTime
(
this
.
form
[
key
],
6
))
:
key
==
"
checkTime
"
?
(
this
.
form
[
key
]
=
timestampToTime
(
this
.
form
[
key
],
6
))
:
key
==
"
reviewTime
"
?
(
this
.
form
[
key
]
=
timestampToTime
(
this
.
form
[
key
],
6
))
:
key
==
"
appealTime
"
?
(
this
.
form
[
key
]
=
timestampToTime
(
this
.
form
[
key
],
6
))
:
key
==
"
complainTime
"
?
(
this
.
form
[
key
]
=
timestampToTime
(
this
.
form
[
key
],
6
))
:
key
==
"
happenTime
"
?
(
this
.
form
[
key
]
=
timestampToTime
(
this
.
form
[
key
],
6
))
:
key
==
"
alarmTime
"
?
(
this
.
form
[
key
]
=
timestampToTime
(
this
.
form
[
key
],
6
))
:
key
==
"
alarmTime
"
?
(
this
.
form
[
key
]
=
timestampToTime
(
this
.
form
[
key
],
6
))
:
""
;
}
this
.
form
.
appealResult
=
""
;
this
.
form
.
remark
=
""
;
this
.
open
=
true
;
});
this
.
pageInfo
.
type
=
"
edit
"
;
this
.
pageInfo
.
type
=
"
edit
"
;
this
.
title
=
"
修改
绩效记录申诉信息
"
;
this
.
title
=
"
处理
绩效记录申诉信息
"
;
},
},
/** 新增 */
/** 新增 */
add
(
row
)
{
add
(
row
)
{
...
@@ -501,6 +622,7 @@ export default {
...
@@ -501,6 +622,7 @@ export default {
this
.
query
=
{
id
:
row
.
id
};
this
.
query
=
{
id
:
row
.
id
};
this
.
urls
.
currUrl
=
"
perform/attend/appeal/view
"
;
this
.
urls
.
currUrl
=
"
perform/attend/appeal/view
"
;
this
.
getData
();
this
.
getData
();
this
.
form
.
view
=
"
查看
"
;
this
.
pageInfo
.
type
=
"
view
"
;
this
.
pageInfo
.
type
=
"
view
"
;
this
.
title
=
"
绩效记录申诉信息详细
"
;
this
.
title
=
"
绩效记录申诉信息详细
"
;
},
},
...
@@ -603,6 +725,27 @@ export default {
...
@@ -603,6 +725,27 @@ export default {
/deep/.el-row {
/deep/.el-row {
margin-bottom: 20px;
margin-bottom: 20px;
}
}
.img_content {
width: 100%;
height: auto;
display: flex;
flex-wrap: wrap;
padding: 10px 0 0 10px;
}
.imgBox {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 60px;
height: 80px;
cursor: pointer;
img {
width: 50px;
height: 50px;
margin-top: 10px;
}
}
}
}
}
}
}
}
...
...
attendance-performance-manager-ui/admin/src/views/perform/attend/appeal/list.vue
View file @
611d2fe5
...
@@ -218,7 +218,7 @@ export default {
...
@@ -218,7 +218,7 @@ export default {
{
{
label
:
"
操作
"
,
label
:
"
操作
"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
return
(
return
row
.
processStatus
==
2
?
(
<
table
-
buttons
<
table
-
buttons
noAdd
noAdd
noDel
noDel
...
@@ -228,6 +228,18 @@ export default {
...
@@ -228,6 +228,18 @@ export default {
onView
=
{
this
.
toView
}
onView
=
{
this
.
toView
}
onDel
=
{
this
.
toDel
}
onDel
=
{
this
.
toDel
}
/
>
/
>
)
:
(
<
table
-
buttons
noAdd
noDel
noView
noEdit
chuli
row
=
{
row
}
onEdit
=
{
this
.
toEdit
}
onView
=
{
this
.
toView
}
onDel
=
{
this
.
toDel
}
/
>
);
);
},
},
},
},
...
...
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