WXL
2025-04-15 60e5b16ec6d1c8a4fbb9c714b2066a5dc5202b46
测试完成
已修改22个文件
574 ■■■■ 文件已修改
.env.development 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.production 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.staging 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/modules/user.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/discharge/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/outpatient/index.vue 131 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/record/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/tasklist/index.vue 41 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/technology/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChainnew.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChainwt.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChainwtnew.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChainxj.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChainxjnew.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/medtechnician/PatientChart.vue 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/physical/index.vue 55 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/Missioncreation.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/QuestionnaireTask.vue 53 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/particty.vue 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/subsequent/index.vue 105 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/templateku/configurat/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/templateku/configurat/taskub.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.development
@@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 景宁人民医院智慧随访平台
VUE_APP_TITLE = 智慧随访平台
# 开发环境配置
ENV = 'development'
.env.production
@@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 景宁人民医院智慧随访平台
VUE_APP_TITLE = 智慧随访平台
# 生产环境配置
ENV = 'production'
.env.staging
@@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 景宁人民医院智慧随访平台
VUE_APP_TITLE = 智慧随访平台
NODE_ENV = production
src/store/modules/user.js
@@ -130,6 +130,11 @@
          setToken(res.token)
          commit('SET_TOKEN', res.token)
          localStorage.setItem('orgid', orgid);
          if (orgid=='47255004333112711A1001') {
          localStorage.setItem('orgname', '景宁人民医院');
          }else if (orgid=='47231022633110211A2101') {
          localStorage.setItem('orgname', '丽水市中医院');
          }
          resolve()
        }).catch(error => {
          reject(error)
src/views/followvisit/discharge/index.vue
@@ -1572,7 +1572,7 @@
          form.finishtime = "";
          if (form.resource) {
            if (form.resource == 2) {
              form.serviceType = 10;
              form.serviceType = 13;
            }
          } else {
            this.$modal.msgError("未选择随访方式");
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"
@@ -192,7 +192,7 @@
      <el-table
        v-loading="loading"
        :data="userList"
        height="806"
        height="808"
        :row-class-name="tableRowClassName"
        @selection-change="handleSelectionChange"
      >
@@ -218,7 +218,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 +239,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">
@@ -303,7 +306,7 @@
          </template>
        </el-table-column>
        <el-table-column
          label="影像结果"
          label="随访结果"
          width="200"
          align="center"
          key="remark"
@@ -319,7 +322,7 @@
          </template>
        </el-table-column>
        <el-table-column
          label="影像日期"
          label="检查日期"
          width="200"
          align="center"
          key="endtime"
@@ -341,7 +344,7 @@
          </template></el-table-column
        >
        <el-table-column
          label="影像天数"
          label="已检查天数"
          width="120"
          align="center"
          key="endDay"
@@ -649,7 +652,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 +712,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 +732,7 @@
      loading: false,
      cardlist: [
        {
          name: "影像报告总量",
          name: "影像服务总量",
          value: 0,
        },
        // {
@@ -791,7 +762,7 @@
        },
        // {
        //   name: "已发送未领取",
        //   name: "表单已发送",
        //   value: 0,
        // },
      ],
@@ -809,12 +780,10 @@
      topqueryParams: {
        pageNum: 1,
        pageSize: 10,
        serviceType: 3,
        searchscope: 3,
        serviceType: 11,
        sendstate:2,
        scopetype: [],
        leaveldeptcodes: [],
        leavehospitaldistrictcodes: [],
      },
      propss: { multiple: true },
      options: [],
@@ -898,26 +867,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 +946,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 +971,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 +982,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 +992,8 @@
      this.topqueryParams = {
        pageNum: 1,
        pageSize: 10,
        serviceType: 11,
        sendstate:2,
        serviceType: 3,
        searchscope: 2,
      };
      this.handleQuery(1);
    },
@@ -1106,7 +1029,7 @@
        path: "/followvisit/QuestionnaireTask",
        query: {
          type: 2,
          serviceType: 3,
          serviceType: 11,
        },
      });
    },
src/views/followvisit/record/index.vue
@@ -892,7 +892,7 @@
      topqueryParams: {
        pageNum: 1,
        pageSize: 10,
        serviceType: 10,
        serviceType: 13,
        searchscope: 3,
        sendstate:2,
        sort:2,
@@ -1231,7 +1231,7 @@
      this.topqueryParams = {
        pageNum: 1,
        pageSize: 10,
        serviceType: 10,
        serviceType: 13,
        sort:2,
        searchscope: 2,
        sendstate:2,
@@ -1270,7 +1270,7 @@
        path: "/followvisit/QuestionnaireTask",
        query: {
          type: 2,
          serviceType: 10,
          serviceType: 13,
        },
      });
    },
src/views/followvisit/tasklist/index.vue
@@ -23,7 +23,7 @@
            @keyup.enter.native="handleQuery"
          ></el-input>
        </el-form-item>
        <el-form-item label="创发送时间">
        <el-form-item label="发送时间">
          <el-date-picker
            v-model="dateRange"
            style="width: 240px"
@@ -474,11 +474,15 @@
          value: 3,
          label: "宣教关怀",
        },
        {
          value: 4,
          label: "消息通知",
        },
      ],
      taskoptions: [
        {
          value: "1",
          label: "心电随访",
          label: "监测评估",
        },
        {
          value: "2",
@@ -486,7 +490,7 @@
        },
        {
          value: "3",
          label: "影像随访",
          label: "门诊随访",
        },
        {
          value: "4",
@@ -494,16 +498,40 @@
        },
        {
          value: "5",
          label: "复诊管理",
        },
        // {
        //   value: "5",
        //   label: "满意度调查",
        // },
        {
          value: "7",
          label: "患者报告",
        },
        // {
        //   value: "8",
        //   label: "其他通知",
        // },
        {
          value: "9",
          label: "体检随访",
        },
        // {
        //   value: "10",
        //   label: "医技随访",
        // },
        {
          value: "11",
          label: "医技随访",
          label: "影像随访",
        },
        {
          value: "10",
          label: "专科随访",
          value: "12",
          label: "心电随访",
        },
        // {
        //   value: "13",
        //   label: "专科随访",
        // },
      ],
      tasktopic: "2", //新增类型
      activname: "",
@@ -689,7 +717,6 @@
    /** 查询任务列表 */
    getList() {
      this.loading = true;
      console.log(this.topqueryParams.type);
      this.topqueryParams.serviceType = Number(this.tasktopic);
      if (
src/views/followvisit/technology/index.vue
@@ -880,7 +880,7 @@
      topqueryParams: {
        pageNum: 1,
        pageSize: 10,
        serviceType: 11,
        serviceType: 10,
        searchscope: 3,
        sendstate:2,
        scopetype: [],
@@ -1200,7 +1200,7 @@
      this.topqueryParams = {
        pageNum: 1,
        pageSize: 10,
        serviceType: 11,
        serviceType: 10,
        searchscope: 2,
        sendstate:2,
      };
@@ -1238,7 +1238,7 @@
        path: "/followvisit/QuestionnaireTask",
        query: {
          type: 2,
          serviceType: 11,
          serviceType: 10,
        },
      });
    },
src/views/outsideChainnew.vue
@@ -8,7 +8,7 @@
            {{
              kcb
                ? kcb
                : "亲爱的患者-家属,您好!我们是景宁人民医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。"
                : "亲爱的患者-家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。"
            }}
            <!-- 亲爱的患者/家属您好,为了更好的了解您出院后的康复情况,给您适当及时的健康指导,请您抽一点宝贵时间,完成这份出院随访问卷调查。 -->
          </div>
src/views/outsideChainwt.vue
@@ -8,7 +8,7 @@
            {{
              kcb
                ? kcb
                : "亲爱的患者-家属,您好!我们是景宁人民医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。"
                : "亲爱的患者-家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。"
            }}
            <!-- 亲爱的患者/家属您好,为了更好的了解您出院后的康复情况,给您适当及时的健康指导,请您抽一点宝贵时间,完成这份出院随访问卷调查。 -->
          </div>
src/views/outsideChainwtnew.vue
@@ -8,7 +8,7 @@
            {{
              kcb
                ? kcb
                : "亲爱的患者-家属,您好!我们是景宁人民医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。"
                : "亲爱的患者-家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。"
            }}
            <!-- 亲爱的患者/家属您好,为了更好的了解您出院后的康复情况,给您适当及时的健康指导,请您抽一点宝贵时间,完成这份出院随访问卷调查。 -->
          </div>
src/views/outsideChainxj.vue
@@ -10,12 +10,12 @@
    <div class="CONTENT" >
      <div class="preview-left">
        <div class="toptitle">
          <div class="title">{{ taskname ? taskname : "景宁人民医院医护知识宣教" }}</div>
          <div class="title">{{ taskname ? taskname : ""+localStorage.getItem("orgname")+"医护知识宣教" }}</div>
          <div style="font-size: 22px; margin-bottom: 20px; line-height: 1.5">
            {{
              kcb
                ? kcb
                : "亲爱的患者-家属,您好!我们是景宁人民医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,观看这份宣教资讯。"
                : "亲爱的患者-家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,观看这份宣教资讯。"
            }}
            <!-- 亲爱的患者/家属您好,为了更好的了解您出院后的康复情况,给您适当及时的健康指导,请您抽一点宝贵时间,完成这份出院随访问卷调查。 -->
          </div>
src/views/outsideChainxjnew.vue
@@ -10,12 +10,12 @@
    <div class="CONTENT" >
      <div class="preview-left">
        <div class="toptitle">
          <div class="title">{{ taskname ? taskname : "景宁人民医院医护知识宣教" }}</div>
          <div class="title">{{ taskname ? taskname : ""+localStorage.getItem("orgname")+"医护知识宣教" }}</div>
          <div style="font-size: 22px; margin-bottom: 20px; line-height: 1.5">
            {{
              kcb
                ? kcb
                : "亲爱的患者-家属,您好!我们是景宁人民医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,观看这份宣教资讯。"
                : "亲爱的患者-家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,观看这份宣教资讯。"
            }}
            <!-- 亲爱的患者/家属您好,为了更好的了解您出院后的康复情况,给您适当及时的健康指导,请您抽一点宝贵时间,完成这份出院随访问卷调查。 -->
          </div>
src/views/patient/medtechnician/PatientChart.vue
@@ -23,7 +23,7 @@
            @keyup.enter.native="handleQuery"
          ></el-input>
        </el-form-item>
        <el-form-item label="创发送时间">
        <el-form-item label="发送时间">
          <el-date-picker
            v-model="dateRange"
            style="width: 240px"
@@ -467,11 +467,15 @@
          value: 3,
          label: "宣教关怀",
        },
        {
          value: 4,
          label: "消息通知",
        },
      ],
      taskoptions: [
        {
          value: "1",
          label: "心电随访",
          label: "监测评估",
        },
        {
          value: "2",
@@ -479,7 +483,7 @@
        },
        {
          value: "3",
          label: "影像随访",
          label: "门诊随访",
        },
        {
          value: "4",
@@ -487,20 +491,40 @@
        },
        {
          value: "5",
          label: "体检随访",
          label: "复诊管理",
        },
        // {
        //   value: "5",
        //   label: "满意度调查",
        // },
        {
          value: "7",
          label: "患者报告",
        },
        // {
        //   value: "8",
        //   label: "其他通知",
        // },
        {
          value: "9",
          label: "体检随访",
        },
        // {
        //   value: "10",
        //   label: "医技随访",
        // },
        {
          value: "11",
          label: "医技随访",
          label: "影像随访",
        },
        {
          value: "10",
          label: "专科随访",
          value: "12",
          label: "心电随访",
        },
        // {
        //   value: "13",
        //   label: "专科随访",
        // },
      ],
      tasktopic: "2", //新增类型
      activname: "",
src/views/patient/physical/index.vue
@@ -780,12 +780,10 @@
      topqueryParams: {
        pageNum: 1,
        pageSize: 10,
        serviceType: 1,
        searchscope: 3,
        serviceType: 12,
        sendstate:2,
        scopetype: [],
        leaveldeptcodes: [],
        leavehospitaldistrictcodes: [],
      },
      propss: { multiple: true },
      options: [],
@@ -869,26 +867,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;
@@ -988,13 +971,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];
@@ -1005,20 +982,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() {
@@ -1026,8 +992,7 @@
      this.topqueryParams = {
        pageNum: 1,
        pageSize: 10,
        serviceType: 1,
        searchscope: 2,
        serviceType: 12,
        sendstate:2,
      };
      this.handleQuery(1);
@@ -1064,7 +1029,7 @@
        path: "/followvisit/QuestionnaireTask",
        query: {
          type: 2,
          serviceType: 1,
          serviceType: 12,
        },
      });
    },
src/views/patient/propaganda/Missioncreation.vue
@@ -922,7 +922,7 @@
        templatename: "",
        templateid: null,
        libtemplateid: null,
        kcb: "亲爱的患者-家属,您好!我们是景宁人民医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,观看这份宣教资讯。",
        kcb: "亲爱的患者-家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,观看这份宣教资讯。",
        jsy: "生活上要劳逸结合,注意休息和营养,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次宣教内容就到这里,祝您身体健康!",
      },
      taskoptions: [
@@ -1351,7 +1351,7 @@
        templateid: null,
        libtemplateid: null,
        serviceType: Number(this.$route.query.serviceType),
        kcb: "亲爱的患者-家属,您好!我们是景宁人民医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。",
        kcb: "亲爱的患者-家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。",
        jsy: "生活上要劳逸结合,注意休息和营养,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访就到这里,祝您身体健康!",
      };
src/views/patient/propaganda/QuestionnaireTask.vue
@@ -1068,7 +1068,7 @@
        templatename: "",
        templateid: null,
        libtemplateid: null,
        kcb: "亲爱的患者/家属,您好!我们是景宁人民医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,观看这份宣教资讯。",
        kcb: "亲爱的患者/家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,观看这份宣教资讯。",
        jsy: "请您注意休息和营养,生活上要劳逸结合,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次宣教内容就到这里,祝您身体健康!",
      },
      taskoptions: [
@@ -1114,33 +1114,57 @@
      tasktypes: [
        {
          value: 1,
          label: "心电随访",
          value: "1",
          label: "监测评估",
        },
        {
          value: 2,
          value: "2",
          label: "出院随访",
        },
        {
          value: 3,
          label: "影像随访",
          value: "3",
          label: "门诊随访",
        },
        {
          value: 4,
          value: "4",
          label: "宣教关怀",
        },
        {
          value: 5,
          value: "5",
          label: "复诊管理",
        },
        // {
        //   value: "5",
        //   label: "满意度调查",
        // },
        {
          value: "7",
          label: "患者报告",
        },
        // {
        //   value: "8",
        //   label: "其他通知",
        // },
        {
          value: "9",
          label: "体检随访",
        },
        // {
        //   value: "10",
        //   label: "医技随访",
        // },
        {
          value: 11,
          label: "医技随访",
          value: "11",
          label: "影像随访",
        },
        {
          value: 10,
          label: "专科随访",
          value: "12",
          label: "心电随访",
        },
        // {
        //   value: "13",
        //   label: "专科随访",
        // },
      ],
      // 科室/病区
      belongWards: [],
@@ -1301,6 +1325,9 @@
        this.form.serviceType == 7 ||
        this.form.serviceType == 10 ||
        this.form.serviceType == 11 ||
        this.form.serviceType == 8 ||
        this.form.serviceType == 12 ||
        this.form.serviceType == 13 ||
        this.form.serviceType == 9
      ) {
        this.checkboxlist = [
@@ -1853,7 +1880,7 @@
        templatename: "",
        templateid: null,
        libtemplateid: null,
        kcb: "亲爱的患者/家属,您好!我们是景宁人民医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。",
        kcb: "亲爱的患者/家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。",
        jsy: "请您注意休息和营养,生活上要劳逸结合,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访就到这里,祝您身体健康!",
      };
src/views/patient/propaganda/particty.vue
@@ -267,7 +267,6 @@
                        </el-option>
                      </el-select> </el-form-item
                  ></el-col>
                </el-row>
                <el-row v-if="form.appltype == 3">
                  <div class="xinz-infs">
@@ -541,7 +540,7 @@
              v-show="showSearch"
              label-width="98px"
            >
            <el-form-item label="主治医生:">
              <el-form-item label="主治医生:">
                <el-input
                  v-model="patientqueryParams.drname"
                  @keyup.enter.native="handleQuery"
@@ -1115,7 +1114,7 @@
        templatename: "",
        templateid: null,
        libtemplateid: null,
        kcb: "亲爱的患者/家属,您好!我们是景宁人民医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,进行本次回访服务。",
        kcb: "亲爱的患者/家属,您好!我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,进行本次回访服务。",
        jsy: "请您注意休息和营养,生活上要劳逸结合,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访内容就到这里,祝您身体健康!",
      },
      taskoptions: [
@@ -1157,33 +1156,57 @@
      tasktypes: [
        {
          value: 1,
          label: "心电随访",
          value: "1",
          label: "监测评估",
        },
        {
          value: 2,
          value: "2",
          label: "出院随访",
        },
        {
          value: 3,
          label: "影像随访",
          value: "3",
          label: "门诊随访",
        },
        {
          value: 4,
          value: "4",
          label: "宣教关怀",
        },
        {
          value: 5,
          value: "5",
          label: "复诊管理",
        },
        // {
        //   value: "5",
        //   label: "满意度调查",
        // },
        {
          value: "7",
          label: "患者报告",
        },
        // {
        //   value: "8",
        //   label: "其他通知",
        // },
        {
          value: "9",
          label: "体检随访",
        },
        // {
        //   value: "10",
        //   label: "医技随访",
        // },
        {
          value: 11,
          label: "医技随访",
          value: "11",
          label: "影像随访",
        },
        {
          value: 10,
          label: "专科随访",
          value: "12",
          label: "心电随访",
        },
        // {
        //   value: "13",
        //   label: "专科随访",
        // },
      ],
      // 科室/病区
      belongWards: [],
@@ -1239,6 +1262,8 @@
    this.form.typename = this.$route.query.typename;
    this.serviceType = Number(this.$route.query.serviceType);
    this.form.serviceType = Number(this.$route.query.serviceType);
    console.log(localStorage.getItem("orgid"),'orgid');
    this.Acquisitiontype();
    this.getillnesslist();
    this.Getdetails();
@@ -1357,7 +1382,15 @@
          //   label: "智能机器人",
          // },
        ];
      } else if (this.form.serviceType == 7 || this.form.serviceType == 5|| this.form.serviceType == 10|| this.form.serviceType == 11) {
      } else if (
        this.form.serviceType == 7 ||
        this.form.serviceType == 5 ||
        this.form.serviceType == 8 ||
        this.form.serviceType == 9 ||
        this.form.serviceType == 11 ||
        this.form.serviceType == 12 ||
        this.form.serviceType == 10
      ) {
        this.checkboxlist = [
          {
            value: "1",
@@ -1388,7 +1421,11 @@
            label: "术后随访",
          },
        ];
      } else if (this.form.serviceType == 2 || this.form.serviceType == 3) {
      } else if (
        this.form.serviceType == 2 ||
        this.form.serviceType == 3 ||
        this.form.serviceType == 4
      ) {
        this.checkboxlist = [
          {
            value: "1",
@@ -1446,21 +1483,21 @@
        },
      ];
      if (this.form.appltype == 1) {
        this.leavehospitaldistrictcodes=[];
        this.operationcodes=[];
        this.illnesscodes=[];
        this.leavehospitaldistrictcodes = [];
        this.operationcodes = [];
        this.illnesscodes = [];
      } else if (this.form.appltype == 2) {
        this.deptcodesWards=[];
        this.operationcodes=[];
        this.illnesscodes=[];
        this.deptcodesWards = [];
        this.operationcodes = [];
        this.illnesscodes = [];
      } else if (this.form.appltype == 3) {
        this.deptcodesWards=[];
        this.leavehospitaldistrictcodes=[];
        this.operationcodes=[];
        this.deptcodesWards = [];
        this.leavehospitaldistrictcodes = [];
        this.operationcodes = [];
      } else if (this.form.appltype == 4) {
        this.deptcodesWards=[];
        this.illnesscodes=[];
        this.leavehospitaldistrictcodes=[];
        this.deptcodesWards = [];
        this.illnesscodes = [];
        this.leavehospitaldistrictcodes = [];
      }
      if (this.checkList) {
        this.form.preachform = this.checkList;
@@ -1517,7 +1554,8 @@
      this.form.opcode = this.operationcodes.join(",");
      this.form.icd10code = this.diagglist
        .map((item) => item.icdcode)
        .join(",");      Editsingletask(this.form).then((res) => {
        .join(",");
      Editsingletask(this.form).then((res) => {
        if (res.code == 200) {
          if (this.form.taskid) {
            this.$modal.msgSuccess("修改成功");
@@ -1831,7 +1869,7 @@
        templatename: "",
        templateid: null,
        libtemplateid: null,
        kcb: "亲爱的患者/家属,您好!我们是景宁人民医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访。",
        kcb: "亲爱的患者/家属,您好!我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,进行本次回访服务。",
        jsy: "请您注意休息和营养,生活上要劳逸结合,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访就到这里,祝您身体健康!",
      };
@@ -1922,7 +1960,7 @@
              icdcode: item.icd10code,
            }).then((res) => {
              item.icdname = res.rows[0].icdname;
            this.diagglist.push(item);
              this.diagglist.push(item);
            });
            this.illnesscodes.push(item.icd10code);
          });
@@ -2013,7 +2051,9 @@
      if (result.length) {
        taskdiaghospgetsondel(result).then((res) => {
          if (res.code) {
            this.diagglist=this.diagglist.filter(item => item.icd10code != row);
            this.diagglist = this.diagglist.filter(
              (item) => item.icd10code != row
            );
            this.$modal.msgSuccess("删除成功");
          }
        });
src/views/patient/subsequent/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"
@@ -206,7 +206,6 @@
          width="180"
        />
        <!-- <el-table-column label="序号" fixed align="center" key="id" prop="id" /> -->
        <el-table-column
          label="姓名"
          width="100"
@@ -219,7 +218,7 @@
              size="medium"
              type="text"
              @click="
                $router.push({
                  $router.push({
                    path: '/patient/indexls/',
                    query: { sfzh: scope.row.idcardno },
                  })
@@ -240,17 +239,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">
@@ -307,7 +306,7 @@
          </template>
        </el-table-column>
        <el-table-column
          label="体检结果"
          label="随访结果"
          width="200"
          align="center"
          key="remark"
@@ -323,7 +322,7 @@
          </template>
        </el-table-column>
        <el-table-column
          label="体检日期"
          label="检查日期"
          width="200"
          align="center"
          key="endtime"
@@ -345,7 +344,7 @@
          </template></el-table-column
        >
        <el-table-column
          label="体检天数"
          label="已检查天数"
          width="120"
          align="center"
          key="endDay"
@@ -511,7 +510,7 @@
        @pagination="getList"
      />
    </el-row>
    <!-- 添加或修改体检随访对话框 -->
    <!-- 添加或修改影像随访对话框 -->
    <el-dialog
      :title="title"
      :visible.sync="addalteropen"
@@ -554,7 +553,7 @@
        </el-row>
        <el-row :gutter="20">
          <el-col :span="24">
            <el-form-item label="体检随访要求">
            <el-form-item label="影像随访要求">
              <el-input type="textarea" v-model="form.desc"></el-input>
            </el-form-item>
          </el-col>
@@ -679,7 +678,7 @@
      // 用户表格数据
      userList: null,
      // 弹出层标题
      title: "新增体检随访",
      title: "新增影像随访",
      // 是否显示修改、添加弹出层
      addalteropen: false,
      // 修改发送时间对话框
@@ -701,13 +700,13 @@
      yfsvalue: "",
      inputValue: "",
      preachform: "",
      previewVisible: false, //体检随访预览弹框
      previewVisible: false, //影像随访预览弹框
      radio: "",
      radios: [],
      previewtype: 2, //预览体检随访类型
      previewtype: 2, //预览影像随访类型
      total: 0, // 总条数
      ImportQuantity: 999, //导体检随访数量
      //预览体检随访信息
      ImportQuantity: 999, //导影像随访数量
      //预览影像随访信息
      previewvalue: {
        username: "这个医生对你怎么样",
      },
@@ -733,7 +732,7 @@
      loading: false,
      cardlist: [
        {
          name: "体检报告总量",
          name: "体检服务总量",
          value: 0,
        },
        // {
@@ -763,7 +762,7 @@
        },
        // {
        //   name: "已发送未领取",
        //   name: "表单已发送",
        //   value: 0,
        // },
      ],
@@ -781,12 +780,10 @@
      topqueryParams: {
        pageNum: 1,
        pageSize: 10,
        serviceType: 5,
        searchscope: 3,
        serviceType: 9,
        sendstate:2,
        scopetype: [],
        leaveldeptcodes: [],
        leavehospitaldistrictcodes: [],
      },
      propss: { multiple: true },
      options: [],
@@ -794,15 +791,15 @@
      topicoptions: [
        {
          value: 1,
          label: "被领取",
          label: "表单已领取",
        },
        {
          value: 2,
          label: "待发送",
          label: "待随访",
        },
        {
          value: 3,
          label: "已发送未领取",
          label: "表单已发送",
        },
        {
          value: 4,
@@ -867,29 +864,15 @@
    this.getList(1);
  },
  methods: {
    /** 查询体检随访服务列表 */
    /** 查询影像随访服务列表 */
    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;
        this.total = response.total;
@@ -930,7 +913,7 @@
        this.total = response.total;
      });
    },
    // 查看体检随访详情
    // 查看影像随访详情
    Referencequestion(row) {
      this.previewVisible = true;
    },
@@ -948,7 +931,7 @@
        this.options = [];
      }
    },
    // 体检随访状态修改
    // 影像随访状态修改
    handleStatusChange(row) {
      let text = row.status === "0" ? "启用" : "停用";
      this.$modal
@@ -988,13 +971,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];
@@ -1005,20 +982,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() {
@@ -1026,8 +992,7 @@
      this.topqueryParams = {
        pageNum: 1,
        pageSize: 10,
        serviceType: 5,
        searchscope: 2,
        serviceType: 9,
        sendstate:2,
      };
      this.handleQuery(1);
@@ -1064,7 +1029,7 @@
        path: "/followvisit/QuestionnaireTask",
        query: {
          type: 2,
          serviceType: 5,
          serviceType: 9,
        },
      });
    },
src/views/repositoryai/templateku/configurat/index.vue
@@ -1510,7 +1510,7 @@
      ruleForm: {
        templateName: "",
        revisitBefore:
          "亲爱的患者/家属,您好!我们是景宁人民医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访。",
          "亲爱的患者/家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访。",
        revisitAfter:
          "请您注意休息和营养,生活上要劳逸结合,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访就到这里,祝您身体健康!",
        ivrLibaTemplateTagList: [],
src/views/repositoryai/templateku/configurat/taskub.vue
@@ -1508,7 +1508,7 @@
      ruleForm: {
        templateName: "",
        revisitBefore:
          "亲爱的患者/家属,您好!我们是景宁人民医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访。",
          "亲爱的患者/家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访。",
        revisitAfter:
          "请您注意休息和营养,生活上要劳逸结合,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访就到这里,祝您身体健康!",
        ivrLibaTemplateTagList: [],