123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- var template = ''
- $.ajax('../../../component/statistics/LascCervicalGynecologicalExaminationEntityList/index.html', {
- data: {},
- dataType: 'html',
- cache: false,
- timeout: 60000,
- async: false,
- error: function (res) {},
- success: function (res) {
- template = res
- }
- })
- Vue.component('lasc-cervical-gynecological-examination-entityList', {
- template: template,
- props: [],
- data: function () {
- return {
- readonly: true,
- readonlyTwo: 1,
- isShowPicker: false,
- vulvaInspectList: ['正常', '白斑', '溃疡', '湿疣', '疱疹', '肿物', '其他'],
- vaginalInspectList: ['正常', '充血', '溃疡', '湿疣', '疱疹', '肿物', '其他'],
- secretionList: ['正常', '异味', '血性', '脓性', '泡沫样', '豆渣样', '其他'],
- cervixInspectList: ['正常', '触血', '息肉', '糜烂样', '菜花样', '其他'],
- columns: [],
- pickType: '',
- curItem: '',
- isShowDatePicker: false,
- activeDateField: '',
- date: '',
- // minDate: moment().add(-100, 'year').toDate(),
- minDate: null,
- form: {
- screenId: '', //两癌筛查id
- receiveCervicalCarcinomaInspect: '2', //是否接收乳腺临床检查1拒绝2接收
- list: []
- },
- data: {
- value: [{}]
- }
- }
- },
- methods: {},
- mounted() {
- var vm = this
- this.form.screenId = this.data.screenId || ''
- if (this.data.value && this.data.value.length) {
- var list = JSON.parse(JSON.stringify(this.data.value))
- list.forEach(function (v) {
- v.vulvaInspect = vm.formatList(v.vulvaInspect)
- v.vaginalInspect = vm.formatList(v.vaginalInspect)
- v.secretion = vm.formatList(v.secretion)
- v.cervixInspect = vm.formatList(v.cervixInspect)
- v.uterusInspect = vm.formatList(v.uterusInspect)
- v.pelvicInspect = vm.formatList(v.pelvicInspect)
- v.secretionInspectPathogens = vm.formatList(v.secretionInspectPathogens)
- v.clinicalDiagnosis = vm.formatList(v.clinicalDiagnosis)
- v.pelvicTendernessLocation = vm.formatList(v.pelvicTendernessLocation)
- v.uterusInspectTumorPosition = vm.formatList(v.uterusInspectTumorPosition)
- v.vaginalInspectTumorPosition = vm.formatList(v.vaginalInspectTumorPosition)
- v.vulvaInspectTumorPosition = vm.formatList(v.vulvaInspectTumorPosition)
- v.pelvicInspectTumorPosition = vm.formatList(v.pelvicInspectTumorPosition)
- })
- this.form.list = list
- this.form.receiveCervicalCarcinomaInspect = list[0].receiveCervicalCarcinomaInspect
- }
- }
- })
|