7891365e by renchao@pashanhoo.com

Merge branch 'dev'

2 parents cb6ea2d0 e64531ef
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-19 16:23:02
* @LastEditTime: 2024-01-19 13:58:43
-->
<template>
<div class="from-clues">
......@@ -41,8 +41,6 @@
import { popupCacel } from "@/utils/popup.js";
import { mapGetters } from "vuex";
export default {
computed: {
},
props: {
formData: {
type: Object,
......@@ -56,15 +54,6 @@
shyj: "",
};
},
// watch: {
// yjsqOptions: {
// handler (val) {
// this.add(val.opinion);
// },
// deep: true,
// immediate: true,
// },
// },
methods: {
/**
* @description: submitForm
......@@ -80,6 +69,7 @@
})
},
submitForm () {
let that = this
this.queryForm = {
bsmSlsq: this.formData.bsmSlsq,
shyj: this.shyj,
......@@ -87,8 +77,8 @@
};
completeTask(this.queryForm).then((res) => {
if (res.code === 200) {
this.$message.success("转件成功");
popupCacel();
that.$message.success("转件成功");
setTimeout(() => {
if (window.opener && window.opener.getBpageList) {
window.opener.getBpageList();
......@@ -96,11 +86,14 @@
window.opener.frames[0].getBpageList();
}
window.close();
this.$emit("input", false);
}, 1000);
that.$emit("input", false);
}, 360);
} else {
this.$message.error(res.message);
}
}).catch((error) => {
// 可以添加适当的错误处理
this.$message.error("提交任务失败");
});
},
/**
......