Forráskód Böngészése

康复管理页面的模板管理页面新增返回的刷新按钮

raolu 6 éve
szülő
commit
9facebee88

+ 16 - 0
app/rehabilitation/css/management.css

@ -36,6 +36,22 @@ a {
	float: right;
}
.header{
    background-color: #fff;
    border-bottom: 1px solid #e1e1e1;
    padding: 10px 15px;
}
.header .title{
    font-size: 14px;
    font-weight: bold;
    padding-right: 10px;
    color: #333;
    border-right: 1px solid #e1e1e1;
}
.header img{
    vertical-align: text-bottom;
}
.ui-popup-full { width: auto; }
#app>.ui-grid, #app>.ui-grid .ui-grid {

+ 5 - 1
app/rehabilitation/html/management.html

@ -16,10 +16,14 @@
        <link rel="stylesheet" type="text/css" href="../css/management.css"/>
        <script src="../../../js/vue.js" type="text/javascript" charset="utf-8"></script>
        <script src="../../../js/jquery-2.2.4.js" type="text/javascript" charset="utf-8"></script>
		
	</head>
	<body>
		<div id="app" >
		    <div class="header">
		        <span class="title mr10">模板管理</span>
		        <img src="../../../images/fanhui_icon.png" @click="backPage">
		        <img src="../../../images/shuaxin_icon.png" class="ml10" @click="refreshPage">
		    </div>
			<router-view></router-view>
		</div>
		<script src="../../../plugins/toastr/toastr.min.js"></script>

+ 6 - 0
app/rehabilitation/js/management.js

@ -69,6 +69,12 @@ new Vue({
	  	})
    },
    methods: {
        backPage: function(){
            window.history.go(-1);
        },
        refreshPage: function(){
            window.location.reload();
        }
    },
    components: {
    }