|
|
@@ -2897,12 +2897,12 @@ |
|
|
|
import {listShyqr,addShyqr,updateShyqr,delShyqr,setSyqrInfo} from "@/api/homesteadSurvey/shyqr"; |
|
|
|
import {listZjdzd,getZjdzd,updateZjdzd,addZjdzd,uploadFile,getQueryLand} from "@/api/homesteadSurvey/zjdzd"; |
|
|
|
import MapGisDrawing from "@/components/Map/MapGisDrawing"; |
|
|
|
import {listZrz,addZrz,updateZrz,getZrzZjdDmList,delZrz,updateZrzZt} from "@/api/homesteadSurvey/zrz"; |
|
|
|
import {listZrz,addZrz,updateZrz,getZrzZjdDmList,delZrz,updateZrzZtN,updateZrzZtY} from "@/api/homesteadSurvey/zrz"; |
|
|
|
import {listNmfw,addNmfw,updateNmfw,delNmfw} from "@/api/homesteadSurvey/nmfw"; |
|
|
|
import {listSuyqr,addSuyqr,updateSuyqr} from "@/api/homesteadSurvey/suyqr"; |
|
|
|
import {listNhhncy,addNhhncy,updateNhhncy,delNhhncy} from "@/api/homesteadSurvey/nhhncy"; |
|
|
|
import {addNh, delNh, exportNh, getNh, listNh, updateNh,setNhInfo} from "@/api/homesteadSurvey/nh"; |
|
|
|
import {listFsss,addFsss,updateFsss,delFsss,getFsssZjdDmList,updateFsssZt} from "@/api/homesteadSurvey/fsss"; |
|
|
|
import {listFsss,addFsss,updateFsss,delFsss,getFsssZjdDmList,updateFsssZtN,updateFsssZtY} from "@/api/homesteadSurvey/fsss"; |
|
|
|
import { listTown, getTown } from "@/api/homesteadSurvey/town"; |
|
|
|
import { listVillage} from "@/api/homesteadSurvey/village"; |
|
|
|
import { sysConfig} from "@/api/homesteadSurvey/index"; |
|
|
@@ -5596,17 +5596,6 @@ |
|
|
|
.generate() // 使用生成器调用把签字的图片转换成为base64图片格式 |
|
|
|
.then((res) => { |
|
|
|
this.resultImg = res; |
|
|
|
if(this.enterMap ==1){ |
|
|
|
if(this.enterMapZjddm !="" && this.enterMapZjddm !=undefined && this.enterMapZjddm !=null){ |
|
|
|
updateZrzZt(this.enterMapZjddm).then(response => {}); |
|
|
|
updateFsssZt(this.enterMapZjddm).then(response => {}); |
|
|
|
} |
|
|
|
}else { |
|
|
|
if(this.$cookies.get("search").zjddm !="" && this.$cookies.get("search").zjddm !=undefined && this.$cookies.get("search").zjddm !=null){ |
|
|
|
updateZrzZt(this.$cookies.get("search").zjddm).then(response => {}); |
|
|
|
updateFsssZt(this.$cookies.get("search").zjddm).then(response => {}); |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch((err) => { |
|
|
|
// 画布没有签字时会执行这里提示一下 |
|
|
@@ -5631,7 +5620,15 @@ |
|
|
|
uploadFile(data2).then(res => { |
|
|
|
this.form.dzqm = res.fileName |
|
|
|
this.form.houseDataConfirmStatus = "CONFIRMED" |
|
|
|
if(this.form.zjddm !="" && this.form.zjddm !=undefined && this.form.zjddm !=null && this.form.isyc =="N"){ |
|
|
|
updateZrzZtN(this.form.zjddm).then(response => {}); |
|
|
|
updateFsssZtN(this.form.zjddm).then(response => {}); |
|
|
|
}else { |
|
|
|
updateZrzZtY(this.form.zjddm).then(response => {}); |
|
|
|
updateFsssZtY(this.form.zjddm).then(response => {}); |
|
|
|
} |
|
|
|
if (this.form.id != null) { |
|
|
|
console.log(this.form); |
|
|
|
updateZjdzd(this.form).then(response => { |
|
|
|
let _this =this |
|
|
|
this.$toast({ |
|
|
@@ -5641,7 +5638,7 @@ |
|
|
|
onClose:function(){ |
|
|
|
_this.goBack(); |
|
|
|
} |
|
|
|
}) |
|
|
|
}); |
|
|
|
}); |
|
|
|
} else { |
|
|
|
addZjdzd(this.form).then(response => { |
|
|
|