tb-cooperative-info.html 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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="../../static/kj/element-ui/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. <style type="text/css">
  17. .c-panel .c-label{width: 8em;}
  18. .c-item .image-box-2{height: 90px;}
  19. </style>
  20. </head>
  21. <body>
  22. <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
  23. <!-- ------- 内容部分 ------- -->
  24. <div class="s-body">
  25. <div class="c-panel">
  26. <el-form v-if="m">
  27. <sa-info type="num" name="主键" :value="m.id" br></sa-info>
  28. <sa-info name="名称" br>{{m.name}}</sa-info>
  29. <sa-info name="法人" br>{{m.legalPerson}}</sa-info>
  30. <sa-info name="身份证号" br>{{m.idCard}}</sa-info>
  31. <sa-info name="手机号码" br>{{m.contact}}</sa-info>
  32. <sa-info type="img-list" name="营业执照" :value="m.businessLicense" br></sa-info>
  33. <sa-info name="银行名称" br>{{m.bankName}}</sa-info>
  34. <sa-info name="银行账号" br>{{m.bankAccount}}</sa-info>
  35. <sa-info name="税号" br>{{m.dutyParagraph}}</sa-info>
  36. <sa-info name="地址" br>{{m.address}}</sa-info>
  37. <sa-info type="enum" name="审核状态" :value="m.judgeStatus" :jv="{0: '未通过', 1: '已通过', 2: '审核不通过'}" br></sa-info>
  38. <sa-info name="审核意见" br>{{m.judgeContent}}</sa-info>
  39. <sa-info type="datetime" name="上次审核时间" :value="m.judgeTime" br></sa-info>
  40. <sa-info type="datetime" name="注册时间" :value="m.registerTime" br></sa-info>
  41. <sa-info name="创建时间" br>{{m.createTime}}</sa-info>
  42. <sa-info name="创建人编号" br>{{m.createBy}}</sa-info>
  43. <sa-info name="创建人名称" br>{{m.createName}}</sa-info>
  44. <sa-info name="更新时间" br>{{m.updateTime}}</sa-info>
  45. <sa-info name="更新人编号" br>{{m.updateBy}}</sa-info>
  46. <sa-info name="更新人名称" br>{{m.updateName}}</sa-info>
  47. <sa-info type="enum" name="删除状态" :value="m.deleteStatus" :jv="{0: '禁用', 1: '启用'}" br></sa-info>
  48. <sa-info name="0=锁住1=启用" br>{{m.isLock}}</sa-info>
  49. <sa-info name="审核人" br>{{m.judgeBy}}</sa-info>
  50. </el-form>
  51. </div>
  52. </div>
  53. <!-- ------- 底部按钮 ------- -->
  54. <div class="s-foot">
  55. <el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
  56. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  57. </div>
  58. </div>
  59. <script>
  60. var app = new Vue({
  61. components: {
  62. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  63. },
  64. el: '.vue-box',
  65. data: {
  66. id: sa.p('id', 0), // 获取数据ID
  67. m: null
  68. },
  69. methods: {
  70. },
  71. mounted: function() {
  72. sa.ajax('/TbCooperative/getById?id=' + this.id, function(res) {
  73. this.m = res.data;
  74. if(res.data == null) {
  75. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  76. }
  77. }.bind(this))
  78. }
  79. })
  80. </script>
  81. </body>
  82. </html>