|
@@ -8,7 +8,7 @@
|
|
|
<div class="username">
|
|
|
<div class="users">
|
|
|
<span class="name">{{ item.username }}</span>
|
|
|
- <span class="tag">{{ formatJobType(item.clientType) }}</span>
|
|
|
+ <span class="tag">{{ formatJobType(item.jobType) }}</span>
|
|
|
</div>
|
|
|
<div class="userTime">
|
|
|
<span class="time">{{ item.createTime }}</span>
|
|
@@ -232,40 +232,6 @@ const ManageNotification = defineComponent({
|
|
|
return template[jobType];
|
|
|
};
|
|
|
|
|
|
- // 更新群资料
|
|
|
- // const updateProfile = async () => {
|
|
|
- // if (data.title && data.input) {
|
|
|
- // // ctx.emit("update", { key: "notification", value: data.input });
|
|
|
- // // data.groupProfile.notification = data.input;
|
|
|
- // // data.input = "";
|
|
|
- // try {
|
|
|
- // const params = {
|
|
|
- // clientType: "TEACHER",
|
|
|
- // groupId: data.groupProfile.groupID,
|
|
|
- // content: data.input,
|
|
|
- // title: data.title,
|
|
|
- // };
|
|
|
- // if (data.groupList.id) {
|
|
|
- // await imGroupNoticeUpdate({
|
|
|
- // ...params,
|
|
|
- // id: data.groupList.id,
|
|
|
- // });
|
|
|
- // } else {
|
|
|
- // await imGroupNoticeSave(params);
|
|
|
- // }
|
|
|
- // data.groupList.content = data.input;
|
|
|
- // ctx.emit("update", { key: "notification", value: data.title });
|
|
|
- // data.groupProfile.notification = data.title;
|
|
|
- // data.groupList.content = data.input;
|
|
|
- // data.groupList.title = data.title;
|
|
|
- // data.input = "";
|
|
|
- // getNotification();
|
|
|
- // } catch {
|
|
|
- // //
|
|
|
- // }
|
|
|
- // }
|
|
|
- // data.isEdit = !data.isEdit;
|
|
|
- // };
|
|
|
|
|
|
const onOperation = async (item: any, type: string, index?: number) => {
|
|
|
try {
|