|
|
@@ -43,48 +43,52 @@
|
|
|
<slot name="custom-right"></slot>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="normal-panel flex-align-center" style="padding:0 16px">
|
|
|
- <slot name="tableLeft"></slot>
|
|
|
- <div style="flex:0 1 auto;width: 100%;" v-if="listType === 'table' && refreshTable">
|
|
|
- <tableTemp ref="table" :layout="tableLayout" :tableName="tableName" :custom="true" :data="list" :fixRightData="fixRightData" :fixLeftData="fixLeftData" @headerSearch="onHeaderSearch" @checkboxCallBack="checkboxCallBack">
|
|
|
- <template v-slot:temp="scope">
|
|
|
- <slot name="tempChild" :data="scope.data"></slot>
|
|
|
- </template>
|
|
|
+ <div class="normal-panel " style="padding:16px;">
|
|
|
+ <div style="display: flex;">
|
|
|
+ <slot name="tableLeft"></slot>
|
|
|
+ <div style="flex: 1;width: 70%" v-if="listType === 'table' && refreshTable">
|
|
|
+ <tableTemp ref="table" :layout="tableLayout" :tableName="tableName" :custom="true" :data="list" :fixRightData="fixRightData" :fixLeftData="fixLeftData" @headerSearch="onHeaderSearch" @checkboxCallBack="checkboxCallBack">
|
|
|
+ <template v-slot:temp="scope">
|
|
|
+ <slot name="tempChild" :data="scope.data"></slot>
|
|
|
+ </template>
|
|
|
|
|
|
- <template v-slot:customcol="scope">
|
|
|
- <slot :data="scope" name="tbList"></slot>
|
|
|
- </template>
|
|
|
+ <template v-slot:customcol="scope">
|
|
|
+ <slot :data="scope" name="tbList"></slot>
|
|
|
+ </template>
|
|
|
|
|
|
- <template v-slot:opreation="scope">
|
|
|
+ <template v-slot:opreation="scope">
|
|
|
|
|
|
- <drawerTemp class="inline-16" v-if="detailPath && checkRowStatus(scope.data.status)" :data="scope.data" :detailPath="detailPath" :idName="idName" @onSuccess="listData"></drawerTemp>
|
|
|
- <slot :data="scope" name="tbOpreation"></slot>
|
|
|
- <!--systemappid != 163 排除报表应用-->
|
|
|
- <reportCenter class="inline-16" size="mini" :data="reportCenterLsit.filter(item => item.type == 'printinfo')" v-if="reportCenterLsit.filter(item => item.type == 'printinfo').length > 0 && systemappid != 163">
|
|
|
- <template v-slot:print="scope2">
|
|
|
- <el-button @click="printBtn(scope.data,scope2.data)" type="text" size="mini">打 印</el-button>
|
|
|
- </template>
|
|
|
- </reportCenter>
|
|
|
+ <drawerTemp class="inline-16" v-if="detailPath && checkRowStatus(scope.data.status)" :data="scope.data" :detailPath="detailPath" :idName="idName" @onSuccess="listData"></drawerTemp>
|
|
|
+ <slot :data="scope" name="tbOpreation"></slot>
|
|
|
+ <!--systemappid != 163 排除报表应用-->
|
|
|
+ <reportCenter class="inline-16" size="mini" :data="reportCenterLsit.filter(item => item.type == 'printinfo')" v-if="reportCenterLsit.filter(item => item.type == 'printinfo').length > 0 && systemappid != 163">
|
|
|
+ <template v-slot:print="scope2">
|
|
|
+ <el-button @click="printBtn(scope.data,scope2.data)" type="text" size="mini">打 印</el-button>
|
|
|
+ </template>
|
|
|
+ </reportCenter>
|
|
|
|
|
|
- </template>
|
|
|
- </tableTemp>
|
|
|
- <div style="display:flex;align-items:center;flex-direction:row-reverse;justify-content:space-between">
|
|
|
- <div v-if="!hidePagination" class="container normal-panel" style="text-align:right">
|
|
|
- <el-pagination
|
|
|
- background
|
|
|
- @size-change="handleSizeChange"
|
|
|
- @current-change="handleCurrentChange"
|
|
|
- :current-page="currentPage"
|
|
|
- :page-sizes="[20, 50, 100, 200]"
|
|
|
- :page-size="100"
|
|
|
- layout="total,sizes, prev, pager, next, jumper"
|
|
|
- :total="total">
|
|
|
- </el-pagination>
|
|
|
+ </template>
|
|
|
+ </tableTemp>
|
|
|
+ <div style="display:flex;align-items:center;flex-direction:row-reverse;justify-content:space-between">
|
|
|
+ <div v-if="!hidePagination" class="container normal-panel" style="text-align:right">
|
|
|
+ <el-pagination
|
|
|
+ background
|
|
|
+ @size-change="handleSizeChange"
|
|
|
+ @current-change="handleCurrentChange"
|
|
|
+ :current-page="currentPage"
|
|
|
+ :page-sizes="[20, 50, 100, 200]"
|
|
|
+ :page-size="100"
|
|
|
+ layout="total,sizes, prev, pager, next, jumper"
|
|
|
+ :total="total">
|
|
|
+ </el-pagination>
|
|
|
+ </div>
|
|
|
+ <slot name="footerLeft"></slot>
|
|
|
</div>
|
|
|
- <slot name="footerLeft"></slot>
|
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
<drawer :drawerWidth="drawerWidth" @onSuccess="listData"></drawer>
|