sangwenwei hace 1 año
padre
commit
099152ae4b

+ 8 - 0
src/api/flowable/NoticeService.js

@@ -34,6 +34,14 @@ export default {
     })
   },
 
+	updateMonthly: function (id) {
+		return request({
+			url: prefix + '/flowable/notice/updateMonthly',
+			method: 'get',
+			params: {id:id}
+		})
+	},
+
   portionRead: function (ids) {
     return request({
       url: prefix + '/flowable/notice/portionRead',

+ 2 - 1
src/views/dashboard/widgets/components/MyNoticePageList.vue

@@ -139,7 +139,8 @@ export default {
 			if (row.taskName === '月报还未提交'){
 				this.visible = true
 				this.inputForm.title = row.title
-
+				noticeService.updateMonthly(row.id)
+				this.resetSearch()
 			}else if (row.taskName === '库存提醒') {
 				// console.log('测试进来了')
 				this.$refs.wareHouseHistoryPopup.init(row.defId)