Browse Source

查看消息

gzb
guozhongbo 9 months ago
parent
commit
e6e1326ad1

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

25
  * 7.3.2 设备位置日志-所有(导出)
25
  * 7.3.2 设备位置日志-所有(导出)
26
  */
26
  */
27
 export const logDeviceLogin_list_all = (data) =>
27
 export const logDeviceLogin_list_all = (data) =>
28
-    setRequest("logDeviceLogin/list_all", data);
28
+  setRequest("logDeviceLogin/list_all", data);
29
 /**
29
 /**
30
  * 7.4.1 设备事件日志-列表
30
  * 7.4.1 设备事件日志-列表
31
  */
31
  */
38
 /**
38
 /**
39
  * 7.4.3 设备事件日志-所有(导出)
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
  * 7.5.1 设备违规日志-列表
44
  * 7.5.1 设备违规日志-列表
44
  */
45
  */
48
  * 7.5.2 设备违规日志-所有(导出)
49
  * 7.5.2 设备违规日志-所有(导出)
49
  */
50
  */
50
 export const logdoperate_list_violate_all = (data) =>
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
  * 7.6.1 应用下载日志-列表
54
  * 7.6.1 应用下载日志-列表
54
  */
55
  */
75
  * 7.8.2 设备已安装应用-所有(导出)
76
  * 7.8.2 设备已安装应用-所有(导出)
76
  */
77
  */
77
 export const logAppDown_list_install_all = (data) =>
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
  * 7.9.1 设备导出-列表(平台、区域)
81
  * 7.9.1 设备导出-列表(平台、区域)
81
  */
82
  */
100
  * 7.9.5 设备导出-列表区域
101
  * 7.9.5 设备导出-列表区域
101
  */
102
  */
102
 export const logDeviceBind_list_region = (data) =>
103
 export const logDeviceBind_list_region = (data) =>
103
-    setRequest("logDeviceBind/list_region", data);
104
+  setRequest("logDeviceBind/list_region", data);
104
 /**
105
 /**
105
  * 7.10.3 违规设备--合规处理
106
  * 7.10.3 违规设备--合规处理
106
  */
107
  */
107
 export const logdoperate_edit_handled = (data) =>
108
 export const logdoperate_edit_handled = (data) =>
108
   setRequest("logdoperate/edit_handled", data);
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
           所属学校【{{ belongName }}】
16
           所属学校【{{ belongName }}】
17
         </div>
17
         </div>
18
         <div class="dope" v-if="powerParams.rtype != 1">
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
           <img class="img2" src="../assets/img/Ellipse.png" />
20
           <img class="img2" src="../assets/img/Ellipse.png" />
21
           <span class="dopenum">99</span>
21
           <span class="dopenum">99</span>
22
         </div>
22
         </div>
242
     }
242
     }
243
   },
243
   },
244
   methods: {
244
   methods: {
245
+    headerDope(){
246
+
247
+    },
245
     // 获取短信验证码
248
     // 获取短信验证码
246
     getMsgCode() {
249
     getMsgCode() {
247
       if (this.phoneInfo.second < 60) {
250
       if (this.phoneInfo.second < 60) {

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

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

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

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

Loading…
Cancel
Save