From 0ce7120d132ed4aa6c78d22bd40078b9a612471b Mon Sep 17 00:00:00 2001
From: hh <292475944@qq.com>
Date: Tue, 10 Nov 2020 16:55:09 +0800
Subject: [PATCH]
---
jsconfig.json | 13 ++++++
src/api/hardware/area.js | 10 +++++
src/components/Region/index.vue | 57 +++++++++++++++++++++++++
src/views/hardware/deviceList/index.vue | 10 ++++-
4 files changed, 88 insertions(+), 2 deletions(-)
create mode 100644 jsconfig.json
create mode 100644 src/api/hardware/area.js
create mode 100644 src/components/Region/index.vue
diff --git a/jsconfig.json b/jsconfig.json
new file mode 100644
index 0000000..943c4a6
--- /dev/null
+++ b/jsconfig.json
@@ -0,0 +1,13 @@
+{
+ "compilerOptions": {
+ "baseUrl": ".",
+ "paths": {
+ "@/*": ["src/*"]
+ },
+ "target": "ES6",
+ "module": "commonjs",
+ "allowSyntheticDefaultImports": true
+ },
+ "include": ["src/**/*"],
+ "exclude": ["node_modules"]
+}
\ No newline at end of file
diff --git a/src/api/hardware/area.js b/src/api/hardware/area.js
new file mode 100644
index 0000000..e614dad
--- /dev/null
+++ b/src/api/hardware/area.js
@@ -0,0 +1,10 @@
+import request from '@/utils/request'
+
+// 大区列表
+export function list() {
+ return request({
+ url: '/system/area/list',
+ method: 'get',
+ })
+}
+
diff --git a/src/components/Region/index.vue b/src/components/Region/index.vue
new file mode 100644
index 0000000..6cb3f07
--- /dev/null
+++ b/src/components/Region/index.vue
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/hardware/deviceList/index.vue b/src/views/hardware/deviceList/index.vue
index 7eb49e8..258a902 100644
--- a/src/views/hardware/deviceList/index.vue
+++ b/src/views/hardware/deviceList/index.vue
@@ -1,8 +1,10 @@