| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 | var template = ''$.ajax('../../../component/statistics/LascBreastFollowUp/index.html', {  data: {},  dataType: 'html',  cache: false,  timeout: 60000,  async: false,  error: function (res) {},  success: function (res) {    template = res  }})Vue.component('lasc-breast-followUp', {  template: template,  props: ['data'],  data: function () {    return {      readonly: true,      isShowPicker: false,      pickType: '',      curItem: '',      isShowDatePicker: false,      activeDateField: '',      date: '',      // minDate: moment().add(-100, 'year').toDate(),      minDate: '',      form: {        screenId: '', //两癌筛查id        type: '', //类型        id: '',        name: '',        followupOrNot: '', //是否随访        receiveTreat: '', //接受治疗情况        subsist: '', //生存情况        reviewOrNot: '', //是否复查        molybdenumBiRads: '', // 钼靶分级        cduBiRads: '', // 超声分级        reviewValue: [], //复查内容        reviewContentQita: '', // 复查内容其他        clinicalInspect: '', //临床诊断        followupDoctor: '', //随访人员        followupDate: '', //随访日期        followupOrNotOther: '' //其他      },      show: true,      showTwo: false,      isLoaded4: '0',      reviewData: [        { id: '1', text: '乳腺超声' },        { id: '2', text: '钼靶' },        { id: '3', text: '乳腺核磁共振' },        { id: '4', text: '手术或活检' },        { id: '5', text: '不详' },        { id: '6', text: '其他' }      ]    }  },  methods: {},  watch:{    data: {      handler(newVal, oldVal) {        if (this.data.value && this.data.value.length && this.data.value[0].id) {          var first = this.data.value[0]          this.form.screenId = first.screenId          this.form.id = first.id ? first.id : ''          first.reviewValue = first.reviewValue ? first.reviewValue.split(',') : ''          this.show = false          this.form = first        }      },      deep: true    }  },  mounted() {    if (this.data.value && this.data.value.length && this.data.value[0].id) {      var first = this.data.value[0]      this.form.screenId = first.screenId      this.form.id = first.id ? first.id : ''      first.reviewValue = first.reviewValue ? first.reviewValue.split(',') : ''      this.show = false      this.form = first    }  }})
 |