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
039d0653
Commit
039d0653
authored
May 07, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
也没写修改
parent
d9505ca6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
19 deletions
+8
-19
schedul-visit.vue
src/components/schedul/schedul-visit.vue
+8
-19
No files found.
src/components/schedul/schedul-visit.vue
View file @
039d0653
...
...
@@ -206,7 +206,7 @@
</el-form-item>
<el-form-item
label=
"状态"
>
<el-select
v-model=
"addMsg.VisitorStatus"
style=
"width:200px;"
placeholder=
"请选择"
>
<el-option
v-for=
"item in statusList"
:key=
"item.Id"
:
label=
"item.Name"
:value=
"item.Id"
>
<el-option
v-for=
"item in statusList"
:key=
"item.Id"
:
value=
"item.Id"
:label=
"item.Name"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -221,7 +221,7 @@
<q-btn
color=
"accent"
size=
"sm"
@
click=
"SaveVisitor()"
style=
"float:right;margin-bottom:10px;"
label=
"保存"
/>
</div>
<q-btn
flat
size=
"xs"
icon=
"edit"
slot=
"reference"
@
click=
"
Se
tVisitor(props.row.Id)"
color=
"accent"
<q-btn
flat
size=
"xs"
icon=
"edit"
slot=
"reference"
@
click=
"
Edi
tVisitor(props.row.Id)"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
v-if=
"DutyAuthObj.isShowEdit"
/>
</el-popover>
</q-td>
...
...
@@ -330,7 +330,6 @@
loading
:
true
,
pageCount
:
0
,
GBList
:
[],
//日语基础列表
isShowBtn
:
true
,
//默认显示新增名单
msg
:
{
pageIndex
:
1
,
pageSize
:
5
,
...
...
@@ -347,16 +346,10 @@
StudyTime
:
""
,
//学习时间
LevelType
:
""
,
//当前水平
PlanId
:
0
,
//值班编号
VisitorStatus
:
1
,
//状态
VisitorStatus
:
""
,
//状态
Evaluate
:
''
,
//意向评估
Remark
:
''
//备注
},
statusMsg
:
{
Id
:
0
,
//编号
VisitorStatus
:
0
,
//访客状态(1-正常,2-贵宾,3-黑名单)
Evaluate
:
""
,
//意向评估
Remark
:
""
,
//备注
},
statusList
:
[{
Id
:
1
,
Name
:
'正常'
...
...
@@ -435,14 +428,13 @@
})
},
//新增修改访客
Se
tVisitor
(
Id
)
{
Edi
tVisitor
(
Id
)
{
if
(
Id
>
0
)
{
queryVisitor
({
Id
:
Id
}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
var
tempData
=
res
.
Data
;
console
.
log
(
tempData
,
'tempData'
);
if
(
tempData
)
{
this
.
addMsg
.
Id
=
tempData
.
Id
;
this
.
addMsg
.
Name
=
tempData
.
Name
;
...
...
@@ -470,7 +462,10 @@
this
.
addMsg
.
CourseName
=
""
;
this
.
addMsg
.
StudyTime
=
""
;
this
.
addMsg
.
LevelType
=
""
;
this
.
addMsg
.
PlanId
=
0
;
this
.
msg
.
PlanId
=
this
.
saveObj
.
Id
;
this
.
addMsg
.
VisitorStatus
=
""
;
this
.
addMsg
.
Evaluate
=
""
;
this
.
addMsg
.
Remark
=
""
;
},
//保存
SaveVisitor
()
{
...
...
@@ -482,12 +477,6 @@
this
.
clearAddMsg
();
})
},
//修改访客状态
setVisitorStatus
()
{
updateVisitor
(
this
.
statusMsg
).
then
(
res
=>
{
console
.
log
(
res
);
})
}
}
}
...
...
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