Commit 84bcda83 authored by yanglilong's avatar yanglilong

a

parent cd0f16f3
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<title><%= webpackConfig.name %></title> <title><%= webpackConfig.name %></title>
<script <script
type="text/javascript" type="text/javascript"
src="//at.alicdn.com/t/font_3020450_3jdbh13fsoi.js" src="//at.alicdn.com/t/font_3020450_zp10lll5k4g.js"
></script> ></script>
</head> </head>
<body> <body>
......
...@@ -6,6 +6,8 @@ Vue.use(VueRouter); ...@@ -6,6 +6,8 @@ Vue.use(VueRouter);
import Layout from "../views/layout/index.vue"; import Layout from "../views/layout/index.vue";
// 登录模块 // 登录模块
import author from "./modules/author"; import author from "./modules/author";
//主页面
import home from "./modules/home";
// 客户管理 // 客户管理
import customer from "./modules/customer"; import customer from "./modules/customer";
// 福利信息管理 // 福利信息管理
...@@ -30,6 +32,7 @@ const routes = [ ...@@ -30,6 +32,7 @@ const routes = [
path: "/", path: "/",
redirect: "/login", redirect: "/login",
}, },
home,
customer, customer,
welfare, welfare,
preAuth, preAuth,
......
//报表路由表,分包名称:home
export default {
path: "/home",
name: "Home",
component: () => {
return import(/* webpackChunkName: "home" */ "@/views/home");
},
};
export default [ export default [
{
icon: "ssihome",
path: "/home",
title: "主页面"
},
{ {
icon: "ssiuser", icon: "ssiuser",
path: "1", path: "1",
......
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
this.$apis.LOGIN(this.form).then((res) => { this.$apis.LOGIN(this.form).then((res) => {
if (res.returnCode === "0000") { if (res.returnCode === "0000") {
this.$store.commit("common/setUserInfo", res.content); this.$store.commit("common/setUserInfo", res.content);
const path = this.$route.query && this.$route.query.redirect || "/customer"; const path = this.$route.query && this.$route.query.redirect || "/home";
this.$router.replace(path); this.$router.replace(path);
} else { } else {
this.$message.error(res.returnMsg || "出现错误"); this.$message.error(res.returnMsg || "出现错误");
......
<template>
<div class="white_bg burt-container">
<img src="../../assets/image/home_bg.jpg" alt="">
</div>
</template>
<script>
export default{
data(){
return{
}
}
}
</script>
<style lang="less" scoped>
.burt-container{
height: calc(100vh - 116px);
padding: 0;
img{
width: 100%;
height: 100%;
object-fit: contain;
}
}
</style>
\ No newline at end of file
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
placeholder="病历号" :filter-option="false" placeholder="病历号" :filter-option="false"
@search="getPatienList" @search="getPatienList"
@change="patienListChange"> @change="patienListChange">
<a-select-option v-for="item in patientList" :key="item.id" :value="item.mrnNo">{{item.patientName}}</a-select-option> <a-select-option v-for="item in patientList" :key="item.id" :value="item.mrnNo">{{item.mrnNo}}</a-select-option>
</a-select> </a-select>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
......
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