WXL
6 天以前 bc241c45a62a92045c18ef18f9355c8f4ea71c56
src/views/followvisit/outpatient/index.vue
@@ -26,7 +26,7 @@
          <div class="ysfleftvlue">
            <el-card shadow="hover">
              <div style="padding: 8px">
                <span>已发送未领取</span>
                <span>表单已发送</span>
                <div
                  style="
                    text-align: center;
@@ -79,7 +79,7 @@
          ></el-input>
        </el-form-item>
        <el-form-item label="检查时间">
        <el-form-item label="影像时间">
          <el-date-picker
            v-model="dateRange"
            style="width: 240px"
@@ -154,7 +154,6 @@
                icon="el-icon-upload2"
                size="medium"
                @click="handleExport"
                v-hasPermi="['system:user:export']"
                >导出</el-button
              >
            </div>
@@ -192,7 +191,7 @@
      <el-table
        v-loading="loading"
        :data="userList"
        height="806"
        height="808"
        :row-class-name="tableRowClassName"
        @selection-change="handleSelectionChange"
      >
@@ -218,7 +217,10 @@
              size="medium"
              type="text"
              @click="
                gettoken360(scope.row.sfzh)
                  $router.push({
                    path: '/patient/indexls/',
                    query: { sfzh: scope.row.idcardno },
                  })
              "
              ><span class="button-textsc">{{
                scope.row.sendname
@@ -236,17 +238,17 @@
          <template slot-scope="scope">
            <div v-if="scope.row.sendstate == 1">
              <el-tag type="primary" :disable-transitions="false"
                >被领取</el-tag
                >表单已领取</el-tag
              >
            </div>
            <div v-if="scope.row.sendstate == 2">
              <el-tag type="primary" :disable-transitions="false"
                >待发送</el-tag
                >待随访</el-tag
              >
            </div>
            <div v-if="scope.row.sendstate == 3">
              <el-tag type="success" :disable-transitions="false"
                >已发送未领取</el-tag
                >表单已发送</el-tag
              >
            </div>
            <div v-if="scope.row.sendstate == 4">
@@ -292,7 +294,7 @@
          width="120"
        />
        <el-table-column
          label="随访时间"
          label="随访完成时间"
          sortable
          align="center"
          prop="finishtime"
@@ -303,7 +305,7 @@
          </template>
        </el-table-column>
        <el-table-column
          label="影像结果"
          label="随访结果"
          width="200"
          align="center"
          key="remark"
@@ -319,7 +321,7 @@
          </template>
        </el-table-column>
        <el-table-column
          label="影像日期"
          label="检查日期"
          width="200"
          align="center"
          key="endtime"
@@ -341,7 +343,7 @@
          </template></el-table-column
        >
        <el-table-column
          label="影像天数"
          label="已检查天数"
          width="120"
          align="center"
          key="endDay"
@@ -649,7 +651,7 @@
  resetUserPwd,
  changeUserStatus,
} from "@/api/system/user";
import { getTaskservelist,query360PatInfo } from "@/api/AiCentre/index";
import { getTaskservelist } from "@/api/AiCentre/index";
import Treeselect from "@riophae/vue-treeselect";
import store from "@/store";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
@@ -709,39 +711,7 @@
      },
      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,
@@ -761,7 +731,7 @@
      loading: false,
      cardlist: [
        {
          name: "影像报告总量",
          name: "影像服务总量",
          value: 0,
        },
        // {
@@ -791,7 +761,7 @@
        },
        // {
        //   name: "已发送未领取",
        //   name: "表单已发送",
        //   value: 0,
        // },
      ],
@@ -809,12 +779,10 @@
      topqueryParams: {
        pageNum: 1,
        pageSize: 10,
        serviceType: 3,
        searchscope: 3,
        serviceType: 11,
        sendstate:2,
        scopetype: [],
        leaveldeptcodes: [],
        leavehospitaldistrictcodes: [],
      },
      propss: { multiple: true },
      options: [],
@@ -898,26 +866,11 @@
    /** 查询影像随访服务列表 */
    getList(refresh) {
      // 默认全部
      if (this.topqueryParams.searchscope == 3) {
        this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
          (obj) => obj.deptCode
        );
        this.topqueryParams.leavehospitaldistrictcodes =
          store.getters.belongWards.map((obj) => obj.districtCode);
      }
      // 接受异常跳转
      if (this.errtype) {
        this.topqueryParams.leavehospitaldistrictcodes.push(
          this.leavehospitaldistrictcode
        );
        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;
      }
      getTaskservelist(this.topqueryParams).then((response) => {
        this.userList = response.rows[0].serviceSubtaskList;
@@ -992,19 +945,6 @@
          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;
@@ -1030,13 +970,7 @@
    },
    /** 搜索按钮操作 */
    handleQuery(refresh) {
      if (this.topqueryParams.searchscope == 3) {
        this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
          (obj) => obj.deptCode
        );
        this.topqueryParams.leavehospitaldistrictcodes =
          store.getters.belongWards.map((obj) => obj.districtCode);
      }
      this.topqueryParams.pageNum = 1;
      this.topqueryParams.startOutHospTime = this.dateRange[0];
      this.topqueryParams.endOutHospTime = this.dateRange[1];
@@ -1047,20 +981,9 @@
    handleChange(value) {
      let type = value[0];
      let code = value.slice(-1)[0];
      this.topqueryParams.leavehospitaldistrictcodes = [];
      this.topqueryParams.leaveldeptcodes = [];
      if (type == 1) {
        this.topqueryParams.leaveldeptcodes.push(code);
        this.topqueryParams.leavehospitaldistrictcodes = [];
        this.topqueryParams.searchscope = 1;
      } else if (type == 2) {
        this.topqueryParams.leavehospitaldistrictcodes.push(code);
        this.topqueryParams.leaveldeptcodes = [];
        this.topqueryParams.searchscope = 2;
      } else {
        this.topqueryParams.searchscope = 3;
      }
    },
    /** 重置按钮操作 */
    resetQuery() {
@@ -1068,9 +991,8 @@
      this.topqueryParams = {
        pageNum: 1,
        pageSize: 10,
        serviceType: 11,
        sendstate:2,
        serviceType: 3,
        searchscope: 2,
      };
      this.handleQuery(1);
    },
@@ -1106,7 +1028,7 @@
        path: "/followvisit/QuestionnaireTask",
        query: {
          type: 2,
          serviceType: 3,
          serviceType: 11,
        },
      });
    },
@@ -1240,7 +1162,7 @@
      this.topqueryParams.pageNum = null;
      this.topqueryParams.pageSize = null;
      this.download(
        "smartor/serviceSubtask/export",
        "smartor/serviceSubtask/patItemExport",
        {
          ...this.topqueryParams,
        },