zhangyuewww 3 éve
szülő
commit
2611fe1434
2 módosított fájl, 10 hozzáadás és 2 törlés
  1. 5 1
      pageA/product/lookup.vue
  2. 5 1
      pages/grain_pulse/search.vue

+ 5 - 1
pageA/product/lookup.vue

@@ -211,6 +211,7 @@
 					this.isShowKeywordList = true
 					this.$api.doRequest('post', '/searchRecordsInfo/api/addInfo', {
 							commonId: this.userInfo.id,
+							functionType:"1",
 							searchContent: this.searchKeyWord
 						}).then(res => {})
 						.catch(res => {
@@ -266,6 +267,7 @@
 				this.$api.doRequest('get', '/searchRecordsInfo/selectRecommendedSearchRecordsInfo', {
 						pageSize: this.pageSize,
 						currentPage: this.currentPage,
+						functionType:"1",
 						commonId: this.userInfo.id
 					}).then(res => {
 						uni.hideLoading()
@@ -339,6 +341,7 @@
 				this.$api.doRequest('get', '/searchRecordsInfo/selectSearchRecordsInfo', {
 					pageSize: this.pageSize,
 					currentPage: this.currentPage,
+					functionType:"1",
 					commonId: this.userInfo.id
 				}).then(res => {
 					uni.hideLoading()
@@ -393,7 +396,8 @@
 					success: (res) => {
 						if (res.confirm) {
 							this.$api.doRequest('post', '/searchRecordsInfo/api/deleteSearchRecordsInfo', {
-									commonId: this.userInfo.id
+									commonId: this.userInfo.id,
+									functionType:"1",
 								}).then(res => {
 									if (res.data.code == 200) {
 										uni.showToast({

+ 5 - 1
pages/grain_pulse/search.vue

@@ -189,6 +189,7 @@
 					this.isShowKeywordList = true
 					this.$api.doRequest('post', '/searchRecordsInfo/api/addInfo', {
 							commonId: this.userInfo.id,
+							functionType:"2",
 							searchContent: this.searchKeyWord
 						}).then(res => {})
 						.catch(res => {
@@ -244,6 +245,7 @@
 				this.$api.doRequest('get', '/searchRecordsInfo/selectRecommendedSearchRecordsInfo', {
 						pageSize: this.pageSize,
 						currentPage: this.currentPage,
+						functionType:"2",
 						commonId: this.userInfo.id
 					}).then(res => {
 						uni.hideLoading()
@@ -317,6 +319,7 @@
 				this.$api.doRequest('get', '/searchRecordsInfo/selectSearchRecordsInfo', {
 					pageSize: this.pageSize,
 					currentPage: this.currentPage,
+					functionType:"2",
 					commonId: this.userInfo.id
 				}).then(res => {
 					uni.hideLoading()
@@ -371,7 +374,8 @@
 					success: (res) => {
 						if (res.confirm) {
 							this.$api.doRequest('post', '/searchRecordsInfo/api/deleteSearchRecordsInfo', {
-									commonId: this.userInfo.id
+									commonId: this.userInfo.id,
+									functionType:"2",
 								}).then(res => {
 									if (res.data.code == 200) {
 										uni.showToast({