Explorar el Código

添加全部

master
suyanyan hace 2 meses
padre
commit
cbd91fcc86
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. +5
    -2
      SafeCampus.WEB/src/views/userManage/clothing/index.vue

+ 5
- 2
SafeCampus.WEB/src/views/userManage/clothing/index.vue Ver fichero

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


Cargando…
Cancelar
Guardar