tb-enterprise-info.html 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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="https://unpkg.com/element-ui@2.13.0/lib/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. <script src="../../static/kj/upload-util.js"></script>
  18. <style type="text/css">
  19. .c-panel .c-label {
  20. width: 8em;
  21. }
  22. .c-item .image-box-2 {
  23. height: 90px;
  24. }
  25. </style>
  26. </head>
  27. <body>
  28. <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
  29. <!-- ------- 内容部分 ------- -->
  30. <div class="s-body">
  31. <div class="c-panel">
  32. <el-form v-if="m">
  33. <el-row>
  34. <el-col span="12">
  35. <sa-info name="商户名称" br>{{m.ownerName}}</sa-info>
  36. <sa-info name="法人" br>{{m.legalPerson}}</sa-info>
  37. <sa-info name="身份证号" br>{{m.idCard}}</sa-info>
  38. <sa-info name="手机号码" br>{{m.ownerTel}}</sa-info>
  39. <sa-info name="地区" br>{{m.address}}</sa-info>
  40. </el-col>
  41. <el-col span="12">
  42. <sa-info name="银行名称" br>{{m.bank}}</sa-info>
  43. <sa-info name="银行账号" br>{{m.bankAccount}}</sa-info>
  44. <sa-info name="税号" br>{{m.dutyParagraph}}</sa-info>
  45. <sa-info name="详细地址" br>{{m.detail}}</sa-info>
  46. <sa-info type="img-list" name="营业执照" :value="m.businessLicense" br></sa-info>
  47. </el-col>
  48. </el-row>
  49. </el-form>
  50. </div>
  51. </div>
  52. <!-- ------- 底部按钮 ------- -->
  53. <div class="s-foot">
  54. <el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
  55. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  56. </div>
  57. </div>
  58. <script>
  59. var app = new Vue({
  60. components: {
  61. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  62. },
  63. el: '.vue-box',
  64. data: {
  65. id: sa.p('id', 0), // 获取数据ID
  66. m: null
  67. },
  68. methods: {},
  69. mounted: function() {
  70. sa.ajax('/level-one-server/TbEnterprise/getById?id=' + this.id, function(res) {
  71. this.m = res.data;
  72. if (res.data == null) {
  73. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  74. }
  75. }.bind(this))
  76. }
  77. })
  78. </script>
  79. </body>
  80. </html>