diff --git a/src/api/feature/loginServer.ts b/src/api/feature/loginServer.ts
index 54fbf7cc922829e0dd66c4d1c0856d1764e07891..f270da553286b3bf3d12b033c306fe0cb73ade06 100644
--- a/src/api/feature/loginServer.ts
+++ b/src/api/feature/loginServer.ts
@@ -16,7 +16,7 @@ export class LoginServer {
// 病患类型下拉框
public loginOut() {
const opts = {
- token: localStorage.getItem('token'),
+ // token: localStorage.getItem('token'),
};
const url = 'sys/logout';
return this.rSerivce.serverObj.post(url, opts);
diff --git a/src/components/feature/DataCompare/DataCompare.vue b/src/components/feature/DataCompare/DataCompare.vue
index 09b8affe813f289326bcbcd27d8a28c266d804b8..fe21b8dda26a88802b8b50e647cd096ba2561212 100644
--- a/src/components/feature/DataCompare/DataCompare.vue
+++ b/src/components/feature/DataCompare/DataCompare.vue
@@ -66,7 +66,7 @@
更新核酸检测次数计算累计核酸检测次数
@@ -234,17 +234,17 @@ export default class DiseasDeList extends Vue {
}
});
}
- // 更新核酸检测次数 updateNucleicDetection
+ // 计算累计核酸检测次数 updateNucleicDetection
private updateNucleicDetection() {
diseaseInfoServer.updateNucleicDetection().then((res: any) => {
try {
if (res.status === 200) {
- this.nucleicResult = '更新核酸检测次数成功';
+ this.nucleicResult = '计算累计核酸检测次数成功';
} else {
- this.nucleicResult = '更新核酸检测次数失败';
+ this.nucleicResult = '计算累计核酸检测次数失败';
}
} catch (error) {
- this.nucleicResult = '更新核酸检测次数失败';
+ this.nucleicResult = '计算累计核酸检测次数失败';
this.$message('系统异常');
}
});
diff --git a/src/components/feature/DiseaseInfoFeverClinic/DiseaseList.vue b/src/components/feature/DiseaseInfoFeverClinic/DiseaseList.vue
index 53c64250c73317915ddac4ee6c8cf633acf8ddf3..2f6af751747b92f93e828a057eb12b99db7c0ed9 100644
--- a/src/components/feature/DiseaseInfoFeverClinic/DiseaseList.vue
+++ b/src/components/feature/DiseaseInfoFeverClinic/DiseaseList.vue
@@ -4,37 +4,6 @@
发热门诊患者列表
重置
-
-
-
-
-
@@ -222,8 +191,6 @@ export default class DiseasDeList extends Vue {
private mindVisible: any = false;
private mindList = [];
private jm: any = null;
- // 角色权限
- private sourceType: any = '2';
// 上传框显示控制
private uploadFormVisible: any = false;
// 上传框参数
@@ -335,7 +302,6 @@ export default class DiseasDeList extends Vue {
this.queryInfo = JSON.parse(YQsearch);
sessionStorage.setItem('YQsearch', '');
}
- this.sourceType = localStorage.getItem('sourcetype');
this.getList();
this.getSuffererStatus();
this.getPatientTypeList();
diff --git a/src/config/build.js b/src/config/build.js
index d48bac4c42e4b7c3c67d7b5bd78add7ccecbebb6..ae7114aa60d9ca9beb15f597adaecdf081359fa2 100644
--- a/src/config/build.js
+++ b/src/config/build.js
@@ -1,8 +1,8 @@
// 部署环境配置项
const globalPath = {
- jsonPath: '/yqt_web',
- servePath: 'https://ncp.gsafety.com/cdcapi/',
+ jsonPath: '/',
+ servePath: 'http://172.16.31.19:4321/',
webSocketServer: 'http://114.67.117.97:3001/',
};
diff --git a/src/config/env.js b/src/config/env.js
index 0ceb582c48074e7e367ba0d3b69fa76d171b418e..aa5004278f563ab4ee7edea013fb2292c8538bbc 100644
--- a/src/config/env.js
+++ b/src/config/env.js
@@ -1,7 +1,7 @@
// 开发环境配置项
module.exports = {
jsonPath: '/',
- servePath: 'https://ncp.gsafety.com/cdcapi',
+ servePath: 'http://172.16.31.19:4321/',
// servePath: 'http://16957179rs.51mypc.cn',
webSocketServer: 'ws://172.17.38.202:8080/ws',
};
diff --git a/src/router/router.ts b/src/router/router.ts
index 40e8e13b24d689138586115c82e56e6733997235..a5b41f5a5a638c056baa1ee9a2c1f73bdfd3dc64 100644
--- a/src/router/router.ts
+++ b/src/router/router.ts
@@ -52,7 +52,7 @@ const router = new Router({
routes: [
{
path: '/',
- redirect: '/Login',
+ redirect: '/LayoutHome/DiseaseInfoYQ',
},
{
path: '/Login',
@@ -256,15 +256,15 @@ const router = new Router({
},
],
});
-router.beforeEach((to, from, next) => {
- if (
- to.path === '/login' ||
- to.path === '/dataCompare' ||
- localStorage.getItem('token')
- ) {
- next();
- } else {
- next('/login');
- }
-});
+// router.beforeEach((to, from, next) => {
+// if (
+// to.path === '/login' ||
+// to.path === '/dataCompare' ||
+// localStorage.getItem('token')
+// ) {
+// next();
+// } else {
+// next('/login');
+// }
+// });
export default router;
diff --git a/src/util/downRequest.ts b/src/util/downRequest.ts
index 2035c534877c49cd225327033139fbb2121a21c7..7e30fbfa35b9dbef9516a3b5e289e763c873f30c 100644
--- a/src/util/downRequest.ts
+++ b/src/util/downRequest.ts
@@ -12,7 +12,7 @@ export class DownloadRequestServer {
);
this.downloadRequest = axios.create(obj);
this.downloadRequest.interceptors.request.use((item: any) => {
- item.headers.token = localStorage.getItem('token');
+ // item.headers.token = localStorage.getItem('token');
return item;
});
}
diff --git a/src/util/request.ts b/src/util/request.ts
index 01f82d5cff90c7948a85ded7aa9a98dc3773ce8e..bee43a69682dc2b97d2c0d68692feadfb86d0826 100644
--- a/src/util/request.ts
+++ b/src/util/request.ts
@@ -24,7 +24,7 @@ export class RequestServerClass {
);
this.serverObj = axios.create(obj);
this.serverObj.interceptors.request.use((item: any) => {
- item.headers.token = localStorage.getItem('token');
+ // item.headers.token = localStorage.getItem('token');
return item;
});
this.serverObj.interceptors.response.use(
diff --git a/src/views/LayoutHome.vue b/src/views/LayoutHome.vue
index 768dea7ee5839038bed3f685f33a1400acec4e8a..d9bb9d55b2c60da7fb8acad3178d76c34eadae69 100644
--- a/src/views/LayoutHome.vue
+++ b/src/views/LayoutHome.vue
@@ -2,14 +2,14 @@
-
江夏疫情通
-
欢迎您, {{ userName }}
-