|
@@ -19,28 +19,11 @@
|
|
|
<el-form-item prop="phone"
|
|
|
:rules="formRules.mobile"
|
|
|
label="手机号:">
|
|
|
- <el-input style="width: 70%;"
|
|
|
- v-model="form.phone"
|
|
|
+ <el-input v-model="form.phone"
|
|
|
disabled
|
|
|
placeholder="请输入手机号"
|
|
|
@input="form.phone = form.phone.replace(/[^\d]/g, '').slice(0, 11)"
|
|
|
clearable></el-input>
|
|
|
- <p style="display: inline-block;width: 30%;text-align: right;">
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- @click="validatePhone('form')"
|
|
|
- :disabled="[0, 60].findIndex(item => item === numCount) < 0">
|
|
|
- 获取验证码<span>{{ [0, 60].findIndex(item => item === numCount) > -1 ? '' : numCount + '秒' }}</span>
|
|
|
- </el-button>
|
|
|
- </p>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item prop="code"
|
|
|
- :rules="formRules.code"
|
|
|
- label="短信验证码:">
|
|
|
- <el-input v-model="form.code"
|
|
|
- placeholder="请输入短信验证码"
|
|
|
- @input="form.code=form.code.replace(/[^\d]/g, '').slice(0, 6)"
|
|
|
- clearable></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="plan_cover_url"
|
|
|
:rules="formRules.uploadImgs"
|
|
@@ -88,10 +71,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import getCode from '@/views/ums/mixin/getCode'
|
|
|
-
|
|
|
export default {
|
|
|
- mixins: [getCode],
|
|
|
components: {},
|
|
|
props: {
|
|
|
value: {
|
|
@@ -111,7 +91,6 @@ export default {
|
|
|
form: {
|
|
|
user_song_name: '', // 歌手名称
|
|
|
phone: '', // 手机号码
|
|
|
- code: '', // 验证码
|
|
|
plan_cover_url: [],
|
|
|
user_sign_status: '1', // 艺人签约状态(0未签约1已签约)
|
|
|
user_desc: '' // 艺人描述
|