Browse Source

Merge branch 'master' of http://192.168.1.220:10080/raolu/PC-application

542372506@qq.com 2 days ago
parent
commit
2361c7876e

+ 1 - 74
component/statistics/LascBreastCduInspectEntityList/index.js

@ -36,80 +36,7 @@ Vue.component('lasc-breast-cduInspect-entity-list', {
        list: []
      },
      active: '',
      cytoTubeNum: '',
      data: {
        value: [
          {
            id: 212,
            screenId: '808080f683c9e2570183c9f84cac0000',
            name: null,
            receiveBreastUltrasoundInspect: '2',
            rightCduCyst: '1',
            rightCduSolidMassSituation: '2',
            rightCduSolidMassPosition: '6',
            rightCduSolidMassShape: '1',
            rightCduSolidMassDirection: '1',
            rightCduSolidMassMargin: '1',
            rightCduSolidMassEcho: '3',
            rightCduSolidMassPosteriorEcho: '1',
            rightCduIrregularHypoechoic: '1',
            rightCduIrregularHypoechoicPosition: '',
            rightCduDuctDilatation: '1',
            rightCduAxillaryLymphNode: '1',
            rightCduOtherAbnormal: '1',
            rightCduOtherAbnormalDesc: '',
            rightCduBiRads: '2',
            leftCduCyst: '1',
            leftCduSolidMassSituation: '1',
            leftCduSolidMassPosition: '',
            leftCduSolidMassShape: '',
            leftCduSolidMassDirection: '1',
            leftCduSolidMassMargin: '1',
            leftCduSolidMassEcho: '3',
            leftCduSolidMassPosteriorEcho: '1',
            leftCduIrregularHypoechoic: '1',
            leftCduIrregularHypoechoicPosition: '',
            leftCduDuctDilatation: '1',
            leftCduAxillaryLymphNode: '1',
            leftCduOtherAbnormal: '1',
            leftCduOtherAbnormalDesc: '',
            leftCduBiRads: '2',
            biRadsResult: null,
            breastUltrasoundInspectOrg: '集美区集美街道社区卫生服务中心',
            breastUltrasoundInspectOrgCode: '3502110100',
            breastUltrasoundInspectUser: '黄琴',
            breastUltrasoundInspectUserCode: '361aef4891de492cb0e6a47cf9fe31f3',
            breastUltrasoundInspectTime: '2022-10-12',
            doctor: '361aef4891de492cb0e6a47cf9fe31f3',
            cduTubeNum: null,
            pdfUrl: 'https://www.xmtyw.cn/twocancerpdf/null.pdf',
            rightCduSolidMassMaxSize: '5*7',
            leftCduSolidMassMaxSize: '',
            breastUltrasoundCheckRecord: null,
            rightCduCystType: null,
            rightCduCystTypeOtherContent: null,
            rightCystLocation: null,
            rightCystSize: null,
            rightCduSolidMassBloodSignal: null,
            rightCduSolidMassBloodLevel: null,
            rightCduSolidMassBloodDistribution: null,
            rightCduIrregularHypoechoicSize: null,
            rightDuctLowHyperechoicIn: null,
            rightDuctDilationLocation: null,
            rightDuctDilationLocationOtherContent: null,
            leftCduCystType: null,
            leftCduCystTypeOtherContent: null,
            leftCystLocation: null,
            leftCystSize: null,
            leftCduSolidMassBloodSignal: null,
            leftCduSolidMassBloodLevel: null,
            leftCduSolidMassBloodDistribution: null,
            leftDuctLowHyperechoicIn: null,
            leftDuctDilationLocation: null,
            leftDuctDilationLocationOtherContent: null
          }
        ]
      }
      cytoTubeNum: ''
    }
  },
  methods: {},

+ 13 - 0
component/statistics/LascCervical/index.js

@ -593,9 +593,22 @@ Vue.component('lasc-cervical', {
      } else {
        this.init()
      }
    },
    formatDate(date) {
      const year = date.getFullYear()
      const month = String(date.getMonth() + 1).padStart(2, '0')
      const day = String(date.getDate()).padStart(2, '0')
      return `${year}-${month}-${day}`
    }
  },
  mounted() {
    const now = new Date()
    // 获取当前日期
    const endDate = new Date()
    // 获取30天前的日期
    const startDate = new Date()
    startDate.setDate(endDate.getDate() - 30)
    this.chooseTime = [this.formatDate(startDate), this.formatDate(endDate)]
    this.init()
  }
})

+ 14 - 0
component/statistics/LascPatient/index.js

@ -86,6 +86,12 @@ Vue.component('lasc-patient', {
    }
  },
  methods: {
    formatDate(date) {
      const year = date.getFullYear()
      const month = String(date.getMonth() + 1).padStart(2, '0')
      const day = String(date.getDate()).padStart(2, '0')
      return `${year}-${month}-${day}`
    },
    init() {
      var selectedRole = JSON.parse(sessionStorage.getItem('selectedRole'))
      if (selectedRole.code.indexOf('350200') > -1) {
@ -295,6 +301,14 @@ Vue.component('lasc-patient', {
    }
  },
  mounted() {
    const now = new Date()
    // 获取当前日期
    const endDate = new Date()
    // 获取30天前的日期
    const startDate = new Date()
    startDate.setDate(endDate.getDate() - 30)
    this.chooseTime1 = [this.formatDate(startDate), this.formatDate(endDate)]
    this.chooseTime = [this.formatDate(startDate), this.formatDate(endDate)]
    this.init()
  }
})

+ 13 - 0
component/statistics/LascProgress/index.js

@ -430,9 +430,22 @@ Vue.component('lasc-progress', {
        total: 0
      }
      this.caseDataList()
    },
    formatDate(date) {
      const year = date.getFullYear()
      const month = String(date.getMonth() + 1).padStart(2, '0')
      const day = String(date.getDate()).padStart(2, '0')
      return `${year}-${month}-${day}`
    }
  },
  mounted() {
    const now = new Date()
    // 获取当前日期
    const endDate = new Date()
    // 获取30天前的日期
    const startDate = new Date()
    startDate.setDate(endDate.getDate() - 30)
    this.chooseTime = [this.formatDate(startDate), this.formatDate(endDate)]
    this.init()
  }
})

+ 13 - 0
component/statistics/breastCancerPatient/index.js

@ -475,9 +475,22 @@ Vue.component('breast-cancer-patient', {
        total: 0
      }
      this.caseDataList()
    },
    formatDate(date) {
      const year = date.getFullYear()
      const month = String(date.getMonth() + 1).padStart(2, '0')
      const day = String(date.getDate()).padStart(2, '0')
      return `${year}-${month}-${day}`
    }
  },
  mounted() {
    const now = new Date()
    // 获取当前日期
    const endDate = new Date()
    // 获取30天前的日期
    const startDate = new Date()
    startDate.setDate(endDate.getDate() - 30)
    this.chooseTime = [this.formatDate(startDate), this.formatDate(endDate)]
    this.init()
  }
})