WXL
2025-04-10 4c9eab7cd2f92e6ebee76f38f1616cb3e5855697
src/views/followvisit/outpatient/index.vue
@@ -192,7 +192,7 @@
      <el-table
        v-loading="loading"
        :data="userList"
        height="660"
        height="806"
        :row-class-name="tableRowClassName"
        @selection-change="handleSelectionChange"
      >
@@ -218,10 +218,7 @@
              size="medium"
              type="text"
              @click="
                 $router.push({
                    path: '/patient/indexls/',
                    query: { sfzh: scope.row.sfzh },
                  })
                gettoken360(scope.row.sfzh)
              "
              ><span class="button-textsc">{{
                scope.row.sendname
@@ -290,12 +287,12 @@
        <el-table-column
          label="随访人员"
          align="center"
          key="createBy"
          prop="createBy"
          key="updateBy"
          prop="updateBy"
          width="120"
        />
        <el-table-column
          label="随访时间"
          label="随访完成时间"
          sortable
          align="center"
          prop="finishtime"
@@ -652,7 +649,7 @@
  resetUserPwd,
  changeUserStatus,
} from "@/api/system/user";
import { getTaskservelist } from "@/api/AiCentre/index";
import { getTaskservelist,query360PatInfo } from "@/api/AiCentre/index";
import Treeselect from "@riophae/vue-treeselect";
import store from "@/store";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
@@ -712,7 +709,39 @@
      },
      value: [],
      list: [],
      postData: {
        XiaoXiTou: {
          FaSongFCSJC: "ZJHES",
          FaSongJGID: "47255004333112711A1001",
          FaSongJGMC: "景宁畲族自治县人民医院",
          FaSongSJ: "2025-01-09 17:29:36",
          FaSongXTJC: "SUIFANGXT",
          FaSongXTMC: "随访系统",
          XiaoXiID: "5FA92AFB-9833-4608-87C7-F56A654AC171",
          XiaoXiLX: "SC_LC_360STCX",
          XiaoXiMC: "360 视图查询",
          ZuHuID: "1400361376454545408",
          ZuHuMC: "景宁畲族自治县人民医院",
        },
        YeWuXX: {
          BingRenXX: {
            ZhengJianHM: '',
            ZhengJianLXDM: "01",
            ZhengJianLXMC: "居民身份证",
            ZuZhiJGID: "47255004333112711A1001",
            ZuZhiJGMC: "景宁畲族自治县人民医院",
          },
          YongHuXX: {
            XiTongID: "SUIFANGXT",
            XiTongMC: "随访系统",
            YongHuID: "1400466972205912064",
            YongHuXM: "JNRMYY",
            ZuZhiJGID: "47255004333112711A1001",
            ZuZhiJGMC: "景宁畲族自治县人民医院",
            idp: "lyra",
          },
        },
      },
      sourcetype: [
        {
          value: 1,
@@ -782,6 +811,7 @@
        pageSize: 10,
        serviceType: 3,
        searchscope: 3,
        sendstate:2,
        scopetype: [],
        leaveldeptcodes: [],
        leavehospitaldistrictcodes: [],
@@ -883,7 +913,11 @@
        console.log(this.topqueryParams.leavehospitaldistrictcodes, "11");
      }
      this.loading = true;
      this.topqueryParams.deptOrDistrict=2,
      if (this.topqueryParams.leavehospitaldistrictcodes[0]&&this.topqueryParams.leaveldeptcodes[0]) {
        this.topqueryParams.deptOrDistrict=2;
      }else{
        this.topqueryParams.deptOrDistrict=1;
      }
      getTaskservelist(this.topqueryParams).then((response) => {
        this.userList = response.rows[0].serviceSubtaskList;
@@ -958,6 +992,19 @@
          row.status = row.status === "0" ? "1" : "0";
        });
    },
     //患者360跳转s
     gettoken360(sfzh) {
      this.postData.YeWuXX.BingRenXX.ZhengJianHM=sfzh
      query360PatInfo(this.postData).then((res) => {
        if (res.data.url) {
           window.open(res.data.url, '_blank');
          // this.linkUrl = res.data.url;
        }else{
          this.$modal.msgWarning("360查询无结果");
        }
      });
    },
    // 取消按钮
    cancel() {
      this.addalteropen = false;
@@ -1021,6 +1068,7 @@
      this.topqueryParams = {
        pageNum: 1,
        pageSize: 10,
        sendstate:2,
        serviceType: 3,
        searchscope: 2,
      };