南昌市物联网技防平台-前端
zengh
2021-03-24 33c4e059eeb71de6f186bc4ee22e05bfd3bd5aeb
问题修复
1 files modified
25 ■■■■■ changed files
src/views/system/user.vue 25 ●●●●● patch | view | raw | blame | history
src/views/system/user.vue
@@ -90,6 +90,20 @@
                    slot="userTypeName">
            <el-tag>{{row.userTypeName}}</el-tag>
          </template>
          <template slot-scope="{ row }" slot="online_status">
            <el-tag
            >{{
              row.online_status == "0" ? "掉线" : row.online_status == "1" ? "在线" : "掉线"
              }}
            </el-tag>
          </template>
          <template slot-scope="{ row }" slot="work_status">
            <el-tag
            >{{
              row.work_status == "0" ? "闲置" : row.work_status == "1" ? "工作中" : "闲置"
              }}
            </el-tag>
          </template>
        </avue-crud>
        <el-dialog title="用户角色配置"
                   append-to-body
@@ -295,11 +309,22 @@
              slot: true,
              display: false
            },
            {
              label: "用户平台",
              prop: "userTypeName",
              slot: true,
              display: false
            }, {
              label: "在线状态",
              prop: "online_status",
              slot: true,
              display: false
            }, {
              label: "工作状态",
              prop: "work_status",
              slot: true,
              display: false
            },
            {
              label: "用户平台",