1.单位管理区分(承包商和系统管理,条件为单位名称唯一)
2.用户管理区分(承包商和系统管理)
已修改4个文件
8 ■■■■ 文件已修改
src/views/contractor/unitManage/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/contractor/userManage/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/systemManage/unitManage/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/systemManage/userManage/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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
src/views/contractor/userManage/index.vue
@@ -667,6 +667,7 @@
                params['pageIndex'] = _this.currentPage
                params['pageSize'] = _this.pageSize
                params['type'] = _this.userType
                params['isMain'] = false
                for (const i in _this.queryForm) {
                    if (_this.queryForm[i] != undefined && _this.queryForm[i].toString() != '') {
                        params[i] = _this.queryForm[i]
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
src/views/systemManage/userManage/index.vue
@@ -747,6 +747,7 @@
                params['pageIndex'] = _this.currentPage
                params['pageSize'] = _this.pageSize
                params['type'] = _this.userType
                params['isMain'] = true
                for (const i in _this.queryForm) {
                    if (_this.queryForm[i] != undefined && _this.queryForm[i].toString() != '') {
                        params[i] = _this.queryForm[i]