12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- var template = ''
- var docInfo = JSON.parse(window.localStorage.getItem('wlyyAgent'))
- $.ajax('../../../component/statistics/LascBreastSurgeryInspectEntity/index.html', {
- data: {},
- dataType: 'html',
- cache: false,
- timeout: 60000,
- async: false,
- error: function (res) {},
- success: function (res) {
- template = res
- }
- })
- Vue.component('lasc-breast-surgery-inspect-entity', {
- template: template,
- props: ['data'],
- data: function () {
- return {
- isShowPicker: false,
- columns: ['非对称性腺体增厚', '乳头凹陷', '腋窝淋巴结肿大', '副乳腺', '乳腺切除术后'],
- pickType: '',
- curItem: '',
- isShowDatePicker: false,
- activeDateField: '',
- date: '',
- form: {
- screenId: '', //两癌筛查id
- receiveBreastSurgeryClinic: '2', //是否接收乳腺临床检查1拒绝2接收
- surgeryClinicRefuseContent: '',
- surgicalClinicTreatmentSuggestions: [], //
- surgicalClinicTreatmentOther: '', //
- breastSurgeryClinicOrg: docInfo.hospitalName, //检查机构
- breastSurgeryClinicUser: docInfo.name, //检查人员
- breastSurgeryClinicTime: '' //检查时间
- },
- readonly: true
- }
- },
- methods: {},
- mounted() {
- var form = JSON.parse(JSON.stringify(this.data.value))
- form.surgicalClinicTreatmentSuggestions = (form.surgicalClinicTreatmentSuggestions && form.surgicalClinicTreatmentSuggestions.split(',')) || []
- this.form = _.assign(this.form, form)
- }
- })
|