qinxianzhangyao
2024-03-25 c2943d4c365e6a4719fbd5fedf89f8c2232cf88e
qxtj
21个文件已修改
1068 ■■■■ 已修改文件
src/api/system/tijian.js 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/request.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/count/chart/index.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/count/disease/index.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/examination/index.vue 269 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/fuzhen/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/order/index.vue 626 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mall/checklog/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/reservation/reservations/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sampling/sampling/index.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/standard/renshunum/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/standard/tijiancom/index.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/Checkout/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/bill/index.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/biol/index.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/circle/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/examcharge/index.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/visit/index.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/team/disease/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/team/reportresults/index.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/team/teams/index.vue 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/system/tijian.js
@@ -18,7 +18,7 @@
  })
}
// 每个项目
// 选择体检项目(所有服项目)选单项时调用的接口
export function projectGetList() {
  return request({
    url: '/hosp/project/getDxList',
@@ -26,6 +26,25 @@
  })
}
// 选择体检项目(根据父项id选择子项)选单项时调用的接口
export function getProSonDxList(proId) {
  return request({
    url: '/hosp/project/getProSonDxList',
    method: 'get',
    params:{
      proId:proId
    }
  })
}
export function getProParentIdDxList() {
  return request({
    url: '/hosp/project/getProParentIdDxList',
    method: 'get',
  })
}
// 每个项目
export function getOrder(data) {
  return request({
src/utils/request.js
@@ -122,9 +122,9 @@
    if (message == "Network Error") {
      message = "后端接口连接异常";
    }
    else if (message.includes("timeout")) {
      message = "数据加载失败,请刷新页面";
    }
    // else if (message.includes("timeout")) {
    //   message = "数据加载失败,请刷新页面";
    // }
    else if (message.includes("Request failed with status code")) {
      message = "系统接口" + message.substr(message.length - 3) + "异常";
    }
src/views/count/chart/index.vue
@@ -95,6 +95,9 @@
      if (this.value1) {
        this.queryParams.startDate = this.value1[0];
        this.queryParams.endDate = this.value1[1];
      }else if(this.value1 == null) {
        this.queryParams.startDate = null;
        this.queryParams.endDate = null;
      } else {
        this.queryParams.startDate = this.startTime[0];
        this.queryParams.endDate = this.startTime[1];
src/views/count/disease/index.vue
@@ -167,7 +167,10 @@
      if(this.value1){
        this.queryParams.beginTime = this.value1[0];
      this.queryParams.endTime = this.value1[1];
      }else{
      }else if(this.value1 == null){
        this.queryParams.beginTime = null;
      this.queryParams.endTime = null;
      } else {
        this.queryParams.beginTime = this.startTime[0];
       this.queryParams.endTime = this.startTime[1];
src/views/doctor/examination/index.vue
@@ -1,101 +1,38 @@
<template>
  <div class="app-container">
    <el-form
      :model="queryParams"
      ref="queryForm"
      size="small"
      :inline="true"
      label-width="68px"
    >
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
      <el-form-item label="体检号" prop="tjNumber">
        <el-input
          ref="inputName"
          v-model="queryParams.tjNumber"
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          @blur="hb"
          style="width: 170px"
        />
        <el-input ref="inputName" v-model="queryParams.tjNumber" placeholder="请输入体检号" clearable
          @keyup.enter.native="handleQuery" @blur="hb" style="width: 170px" />
      </el-form-item>
      <el-form-item label="姓名" prop="name">
        <el-input
          v-model="queryParams.name"
          placeholder="请输入姓名"
          clearable
          @keyup.enter.native="handleQuery"
          style="width: 110px"
        />
        <el-input v-model="queryParams.name" placeholder="请输入姓名" clearable @keyup.enter.native="handleQuery"
          style="width: 110px" />
      </el-form-item>
      <el-form-item label="登记时间" prop="createTimeList">
        <el-date-picker
          v-model="createTimeList"
          type="datetimerange"
          align="right"
          :picker-options="pickerOptions"
          style="width: 310px"
          start-placeholder="开始日期"
          end-placeholder="结束日期"
          :default-time="['00:00:00', '23:00:00']"
          format="yyyy-MM-dd HH:mm"
          value-format="yyyy-MM-dd HH:mm"
          @change="dateChangebirthday1"
        >
        <el-date-picker v-model="createTimeList" type="datetimerange" align="right" :picker-options="pickerOptions"
          style="width: 310px" start-placeholder="开始日期" end-placeholder="结束日期" :default-time="['00:00:00', '23:00:00']"
          format="yyyy-MM-dd HH:mm" value-format="yyyy-MM-dd HH:mm" @change="dateChangebirthday1">
        </el-date-picker>
      </el-form-item>
      <el-form-item>
        <el-button
          type="primary"
          icon="el-icon-search"
          size="mini"
          @click="handleQuery"
          >查询</el-button
        >
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
          >重置</el-button
        >
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">查询</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>
    <el-radio-group
      v-model="checkStatus"
      @input="radioChange"
      style="margin: 10px 15px"
    >
    <el-radio-group v-model="checkStatus" @input="radioChange" style="margin: 10px 15px">
      <el-radio-button label="0">未审核</el-radio-button>
      <el-radio-button label="1">已审核</el-radio-button>
    </el-radio-group>
    <div style="width: 100%; margin-left: 10px; display: flex">
      <div style="width: 40.5%; margin-right: 20px">
        <el-table
          id="ta"
          v-loading="loading"
          ref="tb"
          :data="exaList"
          border
          height="520px"
          @selection-change="handleSelectionChange"
          :row-class-name="tableRowClassName"
        >
        <el-table id="ta" v-loading="loading" ref="tb" :data="exaList" border height="520px"
          @selection-change="handleSelectionChange" :row-class-name="tableRowClassName">
          <el-table-column type="selection" width="40" align="center" />
          <el-table-column
            label="体检号"
            align="center"
            prop="tjNumber"
            width="160px"
          />
          <el-table-column
            label="姓名"
            align="center"
            prop="cusName"
            width="80px"
          />
          <el-table-column
            label="性别"
            align="center"
            prop="cusSex"
            width="50px"
          >
          <el-table-column label="体检号" align="center" prop="tjNumber" width="160px" />
          <el-table-column label="姓名" align="center" prop="cusName" width="80px" />
          <el-table-column label="性别" align="center" prop="cusSex" width="50px">
            <template slot-scope="scope">
              <span v-if="scope.row.cusSex == '0'">男</span>
              <span v-if="scope.row.cusSex == '1'">女</span>
@@ -108,107 +45,40 @@
            <!-- <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.cusSex " /> -->
            <!-- </template> -->
          </el-table-column>
          <el-table-column
            label="手机号"
            align="center"
            prop="cusPhone"
            width="100px"
          />
          <el-table-column
            label="登记时间"
            align="center"
            prop="tjTime"
            width="120px"
          />
          <el-table-column
            v-if="checkStatus == '1'"
            label="审核状态"
            align="center"
            prop="confirmStatus"
            width="80px"
          >
          <el-table-column label="手机号" align="center" prop="cusPhone" width="100px" />
          <el-table-column label="登记时间" align="center" prop="tjTime" width="120px" />
          <el-table-column v-if="checkStatus == '1'" label="审核状态" align="center" prop="confirmStatus" width="80px">
            <template slot-scope="scope">
              <span
                :style="{
                  color:
                    scope.row.confirmStatus == '301' ? '#0CB618' : '#EA1B29',
                }"
                v-if="scope.row.confirmStatus == '301'"
                >已通过</span
              >
              <span
                :style="{
                  color:
                    scope.row.confirmStatus == '301' ? '#0CB618' : '#EA1B29',
                }"
                v-if="scope.row.confirmStatus == '299'"
                >已驳回</span
              >
              <span :style="{
      color:
        scope.row.confirmStatus == '301' ? '#0CB618' : '#EA1B29',
    }" v-if="scope.row.confirmStatus == '301'">已通过</span>
              <span :style="{
      color:
        scope.row.confirmStatus == '301' ? '#0CB618' : '#EA1B29',
    }" v-if="scope.row.confirmStatus == '299'">已驳回</span>
            </template>
          </el-table-column>
          <!--   v-hasPermi="['reservation:reservation:edit']" -->
          <el-table-column label="操作" align="center" width="120px">
            <template slot-scope="scope">
              <el-button
                size="mini"
                type="text"
                @click="tongbu(scope.row)"
                >同步</el-button
              >
              <el-button
                :disabled="dis"
                size="mini"
                type="text"
                v-show="
                  scope.row.confirmStatus == '299' ||
                  scope.row.confirmStatus == 288
                "
                @click="tongguo(scope.row)"
                >通过</el-button
              >
              <el-button
                size="mini"
                type="text"
                v-show="
                  scope.row.confirmStatus == '301' ||
                  scope.row.confirmStatus == 288
                "
                @click="bohui(scope.row)"
                >驳回</el-button
              >
              <el-button size="mini" type="text" @click="tongbu(scope.row)">同步</el-button>
              <el-button :disabled="dis" size="mini" type="text" v-show="scope.row.confirmStatus == '299' ||
      scope.row.confirmStatus == 288
      " @click="tongguo(scope.row)">通过</el-button>
              <el-button size="mini" type="text" v-show="scope.row.confirmStatus == '301' ||
      scope.row.confirmStatus == 288
      " @click="bohui(scope.row)">驳回</el-button>
            </template>
          </el-table-column>
        </el-table>
      </div>
      <div style="width: 50%">
        <el-table
          v-loading="loading"
          border
          height="520px"
          ref="tab1"
          :data="xiangmuList"
        >
        <el-table v-loading="loading" border height="520px" ref="tab1" :data="xiangmuList">
          <!-- <el-table-column type="selection" width="40" align="center" /> -->
          <el-table-column
            label="部门"
            align="center"
            prop="deptName"
            :show-overflow-tooltip="true"
          />
          <el-table-column
            label="项目"
            align="center"
            prop="proName"
            width="115"
            :show-overflow-tooltip="true"
          />
          <el-table-column
            label="状态"
            align="center"
            prop="type"
            :show-overflow-tooltip="true"
            width="60"
          >
          <el-table-column label="部门" align="center" prop="deptName" :show-overflow-tooltip="true" />
          <el-table-column label="项目" align="center" prop="proName" width="115" :show-overflow-tooltip="true" />
          <el-table-column label="状态" align="center" prop="type" :show-overflow-tooltip="true" width="60">
            <template slot-scope="scope">
              <span v-if="scope.row.type == '0'">未检</span>
              <span v-if="scope.row.type == '1'">已检</span>
@@ -217,49 +87,23 @@
            </template>
          </el-table-column>
          <el-table-column
            label="收费方式"
            align="center"
            prop="sffs"
            :show-overflow-tooltip="true"
            width="80"
          />
          <el-table-column
            label="是否收费"
            align="center"
            prop="isPay"
            :show-overflow-tooltip="true"
          />
          <el-table-column label="收费方式" align="center" prop="sffs" :show-overflow-tooltip="true" width="80" />
          <el-table-column label="是否收费" align="center" prop="isPay" :show-overflow-tooltip="true" />
          <!-- <el-table-column
            label="签到时间"
            align="center"
            prop="qdcreateTime"
            width="160"
          /> -->
          <el-table-column
            label="检查医生"
            align="center"
            prop="doctorName"
            width="100"
          />
          <el-table-column
            label="检查时间"
            align="center"
            prop="bcupdateTime"
            width="160"
          />
          <el-table-column label="检查医生" align="center" prop="doctorName" width="100" />
          <el-table-column label="检查时间" align="center" prop="bcupdateTime" width="160" />
          <!-- <el-table-column
            label="保存医生"
            align="center"
            prop="bcdoctorName"
            width="120"
          /> -->
          <el-table-column
            label="最后修改时间"
            align="center"
            prop="zhupdateTime"
            width="160"
          />
          <el-table-column label="最后修改时间" align="center" prop="zhupdateTime" width="160" />
        </el-table>
      </div>
    </div>
@@ -267,13 +111,8 @@
      <!-- <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :pager-count="5" :current-page.sync="currentPage1" :current-page="page"
                :page-sizes="pageSize" :page-size="size" layout="total, sizes, prev, pager, next, jumper" :total="total">
            </el-pagination> -->
      <pagination
        v-show="total > 0"
        :total="total"
        :page.sync="queryParams.page"
        :limit.sync="queryParams.pageSize"
        @pagination="getList"
      />
      <pagination v-show="total > 0" :total="total" :page.sync="queryParams.page" :limit.sync="queryParams.pageSize"
        @pagination="getList" />
    </div>
  </div>
</template>
@@ -353,7 +192,7 @@
    };
  },
  created() {
    this.getdate();
    // this.getNowTime();
  },
@@ -410,8 +249,14 @@
    getList() {
      this.loading = true;
      this.queryParams.checkStatus = this.checkStatus;
      this.queryParams.beginTime = this.createTimeList[0];
      this.queryParams.endTime = this.createTimeList[1];
      if (this.createTimeList) {
        this.queryParams.beginTime = this.createTimeList[0];
        this.queryParams.endTime = this.createTimeList[1];
      } else if (this.createTimeList == null) {
        this.queryParams.beginTime = null;
        this.queryParams.endTime = null;
      }
      getCsList(this.queryParams).then((res) => {
        if (res.code == 200) {
          this.loading = false;
@@ -455,7 +300,7 @@
    },
    hb() {
      console.log(this.queryParams.tjNumber);
      // console.log(this.queryParams.tjNumber);
      if (this.queryParams.tjNumber != null) {
        this.handleQuery();
      }
@@ -467,7 +312,7 @@
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.createTimeList =[]
      this.createTimeList = []
      this.resetForm("queryForm");
      this.handleQuery();
      this.loading = true;
@@ -489,7 +334,7 @@
        cSWebGetPro(tjNumber).then((res) => {
          this.xiangmuList = res.data;
          this.xiangmuList.forEach((item) => {
            console.log(item);
            // console.log(item);
            if (item.type == 0) {
              this.dis = true;
            } else {
src/views/hosp/fuzhen/index.vue
@@ -465,13 +465,16 @@
      if(this.createTimeList){
        this.queryParams.djbeginTime = this.createTimeList[0];
      this.queryParams.djendTime = this.createTimeList[1];
      }else{
      }else if(this.startTime){
        this.queryParams.djbeginTime = this.startTime[0];
      this.queryParams.djendTime = this.startTime[1];
      }
      this.queryParams.bgbeginTime = this.startTime1[0];
      if(this.startTime1){
        this.queryParams.bgbeginTime = this.startTime1[0];
      this.queryParams.bgendTime = this.startTime1[1];
      }
      this.loading = true;
      getReturnOrderList(this.queryParams).then((response) => {
        this.orderList = response.data.list;
src/views/hosp/order/index.vue
@@ -412,7 +412,7 @@
    <el-dialog
      :title="title"
      :visible.sync="Projectopen"
      width="1200px"
      width="1500px"
      style="height: 860px"
      append-to-body
    >
@@ -428,12 +428,14 @@
          <div class="tab3">
            <div class="outside1">
              <el-tree
                class="filter-tree"
                v-loading="loading"
                :data="Treedata"
                :props="defaultProps"
                show-checkbox
                node-key="proId"
                :props="defaultProps"
                @check-change="handleCurrentChecked"
                :default-checked-keys="checkedkey"
                :filter-node-method="filterNode"
                ref="tree"
              >
@@ -441,125 +443,149 @@
            </div>
          </div>
        </el-col>
        <div>
          <el-col :span="18">
            <div class="grid-content bg-purple">
              <template>
                <el-form :model="form">
                  <el-form-item label="体检类型" prop="tjType">
                    <el-radio-group v-model="form.tjType">
                      <el-radio :label="1">团队</el-radio>
                      <el-radio :label="2">个人</el-radio>
                    </el-radio-group>
                  </el-form-item>
                </el-form>
              </template>
              <div class="outside">
                <el-form :inline="true" class="outside1">
                  <el-form-item label="原价">
                    <el-input
                      placeholder="原价"
                      :value="TotalPrice1"
                      disabled
                      style="width: 90px"
                    ></el-input>
                  </el-form-item>
                  <el-form-item label="折扣设定">
                    <el-input
                      style="width: 90px"
                      type="number"
                      v-model="discount"
                      :value="discount"
                    ></el-input>
                  </el-form-item>
                  <el-form-item label="应付金额">
                    <el-input
                      placeholder="应付金额"
                      :value="TotalPrice1 * (discount / 10)"
                      style="width: 90px"
                    ></el-input>
                  </el-form-item>
                  <el-form-item label="付款类型" prop="payType">
                    <el-select
                      style="width: 120px"
                      v-model="payType"
                      placeholder="请选择付款类型"
                    >
                      <el-option
                        v-for="dict in dict.type.dict_pay_type"
                        :key="dict.value"
                        :label="dict.label"
                        :value="dict.value"
                      ></el-option>
                    </el-select>
                  </el-form-item>
                  <el-form-item>
                    <el-button
                      type="primary"
                      @click="submitPrice"
                      :disabled="confirm"
                      style="margin-top: 34px"
                      >收费</el-button
                    >
                  </el-form-item>
                </el-form>
              </div>
              <div style="text-align: center; margin-bottom: 10px">
                已选项目列表
              </div>
              <div
                style="
                  padding: 0px 6px;
                  border: 1px solid #e6ebf5;
                  max-height: 420px;
                  overflow: auto;
                "
        <el-col :span="4">
          <div
            style="text-align: center; margin-bottom: 10px; margin-top: 10px"
          >
            项目列表
          </div>
          <div class="tab3">
            <div class="outside1">
              <el-tree
                class="filter-tree"
                v-loading="loading"
                :data="TreedataList"
                node-key="proId"
                :props="defaultProps"
                :filter-node-method="filterNode"
                show-checkbox
                @check-change="handleCurrentChecked1"
                :default-checked-keys="checkedListkey"
              >
                <el-collapse v-model="activeName" accordion>
                  <div v-for="(item, index) in DataList" :key="index">
                    <el-collapse-item>
                      <template slot="title">
                        {{ item.proName + "(" + "原价" + item.proPrice + ")" }}
                      </template>
                      <el-table
                        :data="item.tjProjectList"
                        border
                        style="width: 100%"
                        height="250"
                      >
                        <el-table-column
                          prop="proName"
                          label="项目"
                          width="180"
                        >
                        </el-table-column>
                        <el-table-column prop="proPrice" label="原价">
                        </el-table-column>
                      </el-table>
                    </el-collapse-item>
                  </div>
                </el-collapse>
                <el-collapse v-model="activeName" accordion v-if="list1">
                  <div>
                    <el-collapse-item title="请选择项目">
                      <el-table :data="DataList" border style="width: 100%">
                        <el-table-column
                          prop="proName"
                          label="项目"
                          width="180"
                        >
                        </el-table-column>
                        <el-table-column prop="ordPrice" label="原价">
                        </el-table-column>
                      </el-table>
                    </el-collapse-item>
                  </div>
                </el-collapse>
              </div>
              </el-tree>
            </div>
          </el-col>
        </div>
          </div>
        </el-col>
        <el-col :span="12">
          <div class="grid-content bg-purple">
            <div style="text-align: center; margin-bottom: 10px">
              已选项目列表
            </div>
            <div
              style="
                padding: 0px 6px;
                border: 1px solid #e6ebf5;
                max-height: 420px;
                overflow: auto;
              "
            >
              <el-table
                :data="DataList"
                border
                style="width: 100%"
                height="250"
              >
                <el-table-column prop="propinName" label="父项">
                </el-table-column>
                <el-table-column prop="proName" label="项目" width="180">
                </el-table-column>
                <el-table-column prop="proPrice" label="原价">
                </el-table-column>
                <el-table-column
                  label="操作"
                  align="center"
                  fixed="right"
                  class-name="small-padding fixed-width"
                  width="80px"
                >
                  <template slot-scope="scope">
                    <el-button
                      size="mini"
                      type="text"
                      icon="el-icon-delete"
                      @click="handleDelete(scope.row)"
                      >删除</el-button
                    >
                  </template>
                </el-table-column>
              </el-table>
              <el-collapse v-model="activeName" accordion v-if="list1">
                <div>
                  <el-collapse-item title="请选择项目">
                    <el-table :data="DataList" border style="width: 100%">
                      <el-table-column prop="proName" label="项目" width="180">
                      </el-table-column>
                      <el-table-column prop="ordPrice" label="原价">
                      </el-table-column>
                    </el-table>
                  </el-collapse-item>
                </div>
              </el-collapse>
            </div>
            <template>
              <el-form :model="form">
                <el-form-item label="体检类型" prop="tjType">
                  <el-radio-group v-model="form.tjType">
                    <el-radio :label="1">团队</el-radio>
                    <el-radio :label="2">个人</el-radio>
                  </el-radio-group>
                </el-form-item>
              </el-form>
            </template>
            <div class="outside">
              <el-form :inline="true" class="outside1">
                <el-form-item label="原价">
                  <el-input
                    placeholder="原价"
                    :value="TotalPrice1"
                    disabled
                    style="width: 90px"
                  ></el-input>
                </el-form-item>
                <el-form-item label="折扣设定">
                  <el-input
                    style="width: 90px"
                    type="number"
                    v-model="discount"
                    :value="discount"
                  ></el-input>
                </el-form-item>
                <el-form-item label="应付金额">
                  <el-input
                    placeholder="应付金额"
                    :value="TotalPrice1 * (discount / 10)"
                    style="width: 90px"
                  ></el-input>
                </el-form-item>
                <el-form-item label="付款类型" prop="payType">
                  <el-select
                    style="width: 120px"
                    v-model="payType"
                    placeholder="请选择付款类型"
                  >
                    <el-option
                      v-for="dict in dict.type.dict_pay_type"
                      :key="dict.value"
                      :label="dict.label"
                      :value="dict.value"
                    ></el-option>
                  </el-select>
                </el-form-item>
                <el-form-item>
                  <el-button
                    type="primary"
                    @click="submitPrice"
                    :disabled="confirm"
                    style="margin-top: 34px"
                    >收费</el-button
                  >
                </el-form-item>
              </el-form>
            </div>
          </div>
        </el-col>
      </el-row>
    </el-dialog>
@@ -567,12 +593,12 @@
    <el-dialog
      :title="title"
      :visible.sync="Projectopen1"
      width="1200px"
      width="1500px"
      style="height: 860px"
      append-to-body
    >
      <el-row type="flex" class="row-bg" justify="space-around">
        <el-col :span="8">
        <el-col :span="6">
          <div
            style="text-align: center; margin-bottom: 10px; margin-top: 10px"
          >
@@ -586,10 +612,11 @@
                class="filter-tree"
                v-loading="loading"
                :data="Treedata"
                :props="defaultProps"
                show-checkbox
                node-key="proId"
                :props="defaultProps"
                @check-change="handleCurrentChecked"
                @check="handleCurrentChecked"
                :default-checked-keys="checkedkey"
                :filter-node-method="filterNode"
                ref="tree"
              >
@@ -597,9 +624,86 @@
            </div>
          </div>
        </el-col>
        <el-col :span="15">
        <el-col :span="4">
          <div
            style="text-align: center; margin-bottom: 10px; margin-top: 10px"
          >
            项目列表
          </div>
          <div class="tab3">
            <div class="outside1">
              <el-tree
                class="filter-tree"
                v-loading="loading"
                :data="TreedataList"
                node-key="proId"
                :props="defaultProps"
                :filter-node-method="filterNode"
                show-checkbox
                @check-change="handleCurrentChecked1"
                :default-checked-keys="checkedListkey"
              >
              </el-tree>
            </div>
          </div>
        </el-col>
        <el-col :span="12">
          <div class="grid-content bg-purple">
            <div style="text-align: center; margin-bottom: 10px">
              已选项目列表
            </div>
            <div
              style="
                padding: 0px 6px;
                border: 1px solid #e6ebf5;
                max-height: 420px;
                overflow: auto;
              "
            >
              <el-table
                :data="DataList"
                border
                style="width: 100%"
                height="250"
              >
                <el-table-column prop="propinName" label="检查项目">
                </el-table-column>
                <el-table-column prop="proName" label="明细项目" width="180">
                </el-table-column>
                <el-table-column prop="proPrice" label="原价">
                </el-table-column>
                <el-table-column
                  label="操作"
                  align="center"
                  fixed="right"
                  class-name="small-padding fixed-width"
                  width="80px"
                >
                  <template slot-scope="scope">
                    <el-button
                      size="mini"
                      type="text"
                      icon="el-icon-delete"
                      @click="handleDelete(scope.row)"
                      title="删除"
                    ></el-button>
                  </template>
                </el-table-column>
              </el-table>
              <el-collapse v-model="activeName" accordion v-if="list1">
                <div>
                  <el-collapse-item title="请选择项目">
                    <el-table :data="DataList" border style="width: 100%">
                      <el-table-column prop="proName" label="项目" width="180">
                      </el-table-column>
                      <el-table-column prop="ordPrice" label="原价">
                      </el-table-column>
                    </el-table>
                  </el-collapse-item>
                </div>
              </el-collapse>
            </div>
            <template>
              <el-form :model="form">
                <el-form-item label="体检类型" prop="tjType">
@@ -661,50 +765,6 @@
                </el-form-item>
              </el-form>
            </div>
            <div style="text-align: center; margin-bottom: 10px">
              已选项目列表
            </div>
            <div
              style="
                padding: 0px 6px;
                border: 1px solid #e6ebf5;
                max-height: 420px;
                overflow: auto;
              "
            >
              <el-collapse v-model="activeName" accordion>
                <div v-for="(item, index) in DataList" :key="index">
                  <el-collapse-item>
                    <template slot="title">
                      {{ item.proName + "(" + "原价" + item.proPrice + ")" }}
                    </template>
                    <el-table
                      :data="item.tjProjectList"
                      border
                      style="width: 100%"
                      height="250"
                    >
                      <el-table-column prop="proName" label="项目" width="180">
                      </el-table-column>
                      <el-table-column prop="proPrice" label="原价">
                      </el-table-column>
                    </el-table>
                  </el-collapse-item>
                </div>
              </el-collapse>
              <el-collapse v-model="activeName" accordion v-if="list1">
                <div>
                  <el-collapse-item title="请选择项目">
                    <el-table :data="DataList" border style="width: 100%">
                      <el-table-column prop="proName" label="项目" width="180">
                      </el-table-column>
                      <el-table-column prop="ordPrice" label="原价">
                      </el-table-column>
                    </el-table>
                  </el-collapse-item>
                </div>
              </el-collapse>
            </div>
          </div>
        </el-col>
      </el-row>
@@ -763,7 +823,12 @@
import moment from "moment";
import { getwater } from "@/api/hosp/customer";
import ViewPdf from "@/components/ViewPdf";
import { projectGetList, getaddtTransition } from "@/api/system/tijian";
import {
  projectGetList,
  getaddtTransition,
  getProParentIdDxList,
  getProSonDxList,
} from "@/api/system/tijian";
export default {
  components: {
    ViewPdf,
@@ -794,10 +859,13 @@
      flag: true,
      bill: null,
      Treedata: [],
      checkedkey: [],
      checkedListkey: [],
      defaultProps: {
        children: "tjProjectList",
        children: [],
        label: "proName",
      },
      TreedataList: [],
      discount: 10,
      DataList: [],
      // 套餐提交按钮
@@ -888,7 +956,7 @@
  },
  created() {
    // this.getNowTime();
    this.getdate();
  },
  mounted() {
@@ -899,14 +967,13 @@
  methods: {
    getdate() {
      getNewDateList().then((res) => {
        if(res.data){
        if (res.data) {
          this.createTimeList = [
            moment(res.data).format("YYYY-MM-DD 00:00:00"),
            moment(res.data).format("YYYY-MM-DD 23:59:00")
            moment(res.data).format("YYYY-MM-DD 23:59:00"),
          ];
          this.getList();
        }
      });
    },
    filterNode(value, data) {
@@ -955,9 +1022,12 @@
      if (this.startTime) {
        this.queryParams.djbeginTime = this.startTime[0];
        this.queryParams.djendTime = this.startTime[1];
      }else{
         this.queryParams.djbeginTime = this.createTimeList[0];
      } else if (this.createTimeList) {
        this.queryParams.djbeginTime = this.createTimeList[0];
        this.queryParams.djendTime = this.createTimeList[1];
      } else if (this.createTimeList == null) {
        this.queryParams.djbeginTime = null;
        this.queryParams.djendTime = null;
      }
      if (this.startTime1) {
        this.queryParams.bgbeginTime = this.startTime1[0];
@@ -1064,7 +1134,6 @@
    },
    // 表单重置
    reset() {
      this.form = {
        orderId: null,
        userId: null,
@@ -1102,9 +1171,9 @@
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.startTime = []
      this.startTime1 = []
      this.createTimeList = []
      this.startTime = [];
      this.startTime1 = [];
      this.createTimeList = [];
      this.resetForm("queryForm");
      this.handleQuery();
    },
@@ -1158,6 +1227,7 @@
    // 补录项目
    handleProject(row) {
      this.loading = true;
      this.DataList = [];
      this.orderId = row.orderId;
      this.cusId = row.tjCusIdCard;
      this.userId = row.userId;
@@ -1173,16 +1243,41 @@
        this.form.tjType = 0;
      }
      /** 查询部门下拉树结构 */
      projectGetList().then((response) => {
        this.Treedata = response.data.list;
        this.loading = false;
      });
      this.getDataList();
      this.Projectopen = true;
      this.title = "补录项目";
    },
    getDataList() {
      getProParentIdDxList().then((response) => {
        this.Treedata = response.data.list;
        this.checkedkey.push(this.Treedata[0].proId);
        let proId = this.Treedata[0].proId;
        getProSonDxList(proId).then((res) => {
          this.TreedataList = res.data.list;
          this.TreedataList.forEach((item) => {
            this.checkedListkey.push(item.proId);
            this.DataList.push(item);
            this.DataList.forEach((item) => {
              item.propinName = this.Treedata[0].proName;
            });
          });
          this.TotalPrice1 = 0;
          if (this.DataList.length != 0) {
            this.list1 = false;
            this.DataList.forEach((item) => {
              this.TotalPrice1 = item.proPrice + this.TotalPrice1;
            });
          }
        });
        this.loading = false;
      });
    },
    // 补录项目
    handleProject1(row) {
    handleProject1() {
      this.loading = true;
      this.DataList = [];
      this.orderId = this.ids;
      this.cusId = this.cusIds;
      this.userId = this.userIds;
@@ -1192,59 +1287,119 @@
        cusPhone: this.cusPhone,
        cusSex: this.cusSex,
      };
      if (row.tjType) {
        this.form.tjType = parseInt(row.tjType);
      } else {
        this.form.tjType = 0;
      }
      // if (row.tjType) {
      //   this.form.tjType = parseInt(row.tjType);
      // } else {
      //   this.form.tjType = 0;
      // }
      /** 查询部门下拉树结构 */
      projectGetList().then((response) => {
        this.Treedata = response.data.list;
        this.loading = false;
      });
      this.getDataList();
      this.Projectopen1 = true;
      this.title = "补录项目";
    },
    // 点击获取每个树节点
    handleCurrentChecked(data, checked, checkedNodes) {
      if (!data.tjProjectList) {
        return;
      }
      if (checked === true) {
        this.DataList.push(data);
      } else {
        this.DataList.pop(data);
        this.list1 = true;
      }
      // let DataList = selectedobj.checkedNodes
      // if (DataList.length>0) {
      //   DataList.forEach(item => {
      //     if (nodeobj.proId === item.proId) {
      //       this.DataList = []
      //       this.DataList.push(item)
      //       this.list1 = false;
      //     }
      //   })
      // }else{
      //   this.DataList = []
      //   this.list1 = true;
      // }
      this.TotalPrice1 = 0;
      this.proIds = [];
      if (this.DataList.length != 0) {
        this.list1 = false;
        this.DataList.forEach((item) => {
          this.TotalPrice1 = item.proPrice + this.TotalPrice1;
          item.tjProjectList.forEach((item1) => {
            this.proIds.push(item1.proId);
      console.log(data, checked, checkedNodes);
      console.log(this.DataList,22222);
      if (checked.checkedNodes.length != 0) {
        this.$refs.tree.setCheckedKeys([data.proId]);
        let proId = data.proId;
        getProSonDxList(proId).then((res) => {
          this.TreedataList = res.data.list;
          this.TreedataList.forEach((item) => {
            this.checkedListkey.push(item.proId);
            this.DataList.push(item);
            this.DataList.forEach((item1) => {
              if (item1.proParentId == data.proId) {
                item1.propinName = data.proName;
              }
            });
          });
          this.spliceData(this.DataList);
          this.TotalPrice1 = 0;
          if (this.DataList.length != 0) {
            this.list1 = false;
            this.DataList.forEach((item) => {
              this.TotalPrice1 = item.proPrice + this.TotalPrice1;
            });
          }
        });
      } else if (checked.checkedNodes.length == 0) {
        let proId = data.proId;
        getProSonDxList(proId).then((res) => {
          this.TreedataList = res.data.list;
          this.DataList.forEach((item, index) => {
            this.TreedataList.forEach((item1) => {
              if (item.proId == item1.proId) {
                this.DataList.splice(index, this.TreedataList.length);
                this.TotalPrice1 = 0;
                this.DataList.forEach((item1) => {
                  this.TotalPrice1 = item1.proPrice + this.TotalPrice1;
                });
              }
            });
          });
        });
        this.checkedListkey = [];
        console.log(this.DataList,1111)
      }
    },
    spliceData(row) {
      for (var i = 0; i < row.length; i++) {
        for (var j = i + 1; j < row.length; j++) {
          if (row[i].proId == row[j].proId) {
            //如果第一个等于第二个,splice方法删除第二个
            row.splice(j, 1);
            j--;
          }
        }
      }
      return row;
    },
    // 点击获取每个树节点
    handleCurrentChecked1(data, checked, checkedNodes) {
      if (checked == false) {
        this.DataList.forEach((item, index) => {
          if (item.proId == data.proId) {
            this.DataList.splice(index, 1);
            this.TotalPrice1 = 0;
            this.DataList.forEach((item1) => {
              this.TotalPrice1 = item1.proPrice + this.TotalPrice1;
            });
          }
        });
      } else if (checked == true) {
        this.DataList.push(data);
        this.TotalPrice1 = 0;
        this.DataList.forEach((item1) => {
          this.TotalPrice1 = item1.proPrice + this.TotalPrice1;
        });
      }
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      this.DataList.forEach((item, index) => {
        if (item.proId == row.proId) {
          this.DataList.splice(index, 1);
          this.TotalPrice1 = 0;
          this.DataList.forEach((item1) => {
            this.TotalPrice1 = item1.proPrice + this.TotalPrice1;
          });
        }
      });
    },
    // 收费按钮
    submitPrice() {
      this.proIds = [];
      if (this.DataList.length != 0) {
        this.DataList.forEach((item) => {
          this.proIds.push(item.proId);
        });
      }
      let data = {
        cusId: this.cusId,
        proIds: this.proIds,
@@ -1280,6 +1435,12 @@
    },
    // 收费按钮
    submitPrice1() {
      this.proIds = [];
      if (this.DataList.length != 0) {
        this.DataList.forEach((item) => {
          this.proIds.push(item.proId);
        });
      }
      let data = {
        cusId: this.cusIds,
        proIds: this.proIds,
@@ -1334,16 +1495,7 @@
    //     }
    //   });
    // },
    /** 删除按钮操作 */
    // handleDelete(row) {
    //   const orderIds = row.orderId || this.ids;
    //   this.$modal.confirm('是否确认删除体检记录编号为"' + orderIds + '"的数据项?').then(function() {
    //     return delOrder(orderIds);
    //   }).then(() => {
    //     this.getList();
    //     this.$modal.msgSuccess("删除成功");
    //   }).catch(() => {});
    // },
    /** 导出按钮操作 */
    handleExport() {
      this.download(
@@ -1421,7 +1573,7 @@
}
.outside1 {
  width: 700px;
  width: 500px;
  display: flex;
  margin-top: 8px;
}
src/views/mall/checklog/index.vue
@@ -359,8 +359,14 @@
    /** 查询核销记录列表 */
    getList() {
      this.loading = true;
      this.queryParams.startTime = this.createTimeList[0]
      if(this.createTimeList){
        this.queryParams.startTime = this.createTimeList[0]
      this.queryParams.endTime = this.createTimeList[1]
      }else if(this.createTimeList == null){
        this.queryParams.startTime = null
      this.queryParams.endTime = null
      }
      listChecklog(this.queryParams).then((response) => {
        response.rows.forEach((item, index) => {
            item.newID =
src/views/reservation/reservations/index.vue
@@ -523,7 +523,7 @@
              <el-form-item label="卡号" prop="indexCard">
                <el-input v-model="formIn.indexCard" placeholder="请输入卡号" style="width: 190px" />
              </el-form-item>
              <el-button type="primary" @click="Package" size="mini">选择套餐</el-button>
              <!-- <el-button type="primary" @click="Package" size="mini">选择套餐</el-button> -->
            </el-form>
          </div>
@@ -628,7 +628,7 @@
                    </el-form-item>
                    <el-form-item>
                      <el-button type="primary" @click="submitPrice" :disabled="confirm" size="mini">签到登记</el-button>
                      <el-button type="primary" @click="submitPrice" :disabled="confirm" size="mini">预约修改</el-button>
                    </el-form-item>
                    <!-- </el-form> -->
                    <!-- </div> -->
src/views/sampling/sampling/index.vue
@@ -433,8 +433,14 @@
    getList() {
      this.loading = true;
      this.queryParams.isSignFor = this.tjStatus;
      this.queryParams.beginTime = this.createTimeList[0];
      if(this.createTimeList){
        this.queryParams.beginTime = this.createTimeList[0];
      this.queryParams.endTime = this.createTimeList[1];
      }else if(this.createTimeList == null){
        this.queryParams.beginTime = null;
      this.queryParams.endTime = null;
      }
      getList(this.queryParams).then((response) => {
        if (response.data) {
          if (response.data.list == null) {
@@ -488,7 +494,7 @@
      this.resetForm("form");
    },
    hb() {
      console.log(this.queryParams.tjNum);
      // console.log(this.queryParams.tjNum);
      if (this.queryParams.tjNum != null) {
        this.handleQuery();
      }
src/views/standard/renshunum/index.vue
@@ -108,8 +108,14 @@
      });
    },
    getList() {
      this.queryParams.beginTime = this.startTime[0];
      if(this.startTime){
        this.queryParams.beginTime = this.startTime[0];
      this.queryParams.endTime = this.startTime[1];
      }else if(this.startTime == null){
        this.queryParams.beginTime = null;
      this.queryParams.endTime = null;
      }
      getTiaoNumsByDate(this.queryParams).then((res) => {
        let myChart = this.$echarts.init(document.getElementById("main"));
        //你进入页面先把图表渲染了  然后才获取的数据把
src/views/standard/tijiancom/index.vue
@@ -93,7 +93,10 @@
      if (this.value1) {
        this.queryParams.startDate = this.value1[0];
        this.queryParams.endDate = this.value1[1];
      } else {
      }else  if (this.value1==null) {
        this.queryParams.startDate = null;
        this.queryParams.endDate = null;
      }else {
        this.queryParams.startDate = this.startTime[0];
        this.queryParams.endDate = this.startTime[1];
      }
src/views/system/Checkout/index.vue
@@ -568,10 +568,14 @@
      if (this.startTime) {
        this.queryParams.djbeginTime = this.startTime[0];
        this.queryParams.djendTime = this.startTime[1];
      } else {
      } else if(this.createTimeList){
        this.queryParams.djbeginTime = this.createTimeList[0];
        this.queryParams.djendTime = this.createTimeList[1];
      } else if(this.createTimeList == null){
        this.queryParams.djbeginTime = null;
        this.queryParams.djendTime = null;
      }
      this.loading = true;
      getQianLiList(this.queryParams).then((response) => {
src/views/system/bill/index.vue
@@ -825,6 +825,9 @@
      if(this.createTimeList){
        this.queryParams.djbeginTime = this.createTimeList[0];
      this.queryParams.djendTime = this.createTimeList[1];
      }else if(this.createTimeList == null){
        this.queryParams.djbeginTime = null;
      this.queryParams.djendTime = null;
      }else{
        this.queryParams.djbeginTime = this.startTime[0];
      this.queryParams.djendTime = this.startTime[1];
@@ -898,7 +901,7 @@
      this.resetForm("form");
    },
    hb(){
      console.log(this.queryParams.tjNum);
      // console.log(this.queryParams.tjNum);
       if (this.queryParams.tjNum != undefined) {
        this.handleQuery();
      }
src/views/system/biol/index.vue
@@ -765,6 +765,9 @@
      if (this.createTimeList) {
        this.queryParams.djbeginTime = this.createTimeList[0];
        this.queryParams.djendTime = this.createTimeList[1];
      }else if(this.createTimeList == null){
        this.queryParams.djbeginTime = null;
        this.queryParams.djendTime =null;
      }
      this.loading = true;
src/views/system/circle/index.vue
@@ -491,8 +491,14 @@
    },
    /** 查询体检记录列表 */
    getList() {
      this.queryParams.djbeginTime = this.createTimeList[0];
      if( this.createTimeList){
        this.queryParams.djbeginTime = this.createTimeList[0];
      this.queryParams.djendTime = this.createTimeList[1];
      }else if(this.createTimeList == null){
        this.queryParams.djbeginTime = null;
      this.queryParams.djendTime = null;
      }
      this.loading = true;
      getWenJuanList(this.queryParams).then((response) => {
        this.orderList = response.data.list;
src/views/system/examcharge/index.vue
@@ -212,15 +212,17 @@
          </el-row>
        </el-form>
        <div style="margin-bottom: 10px">
          <el-radio-group
        <div style="margin-bottom: 10px;margin-left: 25px;">
          <h3>收费记录</h3>
          <!-- <el-radio-group
            v-model="queryParams.type"
            @input="handleUpdate"
            style="margin-left: 30px"
          >
            <el-radio-button label="1">收费记录</el-radio-button>
            <!-- <el-radio-button label="2">退费记录</el-radio-button> -->
          </el-radio-group>
            <el-radio-button label="2">退费记录</el-radio-button>
          </el-radio-group> -->
        </div>
        <el-table
@@ -583,7 +585,7 @@
    },
    // 点击获取每个树节点
    handleCurrentChecked(data, checked, checkedNodes) {
      console.log(data, checked);
      // console.log(data, checked);
      // this.form.tjPro = "",
      //     this.form.ys = 0
      if (checked) {
src/views/system/visit/index.vue
@@ -517,8 +517,15 @@
    },
    /** 查询体检记录列表 */
    getList() {
      this.queryParams.djbeginTime = this.createTimeList[0];
      if( this.createTimeList){
        this.queryParams.djbeginTime = this.createTimeList[0];
      this.queryParams.djendTime = this.createTimeList[1];
      }else if(this.createTimeList == null){
        this.queryParams.djbeginTime = null;
      this.queryParams.djendTime = null;
      }
      this.loading = true;
      getOrderList(this.queryParams).then((response) => {
        this.orderList = response.data.list;
src/views/team/disease/index.vue
@@ -367,8 +367,14 @@
    },
    // 团检病种页面查询人员列表
    getList() {
      this.queryParams.beginTime = this.createTimeList[0];
      if(this.createTimeList){
        this.queryParams.beginTime = this.createTimeList[0];
      this.queryParams.endTime = this.createTimeList[1];
      }else if(this.createTimeList == null){
        this.queryParams.beginTime = null;
      this.queryParams.endTime = null;
      }
      getPeopleList(this.queryParams).then((res) => {
        this.tableData = res.data.voList;
        this.total = res.data.total;
src/views/team/reportresults/index.vue
@@ -488,8 +488,14 @@
    },
    // 团检病种页面查询人员列表
    getList() {
      this.queryParams.beginTime = this.createTimeList[0];
      if(this.createTimeList){
        this.queryParams.beginTime = this.createTimeList[0];
      this.queryParams.endTime = this.createTimeList[1];
      }else if(this.createTimeList == null){
        this.queryParams.beginTime = null;
      this.queryParams.endTime = null;
      }
      getPeopleList(this.queryParams).then((res) => {
        this.tableData = res.data.voList;
        this.total = res.data.total;
@@ -498,11 +504,11 @@
    handleSizeChange(val) {
      this.queryParam.pageSize = val;
      this.geticd();
      // this.geticd();
    },
    handleCurrentChange(val) {
      this.queryParam.page = val;
      this.geticd();
      // this.geticd();
    },
    /** 查询体检单位信息维护列表 */
    getcomp() {
@@ -538,8 +544,8 @@
    handleQuery() {
      this.queryParams.page = 1;
      this.getList();
      this.queryParam.page = 1;
      this.geticd();
      // this.queryParam.page = 1;
      // this.geticd();
    },
    /** 重置按钮操作 */
    resetQuery() {
src/views/team/teams/index.vue
@@ -376,7 +376,7 @@
  ],
  data() {
    let checkPhoneNum = (rule, value, callback) => {
      console.log(value);
      // console.log(value);
      let patter = new RegExp(/^1\s*[3456789]\s*(\d\s*){9}$/);
      if (value == "" && value == undefined && !value) {
        return callback("");
@@ -408,6 +408,7 @@
      // 弹出层标题
      title: "",
      bingZhong: "",
      createTimeList:[],
      Listdata: {},
      ListdataAll: [],
      aidList: [],
@@ -422,6 +423,7 @@
      menuIds: [],
      proIds: [],
      valueList: [],
      loading:false,
      // 是否显示弹出层
      open: false,
      open1: false,
@@ -497,11 +499,6 @@
    },
    getList() {
      this.loading = true;
      if(this.createTimeList){
        this.objs.beginTime=this.createTimeList[0],
        this.objs.endTime=this.createTimeList[1]
      }
      getCompany(this.objs).then((response) => {
        this.CompanyList = response.data;
        this.total = response.total;
@@ -509,15 +506,21 @@
      });
    },
    handlequery() {
      if (this.objs.firmId && this.objs.dwDeptId) {
        this.objs.beginTime = this.createTimeList[0];
        this.objs.endTime = this.createTimeList[1];
      if(this.createTimeList){
        this.objs.beginTime=this.createTimeList[0],
        this.objs.endTime=this.createTimeList[1]
      }else if(this.createTimeList == null){
        this.objs.beginTime=null,
        this.objs.endTime=null
      }
      if (this.objs.firmId && this.objs.dwDeptId && this.objs.beginTime) {
        tuanTiListById(this.objs).then((response) => {
          this.Listdata = response.data;
          this.userList = response.data.list;
        });
      } else {
        this.$message.warning("带星号为必填项");
        this.$message.warning("查询项为必填项");
      }
    },
    handleQuery1() {
@@ -660,9 +663,9 @@
        firmDeptId: this.data.deptId,
        aidList: this.aidList,
      };
      console.log(data);
      // console.log(data);
      tuanTiBingChart(data).then((res) => {
        console.log(res);
        // console.log(res);
        this.$nextTick(() => {
          var chartDom = document.getElementById("main");
          var myChart = echarts.init(chartDom);