|
@@ -16,12 +16,12 @@
|
|
></i>
|
|
></i>
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
</div> -->
|
|
</div> -->
|
|
- <div class="right-menu-item hover-effect" @click="isNotice=!isNotice" style="display: flex;">
|
|
|
|
|
|
+ <!-- <div class="right-menu-item hover-effect" @click="handleNotice" style="display: flex;">
|
|
<el-badge value="示">
|
|
<el-badge value="示">
|
|
<i class="el-icon-message-solid" style="font-size: 24px; line-height: 50px"></i>
|
|
<i class="el-icon-message-solid" style="font-size: 24px; line-height: 50px"></i>
|
|
</el-badge>
|
|
</el-badge>
|
|
<span style="font-size: 16px; margin-left: 15px;">到货通知</span>
|
|
<span style="font-size: 16px; margin-left: 15px;">到货通知</span>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
<div class="right-menu-item hover-effect" @click="toEngine">
|
|
<div class="right-menu-item hover-effect" @click="toEngine">
|
|
<i class="el-icon-s-platform" style="font-size: 18px;"></i>
|
|
<i class="el-icon-s-platform" style="font-size: 18px;"></i>
|
|
<span style="font-size: 16px; margin-left: 6px;">家用工程机登录</span>
|
|
<span style="font-size: 16px; margin-left: 6px;">家用工程机登录</span>
|
|
@@ -68,7 +68,7 @@
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
- <el-dialog title="到货通知" :modal="false" :visible.sync="isNotice" center >
|
|
|
|
|
|
+ <el-dialog title="到货通知" :modal="false" :visible.sync="isNotice" center @close="handleNotice">
|
|
<el-table :data="[]">
|
|
<el-table :data="[]">
|
|
<el-table-column property="date" label="产品编号" ></el-table-column>
|
|
<el-table-column property="date" label="产品编号" ></el-table-column>
|
|
<el-table-column property="name" label="物料编码" ></el-table-column>
|
|
<el-table-column property="name" label="物料编码" ></el-table-column>
|
|
@@ -180,7 +180,6 @@ export default {
|
|
wsConnectErrorTime: 1,
|
|
wsConnectErrorTime: 1,
|
|
websock: null,
|
|
websock: null,
|
|
lockReconnect: false,
|
|
lockReconnect: false,
|
|
- isNotice:false
|
|
|
|
};
|
|
};
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
@@ -221,13 +220,15 @@ export default {
|
|
noticeVisible() {
|
|
noticeVisible() {
|
|
return this.noticeCount > 0;
|
|
return this.noticeCount > 0;
|
|
},
|
|
},
|
|
- ...mapGetters(["sidebar", "avatar", "device", "name"]),
|
|
|
|
|
|
+ ...mapGetters(["sidebar", "avatar", "device", "name","isNotice"]),
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
getList(){
|
|
getList(){
|
|
-
|
|
|
|
}
|
|
}
|
|
-,
|
|
|
|
|
|
+ ,
|
|
|
|
+ handleNotice(){
|
|
|
|
+ this.$store.commit("user/SET_STATUS",!this.isNotice);
|
|
|
|
+ },
|
|
toggleSideBar() {
|
|
toggleSideBar() {
|
|
this.$store.dispatch("app/toggleSideBar");
|
|
this.$store.dispatch("app/toggleSideBar");
|
|
},
|
|
},
|