|
|
@ -39,10 +39,16 @@ |
|
|
|
<a-input class="fix-auto-fill" type="text" :placeholder="t('请输法人身份证号')" v-model:value="formData.idNo" /> |
|
|
|
<a-input class="fix-auto-fill" type="text" :placeholder="t('请输法人身份证号')" v-model:value="formData.idNo" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
<a-form-item> |
|
|
|
<!-- <a-form-item> |
|
|
|
<div class="aui-input-line"> |
|
|
|
<div class="aui-input-line"> |
|
|
|
<JSelectDept4FaRen :placeholder="t('sys.login.selectorgPlaceholder4Kejiju')" v-model:value="formData.department" :multiple="false" /> |
|
|
|
<JSelectDept4FaRen :placeholder="t('sys.login.selectorgPlaceholder4Kejiju')" v-model:value="formData.department" :multiple="false" /> |
|
|
|
</div> |
|
|
|
</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> |
|
|
|
<a-form-item> |
|
|
|
<a-form-item> |
|
|
|
<div class="aui-input-line"> |
|
|
|
<div class="aui-input-line"> |
|
|
@ -118,7 +124,7 @@ |
|
|
|
<script lang="ts" setup name="mini-register"> |
|
|
|
<script lang="ts" setup name="mini-register"> |
|
|
|
|
|
|
|
|
|
|
|
import { ref, reactive, unref, toRaw,onMounted } from 'vue'; |
|
|
|
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 { SmsEnum } from '/@/views/sys/login/useLogin'; |
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
import logoImg from '/@/assets/loginmini/icon/jeecg_logo.png'; |
|
|
|
import logoImg from '/@/assets/loginmini/icon/jeecg_logo.png'; |
|
|
@ -129,7 +135,7 @@ |
|
|
|
import JSelectDept4FaRen from '/@/components/Form/src/jeecg/components/JSelectDept4FaRen.vue'; |
|
|
|
import JSelectDept4FaRen from '/@/components/Form/src/jeecg/components/JSelectDept4FaRen.vue'; |
|
|
|
import { useI18n } from '/@/hooks/web/useI18n'; |
|
|
|
import { useI18n } from '/@/hooks/web/useI18n'; |
|
|
|
import codeImg from '/@/assets/images/checkcode.png'; |
|
|
|
import codeImg from '/@/assets/images/checkcode.png'; |
|
|
|
|
|
|
|
import JSearchSelect from '/@/components/Form/src/jeecg/components/JSearchSelect.vue'; |
|
|
|
const { t } = useI18n(); |
|
|
|
const { t } = useI18n(); |
|
|
|
const { notification, createErrorModal, createMessage } = useMessage(); |
|
|
|
const { notification, createErrorModal, createMessage } = useMessage(); |
|
|
|
const emit = defineEmits(['go-back', 'success', 'register']); |
|
|
|
const emit = defineEmits(['go-back', 'success', 'register']); |
|
|
@ -157,6 +163,21 @@ |
|
|
|
const pwdIndex = ref<string>('close'); |
|
|
|
const pwdIndex = ref<string>('close'); |
|
|
|
//确认密码眼睛打开关闭 |
|
|
|
//确认密码眼睛打开关闭 |
|
|
|
const confirmPwdIndex = 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(); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 返回 |
|
|
|
* 返回 |
|
|
|