219
This commit is contained in:
		@@ -37,14 +37,7 @@
 | 
				
			|||||||
                    @getList="getList" :col-configs="colConfigs" :dict="dict">
 | 
					                    @getList="getList" :col-configs="colConfigs" :dict="dict">
 | 
				
			||||||
            <el-table-column slot="changeIntegral" label="变动积分" align="center">
 | 
					            <el-table-column slot="changeIntegral" label="变动积分" align="center">
 | 
				
			||||||
              <template slot-scope="{ row }">
 | 
					              <template slot-scope="{ row }">
 | 
				
			||||||
                <span v-if="row.integralType == 3">{{ row.changeIntegral | formatTime }}</span>
 | 
					                <span>{{ row.integralCalcType == 0 ? '-' : '+' }}{{ row.changeIntegral }}</span>
 | 
				
			||||||
                <span v-if="row.integralType == 0 || row.integralType == 2">{{ row.integralCalcType == 0 ? '-' : '+' }}{{ row.changeIntegral }}</span>
 | 
					 | 
				
			||||||
              </template>
 | 
					 | 
				
			||||||
            </el-table-column>
 | 
					 | 
				
			||||||
            <el-table-column slot="integralType" label="类型" align="center">
 | 
					 | 
				
			||||||
              <template slot-scope="{ row }">
 | 
					 | 
				
			||||||
                <span v-if="row.integralType == 0">积分调整</span>
 | 
					 | 
				
			||||||
                <span v-else>{{ row.eventType }}</span>
 | 
					 | 
				
			||||||
              </template>
 | 
					              </template>
 | 
				
			||||||
            </el-table-column>
 | 
					            </el-table-column>
 | 
				
			||||||
            <el-table-column slot="eventDesc" label='事件' align="center" width="400px" show-overflow-tooltip>
 | 
					            <el-table-column slot="eventDesc" label='事件' align="center" width="400px" show-overflow-tooltip>
 | 
				
			||||||
@@ -87,9 +80,9 @@
 | 
				
			|||||||
      colConfigs() {
 | 
					      colConfigs() {
 | 
				
			||||||
        return [
 | 
					        return [
 | 
				
			||||||
          {prop: "doTime", label: '时间', align: "left", width: "200px"},
 | 
					          {prop: "doTime", label: '时间', align: "left", width: "200px"},
 | 
				
			||||||
          {slot: "integralType", label: '类型', align: "center", width: "240px", dict: "integralType"},
 | 
					          {prop: "integralType", label: '类型', align: "center", width: "240px", dict: "integralType"},
 | 
				
			||||||
          {slot: "changeIntegral"},
 | 
					          {slot: "changeIntegral"},
 | 
				
			||||||
          {prop: "nowIntegral", label: '剩余积分', align: "center", width: "200px"},
 | 
					          {prop: "nowIntegral", label: '剩余积分', align: "center" },
 | 
				
			||||||
          {slot: "eventDesc"},
 | 
					          {slot: "eventDesc"},
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user