@@ -1,6 +1,6 @@
-/* 根绝研究员id找类index */
+/* 根据研究员id找父类index */
export const findParentByid = (id,arr) => {
let obj = arr.find(item => item.ResearcherList.some( _ => _.AdminId === id));
// console.log(obj)
@@ -16,7 +16,7 @@ const SELLERLIST = ['ficc_seller', 'rai_seller', 'ficc_group', 'rai_group','sell
// admin
const ADMINLIST = ['admin'];
-/* 获取我的日历顶部tab */
+/* 根据角色获取我的日历顶部tab */
export const getTabsByRole = (role) => {
return RESEARCHLIST.includes(role)
? [
@@ -58,7 +58,6 @@ const getEventList = async () => {
/* 点击日历表格添加活动 */
const cellClickHandle = (date) => {
- // console.log(state.selectResearcher)
if (!state.selectResearcher) return Toast.fail('请先选择研究员');