tb-driver-check.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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 type="num" name="年龄" :value="m.age" br></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 name="手机号" br>{{m.phone}}</sa-info>
  42. </el-col>
  43. </el-row>
  44. <el-row :gutter="50">
  45. <el-col :span="12">
  46. <sa-info name="联系地址" br>{{m.address}}</sa-info>
  47. </el-col>
  48. <el-col :span="12">
  49. <sa-info name="银行卡号" br>{{m.bankCode}}</sa-info>
  50. </el-col>
  51. </el-row>
  52. <el-row :gutter="50">
  53. <el-col :span="12">
  54. <sa-info name="银行名称" br>{{m.bankName}}</sa-info>
  55. </el-col>
  56. <el-col :span="12">
  57. <sa-info name="身份证号" br>{{m.idCard}}</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.idCardImg" br></sa-info>
  63. </el-col>
  64. <el-col :span="12">
  65. <sa-info name="驾驶证号" br>{{m.drivingLicenseId}}</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.drivingLicenseImg" br></sa-info>
  71. </el-col>
  72. <el-col :span="12">
  73. <sa-info name="车辆行驶证号" br>{{m.vehicleDrivingId}}</sa-info>
  74. </el-col>
  75. </el-row>
  76. <el-row :gutter="50">
  77. <el-col :span="12">
  78. <sa-info type="img-list" name="车辆行驶证照片" :value="m.vehicleDrivingImg" br></sa-info>
  79. </el-col>
  80. <el-col :span="12">
  81. <sa-info type="img-list" name="车辆前脸照" :value="m.vehicleImg" br></sa-info>
  82. </el-col>
  83. </el-row>
  84. <!-- <sa-info name="注册时间" br>{{m.registerTime}}</sa-info> -->
  85. <!-- <sa-info type="enum" name="审核状态" :value="m.auditStatus" :jv="{0: '待审核,1'}" br></sa-info>
  86. <sa-info name="审核人" br>{{m.auditBy}}</sa-info>
  87. <sa-info name="审核时间" br>{{m.auditTime}}</sa-info>
  88. <sa-info name="审核不通过原因" br>{{m.nopassReason}}</sa-info> -->
  89. </el-form>
  90. </div>
  91. <el-row style="margin: 15px 0px;" type="flex" justify="center">
  92. <template>
  93. <el-radio v-model="auditStatus" label="1">通过</el-radio>
  94. <el-radio v-model="auditStatus" label="2">不通过</el-radio>
  95. </template>
  96. </el-row>
  97. </div>
  98. <!-- ------- 底部按钮 ------- -->
  99. <div class="s-foot">
  100. <el-button type="success" @click="check()">确定</el-button>
  101. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  102. </div>
  103. </div>
  104. <script>
  105. var app = new Vue({
  106. components: {
  107. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  108. },
  109. el: '.vue-box',
  110. data: {
  111. id: sa.p('id', 0), // 获取数据ID
  112. m: null,
  113. auditStatus: '',
  114. },
  115. methods: {
  116. check: function() {
  117. sa.closeCurrIframe()
  118. }
  119. },
  120. mounted: function() {
  121. sa.ajax('/transport-server/TbDriver/getById?id=' + this.id, function(res) {
  122. this.m = res.data;
  123. if(res.data == null) {
  124. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  125. }
  126. }.bind(this))
  127. }
  128. })
  129. </script>
  130. </body>
  131. </html>