|
|
@ -348,6 +348,7 @@ import { getFileStream } from "@/api/system/upload"; |
|
|
|
|
|
|
|
export default { |
|
|
|
name: "Yhxx", |
|
|
|
props: ["chartEleGetData"], |
|
|
|
data() { |
|
|
|
return { |
|
|
|
// 遮罩层 |
|
|
@ -581,8 +582,10 @@ export default { |
|
|
|
submitForm() { |
|
|
|
this.$refs["form"].validate((valid) => { |
|
|
|
if (valid) { |
|
|
|
this.chartEleGetData(); |
|
|
|
this.form.photo = JSON.stringify(this.fileList); |
|
|
|
if (this.form.id != null) { |
|
|
|
if (!this.isResolve) this.form.status = "0"; |
|
|
|
if (this.isResolve) this.form.status = "1"; |
|
|
|
updateYhxx(this.form).then((response) => { |
|
|
|
if (response.code === 200) { |
|
|
@ -617,6 +620,7 @@ export default { |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
this.getList(); |
|
|
|
this.chartEleGetData(); |
|
|
|
this.msgSuccess("删除成功"); |
|
|
|
}) |
|
|
|
.catch(function () {}); |
|
|
|