cc9e79710ef0381dc0ca00106358daeece21d732.svn-base 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <template>
  2. <transition name="el-fade-in-linear">
  3. <draggable :title="'人员信息'" initTop=160 initLeft=20 initWidth=310 initHeight=450
  4. @closeDraggable='closeModal_people'>
  5. <div class="process_line" style="text-align: center;">
  6.   <div style="width:100%; height:210px;text-align:center; padding-top:10px;">
  7.    <img v-if="peopleDetail.imgurl != null" style="width: 150px;height: 200px;"
  8. :src="`/pdcApi` + peopleDetail.imgurl" alt="">
  9. <img v-else src="../../../static/pic.jpg" alt="">
  10.   </div>
  11. <div style="width:100%;height:35px;text-align:center; padding-top:0;font-size: 18px;font-weight: bold;">
  12.    <p>{{peopleDetail.persName}}</p>
  13.   </div>
  14. <div class="item content4">
  15. <div class="item item2">
  16. <span class="label">单 位:</span>
  17. <div style="width:170px;border-bottom:1px solid #dddddd;display: inline-block;">
  18. <span class="spanInlineBlock" :title="peopleDetail.orgNm">{{peopleDetail.orgNm || "---"}}</span>
  19. </div>
  20. </div>
  21. <div class="item item2">
  22. <span class="label">职务/职称:</span>
  23. <div style="width:170px;border-bottom:1px solid #dddddd;display: inline-block;">
  24. <span class="spanInlineBlock" :title="peopleDetail.admDuty">{{peopleDetail.admDuty || "---"}}</span>
  25. </div>
  26. </div>
  27. <div class="item item2">
  28. <span class="label">编 号:</span>
  29. <div style="width:170px;border-bottom:1px solid #dddddd;display: inline-block;">
  30. <span class="spanInlineBlock" :title="peopleDetail.idnm">{{peopleDetail.idnm || "---"}}</span>
  31. </div>
  32. </div>
  33. </div>
  34. <!-- <span style="font-size:14px;margin-left: 5px;">时间范围:</span>
  35. <el-date-picker size='mini' format="yyyy-MM-dd HH:mm" value-format="yyyy-MM-dd HH:mm:ss" style="width: 296px;"
  36. v-model="value5" type="datetimerange" :picker-options="pickerOptions2" range-separator="至"
  37. start-placeholder="开始日期" end-placeholder="结束日期" align="right">
  38. </el-date-picker> -->
  39. <div style="padding-top: 20px;">
  40. <el-button @click="peopleTrail(peopleDetail.guid)"
  41. style="margin-top: 5px;margin-left: 50px;padding: 7px 12px;" type="primary" size="mini">历史轨迹</el-button>
  42. <el-button @click="showGroupInfo(peopleDetail.guid,peopleDetail.permission,peopleDetail.persName)" style="float:right;margin-top: 5px;margin-right: 50px;padding: 7px 12px;" type="primary" size="mini">督查组</el-button>
  43. </div>
  44. </div>
  45. </draggable>
  46. </transition>
  47. </template>
  48. <script>
  49. import draggable from './draggableForPersonInfo'
  50. export default {
  51. name: "personInfo",
  52. components:{
  53. draggable,
  54. },
  55. props:['perInfoCon'],
  56. data(){
  57. return {
  58. peopleDetail:this.perInfoCon,
  59. value5:''
  60. }
  61. },
  62. watch:{
  63. perInfoCon(val){
  64. this.peopleDetail = val;
  65. }
  66. },
  67. methods:{
  68. // 关闭人员弹窗
  69. closeModal_people() {
  70. this.$emit('closePerInfo','ryxx')
  71. },
  72. showGroupInfo(id,isAdmin,persName){
  73. this.$emit('showGroupInfo',id,isAdmin,persName);
  74. },
  75. peopleTrail(id){
  76. this.$emit('trackHistory',id);
  77. }
  78. }
  79. }
  80. </script>
  81. <style scoped>
  82. .process_line .item .label {
  83. display: inline-block;
  84. width: 80px;
  85. text-align: right;
  86. font-size: 14px;
  87. font-family: PingFang-SC-Bold;
  88. font-weight: 700;
  89. color: #333;
  90. }
  91. .process_line .item2, #kjrmap .process_line .item_sk {
  92. margin-top: 10px;
  93. display: inline-block;
  94. }
  95. .spanInlineBlock{
  96. width: 100%;
  97. font-size:14px;
  98. display: inline-block;
  99. white-space: nowrap;
  100. overflow: hidden;
  101. text-overflow: ellipsis;
  102. }
  103. </style>