Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
23527e94
Commit
23527e94
authored
May 07, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
45e6e170
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
schedul-visit.vue
src/components/schedul/schedul-visit.vue
+11
-2
No files found.
src/components/schedul/schedul-visit.vue
View file @
23527e94
...
...
@@ -103,7 +103,7 @@
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"stickycreatInsertStr-column-table schedul_Vtable"
separator=
"none"
:data=
"data"
:columns=
"columns"
row-key=
"name"
>
row-key=
"name"
:visible-columns=
"visibleColumns"
>
<template
v-slot:top=
"props"
>
<div
class=
"fangkeTitle"
ref=
"fkdj"
>
访客登记
</div>
<span
class=
"fangkeNumb"
>
{{
data
.
length
}}
</span>
...
...
@@ -157,7 +157,8 @@
<q-btn
color=
"accent"
size=
"sm"
@
click=
"isShowVform=!isShowVform,SaveVisitor()"
style=
"float:right;margin-bottom:10px;"
label=
"保存"
/>
</div>
<q-btn
color=
"accent"
slot=
"reference"
size=
"sm"
icon=
"add"
@
click=
"clearAddMsg"
label=
"添加访客"
v-if=
"DutyAuthObj.isShowAdd"
/>
<q-btn
color=
"accent"
slot=
"reference"
size=
"sm"
icon=
"add"
@
click=
"clearAddMsg"
label=
"添加访客"
v-if=
"DutyAuthObj.isShowAdd"
/>
</el-popover>
</div>
</
template
>
...
...
@@ -374,6 +375,11 @@
isShowAdd
:
true
,
//是否显示新增按钮【默认显示】
isShowEdit
:
true
,
//是否显示编辑按钮【默认显示】
},
//表格可见列
visibleColumns
:
[
'Name'
,
'Tel'
,
'WeChatNum'
,
'CourseName'
,
'StudyTime'
,
"LevelType"
,
"CreateByName"
,
"VisitorStatus"
,
"Evaluate"
,
'VisitTimes'
,
'Remark'
,
'optioned'
],
//可见列
}
},
created
()
{
...
...
@@ -395,6 +401,9 @@
this
.
DutyAuthObj
.
isShowEdit
=
this
.
authObj
.
isShowEdit
;
}
}
if
(
!
this
.
DutyAuthObj
.
isShowEdit
)
{
this
.
visibleColumns
.
splice
(
this
.
visibleColumns
.
length
-
1
,
1
);
}
},
//日语基础枚举
getGuestBasics
()
{
...
...
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