|
|
|
@ -28,6 +28,7 @@ |
|
|
|
<script> |
|
|
|
import { ref } from 'vue' |
|
|
|
import {queryZqyjjdm} from '../../api/linkage' |
|
|
|
import {showToast, showSuccessToast} from "vant"; |
|
|
|
const { useCommon } = $globalStore |
|
|
|
export default { |
|
|
|
props: { |
|
|
|
@ -66,10 +67,17 @@ export default { |
|
|
|
this.$emit('close'); |
|
|
|
}, |
|
|
|
queryList(){ |
|
|
|
console.log(this.searchParam.searchValue.length) |
|
|
|
if (this.searchParam.searchValue.length <= 0) { |
|
|
|
showToast('因数据过多, 不支持无条件查询'); |
|
|
|
} else { |
|
|
|
queryZqyjjdm({'searchValue': this.searchParam.searchValue}, success => { |
|
|
|
console.log(success) |
|
|
|
this.dataList = success |
|
|
|
},error =>{}) |
|
|
|
}, error => { |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
cancel() { |
|
|
|
this.searchParam.searchValue = ''; |
|
|
|
|