Commit 6967ee07 authored by gengchunlei's avatar gengchunlei

慢综 医生端 新增通用随访入口参数bug修复

parent 5dd741c7
<!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>
</noscript>
<div id='app'>
<style> <style>
.loader { .loader {
color: #1890FF; color: #1890FF;
...@@ -61,14 +63,22 @@ ...@@ -61,14 +63,22 @@
} }
@keyframes round { @keyframes round {
0% { transform: rotate(0deg) } 0% {
100% { transform: rotate(360deg) } transform: rotate(0deg)
}
100% {
transform: rotate(360deg)
}
} }
</style> </style>
<div style="height: 100%;display: flex;justify-content: center;align-items: center;"> <div style='height: 100%;display: flex;justify-content: center;align-items: center;'>
<div class="loader"></div> <div class='loader'></div>
</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>
...@@ -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) {
......
<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()
} }
} }
} }
......
...@@ -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`,
......
...@@ -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) {
......
...@@ -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': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment