Browse Source

fix:[模板管理]优化

lkf
15881625488@163.com 2 months ago
parent
commit
934f279360
2 changed files with 6 additions and 2 deletions
  1. +5
    -1
      src/views/business/study/comp/tbbd/Bj.vue
  2. +1
    -1
      src/views/business/study/comp/ytbd/Sh.vue

+ 5
- 1
src/views/business/study/comp/tbbd/Bj.vue View File

@ -363,7 +363,7 @@ export default {
onFillCallback(data) { onFillCallback(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' ) {
if (data.type == 'fieldChanged') {
studyFormFill_updateBdnr( studyFormFill_updateBdnr(
{ {
id: this.form.id, id: this.form.id,
@ -426,6 +426,8 @@ export default {
this.form = response.data this.form = response.data
this.form.qmyy = this.$t('page.business.study.studyFormFill.zztjyzbd') this.form.qmyy = this.$t('page.business.study.studyFormFill.zztjyzbd')
this.templateData = deepClone(this.form) this.templateData = deepClone(this.form)
const obj = Object.assign({}, this.$route, { title: this.form.bdmc })
this.$tab.updatePage(obj);
this.$modal.closeLoading() this.$modal.closeLoading()
}) })
} else { } else {
@ -434,6 +436,8 @@ export default {
study_info({ id: params.studyId }).then(response => { study_info({ id: params.studyId }).then(response => {
this.form = _.merge({}, this.form, { stydyId: params.studyId, resourceStudy: response.data.resource, sftb: 1 }) this.form = _.merge({}, this.form, { stydyId: params.studyId, resourceStudy: response.data.resource, sftb: 1 })
this.templateData = deepClone(this.form) this.templateData = deepClone(this.form)
const obj = Object.assign({}, this.$route, { title: this.form.bdmc })
this.$tab.updatePage(obj);
this.$modal.closeLoading() this.$modal.closeLoading()
}) })
} }

+ 1
- 1
src/views/business/study/comp/ytbd/Sh.vue View File

@ -79,7 +79,7 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item :label="$t('form.remark')" prop="remark">
<el-form-item :label="$t('form.reason')" prop="remark">
<el-input type="textarea" v-model="formReject.remark" :rows="5" maxlength="500" <el-input type="textarea" v-model="formReject.remark" :rows="5" maxlength="500"
:placeholder="$t('form.placeholderInput')"> :placeholder="$t('form.placeholderInput')">
</el-input> </el-input>

Loading…
Cancel
Save