WXL (wul)
9 天以前 0e6e48f9fe8920a6205829d0d26fb0c5452b3842
src/views/followvisit/technology/index.vue
@@ -1,6 +1,6 @@
<template>
  <div class="app-container">
     <statistics-cards
    <statistics-cards
      :cardlist="cardlist"
      :ycvalue="ycvalue"
      :jgvalue="jgvalue"
@@ -83,7 +83,7 @@
        <el-col :span="1.5">
          <el-button
            type="primary"
                        icon="el-icon-plus"
            icon="el-icon-plus"
            size="medium"
            @click="handleAdd"
            >新增</el-button
@@ -174,7 +174,12 @@
              size="medium"
              type="text"
              @click="
                gettoken360(scope.row.sfzh,scope.row.drcode,scope.row.drname,scope.row.patid,)
                gettoken360(
                  scope.row.sfzh,
                  scope.row.drcode,
                  scope.row.drname,
                  scope.row.patid
                )
              "
              ><span class="button-textsc">{{
                scope.row.sendname
@@ -190,7 +195,7 @@
          width="120"
        >
          <template slot-scope="scope">
             <el-tooltip
            <el-tooltip
              class="item"
              effect="dark"
              :content="scope.row.remark"
@@ -362,7 +367,7 @@
          prop="templatename"
          width="200"
        />
         <el-table-column
        <el-table-column
          label="任务状态"
          align="center"
          key="sendstate"
@@ -487,7 +492,6 @@
                size="medium"
                type="text"
                @click="handlestop(scope.row)"
                ><span class="button-sc"
                  ><i class="el-icon-remove-outline"></i>暂停服务</span
                ></el-button
@@ -696,7 +700,11 @@
  resetUserPwd,
  changeUserStatus,
} from "@/api/system/user";
import { getTaskservelist, buidegetTasklist,query360PatInfo } from "@/api/AiCentre/index";
import {
  getTaskservelist,
  buidegetTasklist,
  query360PatInfo,
} from "@/api/AiCentre/index";
import Treeselect from "@riophae/vue-treeselect";
import store from "@/store";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
@@ -705,7 +713,7 @@
export default {
  name: "Discharge",
  dicts: ["sys_normal_disable", "sys_user_sex", "sys_yujing", "sys_suggest"],
  components: { Treeselect,StatisticsCards },
  components: { Treeselect, StatisticsCards },
  data() {
    return {
      // 遮罩层
@@ -852,7 +860,7 @@
        },
        YeWuXX: {
          BingRenXX: {
            ZhengJianHM: '',
            ZhengJianHM: "",
            ZhengJianLXDM: "01",
            ZhengJianLXMC: "居民身份证",
            ZuZhiJGID: localStorage.getItem("orgid"),
@@ -869,6 +877,7 @@
          },
        },
      },
      orgname: "",
      // 表单参数
      form: {
        phonenumber: "",
@@ -884,7 +893,7 @@
        pageSize: 10,
        serviceType: 10,
        searchscope: 3,
        sendstate:2,
        sendstate: 2,
        scopetype: [],
        leaveldeptcodes: [],
        leavehospitaldistrictcodes: [],
@@ -892,7 +901,7 @@
      propss: { multiple: true },
      options: [],
       topicoptions: [
      topicoptions: [
        {
          value: null,
          label: "全部",
@@ -941,6 +950,8 @@
    this.serviceState = store.getters.serviceState;
    this.checkboxlist = store.getters.checkboxlist;
    this.errtype = this.$route.query.errtype;
    this.orgname = localStorage.getItem("orgname");
    this.leavehospitaldistrictcode =
      this.$route.query.leavehospitaldistrictcode;
    this.sourcetype[0].children = store.getters.belongDepts.map((dept) => {
@@ -986,10 +997,13 @@
        console.log(this.topqueryParams.leavehospitaldistrictcodes, "11");
      }
      this.loading = true;
      if (this.topqueryParams.leavehospitaldistrictcodes[0]&&this.topqueryParams.leaveldeptcodes[0]) {
        this.topqueryParams.deptOrDistrict=2;
      }else{
        this.topqueryParams.deptOrDistrict=1;
      if (
        this.topqueryParams.leavehospitaldistrictcodes[0] &&
        this.topqueryParams.leaveldeptcodes[0]
      ) {
        this.topqueryParams.deptOrDistrict = 2;
      } else {
        this.topqueryParams.deptOrDistrict = 1;
      }
      if (!this.followupAuthority()) {
@@ -1098,7 +1112,7 @@
      });
    },
    //患者360跳转
    gettoken360(sfzh,drcode,drname,id) {
    gettoken360(sfzh, drcode, drname, id) {
      const orgname = localStorage.getItem("orgname");
      if (orgname == "南华大学附属第一医院") {
        query360PatInfonh(id).then((res) => {
@@ -1121,13 +1135,12 @@
      this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
      query360PatInfo(this.postData).then((res) => {
        if (res.data.url) {
           window.open(res.data.url, '_blank');
          window.open(res.data.url, "_blank");
          // this.linkUrl = res.data.url;
        }else{
        } else {
          this.$modal.msgWarning("360查询无结果");
        }
      });
    },
    // 查看门诊随访详情
    Referencequestion(row) {
@@ -1258,7 +1271,7 @@
        pageSize: 10,
        serviceType: 10,
        searchscope: 2,
        sendstate:2,
        sendstate: 2,
      };
      this.handleQuery(1);
    },
@@ -1397,9 +1410,9 @@
    Seedetails(row) {
      let type = "";
      console.log(row, "rwo");
        if (row.type == 1) {
          type = 1;
        }
      if (row.type == 1) {
        type = 1;
      }
      this.$router.push({
        path: "/followvisit/record/detailpage/",
        query: {
@@ -1427,8 +1440,7 @@
            '"的数据项?'
        )
        .then(() => {
      getTaskservelist({
          getTaskservelist({
            patid: row.patid,
            taskid: row.taskid,
          }).then((res) => {
@@ -1572,11 +1584,11 @@
  }
}
::v-deep.leftvlue .el-card__body {
  background: #F2F8FF;
  color: #324A9B;
  background: #f2f8ff;
  color: #324a9b;
}
::v-deep.leftvlue .el-card__body:hover {
  background: #3664D9;
  background: #3664d9;
  color: #fff;
  cursor: pointer; /* 鼠标悬浮时变为手形 */
}