Browse Source

fix:[模板管理]优化

ouqian
15881625488@163.com 1 month ago
parent
commit
7ac8c415e6
4 changed files with 5 additions and 5 deletions
  1. +1
    -1
      src/views/business/study/comp/jhbd/Bj.vue
  2. +1
    -1
      src/views/business/study/comp/sqbd/Bj.vue
  3. +2
    -2
      src/views/business/study/comp/tbbd/Bj.vue
  4. +1
    -1
      src/views/business/study/comp/ytbd/Bj.vue

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

@ -64,7 +64,7 @@
</el-row>
</el-form>
</div>
<div class="content" v-if="showIndex == 2">
<div class="content" v-if="showIndex == 2&&templateData.templateId">
<TemplateTable ref="templateTable" emitName="onPlanCallback" @onPlanCallback="onPlanCallback"
:sn="form.templateSn" :templateData="templateData" fillType="actFill" />
</div>

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

@ -74,7 +74,7 @@
</el-row>
</el-form>
</div>
<div class="content" v-if="showIndex == 2">
<div class="content" v-if="showIndex == 2&&templateData.templateId">
<TemplateTable ref="templateTable" emitName="onApplyCallback" @onApplyCallback="onApplyCallback"
:sn="form.templateSn" :templateData="templateData" fillType="actFill" />
</div>

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

@ -78,7 +78,7 @@
</el-row>
</el-form>
</div>
<div class="content" v-if="showIndex == 2">
<div class="content" v-if="showIndex == 2&&templateData.templateId">
<TemplateTable emitName="onFillCallback" @onFillCallback="onFillCallback" ref="templateTable"
:sn="templateData.templateSn" :templateData="templateData" fillType="actFill" />
</div>
@ -757,7 +757,7 @@ export default {
this.$modal.loading()
studyFormFill_bcOnly(this.form).then(response => {
this.form = response.data
this.templateData.bdmc = this.form.bdmc
this.templateData = deepClone(this.form)
this.showIndex = 2
const obj = Object.assign({}, this.$route, { title: this.form.bdmc })
this.$tab.updatePage(obj);

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

@ -65,7 +65,7 @@
</el-row>
</el-form>
</div>
<div class="content" v-if="showIndex == 2">
<div class="content" v-if="showIndex == 2&&templateData.templateId">
<TemplateTable ref="templateTable" emitName="onPreCallback" @onPreCallback="onPreCallback"
:sn="form.templateSn" :templateData="templateData" fillType="preFill" />
</div>

Loading…
Cancel
Save