|
|
@ -41,7 +41,7 @@ |
|
|
|
</div> |
|
|
|
<el-form :model="form" @submit.native.prevent> |
|
|
|
<el-form-item label="技术维护验证码" :label-width="formLabelWidth"> |
|
|
|
<el-input v-model="form.verifyCode" /> |
|
|
|
<el-input v-model="form.verifyCode" show-password /> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
@ -129,7 +129,7 @@ export default { |
|
|
|
}, |
|
|
|
[CRUD.HOOK.beforeSubmit]() { |
|
|
|
this.crud.form.isType = this.isType |
|
|
|
if (!this.crud.form.isSequence) { |
|
|
|
if (this.crud.add > CRUD.STATUS.NORMAL) { |
|
|
|
this.crud.form.isSequence = this.crud.data.reduce((prev, cur) => { return { isSequence: Math.max(prev.isSequence, cur.isSequence) } }).isSequence + 1 |
|
|
|
} |
|
|
|
}, |
|
|
|