gjy 2 年 前
コミット
636f4afc86

+ 4 - 4
config/index.js

@@ -3,13 +3,13 @@ const dev = {
 	// baseUrl: 'http://localhost:8080/',
 	// baseUrlNew: 'http://192.168.110.67:9100/',
 	// baseUrlNew: 'http://192.168.1.118:8090/',
-	baseUrlNew: 'http://192.168.110.55:9100/',
+	// baseUrlNew: 'http://192.168.110.55:9100/',
 	// baseUrlNew: 'http://192.168.110.138:8090/',
 	// baseUrlNew: 'http://192.168.110.82:8099/',
-	// baseUrlNew: 'http://192.168.110.202:8090/',
-	baseUrlNew: 'http://192.168.110.138:8090/',
+	// // baseUrlNew: 'http://192.168.110.202:8090/',
+	// baseUrlNew: 'http://192.168.110.138:8090/',
 	// 上传图片的
-	// baseUrlNew: 'https://api2.eliangeyun.com/',
+	baseUrlNew: 'https://api2.eliangeyun.com/',
 	h5Appid: 'wxb66b599f7f61b46f',
 	debug: false
 }

+ 4 - 2
pages/reimbursement/request_funds.vue

@@ -175,7 +175,9 @@
 						uni.uploadFile({
 							url: baseUrlNew + 'appendix/api/uploadFiles',
 							// url: baseUrlNew+'appendix/api/uploadFiles', //仅为示例,非真实的接口地址
-							files: a,
+							// files: a,
+							filePath: chooseImageRes.tempFilePaths[0],
+							uri : chooseImageRes.tempFilePaths[0],
 							formData: {
 								fileName: chooseImageRes.tempFiles[0],
 								companyId: "2710b21efc1e4393930c5dc800010dc4",
@@ -183,7 +185,7 @@
 								vesselId: '',
 							},
 							success: (uploadFileRes) => {
-								console.log(JSON.parse(uploadFileRes.data))
+								console.log(uploadFileRes.data,11111111111)
 								var data = JSON.parse(uploadFileRes.data).data
 								this.$api.doRequest('post', '/appendix/api/saveFiles', {
 									newAppendixs: [data],

+ 1 - 1
pages/task/audit/freight_settlement_approval.vue

@@ -189,7 +189,7 @@
 			// 驳回
 			rejectSubmit() {
 				var that = this
-				if (!this.rejectInfo) {
+				if (!this.auditMind) {
 					this.$api.msg('驳回原因不能为空!')
 				} else {
 					this.show = false