index.js 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. var template = ''
  2. $.ajax('../../../component/statistics/LascBreastMolybdenumInspectList/index.html', {
  3. data: {},
  4. dataType: 'html',
  5. cache: false,
  6. timeout: 60000,
  7. async: false,
  8. error: function (res) {},
  9. success: function (res) {
  10. template = res
  11. }
  12. })
  13. Vue.component('lasc-breast-molybdenum-inspect-list', {
  14. template: template,
  15. props: [],
  16. data: function () {
  17. return {
  18. isShowPicker: false,
  19. isShowPicker1: false,
  20. isShowPicker2: false,
  21. columns: ['非对称性腺体增厚', '乳头凹陷', '腋窝淋巴结肿大', '副乳腺', '乳腺切除术后'],
  22. pickType: '',
  23. curItem: '',
  24. curItem1: '',
  25. isShowDatePicker: false,
  26. activeDateField: '',
  27. date: '',
  28. readonly: true,
  29. form: {
  30. screenId: '', //两癌筛查id
  31. receiveBreastMolybdenum: '2', //是否接收乳腺临床检查1拒绝2接收
  32. receiveBreastMolybdenumOther: '',
  33. refusalReason: [],
  34. refusalReasonOtherContent: '',
  35. list: []
  36. },
  37. active: '',
  38. mbTubeNum: '',
  39. orgList: [],
  40. orgUser: [],
  41. data: {
  42. value: [
  43. {
  44. id: 3247,
  45. screenId: '808080f683c9e2570183c9f84cac0000',
  46. name: '辅助检查-乳腺钼靶-20231221',
  47. receiveBreastMolybdenumOther: '',
  48. breastDensity: '1',
  49. rightMolybdenumBiRads: '2',
  50. leftMolybdenumBiRads: '2',
  51. biRadsResult: 2,
  52. tumor: '1',
  53. calcification: '1',
  54. disorganization: '1',
  55. breastMolybdenumOrg: '思明区卫生和计划生育局',
  56. breastMolybdenumOrgOther: null,
  57. breastMolybdenumUser: '苏钦毅',
  58. breastMolybdenumTime: '2023-12-21',
  59. doctor: null,
  60. inspectOrgCode: 'ac02a9b87a3611e69f7c005056850d66',
  61. inspectUserCode: '40f5371c810d411ab085cb8d9f0160a6',
  62. followupDate: null,
  63. followupOrgCode: null,
  64. followupOrgName: null,
  65. followupUserCode: null,
  66. followupUserName: null,
  67. mbTubeNum: null,
  68. pdfUrl: 'https://www.xmtyw.cn/twocancerpdf/null.pdf',
  69. receiveBreastMolybdenum: '2',
  70. refusalReason: '[]',
  71. refusalReasonOtherContent: ''
  72. }
  73. ]
  74. }
  75. }
  76. },
  77. methods: {},
  78. mounted() {
  79. if (this.data.value && this.data.value.length && this.data.value[0].id) {
  80. var first = this.data.value[0]
  81. this.form.screenId = first.screenId
  82. this.form.receiveBreastMolybdenum = first.receiveBreastMolybdenum
  83. this.form.receiveBreastMolybdenumOther = first.receiveBreastMolybdenumOther
  84. this.form.refusalReason = first.refusalReason ? first.refusalReason.split(',') : []
  85. this.form.refusalReasonOtherContent = first.refusalReasonOtherContent
  86. this.form.list = this.data.value
  87. this.mbTubeNum = first.mbTubeNum ? first.mbTubeNum : ''
  88. }
  89. }
  90. })