前台-申购车-搜索功能

This commit is contained in:
gaoyuanwei 2022-07-20 10:53:02 +08:00
parent 70fb082506
commit f3e32e9698
1 changed files with 3 additions and 0 deletions

View File

@ -468,6 +468,7 @@
} }
// //
const getList = (type, index) => { const getList = (type, index) => {
console.log(type, index)
if (type == 'init') { if (type == 'init') {
pageNum.value = 1 pageNum.value = 1
pageSize.value = 99999 pageSize.value = 99999
@ -535,11 +536,13 @@
} }
// deptid // deptid
const getListByDeptId = (item) => { const getListByDeptId = (item) => {
console.log(item, 'item')
if (item.children.length == 0) { if (item.children.length == 0) {
selectResourceListByDept({ selectResourceListByDept({
pageNum: item.pageNum, pageNum: item.pageNum,
pageSize: item.pageSize, pageSize: item.pageSize,
deptId: item.deptId, deptId: item.deptId,
name: name.value,
}).then((res) => { }).then((res) => {
// console.log( // console.log(
// '=============>', // '=============>',