diff --git a/src/assets/companyFile/22136.png b/src/assets/companyFile/22136.png new file mode 100644 index 0000000..19400b5 Binary files /dev/null and b/src/assets/companyFile/22136.png differ diff --git a/src/assets/companyFile/列表9910.png b/src/assets/companyFile/9910.png similarity index 100% rename from src/assets/companyFile/列表9910.png rename to src/assets/companyFile/9910.png diff --git a/src/assets/companyFile/btn1.png b/src/assets/companyFile/btn1.png new file mode 100644 index 0000000..0cff4d2 Binary files /dev/null and b/src/assets/companyFile/btn1.png differ diff --git a/src/assets/companyFile/camera.png b/src/assets/companyFile/camera.png new file mode 100644 index 0000000..96070d0 Binary files /dev/null and b/src/assets/companyFile/camera.png differ diff --git a/src/assets/companyFile/camera2.png b/src/assets/companyFile/camera2.png new file mode 100644 index 0000000..1aa04e9 Binary files /dev/null and b/src/assets/companyFile/camera2.png differ diff --git a/src/assets/companyFile/intelligence.png b/src/assets/companyFile/intelligence.png new file mode 100644 index 0000000..955bdb0 Binary files /dev/null and b/src/assets/companyFile/intelligence.png differ diff --git a/src/assets/companyFile/u25004.png b/src/assets/companyFile/u25004.png new file mode 100644 index 0000000..17b1b7a Binary files /dev/null and b/src/assets/companyFile/u25004.png differ diff --git a/src/router/index.js b/src/router/index.js index 9bafdde..213d3db 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -28,7 +28,26 @@ const routes = [ name: 'archives', component: () => import('@/views/archives'), }, - + // 系统管理 + { + path: 'systemManagement', + name: 'systemManagement', + component: () => import('@/views/systemManagement'), + children: [ + // 关联设备 + { + path: 'correlationEquipment', + name: 'correlationEquipment', + component: () => import('@/views/systemManagement/correlationEquipment'), + }, + // 企业名单 + { + path: 'companyList', + name: 'companyList', + component: () => import('@/views/systemManagement/companyList'), + } + ] + } ] }, diff --git a/src/utils/publicMethod_lxy/debounce.js b/src/utils/publicMethod_lxy/debounce.js new file mode 100644 index 0000000..b7a2dd4 --- /dev/null +++ b/src/utils/publicMethod_lxy/debounce.js @@ -0,0 +1,25 @@ +// 公共防抖 +export function debounce(fn, time) { + let timer = null + return function () { + if (timer) { + clearTimeout(timer) + } + timer = setTimeout(() => { + fn.apply(this, arguments) + }, time) + } +} + +// methods:{ + // fnc(data) { + // vue中原先写法 + // } +// } +// 引入debounce方法后的写法 +// methods:{ +// fnc:debounce(function(data) { + +// }) +// } +// data是原方法的参数,根据实际情况是否传参 \ No newline at end of file diff --git a/src/views/head.vue b/src/views/head.vue index 2a05d45..7fa86dc 100644 --- a/src/views/head.vue +++ b/src/views/head.vue @@ -1,159 +1,192 @@ \ No newline at end of file diff --git a/src/views/systemManagement/companyList/index.vue b/src/views/systemManagement/companyList/index.vue new file mode 100644 index 0000000..ea462c5 --- /dev/null +++ b/src/views/systemManagement/companyList/index.vue @@ -0,0 +1,12 @@ + + \ No newline at end of file diff --git a/src/views/systemManagement/components/leftNav.vue b/src/views/systemManagement/components/leftNav.vue new file mode 100644 index 0000000..4d08f7d --- /dev/null +++ b/src/views/systemManagement/components/leftNav.vue @@ -0,0 +1,101 @@ + + + + \ No newline at end of file diff --git a/src/views/systemManagement/correlationEquipment/components/addDIalog.vue b/src/views/systemManagement/correlationEquipment/components/addDIalog.vue new file mode 100644 index 0000000..ba6eb4e --- /dev/null +++ b/src/views/systemManagement/correlationEquipment/components/addDIalog.vue @@ -0,0 +1,276 @@ + + + \ No newline at end of file diff --git a/src/views/systemManagement/correlationEquipment/components/equipmentTable.vue b/src/views/systemManagement/correlationEquipment/components/equipmentTable.vue new file mode 100644 index 0000000..a0c1c14 --- /dev/null +++ b/src/views/systemManagement/correlationEquipment/components/equipmentTable.vue @@ -0,0 +1,205 @@ + + + \ No newline at end of file diff --git a/src/views/systemManagement/correlationEquipment/components/searchBox.vue b/src/views/systemManagement/correlationEquipment/components/searchBox.vue new file mode 100644 index 0000000..a551ad1 --- /dev/null +++ b/src/views/systemManagement/correlationEquipment/components/searchBox.vue @@ -0,0 +1,88 @@ + + + \ No newline at end of file diff --git a/src/views/systemManagement/correlationEquipment/index.vue b/src/views/systemManagement/correlationEquipment/index.vue new file mode 100644 index 0000000..b7a3540 --- /dev/null +++ b/src/views/systemManagement/correlationEquipment/index.vue @@ -0,0 +1,254 @@ + + + \ No newline at end of file diff --git a/src/views/systemManagement/index.vue b/src/views/systemManagement/index.vue new file mode 100644 index 0000000..5ed6dc4 --- /dev/null +++ b/src/views/systemManagement/index.vue @@ -0,0 +1,43 @@ + + + + \ No newline at end of file