1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <template>
- <!-- 引用次数 -->
- <el-dialog custom-class="refresh-setting-dialog"
- :title="$t('SystemManage.DataRefresh.table_reference_count')"
- :visible.sync="show"
- :close-on-click-modal="false"
- :modal-append-to-body="false"
- @close="closeDia"
- top="5vh"
- width="760px"
- v-dialogDrag
- center
- >
- <el-table :data="dataList" border max-height="600px">
- <el-table-column align="center" prop="RelationTime" :label="$t('SystemManage.DataRefresh.reference_time')">
- <template slot-scope="scope">
- {{scope.row.RelationTime}}
- </template>
- </el-table-column>
- <el-table-column align="center" prop="ReferObjectTypeName" :label="$t('SystemManage.DataRefresh.reference_source')">
- <template slot-scope="scope">
- {{scope.row.ReferObjectTypeName}}
- </template>
- </el-table-column>
- <el-table-column align="center" prop="ReferObjectName" :label="$t('SystemManage.DataRefresh.reference_chart_table')">
- <template slot-scope="scope">
- {{scope.row.ReferObjectName}}
- </template>
- </el-table-column>
- </el-table>
- <!-- 弹窗按钮 -->
- <div class="dialog-btn">
- <el-button type="primary" @click="$emit('update:show',false)" style="width: 120px;">{{$t('Dialog.known')}}</el-button>
- </div>
- </el-dialog>
- </template>
- <script>
- export default {
- name:'referenceCountDia',
- props:{
- show:{
- type:Boolean,
- default:false
- },
- dataList:{
- type:Array,
- default:()=>[]
- }
- },
- methods:{
- closeDia(){
- this.$emit('update:show',false)
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .rule-container{
- padding-left: 55px;
- .rule-item{
- display: flex;
- align-items: center;
- margin-bottom: 20px
- }
- }
- .dialog-btn{
- padding: 40px 0 30px 0;
- display: flex;
- justify-content: center
- }
- </style>
|