Merge branch 'main' into 'stg'

修改bug

See merge request cloud-mediate/mediate-manage-web!71
This commit is contained in:
刘翕 2025-02-24 10:44:04 +00:00
commit 901c58a5a8

View File

@ -103,6 +103,7 @@ import api from "@/services/caseManagement";
methods: { methods: {
// //
handleSubmitUpdate(){ handleSubmitUpdate(){
if(this.Effectobj.mediaPath.length == 0){return false}
this.$refs.ruleFormEffect.validate((valid) => { this.$refs.ruleFormEffect.validate((valid) => {
if (valid){ if (valid){
this.Effectobj.createAt =undefined this.Effectobj.createAt =undefined
@ -113,6 +114,7 @@ import api from "@/services/caseManagement";
this.Effectobj.updateAt =undefined this.Effectobj.updateAt =undefined
this.Effectobj.updateBy =undefined this.Effectobj.updateBy =undefined
this.Effectobj.uploaderName =undefined this.Effectobj.uploaderName =undefined
this.Effectobj.proofUrl = this.Effectobj.mediaPath[0]
api.gettraceProof_edit(this.Effectobj).then(res => { api.gettraceProof_edit(this.Effectobj).then(res => {
if(!res.code){ if(!res.code){
this.$parent.getProofList(1) this.$parent.getProofList(1)