tb-company-info.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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"
  7. content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  8. <!-- 所有的 css js 资源 -->
  9. <link rel="stylesheet" href="../../static/kj/element-ui/theme-chalk/index.css">
  10. <link rel="stylesheet" href="../../static/sa.css">
  11. <script src="../../static/kj/vue.min.js"></script>
  12. <script src="../../static/kj/element-ui/index.js"></script>
  13. <script src="../../static/kj/httpVueLoader.js"></script>
  14. <script src="../../static/kj/jquery.min.js"></script>
  15. <script src="../../static/kj/layer/layer.js"></script>
  16. <script src="../../static/sa.js"></script>
  17. <style type="text/css">
  18. .c-panel .c-label {
  19. width: 8em;
  20. }
  21. .c-item .image-box-2 {
  22. height: 90px;
  23. }
  24. table {
  25. font-family: arial, sans-serif;
  26. border-collapse: collapse;
  27. width: 90%;
  28. margin-top: 20px ;
  29. margin-left: auto;
  30. margin-right: auto;
  31. }
  32. th {
  33. border: 1px solid darkgray;
  34. text-align: left;
  35. height: 24px;
  36. padding: 8px;
  37. background-color: #dddddd;
  38. }
  39. td {
  40. border: 1px solid darkgray;
  41. text-align: left;
  42. padding: 8px;
  43. }
  44. </style>
  45. </head>
  46. <body>
  47. <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
  48. <!-- ------- 内容部分 ------- -->
  49. <div class="s-body">
  50. <div class="c-panel">
  51. <el-form v-if="m">
  52. <table>
  53. <tr>
  54. <th>互市区</th>
  55. <td>{{m.tradeAreaName}}</td>
  56. <th>企业名称</th>
  57. <td>{{m.name}}</td>
  58. </tr>
  59. <tr>
  60. <th>法人</th>
  61. <td>{{m.legalPerson}}</td>
  62. <th>身份证号</th>
  63. <td>{{m.idCard}}</td>
  64. </tr>
  65. <tr>
  66. <th>手机号码</th>
  67. <td>{{m.contact}}</td>
  68. <th>税号</th>
  69. <td>{{m.dutyParagraph}}</td>
  70. </tr>
  71. <tr>
  72. <th>银行名称</th>
  73. <td>{{m.bankName}}</td>
  74. <th>银行账号</th>
  75. <td>{{m.bankAccount}}</td>
  76. </tr>
  77. <tr>
  78. <th>地址</th>
  79. <td>{{m.address}}</td>
  80. <th>营业执照</th>
  81. <td>
  82. <sa-info type="img-list" :value="m.businessLicense"></sa-info>
  83. </td>
  84. </tr>
  85. <tr>
  86. <th>创建时间</th>
  87. <td>{{sa.forDate(m.createTime, 2)}}</td>
  88. <th>创建人</th>
  89. <td>{{m.createName}}</td>
  90. </tr>
  91. <tr>
  92. <th>更新时间</th>
  93. <td>{{sa.forDate(m.updateTime, 2)}}</td>
  94. <th>更新人</th>
  95. <td>{{m.updateName}}</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. mounted: function() {
  119. sa.ajax('/level-two-server/TbCompany/getById?id=' + this.id, function(res) {
  120. this.m = res.data;
  121. if (res.data == null) {
  122. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  123. }
  124. }.bind(this))
  125. }
  126. })
  127. </script>
  128. </body>
  129. </html>