Ver a proveniência

确权调查移动端

wulanhaote
yujk há 3 anos
ascendente
cometimento
73a078c841
1 ficheiros alterados com 7 adições e 3 eliminações
  1. +7
    -3
      src/views/authenticRight/index.vue

+ 7
- 3
src/views/authenticRight/index.vue Ver ficheiro

@@ -490,6 +490,7 @@
import {Dialog} from "vant";
import {getInfo} from "@/api/login/index";
import {getNowFormatDate} from "../../utils/utils";
import request from '@/utils/request'

export default {
name: "authenticRightApply",
@@ -724,7 +725,8 @@
const data2 = new FormData();
data2.append("file", new Blob([new Uint8Array(d)],{type:'image/jpeg'}));
uploadFileBase(data2).then(res => {
this.xcdcform.fileUrl1=res.url
this.xcdcform.fileUrl1=res.fileName
console.log(res)
})
}
},
@@ -757,7 +759,7 @@
const data2 = new FormData();
data2.append("file", new Blob([new Uint8Array(d)],{type:'image/jpeg'}));
uploadFileBase(data2).then(res => {
this.xcdcform.fileUrl2=res.url
this.xcdcform.fileUrl2=res.fileName
})
}
},
@@ -1028,6 +1030,7 @@
getInvestigate(data.id).then(res => {
if(res.data){
this.xcdcform = res.data
console.log(res.data)
if(this.xcdcform.fileUrl1){
this.fileList1.push({
"url":this.xcdcform.fileUrl1
@@ -1129,7 +1132,8 @@
i++
}
this.xcdcform["lackCount"] = i
console.log(this.xcdcform)
this.xcdcform.fileUrl1 = location.protocol+"//"+location.host+request.defaults.baseURL+ this.xcdcform.fileUrl1
this.xcdcform.fileUrl2 = location.protocol+"//"+location.host+request.defaults.baseURL+ this.xcdcform.fileUrl2
if(this.xcdcform.id){
updateInvestigate(this.xcdcform).then(res => {
this.showXCDC = false


Carregando…
Cancelar
Guardar