wl
2022-11-24 e2ffe9683ef007a45afbcdd897985d64cdcc7391
src/views/systemSetting/device/grid/components/main/index.vue
@@ -22,8 +22,8 @@
                        <span>{{filterRole(scope.row.roles)}}</span>
                    </template>
                </el-table-column>
                <el-table-column prop="departName" label="所属部门" min-width="8">
                </el-table-column>
                <!-- <el-table-column prop="departName" label="所属部门" min-width="8">
                </el-table-column> -->
                <el-table-column prop="jobTitle" label="所属职务" min-width="8">
                </el-table-column>
                <el-table-column prop="createTime" label="创建时间" min-width="10">
@@ -40,7 +40,7 @@
                    </template>
                </el-table-column>
                <el-table-column prop="operation" label="操作" min-width="20">
                    <template slot-scope="scope">
                    <!-- <template slot-scope="scope">
                        <div class="operation">
                            <span @click="handleChangeRole(scope.row,'role')">修改角色</span>
                            <span class="line">|</span>
@@ -52,7 +52,7 @@
                            <span class="line">|</span>
                            <span @click="handleChangeRole(scope.row,'depart')">修改部门</span>
                        </div>
                    </template>
                    </template> -->
                </el-table-column>
            </el-table>
            <!-- 查看页面 -->
@@ -201,7 +201,6 @@
                                    message: res.message
                                })
                            }
                            console.log(res);
                        })
                })
                .catch(err => { console.log(err) })
@@ -228,7 +227,6 @@
                                    message: res.message
                                })
                            }
                            console.log(res);
                        })
                })
                .catch(err => { console.log(err) })
@@ -251,7 +249,6 @@
                    method: 'post',
                    url: 'sccg/admin/delete/' + id,
                }).then(res => {
                    console.log(res);
                    this.$message({
                        message: res.message,
                        type: 'success'
@@ -310,7 +307,6 @@
            let { id, status } = obj;
            status == true ? status = 1 : status = 0;
            this.$axios.post(`sccg/admin/updateStatus/` + id + '?status=' + status).then(res => {
                console.log(res);
            })
        },
        // 获取用户列表