|
|
|
@ -277,6 +277,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
import myPagination from "@/views/components/myPagination/index.vue";
|
|
|
|
|
import { Loading } from "element-ui";
|
|
|
|
|
export default {
|
|
|
|
|
components: { myPagination },
|
|
|
|
|
data() {
|
|
|
|
@ -416,6 +417,11 @@ export default {
|
|
|
|
|
this.nextStep = true;
|
|
|
|
|
this.nextText = "发布计划";
|
|
|
|
|
} else {
|
|
|
|
|
let downloadLoadingInstance = Loading.service({
|
|
|
|
|
text: this.isamend ? "正在修改计划,请稍后" : "正在发布计划,请稍后",
|
|
|
|
|
spinner: "el-icon-loading",
|
|
|
|
|
background: "rgba(0, 0, 0, 0.7)",
|
|
|
|
|
});
|
|
|
|
|
// console.log(this.form2);
|
|
|
|
|
console.log(this.multipleSelection);
|
|
|
|
|
let arr = [];
|
|
|
|
@ -438,6 +444,7 @@ export default {
|
|
|
|
|
obj = {...obj,id:this.amendId}
|
|
|
|
|
data = await this.$api.yingji.bPlanManage('put',obj)
|
|
|
|
|
if(data.code == 200){
|
|
|
|
|
downloadLoadingInstance.close();
|
|
|
|
|
this.$message({
|
|
|
|
|
message: '修改成功',
|
|
|
|
|
type: 'success'
|
|
|
|
@ -447,6 +454,7 @@ export default {
|
|
|
|
|
} else {
|
|
|
|
|
data = await this.$api.yingji.bPlanManage('post',obj)
|
|
|
|
|
if(data.code == 200){
|
|
|
|
|
downloadLoadingInstance.close();
|
|
|
|
|
this.$message({
|
|
|
|
|
message: '新增成功',
|
|
|
|
|
type: 'success'
|
|
|
|
|