Browse Source

详情页开发

zhangyu 5 years ago
parent
commit
f4588a1650

+ 50 - 0
src/components/data_admin/buildTask/detail/assetsDetail.vue

@@ -0,0 +1,50 @@
+<template>
+  <div></div>
+</template>
+
+<script>
+import {  } from "@/api/scan/request"
+import { mapGetters } from "vuex"
+export default {
+  components: {
+    
+  },
+  computed: {
+    ...mapGetters("layout", ["projectId"])
+  },
+  props: {
+    id: String,
+  },
+  data() {
+    return {
+      
+    };
+  },
+  created() {
+    
+  },
+  methods: {
+    
+  },
+  watch: {
+    id: {
+      handler(newName, oldName) {
+        // this.page.pageNumber = 1
+        // this.getTableData()
+      },
+      immediate: true,
+      deep: true
+    }
+  }
+};
+</script>
+<style lang="less" scoped>
+.table-container {
+  height: 100%;
+  background: #fff;
+  .table-button{
+    cursor: pointer;
+    margin-right: 15px;
+  }
+}
+</style>

+ 7 - 8
src/components/data_admin/buildTask/detail/deviceDeatil.vue

@@ -1,5 +1,7 @@
 <template>
-  <div></div>
+  <div class="detail-box">
+
+  </div>
 </template>
 
 <script>
@@ -39,12 +41,9 @@ export default {
 };
 </script>
 <style lang="less" scoped>
-.table-container {
-  height: 100%;
-  background: #fff;
-  .table-button{
-    cursor: pointer;
-    margin-right: 15px;
+  .detail-box{
+    width: 100%;
+    height: 100%;
+    border: 1px solid #333;
   }
-}
 </style>