tb-person-filing-info.html 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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.deptName}}</sa-info>
  33. <sa-info name="身份证" br>{{m.idCadStr}}</sa-info>
  34. <sa-info name="边民证" br v-if="m.icCard">{{m.icCard}}</sa-info>
  35. <sa-info name="过期时间" br v-if="m.endTime">{{m.endTime}}</sa-info>
  36. <sa-info type="img" name="人脸" :value="m.photo" br></sa-info>
  37. </el-col>
  38. <el-col :span="12">
  39. <sa-info name="创建时间" br>{{m.createTime}}</sa-info>
  40. <sa-info name="更新时间" br>{{m.updateTime}}</sa-info>
  41. <sa-info type="enum" name="审核状态" :value="m.judgeState"
  42. :jv="{0: '未审核', 1: '已审核',2:'不通过'}" br></sa-info>
  43. <sa-info name="审核意见" br>{{m.judgeContent}}</sa-info>
  44. <sa-info name="审核时间" br>{{m.judgeTime}}</sa-info>
  45. <sa-info name="审核人" br>{{m.judgeBy}}</sa-info>
  46. </el-col>
  47. </el-row>
  48. </el-form>
  49. </div>
  50. </div>
  51. <!-- ------- 底部按钮 ------- -->
  52. <div class="s-foot">
  53. <el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
  54. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  55. </div>
  56. </div>
  57. <script>
  58. var app = new Vue({
  59. components: {
  60. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  61. },
  62. el: '.vue-box',
  63. data: {
  64. id: sa.p('id', 0), // 获取数据ID
  65. m: null
  66. },
  67. methods: {},
  68. mounted: function() {
  69. sa.ajax('/TbPersonFiling/getById?id=' + this.id, function(res) {
  70. this.m = res.data;
  71. if (res.data == null) {
  72. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  73. }
  74. }.bind(this))
  75. }
  76. })
  77. </script>
  78. </body>
  79. </html>