mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-06 07:21:24 +08:00
Add management item message pop-up window。
Work item update operation。
This commit is contained in:
@@ -93,6 +93,7 @@
|
||||
<script lang="ts">
|
||||
import request from '@/services'
|
||||
import EditWork from '@/components/work/EditWork.vue'
|
||||
import { ElMessage } from 'element-plus'
|
||||
|
||||
export default {
|
||||
name: 'AllTaskPage',
|
||||
@@ -172,10 +173,18 @@ export default {
|
||||
.then((response) => {
|
||||
this.addVisible = false
|
||||
this.getTableData()
|
||||
ElMessage({
|
||||
message: '添加成功',
|
||||
type: 'success'
|
||||
})
|
||||
console.log(response.data)
|
||||
})
|
||||
.catch((reportError) => {
|
||||
console.log(reportError)
|
||||
ElMessage({
|
||||
message: '添加出错',
|
||||
type: 'error'
|
||||
})
|
||||
})
|
||||
},
|
||||
formatDate(time) {
|
||||
|
||||
Reference in New Issue
Block a user