ff3f4bb2a57d5c90f41badb717aadba9cb9ca84c.svn-base 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <template>
  2. <div class="popupContentClass" :style="{'height':testHeight1+'px'}">
  3. <el-row class="rowClass">
  4. <el-col :span="3" class="nameClass">项目名称:</el-col>
  5. <el-col :span="9" class="valueClass" :style="{'height':testHeight+'px'}">{{curEventInfo.wtdstNm}}</el-col>
  6. <el-col :span="3" class="nameClass">项目位置:</el-col>
  7. <el-col :span="9" class="valueClass" :style="{'height':testHeight+'px'}">{{curEventInfo.locNm}}</el-col>
  8. </el-row>
  9. <el-row class="rowClass">
  10. <el-col :span="3" class="nameClass">计划完成:</el-col>
  11. <el-col :span="9" class="valueClass" :style="{'height':testHeight+'px'}">{{curEventInfo.planRcvrTm==null?'-':curEventInfo.planRcvrTm}}</el-col>
  12. <el-col :span="3" class="nameClass">项目进度:</el-col>
  13. <el-col :span="9" class="valueClass" :style="{'height':testHeight+'px'}">{{curEventInfo.wtdstState == '2' ? '待开工' : curEventInfo.wtdstState == '1' ? '正修复' : curEventInfo.wtdstState == '0' ? '已修复' : ''}}</el-col>
  14. </el-row>
  15. <el-row class="rowClass">
  16. <el-col :span="3" class="nameClass">水毁情况:</el-col>
  17. <el-col :span="21" class="valueClass" :style="{'height':testHeight+'px'}">{{curEventInfo.wtdstDtle}}</el-col>
  18. </el-row>
  19. <el-row class="rowClass">
  20. <el-col :span="3" class="nameClass">建议措施:</el-col>
  21. <el-col :span="21" class="valueClass" :style="{'height':testHeight+'px'}">{{curEventInfo.adNm}}</el-col>
  22. </el-row>
  23. <el-row class="rowClass">
  24. <el-col :span="3" class="nameClass">备注:</el-col>
  25. <el-col :span="21" class="valueClass" :style="{'height':testHeight+'px'}">{{curEventInfo.note}}</el-col>
  26. </el-row>
  27. </div>
  28. </template>
  29. <script>
  30. export default {
  31. name: "WaterloggingProject",
  32. components:{
  33. },
  34. props:['shInfoCon'],
  35. data(){
  36. return {
  37. testHeight:(window.innerHeight * 0.5 - 30) / 5,
  38. testHeight1:window.innerHeight * 0.5,
  39. curEventInfo:this.shInfoCon,
  40. }
  41. },
  42. computed: {
  43. persId() {
  44. return localStorage.getItem("userid")? localStorage.getItem("userid"): "1098101939614724096";
  45. }
  46. },
  47. mounted(){
  48. },
  49. watch:{
  50. shInfoCon(val){
  51. this.curEventInfo = val;
  52. }
  53. },
  54. methods:{
  55. }
  56. }
  57. </script>
  58. <style scoped>
  59. @import "../../../assets/css/popup.css";
  60. </style>