tb-driver-info.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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.idCard}}</sa-info>
  34. </el-col>
  35. </el-row>
  36. <el-row :gutter="50">
  37. <el-col :span="12">
  38. <sa-info name="审核状态" br>{{m.auditStatus}}</sa-info>
  39. </el-col>
  40. <el-col :span="12">
  41. <sa-info name="审核时间" br>{{m.auditTime}}</sa-info>
  42. </el-col>
  43. </el-row>
  44. <el-row :gutter="50">
  45. <el-col :span="12">
  46. <sa-info name="注册时间" br>{{m.registerTime}}</sa-info>
  47. </el-col>
  48. <el-col :span="12">
  49. <sa-info name="创建时间" br>{{m.createTime}}</sa-info>
  50. </el-col>
  51. </el-row>
  52. <!-- <el-row :gutter="50">
  53. <el-col :span="12">
  54. <sa-info type="img-list" name="身份证照片" :value="m.idCardImg" br></sa-info>
  55. </el-col>
  56. <el-col :span="12">
  57. <sa-info name="驾驶证号" br>{{m.drivingLicenseId}}</sa-info>
  58. </el-col>
  59. </el-row>
  60. <el-row :gutter="50">
  61. <el-col :span="12">
  62. <sa-info type="img-list" name="驾驶证照片" :value="m.drivingLicenseImg" br></sa-info>
  63. </el-col>
  64. <el-col :span="12">
  65. <sa-info name="车辆行驶证号" br>{{m.vehicleDrivingId}}</sa-info>
  66. </el-col>
  67. </el-row>
  68. <el-row :gutter="50">
  69. <el-col :span="12">
  70. <sa-info type="img-list" name="车辆行驶证照片" :value="m.vehicleDrivingImg" br></sa-info>
  71. </el-col>
  72. <el-col :span="12">
  73. <sa-info type="img-list" name="车辆前脸照" :value="m.vehicleImg" br></sa-info>
  74. </el-col>
  75. </el-row> -->
  76. <!-- <sa-info name="注册时间" br>{{m.registerTime}}</sa-info> -->
  77. <!-- <sa-info type="enum" name="审核状态" :value="m.auditStatus" :jv="{0: '待审核,1'}" br></sa-info>
  78. <sa-info name="审核人" br>{{m.auditBy}}</sa-info>
  79. <sa-info name="审核时间" br>{{m.auditTime}}</sa-info>
  80. <sa-info name="审核不通过原因" br>{{m.nopassReason}}</sa-info> -->
  81. </el-form>
  82. </div>
  83. </div>
  84. <!-- ------- 底部按钮 ------- -->
  85. <div class="s-foot">
  86. <el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
  87. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  88. </div>
  89. </div>
  90. <script>
  91. var app = new Vue({
  92. components: {
  93. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  94. },
  95. el: '.vue-box',
  96. data: {
  97. id: sa.p('id', 0), // 获取数据ID
  98. m: null,
  99. },
  100. methods: {
  101. },
  102. mounted: function() {
  103. sa.ajax('/transport-server/TbDriver/getById?id=' + this.id, function(res) {
  104. this.m = res.data;
  105. if(res.data == null) {
  106. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  107. }
  108. }.bind(this))
  109. }
  110. })
  111. </script>
  112. </body>
  113. </html>