src/views/systemManage/unitManage/index.vue
@@ -51,7 +51,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>-->
                    </template>
                </el-table-column>
            </el-table>
@@ -229,6 +229,7 @@
            params['pageIndex'] = this.currentPage
            params['pageSize'] = this.pageSize
            params['company'] = this.company
            params['isMain'] = true
            let res = await getUnitList(params)
            if(res.data.code === '200'){
                this.recordTotal = res.data.result.totalCount