| | |
| | | v-for="dict in dict.type.sys_professionaltitle" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | :value="dict.label" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | |
| | | this.getUserProfile(); |
| | | this.getUnitList(); |
| | | // 默认不打开 |
| | | // this.getList(); |
| | | this.getList(); |
| | | }, |
| | | methods: { |
| | | //获取当前用户信息 |
| | |
| | | getUserProfile().then(res => { |
| | | if ( |
| | | res.data.userName == "admin" || |
| | | res.data.userName == "001" || |
| | | res.data.userName == "053" || |
| | | res.data.userName == "047" |
| | | ) { |
| | | this.ismanager = true; |
| | |
| | | |
| | | /** 查询单位、人员账号列表 */ |
| | | getList() { |
| | | if ( |
| | | this.queryParams.username === null || |
| | | this.queryParams.username.replace(/\s/g, "") == "" |
| | | ) { |
| | | this.$modal.msgWarning( |
| | | "查找账户时,账户名称不能为空,请输入账户名称!" |
| | | ); |
| | | return; |
| | | } |
| | | // if ( |
| | | // this.queryParams.username === null || |
| | | // this.queryParams.username.replace(/\s/g, "") == "" |
| | | // ) { |
| | | // this.$modal.msgWarning( |
| | | // "查找账户时,账户名称不能为空,请输入账户名称!" |
| | | // ); |
| | | // return; |
| | | // } |
| | | |
| | | // this.loading = true; |
| | | listExternalperson(this.queryParams).then(response => { |