/**
@author:fugy
@date:2018.11.27
@info:项目报警首页容器container
**/
<template>
<div>
    <v-index-condition @change="conditionChange" :userIndex='userIndex'></v-index-condition>
    <hr class="line" />
    <v-index-content :conditionParams="conditionParams" @userRefresh='userRefresh' :userIndex='userIndex'></v-index-content>
</div>
</template>
<script>
import vIndexCondition from "./IndexCondition";
import vIndexContent from "./IndexContent";
export default {
    name: "project-index",
    data() {
        return {
            conditionParams: null,
            userIndex: 0,
        }
    },
    components: {
        vIndexCondition,
        vIndexContent
    },
    methods: {
        conditionChange(params) {
            this.conditionParams = params;
        },
        userRefresh() {
            this.userIndex ++;
        }
    },
    created() {

    }

}    
</script>
<style lang="less" scoped>
.line {
    background-color: #ccc;
    height: 1px;
    border: none;
}
</style>


