|
@@ -2,8 +2,6 @@
|
|
<div class="register">
|
|
<div class="register">
|
|
<el-form class="panel" :model="form" :rules="rules" ref="baseFormRef">
|
|
<el-form class="panel" :model="form" :rules="rules" ref="baseFormRef">
|
|
<h2>重置密码</h2>
|
|
<h2>重置密码</h2>
|
|
-
|
|
|
|
-
|
|
|
|
<el-form-item class="panel-form-item" prop="userName" label="账号" required>
|
|
<el-form-item class="panel-form-item" prop="userName" label="账号" required>
|
|
<el-input :maxlength="11" v-model.trim="form.userName" placeholder="请输入手机号码">
|
|
<el-input :maxlength="11" v-model.trim="form.userName" placeholder="请输入手机号码">
|
|
</el-input>
|
|
</el-input>
|
|
@@ -16,10 +14,6 @@
|
|
style="margin-left: 10px" @click="getCheckCode"> {{ checkCodeBtn.text }}</el-button>
|
|
style="margin-left: 10px" @click="getCheckCode"> {{ checkCodeBtn.text }}</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
- <!-- <el-form-item class="panel-form-item" label="密码" prop="password" required>
|
|
|
|
- <el-input v-model.trim="form.password" placeholder="请输入8-16位数字、字母大小写组合">
|
|
|
|
- </el-input>
|
|
|
|
- </el-form-item> -->
|
|
|
|
<el-form-item class="panel-form-item" label="密码" prop="password" required>
|
|
<el-form-item class="panel-form-item" label="密码" prop="password" required>
|
|
<el-input autocomplete="off" readonly onfocus="this.removeAttribute('readonly');"
|
|
<el-input autocomplete="off" readonly onfocus="this.removeAttribute('readonly');"
|
|
v-model="form.password" :type="addPassFlag ? 'text' : 'password'" :maxlength="20"
|
|
v-model="form.password" :type="addPassFlag ? 'text' : 'password'" :maxlength="20"
|
|
@@ -60,14 +54,13 @@
|
|
<el-button type="primary" class="fill submit" @click="submitClick">注册</el-button>
|
|
<el-button type="primary" class="fill submit" @click="submitClick">注册</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
-
|
|
|
|
</el-form>
|
|
</el-form>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
import { reactive, ref, unref } from 'vue'
|
|
import { reactive, ref, unref } from 'vue'
|
|
import { ElMessage, type FormInstance, type FormRules } from "element-plus";
|
|
import { ElMessage, type FormInstance, type FormRules } from "element-plus";
|
|
-import { OrganizationTypeDesc } from '@/store/organization';
|
|
|
|
|
|
+// import { OrganizationTypeDesc } from '@/store/organization';
|
|
import { View, Hide } from '@element-plus/icons-vue';
|
|
import { View, Hide } from '@element-plus/icons-vue';
|
|
import { registerOrganization } from '@/request/organization';
|
|
import { registerOrganization } from '@/request/organization';
|
|
// import { encodePwd } from "@/util";
|
|
// import { encodePwd } from "@/util";
|