30418
This commit is contained in:
		| @@ -2,11 +2,6 @@ | ||||
|   <section class="psDetail"> | ||||
|     <ai-detail> | ||||
|       <ai-title slot="title" title="积分详情" isShowBottomBorder isShowBack @onBackClick="back"/> | ||||
|       <template #right> | ||||
|         <ai-download :instance="instance" url="/app/apppartyintegralinfo/exportListByOrg" :params="search" fileName="党员积分" :disabled="tableData.length == 0"> | ||||
|           <el-button icon="iconfont iconExported" :disabled="tableData.length == 0">导出</el-button> | ||||
|         </ai-download> | ||||
|       </template> | ||||
|       <template #content> | ||||
|         <el-row type="flex"> | ||||
|           <ai-card hideTitle class="staCard fill"> | ||||
| @@ -23,8 +18,13 @@ | ||||
|           </ai-card> | ||||
|         </el-row> | ||||
|         <ai-card title="余额变动明细"> | ||||
|           <template #right> | ||||
|             <ai-download :instance="instance" :url="`/app/apppartyintegralinfo/listExport?partyId=${id}`" fileName="党员积分" :disabled="detailTable.length == 0"> | ||||
|               <el-button icon="iconfont iconExported" :disabled="detailTable.length == 0">导出</el-button> | ||||
|             </ai-download> | ||||
|           </template> | ||||
|           <template #content> | ||||
|             <ai-table :tableData="detail.integralInfoList" isShowPagination :total="page.total" :current.sync="page.current" | ||||
|             <ai-table :tableData="detailTable" isShowPagination :total="page.total" :current.sync="page.current" | ||||
|                 :size.sync="page.size" :col-configs="colConfigs" :dict="dict"/> | ||||
|           </template> | ||||
|         </ai-card> | ||||
| @@ -68,6 +68,7 @@ export default { | ||||
|           {pattern: /^\d+$/g, message: "请输入正整数"} | ||||
|         ] | ||||
|       }, | ||||
|       id: '', | ||||
|       name: '', | ||||
|       nowIntegral: '', | ||||
|       page: {current: 1, size: 10, total: 0}, | ||||
| @@ -83,10 +84,11 @@ export default { | ||||
|         } | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|           this.detail = res.data | ||||
|           this.detailTable = res.data.records | ||||
|           this.page.total = res.data.total | ||||
|           this.name = name | ||||
|           this.nowIntegral = nowIntegral | ||||
|           this.id = id | ||||
|         } | ||||
|       }) | ||||
|     }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user