tb-people-profit-record-info.html 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>边民收益记录-详情</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  6. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  7. <!-- 所有的 css js 资源 -->
  8. <link rel="stylesheet" href="../../static/kj/element-ui/theme-chalk/index.css">
  9. <link rel="stylesheet" href="../../static/sa.css">
  10. <script src="../../static/kj/vue.min.js"></script>
  11. <script src="../../static/kj/element-ui/index.js"></script>
  12. <script src="../../static/kj/httpVueLoader.js"></script>
  13. <script src="../../static/kj/jquery.min.js"></script>
  14. <script src="../../static/kj/layer/layer.js"></script>
  15. <script src="../../static/sa.js"></script>
  16. <style type="text/css">
  17. .c-panel .c-label{width: 8em;}
  18. </style>
  19. </head>
  20. <body>
  21. <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
  22. <!-- ------- 内容部分 ------- -->
  23. <div class="s-body">
  24. <div class="c-panel">
  25. <el-form v-if="m">
  26. <sa-info name="主键" br>{{m.id}}</sa-info>
  27. <sa-info name="边民ID" br>{{m.peopleId}}</sa-info>
  28. <sa-info name="边民姓名" br>{{m.peopleName}}</sa-info>
  29. <sa-info name="二级市场订单ID" br>{{m.levelTwoOrderId}}</sa-info>
  30. <sa-info name="二级市场订单号" br>{{m.levelTwoOrderNo}}</sa-info>
  31. <sa-info name="收益金额" br>{{m.price}}</sa-info>
  32. <sa-info name="收益类型" br>{{m.profitType}}</sa-info>
  33. <sa-info name="收益数值" br>{{m.profitNum}}</sa-info>
  34. <sa-info name="创建时间" br>{{m.createTime}}</sa-info>
  35. <sa-info name="支付/划拨时间" br>{{m.payTime}}</sa-info>
  36. <sa-info type="enum" name="支付/划拨状态" :value="m.payStatus" :jv="{0: '未划拨', 1: '划拨成功', 2: '划拨失败'}" br></sa-info>
  37. <sa-info name="支付备注" br>{{m.payRemark}}</sa-info>
  38. </el-form>
  39. </div>
  40. </div>
  41. <!-- ------- 底部按钮 ------- -->
  42. <div class="s-foot">
  43. <el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
  44. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  45. </div>
  46. </div>
  47. <script>
  48. var app = new Vue({
  49. components: {
  50. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  51. },
  52. el: '.vue-box',
  53. data: {
  54. id: sa.p('id', 0), // 获取数据ID
  55. m: null
  56. },
  57. methods: {
  58. },
  59. mounted: function() {
  60. sa.ajax('/TbPeopleProfitRecord/getById?id=' + this.id, function(res) {
  61. this.m = res.data;
  62. if(res.data == null) {
  63. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  64. }
  65. }.bind(this))
  66. }
  67. })
  68. </script>
  69. </body>
  70. </html>