阅行客电子档案
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

111 lines
2.9 KiB

  1. <template>
  2. <!-- 选择发送对象 -->
  3. <el-dialog append-to-body :close-on-click-modal="false" :visible.sync="detailVisible" title="通知详情" @close="handleClose">
  4. <span class="dialog-right-top" />
  5. <span class="dialog-left-bottom" />
  6. <div class="setting-dialog">
  7. <span class="message-type-title type-title1">系统通知</span>
  8. <div class="notify-item">
  9. <p>标题{{ rowData.noticeTitle }}</p>
  10. </div>
  11. <div class="notify-item">
  12. <span class="notify-title">内容</span>
  13. <div class="notify-cont">
  14. {{ rowData.noticeContext }}
  15. </div>
  16. </div>
  17. <div class="notify-item">
  18. <span class="notify-title">发送对象</span>
  19. <div class="notify-cont">
  20. <p v-if="rowData.noticeDevices && rowData.noticeDevices !== ''">{{ rowData.noticeDevices }}</p>
  21. <p v-if="rowData.noticeUsers && rowData.noticeUsers !== ''">{{ rowData.noticeUsers }}</p>
  22. </div>
  23. </div>
  24. <div class="notify-create">
  25. <span>创建人{{ rowData.createBy }}</span>
  26. <span>创建时间{{ rowData.createTime | parseTime }}</span>
  27. </div>
  28. </div>
  29. <div slot="footer" class="dialog-footer">
  30. <el-button type="primary" @click="detailVisible=false">确定</el-button>
  31. </div>
  32. </el-dialog>
  33. </template>
  34. <script>
  35. export default {
  36. data() {
  37. return {
  38. detailVisible: false,
  39. rowData: {}
  40. }
  41. },
  42. watch: {
  43. },
  44. created() {
  45. },
  46. mounted() {
  47. },
  48. methods: {
  49. handleClose() {
  50. this.detailVisible = false
  51. }
  52. }
  53. }
  54. </script>
  55. <style lang='scss' scoped>
  56. ::v-deep .el-dialog .el-dialog__body{
  57. padding: 20px 0;
  58. }
  59. .dialog-footer, .el-message-box__btns{
  60. margin-top: 20px;
  61. }
  62. .message-type-title{
  63. display: block;
  64. padding-left: 33px;
  65. height: 33px;
  66. line-height: 33px;
  67. margin-bottom: 15px;
  68. &.type-title1{
  69. background: url('~@/assets/images/icon/xttz.png') no-repeat left center;
  70. background-size: 23px 23px;
  71. }
  72. &.type-title2{
  73. background: url('~@/assets/images/icon/lcdd.png') no-repeat left center;
  74. background-size: 23px 23px;
  75. }
  76. &.type-title3{
  77. background: url('~@/assets/images/icon/lcwc.png') no-repeat left center;
  78. background-size: 23px 23px;
  79. }
  80. &.type-title4{
  81. background: url('~@/assets/images/icon/fqdq.png') no-repeat left center;
  82. background-size: 23px 23px;
  83. }
  84. }
  85. .notify-item{
  86. margin-bottom: 10px;
  87. color: #0C0E1E;
  88. .notify-title{
  89. line-height: 30px;
  90. }
  91. .notify-cont{
  92. padding: 10px;
  93. height: 120px;
  94. overflow: hidden;
  95. overflow-y: scroll;
  96. border-radius: 3px;
  97. color: #545B65;
  98. border: 1px solid #E6E8ED;
  99. }
  100. }
  101. .notify-create{
  102. display: flex;
  103. justify-content: space-between;
  104. padding: 10px 10px 0 10px;
  105. font-size: 12px;
  106. color: #A6ADB6;
  107. }
  108. </style>