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-manager-ui
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-manager-ui
Commits
6105943d
Commit
6105943d
authored
Apr 29, 2024
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推
parent
3c403fed
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
5 deletions
+55
-5
src/assets/mixins/table.js
src/assets/mixins/table.js
+4
-2
src/components/SearchForm.vue
src/components/SearchForm.vue
+6
-0
src/views/perform/effect/record/drawershow.vue
src/views/perform/effect/record/drawershow.vue
+19
-2
src/views/perform/effect/record/list.vue
src/views/perform/effect/record/list.vue
+26
-1
No files found.
src/assets/mixins/table.js
View file @
6105943d
...
...
@@ -46,6 +46,7 @@ export default {
delete
this
.
query
.
errorTimeEnd
;
}
}
this
.
getData
();
},
},
...
...
@@ -693,8 +694,9 @@ export default {
?
"
/check/window/perform/list
"
:
this
.
$route
.
path
.
indexOf
(
"
/window/workman/perform/list
"
)
==
0
?
"
/check/window/workman/perform/list
"
:
this
.
$route
.
path
.
indexOf
(
"
/check/window/workman/perform/detail/list
"
)
==
0
:
this
.
$route
.
path
.
indexOf
(
"
/check/window/workman/perform/detail/list
"
)
==
0
?
"
/window/workman/perform/detail/list
"
:
this
.
$route
.
path
,
edit
:
this
.
$route
.
path
.
replace
(
"
/list
"
,
"
/edit
"
),
...
...
src/components/SearchForm.vue
View file @
6105943d
...
...
@@ -428,6 +428,7 @@ export default {
}
}
});
this
.
form
=
Object
.
assign
({},
this
.
form
,
newFormData
);
// this.form = Object.assign({}, this.form, data);
// console.log("after form",this.form)
...
...
@@ -449,6 +450,7 @@ export default {
delete
this
.
$route
.
query
.
yearmonth
;
delete
this
.
$route
.
query
.
createTimeMonth
;
delete
this
.
$route
.
query
.
orderColList
;
this
.
form
=
Object
.
assign
({},
this
.
form
,
newData
);
this
.
onSubmit
();
},
...
...
@@ -534,6 +536,10 @@ export default {
this
.
form
.
attendanceDateEnd
=
timestampToTime
(
new
Date
(),
3
);
}
}
if
(
this
.
$route
.
name
==
"
perform/effect/record/list
"
)
{
this
.
form
.
subMethod
?
""
:
(
this
.
form
.
subMethod
=
"
1
"
);
console
.
log
(
this
.
form
.
subMethod
);
}
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
));
//不更改原始数据
let
data
=
this
.
decode
(
params
);
...
...
src/views/perform/effect/record/drawershow.vue
View file @
6105943d
...
...
@@ -98,6 +98,8 @@
?
"
玩手机
"
:
form
.
irregularType
==
4
?
"
睡觉
"
:
form
.
irregularType
==
4
?
"
其他
"
:
"
--
"
}}
</p>
...
...
@@ -188,7 +190,16 @@
"
>
</el-image>
-->
<filepReview
v-if=
"form.filePaths"
:src=
"form.filePaths"
/>
<filepReview
v-if=
"form.filePaths || form.snapPath"
:src=
"
form.filePaths
? form.filePaths
: form.snapPath
? form.snapPath
: []
"
/>
<span
v-else
>
--
</span>
</div>
<ImageUpload
...
...
@@ -240,7 +251,9 @@
</el-row>
<el-row>
<el-col
:span=
"22"
>
<el-form-item
:label=
"form.subAddType == 1 ? '加分分值:' : '扣分分值:'"
>
<el-form-item
:label=
"form.subAddType == 1 ? '加分分值:' : '扣分分值:'"
>
<p>
{{
form
.
subAddType
==
1
?
"
+
"
:
"
-
"
}}
{{
form
.
score
}}
</p>
</el-form-item>
</el-col>
...
...
@@ -489,6 +502,10 @@ export default {
label
:
"
睡觉
"
,
value
:
4
,
},
{
label
:
"
其他
"
,
value
:
5
,
},
],
form
:
{},
baseUrl
:
process
.
env
.
VUE_APP_API_BASE_URL
+
"
/
"
,
...
...
src/views/perform/effect/record/list.vue
View file @
6105943d
...
...
@@ -178,6 +178,12 @@ export default {
config
:
{
isshowTabPane
:
true
,
search
:
[
{
name
:
"
subMethod
"
,
type
:
"
select
"
,
label
:
"
效能分类
"
,
fuzzy
:
false
,
},
{
name
:
"
processStatus
"
,
type
:
"
select
"
,
...
...
@@ -316,9 +322,28 @@ export default {
width
:
200
,
fixed
:
"
right
"
,
formatter
:
(
row
)
=>
{
return
row
.
processStatus
==
1
?
(
return
row
.
subMethod
==
1
&&
row
.
processStatus
==
1
?
(
<
table
-
buttons
noAdd
noEdit
row
=
{
row
}
onEdit
=
{
this
.
toEdit
}
onView
=
{
this
.
toView
}
onDel
=
{
this
.
toDel
}
/
>
)
:
row
.
subMethod
==
2
&&
row
.
processStatus
==
1
?
(
<
table
-
buttons
noAdd
row
=
{
row
}
onEdit
=
{
this
.
toEdit
}
onView
=
{
this
.
toView
}
onDel
=
{
this
.
toDel
}
/
>
)
:
row
.
subMethod
==
1
&&
row
.
processStatus
==
2
?
(
<
table
-
buttons
noAdd
noEdit
noDel
row
=
{
row
}
onEdit
=
{
this
.
toEdit
}
onView
=
{
this
.
toView
}
...
...
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