| | |
| | | phone: '', |
| | | code: '' |
| | | }, |
| | | dataId: null, |
| | | num: 0, |
| | | timer: null, |
| | | // 表单数据 |
| | |
| | | }, 1000) |
| | | }, |
| | | open (title, target) { |
| | | const that = this; |
| | | const that = this |
| | | this.title = title |
| | | this.dataId = target.id |
| | | this.phone = '' |
| | | this.code = '' |
| | | clearInterval(this.timer) |
| | | this.num = 0 |
| | | getById(target.id) |
| | | this.getDetail() |
| | | }, |
| | | getDetail () { |
| | | var that =this |
| | | getById(this.dataId) |
| | | .then(res => { |
| | | this.form = res |
| | | this.form.type = 1 |
| | |
| | | this.form.file3.imgurl = res.signImg.fileurl |
| | | this.form.file3.imgurlfull = res.signImg.fileurlFull |
| | | |
| | | listForCompany({ companyId: target.id }) |
| | | listForCompany({ companyId: this.dataId }) |
| | | .then(resa => { |
| | | that.form.solutionList = resa.map(item => { |
| | | return { |
| | |
| | | }) |
| | | }, |
| | | callback() { |
| | | this.getDetail() |
| | | this.$emit('success') |
| | | this.visible = false |
| | | // this.visible = false |
| | | } |
| | | } |
| | | } |