src/views/contractor/unitManage/index.vue
@@ -56,7 +56,7 @@
                <el-table-column label="操作" align="center" width="280" class-name="small-padding fixed-width">
                    <template slot-scope="scope">
                        <el-button type="text" @click="showUnitForm(scope.row,'编辑')">编辑</el-button>
                        <el-button type="text" style="color: red" @click="deleteById(scope.row)">删除</el-button>
<!--                        <el-button type="text" style="color: red" @click="deleteById(scope.row)">删除</el-button>-->
                        <el-button type="text" style="color: red" @click="addBlack(scope.row)">黑名单</el-button>
                    </template>
                </el-table-column>
@@ -243,6 +243,7 @@
                params['pageIndex'] = this.currentPage
                params['pageSize'] = this.pageSize
                params['company'] = this.company
                params['isMain'] = false
                let res = await getUnitList(params)
                if(res.data.code === '200'){
                    this.recordTotal = res.data.result.totalCount