referenceCountDia.vue 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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-column align="center" prop="ReferObjectName" :label="$t('SystemManage.DataRefresh.reference_chart_table')">
  26. <template slot-scope="scope">
  27. {{scope.row.ReferObjectName}}
  28. </template>
  29. </el-table-column>
  30. </el-table>
  31. <!-- 弹窗按钮 -->
  32. <div class="dialog-btn">
  33. <el-button type="primary" @click="$emit('update:show',false)" style="width: 120px;">{{$t('Dialog.known')}}</el-button>
  34. </div>
  35. </el-dialog>
  36. </template>
  37. <script>
  38. export default {
  39. name:'referenceCountDia',
  40. props:{
  41. show:{
  42. type:Boolean,
  43. default:false
  44. },
  45. dataList:{
  46. type:Array,
  47. default:()=>[]
  48. }
  49. },
  50. methods:{
  51. closeDia(){
  52. this.$emit('update:show',false)
  53. }
  54. }
  55. }
  56. </script>
  57. <style lang="scss" scoped>
  58. .rule-container{
  59. padding-left: 55px;
  60. .rule-item{
  61. display: flex;
  62. align-items: center;
  63. margin-bottom: 20px
  64. }
  65. }
  66. .dialog-btn{
  67. padding: 40px 0 30px 0;
  68. display: flex;
  69. justify-content: center
  70. }
  71. </style>