| | |
| | | <template> |
| | | <div class="p-h-8"> |
| | | <FYTable @search="onSearch" :row-class-name="tableRowClassName"> |
| | | <template #options> |
| | | <FYOptionLocation |
| | |
| | | <el-table-column fixed="right" align="right" label="操作" width="190"> |
| | | <template #header> |
| | | <el-button icon="DocumentAdd" size="default" type="success" @click="drawer = true" |
| | | >新增用户</el-button |
| | | >新增店铺</el-button |
| | | > |
| | | </template> |
| | | <template #default="{ row }"> |
| | |
| | | </el-table-column> |
| | | </template> |
| | | </FYTable> |
| | | </div> |
| | | <CompUserInfoAddDrawer v-model="drawer"></CompUserInfoAddDrawer> |
| | | </template> |
| | | |
| | |
| | | return row.userInfo.isenable ? 'online-row' : 'offline-row' |
| | | }, |
| | | handleCommand(e) { |
| | | const userId = e.p.userInfo.guid |
| | | const { guid: userId, realname: userName } = e.p.userInfo |
| | | switch (e.c) { |
| | | // 下载环信码 |
| | | case 1: |
| | | e.p.downloadLoading = true |
| | | creditApi.downloadCode(userId).finally(() => { |
| | | creditApi.downloadCode(userId, userName).finally(() => { |
| | | e.p.downloadLoading = false |
| | | }) |
| | | break |