| | |
| | | :showText="false" |
| | | :class="`${prefixCls}-action__item`" |
| | | /> |
| | | <div style="width: 100px"> |
| | | <ApiTreeSelect |
| | | <div style="width: 120px"> |
| | | <ApiSelect |
| | | :api="getProdTree" |
| | | style="width: 100%" |
| | | :params="{ userId: useUserStore().getUserInfo.userId }" |
| | | v-model:value="factory" |
| | | optionFilterProp="label" |
| | | labelField="deptName" |
| | | valueField="deptCode" |
| | | placeholder="è¯·éæ©å·¥å" |
| | |
| | | <script lang="ts" setup> |
| | | import { Layout } from 'ant-design-vue'; |
| | | import { computed, onMounted, ref, unref } from 'vue'; |
| | | import { ApiSelect } from '/@/components/Form/index'; |
| | | import { useUserStore } from '/@/store/modules/user'; |
| | | import { AppLocalePicker, AppLogo, AppSearch } from '@/components/Application'; |
| | | import { SettingButtonPositionEnum } from '@/enums/appEnum'; |
| | |
| | | /> |
| | | </div> |
| | | |
| | | <span class="-enter-x xl:hidden"> |
| | | <span class="mt-5 -enter-x xl:hidden"> |
| | | <LoginLogo :alwaysShowTitle="false" /> |
| | | </span> |
| | | |
| | |
| | | /> |
| | | </FormItem> |
| | | <FormItem name="factory" class="enter-x dept"> |
| | | <ARow class="enter-x"> |
| | | <ACol :md="24" :xs="24" :span="24"> |
| | | <ApiTreeSelect |
| | | <ApiSelect |
| | | :api="getProdTreeList" |
| | | showSearch |
| | | v-model:value="formData.factory" |
| | | optionFilterProp="label" |
| | | labelField="deptName" |
| | | valueField="deptCode" |
| | | placeholder="è¯·éæ©å·¥å" |
| | | /> |
| | | </ACol> |
| | | </ARow> |
| | | </FormItem> |
| | | <ARow class="enter-x"> |
| | | <ACol :span="12"> |
| | |
| | | <script lang="ts" setup> |
| | | import { reactive, ref, unref, computed } from 'vue'; |
| | | |
| | | import { Checkbox, Form, Input, Row, Col, Button, Divider, } from 'ant-design-vue'; |
| | | import { Checkbox, Form, Input, Row, Col, Button, Divider } from 'ant-design-vue'; |
| | | // import { |
| | | // GithubFilled, |
| | | // WechatFilled, |
| | |
| | | // TwitterCircleFilled, |
| | | // } from '@ant-design/icons-vue'; |
| | | import LoginFormTitle from './LoginFormTitle.vue'; |
| | | |
| | | import { ApiSelect } from '/@/components/Form/index'; |
| | | import { useI18n } from '@/hooks/web/useI18n'; |
| | | import { useMessage } from '@/hooks/web/useMessage'; |
| | | import { ApiTreeSelect } from '@/components/Form'; |
| | | import { getProdTreeList } from '/@/api/tigerapi/dept'; |
| | | import { useUserStore } from '@/store/modules/user'; |
| | | import { LoginStateEnum, useLoginState, useFormRules, useFormValid } from './useLogin'; |