|
|
|
@ -39,10 +39,16 @@ |
|
|
|
|
<a-input class="fix-auto-fill" type="text" :placeholder="t('请输法人身份证号')" v-model:value="formData.idNo" /> |
|
|
|
|
</div> |
|
|
|
|
</a-form-item> |
|
|
|
|
<a-form-item> |
|
|
|
|
<!-- <a-form-item> |
|
|
|
|
<div class="aui-input-line"> |
|
|
|
|
<JSelectDept4FaRen :placeholder="t('sys.login.selectorgPlaceholder4Kejiju')" v-model:value="formData.department" :multiple="false" /> |
|
|
|
|
</div> |
|
|
|
|
</a-form-item>--> |
|
|
|
|
<a-form-item> |
|
|
|
|
<div class="aui-input-line"> |
|
|
|
|
<j-search-select :placeholder="t('sys.login.selectorgPlaceholder4Kejiju')" v-model:value="formData.department" :dictOptions="dictOptions" /> |
|
|
|
|
{{ selectValue }} |
|
|
|
|
</div> |
|
|
|
|
</a-form-item> |
|
|
|
|
<a-form-item> |
|
|
|
|
<div class="aui-input-line"> |
|
|
|
@ -118,7 +124,7 @@ |
|
|
|
|
<script lang="ts" setup name="mini-register"> |
|
|
|
|
|
|
|
|
|
import { ref, reactive, unref, toRaw,onMounted } from 'vue'; |
|
|
|
|
import { getCaptcha, registerFaren, getCodeInfo } from '/@/api/sys/user'; |
|
|
|
|
import {getCaptcha, registerFaren, getCodeInfo, departList4Quxian} from '/@/api/sys/user'; |
|
|
|
|
import { SmsEnum } from '/@/views/sys/login/useLogin'; |
|
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
|
import logoImg from '/@/assets/loginmini/icon/jeecg_logo.png'; |
|
|
|
@ -129,7 +135,7 @@ |
|
|
|
|
import JSelectDept4FaRen from '/@/components/Form/src/jeecg/components/JSelectDept4FaRen.vue'; |
|
|
|
|
import { useI18n } from '/@/hooks/web/useI18n'; |
|
|
|
|
import codeImg from '/@/assets/images/checkcode.png'; |
|
|
|
|
|
|
|
|
|
import JSearchSelect from '/@/components/Form/src/jeecg/components/JSearchSelect.vue'; |
|
|
|
|
const { t } = useI18n(); |
|
|
|
|
const { notification, createErrorModal, createMessage } = useMessage(); |
|
|
|
|
const emit = defineEmits(['go-back', 'success', 'register']); |
|
|
|
@ -157,6 +163,21 @@ |
|
|
|
|
const pwdIndex = ref<string>('close'); |
|
|
|
|
//确认密码眼睛打开关闭 |
|
|
|
|
const confirmPwdIndex = ref<string>('close'); |
|
|
|
|
const selectValue=ref(''); |
|
|
|
|
const dictOptions=ref([]); |
|
|
|
|
|
|
|
|
|
// 获取区县级别部门列表 |
|
|
|
|
function getDepartList4Quxian(){ |
|
|
|
|
departList4Quxian().then(res => { |
|
|
|
|
console.log(res,"res") |
|
|
|
|
dictOptions.value = res.map(item => { |
|
|
|
|
return {text:item.depName,value:item.depId} |
|
|
|
|
}) |
|
|
|
|
console.log(dictOptions.value,"dictOptions") |
|
|
|
|
|
|
|
|
|
})} |
|
|
|
|
|
|
|
|
|
getDepartList4Quxian(); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 返回 |
|
|
|
|