Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sim
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
limeimei
sim
Commits
bd07be1e
Commit
bd07be1e
authored
Dec 01, 2023
by
limeimei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
1da095f3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
15 deletions
+19
-15
disreserve.vue
src/views/visitor/disreserve.vue
+7
-4
disreserve2.vue
src/views/visitor/disreserve2.vue
+11
-10
reserved.vue
src/views/visitor/reserved.vue
+1
-1
No files found.
src/views/visitor/disreserve.vue
View file @
bd07be1e
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<div
class=
"return_btn"
><el-button
v-show=
"this.type==0"
@
click=
"toBack"
>
返回上一步
</el-button></div>
<div
class=
"return_btn"
><el-button
v-show=
"this.type==0"
@
click=
"toBack"
>
返回上一步
</el-button></div>
<div
class=
"card_left_c"
@
click=
"openCamera"
>
<div
class=
"card_left_c"
@
click=
"openCamera"
>
<img
src=
"@/assets/head.png
"
alt=
""
class=
"card_left_img2"
v-if=
"imgSrc!=''"
>
<img
:src=
"imgSrc
"
alt=
""
class=
"card_left_img2"
v-if=
"imgSrc!=''"
>
<img
src=
"@/assets/visitor/camera.png"
alt=
""
class=
"card_left_img"
v-else
>
<img
src=
"@/assets/visitor/camera.png"
alt=
""
class=
"card_left_img"
v-else
>
</div>
</div>
<div
class=
"card_item"
><span
class=
"card_item_span"
>
姓名:
</span>
<div
class=
"card_item"
><span
class=
"card_item_span"
>
姓名:
</span>
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<el-input
v-model=
"vform.idnumber"
></el-input>
<el-input
v-model=
"vform.idnumber"
></el-input>
</div>
</div>
<div
class=
"card_item"
><span
class=
"card_item_span"
>
来访事由:
</span>
<div
class=
"card_item"
><span
class=
"card_item_span"
>
来访事由:
</span>
<el-select
v-model=
"vform.
name
"
width=
"360px"
>
<el-select
v-model=
"vform.
aaa
"
width=
"360px"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -55,8 +55,11 @@
...
@@ -55,8 +55,11 @@
created
()
{
created
()
{
if
(
this
.
$route
.
params
.
imgSrc
)
if
(
this
.
$route
.
params
.
imgSrc
)
{
this
.
imgSrc
=
this
.
$route
.
params
.
imgSrc
this
.
imgSrc
=
this
.
$route
.
params
.
imgSrc
;
this
.
vform
=
{
name
:
"陈雨"
,
cname
:
""
,
num
:
"1"
,
aaa
:
0
,
phone
:
"134147112585"
,
idnumber
:
"440514200004510028"
}
}
if
(
this
.
$route
.
params
.
vform
)
{
if
(
this
.
$route
.
params
.
vform
)
{
this
.
vform
=
JSON
.
parse
(
this
.
$route
.
params
.
vform
)
this
.
vform
=
JSON
.
parse
(
this
.
$route
.
params
.
vform
)
}
}
...
...
src/views/visitor/disreserve2.vue
View file @
bd07be1e
...
@@ -5,20 +5,20 @@
...
@@ -5,20 +5,20 @@
<div
class=
"return_btn"
><el-button
v-show=
"this.type==0"
@
click=
"toBack"
>
返回上一步
</el-button></div>
<div
class=
"return_btn"
><el-button
v-show=
"this.type==0"
@
click=
"toBack"
>
返回上一步
</el-button></div>
<div
class=
"card_left_c"
>
<div
class=
"card_left_c"
>
<
img
:src=
"imgSrc"
alt=
""
class=
"card_left_img"
v-if=
"imgSrc!=''"
>
<
!--
<img
:src=
"imgSrc"
alt=
""
class=
"card_left_img"
v-if=
"imgSrc!=''"
>
--
>
<img
src=
"@/assets/head.png"
alt=
""
class=
"card_left_img"
v-else
>
<img
src=
"@/assets/head.png"
alt=
""
class=
"card_left_img"
>
</div>
</div>
<div
class=
"card_item"
><span
class=
"card_item_span"
>
姓名:
</span>
<div
class=
"card_item"
><span
class=
"card_item_span"
>
姓名:
</span>
<el-input
v
-model=
"vform.name
"
></el-input>
<el-input
v
alue=
"陈雨
"
></el-input>
</div>
</div>
<div
class=
"card_item"
><span
class=
"card_item_span"
>
手机号:
</span>
<div
class=
"card_item"
><span
class=
"card_item_span"
>
手机号:
</span>
<el-input
v-model=
"vform.
nam
e"
placeholder=
"必填"
></el-input>
<el-input
v-model=
"vform.
phon
e"
placeholder=
"必填"
></el-input>
</div>
</div>
<div
class=
"card_item"
><span
class=
"card_item_span"
>
身份证号:
</span>
<div
class=
"card_item"
><span
class=
"card_item_span"
>
身份证号:
</span>
<el-input
v
-model=
"vform.name
"
></el-input>
<el-input
v
alue=
"440514200006230010
"
></el-input>
</div>
</div>
<div
class=
"card_item"
><span
class=
"card_item_span"
>
来访事由:
</span>
<div
class=
"card_item"
><span
class=
"card_item_span"
>
来访事由:
</span>
<el-select
v
-model=
"vform.name
"
width=
"360px"
>
<el-select
v
alue=
"面试
"
width=
"360px"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -28,10 +28,10 @@
...
@@ -28,10 +28,10 @@
<div
class=
"card_center"
></div>
<div
class=
"card_center"
></div>
<div
class=
"card_right"
>
<div
class=
"card_right"
>
<div
class=
"card_item"
><span
class=
"card_item_span"
>
公司名称:
</span>
<div
class=
"card_item"
><span
class=
"card_item_span"
>
公司名称:
</span>
<el-input
v
-model=
"vform.name
"
placeholder=
"必填"
></el-input>
<el-input
v
alue=
"广州思想有限公司
"
placeholder=
"必填"
></el-input>
</div>
</div>
<div
class=
"card_item"
><span
class=
"card_item_span"
>
到访人数:
</span>
<div
class=
"card_item"
><span
class=
"card_item_span"
>
到访人数:
</span>
<el-input
v
-model=
"vform.name
"
placeholder=
"必填"
></el-input>
<el-input
v
alue=
"1
"
placeholder=
"必填"
></el-input>
</div>
</div>
<div
class=
"card_item_next"
><el-button
type=
"primary"
@
click=
"toNext"
>
下一步
</el-button></div>
<div
class=
"card_item_next"
><el-button
type=
"primary"
@
click=
"toNext"
>
下一步
</el-button></div>
...
@@ -54,9 +54,10 @@
...
@@ -54,9 +54,10 @@
created
()
{
created
()
{
if
(
this
.
$route
.
params
.
vform
)
if
(
this
.
$route
.
params
.
phone
)
this
.
vform
=
JSON
.
parse
(
this
.
$route
.
params
.
vform
)
this
.
vform
.
phone
=
this
.
$route
.
params
.
phone
this
.
type
=
this
.
$route
.
params
.
type
;
this
.
type
=
this
.
$route
.
params
.
type
;
},
},
methods
:
{
methods
:
{
toBack
()
{
toBack
()
{
...
...
src/views/visitor/reserved.vue
View file @
bd07be1e
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
},
},
comfirm
()
{
comfirm
()
{
this
.
$router
.
push
({
name
:
"disreserve2"
,
params
:
{
title
:
'访客信息'
,
type
:
0
}
});
this
.
$router
.
push
({
name
:
"disreserve2"
,
params
:
{
title
:
'访客信息'
,
type
:
0
,
phone
:
this
.
phone
}
});
}
}
}
}
}
}
...
...
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