Browse Source

fix:[预填表单]填报清空

luojie
15881625488@163.com 2 weeks ago
parent
commit
bf1b239fb8
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      src/views/business/study/comp/ytbd/Xq.vue

+ 6
- 3
src/views/business/study/comp/ytbd/Xq.vue View File

@ -56,7 +56,7 @@
<el-dialog :title="$t('page.business.study.studyFormPre.cjjl')" :visible.sync="openApprove" width="500px"
append-to-body :close-on-click-modal="false">
<el-form ref="formApprove" :model="formApprove" :rules="rulesApprove" label-width="120px" v-if="openApprove">
<div class="sbzdtcma"> <input type="text"> <input type="password" show-password> </div>
<div class="sbzdtcma"> <input type="text"> <input type="password" show-password> </div>
<el-alert :title="$t('page.business.study.studyFormPre.ts')" :closable="false" style="margin-bottom: 10px;"
type="success">
</el-alert>
@ -88,8 +88,8 @@
<el-row>
<el-col :span="24">
<el-form-item :label="$t('form.password')" prop="qmrmm">
<el-input type="password" @contextmenu.native.prevent @copy.native.prevent @cut.native.prevent show-password v-model="formApprove.qmrmm" maxlength="20"
:placeholder="$t('form.placeholderInput')" />
<el-input type="password" @contextmenu.native.prevent @copy.native.prevent @cut.native.prevent
show-password v-model="formApprove.qmrmm" maxlength="20" :placeholder="$t('form.placeholderInput')" />
</el-form-item>
</el-col>
</el-row>
@ -177,12 +177,15 @@ export default {
},
methods: {
showTianbao() {
if (this.searchForm.studySubjectId && this.searchForm.studySubjectId !== '') {
this.$modal.loading()
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }).then(response => {
if (response.data.toUrl) {
this.toRead(response.data)
} else {
this.formApprove.remark = null
this.formApprove.qmrmm = null
this.openApprove = true
}
}).finally(() => {

Loading…
Cancel
Save