master
			
			
		
		
							parent
							
								
									84a44db965
								
							
						
					
					
						commit
						ef740fb1a1
					
				|  | @ -1,8 +1,8 @@ | ||||||
| // var host = "https://carbonneutral.bjfs.org.cn";//线上
 | var host = "https://carbonneutral.bjfs.org.cn";//线上
 | ||||||
| // var host = "https://carbon.my-footprint.cn";//线上域名2
 | // var host = "https://carbon.my-footprint.cn";//线上域名2
 | ||||||
| 
 | 
 | ||||||
| // var host = "https://tanzhonghe-admin.com";//本地
 | // var host = "https://tanzhonghe-admin.com";//本地
 | ||||||
| var host = "https://carbon.scdxtc.cn";//大向天诚服务器
 | // var host = "https://carbon.scdxtc.cn";//大向天诚服务器
 | ||||||
| var config = { | var config = { | ||||||
| 	host: host, | 	host: host, | ||||||
| 	appkey: '8c10f27733333fef726885b08ff9d858',//appkey 碳中和Y
 | 	appkey: '8c10f27733333fef726885b08ff9d858',//appkey 碳中和Y
 | ||||||
|  |  | ||||||
|  | @ -58,6 +58,15 @@ Page({ | ||||||
| 		} | 		} | ||||||
| 	}, | 	}, | ||||||
| 	casesChange(event) { | 	casesChange(event) { | ||||||
|  | 		if(this.data.threeList[event.detail.value].type=='forest_management'){ | ||||||
|  | 			this.setData({ | ||||||
|  | 				isXiangm:true | ||||||
|  | 			}) | ||||||
|  | 		} else { | ||||||
|  | 			this.setData({ | ||||||
|  | 				isXiangm:false | ||||||
|  | 			}) | ||||||
|  | 		} | ||||||
| 		this.setData({ | 		this.setData({ | ||||||
| 			curCaseIndex: event.detail.value, | 			curCaseIndex: event.detail.value, | ||||||
| 			isShif: false, | 			isShif: false, | ||||||
|  | @ -72,13 +81,11 @@ Page({ | ||||||
| 		}) | 		}) | ||||||
| 		if (event.detail.value == 1) { | 		if (event.detail.value == 1) { | ||||||
| 			this.setData({ | 			this.setData({ | ||||||
| 				isXiangm: true, |  | ||||||
| 				newDo_type: this.data.senList[this.data.senIndex].type, | 				newDo_type: this.data.senList[this.data.senIndex].type, | ||||||
| 				cases_position_id:this.data.threeList[this.data.curCaseIndex].address[0].id | 				cases_position_id:this.data.threeList[this.data.curCaseIndex].address[0].id | ||||||
| 			}) | 			}) | ||||||
| 		} else { | 		} else { | ||||||
| 			this.setData({ | 			this.setData({ | ||||||
| 				isXiangm: false, |  | ||||||
| 				newDo_type: this.data.threeList[this.data.curCaseIndex].type, | 				newDo_type: this.data.threeList[this.data.curCaseIndex].type, | ||||||
| 				cases_position_id:this.data.threeList[this.data.curCaseIndex].address[0].id | 				cases_position_id:this.data.threeList[this.data.curCaseIndex].address[0].id | ||||||
| 			}) | 			}) | ||||||
|  |  | ||||||
|  | @ -21,6 +21,7 @@ | ||||||
|     "checkSiteMap": true, |     "checkSiteMap": true, | ||||||
|     "uploadWithSourceMap": true, |     "uploadWithSourceMap": true, | ||||||
|     "compileHotReLoad": false, |     "compileHotReLoad": false, | ||||||
|  |     "lazyloadPlaceholderEnable": false, | ||||||
|     "useMultiFrameRuntime": true, |     "useMultiFrameRuntime": true, | ||||||
|     "useApiHook": true, |     "useApiHook": true, | ||||||
|     "useApiHostProcess": true, |     "useApiHostProcess": true, | ||||||
|  | @ -30,14 +31,12 @@ | ||||||
|       "outputPath": "" |       "outputPath": "" | ||||||
|     }, |     }, | ||||||
|     "enableEngineNative": false, |     "enableEngineNative": false, | ||||||
|     "bundle": false, |  | ||||||
|     "useIsolateContext": true, |     "useIsolateContext": true, | ||||||
|     "useCompilerModule": true, |  | ||||||
|     "userConfirmedUseCompilerModuleSwitch": false, |  | ||||||
|     "userConfirmedBundleSwitch": true, |     "userConfirmedBundleSwitch": true, | ||||||
|     "packNpmManually": false, |     "packNpmManually": false, | ||||||
|     "packNpmRelationList": [], |     "packNpmRelationList": [], | ||||||
|     "minifyWXSS": true |     "minifyWXSS": true, | ||||||
|  |     "showES6CompileOption": false | ||||||
|   }, |   }, | ||||||
|   "compileType": "miniprogram", |   "compileType": "miniprogram", | ||||||
|   "libVersion": "2.16.0", |   "libVersion": "2.16.0", | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue