| | |
| | | /> |
| | | <el-input |
| | | class="numInput" |
| | | v-model="listData.num" |
| | | v-model="listData.pageIndex" |
| | | /> |
| | | <el-button |
| | | size="small" |
| | |
| | | defineProps, |
| | | defineEmits, |
| | | } from "vue"; |
| | | import { |
| | | Search, |
| | | DArrowLeft, |
| | | ArrowLeft, |
| | | ArrowRight, |
| | | DArrowRight, |
| | | } from "@element-plus/icons-vue"; |
| | | |
| | | import { dataQuery_selectByPage } from "@/api/api.js"; |
| | | let searchValue = ref(""); |
| | | |
| | | const activeNames = ref(["1"]); |
| | | const listData = ref({ |
| | | count: 0, |
| | | page: 0, |
| | | num: 1, |
| | | pageIndex: 1, |
| | | pageSize: 10, |
| | | }); |
| | | const NumhandleChange = (value: number) => { |
| | | console.log(value); |
| | |
| | | |
| | | searchValue.value = ""; |
| | | }; |
| | | const setSearchClick = () => { |
| | | const setSearchClick = async () => { |
| | | if (!searchValue) return; |
| | | |
| | | var obj = { |
| | | filter: "name like '" + searchValue.value + "'", |
| | | pageIndex: listData.value.pageIndex, |
| | | pageSize: listData.value.pageSize, |
| | | }; |
| | | const data = await dataQuery_selectByPage(obj); |
| | | debugger; |
| | | searchFLag.value = true; |
| | | }; |
| | | const searchFLag = ref(false); |