Browse Source

查看消息

gzb
guozhongbo 9 months ago
parent
commit
e6e1326ad1

+ 21
- 5
src/api/log.js View File

@@ -25,7 +25,7 @@ export const logDeviceLogin_list = (data) =>
25 25
  * 7.3.2 设备位置日志-所有(导出)
26 26
  */
27 27
 export const logDeviceLogin_list_all = (data) =>
28
-    setRequest("logDeviceLogin/list_all", data);
28
+  setRequest("logDeviceLogin/list_all", data);
29 29
 /**
30 30
  * 7.4.1 设备事件日志-列表
31 31
  */
@@ -38,7 +38,8 @@ export const logdoperate_add = (data) => setRequest("logdoperate/add", data);
38 38
 /**
39 39
  * 7.4.3 设备事件日志-所有(导出)
40 40
  */
41
-export const logdoperate_list_event_all = (data) => setRequest("logdoperate/list_event_all", data);
41
+export const logdoperate_list_event_all = (data) =>
42
+  setRequest("logdoperate/list_event_all", data);
42 43
 /**
43 44
  * 7.5.1 设备违规日志-列表
44 45
  */
@@ -48,7 +49,7 @@ export const logdoperate_list_violate = (data) =>
48 49
  * 7.5.2 设备违规日志-所有(导出)
49 50
  */
50 51
 export const logdoperate_list_violate_all = (data) =>
51
-    setRequest("logdoperate/list_violate_all", data);
52
+  setRequest("logdoperate/list_violate_all", data);
52 53
 /**
53 54
  * 7.6.1 应用下载日志-列表
54 55
  */
@@ -75,7 +76,7 @@ export const logAppDown_list_install = (data) =>
75 76
  * 7.8.2 设备已安装应用-所有(导出)
76 77
  */
77 78
 export const logAppDown_list_install_all = (data) =>
78
-    setRequest("logAppDown/list_install_all", data);
79
+  setRequest("logAppDown/list_install_all", data);
79 80
 /**
80 81
  * 7.9.1 设备导出-列表(平台、区域)
81 82
  */
@@ -100,9 +101,24 @@ export const logDeviceBind_list_school = (data) =>
100 101
  * 7.9.5 设备导出-列表区域
101 102
  */
102 103
 export const logDeviceBind_list_region = (data) =>
103
-    setRequest("logDeviceBind/list_region", data);
104
+  setRequest("logDeviceBind/list_region", data);
104 105
 /**
105 106
  * 7.10.3 违规设备--合规处理
106 107
  */
107 108
 export const logdoperate_edit_handled = (data) =>
108 109
   setRequest("logdoperate/edit_handled", data);
110
+/**
111
+ * 7.11.1 日志消息-未读数量
112
+ */
113
+export const logdoperatemsg_get_nrn = (data) =>
114
+  setRequest("logdoperatemsg/get_nrn", data);
115
+/**
116
+ * 7.11.2 日志消息-列表
117
+ */
118
+export const logdoperatemsg_list = (data) =>
119
+  setRequest("logdoperatemsg/list", data);
120
+/**
121
+ * 7.11.3 日志消息-查看
122
+ */
123
+export const logdoperatemsg_edit_read = (data) =>
124
+  setRequest("logdoperatemsg/edit_read", data);

+ 4
- 1
src/views/layout.vue View File

@@ -16,7 +16,7 @@
16 16
           所属学校【{{ belongName }}】
17 17
         </div>
18 18
         <div class="dope" v-if="powerParams.rtype != 1">
19
-          <img class="img1" src="../assets/img/dope.png" />
19
+          <img @click="headerDope" class="img1" src="../assets/img/dope.png" />
20 20
           <img class="img2" src="../assets/img/Ellipse.png" />
21 21
           <span class="dopenum">99</span>
22 22
         </div>
@@ -242,6 +242,9 @@ export default {
242 242
     }
243 243
   },
244 244
   methods: {
245
+    headerDope(){
246
+
247
+    },
245 248
     // 获取短信验证码
246 249
     getMsgCode() {
247 250
       if (this.phoneInfo.second < 60) {

+ 0
- 4
src/views/regionSection/personal.vue View File

@@ -241,7 +241,6 @@ export default {
241 241
       this.getEvent();
242 242
     },
243 243
     async getEvent() {
244
-      console.log(this.userInfo);
245 244
       let res = {
246 245
         code: null
247 246
       };
@@ -268,18 +267,15 @@ export default {
268 267
 
269 268
       if (res.code === 0) {
270 269
         this.searchForm.list = res.obj.data;
271
-        console.log(this.searchForm.list);
272 270
         this.searchForm.total = res.obj.total;
273 271
       } else {
274 272
         this.$Message.error(res.msg);
275 273
       }
276 274
     },
277 275
     getPersonal() {
278
-      console.log(this.userInfo);
279 276
       admin_detail({ adminid: this.userInfo.adminid }).then((res) => {
280 277
         if (res.code === 0) {
281 278
           this.personalInfo = res.obj;
282
-          console.log(res.obj);
283 279
         } else {
284 280
           this.$Message.error(res.msg);
285 281
         }

+ 0
- 2
src/views/schoolSection/applicationManage/applicationList.vue View File

@@ -1179,7 +1179,6 @@ export default {
1179 1179
     },
1180 1180
     // 新建
1181 1181
     toAdd() {
1182
-      this.$refs.addForm.resetFields();
1183 1182
       this.wallpaperInfo = {
1184 1183
         show: true,
1185 1184
         appid: null,
@@ -1211,7 +1210,6 @@ export default {
1211 1210
     },
1212 1211
     // 保存新建
1213 1212
     saveAddInfo() {
1214
-      console.log(this.wallpaperInfo);
1215 1213
       this.$refs.addForm.validate((valid) => {
1216 1214
         if (valid) {
1217 1215
           if (!this.wallpaperInfo.appgroupid) {

Loading…
Cancel
Save