Procházet zdrojové kódy

修改上传视频时间时间长度

zhanghongrui před 6 měsíci
rodič
revize
c90b56d356

+ 1 - 1
pages/DailyLog/daily_log.vue

@@ -296,7 +296,7 @@
 					let _this = this;
 					uni.chooseVideo({
 						sourceType: ['album', 'camera'],
-						maxDuration: 30,
+						maxDuration: 60,
 						success(resp) {
 							const task = uni.uploadFile({
 								url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/TopPipeWork/TopPipeWork.vue

@@ -501,7 +501,7 @@
 				let _this = this;
 				uni.chooseVideo({
 					sourceType: ['album', 'camera'],
-					maxDuration: 30,
+					maxDuration: 60,
 					success(resp) {
 						const task = uni.uploadFile({
 							url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/collision/collisionMouth.vue

@@ -367,7 +367,7 @@
 					let _this = this;
 					uni.chooseVideo({
 						sourceType: ['album', 'camera'],
-						maxDuration: 30,
+						maxDuration: 60,
 						success(resp) {
 							const task = uni.uploadFile({
 								url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/dangerous/dangerous.vue

@@ -654,7 +654,7 @@
 				let _this = this;
 				uni.chooseVideo({
 					sourceType: ['album', 'camera'],
-					maxDuration: 30,
+					maxDuration: 60,
 					success(resp) {
 						const task = uni.uploadFile({
 							url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/enginproject/enginproject.vue

@@ -1027,7 +1027,7 @@
 					let _this = this;
 					uni.chooseVideo({
 						sourceType: ['album', 'camera'],
-						maxDuration: 30,
+						maxDuration: 60,
 						success(resp) {
 							const task = uni.uploadFile({
 								url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/gas_sealing_project/gas_sealing_project.vue

@@ -865,7 +865,7 @@
 				let _this = this;
 				uni.chooseVideo({
 					sourceType: ['album', 'camera'],
-					maxDuration: 30,
+					maxDuration: 60,
 					success(resp) {
 						const task = uni.uploadFile({
 							url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/infrastructure/infrastructure.vue

@@ -501,7 +501,7 @@
 				let _this = this;
 				uni.chooseVideo({
 					sourceType: ['album', 'camera'],
-					maxDuration: 30,
+					maxDuration: 60,
 					success(resp) {
 						const task = uni.uploadFile({
 							url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/municipal/municipal.vue

@@ -875,7 +875,7 @@
 					let _this = this;
 					uni.chooseVideo({
 						sourceType: ['album', 'camera'],
-						maxDuration: 30,
+						maxDuration: 60,
 						success(resp) {
 							const task = uni.uploadFile({
 								url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/oldrenovation/courtyard/courtyard.vue

@@ -514,7 +514,7 @@
 					let _this = this;
 					uni.chooseVideo({
 						sourceType: this.objValue.enginType == `old_renovation` ? ['camera'] : ['album', 'camera'],
-						maxDuration: 30,
+						maxDuration: 60,
 						success(resp) {
 							const task = uni.uploadFile({
 								url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/oldrenovation/courtyard/newcourtyard.vue

@@ -739,7 +739,7 @@
 					let _this = this;
 					uni.chooseVideo({
 						sourceType: this.objValue.enginType == `old_renovation` ? ['camera'] : ['album', 'camera'],
-						maxDuration: 30,
+						maxDuration: 60,
 						success(resp) {
 							const task = uni.uploadFile({
 								url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/oldrenovation/indoor/indoor.vue

@@ -786,7 +786,7 @@
 					let _this = this;
 					uni.chooseVideo({
 						sourceType: this.objValue.enginType == `old_renovation` ? ['camera'] : ['album', 'camera'],
-						maxDuration: 30,
+						maxDuration: 60,
 						success(resp) {
 							const task = uni.uploadFile({
 								url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/oldrenovation/overhead/newoverhead.vue

@@ -452,7 +452,7 @@
 					let _this = this;
 					uni.chooseVideo({
 						sourceType: this.objValue.enginType == `old_renovation` ? ['camera'] : ['album', 'camera'],
-						maxDuration: 30,
+						maxDuration: 60,
 						success(resp) {
 							const task = uni.uploadFile({
 								url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/oldrenovation/overhead/overhead.vue

@@ -398,7 +398,7 @@
 					let _this = this;
 					uni.chooseVideo({
 						sourceType: this.objValue.enginType == `old_renovation` ? ['camera'] : ['album', 'camera'],
-						maxDuration: 30,
+						maxDuration: 60,
 						success(resp) {
 							const task = uni.uploadFile({
 								url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/open_bolt/open_bolt.vue

@@ -1236,7 +1236,7 @@
 					let _this = this;
 					uni.chooseVideo({
 						sourceType: ['album', 'camera'],
-						maxDuration: 30,
+						maxDuration: 60,
 						success(resp) {
 							const task = uni.uploadFile({
 								url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/pipe_jacking/pipe_jacking.vue

@@ -463,7 +463,7 @@
 					let _this = this;
 					uni.chooseVideo({
 						sourceType: ['album', 'camera'],
-						maxDuration: 30,
+						maxDuration: 60,
 						success(resp) {
 							const task = uni.uploadFile({
 								url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/statistics/historyDetailMunicipal.vue

@@ -628,7 +628,7 @@
 				let _this = this;
 				uni.chooseVideo({
 					sourceType: ['album', 'camera'],
-					maxDuration: 30,
+					maxDuration: 60,
 					success(resp) {
 						const task = uni.uploadFile({
 							url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/statistics/historyDetails.vue

@@ -362,7 +362,7 @@
 				let _this = this;
 				uni.chooseVideo({
 					sourceType: this.enginType == `old_renovation` ? ['camera'] : ['album', 'camera'],
-					maxDuration: 30,
+					maxDuration: 60,
 					success(resp) {
 						const task = uni.uploadFile({
 							url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/statistics/historyDetailsCourtyard.vue

@@ -963,7 +963,7 @@
 				let _this = this;
 				uni.chooseVideo({
 					sourceType: this.enginType == `old_renovation` ? ['camera'] : ['album', 'camera'],
-					maxDuration: 30,
+					maxDuration: 60,
 					success(resp) {
 						const task = uni.uploadFile({
 							url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/statistics/historyDetailsEnginproject.vue

@@ -867,7 +867,7 @@
 				let _this = this;
 				uni.chooseVideo({
 					sourceType: ['album', 'camera'],
-					maxDuration: 30,
+					maxDuration: 60,
 					success(resp) {
 						const task = uni.uploadFile({
 							url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/statistics/historyDetailsInfrastructure.vue

@@ -348,7 +348,7 @@
 				let _this = this;
 				uni.chooseVideo({
 					sourceType: ['album', 'camera'],
-					maxDuration: 30,
+					maxDuration: 60,
 					success(resp) {
 						const task = uni.uploadFile({
 							url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/statistics/historyDetailsMouth.vue

@@ -278,7 +278,7 @@
 				let _this = this;
 				uni.chooseVideo({
 					sourceType: ['album', 'camera'],
-					maxDuration: 30,
+					maxDuration: 60,
 					success(resp) {
 						const task = uni.uploadFile({
 							url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/statistics/historyDetailsTopTube.vue

@@ -306,7 +306,7 @@
 				let _this = this;
 				uni.chooseVideo({
 					sourceType: ['album', 'camera'],
-					maxDuration: 30,
+					maxDuration: 60,
 					success(resp) {
 						const task = uni.uploadFile({
 							url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/statistics/history_details_bottom_leg.vue

@@ -410,7 +410,7 @@
 				let _this = this;
 				uni.chooseVideo({
 					sourceType: ['album', 'camera'],
-					maxDuration: 30,
+					maxDuration: 60,
 					success(resp) {
 						const task = uni.uploadFile({
 							url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/statistics/history_gas_sealing.vue

@@ -883,7 +883,7 @@
 				let _this = this;
 				uni.chooseVideo({
 					sourceType: ['album', 'camera'],
-					maxDuration: 30,
+					maxDuration: 60,
 					success(resp) {
 						const task = uni.uploadFile({
 							url: _this.$HTTP + `/obs`,

+ 1 - 1
pages/surge_tank/surge_tank.vue

@@ -528,7 +528,7 @@
 					let _this = this;
 					uni.chooseVideo({
 						sourceType: ['album', 'camera'],
-						maxDuration: 30,
+						maxDuration: 60,
 						success(resp) {
 							const task = uni.uploadFile({
 								url: _this.$HTTP + `/obs`,