Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bill-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
赵啸非
bill-manager-ui
Commits
a2e3c9b2
Commit
a2e3c9b2
authored
Jun 21, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加站点分类查询
parent
d51484eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
21 deletions
+26
-21
admin/src/assets/mixins/table.js
admin/src/assets/mixins/table.js
+17
-0
admin/src/views/pj/evaluate/list.vue
admin/src/views/pj/evaluate/list.vue
+9
-21
No files found.
admin/src/assets/mixins/table.js
View file @
a2e3c9b2
...
...
@@ -300,6 +300,23 @@ export default {
formatterDateOnly
(
row
,
column
)
{
return
formatterDateOnly
(
row
,
column
);
},
// 格式化单元格数据
formatterDateSeconds
(
row
,
column
,
val
)
{
let
h
=
parseInt
(
val
/
60
/
60
%
24
)
let
m
=
parseInt
(
val
/
60
%
60
)
let
s
=
parseInt
(
val
%
60
)
//三元表达式 补零 如果小于10 则在前边进行补零 如果大于10 则不需要补零
h
=
h
<
10
?
'
0
'
+
h
:
h
m
=
m
<
10
?
'
0
'
+
m
:
m
s
=
s
<
10
?
'
0
'
+
s
:
s
return
`
${
h
}
小时
${
m
}
分钟
${
s
}
秒`
//return formatterDate(row, column);
},
// 格式化人员
formaterPeople
(
row
,
column
,
val
)
{
let
info
;
...
...
admin/src/views/pj/evaluate/list.vue
View file @
a2e3c9b2
...
...
@@ -16,10 +16,13 @@
name
:
"
PjEvaluateList
"
,
components
:
{
drawerShow
},
},
mixins
:
[
table
],
created
()
{
const
siteid
=
session
.
getSession
(
"
siteid
"
);
console
.
log
(
"
siteid
"
+
siteid
)
this
.
query
[
"
siteId
"
]
=
siteid
?
siteid
:
1
;
},
methods
:
{
...
...
@@ -51,7 +54,11 @@
columns
:
[
{
type
:
"
index
"
,
label
:
"
序号
"
,
width
:
50
},
{
label
:
"
评价人身份证号
"
,
prop
:
"
peopleIdcard
"
},
{
label
:
"
站点编码
"
,
prop
:
"
siteCode
"
},
{
label
:
"
站点名称
"
,
prop
:
"
siteName
"
},
{
label
:
"
评价人身份证号
"
,
prop
:
"
peopleIdcard
"
},
{
label
:
"
评价人姓名
"
,
prop
:
"
peopleName
"
},
...
...
@@ -63,8 +70,6 @@
{
label
:
"
评价标签
"
,
prop
:
"
contentTag
"
},
{
label
:
"
评价人图片地址
"
,
prop
:
"
picUrl
"
},
{
label
:
"
部门
"
,
prop
:
"
sectionName
"
},
{
label
:
"
大厅
"
,
prop
:
"
hallName
"
},
...
...
@@ -85,31 +90,14 @@
{
label
:
"
工作人员工号
"
,
prop
:
"
workmanNumber
"
},
{
label
:
"
评价器mac
"
,
prop
:
"
devicenum
"
},
{
label
:
"
评价状态
"
,
prop
:
"
evaluatestatus
"
},
{
label
:
"
截图还是评价
"
,
prop
:
"
evaluatetype
"
},
{
label
:
"
截图地址
"
,
prop
:
"
photobefor
"
},
{
label
:
"
签字图片
"
,
prop
:
"
photoautograph
"
},
{
label
:
"
抓拍评价人照片
"
,
prop
:
"
picture
"
},
{
label
:
"
音频视频地址
"
,
prop
:
"
process
"
},
{
label
:
"
评价标记
"
,
prop
:
"
eyevaluate
"
},
{
label
:
"
评价指向
"
,
prop
:
"
pjType
"
},
{
label
:
"
评价时间
"
,
prop
:
"
pjTime
"
,
formatter
:
this
.
formatterDate
},
{
label
:
"
站点编码
"
,
prop
:
"
siteCode
"
},
{
label
:
"
站点名称
"
,
prop
:
"
siteName
"
},
{
label
:
"
扩展编号
"
,
prop
:
"
extNum
"
},
{
label
:
"
创建时间
"
,
prop
:
"
createTime
"
,
formatter
:
this
.
formatterDate
},
...
...
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