|
|
@ -4,7 +4,7 @@
|
|
|
|
* @Author: JC9527
|
|
|
|
* @Author: JC9527
|
|
|
|
* @Date: 2023-09-04 10:20:06
|
|
|
|
* @Date: 2023-09-04 10:20:06
|
|
|
|
* @LastEditors: JC9527
|
|
|
|
* @LastEditors: JC9527
|
|
|
|
* @LastEditTime: 2023-09-14 14:17:04
|
|
|
|
* @LastEditTime: 2023-09-14 15:00:34
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="plan-management">
|
|
|
|
<div class="plan-management">
|
|
|
@ -111,7 +111,7 @@
|
|
|
|
header-align="center"
|
|
|
|
header-align="center"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span>{{ scope.row.createTime.split(' ')[0] }}</span>
|
|
|
|
<span>{{ scope.row.createTime ? scope.row.createTime.split(' ')[0] : scope.row.createTime }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
@ -150,6 +150,7 @@
|
|
|
|
import myPagination from "@/views/components/myPagination/index.vue"
|
|
|
|
import myPagination from "@/views/components/myPagination/index.vue"
|
|
|
|
import myDialog from "@/views/components/dialog/index.vue"
|
|
|
|
import myDialog from "@/views/components/dialog/index.vue"
|
|
|
|
import myDialogtwo from "@/views/components/dialogTwo/index.vue"
|
|
|
|
import myDialogtwo from "@/views/components/dialogTwo/index.vue"
|
|
|
|
|
|
|
|
import { Loading } from "element-ui";
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
components:{myPagination,myDialog,myDialogtwo},
|
|
|
|
components:{myPagination,myDialog,myDialogtwo},
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
@ -234,9 +235,15 @@
|
|
|
|
.then(async() => {
|
|
|
|
.then(async() => {
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
|
|
|
|
let downloadLoadingInstance = Loading.service({
|
|
|
|
|
|
|
|
text: "正在删除计划,请稍候",
|
|
|
|
|
|
|
|
spinner: "el-icon-loading",
|
|
|
|
|
|
|
|
background: "rgba(0, 0, 0, 0.7)",
|
|
|
|
|
|
|
|
});
|
|
|
|
let data = await this.$api.yingji.bPlanManage('delete',_,{idList:idList.join(',')})
|
|
|
|
let data = await this.$api.yingji.bPlanManage('delete',_,{idList:idList.join(',')})
|
|
|
|
if(data.code == 200) {
|
|
|
|
if(data.code == 200) {
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
|
|
|
|
downloadLoadingInstance.close();
|
|
|
|
this.$message({
|
|
|
|
this.$message({
|
|
|
|
message: '删除成功',
|
|
|
|
message: '删除成功',
|
|
|
|
type: 'success'
|
|
|
|
type: 'success'
|
|
|
@ -244,6 +251,7 @@
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} catch (error) {
|
|
|
|
} catch (error) {
|
|
|
|
|
|
|
|
downloadLoadingInstance.close();
|
|
|
|
console.log(error)
|
|
|
|
console.log(error)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|