Browse Source

修改搜索

jwyu 3 years ago
parent
commit
32b772c376
2 changed files with 6 additions and 5 deletions
  1. 2 1
      pages-approve/contract/search.vue
  2. 4 4
      pages-approve/search/result.vue

+ 2 - 1
pages-approve/contract/search.vue

@@ -78,7 +78,8 @@
 			async getList() {
 				const res=await apiContractSearchV2({
 					CurrentIndex:this.page,
-					Keyword:this.keyword
+					// Keyword:this.keyword
+					KeywordEq:this.keyword
 				})
 				if(res.code===200){
 					if(res.data.Paging.IsEnd){

+ 4 - 4
pages-approve/search/result.vue

@@ -20,7 +20,7 @@
 
 <script>
 	import {apiCustomeList} from '@/api/approve/custome.js'
-	import {apiSealList} from '@/api/approve/seal.js'
+	import {apiSealApproveList} from '@/api/approve/seal.js'
 	import approveListItem from '../components/approveListItem.vue'
 	export default{
 		components: {
@@ -64,7 +64,7 @@
 				const res=await apiCustomeList({
 					CurrentIndex:this.page,
 					Status:'',
-					Keyword:this.keyword
+					KeywordEq:this.keyword
 				})
 				if(res.code===200){
 					if(!res.data.List||res.data.List.length===0){
@@ -110,10 +110,10 @@
 		
 			//获取用印数据
 			async getSealList(){
-				const res=await apiSealList({
+				const res=await apiSealApproveList({
 					CurrentIndex:this.page,
 					Status:'',
-					Keyword:this.keyword
+					KeywordEq:this.keyword
 				})
 				if(res.code===200){
 					if(!res.data.List||res.data.List.length===0){