更新密码找回uniapp

This commit is contained in:
hero920103 committed 2026-11-16 17:22:50 +08:00
1 parent 7f9a66da0f
commit 3fdda89833
1304 files changed
+3503 -26132

No files matched your search

-3
View File
@@ -91,7 +91,6 @@ import {
} from '@/api/contact.js'
import { isLoggedIn } from '@/utils/auth.js'
/** 顶部大类 tab:全部 / 内部 / 外部,索引与 contact_type 对应(0 表示不筛选) */
const TYPE_TABS = [{ name: '全部' }, { name: '内部' }, { name: '外部' }]
const TYPE_VALUES = [0, 1, 2]
@@ -117,7 +116,6 @@ onMounted(() => {
loadContacts(true)
})
/** 部门下拉选项:全部 + 有内部联系人的部门(带人数) */
const deptOptions = computed(() => {
const options = [{ label: '全部部门', value: 0 }]
orgs.value.forEach((org) => {
@@ -127,7 +125,6 @@ const deptOptions = computed(() => {
return options
})
/** 组织树拍平为部门列表,只保留有内部联系人的部门 */
function flattenOrgs(nodes, out) {
;(nodes || []).forEach((n) => {
if (Number(n.contact_count) > 0) {