@@ -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 { | ||||
@@ -56,11 +56,6 @@ | |||||
<s-input v-model="userInfo.phone"></s-input> | <s-input v-model="userInfo.phone"></s-input> | ||||
</s-form-item> | </s-form-item> | ||||
</el-col> | </el-col> | ||||
<el-col :span="12"> | |||||
<s-form-item label="扩展字段" prop="extData"> | |||||
<s-input v-model="userInfo.extData"></s-input> | |||||
</s-form-item> | |||||
</el-col> | |||||
</el-row> | </el-row> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -103,10 +103,6 @@ const columns: ColumnProps<SysUserPersonnel.SysUserPerInfo>[] = [ | |||||
prop: "age", | prop: "age", | ||||
label: "年龄" | label: "年龄" | ||||
}, | }, | ||||
{ | |||||
prop: "personSetName", | |||||
label: "所属班级", | |||||
}, | |||||
{ prop: "operation", label: "操作", width: 250, fixed: "right" } | { prop: "operation", label: "操作", width: 250, fixed: "right" } | ||||
]; | ]; | ||||
const viewHeadImage = (scope: any) => { | const viewHeadImage = (scope: any) => { | ||||
@@ -72,11 +72,6 @@ | |||||
<s-input v-model="userInfo.phone"></s-input> | <s-input v-model="userInfo.phone"></s-input> | ||||
</s-form-item> | </s-form-item> | ||||
</el-col> | </el-col> | ||||
<el-col :span="12"> | |||||
<s-form-item label="扩展字段" prop="extData"> | |||||
<s-input v-model="userInfo.extData"></s-input> | |||||
</s-form-item> | |||||
</el-col> | |||||
</el-row> | </el-row> | ||||
</div> | </div> | ||||
</div> | </div> | ||||