tb-purchaser-info.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. table {
  21. font-family: arial, sans-serif;
  22. border-collapse: collapse;
  23. width: 90%;
  24. margin-top: 22px ;
  25. margin-left: auto;
  26. margin-right: auto;
  27. }
  28. th {
  29. border: 1px solid darkgray;
  30. text-align: left;
  31. height: 22px;
  32. padding: 8px;
  33. background-color: #dddddd;
  34. }
  35. td {
  36. border: 1px solid darkgray;
  37. text-align: left;
  38. padding: 8px;
  39. }
  40. </style>
  41. </head>
  42. <body>
  43. <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
  44. <!-- ------- 内容部分 ------- -->
  45. <div class="s-body">
  46. <div class="c-panel">
  47. <el-form v-if="m">
  48. <table>
  49. <tr>
  50. <th>企业名称</th>
  51. <td>{{m.businessName}}</td>
  52. <th>企业法人</th>
  53. <td>{{m.legalPerson}}</td>
  54. </tr>
  55. <tr>
  56. <th>统一社会信用代码</th>
  57. <td>{{m.dutyParagraph}}</td>
  58. <th>营业执照</th>
  59. <td>
  60. <sa-info type="img-list" :value="m.businessLicense"></sa-info>
  61. </td>
  62. </tr>
  63. <tr>
  64. <th>联系人</th>
  65. <td>{{m.name}}</td>
  66. <th>邮箱</th>
  67. <td>{{m.email}}</td>
  68. </tr>
  69. <tr>
  70. <th>联系电话</th>
  71. <td>{{m.contact}}</td>
  72. <th>身份证号</th>
  73. <td>{{m.idCard}}</td>
  74. </tr>
  75. <tr>
  76. <th>银行名称</th>
  77. <td>{{m.bankName}}</td>
  78. <th>银行编号</th>
  79. <td>{{m.bankNo}}</td>
  80. </tr>
  81. <tr>
  82. <th>银行账号</th>
  83. <td>{{m.bankAccount}}</td>
  84. <th>企业地址</th>
  85. <td>{{m.address}}</td>
  86. </tr>
  87. <tr>
  88. <th>审核状态</th>
  89. <td>
  90. <b v-if="m.judgeStatus == 0">未审核</b>
  91. <b v-if="m.judgeStatus == 1">审核通过</b>
  92. <b v-if="m.judgeStatus == 2">审核驳回</b>
  93. </td>
  94. <th>审核时间</th>
  95. <td>{{sa.forDate(m.judgeTime)}}</td>
  96. </tr>
  97. </table>
  98. </el-form>
  99. </div>
  100. </div>
  101. <!-- ------- 底部按钮 ------- -->
  102. <div class="s-foot">
  103. <el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
  104. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  105. </div>
  106. </div>
  107. <script>
  108. var app = new Vue({
  109. components: {
  110. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  111. },
  112. el: '.vue-box',
  113. data: {
  114. id: sa.p('id', 0), // 获取数据ID
  115. m: null
  116. },
  117. methods: {
  118. maskId:function (id) {
  119. return id.replace(/^(.{6})(.*)(.{4})$/,'$1********$3');
  120. },
  121. maskPhone:function (phone) {
  122. return phone.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2');
  123. },
  124. },
  125. mounted: function() {
  126. sa.ajax('/level-two-server/TbPurchaser/getById?id=' + this.id, function(res) {
  127. this.m = res.data;
  128. if(res.data == null) {
  129. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  130. }
  131. }.bind(this))
  132. }
  133. })
  134. </script>
  135. </body>
  136. </html>