|
@@ -2,10 +2,10 @@
|
|
<div v-if="initCompleted" class="yvan-complex-table">
|
|
<div v-if="initCompleted" class="yvan-complex-table">
|
|
<StyledComplexTable v-bind="style">
|
|
<StyledComplexTable v-bind="style">
|
|
<table class="yvan-complex-table__container">
|
|
<table class="yvan-complex-table__container">
|
|
- <tr v-if="element.showPrefix">
|
|
|
|
|
|
+ <tr class="1234">
|
|
<td>
|
|
<td>
|
|
- <div class="yvan-complex-table__prefix">
|
|
|
|
- <YvanTextInTable
|
|
|
|
|
|
+ <div class="yvan-complex-table__prefix" tyle="border: #0a0a0a 1px solid">
|
|
|
|
+ <YvanSimpleTextInTable
|
|
key="prefix"
|
|
key="prefix"
|
|
:element="prefixTextElement"
|
|
:element="prefixTextElement"
|
|
:prop-value="prefixTextElement.propValue"
|
|
:prop-value="prefixTextElement.propValue"
|
|
@@ -68,20 +68,20 @@
|
|
<tr v-if="element.showFoot">
|
|
<tr v-if="element.showFoot">
|
|
<td>
|
|
<td>
|
|
<div class="yvan-complex-table__foot">
|
|
<div class="yvan-complex-table__foot">
|
|
- <YvanSimpleTable
|
|
|
|
- key="foot"
|
|
|
|
- :element="footSimpleTableElement"
|
|
|
|
- :prop-value="footSimpleTableElement.propValue"
|
|
|
|
- :scale="scale"
|
|
|
|
- @componentUpdated="componentUpdated"
|
|
|
|
- />
|
|
|
|
|
|
+<!-- <YvanSimpleTable-->
|
|
|
|
+<!-- key="foot"-->
|
|
|
|
+<!-- :element="footSimpleTableElement"-->
|
|
|
|
+<!-- :prop-value="footSimpleTableElement.propValue"-->
|
|
|
|
+<!-- :scale="scale"-->
|
|
|
|
+<!-- @componentUpdated="componentUpdated"-->
|
|
|
|
+<!-- />-->
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
<tr v-if="element.showSuffix">
|
|
<tr v-if="element.showSuffix">
|
|
<td>
|
|
<td>
|
|
- <div class="yvan-complex-table__suffix">
|
|
|
|
- <YvanTextInTable
|
|
|
|
|
|
+ <div class="yvan-complex-table__suffix" style="border: #0a0a0a 1px solid">
|
|
|
|
+ <YvanSimpleTextInTable
|
|
key="suffix"
|
|
key="suffix"
|
|
:element="suffixTextElement"
|
|
:element="suffixTextElement"
|
|
:prop-value="suffixTextElement.propValue"
|
|
:prop-value="suffixTextElement.propValue"
|
|
@@ -109,22 +109,24 @@ import commonMixin from '@/mixin/commonMixin'
|
|
import { StyledComplexTable } from '@/components/elements/style'
|
|
import { StyledComplexTable } from '@/components/elements/style'
|
|
import ResizeObserver from '@/components/elements/yvan-table/ResizeObserver'
|
|
import ResizeObserver from '@/components/elements/yvan-table/ResizeObserver'
|
|
import TableDataSetting from '@/components/elements/yvan-table/TableDataSetting.vue'
|
|
import TableDataSetting from '@/components/elements/yvan-table/TableDataSetting.vue'
|
|
-import YvanSimpleTable from '@/components/elements/yvan-table/YvanSimpleTable.vue';
|
|
|
|
|
|
+import YvanSimpleTable from '@/components/elements/yvan-table/YvanSimpleTable.vue'
|
|
import YvanRichTextInTable from '@/components/elements/yvan-table/YvanRichTextInTable.vue'
|
|
import YvanRichTextInTable from '@/components/elements/yvan-table/YvanRichTextInTable.vue'
|
|
|
|
+import YvanSimpleTextInTable from '@/components/elements/yvan-table/YvanSimpleTextInTable.vue'
|
|
import YvanComplexTableProps from '@/components/elements/yvan-table/YvanComplexTableProps.vue'
|
|
import YvanComplexTableProps from '@/components/elements/yvan-table/YvanComplexTableProps.vue'
|
|
|
|
|
|
const defaultTextProp = {
|
|
const defaultTextProp = {
|
|
icon: 'ri-text',
|
|
icon: 'ri-text',
|
|
code: 'text',
|
|
code: 'text',
|
|
name: '文本',
|
|
name: '文本',
|
|
- component: 'YvanTextIn',
|
|
|
|
|
|
+ component: 'YvanSimpleTextInTable',
|
|
propValue: '',
|
|
propValue: '',
|
|
style: {
|
|
style: {
|
|
width: '100%',
|
|
width: '100%',
|
|
height: '100%',
|
|
height: '100%',
|
|
fontSize: 12,
|
|
fontSize: 12,
|
|
background: null,
|
|
background: null,
|
|
- rotate: 0
|
|
|
|
|
|
+ textStyle:[],
|
|
|
|
+ rotate: 0,
|
|
},
|
|
},
|
|
groupStyle: {}
|
|
groupStyle: {}
|
|
}
|
|
}
|
|
@@ -184,9 +186,10 @@ export default {
|
|
mixins: [commonMixin],
|
|
mixins: [commonMixin],
|
|
components: {
|
|
components: {
|
|
YvanSimpleTable,
|
|
YvanSimpleTable,
|
|
- YvanRichTextInTable,
|
|
|
|
|
|
+ TableDataSetting,
|
|
StyledComplexTable,
|
|
StyledComplexTable,
|
|
- TableDataSetting
|
|
|
|
|
|
+ YvanRichTextInTable,
|
|
|
|
+ YvanSimpleTextInTable
|
|
},
|
|
},
|
|
props: {
|
|
props: {
|
|
element: {
|
|
element: {
|