浏览代码

Merge branch 'stage' into dev0.3

asd26269546 1 年之前
父节点
当前提交
328d2efade
共有 1 个文件被更改,包括 7 次插入5 次删除
  1. 7 5
      src/views/system/msg/index.vue

+ 7 - 5
src/views/system/msg/index.vue

@@ -52,7 +52,7 @@ import byTable from '@/components/byTable/index'
 import byForm from '@/components/byForm/index'
 import { computed, ref } from 'vue'
 import Editor from '@/components/Editor/index.vue'
-
+import { formatDate } from '@/utils/index.js'
 const { proxy } = getCurrentInstance()
 const loading = ref(false)
 const companyList = ref({})
@@ -164,16 +164,18 @@ const config = computed(() => {
 								}
 							).then(() => {
 								proxy
-									.post('/sendMeg/edit', {
+									.post('/pushAnnouncement/edit', {
 										...row,
-                                        status:1,
+                                        sendTime:formatDate(new Date()),
 									})
 									.then(() => {
 										ElMessage({
-											message: '发送成功',
+											message: '已提交发送申请,请稍后刷新页面查看',
 											type: 'success',
 										})
-										getList()
+										setTimeout(() => {
+											getList()
+										}, 500);
 									})
 							})
 						},