Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d5e720c8
authored
Jan 13, 2025
by
huyue
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复日报
1 parent
36b391cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
src/views/residentManage/dailyPaperManagement/drawer.vue
src/views/residentManage/dailyPaperManagement/index.vue
src/views/residentManage/dailyPaperManagement/drawer.vue
View file @
d5e720c
...
...
@@ -24,7 +24,7 @@
<div
class=
"basic-info"
><span>
缺失份数:
</span>
{{
templateData
.
undoCount
}}
份
</div>
<div
class=
"title"
>
明细数据
<el-button
type=
"primary"
size=
"mini"
@
click=
"exportTable"
>
导出
</el-button></div>
<el-table
:data=
"tableData"
border
style=
"width: 100%;text-align: center;"
>
<el-table-column
v-for=
"(item, index) in tableParams"
:key=
"index"
:prop=
"item.prop"
:label=
"item.label"
>
<el-table-column
v-for=
"(item, index) in tableParams"
:
sortable=
"item.sortable"
:
key=
"index"
:prop=
"item.prop"
:label=
"item.label"
>
<template
slot-scope=
"scope"
>
<slot
:scope=
"scope.row"
>
{{
scope
.
row
[
item
.
prop
]
==
null
?
'-'
:
scope
.
row
[
item
.
prop
]
}}
...
...
@@ -118,15 +118,18 @@ export default {
},
{
label
:
'最近提交日报日期'
,
prop
:
'lastSubmitDate'
prop
:
'lastSubmitDate'
,
sortable
:
true
},
{
label
:
'本周提交总数'
,
prop
:
'weekSubmitCount'
prop
:
'weekSubmitCount'
,
sortable
:
true
},
{
label
:
'本月提交总数'
,
prop
:
'monthSubmitCount'
prop
:
'monthSubmitCount'
,
sortable
:
true
}
]
}
...
...
src/views/residentManage/dailyPaperManagement/index.vue
View file @
d5e720c
...
...
@@ -9,6 +9,7 @@
v-model=
"searchForm.createdDate"
type=
"date"
placeholder=
"选择日期"
:clearable=
"false"
:picker-options=
"pickerOption"
@
change=
"dateChange"
>
</el-date-picker>
...
...
@@ -72,12 +73,12 @@
<template
v-if=
"scope.scope[scope.prop].monthRate"
>
<div
:class=
"scope.scope[scope.prop].monthRate > 0 ? 'red' : scope.scope[scope.prop].monthRate == 0 ? '' : 'green'"
>
月
{{
scope
.
scope
[
scope
.
prop
].
monthRate
}}
%
</div>
</
template
>
<
template
v-else
>
-
</
template
>
<
template
v-else
>
月
-
</
template
>
<div
class=
"line"
></div>
<
template
v-if=
"scope.scope[scope.prop].weekRate"
>
<div
:class=
"scope.scope[scope.prop].weekRate > 0 ? 'red' : scope.scope[scope.prop].weekRate == 0 ? '' : 'green'"
>
周
{{
scope
.
scope
[
scope
.
prop
].
weekRate
}}
%
</div>
</
template
>
<
template
v-else
>
-
</
template
>
<
template
v-else
>
周
-
</
template
>
</div>
</div>
<div
class=
"text-box"
slot=
"text"
slot-scope=
"scope"
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment