Explorar el Código

宅基地调查进度优化

rongxin_prod
Xyq123* hace 1 año
padre
commit
a347412e6d
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. +3
    -1
      src/views/homesteadSurvey/add4.vue

+ 3
- 1
src/views/homesteadSurvey/add4.vue Ver fichero

@@ -330,10 +330,12 @@ export default {
.then((res) => {
this.signature.resultImg = res;
let wj = this.dataURLtoBlob(res);
let surveyItem = JSON.parse(localStorage.getItem("surveyItem"));
let param = new FormData() // 创建form对象
param.append('file', wj) // 通过append向form对象添加数据
param.append('id', surveyItem.id)
param.append('date', this.format(new Date(), 'yyyy-MM-dd')) // 通过append向form对象添加数据
zjddcSign(param, this.zjdzdxx.zjddm).then(response => {
zjddcSign(param, this.zjdzdxx.zjddm,surveyItem.id).then(response => {
this.$notify({type: 'success', message: '签字成功'});
getZjdzd(this.zjdzdxx.id).then((response) => {
localStorage.setItem("zjdzdxxItem",JSON.stringify(response.data))


Cargando…
Cancelar
Guardar