Merge branch 'dev_优惠券优化'
Showing
2 changed files
with
4 additions
and
0 deletions
@@ -214,6 +214,7 @@ | @@ -214,6 +214,7 @@ | ||
214 | <tr> | 214 | <tr> |
215 | <th>操作类型</th> | 215 | <th>操作类型</th> |
216 | <th>操作人</th> | 216 | <th>操作人</th> |
217 | + <th>部门</th> | ||
217 | <th>执行时间</th> | 218 | <th>执行时间</th> |
218 | </tr> | 219 | </tr> |
219 | </thead> | 220 | </thead> |
@@ -223,6 +224,7 @@ | @@ -223,6 +224,7 @@ | ||
223 | <tr> | 224 | <tr> |
224 | <td>[[item.operationType]]</td> | 225 | <td>[[item.operationType]]</td> |
225 | <td>[[item.operator]]</td> | 226 | <td>[[item.operator]]</td> |
227 | + <td>[[item.deptName]]</td> | ||
226 | <td>[[item.createTime]]</td> | 228 | <td>[[item.createTime]]</td> |
227 | </tr> | 229 | </tr> |
228 | [[/each]] | 230 | [[/each]] |
@@ -385,6 +385,8 @@ function getOperationRecords(couponId) { | @@ -385,6 +385,8 @@ function getOperationRecords(couponId) { | ||
385 | var data = resp.data; | 385 | var data = resp.data; |
386 | covertOperationRecord(data) | 386 | covertOperationRecord(data) |
387 | $('.historyDetail').html(common.util.__template2($('#operation-record-template').html(), {list: data})); | 387 | $('.historyDetail').html(common.util.__template2($('#operation-record-template').html(), {list: data})); |
388 | + } else { | ||
389 | + $('.historyDetail').html('<p>查询记录失败!</p>'); | ||
388 | } | 390 | } |
389 | }, true); | 391 | }, true); |
390 | } | 392 | } |
-
Please register or login to post a comment