|
|
@ -73,7 +73,7 @@ |
|
|
<el-dialog :title="$t('page.business.study.studyFormPre.tjysb')" :visible.sync="openSubmit" width="500px" |
|
|
<el-dialog :title="$t('page.business.study.studyFormPre.tjysb')" :visible.sync="openSubmit" width="500px" |
|
|
append-to-body :close-on-click-modal="false"> |
|
|
append-to-body :close-on-click-modal="false"> |
|
|
<el-form ref="formSubmit" :model="form" :rules="rulesApprove" label-width="120px" v-if="openSubmit"> |
|
|
<el-form ref="formSubmit" :model="form" :rules="rulesApprove" label-width="120px" v-if="openSubmit"> |
|
|
<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-row> |
|
|
<el-row> |
|
|
<el-col :span="24"> |
|
|
<el-col :span="24"> |
|
|
<el-form-item :label="$t('page.business.study.studyFormPre.shryId')" prop="shryId"> |
|
|
<el-form-item :label="$t('page.business.study.studyFormPre.shryId')" prop="shryId"> |
|
|
@ -123,7 +123,7 @@ |
|
|
<el-row> |
|
|
<el-row> |
|
|
<el-col :span="24"> |
|
|
<el-col :span="24"> |
|
|
<el-form-item :label="$t('form.password')" prop="qmrmm"> |
|
|
<el-form-item :label="$t('form.password')" prop="qmrmm"> |
|
|
<el-input type="password" show-password v-model="form.qmrmm" maxlength="20" |
|
|
|
|
|
|
|
|
<el-input type="password" show-password v-model="form.qmrmm" maxlength="20" |
|
|
:placeholder="$t('form.placeholderInput')" /> |
|
|
:placeholder="$t('form.placeholderInput')" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
@ -199,7 +199,7 @@ export default { |
|
|
onPreCallback(data) { |
|
|
onPreCallback(data) { |
|
|
console.log("data:" + JSON.stringify(data)) |
|
|
console.log("data:" + JSON.stringify(data)) |
|
|
console.log("formdata:" + JSON.stringify(this.$refs.templateTable.getFilledFormData())) |
|
|
console.log("formdata:" + JSON.stringify(this.$refs.templateTable.getFilledFormData())) |
|
|
if (data.type == 'fieldChanged'&&data.newRecord&&data.newRecord!='') { |
|
|
|
|
|
|
|
|
if (data.type == 'fieldChanged' ) { |
|
|
studyFormPre_updateBdnr( |
|
|
studyFormPre_updateBdnr( |
|
|
{ |
|
|
{ |
|
|
id: this.form.id, |
|
|
id: this.form.id, |
|
|
@ -220,7 +220,7 @@ export default { |
|
|
this.$modal.loading() |
|
|
this.$modal.loading() |
|
|
studyFormPre_bcOnly(this.form).then(response => { |
|
|
studyFormPre_bcOnly(this.form).then(response => { |
|
|
this.form = response.data |
|
|
this.form = response.data |
|
|
this.templateData = deepClone(this.form) |
|
|
|
|
|
|
|
|
this.templateData.bdmc = this.form.bdmc |
|
|
this.showIndex = 2 |
|
|
this.showIndex = 2 |
|
|
this.$modal.closeLoading() |
|
|
this.$modal.closeLoading() |
|
|
}).finally(() => { |
|
|
}).finally(() => { |
|
|
|