Browse Source

版本更新:v3.5.0

master
xsx 11 months ago
parent
commit
03c1e4a005
  1. 2
      README.md
  2. 9
      im-admin-ui/src/views/im/group/index.vue

2
README.md

@ -47,7 +47,7 @@ java -jar ./ruoyi-admin/target/im-admin.jar
npm install
npm run dev
```
访问 http://localhost:3000
访问 http://localhost:3000, 默认管理员账号: admin/admin123
#### 界面截图:
![输入图片说明](%E6%88%AA%E5%9B%BE/1.jpg)

9
im-admin-ui/src/views/im/group/index.vue

@ -32,7 +32,8 @@
<el-table-column label="群名" align="center" prop="name" />
<el-table-column label="群头像" align="center" prop="headImage" width="100">
<template #default="scope">
<image-preview v-if="scope.row.headImageThumb" :src="scope.row.headImageThumb" :full-src="scope.row.headImage" :width="40" :height="40" />
<image-preview v-if="scope.row.headImageThumb" :src="scope.row.headImageThumb"
:full-src="scope.row.headImage" :width="40" :height="40" />
</template>
</el-table-column>
<el-table-column label="群主" align="center" prop="ownerUserName" />
@ -56,8 +57,10 @@
<template #default="scope">
<el-button link type="primary" v-hasPermi="['im:group:query']"
@click="handleDetail(scope.row)">详情</el-button>
<el-button v-if="scope.row.isBanned" link type="danger" v-hasPermi="['im:group:ban']" @click="handleUnban(scope.row)">解封</el-button>
<el-button v-else link type="danger" v-hasPermi="['im:group:ban']" @click="handleBan(scope.row)">封禁</el-button>
<el-button v-if="scope.row.isBanned" link type="danger" v-hasPermi="['im:group:ban']"
@click="handleUnban(scope.row)">解封</el-button>
<el-button v-else link type="danger" v-hasPermi="['im:group:ban']"
@click="handleBan(scope.row)">封禁</el-button>
<el-button link type="primary" @click="handleShowMember(scope.row.id)">查看成员</el-button>
</template>
</el-table-column>

Loading…
Cancel
Save