ソースを参照

消息提醒获取记录更改2

Reiskuchen 5 年 前
コミット
398c37e566
1 ファイル変更19 行追加0 行削除
  1. 19 0
      ys_vue/src/views/Home.vue

+ 19 - 0
ys_vue/src/views/Home.vue

@@ -247,6 +247,25 @@
             },
             //点击消息的跳转
             locationHerf(id, type) {
+                this.http.post( this.port.notice.read, {
+                    "id": id
+                },
+                res => {
+                    if (res.code == "ok") {
+                        
+                    } else {
+                        this.$message({
+                        message: res.msg,
+                        type: "error"
+                        });
+                    }
+                },
+                error => {
+                    this.$message({
+                        message: error,
+                        type: "error"
+                    });
+                });
                 if (type == 0) {
                     //审批 跳转到模具详情
                     this.$router.push("/moldList/" + id);