2 次代碼提交 ec56542a06 ... 4f3f698689

作者 SHA1 備註 提交日期
  YJH 4f3f698689 Merge branch 'master' of git.linkerplus.com:huangwf/Property-admin 5 年之前
  YJH 02895667be commit 5 年之前
共有 5 個文件被更改,包括 203 次插入1 次删除
  1. 49 0
      src/pages/Cleaning/index.vue
  2. 50 0
      src/pages/FireDrill/index.vue
  3. 48 0
      src/pages/FireInspection/index.vue
  4. 26 1
      src/router/index.js
  5. 30 0
      static/api/viewAPI.json

+ 49 - 0
src/pages/Cleaning/index.vue

@@ -0,0 +1,49 @@
+<template>
+  <div>
+    <el-row type="flex" style="margin-top: 20px">
+      <router-link to="">
+        <el-button class="filter-item blue-black" type="primary">新增</el-button>
+      </router-link>
+    </el-row>
+    <el-table :data="tableData" border style="width: 100%; margin-top: 20px" >
+      <el-table-column prop="address" label="所属项目" align="center"></el-table-column>
+      <el-table-column prop="name" label="项目编号" align="center"></el-table-column>
+      <el-table-column prop="province" label="项目名称" align="center"></el-table-column>
+      <el-table-column prop="city" label="清洁地段" align="center"></el-table-column>
+      <el-table-column prop="date" label="清洁时间" align="center"></el-table-column>
+      <el-table-column prop="date" label="负责人  " align="center"></el-table-column>
+      <el-table-column prop="date" label="清洁内容  " align="center"></el-table-column>
+      <el-table-column fixed="right" label="操作" align="center">
+        <template scope="scope">
+        <el-button @click="handleClick(scope.row)" type="text" size="small">编辑</el-button>
+      </template>
+      </el-table-column>
+    </el-table>
+  </div>
+</template>
+
+<script>
+export default {
+  methods: {
+    handleClick(row) {
+      console.log(row);
+    }
+  },
+
+  data() {
+    return {
+      tableData: [
+        {
+          date: "2016-05-02",
+          name: "1001",
+          province: "上海",
+          city: "普陀区",
+          address: "上海市普陀区金沙江路 1518 弄",
+          zip: "-",
+          remarks: "11111"
+        }
+      ]
+    };
+  }
+};
+</script>

+ 50 - 0
src/pages/FireDrill/index.vue

@@ -0,0 +1,50 @@
+<template>
+  <div>
+    <el-row type="flex" style="margin-top: 20px">
+      <router-link to="">
+        <el-button class="filter-item blue-black" type="primary">新增</el-button>
+      </router-link>
+    </el-row>
+    <el-table :data="tableData" border style="width: 100%; margin-top: 20px" >
+      <el-table-column prop="address" label="所属项目" align="center"></el-table-column>
+      <el-table-column prop="name" label="开始时间" align="center"></el-table-column>
+      <el-table-column prop="province" label="结束时间" align="center"></el-table-column>
+      <el-table-column prop="city" label="单位" align="center"></el-table-column>
+      <el-table-column prop="date" label="参与人员" align="center"></el-table-column>
+      <el-table-column prop="date" label="演练目的  " align="center"></el-table-column>
+      <el-table-column prop="date" label="协助单位  " align="center"></el-table-column>
+      <el-table-column prop="date" label="演练结果  " align="center"></el-table-column>
+      <el-table-column fixed="right" label="操作" align="center">
+        <template scope="scope">
+        <el-button @click="handleClick(scope.row)" type="text" size="small">编辑</el-button>
+      </template>
+      </el-table-column>
+    </el-table>
+  </div>
+</template>
+
+<script>
+export default {
+  methods: {
+    handleClick(row) {
+      console.log(row);
+    }
+  },
+
+  data() {
+    return {
+      tableData: [
+        {
+          date: "2016-05-02",
+          name: "1001",
+          province: "上海",
+          city: "普陀区",
+          address: "上海市普陀区金沙江路 1518 弄",
+          zip: "-",
+          remarks: "11111"
+        }
+      ]
+    };
+  }
+};
+</script>

+ 48 - 0
src/pages/FireInspection/index.vue

@@ -0,0 +1,48 @@
+<template>
+  <div>
+    <el-row type="flex" style="margin-top: 20px">
+      <router-link to="">
+        <el-button class="filter-item blue-black" type="primary">新增</el-button>
+      </router-link>
+    </el-row>
+    <el-table :data="tableData" border style="width: 100%; margin-top: 20px" >
+      <el-table-column prop="address" label="所属项目" align="center"></el-table-column>
+      <el-table-column prop="name" label="巡查时间" align="center"></el-table-column>
+      <el-table-column prop="province" label="巡视人" align="center"></el-table-column>
+      <el-table-column prop="city" label="巡视地点" align="center"></el-table-column>
+      <el-table-column prop="date" label="巡视情况" align="center"></el-table-column>
+      <el-table-column prop="date" label="处理意见  " align="center"></el-table-column>
+      <el-table-column fixed="right" label="操作" align="center">
+        <template scope="scope">
+        <el-button @click="handleClick(scope.row)" type="text" size="small">编辑</el-button>
+      </template>
+      </el-table-column>
+    </el-table>
+  </div>
+</template>
+
+<script>
+export default {
+  methods: {
+    handleClick(row) {
+      console.log(row);
+    }
+  },
+
+  data() {
+    return {
+      tableData: [
+        {
+          date: "2016-05-02",
+          name: "1001",
+          province: "上海",
+          city: "普陀区",
+          address: "上海市普陀区金沙江路 1518 弄",
+          zip: "-",
+          remarks: "11111"
+        }
+      ]
+    };
+  }
+};
+</script>

+ 26 - 1
src/router/index.js

@@ -66,7 +66,11 @@ import StaffJurisdiction from '@/pages/Staff/StaffJurisdiction/index'
 import Letter from '@/pages/Letter/index' //收信记录
 
 import Vehicle from '@/pages/Vehicle/index'                                     //车辆管理
-import Architecture from '@/pages/Architecture/index'                                     //车辆管理
+import Architecture from '@/pages/Architecture/index'                                     //房屋架构
+
+import FireInspection from '@/pages/FireInspection/index'                  //消防巡查
+import FireDrill from '@/pages/FireDrill/index'                  //消防演练
+import Cleaning from '@/pages/Cleaning/index'                  //保洁安排
 
 
 Vue.use( Router )
@@ -316,6 +320,27 @@ export default new Router({
                         ContainerView: StaffJurisdiction
                     }
                 },
+                // 消防巡查
+                {
+                    path: '/FireInspection',
+                    components: {
+                        ContainerView: FireInspection
+                    }
+                },
+                // 消防演练
+                {
+                    path: '/FireDrill',
+                    components: {
+                        ContainerView: FireDrill
+                    }
+                },
+                // 保洁安排
+                {
+                    path: '/Cleaning',
+                    components: {
+                        ContainerView: Cleaning
+                    }
+                }
             ]
         }
     ]

+ 30 - 0
static/api/viewAPI.json

@@ -291,6 +291,36 @@
                     "breadcrumb": [ "房屋架构" ]
                 }
             ]
+        }, {
+            "titleName": "消防巡查",
+            "iconClass": "settings_applications",
+            "middleLink": [
+                {
+                    "titleName" : "消防巡查",
+                    "url"       : "FireInspection",
+                    "breadcrumb": [ "消防巡查" ]
+                }
+            ]
+        }, {
+            "titleName": "消防演练",
+            "iconClass": "settings_applications",
+            "middleLink": [
+                {
+                    "titleName" : "消防演练",
+                    "url"       : "FireDrill",
+                    "breadcrumb": [ "消防演练" ]
+                }
+            ]
+        }, {
+            "titleName": "保洁安排",
+            "iconClass": "settings_applications",
+            "middleLink": [
+                {
+                    "titleName" : "保洁安排",
+                    "url"       : "Cleaning",
+                    "breadcrumb": [ "保洁安排" ]
+                }
+            ]
         }
     ]
 }