gjy 2 년 전
부모
커밋
ca0b71e825

+ 6 - 6
pageD/identity/companyIdentity.vue

@@ -232,9 +232,9 @@
 			getImgUrl1(res) {
 				console.log(res)
 				let that = this
-				that.id[0] = res
-				that.id1 = res
-				that.identityImgs1.personImg = res
+				that.id[0] = res.data.appendixPath
+				that.id1 = res.data.appendixPath
+				that.identityImgs1.personImg = res.data.appendixPath
 				that.$api.doRequest('get', '/driverViewInfo/personShibie', that
 					.identityImgs1).then(res => {
 					if (res.data.data.recPerson != null) {
@@ -269,9 +269,9 @@
 			getImgUrl2(res) {
 				console.log(res)
 				let that = this
-				that.id[1] = res
-				that.id2 = res
-				that.identityImgs1.personImg = res
+				that.id[1] = res.data.appendixPath
+				that.id2 = res.data.appendixPath
+				that.identityImgs1.personImg = res.data.appendixPath
 				// that.$api.doRequest('get', '/driverViewInfo/personShibie', that
 				// 	.identityImgs1).then(res => {
 				// 	if (res.data.data.recPerson != null) {

+ 10 - 10
pageD/identity/companyIdentityEdit.vue

@@ -276,36 +276,36 @@
 			getImgUrl(res) {
 				console.log(res)
 				console.log('------------res-----------')
-				this.deptList.businessLicenseAddressUrl = res
-				this.license1 = res
+				this.deptList.businessLicenseAddressUrl = res.data.appendixPath
+				this.license1 = res.data.appendixPath
 
 			},
 			getImgUrl1(res) {
 				console.log(res)
 				console.log('------------res-----------')
-				that.id[0] = res
-				that.idup = res
+				that.id[0] = rres.data.appendixPath
+				that.idup = res.data.appendixPath
 
 			},
 			getImgUrl2(res) {
 				console.log(res)
 				console.log('------------res-----------')
-				that.id[1] = res
-				that.idlow = res
+				that.id[1] = res.data.appendixPath
+				that.idlow = res.data.appendixPath
 
 			},
 			getImgUrl3(res) {
 				console.log(res)
 				console.log('------------res-----------')
-				that.bankid[0] = res
-				that.bank1 = res
+				that.bankid[0] = res.data.appendixPath
+				that.bank1 = res.data.appendixPath
 
 			},
 			getImgUrl4(res) {
 				console.log(res)
 				console.log('------------res-----------')
-				that.bankid[1] = res
-				that.bank2 = res
+				that.bankid[1] = res.data.appendixPath
+				that.bank2 = res.data.appendixPath
 
 			},
 			commitEdit(item) {

+ 6 - 6
pageD/identity/companyIdentityThree.vue

@@ -175,10 +175,10 @@
 				console.log(res)
 				console.log('------------res-----------')
 				let that = this
-				that.bankid[0] = res
-				that.bank1 = res
+				that.bankid[0] = res.data.appendixPath
+				that.bank1 = res.data.appendixPath
 				that.certificates = false
-				that.bankImgs1.bankImg = res
+				that.bankImgs1.bankImg = res.data.appendixPath
 				that.$api.doRequest('get', '/driverViewInfo/bankShibie', that
 					.bankImgs1).then(res => {
 					if (res.data.data.bankNo != null) {
@@ -208,10 +208,10 @@
 				console.log(res)
 				console.log('------------res-----------')
 				let that = this
-				that.bankid[1] = res
-				that.bank2 = res
+				that.bankid[1] = res.data.appendixPath
+				that.bank2 = res.data.appendixPath
 				that.certificatesTwo = false
-				that.bankImgs1.bankImg = res
+				that.bankImgs1.bankImg = res.data.appendixPath
 				// that.$api.doRequest('get', '/driverViewInfo/bankShibie', that
 				// 	.bankImgs1).then(res => {
 				// 	if (res.data.data.bankNo != null) {

+ 4 - 4
pageD/identity/companyIdentityTwo.vue

@@ -106,8 +106,8 @@
 				console.log(res)
 				console.log('------------res-----------')
 				let that = this;
-				that.id[0] = res
-				that.id1 = res
+				that.id[0] = res.data.appendixPath
+				that.id1 = res.data.appendixPath
 				that.certificates = false
 				that.identityImgs1.personImg = res
 				that.$api.doRequest('get', '/driverViewInfo/personShibie', that.identityImgs1).then(res => {
@@ -140,8 +140,8 @@
 				console.log(res)
 				console.log('------------res-----------')
 				let that = this;
-				that.id[1] = res
-				that.id2 = res
+				that.id[1] = res.data.appendixPath
+				that.id2 = res.data.appendixPath
 				that.certificatesTwo = false
 				that.identityImgs1.personImg = res
 				// that.$api.doRequest('get', '/driverViewInfo/personShibie', that.identityImgs1).then(res => {

+ 4 - 4
pageD/identity/driverIdentity.vue

@@ -148,8 +148,8 @@
 				console.log(src)
 				console.log('------------res-----------')
 				let that = this;
-				that.id[0] = src
-				that.id1 = src
+				that.id[0] = src.data.appendixPath
+				that.id1 = src.data.appendixPath
 				that.certificates = false
 				that.personImgs.personImg = that.id[0]
 				that.$api.doRequest('get', '/driverViewInfo/personShibie', that
@@ -179,8 +179,8 @@
 				console.log(res)
 				console.log('------------res-----------')
 				let that = this;
-				that.id[1] = res
-				that.id2 = res
+				that.id[1] = res.data.appendixPath
+				that.id2 = res.data.appendixPath
 				that.certificatesTwo = false
 				that.personImgs.personImg = that.id[1]
 				that.$api.doRequest('get', '/driverViewInfo/personShibie', that

+ 8 - 8
pageD/identity/driverIdentityThree.vue

@@ -136,24 +136,24 @@
 			getImgUrl(res) {
 				console.log(res)
 				console.log('------------res1-----------')
-				this.travels = res
-				this.addressUrl[0] = res
+				this.travels = res.data.appendixPath
+				this.addressUrl[0] = res.data.appendixPath
 				this.certificates = false
 
 			},
 			getImgUrl1(res) {
 				console.log(res)
 				console.log('------------res2-----------')
-				this.drives = res
-				this.addressUrl[1] = res
+				this.drives = res.data.appendixPath
+				this.addressUrl[1] = res.data.appendixPath
 				this.certificatesTwo = false
 			
 			},
 			getImgUrl2(res) {
 				console.log(res)
 				console.log('------------res3-----------')
-				this.practices = res
-				this.addressUrl[2] = res
+				this.practices = res.data.appendixPath
+				this.addressUrl[2] = res.data.appendixPath
 				this.certificatesThree = false
 				
 			
@@ -162,8 +162,8 @@
 				console.log(res)
 				console.log('------------res4-----------')
 				
-				this.operates =res
-				this.addressUrl[3] =res
+				this.operates =res.data.appendixPath
+				this.addressUrl[3] =res.data.appendixPath
 				this.certificatesFour = false
 			
 			},