From 7ab7f5c4f4749415804795b99012d7ca9fddc768 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 30 Jun 2022 09:46:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=B3=95=E8=A7=84=E6=9C=88?= =?UTF-8?q?=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/modules/fillTableAdd.vue | 28 +++++++++++++++++-- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/jero-web/src/views/businessSupport/regulationReport/components/modules/fillTableAdd.vue b/jero-web/src/views/businessSupport/regulationReport/components/modules/fillTableAdd.vue index 4b682697f..3c1c69430 100644 --- a/jero-web/src/views/businessSupport/regulationReport/components/modules/fillTableAdd.vue +++ b/jero-web/src/views/businessSupport/regulationReport/components/modules/fillTableAdd.vue @@ -45,9 +45,19 @@ :title="$t('ParentName')">{{$t('ParentName')}} - + + + + {{ item.title }} + + + @@ -68,6 +78,7 @@ confirmLoading: false, formInline: {}, rules: {}, + ParentList: [], title: '', url: { add: '/report/lawsMonthlyReportTitleTemplateEO/add', @@ -79,9 +90,19 @@ }, methods: { + getParent() { + getAction('/report/lawsMonthlyReportTitleTemplateEO/oneMenu', {}).then((res) => { + if (res.success) { + this.ParentList = res.result + } else { + this.ParentList = [] + } + }) + }, add() { this.title = this.$t('newlyAdded') this.visible = true + this.getParent() this.$nextTick(() => { this.formInline = {} this.$refs.ruleForm.clearValidate() @@ -90,6 +111,7 @@ edit(row) { this.title = this.$t('edit') this.visible = true + this.getParent() this.$nextTick(() => { this.formInline = row this.$refs.ruleForm.clearValidate()