tb-people-info.html 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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="https://unpkg.com/element-ui@2.13.0/lib/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. <script src="../../static/kj/upload-util.js"></script>
  17. <style type="text/css">
  18. .c-panel .c-label{width: 8em;}
  19. .c-item .image-box-2{height: 90px;}
  20. </style>
  21. </head>
  22. <body>
  23. <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
  24. <!-- ------- 内容部分 ------- -->
  25. <div class="s-body">
  26. <div class="c-panel">
  27. <el-form v-if="m">
  28. <sa-info name="姓名" br>{{m.name}}</sa-info>
  29. <sa-info name="边民号" br>{{m.code}}</sa-info>
  30. <sa-info type="enum" name="性别" :value="m.sex" :jv="{1: '男', 2: '女'}" br></sa-info>
  31. <sa-info type="num" name="年龄" :value="m.age" br></sa-info>
  32. <sa-info name="身份证" br>{{m.idCard}}</sa-info>
  33. <sa-info type="img-list" name="身份证复印件" :value="m.idCardImg" br></sa-info>
  34. <sa-info name="手机号码" br>{{m.phone}}</sa-info>
  35. <sa-info name="银行编号" br>{{m.bankNo}}</sa-info>
  36. <sa-info name="银行卡号" br>{{m.bankCode}}</sa-info>
  37. <sa-info name="银行名称" br>{{m.bankName}}</sa-info>
  38. <sa-info type="enum" name="所属互助组" :value="m.groupId" :jv="{1: '测试组'}" br></sa-info>
  39. <sa-info name="互助组名称" br>{{m.groupName}}</sa-info>
  40. <sa-info type="enum" name="是否可用" :value="m.status" :jv="{0: '否', 1: '是'}" br></sa-info>
  41. <sa-info type="num" name="角色" :value="m.role" br></sa-info>
  42. <sa-info name="经度" br>{{m.lng}}</sa-info>
  43. <sa-info name="纬度" br>{{m.lat}}</sa-info>
  44. <sa-info name="最后一次下单定位" br>{{m.lastLocation}}</sa-info>
  45. <sa-info name="联系地址" br>{{m.address}}</sa-info>
  46. <sa-info name="地址ID" br>{{m.addressIds}}</sa-info>
  47. <sa-info name="详细地址" br>{{m.detailAddress}}</sa-info>
  48. <sa-info name="是否锁定" br>{{m.isLock}}</sa-info>
  49. <sa-info name="当天剩余额度" br>{{m.leftPrice}}</sa-info>
  50. <!-- <sa-info name="" br>{{m.judgeStatus}}</sa-info>
  51. <sa-info name="" br>{{m.judgeContent}}</sa-info>
  52. <sa-info name="" br>{{m.registerTime}}</sa-info>
  53. <sa-info name="" br>{{m.judgeTime}}</sa-info>
  54. <sa-info name="" br>{{m.personId}}</sa-info> -->
  55. <!-- <sa-info type="enum" name="删除状态" :value="m.deleteStatus" :jv="{0: '禁用', 1: '启用'}" br></sa-info> -->
  56. </el-form>
  57. </div>
  58. </div>
  59. <!-- ------- 底部按钮 ------- -->
  60. <div class="s-foot">
  61. <el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
  62. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  63. </div>
  64. </div>
  65. <script>
  66. var app = new Vue({
  67. components: {
  68. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  69. },
  70. el: '.vue-box',
  71. data: {
  72. id: sa.p('id', 0), // 获取数据ID
  73. m: null
  74. },
  75. methods: {
  76. },
  77. mounted: function() {
  78. sa.ajax('/level-one-server/TbPeople/getById?id=' + this.id, function(res) {
  79. this.m = res.data;
  80. if(res.data == null) {
  81. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  82. }
  83. }.bind(this))
  84. }
  85. })
  86. </script>
  87. </body>
  88. </html>