Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
ln-medicalAppointment-pc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
孙海亮
ln-medicalAppointment-pc
Commits
7d8484e0
Commit
7d8484e0
authored
Nov 23, 2021
by
huangyecong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
交互优化
parent
84b25dc8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
21 deletions
+34
-21
selectInstitution.vue
src/views/flow/components/selectInstitution.vue
+5
-3
index.vue
src/views/flow/index.vue
+27
-15
item.vue
src/views/index/components/item.vue
+1
-1
index.vue
src/views/index/index.vue
+1
-2
No files found.
src/views/flow/components/selectInstitution.vue
View file @
7d8484e0
...
@@ -52,8 +52,9 @@
...
@@ -52,8 +52,9 @@
:key=
"index"
:key=
"index"
:class=
"index === selectIndex ? 'active' : ''"
:class=
"index === selectIndex ? 'active' : ''"
@
click=
"clickTab(index, item.id)"
@
click=
"clickTab(index, item.id)"
>
{{
item
.
supplierName
}}
-
{{
item
.
id
}}
</span
>
{{
item
.
supplierName
}}
</span
>
>
<!-- -
{{
item
.
id
}}
-->
</div>
</div>
</div>
</div>
<!-- 请选择体检地区 -->
<!-- 请选择体检地区 -->
...
@@ -71,8 +72,9 @@
...
@@ -71,8 +72,9 @@
:class=
"item.isDisabled ? 'btn disabled' : 'btn'"
:class=
"item.isDisabled ? 'btn disabled' : 'btn'"
@
click=
"openDatePicker(item)"
@
click=
"openDatePicker(item)"
>
>
选择体检日期
-
{{
item
.
supplierId
}}
-
{{
item
.
id
}}
选择体检日期
</button>
</button>
<!-- -
{{
item
.
supplierId
}}
-
{{
item
.
id
}}
-->
</li>
</li>
</ul>
</ul>
<div
v-else
class=
"hospital_none"
>
暂无可选分院
</div>
<div
v-else
class=
"hospital_none"
>
暂无可选分院
</div>
...
@@ -334,7 +336,7 @@ export default {
...
@@ -334,7 +336,7 @@ export default {
// 提示预约成功,之后跳转到预约详情页面
// 提示预约成功,之后跳转到预约详情页面
setTimeout
(()
=>
{
setTimeout
(()
=>
{
// 需要获取用户id
// 需要获取用户id
this
.
$router
.
push
({
_
this
.
$router
.
push
({
name
:
'
Detail
'
,
name
:
'
Detail
'
,
query
:
{
query
:
{
id
:
_this
.
id
,
id
:
_this
.
id
,
...
...
src/views/flow/index.vue
View file @
7d8484e0
...
@@ -44,7 +44,9 @@
...
@@ -44,7 +44,9 @@
</div>
</div>
<div
class=
"btn"
>
<div
class=
"btn"
>
<a-button
type=
"primary"
@
click=
"nextStep"
v-if=
"next"
>
下一步
</a-button>
<a-button
type=
"primary"
@
click=
"nextStep"
v-if=
"next"
>
下一步
</a-button>
<a-button
type=
"primary"
@
click=
"previousStep"
v-if=
"previous"
>
上一步
</a-button>
<a-button
type=
"primary"
@
click=
"previousStep"
v-if=
"previous"
>
上一步
</a-button
>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -53,6 +55,7 @@
...
@@ -53,6 +55,7 @@
import
SelectInstitution
from
'
./components/selectInstitution.vue
'
import
SelectInstitution
from
'
./components/selectInstitution.vue
'
import
Combos
from
'
./components/combo.vue
'
import
Combos
from
'
./components/combo.vue
'
import
api
from
'
@/api/customer
'
import
api
from
'
@/api/customer
'
import
{
log
}
from
'
util
'
export
default
{
export
default
{
name
:
'
componentName
'
,
name
:
'
componentName
'
,
components
:
{
components
:
{
...
@@ -63,15 +66,15 @@ export default {
...
@@ -63,15 +66,15 @@ export default {
data
()
{
data
()
{
return
{
return
{
next
:
false
,
next
:
false
,
previous
:
false
,
previous
:
false
,
id
:
''
,
//客户id
id
:
''
,
//客户id
customerInfo
:
{
customerInfo
:
{
name
:
''
,
//
name: '',
sex
:
''
,
//
sex: '',
idNo
:
''
,
//
idNo: '',
phone
:
''
,
//
phone: '',
birthDate
:
''
,
//
birthDate: '',
maritalStatus
:
''
,
//
maritalStatus: '',
},
//客户信息
},
//客户信息
step1
:
true
,
step1
:
true
,
step2
:
false
,
step2
:
false
,
...
@@ -81,7 +84,6 @@ export default {
...
@@ -81,7 +84,6 @@ export default {
const
{
id
}
=
this
.
$route
.
query
const
{
id
}
=
this
.
$route
.
query
this
.
id
=
id
this
.
id
=
id
this
.
getCustomerDetail
()
//客户信息
this
.
getCustomerDetail
()
//客户信息
},
},
methods
:
{
methods
:
{
nextStep
()
{
nextStep
()
{
...
@@ -91,7 +93,7 @@ export default {
...
@@ -91,7 +93,7 @@ export default {
this
.
step2
=
true
this
.
step2
=
true
},
},
previousStep
(){
previousStep
()
{
this
.
next
=
true
this
.
next
=
true
this
.
previous
=
false
this
.
previous
=
false
this
.
step1
=
true
this
.
step1
=
true
...
@@ -111,17 +113,27 @@ export default {
...
@@ -111,17 +113,27 @@ export default {
},
},
// "立即修改"
// "立即修改"
onSubmit
()
{
onSubmit
()
{
const
{
name
,
idType
,
sex
,
idNo
,
phone
,
birthDate
,
maritalStatus
}
=
this
.
customerInfo
const
query
=
{
const
query
=
{
// ...this.form,
id
:
this
.
id
,
name
,
idType
,
sex
,
idNo
,
phone
,
birthDate
,
maritalStatus
,
}
}
api
.
improveInformation
(
query
).
then
((
res
)
=>
{
api
.
improveInformation
(
query
).
then
((
res
)
=>
{
if
(
res
.
returnCode
==
'
0000
'
)
{
if
(
res
.
returnCode
==
'
0000
'
)
{
// 提交成功之后,提示成功信息,关闭"个人信息填写弹窗",并刷新当前页面
// 提交成功之后,提示成功信息,关闭"个人信息填写弹窗",并刷新当前页面
this
.
$message
.
success
(
'
修改信息成功
'
)
this
.
$message
.
success
(
'
修改信息成功
'
)
//
setTimeout(() => {
setTimeout
(()
=>
{
// this.$emit('hideModal')
// 刷新列表
// // 刷新列表
this
.
getCustomerDetail
()
//
}, 1500)
},
1500
)
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
)
this
.
$message
.
error
(
res
.
returnMsg
)
}
}
...
...
src/views/index/components/item.vue
View file @
7d8484e0
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
>
立即预约
</a-button
>
立即预约
</a-button
>
>
<div
class=
"date"
>
<div
class=
"date"
>
有效期至:
{{
listType
==
1
?
item
.
validityEnd
:
item
.
customerAppDate
}}
{{
listType
==
1
?
(
'
有效期至:
'
+
item
.
validityEnd
):
(
'
预约体检日期:
'
+
item
.
customerAppDate
)
}}
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/views/index/index.vue
View file @
7d8484e0
...
@@ -193,7 +193,6 @@ export default {
...
@@ -193,7 +193,6 @@ export default {
}
}
}
}
.point_none{
.point_none{
text-align: center;
padding: 26px;
padding: 40px;
}
}
</
style
>
</
style
>
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