Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend-h5
Project
Project
Details
Activity
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
songrui
frontend-h5
Commits
6967ee07
Commit
6967ee07
authored
Sep 10, 2024
by
gengchunlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
慢综 医生端 新增通用随访入口参数bug修复
parent
5dd741c7
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
89 additions
and
74 deletions
+89
-74
index.html
public/index.html
+76
-66
Doctor.vue
src/doctor/Doctor.vue
+1
-1
List.vue
src/doctor/followUp/List.vue
+5
-1
Visit.vue
src/doctor/resident/Visit.vue
+2
-1
common.js
src/utils/common.js
+2
-2
vue.config.js
vue.config.js
+3
-3
No files found.
public/index.html
View file @
6967ee07
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
""
>
<html
lang=
''
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
'utf-8'
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
'X-UA-Compatible'
content=
'IE=edge'
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, user-scalable=0, viewport-fit=cover"
/>
<meta
name=
'viewport'
content=
'width=device-width, initial-scale=1.0, user-scalable=0, viewport-fit=cover'
/>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<link
rel=
'icon'
href=
'<%= BASE_URL %>favicon.ico'
>
<title><
%=
htmlWebpackPlugin
.
options
.
title
%
></title>
<title><
%=
htmlWebpackPlugin
.
options
.
title
%
></title>
</head>
<script
src=
'https://cdn.bootcdn.net/ajax/libs/vConsole/3.3.4/vconsole.min.js'
></script>
<body>
</head>
<noscript>
<body>
<strong>
We're sorry but
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong>
<noscript>
</noscript>
<strong>
We're sorry but
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
doesn't work properly without JavaScript enabled.
<div
id=
"app"
>
Please enable it to continue.
</strong>
<style>
</noscript>
.loader
{
<div
id=
'app'
>
color
:
#1890FF
;
<style>
font-size
:
.45rem
;
.loader
{
text-indent
:
-9999em
;
color
:
#1890FF
;
overflow
:
hidden
;
font-size
:
.45rem
;
width
:
1em
;
text-indent
:
-9999em
;
height
:
1em
;
overflow
:
hidden
;
border-radius
:
50%
;
width
:
1em
;
position
:
relative
;
height
:
1em
;
transform
:
translateZ
(
0
);
border-radius
:
50%
;
animation
:
mltShdSpin
1.7s
infinite
ease
,
round
1.7s
infinite
ease
;
position
:
relative
;
}
transform
:
translateZ
(
0
);
animation
:
mltShdSpin
1.7s
infinite
ease
,
round
1.7s
infinite
ease
;
}
@keyframes
mltShdSpin
{
@keyframes
mltShdSpin
{
0
%
{
0
%
{
box-shadow
:
0
-0.83em
0
-0.4em
,
box-shadow
:
0
-0.83em
0
-0.4em
,
0
-0.83em
0
-0.42em
,
0
-0.83em
0
-0.44em
,
0
-0.83em
0
-0.42em
,
0
-0.83em
0
-0.44em
,
0
-0.83em
0
-0.46em
,
0
-0.83em
0
-0.477em
;
0
-0.83em
0
-0.46em
,
0
-0.83em
0
-0.477em
;
}
}
5
%,
5
%,
95
%
{
95
%
{
box-shadow
:
0
-0.83em
0
-0.4em
,
box-shadow
:
0
-0.83em
0
-0.4em
,
0
-0.83em
0
-0.42em
,
0
-0.83em
0
-0.44em
,
0
-0.83em
0
-0.42em
,
0
-0.83em
0
-0.44em
,
0
-0.83em
0
-0.46em
,
0
-0.83em
0
-0.477em
;
0
-0.83em
0
-0.46em
,
0
-0.83em
0
-0.477em
;
}
}
10
%,
10
%,
59
%
{
59
%
{
box-shadow
:
0
-0.83em
0
-0.4em
,
box-shadow
:
0
-0.83em
0
-0.4em
,
-0.087em
-0.825em
0
-0.42em
,
-0.173em
-0.812em
0
-0.44em
,
-0.087em
-0.825em
0
-0.42em
,
-0.173em
-0.812em
0
-0.44em
,
-0.256em
-0.789em
0
-0.46em
,
-0.297em
-0.775em
0
-0.477em
;
-0.256em
-0.789em
0
-0.46em
,
-0.297em
-0.775em
0
-0.477em
;
}
}
20
%
{
20
%
{
box-shadow
:
0
-0.83em
0
-0.4em
,
-0.338em
-0.758em
0
-0.42em
,
box-shadow
:
0
-0.83em
0
-0.4em
,
-0.338em
-0.758em
0
-0.42em
,
-0.555em
-0.617em
0
-0.44em
,
-0.671em
-0.488em
0
-0.46em
,
-0.555em
-0.617em
0
-0.44em
,
-0.671em
-0.488em
0
-0.46em
,
-0.749em
-0.34em
0
-0.477em
;
-0.749em
-0.34em
0
-0.477em
;
}
38
%
{
box-shadow
:
0
-0.83em
0
-0.4em
,
-0.377em
-0.74em
0
-0.42em
,
-0.645em
-0.522em
0
-0.44em
,
-0.775em
-0.297em
0
-0.46em
,
-0.82em
-0.09em
0
-0.477em
;
}
100
%
{
box-shadow
:
0
-0.83em
0
-0.4em
,
0
-0.83em
0
-0.42em
,
0
-0.83em
0
-0.44em
,
0
-0.83em
0
-0.46em
,
0
-0.83em
0
-0.477em
;
}
}
}
38
%
{
box-shadow
:
0
-0.83em
0
-0.4em
,
-0.377em
-0.74em
0
-0.42em
,
-0.645em
-0.522em
0
-0.44em
,
-0.775em
-0.297em
0
-0.46em
,
-0.82em
-0.09em
0
-0.477em
;
}
100
%
{
box-shadow
:
0
-0.83em
0
-0.4em
,
0
-0.83em
0
-0.42em
,
0
-0.83em
0
-0.44em
,
0
-0.83em
0
-0.46em
,
0
-0.83em
0
-0.477em
;
}
}
@keyframes
round
{
@keyframes
round
{
0
%
{
transform
:
rotate
(
0deg
)
}
0
%
{
100
%
{
transform
:
rotate
(
360deg
)
}
transform
:
rotate
(
0deg
)
}
100
%
{
transform
:
rotate
(
360deg
)
}
}
</style>
}
<div
style=
"height: 100%;display: flex;justify-content: center;align-items: center;"
>
</style
>
<div
class=
"loader"
></div
>
<div
style=
'height: 100%;display: flex;justify-content: center;align-items: center;'
>
</div>
<
div
class=
'loader'
><
/div>
</div>
</div>
<!-- built files will be auto injected -->
</div>
</body>
<!-- built files will be auto injected -->
</body>
<script>
var
vConsole
=
new
VConsole
();
console
.
log
(
'Hello world'
);
</script>
</html>
</html>
src/doctor/Doctor.vue
View file @
6967ee07
...
@@ -52,7 +52,7 @@ export default {
...
@@ -52,7 +52,7 @@ export default {
if
(
!
token
)
{
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
812fd32f-f78d-4b49-aaed-ce16f0c80544
'
token
=
'
b8a52d7f-4e50-45b1-b2dd-0671afe724d6
'
}
}
}
}
if
(
token
)
{
if
(
token
)
{
...
...
src/doctor/followUp/List.vue
View file @
6967ee07
<
template
>
<
template
>
<div
class=
'all-back'
>
<div
class=
'all-back'
>
<van-nav-bar
title=
'慢病管理'
left-text=
''
left-arrow
<van-nav-bar
title=
'慢病管理'
left-text=
''
left-arrow
@
click-right=
"toSearch"
>
@
click-right=
"toSearch"
@
click-left=
'toBack'
>
<template
#
right
>
<template
#
right
>
<doc-icon
type=
"doc-search"
style=
"color: #262626"
/>
<doc-icon
type=
"doc-search"
style=
"color: #262626"
/>
</
template
>
</
template
>
...
@@ -80,6 +80,7 @@
...
@@ -80,6 +80,7 @@
import
dayjs
from
'dayjs'
import
dayjs
from
'dayjs'
import
{
getVisitAll
}
from
'@/api/doctor/generalFU.js'
import
{
getVisitAll
}
from
'@/api/doctor/generalFU.js'
import
ChronicTag
from
'@/doctor/components/chronicTag/ChronicTag.vue'
import
ChronicTag
from
'@/doctor/components/chronicTag/ChronicTag.vue'
import
{
backHome
}
from
'@/utils/common'
export
default
{
export
default
{
name
:
'List'
,
name
:
'List'
,
...
@@ -175,6 +176,9 @@ export default {
...
@@ -175,6 +176,9 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
`/doctor/followUp/search`
path
:
`/doctor/followUp/search`
})
})
},
toBack
()
{
backHome
()
}
}
}
}
}
}
...
...
src/doctor/resident/Visit.vue
View file @
6967ee07
...
@@ -177,7 +177,8 @@ export default {
...
@@ -177,7 +177,8 @@ export default {
return
return
}
}
let
par
=
{
let
par
=
{
residentInfoId
:
this
.
baseInfo
.
residentInfoId
residentInfoId
:
this
.
baseInfo
.
residentInfoId
,
diseaseType
:
this
.
activeTab
}
}
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
`/doctor/followUp/generalFU/add`
,
path
:
`/doctor/followUp/generalFU/add`
,
...
...
src/utils/common.js
View file @
6967ee07
...
@@ -203,9 +203,9 @@ export function callMobile(handlerInterface, parameters) {
...
@@ -203,9 +203,9 @@ export function callMobile(handlerInterface, parameters) {
}
else
if
(
isIOSWebKit
()
===
false
)
{
}
else
if
(
isIOSWebKit
()
===
false
)
{
//安卓传输不了js json对象,只能传输string
//安卓传输不了js json对象,只能传输string
if
(
param
==
'{}'
)
{
if
(
param
==
'{}'
)
{
window
.
H5page
[
handlerInterface
]();
window
[
'function'
]
[
handlerInterface
]();
}
else
{
}
else
{
window
.
H5page
[
handlerInterface
](
param
);
window
[
'function'
]
[
handlerInterface
](
param
);
}
}
}
}
}
catch
(
e
)
{
}
catch
(
e
)
{
...
...
vue.config.js
View file @
6967ee07
...
@@ -30,11 +30,11 @@ module.exports = defineConfig({
...
@@ -30,11 +30,11 @@ module.exports = defineConfig({
}
}
},
},
'/chronic-admin'
:
{
'/chronic-admin'
:
{
target
:
'https://beta-tumour.zmnyjk.com'
,
//
target: 'https://beta-tumour.zmnyjk.com',
// target: 'http://192.168.1.43
:8900',
target
:
'http://192.168.1.125
:8900'
,
changOrigin
:
true
,
changOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
'^/chronic-admin'
:
'/
chronic-admin
'
'^/chronic-admin'
:
'/'
}
}
},
},
'/chronic-resident'
:
{
'/chronic-resident'
:
{
...
...
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