Browse Source

fix:[试验管理]填报bug

lkf
15881625488@163.com 3 months ago
parent
commit
2203edc243
3 changed files with 13 additions and 14 deletions
  1. +2
    -2
      src/layout/components/AppMain.vue
  2. +11
    -1
      src/views/business/study/comp/tbbd/Bj.vue
  3. +0
    -11
      src/views/business/study/comp/tbbd/Fh.vue

+ 2
- 2
src/layout/components/AppMain.vue View File

@ -1,9 +1,9 @@
<template>
<section class="app-main">
<transition name="fade-transform" mode="out-in">
<keep-alive :include="cachedViews">
<!-- <keep-alive :include="cachedViews"> -->
<router-view v-if="!$route.meta.link" :key="key" />
</keep-alive>
<!-- </keep-alive> -->
</transition>
<iframe-toggle />
<copyright />

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

@ -224,7 +224,7 @@
</template>
<script>
import { studyFormFill_bc, studyFormFill_updateBdnr, studyFormFill_tj, studyFormFill_info } from "@/api/business/study/studyFormFill"
import { studyFormFill_bc, studyFormFill_updateBdnr, studyFormFill_tj, studyFormFill_info,studyFormFill_updateFhyjjl } from "@/api/business/study/studyFormFill"
import { study_info } from "@/api/business/study/study"
import { mapGetters } from 'vuex'
import SelectTemplate from "@/views/business/comps/select/SelectTemplate";
@ -312,6 +312,16 @@ 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,
reply: JSON.stringify(data.newRecord),
fhyjjl: JSON.stringify(data.resourceList)
}
).then(response => {
})
}
},
delcc(index) {

+ 0
- 11
src/views/business/study/comp/tbbd/Fh.vue View File

@ -186,17 +186,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,
reply: JSON.stringify(data.newRecord),
fhyjjl: JSON.stringify(data.resourceList)
}
).then(response => {
})
}
},
getJjcgjList(val) {
this.$modal.loading()

Loading…
Cancel
Save