积分导出
This commit is contained in:
		| @@ -40,7 +40,7 @@ | |||||||
|                        :selectList="dict.getDict('srScoreType')"/> |                        :selectList="dict.getDict('srScoreType')"/> | ||||||
|           </template> |           </template> | ||||||
|           <template #right> |           <template #right> | ||||||
|             <ai-download :instance="instance" :url="`/app/appscoredetail/listExport?id=${$route.query.id}`" :params="search" fileName="网格员余额变动明细" |             <ai-download :instance="instance" :url="`/app/appscoredetail/listExport?sysUserId=${data.id}`" :params="search" fileName="余额变动明细" | ||||||
|                          :disabled="tableData.length == 0"> |                          :disabled="tableData.length == 0"> | ||||||
|               <el-button size="small">导出</el-button> |               <el-button size="small">导出</el-button> | ||||||
|             </ai-download> |             </ai-download> | ||||||
| @@ -93,6 +93,7 @@ export default { | |||||||
|       return [ |       return [ | ||||||
|         {prop: "createTime", label: '时间', align: "center",width: "200px"}, |         {prop: "createTime", label: '时间', align: "center",width: "200px"}, | ||||||
|         {prop: "scoreType", label: '类型', align: "center", width: "240px", dict: "srScoreType"}, |         {prop: "scoreType", label: '类型', align: "center", width: "240px", dict: "srScoreType"}, | ||||||
|  |         {prop: "scoreCalcType", label: '积分变动类型', align: "center", dict: 'srScoreCalcType'}, | ||||||
|         {prop: "changeScore", label: '变动积分', align: "center",}, |         {prop: "changeScore", label: '变动积分', align: "center",}, | ||||||
|         {prop: "nowScore", label: '剩余积分', align: "center", width: "200px"}, |         {prop: "nowScore", label: '剩余积分', align: "center", width: "200px"}, | ||||||
|         {prop: "eventDesc", label: '事件', align: "center",'show-overflow-tooltip': true}, |         {prop: "eventDesc", label: '事件', align: "center",'show-overflow-tooltip': true}, | ||||||
| @@ -100,7 +101,7 @@ export default { | |||||||
|     } |     } | ||||||
|   }, |   }, | ||||||
|   created() { |   created() { | ||||||
|     this.$dict.load('srScoreType').then(() => { |     this.$dict.load('srScoreType', 'srScoreCalcType').then(() => { | ||||||
|       this.getDetail() |       this.getDetail() | ||||||
|       let nowTime = dayjs().format('YYYY-MM-DD') |       let nowTime = dayjs().format('YYYY-MM-DD') | ||||||
|       this.startPla = dayjs().subtract(29, 'day').format('YYYY-MM-DD') |       this.startPla = dayjs().subtract(29, 'day').format('YYYY-MM-DD') | ||||||
|   | |||||||
| @@ -13,7 +13,7 @@ | |||||||
|                       @success="getTableData()"> |                       @success="getTableData()"> | ||||||
|               <el-button icon="iconfont iconImport">导入</el-button> |               <el-button icon="iconfont iconImport">导入</el-button> | ||||||
|             </ai-import> --> |             </ai-import> --> | ||||||
|             <ai-download :instance="instance" url="/app/appscoredetail/userListExport " :params="search" :fileName="menuName" |             <ai-download :instance="instance" url="/app/appscoredetail/userListExport" :params="search" :fileName="menuName" | ||||||
|                          :disabled="tableData.length == 0"> |                          :disabled="tableData.length == 0"> | ||||||
|             </ai-download> |             </ai-download> | ||||||
|             <el-input size="small" placeholder="姓名" v-model="search.name" clearable |             <el-input size="small" placeholder="姓名" v-model="search.name" clearable | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user