|
|
@@ -35,6 +35,7 @@
|
|
|
|
|
|
<script>
|
|
|
import ProjectReportArchiveService from '@/api/cw/projectRecords/ProjectReportArchiveService'
|
|
|
+import { ElMessageBox } from "element-plus";
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -85,7 +86,11 @@ export default {
|
|
|
background: 'rgba(255, 255, 255, 0.3)'
|
|
|
});
|
|
|
this.projectReportArchiveService.updatePlaceByYear(this.inputForm).then((data) => {
|
|
|
- this.$message.success(data)
|
|
|
+ ElMessageBox.alert(data.message, '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ callback: (action) => {
|
|
|
+ },
|
|
|
+ })
|
|
|
loading.close();
|
|
|
this.close()
|
|
|
}).catch(err => {
|