|
@@ -230,7 +230,7 @@
|
|
},
|
|
},
|
|
res => {
|
|
res => {
|
|
if (res.code == "ok") {
|
|
if (res.code == "ok") {
|
|
- this.popoverData = res.data.list;
|
|
|
|
|
|
+ this.popoverData = res.data.list.list;
|
|
} else {
|
|
} else {
|
|
this.$message({
|
|
this.$message({
|
|
message: res.msg,
|
|
message: res.msg,
|
|
@@ -247,6 +247,25 @@
|
|
},
|
|
},
|
|
//点击消息的跳转
|
|
//点击消息的跳转
|
|
locationHerf(id, type) {
|
|
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) {
|
|
if (type == 0) {
|
|
//审批 跳转到模具详情
|
|
//审批 跳转到模具详情
|
|
this.$router.push("/moldList/" + id);
|
|
this.$router.push("/moldList/" + id);
|