tb-people-info.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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. <el-row :gutter="50">
  29. <el-col :span="12">
  30. <sa-info name="姓名" br>{{m.name}}</sa-info>
  31. </el-col>
  32. <el-col :span="12">
  33. <sa-info name="边民号" br>{{m.code}}</sa-info>
  34. </el-col>
  35. </el-row>
  36. <el-row :gutter="50">
  37. <el-col :span="12">
  38. <sa-info type="enum" name="性别" :value="m.sex" :jv="{1: '男', 2: '女'}" br></sa-info>
  39. </el-col>
  40. <el-col :span="12">
  41. <sa-info type="num" name="年龄" :value="m.age" br></sa-info>
  42. </el-col>
  43. </el-row>
  44. <el-row :gutter="50">
  45. <el-col :span="12">
  46. <sa-info name="身份证" br>{{m.idCard}}</sa-info>
  47. </el-col>
  48. <el-col :span="12">
  49. <sa-info type="img-list" name="身份证复印件" :value="m.idCardImg" br></sa-info>
  50. </el-col>
  51. </el-row>
  52. <el-row :gutter="50">
  53. <el-col :span="12">
  54. <sa-info name="手机号码" br>{{m.phone}}</sa-info>
  55. </el-col>
  56. <el-col :span="12">
  57. <sa-info name="银行编号" br>{{m.bankNo}}</sa-info>
  58. </el-col>
  59. </el-row>
  60. <el-row :gutter="50">
  61. <el-col :span="12">
  62. <sa-info name="银行卡号" br>{{m.bankCode}}</sa-info>
  63. </el-col>
  64. <el-col :span="12">
  65. <sa-info name="银行名称" br>{{m.bankName}}</sa-info>
  66. </el-col>
  67. </el-row>
  68. <el-row :gutter="50">
  69. <el-col :span="12">
  70. <sa-info type="enum" name="所属互助组" :value="m.groupId" :jv="{1: '测试组'}" br></sa-info>
  71. </el-col>
  72. <el-col :span="12">
  73. <sa-info name="互助组名称" br>{{m.groupName}}</sa-info>
  74. </el-col>
  75. </el-row>
  76. <el-row :gutter="50">
  77. <el-col :span="12">
  78. <sa-info type="enum" name="是否可用" :value="m.status" :jv="{0: '否', 1: '是'}" br></sa-info>
  79. </el-col>
  80. <el-col :span="12">
  81. <sa-info type="num" name="角色" :value="m.role" br></sa-info>
  82. </el-col>
  83. </el-row>
  84. <el-row :gutter="50">
  85. <el-col :span="12">
  86. <sa-info name="经度" br>{{m.lng}}</sa-info>
  87. </el-col>
  88. <el-col :span="12">
  89. <sa-info name="纬度" br>{{m.lat}}</sa-info>
  90. </el-col>
  91. </el-row>
  92. <el-row :gutter="50">
  93. <el-col :span="12">
  94. <sa-info name="最后一次下单定位" br>{{m.lastLocation}}</sa-info>
  95. </el-col>
  96. <el-col :span="12">
  97. <sa-info name="联系地址" br>{{m.address}}</sa-info>
  98. </el-col>
  99. </el-row>
  100. <el-row :gutter="50">
  101. <el-col :span="12">
  102. <sa-info name="详细地址" br>{{m.detailAddress}}</sa-info>
  103. </el-col>
  104. <el-col :span="12">
  105. <sa-info name="是否锁定" br>{{m.isLock}}</sa-info>
  106. </el-col>
  107. </el-row>
  108. <el-row :gutter="50">
  109. <el-col :span="12">
  110. <sa-info name="当天剩余额度" br>{{m.leftPrice}}</sa-info>
  111. </el-col>
  112. </el-row>
  113. <!-- <sa-info name="" br>{{m.judgeStatus}}</sa-info>
  114. <sa-info name="" br>{{m.judgeContent}}</sa-info>
  115. <sa-info name="" br>{{m.registerTime}}</sa-info>
  116. <sa-info name="" br>{{m.judgeTime}}</sa-info>
  117. <sa-info name="" br>{{m.personId}}</sa-info> -->
  118. <!-- <sa-info type="enum" name="删除状态" :value="m.deleteStatus" :jv="{0: '禁用', 1: '启用'}" br></sa-info> -->
  119. </el-form>
  120. </div>
  121. </div>
  122. <!-- ------- 底部按钮 ------- -->
  123. <div class="s-foot">
  124. <el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
  125. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  126. </div>
  127. </div>
  128. <script>
  129. var app = new Vue({
  130. components: {
  131. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  132. },
  133. el: '.vue-box',
  134. data: {
  135. id: sa.p('id', 0), // 获取数据ID
  136. m: null
  137. },
  138. methods: {
  139. },
  140. mounted: function() {
  141. sa.ajax('/level-one-server/TbPeople/getById?id=' + this.id, function(res) {
  142. this.m = res.data;
  143. if(res.data == null) {
  144. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  145. }
  146. }.bind(this))
  147. }
  148. })
  149. </script>
  150. </body>
  151. </html>