referenceCountDia.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <template>
  2. <!-- 引用次数 -->
  3. <el-dialog custom-class="refresh-setting-dialog"
  4. :title="$t('SystemManage.DataRefresh.table_reference_count')"
  5. :visible.sync="show"
  6. :close-on-click-modal="false"
  7. :modal-append-to-body="false"
  8. @close="closeDia"
  9. top="5vh"
  10. width="760px"
  11. v-dialogDrag
  12. center
  13. >
  14. <el-table :data="dataList" border max-height="600px">
  15. <el-table-column align="center" prop="RelationTime" :label="$t('SystemManage.DataRefresh.reference_time')">
  16. <template slot-scope="scope">
  17. {{scope.row.RelationTime}}
  18. </template>
  19. </el-table-column>
  20. <el-table-column align="center" prop="ReferObjectTypeName" :label="$t('SystemManage.DataRefresh.reference_source')">
  21. <template slot-scope="scope">
  22. {{scope.row.ReferObjectTypeName}}
  23. </template>
  24. </el-table-column>
  25. </el-table>
  26. <!-- 弹窗按钮 -->
  27. <div class="dialog-btn">
  28. <el-button type="primary" @click="$emit('update:show',false)" style="width: 120px;">{{$t('Dialog.known')}}</el-button>
  29. </div>
  30. </el-dialog>
  31. </template>
  32. <script>
  33. export default {
  34. name:'referenceCountDia',
  35. props:{
  36. show:{
  37. type:Boolean,
  38. default:false
  39. },
  40. dataList:{
  41. type:Array,
  42. default:()=>[]
  43. }
  44. },
  45. methods:{
  46. closeDia(){
  47. this.$emit('update:show',false)
  48. }
  49. }
  50. }
  51. </script>
  52. <style lang="scss" scoped>
  53. .rule-container{
  54. padding-left: 55px;
  55. .rule-item{
  56. display: flex;
  57. align-items: center;
  58. margin-bottom: 20px
  59. }
  60. }
  61. .dialog-btn{
  62. padding: 40px 0 30px 0;
  63. display: flex;
  64. justify-content: center
  65. }
  66. </style>