| | |
| | | <template #prefix><svg-icon icon-class="password" class="el-input__icon input-icon" /></template>
|
| | | </el-input>
|
| | | </el-form-item>
|
| | | <el-form-item prop="currentFatoryId">
|
| | | <el-select v-model="loginForm.currentFatoryId" placeholder="请选择公司" >
|
| | | <el-option v-for="item in factoryList" :key="item.deptId" :label="item.deptName" :value="item.deptId" />
|
| | | </el-select>
|
| | | </el-form-item>
|
| | | <!-- <el-form-item prop="currentFatoryId">-->
|
| | | <!-- <el-select v-model="loginForm.currentFatoryId" placeholder="请选择公司" filterable>-->
|
| | | <!-- <el-option v-for="item in factoryList" :key="item.deptId" :label="item.deptName" :value="item.deptId" />-->
|
| | | <!-- </el-select>-->
|
| | | <!-- </el-form-item>-->
|
| | | <!-- <el-form-item prop="code" v-if="captchaEnabled">-->
|
| | | <!-- <el-input-->
|
| | | <!-- v-model="loginForm.code"-->
|
| | |
| | | username: "",
|
| | | password: "",
|
| | | rememberMe: false,
|
| | | currentFatoryId:'',
|
| | | })
|
| | |
|
| | | const loginRules = {
|
| | |
| | | const redirect = ref(undefined)
|
| | |
|
| | | const factoryList = ref([])
|
| | | const currentFatoryId = ref('')
|
| | |
|
| | | watch(route, (newRoute) => {
|
| | | redirect.value = newRoute.query && newRoute.query.redirect
|
| | |
| | | <style lang='scss' scoped>
|
| | | .login {
|
| | | height: 100%;
|
| | | background-image: url("../assets/indexViews/ZQHXView.png");
|
| | | background-image: url("../assets/images/login-background.png");
|
| | | background-size: cover;
|
| | | position: relative;
|
| | | }
|