餐饮油烟智能监测与监管一体化平台
riku
2026-03-17 45c217996d025d256fdd0ed5cb744750e68dd36d
src/views/inspection/scenenew/UserInfo.vue
@@ -1,4 +1,5 @@
<template>
  <div class="p-h-8">
  <FYTable @search="onSearch" :row-class-name="tableRowClassName">
    <template #options>
      <FYOptionLocation
@@ -50,7 +51,7 @@
      <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 }">
@@ -105,6 +106,7 @@
      </el-table-column>
    </template>
  </FYTable>
  </div>
  <CompUserInfoAddDrawer v-model="drawer"></CompUserInfoAddDrawer>
</template>
@@ -206,12 +208,12 @@
      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