| | |
| | | <span v-if="typeTABS.prop === 'tab1'" class="a-f-box" |
| | | style="display:block;width: 1000px;margin: 0 auto;padding: 0 20px;position: relative;background-color: #fff;" |
| | | id="avuePageEle"> |
| | | <avue-form ref="form" v-model="obj0" :option="option0"> </avue-form> |
| | | <avue-form ref="form" v-model="obj1" :option="option0"> </avue-form> |
| | | </span> |
| | | <span v-if="typeTABS.prop === 'tab1'" class="a-f-box-btn"> |
| | | <div class="printBtn"> |
| | |
| | | obj0: { |
| | | title: "我是头部标题", |
| | | }, |
| | | obj1: {}, |
| | | option0: { |
| | | emptyBtn: false, |
| | | editBtn: false, |
| | |
| | | getUserPractitionersInfo(data.id).then(res1 => { |
| | | form.UserPractitionersInfo = res1.data.data |
| | | }) |
| | | this.obj0 = form |
| | | this.obj1 = form |
| | | }) |
| | | // console.log(data); |
| | | if (data) { |
| | | // var row = data |
| | | // // var row = this.$route.query.row; |
| | | // for (var k in row) { |
| | | // this.obj0[k] = row[k] |
| | | // } |
| | | // this.obj0.title = "" |
| | | // this.cardid = row.id |
| | | // this.name = row.name |
| | | // this.dispatcherCompany = row.dispatcherCompany |
| | | // this.id = row.id |
| | | // this.hold = row.hold |
| | | // let year = row.cardid.slice(6, 10) |
| | | // let mouth = row.cardid.slice(10, 12) |
| | | // let day = row.cardid.slice(12, 14) |
| | | // this.obj0.birthdayData = year + '-' + mouth + '-' + day |
| | | // console.log(this.obj0) |
| | | var row = data |
| | | // var row = this.$route.query.row; |
| | | for (var k in row) { |
| | | this.obj0[k] = row[k] |
| | | } |
| | | this.obj0.title = "" |
| | | this.cardid = row.id |
| | | this.name = row.name |
| | | this.dispatcherCompany = row.dispatcherCompany |
| | | this.id = row.id |
| | | this.hold = row.hold |
| | | let year = row.cardid.slice(6, 10) |
| | | let mouth = row.cardid.slice(10, 12) |
| | | let day = row.cardid.slice(12, 14) |
| | | this.obj0.birthdayData = year + '-' + mouth + '-' + day |
| | | console.log(this.obj0) |
| | | |
| | | } |
| | | |