|
|
@ -1,6 +1,6 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div> |
|
|
<div> |
|
|
<div class="edit-container"> |
|
|
|
|
|
|
|
|
<div class="edit-container" v-if="open"> |
|
|
<div class="edit-top"> |
|
|
<div class="edit-top"> |
|
|
<div class="left-top"> |
|
|
<div class="left-top"> |
|
|
<img src="@/assets/images/back.png" @click="cancel()" /> |
|
|
<img src="@/assets/images/back.png" @click="cancel()" /> |
|
|
@ -18,7 +18,8 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="edit-content"> |
|
|
<div class="edit-content"> |
|
|
<div class="content-left"> |
|
|
<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="content-title"> |
|
|
<div class="line"></div> |
|
|
<div class="line"></div> |
|
|
<div class="subtitle"> {{ $t('page.business.study.studyFormApply.qmxx') }}</div> |
|
|
<div class="subtitle"> {{ $t('page.business.study.studyFormApply.qmxx') }}</div> |
|
|
@ -109,7 +110,7 @@ |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import { studyFormApply_updateFhyjjl,studyFormApply_updateZdgxjl,studyFormApply_fhtg, studyFormApply_fhjj, studyFormApply_info, studyFormApply_jcgj, studyFormApply_qmxx } from "@/api/business/study/studyFormApply" |
|
|
|
|
|
|
|
|
import { studyFormApply_updateFhyjjl, studyFormApply_updateZdgxjl, studyFormApply_fhtg, studyFormApply_fhjj, studyFormApply_info, studyFormApply_jcgj, studyFormApply_qmxx } from "@/api/business/study/studyFormApply" |
|
|
import { mapGetters } from 'vuex' |
|
|
import { mapGetters } from 'vuex' |
|
|
import JcgjList from "@/views/business/comps/common/JcgjList"; |
|
|
import JcgjList from "@/views/business/comps/common/JcgjList"; |
|
|
import TemplateTable from '@/views/business/comps/template/TemplateTable'; |
|
|
import TemplateTable from '@/views/business/comps/template/TemplateTable'; |
|
|
@ -122,6 +123,7 @@ export default { |
|
|
form: {}, |
|
|
form: {}, |
|
|
qmxxList: [], |
|
|
qmxxList: [], |
|
|
totalQmxx: 0, |
|
|
totalQmxx: 0, |
|
|
|
|
|
open: false, |
|
|
loadingQmxx: true, |
|
|
loadingQmxx: true, |
|
|
queryParamsQmxx: { |
|
|
queryParamsQmxx: { |
|
|
formId: null, |
|
|
formId: null, |
|
|
@ -160,7 +162,7 @@ export default { |
|
|
created() { |
|
|
created() { |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
onApplyFhCallback(data) { |
|
|
|
|
|
|
|
|
onApplyFhCallback(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 == 'checkbox') { |
|
|
if (data.type == 'checkbox') { |
|
|
@ -205,6 +207,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
cancel() { |
|
|
cancel() { |
|
|
this.$emit('close') |
|
|
this.$emit('close') |
|
|
|
|
|
this.open = false |
|
|
}, |
|
|
}, |
|
|
reset() { |
|
|
reset() { |
|
|
this.form = {} |
|
|
this.form = {} |
|
|
@ -219,7 +222,7 @@ export default { |
|
|
this.form = response.data |
|
|
this.form = response.data |
|
|
this.getQmxxList() |
|
|
this.getQmxxList() |
|
|
this.getJjcgjList() |
|
|
this.getJjcgjList() |
|
|
this.$modal.closeLoading() |
|
|
|
|
|
|
|
|
this.open = true |
|
|
}).finally(() => { |
|
|
}).finally(() => { |
|
|
this.$modal.closeLoading() |
|
|
this.$modal.closeLoading() |
|
|
}) |
|
|
}) |
|
|
@ -234,10 +237,10 @@ export default { |
|
|
this.formApprove.qmyy = qmyy |
|
|
this.formApprove.qmyy = qmyy |
|
|
if (qmyy == '复核通过') { |
|
|
if (qmyy == '复核通过') { |
|
|
this.openTitle = 'page.business.study.studyFormApply.fhtg' |
|
|
this.openTitle = 'page.business.study.studyFormApply.fhtg' |
|
|
this.formApprove.qmyyMc = this.$t('page.business.study.studyFormApply.fhtg') |
|
|
|
|
|
|
|
|
this.formApprove.qmyyMc = this.$t('page.business.study.studyFormApply.fhtg') |
|
|
} else if (qmyy == '复核拒绝') { |
|
|
} else if (qmyy == '复核拒绝') { |
|
|
this.openTitle = 'page.business.study.studyFormApply.fhjj' |
|
|
this.openTitle = 'page.business.study.studyFormApply.fhjj' |
|
|
this.formApprove.qmyyMc = this.$t('page.business.study.studyFormApply.fhjj') |
|
|
|
|
|
|
|
|
this.formApprove.qmyyMc = this.$t('page.business.study.studyFormApply.fhjj') |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
@ -260,8 +263,8 @@ export default { |
|
|
if (this.formApprove.qmyy == '复核通过') { |
|
|
if (this.formApprove.qmyy == '复核通过') { |
|
|
studyFormApply_fhtg(this.formApprove).then(response => { |
|
|
studyFormApply_fhtg(this.formApprove).then(response => { |
|
|
this.openApprove = false |
|
|
this.openApprove = false |
|
|
this.$modal.closeLoading() |
|
|
|
|
|
this.$emit('close') |
|
|
this.$emit('close') |
|
|
|
|
|
this.open = false |
|
|
}).finally(() => { |
|
|
}).finally(() => { |
|
|
this.$modal.closeLoading() |
|
|
this.$modal.closeLoading() |
|
|
}) |
|
|
}) |
|
|
@ -269,8 +272,8 @@ export default { |
|
|
this.formApprove.remark = this.formApprove.reason |
|
|
this.formApprove.remark = this.formApprove.reason |
|
|
studyFormApply_fhjj(this.formApprove).then(response => { |
|
|
studyFormApply_fhjj(this.formApprove).then(response => { |
|
|
this.openApprove = false |
|
|
this.openApprove = false |
|
|
this.$modal.closeLoading() |
|
|
|
|
|
this.$emit('close') |
|
|
this.$emit('close') |
|
|
|
|
|
this.open = false |
|
|
}).finally(() => { |
|
|
}).finally(() => { |
|
|
this.$modal.closeLoading() |
|
|
this.$modal.closeLoading() |
|
|
}) |
|
|
}) |
|
|
|