|
@@ -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 { |
|
|