Browse Source

fix:取消文件评论和我的任务

master
prr 7 months ago
parent
commit
c4545f7d6a
  1. 32
      frontend/src/components/builtin/FileList.vue
  2. 4
      frontend/src/components/chat/ChatWorkList.vue

32
frontend/src/components/builtin/FileList.vue

@ -479,22 +479,22 @@
}, },
}); });
} }
menuArr.push({ // menuArr.push({
label: "评论", // label: "",
click: () => { // click: () => {
const win = new BrowserWindow({ // const win = new BrowserWindow({
title: "评论", // title: "",
content: "CommentsFiles", // content: "CommentsFiles",
config: { // config: {
path: item.path, // path: item.path,
}, // },
width: 350, // width: 350,
height: 400, // height: 400,
center: true, // center: true,
}); // });
win.show(); // win.show();
}, // },
}); // });
} }
// eslint-disable-next-line prefer-spread // eslint-disable-next-line prefer-spread
menuArr.push.apply(menuArr, fileMenus); menuArr.push.apply(menuArr, fileMenus);

4
frontend/src/components/chat/ChatWorkList.vue

@ -19,10 +19,10 @@ const store = useChatStore()
<el-icon><DishDot /></el-icon> <el-icon><DishDot /></el-icon>
<span>我的任务</span> <span>我的任务</span>
</el-menu-item> </el-menu-item>
<el-menu-item index="4"> <!-- <el-menu-item index="4">
<el-icon><SuitcaseLine /></el-icon> <el-icon><SuitcaseLine /></el-icon>
<span>安排任务</span> <span>安排任务</span>
</el-menu-item> </el-menu-item> -->
<el-menu-item index="5"> <el-menu-item index="5">
<el-icon><Present /></el-icon> <el-icon><Present /></el-icon>
<span>我的审批</span> <span>我的审批</span>

Loading…
Cancel
Save