tb-costomer-info.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. </style>
  22. </head>
  23. <body>
  24. <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
  25. <!-- ------- 内容部分 ------- -->
  26. <div class="s-body">
  27. <div class="c-panel">
  28. <el-form v-if="m">
  29. <el-row>
  30. <el-col span="12">
  31. <sa-info name="企业名称" br>{{m.name}}</sa-info>
  32. <sa-info name="联系人" br>{{m.dutyPeople}}</sa-info>
  33. <sa-info name="联系电话" br>{{m.phone}}</sa-info>
  34. <sa-info name="结算类型" br>
  35. <span v-if="m.payType == 1">现结</span>
  36. <span v-if="m.payType == 2">月结</span>
  37. </sa-info>
  38. <!-- <sa-info name="地址" br>{{m.addressStr}}</sa-info> -->
  39. <sa-info type="img" name="营业执照" :value="m.businessLicence" br></sa-info>
  40. <sa-info type="enum" name="状态" :value="m.status" :jv="{0: '禁用', 1: '启用'}" br></sa-info>
  41. </el-col>
  42. <el-col span="12">
  43. <sa-info name="创建时间" br>{{m.creareTime}}</sa-info>
  44. <sa-info type="enum" name="审核状态" :value="m.judgeStatus"
  45. :jv="{1: '未审核',2: '审核通过',3: '审核不通过'}" br></sa-info>
  46. <sa-info name="审核时间" br>{{m.judgeTime}}</sa-info>
  47. <sa-info name="审核意见" br>{{m.judgeContent}}</sa-info>
  48. <sa-info name="创建时间" br>{{m.creareTime}}</sa-info>
  49. </el-col>
  50. </el-row>
  51. </el-form>
  52. </div>
  53. </div>
  54. <!-- ------- 底部按钮 ------- -->
  55. <div class="s-foot">
  56. <el-button type="success" @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. mounted: function () {
  71. sa.ajax('/TbCostomer/getById?id=' + this.id, function (res) {
  72. this.m = res.data;
  73. if (res.data == null) {
  74. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  75. }
  76. }.bind(this))
  77. }
  78. })
  79. </script>
  80. </body>
  81. </html>