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()