hd 2 months ago
parent
commit
dd05d1ba89

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

@ -57,7 +57,7 @@
    <el-table-column :label="item.label" v-for="(item,index) in tableHeaderChildren" :key="index" align="center">
      <el-table-column :label="el.label" :min-width="el.width" v-for="el in item.children" :key="el.prop">
        <template slot-scope="scope">
          <span :class="`${['vd1Num','v2Num','vd3Num','v4Num'].includes(el.prop)?'pointer c-409eff':''}`" @click="openDialog(scope.row, el.prop)">{{scope.row[el.prop]}}</span>
          <span :class="`${['vd1Num','v2Num','vd3Num','v4Num'].includes(el.prop)&&scope.row.code?'pointer c-409eff':''}`" @click="openDialog(scope.row, el.prop)">{{scope.row[el.prop]}}</span>
        </template>
      </el-table-column>
    </el-table-column>
@ -118,7 +118,7 @@
      <el-table-column type="index" label="序号"></el-table-column>
      <el-table-column v-for="item in dialogHeader" :label="item.label" :prop="item.prop">
        <template slot-scope="scope">
          <span :class="`${item.prop=='patientName'?'pointer c-409eff':''}`" @click="seePatientDetail(scope.row, item.prop)">{{scope.row[item.prop]}}</span>
          <span :class="`${item.prop=='patientName'||item.prop =='name'?'pointer c-409eff':''}`" @click="seePatientDetail(scope.row, item.prop)">{{scope.row[item.prop]}}</span>
        </template>
      </el-table-column>
      <el-table-column label="操作" v-if="title== '康复随访记录明细'">

+ 3 - 1
component/statistics/GxbCy/index.js

@ -352,6 +352,8 @@ Vue.component('gxb-cy', {
      })
    },
    openDialog(row, prop) {
      if(!row.code)return
      this.page = 1
      this.query = {}
      var len = row.code.length
      if (len == 6) {
@ -530,7 +532,7 @@ Vue.component('gxb-cy', {
      this.visible = false
    },
    seePatientDetail(row, prop) {
      if(prop == 'patientName'){
      if(prop == 'patientName'||prop=='name'){
        EventBus.$emit('preview-person-info', { type: '5', code: row.code })
      }
    },

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

@ -58,7 +58,7 @@
      <template slot-scope="scope">
        <span
          @click="openDialog(scope.row, item.prop)"
          :class="`${['totalNum', 'dailyNum', 'inScreenNum', 'lRiskNum', 'mRiskNum', 'hRiskNum', 'uhRiskNum', 'ehRiskNum','messageTimes'].includes(item.prop)?'pointer c-409eff':''}`">
          :class="`${['totalNum', 'dailyNum', 'inScreenNum', 'lRiskNum', 'mRiskNum', 'hRiskNum', 'uhRiskNum', 'ehRiskNum','messageTimes'].includes(item.prop)&&scope.row.code?'pointer c-409eff':''}`">
          {{scope.row[item.prop]}}
        </span>
      </template>

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

@ -295,6 +295,8 @@ Vue.component('gxb-evaluation', {
      })
    },
    openDialog(row, prop) {
      if(!row.code)return
      this.page = 1
      var vm = this
      this.query = {}
      switch (prop) {

+ 1 - 1
component/statistics/GxbManage/index.html

@ -56,7 +56,7 @@
    <!-- <el-table-column type="index" min-width="60" label="序号"></el-table-column> -->
    <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop">
      <template slot-scope="scope">
        <span :class="`${['totalNum','turnUpNum','mzNum','zyNum','turnDownNum'].includes(item.prop)? 'pointer c-409eff':''}`" @click="gotoDetail(scope.row,item.prop)">
        <span :class="`${['totalNum','turnUpNum','mzNum','zyNum','turnDownNum'].includes(item.prop)&&scope.row.code? 'pointer c-409eff':''}`" @click="gotoDetail(scope.row,item.prop)">
          {{scope.row[item.prop]}}
        </span>
      </template>

+ 1 - 1
component/statistics/GxbManage/index.js

@ -132,9 +132,9 @@ Vue.component('gxb-manage', {
  },
  methods: {
    gotoDetail(row, column) {
      if(!row.code)return
      var vm = this
      this.query = { sex: '' }
      console.log('lllllllllllllllllllllllllllll', column)
      switch (column) {
        case 'mzNum':
          vm.dialogTableHeader = vm.mzTableHeader

+ 1 - 1
component/statistics/GxbManageSum/index.html

@ -55,7 +55,7 @@
  <el-table :data="tableData" style="width: 100%" v-loading="loading" row-key="code" lazy :load="load" :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
    <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop">
      <template slot-scope="scope">
        <span @click="toPage(scope.row, item.prop)" :class="`${['totalNum','turnUpNum','turnDownNum','rehabilitationNum'].includes(item.prop)?'pointer c-409eff':''}`">{{scope.row[item.prop]}}</span>
        <span @click="toPage(scope.row, item.prop)" :class="`${['totalNum','turnUpNum','turnDownNum','rehabilitationNum'].includes(item.prop)&&scope.row.code?'pointer c-409eff':''}`">{{scope.row[item.prop]}}</span>
      </template>
    </el-table-column>
  </el-table>

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

@ -268,6 +268,7 @@ Vue.component('gxb-manage-sum', {
      })
    },
    toPage(row, prop) {
      if(!row.code)return
      var len = row.code.length
      var range, area, hospital, team
      if (len == 6 && row.code.indexOf('3502') > -1) {

+ 1 - 1
component/statistics/GxbMz/index.html

@ -55,7 +55,7 @@
  <el-table :data="tableData" style="width: 100%" v-loading="loading" row-key="code" lazy :load="load" :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
    <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop" :prop="item.prop">
      <template slot-scope="scope">
        <span :class="`${['totalTimes','mzTimes','zyTimes','totalNum','mzNum','zyNum'].includes(item.prop)?'pointer c-409eff':''}`" @click="openDialog(scope.row, item.prop)">
        <span :class="`${['totalTimes','mzTimes','zyTimes','totalNum','mzNum','zyNum'].includes(item.prop)&&scope.row.code?'pointer c-409eff':''}`" @click="openDialog(scope.row, item.prop)">
          {{scope.row[item.prop]}}
        </span>
      </template>

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

@ -433,6 +433,7 @@ Vue.component('gxb-mz', {
      }
    },
    openDialog(row, prop) {
      if(!row.code)return
      this.page = 1
      if (['totalTimes', 'mzTimes', 'zyTimes'].includes(prop)) {
        this.query = {

+ 1 - 1
component/statistics/GxbTurnup/index.html

@ -61,7 +61,7 @@
        </el-tooltip>
      </template>
      <template slot-scope="scope">
        <span :class="`${item.prop == 'turnUpTimes'?'pointer c-409eff':''}`" @click="openDialog(scope.row, item.prop)">{{scope.row[item.prop]}}</span>
        <span :class="`${item.prop== 'turnUpTimes'&&scope.row.code ?'pointer c-409eff':''}`" @click="openDialog(scope.row, item.prop)">{{scope.row[item.prop]}}</span>
      </template>
    </el-table-column>
  </el-table>

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

@ -324,6 +324,8 @@ Vue.component('gxb-turnup', {
      this.gxbTurnUpInfoPage()
    },
    openDialog(row, prop) {
      if(!row.code)return
      this.page = 1
      if (prop == 'turnUpTimes') {
        this.query = { sex: '' }
        var len = row.code.length