| | |
| | | </template> |
| | | |
| | | <script> |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | export default { |
| | | components: { GlobalWindow }, |
| | | extends: BaseOpera, |
| | | data() { |
| | | return { |
| | | title: '访客预约详情', |
| | | visible: false, |
| | | dataId:null, |
| | | model: { }, |
| | | isShowAppr: false, |
| | | apprTitle: '同意', |
| | |
| | | rules: {} |
| | | } |
| | | }, |
| | | created () { |
| | | this.config({ |
| | | api: '/business/hiddenDanger', |
| | | 'field.id': 'id' |
| | | }) |
| | | }, |
| | | methods: { |
| | | open(title,target){ |
| | | this.title =title |
| | | this.visible=true |
| | | this.model = target |
| | | this.model = {} |
| | | this.dataId =target.id |
| | | this.getDetail() |
| | | |
| | | }, |
| | | getDetail(){ |
| | | this.api.detail(this.dataId) |
| | | .then(res =>{ |
| | | this.model = res |
| | | }) |
| | | }, |
| | | confirm() { |
| | | console.log('--') |