Browse Source

添加全部

master
suyanyan 2 months ago
parent
commit
cbd91fcc86
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      SafeCampus.WEB/src/views/userManage/clothing/index.vue

+ 5
- 2
SafeCampus.WEB/src/views/userManage/clothing/index.vue View File

@@ -10,7 +10,7 @@
label="clothSetName" label="clothSetName"
id="clothSetId" id="clothSetId"
width="300px" width="300px"
:show-all="false"
:show-all="true"
:request-api="userManageClothApi.getList" :request-api="userManageClothApi.getList"
@change="changeTreeFilter" @change="changeTreeFilter"
> >
@@ -171,13 +171,16 @@ function changeTreeFilter(val: number | string) {
} }
// 获取列表 // 获取列表
const getList = (clothSetId:any)=>{ const getList = (clothSetId:any)=>{
if(!clothSetId) return false
// if(!clothSetId) return false
userManageClothApi.page({clothSetId:clothSetId}).then((resp:any)=>{ userManageClothApi.page({clothSetId:clothSetId}).then((resp:any)=>{
if(resp.code == 200){ if(resp.code == 200){
tableData.value = resp.data tableData.value = resp.data
} }
}) })
} }
onMounted(() => {
getList(clothSetId.value)
})
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.table-box { .table-box {


Loading…
Cancel
Save