123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <template>
- <el-dialog
- :title="$t('common.CompanyProfile')"
- :visible.sync="dialogVisible"
- width="60%"
- :before-close="toViewLoginChange">
- <slot name="center"></slot>
- </el-dialog>
- </template>
- <script>
- export default {
- name: 'LoginMusk',
- props:{
- dialogVisible: {
- type: Boolean,
- default: false
- },
- title:{
- type:String,
- default:''
- },
- width:{
- type:String,
- default:'60%'
- }
- },
- data () {
- return {
- }
- },
- watch: {
- },
- methods:{
- toView(router, json) {
- clearInterval(this.timer);
- this.$router.push({ name: router, params: {key:json} });
- },
- toViewLoginChange(done){
- debugger
- this.$emit('FrameBack',false)
- },
- }
- }
- </script>
|