diff --git a/src/views/admin/system/user/index.vue b/src/views/admin/system/user/index.vue index a13a911..95d5620 100644 --- a/src/views/admin/system/user/index.vue +++ b/src/views/admin/system/user/index.vue @@ -212,7 +212,7 @@ const queryRef = ref() const showSearch = ref(true) const inputPassword = ref() const draggableDepTreeRef = ref() // 树组件ref引用 -const activeName = ref(null) +const activeName = ref("2") const tabItems = ref([{}]) const processDrawerRef = ref() @@ -228,6 +228,7 @@ const state: BasicTableProps = reactive({ username: "", phone: "", isDeepDept: false, + processStatus: "2", }, pageList: pageList, }) @@ -252,7 +253,6 @@ const handleGetSelectNode = (curClickedNode: any, checkedTreeNodes: any, isDeepT onMounted(async () => { const { data } = await getDicts("check_status") - data.unshift({ label: "全部", value: null }) tabItems.value = data }) diff --git a/src/views/admin/system/userFaceApprove/index.vue b/src/views/admin/system/userFaceApprove/index.vue index 2763992..3ee5a60 100644 --- a/src/views/admin/system/userFaceApprove/index.vue +++ b/src/views/admin/system/userFaceApprove/index.vue @@ -87,7 +87,7 @@ const { check_status } = useDict("check_status") const queryRef = ref() const showSearch = ref(true) const draggableDepTreeRef = ref() // 树组件ref引用 -const activeName = ref(null) +const activeName = ref("2") const tabItems = ref([{}]) const processDrawerRef = ref() const loading = ref() @@ -99,6 +99,7 @@ const state: BasicTableProps = reactive({ username: "", phone: "", isDeepDept: false, + processStatus: "2", }, pageList: getUserFaceList, }) @@ -123,7 +124,6 @@ const handleGetSelectNode = (curClickedNode: any, checkedTreeNodes: any, isDeepT onMounted(async () => { const { data } = await getDicts("check_status") - data.unshift({ label: "全部", value: null }) tabItems.value = data })