|
@@ -11,8 +11,9 @@
|
|
|
@expand-collapse="handleExpandCollapse"
|
|
@expand-collapse="handleExpandCollapse"
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
- <ibps-container :margin-left="width + 'px'" class="page">
|
|
|
|
|
|
|
+ <ibps-container :margin-left="(propWidth || width) + 'px'" class="page">
|
|
|
<template-list
|
|
<template-list
|
|
|
|
|
+ :height="height"
|
|
|
:template-id="templateId"
|
|
:template-id="templateId"
|
|
|
:dynamic-params="dynamicParams"
|
|
:dynamic-params="dynamicParams"
|
|
|
/>
|
|
/>
|
|
@@ -24,12 +25,23 @@ import ActionUtils from '@/utils/action'
|
|
|
import FixHeight from '@/mixins/height'
|
|
import FixHeight from '@/mixins/height'
|
|
|
import TemplateList from '@/views/platform/data/dataTemplate/template-list.vue'
|
|
import TemplateList from '@/views/platform/data/dataTemplate/template-list.vue'
|
|
|
import { queryPaperOpRecod, removePaperOpRecod } from '@/api/business/general'
|
|
import { queryPaperOpRecod, removePaperOpRecod } from '@/api/business/general'
|
|
|
|
|
+import height from '@/mixins/height'
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
TemplateList,
|
|
TemplateList,
|
|
|
IbpsTypeTree: () => import('./left-tree.vue')
|
|
IbpsTypeTree: () => import('./left-tree.vue')
|
|
|
},
|
|
},
|
|
|
|
|
+ props: {
|
|
|
|
|
+ temId: {
|
|
|
|
|
+ type: String,
|
|
|
|
|
+ default: ''
|
|
|
|
|
+ },
|
|
|
|
|
+ propWidth: {
|
|
|
|
|
+ type: String,
|
|
|
|
|
+ default: ''
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
provide() {
|
|
provide() {
|
|
|
return {
|
|
return {
|
|
|
registerGrandChildMethod: (method) => {
|
|
registerGrandChildMethod: (method) => {
|
|
@@ -192,7 +204,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
this.pageKey = this.$route?.meta?.name
|
|
this.pageKey = this.$route?.meta?.name
|
|
|
- this.templateId = this.pageKey.split('_')[1] || ''
|
|
|
|
|
|
|
+ this.templateId = this.temId || this.pageKey.split('_')[1] || ''
|
|
|
},
|
|
},
|
|
|
// mounted() {
|
|
// mounted() {
|
|
|
// this.loadData()
|
|
// this.loadData()
|