src/assets/api/controller.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/do/b1-inspect-order-plan/Inspection.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/view/index-index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/assets/api/controller.js
@@ -167,6 +167,7 @@ upPlanUser: "/insOrderPlan/upPlanUser", //任务交接 verifyPlan: "/insOrderPlan/verifyPlan", //复核检验任务 submitPlan: "/insOrderPlan/submitPlan", //检验任务提交 inspectionOrderDetailsTaskSwitching: "/insOrderPlan/inspectionOrderDetailsTaskSwitching", // 检验单详情-任务切换 } const systemLog = { @@ -269,6 +270,7 @@ page: "/informationNotification/page", //滚动分页查询 updateMessageStatus: "/informationNotification/updateMessageStatus", //更新消息状态(拒绝、接收) triggerModificationStatusToRead: "/informationNotification/triggerModificationStatusToRead", //点击详情触发修改状态为已读 getNumberFourTypesMessagesHomePage: "/informationNotification/getNumberFourTypesMessagesHomePage", // 消息通知-获取首页四种消息数量 } const performanceShift = { src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -319,7 +319,7 @@ </el-table> </el-drawer> <el-drawer title="任务切换" :visible.sync="taskVisible" :size="500"> <ValueTable class="value-table" ref="insOrderPlan" :url="$api.insOrderPlan.selectInsOrderPlanList" <ValueTable class="value-table" ref="insOrderPlan" :url="$api.insOrderPlan.inspectionOrderDetailsTaskSwitching" :componentData="componentData" :key="upIndex" style="height: 100%;"/> </el-drawer> <el-dialog title="检验复核" :visible.sync="reviewDia" width="500px"> src/components/view/index-index.vue
@@ -304,7 +304,7 @@ <img src="../../../static/img/index-0.svg" alt=""> </div> <div class="mun"> <p style="font-size: 20px;">0</p> <p style="font-size: 20px;">{{getNumberFourTypes.totalNumberOfMessages}}</p> <p style="font-size: 14px;margin-bottom: 10px;">我的待办</p> </div> </div> @@ -313,7 +313,7 @@ <img src="../../../static/img/index-1.svg" alt=""> </div> <div class="mun"> <p style="font-size: 20px;">0</p> <p style="font-size: 20px;">{{ getNumberFourTypes.remainingToDo }}</p> <p style="font-size: 14px;margin-bottom: 10px;">已办事宜</p> </div> </div> @@ -322,7 +322,7 @@ <img src="../../../static/img/index-2.svg" alt=""> </div> <div class="mun"> <p style="font-size: 20px;">0</p> <p style="font-size: 20px;">{{ getNumberFourTypes.totalNumberOfReadMessages }}</p> <p style="font-size: 14px;margin-bottom: 10px;">剩余待办</p> </div> </div> @@ -331,7 +331,7 @@ <img src="../../../static/img/index-3.svg" alt=""> </div> <div class="mun"> <p style="font-size: 20px;">0</p> <p style="font-size: 20px;">{{ getNumberFourTypes.totalNumberOfMessagesInThePastSevenDays }}</p> <p style="font-size: 14px;margin-bottom: 10px;">近期事宜</p> </div> </div> @@ -467,6 +467,7 @@ finishLoding: false, // 加载完成,显示已经没有更多了 timer:null, keyMap:{}, getNumberFourTypes: {}, } }, watch:{ @@ -502,8 +503,14 @@ this.getList(); this.getScheduleByMe() },1000*60*10) this.getNumberFourTypesFun() }, methods: { getNumberFourTypesFun() { this.$axios.get(this.$api.informationNotification.getNumberFourTypesMessagesHomePage).then(res => { this.getNumberFourTypes = res.data }) }, getList(){ const key = `_${this.currentPage}` const value = this.keyMap[key]