浏览代码

宅基地调查进度优化

rongxin_prod
Xyq123* 1年前
父节点
当前提交
a347412e6d
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. +3
    -1
      src/views/homesteadSurvey/add4.vue

+ 3
- 1
src/views/homesteadSurvey/add4.vue 查看文件

@@ -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))


正在加载...
取消
保存