diff --git a/src/assets/fonts/iconfont.css b/src/assets/fonts/iconfont.css
new file mode 100644
index 0000000..c8307c2
--- /dev/null
+++ b/src/assets/fonts/iconfont.css
@@ -0,0 +1,77 @@
+@font-face {
+ font-family: "iconfont"; /* Project id */
+ src: url('iconfont.ttf?t=1709789909096') format('truetype');
+}
+
+.iconfont {
+ font-family: "iconfont" !important;
+ font-size: 16px;
+ font-style: normal;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+.icon-1wenhe:before {
+ content: "\e653";
+}
+
+.icon-paizhao:before {
+ content: "\e6ba";
+}
+
+.icon-paizhao-xianxing:before {
+ content: "\e8d1";
+}
+
+.icon-tuiguanglishitupianjinqun:before {
+ content: "\e613";
+}
+
+.icon-gongsi:before {
+ content: "\e62e";
+}
+
+.icon-shudianxianlu:before {
+ content: "\e60a";
+}
+
+.icon-dianli:before {
+ content: "\e649";
+}
+
+.icon-dianlihangye:before {
+ content: "\e791";
+}
+
+.icon-shexiangtoulixian:before {
+ content: "\e7b2";
+}
+
+.icon-video-camera:before {
+ content: "\e962";
+}
+
+.icon-qixiang:before {
+ content: "\e67c";
+}
+
+.icon-shexiangtou-lixian:before {
+ content: "\ef1c";
+}
+
+.icon-shexiangtou-zaixian:before {
+ content: "\ef1d";
+}
+
+.icon-shudianxianlu_2722010801:before {
+ content: "\efed";
+}
+
+.icon-tupian_normal:before {
+ content: "\e681";
+}
+
+.icon-fubing:before {
+ content: "\e7ac";
+}
+
diff --git a/src/assets/fonts/iconfont.ttf b/src/assets/fonts/iconfont.ttf
new file mode 100644
index 0000000..f88f6d5
Binary files /dev/null and b/src/assets/fonts/iconfont.ttf differ
diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue
index a8e480d..870841d 100644
--- a/src/components/Sidebar.vue
+++ b/src/components/Sidebar.vue
@@ -29,18 +29,18 @@ export default {
path: "/upgradation",
name: "上传APK/OTA",
},
- // {
- // path: "/upgradationOta",
- // name: "上传Ota",
- // },
+ // {
+ // path: "/upgradationOta",
+ // name: "上传Ota",
+ // },
{
path: "/activity",
name: "活动列表",
},
-
+
// {
- // path: "/userlist",
- // name: "用户列表",
+ // path: "/deviceConfig",
+ // name: "设备配置",
// },
],
};
diff --git a/src/main.js b/src/main.js
index b592b15..6b58739 100644
--- a/src/main.js
+++ b/src/main.js
@@ -6,7 +6,7 @@ import ElementUI from "element-ui";
import "umy-ui/lib/theme-chalk/index.css"; // 引入样式
// import "element-ui/lib/theme-chalk/index.css";
import "../src/assets/css/theme/index.css"; //cac主题
-
+import "./assets/fonts/iconfont.css"; //按钮
Vue.use(ElementUI, {
size: "small",
});
diff --git a/src/router/index.js b/src/router/index.js
index ac8ba79..c2fab26 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -4,7 +4,6 @@ import VueRouter from "vue-router";
Vue.use(VueRouter);
const routes = [
-
{
path: "/login",
name: "login",
@@ -61,7 +60,7 @@ const routes = [
keepAlive: true,
},
},
-
+
{
path: "/activity",
component: () => import("../views/activityList/index.vue"),
@@ -71,6 +70,15 @@ const routes = [
keepAlive: true,
},
},
+ {
+ path: "/deviceConfig",
+ component: () => import("../views/deviceConfig/index.vue"),
+ name: "deviceConfig",
+ meta: {
+ title: "设备配置",
+ keepAlive: true,
+ },
+ },
{
path: "/userlist",
component: () => import("../views/userList/index.vue"),
diff --git a/src/utils/api/index.js b/src/utils/api/index.js
index 9594337..faee4ad 100644
--- a/src/utils/api/index.js
+++ b/src/utils/api/index.js
@@ -7,6 +7,14 @@ export function loginJoggle(data) {
data,
});
}
+//获取树状结构
+export function getdyTreeListJoggle(data) {
+ return request({
+ url: "/xymanager/getdyTreeList",
+ method: "post",
+ data,
+ });
+}
//获取用户装置信息
export function getTerminalJoggle(data) {
@@ -21,11 +29,10 @@ export function exportTerminalApi(data) {
url: "/xymanager/terminal/exportForMaintain",
method: "get",
params: data,
- responseType: 'blob'
+ responseType: "blob",
});
}
-
//获取规约
export function getProtocolList(data) {
return request({
@@ -34,7 +41,7 @@ export function getProtocolList(data) {
params: data,
});
}
-//获取 电压 线路 杆塔
+//获取 电压 线路 杆塔
export function getSearchInfo(data) {
return request({
url: "/xymanager/getLineAndGt",
@@ -106,7 +113,6 @@ export function cmdActlistApi(data) {
});
}
-
//查询已经下发的命令
export function cmdActHislistApi(data) {
return request({
@@ -155,7 +161,6 @@ export function logDeleteApi(data) {
});
}
-
//获取升级列表
export function upgradeListApi(data) {
return request({
@@ -196,22 +201,3 @@ export function upgradeDeleteApi(data) {
},
});
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/deviceConfig/components/sideBar.vue b/src/views/deviceConfig/components/sideBar.vue
new file mode 100644
index 0000000..9a946a5
--- /dev/null
+++ b/src/views/deviceConfig/components/sideBar.vue
@@ -0,0 +1,240 @@
+
+