Kaynağa Gözat

Signed-off-by: zhaobao <528046418@qq.com>

zhaobao 10 ay önce
ebeveyn
işleme
4e23003128
2 değiştirilmiş dosya ile 11 ekleme ve 8 silme
  1. 6 4
      config/index.js
  2. 5 4
      pages/history/history.vue

+ 6 - 4
config/index.js

@@ -1,9 +1,11 @@
 export default {
     base: {
-      // dev: 'https://api.xazhyc.com',
-	   dev: 'http://36.137.171.123:7001',
-	   //dev: 'http://192.168.3.5:7001',
-	   pro: 'http://36.137.171.123:7001'
+		// dev: 'https://api.xazhyc.com',
+		// dev: 'http://36.137.171.123:7001',
+	   dev: 'http://124.114.202.110:32803',
+	   // pro: 'http://36.137.171.123:7001'
+	   	// pro: 'http://1.15.92.205:7001',	
+	    pro: "http://124.114.202.110:32803"//鼎丰		
     },
 	appID: '10007',
 	appKey: '82a8bf439373e311',

+ 5 - 4
pages/history/history.vue

@@ -163,12 +163,13 @@
 				if(this.tabIdx===1||this.tabIdx===3||this.tabIdx===4){
 					let checklistTypeId=undefined;
 					let enums={1:2,3:3,4:1}
-					getchecklistByPage({
+					let params={
 						...this.conditions,
 						targetType,
-						targetId,
-						checklistTypeId:enums[this.tabIdx]
-					}).then((res)=>{
+						targetId,						
+					}
+					if(this.tabIdx!==1){params.checklistTypeId=enums[this.tabIdx]}
+					getchecklistByPage(params).then((res)=>{
 						let items=JSON.parse(JSON.stringify(this.items))
 						this.items=items.concat(res.data)
 						this.total=res.total