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
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
27 deletions
+42
-27
index.html
public/index.html
+29
-19
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>
<html
lang=
""
>
<head>
<meta
charset=
"utf-8"
>
<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"
/>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<html
lang=
''
>
<head>
<meta
charset=
'utf-8'
>
<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'
/>
<link
rel=
'icon'
href=
'<%= BASE_URL %>favicon.ico'
>
<title><
%=
htmlWebpackPlugin
.
options
.
title
%
></title>
</head>
<body>
<noscript>
<strong>
We're sorry but
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong>
</noscript>
<div
id=
"app"
>
<script
src=
'https://cdn.bootcdn.net/ajax/libs/vConsole/3.3.4/vconsole.min.js'
></script>
</head>
<body>
<noscript>
<strong>
We're sorry but
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
doesn't work properly without JavaScript enabled.
Please enable it to continue.
</strong>
</noscript>
<div
id=
'app'
>
<style>
.loader
{
color
:
#1890FF
;
...
...
@@ -61,14 +63,22 @@
}
@keyframes
round
{
0
%
{
transform
:
rotate
(
0deg
)
}
100
%
{
transform
:
rotate
(
360deg
)
}
0
%
{
transform
:
rotate
(
0deg
)
}
100
%
{
transform
:
rotate
(
360deg
)
}
}
</style>
<div
style=
"height: 100%;display: flex;justify-content: center;align-items: center;"
>
<div
class=
"loader"
></div>
</div>
<div
style=
'height: 100%;display: flex;justify-content: center;align-items: center;'
>
<div
class=
'loader'
></div>
</div>
<!-- built files will be auto injected -->
</body>
</div>
<!-- built files will be auto injected -->
</body>
<script>
var
vConsole
=
new
VConsole
();
console
.
log
(
'Hello world'
);
</script>
</html>
src/doctor/Doctor.vue
View file @
6967ee07
...
...
@@ -52,7 +52,7 @@ export default {
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
812fd32f-f78d-4b49-aaed-ce16f0c80544
'
token
=
'
b8a52d7f-4e50-45b1-b2dd-0671afe724d6
'
}
}
if
(
token
)
{
...
...
src/doctor/followUp/List.vue
View file @
6967ee07
<
template
>
<div
class=
'all-back'
>
<van-nav-bar
title=
'慢病管理'
left-text=
''
left-arrow
@
click-right=
"toSearch"
>
@
click-right=
"toSearch"
@
click-left=
'toBack'
>
<template
#
right
>
<doc-icon
type=
"doc-search"
style=
"color: #262626"
/>
</
template
>
...
...
@@ -80,6 +80,7 @@
import
dayjs
from
'dayjs'
import
{
getVisitAll
}
from
'@/api/doctor/generalFU.js'
import
ChronicTag
from
'@/doctor/components/chronicTag/ChronicTag.vue'
import
{
backHome
}
from
'@/utils/common'
export
default
{
name
:
'List'
,
...
...
@@ -175,6 +176,9 @@ export default {
this
.
$router
.
push
({
path
:
`/doctor/followUp/search`
})
},
toBack
()
{
backHome
()
}
}
}
...
...
src/doctor/resident/Visit.vue
View file @
6967ee07
...
...
@@ -177,7 +177,8 @@ export default {
return
}
let
par
=
{
residentInfoId
:
this
.
baseInfo
.
residentInfoId
residentInfoId
:
this
.
baseInfo
.
residentInfoId
,
diseaseType
:
this
.
activeTab
}
this
.
$router
.
push
({
path
:
`/doctor/followUp/generalFU/add`
,
...
...
src/utils/common.js
View file @
6967ee07
...
...
@@ -203,9 +203,9 @@ export function callMobile(handlerInterface, parameters) {
}
else
if
(
isIOSWebKit
()
===
false
)
{
//安卓传输不了js json对象,只能传输string
if
(
param
==
'{}'
)
{
window
.
H5page
[
handlerInterface
]();
window
[
'function'
]
[
handlerInterface
]();
}
else
{
window
.
H5page
[
handlerInterface
](
param
);
window
[
'function'
]
[
handlerInterface
](
param
);
}
}
}
catch
(
e
)
{
...
...
vue.config.js
View file @
6967ee07
...
...
@@ -30,11 +30,11 @@ module.exports = defineConfig({
}
},
'/chronic-admin'
:
{
target
:
'https://beta-tumour.zmnyjk.com'
,
// target: 'http://192.168.1.43
:8900',
//
target: 'https://beta-tumour.zmnyjk.com',
target
:
'http://192.168.1.125
:8900'
,
changOrigin
:
true
,
pathRewrite
:
{
'^/chronic-admin'
:
'/
chronic-admin
'
'^/chronic-admin'
:
'/'
}
},
'/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