Browse Source

init

newStyle
lancer 3 years ago
parent
commit
719ebc9db1
2 changed files with 17 additions and 7 deletions
  1. +2
    -2
      src/views/admin/role/index.vue
  2. +15
    -5
      src/views/admin/user/index.vue

+ 2
- 2
src/views/admin/role/index.vue View File

@@ -102,8 +102,8 @@
</el-form-item>
<el-form-item label="状态" prop="lockFlag">
<el-select v-model="searchMsg.lockFlag" placeholder="请选择">
<el-option label="有效" :value="0"></el-option>
<el-option label="无效" :value="1"></el-option>
<el-option label="启用" :value="0"></el-option>
<el-option label="禁用" :value="1"></el-option>
</el-select>
</el-form-item>
<el-form-item>


+ 15
- 5
src/views/admin/user/index.vue View File

@@ -119,14 +119,15 @@
</el-select>
</el-input>
</el-form-item>
<el-form-item label="组织类型" prop="queryOrgType">
<el-form-item label="组织类型" v-if="losorgType==2" prop="queryOrgType">
<el-select
v-model="searchMsg1.queryOrgType"
@change="queryOrgTypeChange"
clearable
placeholder="请选择"
>
<el-option label="平台用户" value="0"></el-option>
<el-option label="代理商用户" value="1"></el-option>
<!-- <el-option label="平台用户" value="0"></el-option> -->
<!-- <el-option label="代理商用户" value="1"></el-option> -->
<el-option label="公司用户" value="2"></el-option>
<el-option label="楼盘用户" value="3"></el-option>
</el-select>
@@ -1253,9 +1254,9 @@ export default {
// this.userDeptTree()// 获取部门树
this.deptGetOrgList(); //获取公司列表
this.getAgentList(); //获取代理商列表
this.userDict(
this.userDict(
{
dictKey: localStorage.getItem("orgType"),
dictKey: localStorage.getItem('orgType'),
dictType: 3,
},
"userRoleList"
@@ -1983,6 +1984,15 @@ export default {
this.passwordForm.userId = row.userId;
this.passwordVisible = true;
},
queryOrgTypeChange(e){
this.userDict(
{
dictKey: e,
dictType: 3,
},
"userRoleList"
);
},
editpwd() {
// console.log(this.passwordForm);
// return


Loading…
Cancel
Save