南昌市物联网技防平台-前端
shuishen
2021-04-08 a4e06ccd3cd976fbe4eef99e188d42ec9f3ad054
src/views/system/user.vue
@@ -93,14 +93,7 @@
          <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" ? "工作中" : "闲置"
              row.online_status == "0" ? "离线" : row.online_status == "1" ? "在线" : "离线"
              }}
            </el-tag>
          </template>
@@ -320,10 +313,12 @@
              prop: "online_status",
              slot: true,
              display: false
            }, {
            },
            {
              label: "工作状态",
              prop: "work_status",
              slot: true,
              hide: true,
              display: false
            },
            {
@@ -889,7 +884,6 @@
        this.excelBox = true;
      },
      uploadAfter(res, done, loading, column) {
        window.console.log(column);
        this.excelBox = false;
        this.refreshChange();
        done();