Browse Source

fix:计划表单

lkf
15881625488@163.com 3 months ago
parent
commit
ef04882b32
5 changed files with 24 additions and 29 deletions
  1. +10
    -1
      src/views/business/study/comp/jhbd/Bj.vue
  2. +2
    -13
      src/views/business/study/comp/jhbd/Fh.vue
  3. +10
    -0
      src/views/business/study/comp/sqbd/Bj.vue
  4. +2
    -14
      src/views/business/study/comp/sqbd/Fh.vue
  5. +0
    -1
      src/views/business/study/comp/tbbd/Bj.vue

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

@ -128,7 +128,7 @@
</template>
<script>
import { studyFormPlan_bc, studyFormPlan_tj, studyFormPlan_info,studyFormPlan_updateBdnr } from "@/api/business/study/studyFormPlan"
import { studyFormPlan_bc, studyFormPlan_tj, studyFormPlan_info,studyFormPlan_updateBdnr,studyFormFill_updateFhyjjl } from "@/api/business/study/studyFormPlan"
import { mapGetters } from 'vuex'
import SelectTemplate from "@/views/business/comps/select/SelectTemplate";
import SelectStudyUser from '@/views/business/comps/select/SelectStudyUser';
@ -203,6 +203,15 @@ export default {
}
).then(response => {
})
} else if (data.type == 'reply') {
studyFormFill_updateFhyjjl(
{
id: this.form.id,
reply: JSON.stringify(data.newRecord),
fhyjjl: JSON.stringify(data.resourceList)
}
).then(response => {
})
}
},
pre() {

+ 2
- 13
src/views/business/study/comp/jhbd/Fh.vue View File

@ -18,7 +18,7 @@
</div>
<div class="edit-content">
<div class="content-left">
<TemplateTable ref="templateTable" :sn="form.templateSn" fillType="qc" :templateData="form" />
<TemplateTable ref="templateTable" emitName="onPlanFhCallback" @onPlanFhCallback="onPlanFhCallback" :sn="form.templateSn" fillType="qc" :templateData="form" />
<div class="content-title">
<div class="line"></div>
<div class="subtitle"> {{ $t('page.business.study.studyFormPlan.qmxx') }}</div>
@ -168,7 +168,7 @@ export default {
studyFormPlan_updateZdgxjl(
{
id: this.form.id,
zdgxjl: JSON.stringify(data.fieldCheckObj)
zdgxjl: data.fieldCheckObj
}
).then(response => {
})
@ -184,17 +184,6 @@ export default {
).then(response => {
})
}
else if (data.type == 'reply') {
// {"type":"reply","newRecord":{"userNameCn":"","userNameEn":"tf","key":"_versionNum","field":"-","title":"","time":"2026-01-14 20:23:30","content":"qweqe"},"resourceList":[{"userNameCn":"","userNameEn":"tf","key":"_versionNum","field":"-","title":"","time":"2026-01-14 20:23:30","content":"qweqe"},{"userNameCn":"","userNameEn":"tf","key":"_methodCode","field":"-","title":"","time":"2026-01-14 20:23:28","content":"qweqw"}]}
studyFormPlan_updateFhyjjl(
{
id: this.form.id,
reply: JSON.stringify(data.newRecord),
fhyjjl: JSON.stringify(data.resourceList)
}
).then(response => {
})
}
},
getJjcgjList(val) {
this.$modal.loading()

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

@ -203,6 +203,16 @@ export default {
).then(response => {
})
}
else if (data.type == 'reply') {
studyFormApply_updateFhyjjl(
{
id: this.form.id,
reply: JSON.stringify(data.newRecord),
fhyjjl: JSON.stringify(data.resourceList)
}
).then(response => {
})
}
},
pre() {
this.showIndex = 1

+ 2
- 14
src/views/business/study/comp/sqbd/Fh.vue View File

@ -18,7 +18,7 @@
</div>
<div class="edit-content">
<div class="content-left">
<TemplateTable ref="templateTable" emitName="onApplyFhCallback" @onApplyFhCallback="onApplyFhCallback" :sn="form.templateSn" :templateData="form" fillType="qc" />
<TemplateTable ref="templateTable" emitName="onApplyFhCallback" @onApplyFhCallback="onApplyFhCallback" :sn="form.templateSn" :templateData="form" fillType="qc" />
<div class="content-title">
<div class="line"></div>
<div class="subtitle"> {{ $t('page.business.study.studyFormApply.qmxx') }}</div>
@ -168,13 +168,12 @@ export default {
studyFormApply_updateZdgxjl(
{
id: this.form.id,
zdgxjl: JSON.stringify(data.fieldCheckObj)
zdgxjl: data.fieldCheckObj
}
).then(response => {
})
}
else if (data.type == 'content') {
// {"type":"content","newRecord":{"userNameCn":"","userNameEn":"tf","key":"_versionNum","field":"-","title":"","time":"2026-01-14 20:23:30","content":"qweqe"},"resourceList":[{"userNameCn":"","userNameEn":"tf","key":"_versionNum","field":"-","title":"","time":"2026-01-14 20:23:30","content":"qweqe"},{"userNameCn":"","userNameEn":"tf","key":"_methodCode","field":"-","title":"","time":"2026-01-14 20:23:28","content":"qweqw"}]}
studyFormApply_updateFhyjjl(
{
id: this.form.id,
@ -184,17 +183,6 @@ export default {
).then(response => {
})
}
else if (data.type == 'reply') {
// {"type":"reply","newRecord":{"userNameCn":"","userNameEn":"tf","key":"_versionNum","field":"-","title":"","time":"2026-01-14 20:23:30","content":"qweqe"},"resourceList":[{"userNameCn":"","userNameEn":"tf","key":"_versionNum","field":"-","title":"","time":"2026-01-14 20:23:30","content":"qweqe"},{"userNameCn":"","userNameEn":"tf","key":"_methodCode","field":"-","title":"","time":"2026-01-14 20:23:28","content":"qweqw"}]}
studyFormApply_updateFhyjjl(
{
id: this.form.id,
reply: JSON.stringify(data.newRecord),
fhyjjl: JSON.stringify(data.resourceList)
}
).then(response => {
})
}
},
getJjcgjList(val) {
this.$modal.loading()

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

@ -313,7 +313,6 @@ export default {
).then(response => {
})
} else if (data.type == 'reply') {
// {"type":"reply","newRecord":{"userNameCn":"","userNameEn":"tf","key":"_versionNum","field":"-","title":"","time":"2026-01-14 20:23:30","content":"qweqe"},"resourceList":[{"userNameCn":"","userNameEn":"tf","key":"_versionNum","field":"-","title":"","time":"2026-01-14 20:23:30","content":"qweqe"},{"userNameCn":"","userNameEn":"tf","key":"_methodCode","field":"-","title":"","time":"2026-01-14 20:23:28","content":"qweqw"}]}
studyFormFill_updateFhyjjl(
{
id: this.form.id,

Loading…
Cancel
Save