12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- var template = ''
- $.ajax('../../../component/statistics/LascBreastTreatInfo/index.html', {
- data: {},
- dataType: 'html',
- cache: false,
- timeout: 60000,
- async: false,
- error: function (res) {},
- success: function (res) {
- template = res
- }
- })
- Vue.component('lasc-breast-treat-info', {
- template: template,
- props: ['data'],
- data: function () {
- return {
- isShowPicker: false,
- pickType: '',
- curItem: '',
- isShowDatePicker: false,
- activeDateField: '',
- date: '',
- form: {
- screenId: '', //两癌筛查id
- treatPosition: '',
- id: '',
- name: '',
- type: [],
- typeOther: '',
- opFrontT: '',
- opFrontN: '',
- opFrontM: '',
- opFront: '',
- opAfterT: '',
- opAfterN: '',
- opAfterM: '',
- opAfter: '',
- immunohistochemicalResultsEr: '',
- immunohistochemicalResultsErUnknown: '',
- immunohistochemicalResultsPr: '',
- immunohistochemicalResultsPrUnknown: '',
- immunohistochemicalResultsHer: '',
- immunohistochemicalResultsKi: '',
- immunohistochemicalResultsKiUnknown: '',
- immunohistochemicalResultsFishCish: '',
- breastCancerSurgeryMode: [],
- breastCancerSurgeryModeOther: '',
- breastSurgeryMode: '',
- breastSurgeryModeOther: '',
- armpitSurgeryMode: [],
- armpitSurgeryModeOther: '',
- breastReconstructionMode: '',
- breastReconstructionModeOther: '',
- followupDoctor: '', //随访人员
- followupDate: '', //随访日期
- isTreat: '', // 是否治疗
- isTreatOtherContent: '',
- followupOrg: '' //随访机构
- },
- columns: [],
- orgColumns: [],
- isShowOrgsPicker: false,
- show: true,
- showType: '',
- required: true
- }
- },
- methods: {},
- 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.type = first.type ? first.type.split(',') : []
- first.breastCancerSurgeryMode = first.breastCancerSurgeryMode ? first.breastCancerSurgeryMode.split(',') : []
- first.armpitSurgeryMode = first.armpitSurgeryMode ? first.armpitSurgeryMode.split(',') : []
- this.form = first
- }
- }
- })
|