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
7302149c
Commit
7302149c
authored
Dec 22, 2021
by
hailiang.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改状态吗
parent
4b754e36
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
12 deletions
+22
-12
detail.vue
src/views/flow/detail.vue
+14
-6
index.vue
src/views/login/index.vue
+8
-6
No files found.
src/views/flow/detail.vue
View file @
7302149c
...
...
@@ -69,16 +69,20 @@
</div>
<div
class=
"btns"
>
<a-button
type=
"primary"
disabled
>
{{
item
.
status
===
"
88
"
||
item
.
status
===
"
99
"
||
item
.
status
===
"
1
"
item
.
status
===
"
88
"
||
item
.
status
===
"
99
"
?
"
预约失败
"
:
item
.
status
===
"
1
"
?
"
预约中...
"
:
item
.
status
===
"
2
"
?
"
已预约
"
:
item
.
status
===
"
3
"
?
"
取消中...
"
:
item
.
status
===
"
7
"
?
"
改约中...
"
:
item
.
status
===
"
4
"
?
"
已经取消
"
?
"
已取消
"
:
item
.
status
===
"
5
"
||
item
.
status
===
"
6
"
?
"
已完成
"
:
"
状态异常
"
}}
</a-button>
<a-button
type=
"primary"
@
click=
"goIndexPage"
>
回首页
</a-button>
...
...
@@ -115,8 +119,12 @@ export default {
},
created
()
{
const
{
id
,
appointmentId
}
=
this
.
$route
.
query
;
console
.
log
(
"
对象带过来没?
"
,
this
.
$route
);
this
.
item
=
this
.
$route
.
params
;
if
(
this
.
$route
.
params
.
status
)
{
localStorage
.
setItem
(
"
item
"
,
JSON
.
stringify
(
this
.
$route
.
params
));
}
this
.
item
=
this
.
$route
.
params
.
status
?
this
.
$route
.
params
:
JSON
.
parse
(
localStorage
.
getItem
(
"
item
"
));
this
.
id
=
id
;
this
.
getCustomerDetail
();
//获取客户信息
// 新增新增预约
...
...
src/views/login/index.vue
View file @
7302149c
...
...
@@ -93,6 +93,7 @@ export default {
data
()
{
return
{
logo
:
""
,
templateId
:
"
1002
"
,
// 默认测试模版
left
:
require
(
"
../../assets/imgs/login/left-bg.png
"
),
downImg
:
""
,
isSub
:
true
,
...
...
@@ -106,10 +107,11 @@ export default {
this
.
form
=
this
.
$form
.
createForm
(
this
,
{
name
:
"
normal_login
"
});
},
created
()
{
// let url = location.href;
// let splitParmsArr = url.split("/");
// let idParms = splitParmsArr.slice(-1)[0];
// 生产环境
if
(
window
.
origin
==
"
https://health.medilink-global.com.cn
"
)
{
console
.
log
(
"
生产环境id
"
,
window
.
origin
);
this
.
templateId
=
"
1009
"
;
}
this
.
getLoginConfigFn
();
},
methods
:
{
...
...
@@ -130,7 +132,7 @@ export default {
},
getLoginConfigFn
()
{
const
query
=
{
id
:
"
1002
"
,
//暂时写死的
id
:
this
.
templateId
,
//暂时写死的
};
api
.
getLoginConfig
(
query
).
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
...
...
@@ -158,7 +160,7 @@ export default {
if
(
!
err
)
{
console
.
log
(
"
登陆values=
"
,
values
);
const
query
=
{
id
:
"
1002
"
,
//使用"体检卡口令"登陆,id必须是'1002'
,目前只有一种登陆方式,是写死的,后边会使用配置
id
:
this
.
templateId
,
//使用"体检卡口令"登陆
,目前只有一种登陆方式,是写死的,后边会使用配置
fields
:
[
{
fieldName
:
this
.
fields
[
0
].
remark
,
...
...
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