Commit 84bcda83 authored by yanglilong's avatar yanglilong

a

parent cd0f16f3
......@@ -8,7 +8,7 @@
<title><%= webpackConfig.name %></title>
<script
type="text/javascript"
src="//at.alicdn.com/t/font_3020450_3jdbh13fsoi.js"
src="//at.alicdn.com/t/font_3020450_zp10lll5k4g.js"
></script>
</head>
<body>
......
......@@ -6,6 +6,8 @@ Vue.use(VueRouter);
import Layout from "../views/layout/index.vue";
// 登录模块
import author from "./modules/author";
//主页面
import home from "./modules/home";
// 客户管理
import customer from "./modules/customer";
// 福利信息管理
......@@ -30,6 +32,7 @@ const routes = [
path: "/",
redirect: "/login",
},
home,
customer,
welfare,
preAuth,
......
//报表路由表,分包名称:home
export default {
path: "/home",
name: "Home",
component: () => {
return import(/* webpackChunkName: "home" */ "@/views/home");
},
};
export default [
{
icon: "ssihome",
path: "/home",
title: "主页面"
},
{
icon: "ssiuser",
path: "1",
......
......@@ -84,7 +84,7 @@ export default {
this.$apis.LOGIN(this.form).then((res) => {
if (res.returnCode === "0000") {
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);
} else {
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 @@
placeholder="病历号" :filter-option="false"
@search="getPatienList"
@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-form-model-item>
</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