|
@@ -78,7 +78,7 @@ let teamfields: Ref<any[]> = ref([
|
|
|
|
|
|
// 查询
|
|
|
const search = async (e) => {
|
|
|
- let user = store.state.user;
|
|
|
+ let user = store.state.user as { role_type: String; _id: String };
|
|
|
if (user && user.role_type != '1') {
|
|
|
if (e.unit_phone && e.unit_phone.is_show == false) e.unit_phone.phone = '暂未公开';
|
|
|
if (e.unit_email && e.unit_email.is_show == false) e.unit_email.email = '暂未公开';
|