浏览代码

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

hd 2 月之前
父节点
当前提交
af55d539d2

+ 28 - 2
component/statistics/GxbCy/index.js

@ -132,7 +132,8 @@ Vue.component('gxb-cy', {
      messInfo: null,
      remind: '',
      dialogExportLoading: false,
      dialogLoading: false
      dialogLoading: false,
      service: {}
    }
  },
  methods: {
@ -513,7 +514,32 @@ Vue.component('gxb-cy', {
      this.size = val
      this.dialogSearch()
    },
    previewForm(row) {},
    previewForm(row) {
      var vm = this
      var params = {
        planDetailId: row.planDetailId
      }
      rehaAPI.serviceItem(params).then(function (res) {
        if (res.status == 200) {
          vm.service = res.data
          top.layer.open({
            type: 2,
            area: ['600px', '700px'],
            shade: 0.5,
            title: '记录随访表单',
            fixed: true, //不固定
            maxmin: true,
            closeBtn: 1,
            // shift: 5,
            shadeClose: false, //点击遮罩关闭层
            content: '../../rehabilitation/html/followRecord.html?serviceInfo=' + encodeURIComponent(JSON.stringify(vm.service)) + '&planDetailId=' + row.planDetailId,
            end: function () {
              // 未点击确定按钮,点击关闭按钮
            }
          })
        }
      })
    },
    previewMess(row) {
      this.messageVisible = true
      this.messInfo = row.content

+ 2 - 2
component/statistics/GxbEvaluation/index.html

@ -140,13 +140,13 @@
          <span @click="seePatientDetail(scope.row)">{{scope.row[item.prop]}}</span>
        </template>
      </el-table-column>
      <el-table-column label="操作" v-if="title== '个案数据列表'">
      <el-table-column label="操作" v-if="title== '评估随访消息推送明细'">
        <template slot-scope="scope">
          <el-button type="text" @click="previewMess(scope.row)">查看</el-button>
        </template>
      </el-table-column>
    </el-table>
    <div style="display: flex; justify-content: flex-end;margin-top: 10px;">
    <div style="display: flex; justify-content: flex-end; margin-top: 10px">
      <el-pagination
        @current-change="handleCurrentChange"
        @size-change="handleSizeChange"

+ 2 - 2
component/statistics/GxbEvaluation/index.js

@ -415,7 +415,7 @@ Vue.component('gxb-evaluation', {
      }
      params.type = 1
      params.page = this.page
      params.pageSize = this.size
      params.size = this.size
      if (this.yearType == '1') {
        params.startDate = this.chooseYear + '-01-01'
        params.endDate = this.chooseYear + '-12-31'
@ -425,7 +425,7 @@ Vue.component('gxb-evaluation', {
          params.endDate = this.chooseTime[1]
        }
      }
      httpRequest.get('statistics/collaborate/selectSmsInfoList', { data: this.query }).then(function (res) {
      httpRequest.get('statistics/collaborate/selectSmsInfoList', { data: params }).then(function (res) {
        if (res.status == 200) {
          vm.dialogTableData = res.detailModelList
          vm.total = res.totalCount

+ 22 - 2
component/statistics/GxbManage/index.js

@ -529,11 +529,31 @@ Vue.component('gxb-manage', {
    },
    handleCurrentChange(val) {
      this.page = val
      this.getList()
      if (this.title == '上转预约明细列表') {
        this.gxbTurnUpInfoPage()
      } else if (this.title == '上转转门诊明细' || this.title == '门诊转住院明细') {
        this.turnUpToMzDetailPage()
      } else if (this.title == '下转管理明细') {
        this.turnDownManageDetailPage()
      } else if (this.title == '个案数据列表') {
        this.gxbCaseDataPage()
      } else if (this.title == '上转预约明细列表') {
        this.gxbTurnUpInfoPage()
      }
    },
    handleSizeChange(val) {
      this.size = val
      this.getList()
      if (this.title == '上转预约明细列表') {
        this.gxbTurnUpInfoPage()
      } else if (this.title == '上转转门诊明细' || this.title == '门诊转住院明细') {
        this.turnUpToMzDetailPage()
      } else if (this.title == '下转管理明细') {
        this.turnDownManageDetailPage()
      } else if (this.title == '个案数据列表') {
        this.gxbCaseDataPage()
      } else if (this.title == '上转预约明细列表') {
        this.gxbTurnUpInfoPage()
      }
    },
    renderHeader: function (h, item) {
      var index = item.$index

+ 18 - 0
component/statistics/GxbMz/index.html

@ -160,6 +160,14 @@
          <span @click="seePatientDetail(scope.row)">{{scope.row[item.prop]}}</span>
        </template>
      </el-table-column>
      <el-table-column label="操作" align="center" width="100" v-if="title=='康复下转明细列表'">
        <template slot-scope="scope">
          <el-button type="text" v-if="scope.row.status==0" @click="operation(1,scope.row)">分配</el-button>
          <el-button type="text" @click="operation(2,scope.row)">查看签约</el-button>
          <el-button type="text" v-if="scope.row.status==5" @click="operation(3,scope.row)">同步居民</el-button>
          <el-button type="text" v-if="scope.row.status==3" @click="operation(4,scope.row)">同步病历</el-button>
        </template>
      </el-table-column>
    </el-table>
    <div style="display: flex; justify-content: flex-end; margin-top: 10px">
      <el-pagination
@ -171,5 +179,15 @@
        layout="total, sizes, prev, pager, next, jumper"
        :total="total"></el-pagination>
    </div>
    <el-dialog title="查看签约信息" :visible.sync="dialogVisible" width="70%" append-to-body>
      <el-table border :data="signatoryList" style="width: 100%" height="500" class="mt20">
        <template>
          <el-table-column prop="hospitalName" label="签约社区医院" align="center"></el-table-column>
          <el-table-column prop="doctorName" label="签约医生" align="center"></el-table-column>
          <el-table-column prop="applyDate" label="签约时间" align="center"></el-table-column>
          <el-table-column prop="signYear" label="签约年度" align="center"></el-table-column>
        </template>
      </el-table>
    </el-dialog>
  </el-dialog>
</div>

+ 57 - 5
component/statistics/GxbMz/index.js

@ -77,7 +77,9 @@ Vue.component('gxb-mz', {
        { value: '2', label: '出院患者' }
      ],
      communityHospitals: [],
      title: ''
      title: '',
      dialogVisible: false,
      signatoryList: []
    }
  },
  methods: {
@ -297,7 +299,11 @@ Vue.component('gxb-mz', {
    },
    dialogSearchFn() {
      this.page = 1
      this.gxbTurnUpInfoPage()
      if (this.title == '康复下转明细列表') {
        this.rehabilitationPatientInfo()
      } else if (this.title == '下转情况数据列表') {
        this.turnDownDataPage()
      }
    },
    dialogExportFn() {
      var vm = this
@ -333,11 +339,19 @@ Vue.component('gxb-mz', {
    },
    handleCurrentChange(val) {
      this.page = val
      this.gxbTurnUpInfoPage()
      if (this.title == '康复下转明细列表') {
        this.rehabilitationPatientInfo()
      } else if (this.title == '下转情况数据列表') {
        this.turnDownDataPage()
      }
    },
    handleSizeChange(val) {
      this.size = val
      this.gxbTurnUpInfoPage()
      if (this.title == '康复下转明细列表') {
        this.rehabilitationPatientInfo()
      } else if (this.title == '下转情况数据列表') {
        this.turnDownDataPage()
      }
    },
    // 获取社区医院
    hospitalsByType() {
@ -463,6 +477,39 @@ Vue.component('gxb-mz', {
        this.turnDownDataPage()
      }
    },
    // 康复下转操作
    operation(num, item) {
      var vm = this
      if (num != 2) {
        statisticAPI
          .synchronizePationSingle({ id: item.id })
          .then(function (res) {
            if (res.status == 200) {
              vm.$message.success('操作成功')
            } else {
              vm.$message.error(res.msg)
            }
          })
          .catch(function (err) {
            console.log(err, 'Errr')
          })
      } else {
        vm.signatoryList = []
        statisticAPI
          .kangfuGetSignInfo({ idcard: item.idcard })
          .then(function (res) {
            if (res.status == 200) {
              if (res.data != null) {
                vm.signatoryList.push(res.data)
              }
            }
          })
          .catch(function (err) {
            console.log(err, 'Errr')
          })
        vm.dialogVisible = true
      }
    },
    rehabilitationPatientInfo() {
      var vm = this
      var params = {
@ -486,7 +533,7 @@ Vue.component('gxb-mz', {
          res.detailModelList.forEach(function (v) {
            v.sex = v.sex == 1 ? '男' : '女'
          })
          vm.recoveryList = res.detailModelList
          vm.dialogTableData = res.detailModelList
          vm.total = res.totalCount
        } else {
          vm.$message.error(res.msg)
@ -512,6 +559,7 @@ Vue.component('gxb-mz', {
      }
      this.loading = true
      httpRequest.get('statistics/collaborate/turnDownDataPage', { data: params }).then(function (res) {
        console.log('99999999999999999999999999999999999999', res)
        if (res.status == 200) {
          vm.dialogTableData = res.detailModelList
          vm.total = res.totalCount
@ -522,6 +570,10 @@ Vue.component('gxb-mz', {
    closeDialog() {
      this.visible = false
    },
    closeDialog1() {
      this.dialogVisible = false
    }
  },
  mounted() {

+ 1 - 0
component/statistics/GxbTurnup/index.js

@ -354,6 +354,7 @@ Vue.component('gxb-turnup', {
      httpRequest.get('statistics/collaborate/gxbTurnUpInfoPage', { data: params }).then(function (res) {
        if (res.status == 200) {
          vm.dialogTableData = res.detailModelList
          vm.total = res.totalCount
        }
      })
    },