Source/plt-web/plt-web-ui/src/views/system/role/index.vue
@@ -55,12 +55,13 @@
        <div>
          <el-tag>当前角色总人数: {{this.countData.length}}</el-tag>
        </div>
        <el-button size="small" @click="statisticsVisible = false" icon="el-icon-close" type="danger">关 闭</el-button>
        <el-button icon="el-icon-close" size="small" type="danger" @click="statisticsVisible = false">关 闭</el-button>
      </div>
    </el-dialog>
    <!-- 导入角色  -->
    <upload-file ref="upload" :tipList="tipList" :fileType="upFileType" :fileUrl="fileUrl" @updata="getTableList" title="导入角色"></upload-file>
    <upload-file ref="upload" :fileType="upFileType" :fileUrl="fileUrl" :tipList="tipList" title="导入角色"
                 @updata="getTableList"></upload-file>
  </basic-container>
</template>
@@ -77,6 +78,7 @@
} from '@/api/system/role/api'
import basicOption from "@/util/basic-option";
import {column} from "@/views/system/role/option";
import func from "@/util/func";
export default {
  name: "index",
@@ -174,7 +176,13 @@
    // 行单选
    rowClickHandler(row) {
      this.$refs.roleCrud.toggleRowSelection(row);
      func.rowClickHandler(
        row,
        this.$refs.roleCrud,
        this.lastIndex,
        (newIndex) => { this.lastIndex = newIndex; },
        () => { this.selectList = []; }
      );
    },
    // 添加