...
|
...
|
@@ -57,35 +57,6 @@ |
|
|
</el-pagination>
|
|
|
</el-col>
|
|
|
|
|
|
<!--编辑界面-->
|
|
|
<!-- <el-dialog title="编辑" :visible.sync="editFormVisible" :close-on-click-modal="false">-->
|
|
|
<!-- <el-form :model="editForm" label-width="80px" :rules="editFormRules" ref="editForm">-->
|
|
|
<!-- <el-form-item label="ID">-->
|
|
|
<!-- <span>{{editForm.roleId}}</span>-->
|
|
|
<!-- </el-form-item>-->
|
|
|
<!-- <el-form-item label="组织机构名称">-->
|
|
|
<!-- <el-input v-model="editForm.roleName" auto-complete="off" placeholder="请输入岗位/角色名称:例如:ROLE_name"></el-input>-->
|
|
|
<!-- </el-form-item>-->
|
|
|
<!-- <el-form-item label="组织机构描述">-->
|
|
|
<!-- <el-input v-model="editForm.description" auto-complete="off" placeholder="请输入岗位/角色描述:例如:用户管理员"></el-input>-->
|
|
|
<!-- </el-form-item>-->
|
|
|
<!-- <el-form-item label="组织机构类型">-->
|
|
|
<!-- <el-select v-model="editForm.departmentId" placeholder="请选择">-->
|
|
|
<!-- <el-option-->
|
|
|
<!-- v-for="item in departmentNameList"-->
|
|
|
<!-- :key="item.departmentId"-->
|
|
|
<!-- :label="item.departmentName"-->
|
|
|
<!-- :value="item.departmentId">-->
|
|
|
<!-- </el-option>-->
|
|
|
<!-- </el-select>-->
|
|
|
<!-- </el-form-item>-->
|
|
|
<!-- </el-form>-->
|
|
|
<!-- <div slot="footer" class="dialog-footer">-->
|
|
|
<!-- <el-button @click.native="editFormVisible = false">取消</el-button>-->
|
|
|
<!-- <el-button type="primary" @click.native="editSubmit" :loading="editLoading">提交</el-button>-->
|
|
|
<!-- </div>-->
|
|
|
<!-- </el-dialog>-->
|
|
|
|
|
|
<!--新增界面-->
|
|
|
<el-dialog :title="dialogMap[dialogStatus]" :visible.sync="addFormVisible" :close-on-click-modal="false">
|
|
|
<el-form :model="addForm" label-width="120px" :rules="addFormRules" ref="addForm">
|
...
|
...
|
@@ -182,22 +153,6 @@ |
|
|
pageSize: 5,
|
|
|
listLoading: false,
|
|
|
sels: [],//列表选中列
|
|
|
//编辑界面是否显示
|
|
|
editFormVisible: false,
|
|
|
editLoading: false,
|
|
|
editFormRules: {
|
|
|
roleName: [
|
|
|
{ required: true, message: '请输入岗位/角色名称', trigger: 'blur' }
|
|
|
]
|
|
|
},
|
|
|
//编辑界面数据
|
|
|
editForm: {
|
|
|
roleId: 1,
|
|
|
description: '',
|
|
|
roleName: '',
|
|
|
roleSign: 1,
|
|
|
departmentId:''
|
|
|
},
|
|
|
dialogMap: {
|
|
|
update: '编辑',
|
|
|
create: '新增',
|
...
|
...
|
|