BUG 29675
This commit is contained in:
		| @@ -80,7 +80,7 @@ export default { | |||||||
|       return [ |       return [ | ||||||
|         {prop: 'doTime', label: '时间', width: 200}, |         {prop: 'doTime', label: '时间', width: 200}, | ||||||
|         {prop: "type", label: "类型", dict: "integralDetailType", align: 'center'}, |         {prop: "type", label: "类型", dict: "integralDetailType", align: 'center'}, | ||||||
|         {prop: 'changeIntegral', align: 'center', label: '变动积分', formart: v => v > 0 ? `+${v}` : `-${v}`}, |         {prop: 'changeIntegral', align: 'center', label: '变动积分', render: (h, {row}) => h('p', `${row.integralCalcType == 1 ? '+' : '-'}${row.changeIntegral}`)}, | ||||||
|         {prop: 'nowIntegral', align: 'center', label: '剩余积分'}, |         {prop: 'nowIntegral', align: 'center', label: '剩余积分'}, | ||||||
|         {prop: 'eventDesc', label: '事件', width: 500} |         {prop: 'eventDesc', label: '事件', width: 500} | ||||||
|       ] |       ] | ||||||
|   | |||||||
| @@ -69,7 +69,7 @@ export default { | |||||||
|       return [ |       return [ | ||||||
|         {prop: 'doTime', label: '时间', width: 200}, |         {prop: 'doTime', label: '时间', width: 200}, | ||||||
|         {prop: "type", label: "类型", dict: "integralDetailType", align: 'center'}, |         {prop: "type", label: "类型", dict: "integralDetailType", align: 'center'}, | ||||||
|         {prop: 'changeIntegral', align: 'center', label: '变动积分', formart: v => v > 0 ? `+${v}` : `-${v}`}, |         {prop: 'changeIntegral', align: 'center', label: '变动积分', render: (h, {row}) => h('p', `${row.integralCalcType == 1 ? '+' : '-'}${row.changeIntegral}`)}, | ||||||
|         {prop: 'nowIntegral', align: 'center', label: '剩余积分'}, |         {prop: 'nowIntegral', align: 'center', label: '剩余积分'}, | ||||||
|         {prop: 'eventDesc', label: '事件', width: 500} |         {prop: 'eventDesc', label: '事件', width: 500} | ||||||
|       ] |       ] | ||||||
|   | |||||||
| @@ -103,7 +103,8 @@ export default { | |||||||
|       return [ |       return [ | ||||||
|         {prop: 'doTime', label: '时间', width: 200}, |         {prop: 'doTime', label: '时间', width: 200}, | ||||||
|         {prop: "type", label: "类型", dict: "integralDetailType", align: 'center'}, |         {prop: "type", label: "类型", dict: "integralDetailType", align: 'center'}, | ||||||
|         {prop: 'changeIntegral', align: 'center', label: '变动积分', formart: v => v > 0 ? `+${v}` : `-${v}`}, |         {prop: 'changeIntegral', align: 'center', label: '变动积分', | ||||||
|  |           render: (h, {row}) => h('p', `${row.integralCalcType == 1 ? '+' : '-'}${row.changeIntegral}`)}, | ||||||
|         {prop: 'nowIntegral', align: 'center', label: '剩余积分'}, |         {prop: 'nowIntegral', align: 'center', label: '剩余积分'}, | ||||||
|         {prop: 'eventDesc', label: '事件', width: 500} |         {prop: 'eventDesc', label: '事件', width: 500} | ||||||
|       ] |       ] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user