From bfd75f0ba6452006bd96ebd9ce25a29824c207a2 Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Thu, 8 Jan 2026 13:58:46 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A[=E6=A8=A1=E6=9D=BF=E7=AE=A1?= =?UTF-8?q?=E7=90=86][=E6=96=B0=E5=A2=9E=E9=A2=86=E5=8F=96=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E5=8D=95=E6=A8=A1=E6=9D=BF]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lang/en/business/study/studyFormApply.js | 10 +- src/lang/zh/business/study/studyFormApply.js | 5 +- .../business/comps/template/TemplateTable.vue | 11 +- .../business/comps/template/comps/gy/MJYLQSQD.vue | 240 +++++++++++++++++++++ .../business/comps/template/comps/gy/SYWZPZJHB.vue | 240 +++++++++++++++++++++ src/views/business/form/drug/comp/sqbdList.vue | 20 +- src/views/business/study/comp/jhbd/Bj.vue | 4 +- src/views/business/study/comp/sqbd/Bj.vue | 56 +++-- src/views/business/study/comp/sqbd/Fh.vue | 46 ++-- src/views/business/study/comp/sqbd/Sh.vue | 51 ++--- src/views/business/study/comp/sqbd/Sy.vue | 39 ++-- vue.config.js | 4 +- 12 files changed, 616 insertions(+), 110 deletions(-) create mode 100644 src/views/business/comps/template/comps/gy/MJYLQSQD.vue create mode 100644 src/views/business/comps/template/comps/gy/SYWZPZJHB.vue diff --git a/src/lang/en/business/study/studyFormApply.js b/src/lang/en/business/study/studyFormApply.js index dc4ff22..c20a624 100644 --- a/src/lang/en/business/study/studyFormApply.js +++ b/src/lang/en/business/study/studyFormApply.js @@ -37,19 +37,21 @@ export default { tbz:'On-going', ytj:'Submitted', ywc:'Completed', - ywcfh:'Completed & Approved', + wtg:'未通过', + yfh:'Approved', dfz:'Pending Abandon', yfz:'Abandoned', + sh:'审核', guancha:'View', jiaqian:'Sign', qrfz:'Confirm', reason:'Reason', reject:'Reject', approve:'Approve', -szqk:'生长情况', -rybg:'Change of Person', -shenyue:'Review', + szqk:'生长情况', + rybg:'Change of Person', + shenyue:'Review', fhjj:'复核拒绝', fhtg:'复核通过', diff --git a/src/lang/zh/business/study/studyFormApply.js b/src/lang/zh/business/study/studyFormApply.js index 7255d5b..3742dd9 100644 --- a/src/lang/zh/business/study/studyFormApply.js +++ b/src/lang/zh/business/study/studyFormApply.js @@ -36,12 +36,13 @@ sqfz:'申请废止', tbz:'填报中', ytj:'已提交', - ywc:'已完成', - ywcfh:'已完成(经复核)', + wtg:'未通过', + yfh:'已复核', ywc:'已完成', dfz:'待废止', yfz:'已废止', + sh:'审核', guancha:'观察', jiaqian:'加签', qrfz:'确认废止', diff --git a/src/views/business/comps/template/TemplateTable.vue b/src/views/business/comps/template/TemplateTable.vue index c62967b..c5e8fb0 100644 --- a/src/views/business/comps/template/TemplateTable.vue +++ b/src/views/business/comps/template/TemplateTable.vue @@ -13,13 +13,17 @@ import SP001 from './comps/sp/SP001'; import SWYPFXRYPZB from "./comps/sp/SWYPFXRYPZB.vue"; import SWYPFXCBYPZB from "./comps/sp/SWYPFXCBYPZB.vue"; import SWYPBQGZYZBB from "./comps/sp/SWYPBQGZYZBB.vue"; -import SYWZPZJHB from "./comps/dl/SYWZPZJHB.vue"; import SWYPNBGZYZBB from "./comps/sp/SWYPNBGZYZBB.vue"; import Demo from "./comps/sp/Demo.vue"; +//公用 +import SYWZPZJHB from "./comps/gy/SYWZPZJHB.vue"; +import MJYLQSQD from "./comps/gy/MJYLQSQD.vue"; + export default { name: "TemplateTable", components: { - SP001,SWYPFXRYPZB ,Demo,SWYPFXCBYPZB,SWYPBQGZYZBB,SYWZPZJHB,SWYPNBGZYZBB, + MJYLQSQD,SYWZPZJHB, + SP001,SWYPFXRYPZB ,Demo,SWYPFXCBYPZB,SWYPBQGZYZBB,SWYPNBGZYZBB, }, props: { sn: { @@ -44,7 +48,8 @@ export default { 'SP002': 'SWYPFXCBYPZB', 'SP003': 'SWYPBQGZYZBB', 'SP004': 'SWYPNBGZYZBB', - 'DL001': 'SYWZPZJHB', + 'SYWZPZJHB': 'SYWZPZJHB', + 'MJYLQSQD': 'MJYLQSQD', // 'SP001': 'Demo', } } diff --git a/src/views/business/comps/template/comps/gy/MJYLQSQD.vue b/src/views/business/comps/template/comps/gy/MJYLQSQD.vue new file mode 100644 index 0000000..534643f --- /dev/null +++ b/src/views/business/comps/template/comps/gy/MJYLQSQD.vue @@ -0,0 +1,240 @@ + + + + + \ No newline at end of file diff --git a/src/views/business/comps/template/comps/gy/SYWZPZJHB.vue b/src/views/business/comps/template/comps/gy/SYWZPZJHB.vue new file mode 100644 index 0000000..45f01d3 --- /dev/null +++ b/src/views/business/comps/template/comps/gy/SYWZPZJHB.vue @@ -0,0 +1,240 @@ + + + + + \ No newline at end of file diff --git a/src/views/business/form/drug/comp/sqbdList.vue b/src/views/business/form/drug/comp/sqbdList.vue index 1ffc68a..f4f17be 100644 --- a/src/views/business/form/drug/comp/sqbdList.vue +++ b/src/views/business/form/drug/comp/sqbdList.vue @@ -1,6 +1,6 @@ diff --git a/src/views/business/study/comp/sqbd/Sy.vue b/src/views/business/study/comp/sqbd/Sy.vue index e978d8f..514ead8 100644 --- a/src/views/business/study/comp/sqbd/Sy.vue +++ b/src/views/business/study/comp/sqbd/Sy.vue @@ -43,7 +43,7 @@
{{ $t('page.business.study.studyFormApply.jcgj') }}
- + @@ -142,7 +142,7 @@ export default { created() { }, methods: { - + getJjcgjList(val) { this.$modal.loading() studyFormApply_jcgj(_.merge({}, this.queryParamsJcgj, val)).then(response => { @@ -183,16 +183,20 @@ export default { this.$modal.closeLoading() }) }, - showApprove() { - this.resetApprove() - this.formApprove.id = this.form.id - this.openApprove = true + async showApprove() { + let content = await this.$refs.templateTable.getFormData() + if (content) { + this.resetApprove() + this.formApprove.id = this.form.id + this.openApprove = true + } }, resetApprove() { this.formApprove = { id: null, qmyy: '已审阅', remark: '', + bdnr: '', qmrmm: '', } this.resetForm("formApprove") @@ -200,16 +204,23 @@ export default { approve() { this.$refs["formApprove"].validate(valid => { if (valid) { - this.$modal.loading() - studyFormApply_sy(this.formApprove).then(response => { - this.openApprove = false - this.$modal.closeLoading() - this.$emit('close') - }).finally(() => { - this.$modal.closeLoading() - }) + this.doapprove() } }) + }, + async doapprove() { + let content = await this.$refs.templateTable.getFormData() + if (content) { + this.formApprove.bdnr = JSON.stringify(content) + this.$modal.loading() + studyFormApply_sy(this.formApprove).then(response => { + this.openApprove = false + this.$modal.closeLoading() + this.$emit('close') + }).finally(() => { + this.$modal.closeLoading() + }) + } } } } diff --git a/vue.config.js b/vue.config.js index 5e39e4b..fda6a2f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -34,8 +34,8 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://localhost:8080`, - // target: `http://39.99.251.173:8080`, + target: `http://localhost:8080`, + // target: `http://39.99.251.173:8080`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''