|
@@ -0,0 +1,85 @@
|
|
|
+<template>
|
|
|
+ <div class="box">
|
|
|
+ <div class="condition">
|
|
|
+ <div class="header">
|
|
|
+ <el-button style="float:left;" size="small" type="default" icon="el-icon-back" @click="goBack"></el-button>
|
|
|
+ <floor-cascader @change="changeFloor"></floor-cascader>
|
|
|
+ <my-cascader ref="cascader" @change="changeDevice"></my-cascader>
|
|
|
+ <el-button style="float:right;margin-top:1px;" >确认</el-button>
|
|
|
+ <el-button style="float:right;margin-top:1px;margin-right:10px;" >取消</el-button>
|
|
|
+ </div>
|
|
|
+ <div class="main">
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import floorCascader from "@/components/ledger/lib/floorCascader";
|
|
|
+import myCascader from "@/components/ledger/lib/cascader";
|
|
|
+import { mapGetters } from "vuex"
|
|
|
+//api
|
|
|
+import { countEquip, equipCategoryProperty, equipRproperty } from "@/api/scan/request";
|
|
|
+
|
|
|
+export default {
|
|
|
+ components: {
|
|
|
+ floorCascader,
|
|
|
+ myCascader
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ ...mapGetters("layout", ["projectId", "userId", "secret"])
|
|
|
+ },
|
|
|
+ created() {
|
|
|
+ this.params = this.$route.params
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ params: {}
|
|
|
+ }
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ //返回
|
|
|
+ goBack() {
|
|
|
+ this.$router.push({ name: "facilityLedger" })
|
|
|
+ }
|
|
|
+ },
|
|
|
+ watch: {
|
|
|
+ projectId() {
|
|
|
+ this.$router.push({ name: "facilityLedger" })
|
|
|
+ }
|
|
|
+ }
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped lang='less'>
|
|
|
+.box {
|
|
|
+ .condition {
|
|
|
+ padding: 10px;
|
|
|
+ display: flex;
|
|
|
+ height: 100%;
|
|
|
+ flex-direction: column;
|
|
|
+ border: 1px solid #dfe6ec;
|
|
|
+ background: #fff;
|
|
|
+ .header{
|
|
|
+ padding-bottom: 10px;
|
|
|
+ border-bottom: 1px solid #bcbcbc;
|
|
|
+ .statistics-title{
|
|
|
+ margin-left: 20px;
|
|
|
+ line-height: 32px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .main{
|
|
|
+ margin-top: 10px;
|
|
|
+ height: calc(100% - 46px);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|
|
|
+
|
|
|
+<style lang="less">
|
|
|
+.el-table th {
|
|
|
+ background-color: #d9d9d9;
|
|
|
+ color: #000;
|
|
|
+}
|
|
|
+</style>
|