WXL (wul)
3 小时以前 3b5ff0651c049d5def8fd789c52ec26188a1e8a1
测试完成
已修改6个文件
已添加2个文件
343 ■■■■■ 文件已修改
dist (2).zip 补丁 | 查看 | 原始文档 | blame | 历史
dist.zip 补丁 | 查看 | 原始文档 | blame | 历史
src/api/AiCentre/Qtemplate.js 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 237 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/record/detailpage/index.vue 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/record/index.vue 31 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/QuestionnaireTask.vue 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
dist (2).zip
Binary files differ
dist.zip
Binary files differ
src/api/AiCentre/Qtemplate.js
@@ -9,6 +9,14 @@
    data: data,
  });
}
// 查询问卷模板列表
export function taskgetQtemplateobj(data) {
  return request({
    url: "smartor/svytemplateTask/selectInfoByCondition",
    method: "post",
    data: data,
  });
}
// 问卷模板列表
export function getQtemplatelist(data) {
  return request({
src/router/index.js
@@ -1,10 +1,10 @@
import Vue from 'vue'
import Router from 'vue-router'
import Vue from "vue";
import Router from "vue-router";
Vue.use(Router)
Vue.use(Router);
/* Layout */
import Layout from '@/layout'
import Layout from "@/layout";
/**
 * Note: 路由配置项
@@ -31,182 +31,187 @@
// 公共路由
export const constantRoutes = [
  {
    path: '/redirect',
    path: "/redirect",
    component: Layout,
    hidden: true,
    children: [
      {
        path: '/redirect/:path(.*)',
        component: () => import('@/views/redirect')
      }
    ]
        path: "/redirect/:path(.*)",
        component: () => import("@/views/redirect"),
      },
    ],
  },
  {
    path: '/login',
    component: () => import('@/views/login'),
    hidden: true
  },
    {
    path: '/loginSSO',
    component: () => import('@/views/loginSSO'),
    hidden: true
    path: "/login",
    component: () => import("@/views/login"),
    hidden: true,
  },
  {
    path: '/sf',
    component: () => import('@/views/outsideChainnew'),
    hidden: true
    path: "/loginSSO",
    component: () => import("@/views/loginSSO"),
    hidden: true,
  },
  {
    path: '/wt',
    component: () => import('@/views/outsideChainwtnew'),
    hidden: true
    path: "/sf",
    component: () => import("@/views/outsideChainnew"),
    hidden: true,
  },
  {
    path: '/xj',
    component: () => import('@/views/outsideChainxjnew'),
    hidden: true
    path: "/wt",
    component: () => import("@/views/outsideChainwtnew"),
    hidden: true,
  },
  {
    path: '/satisfaction',
    component: () => import('@/views/satisfaction'),
    hidden: true
    path: "/xj",
    component: () => import("@/views/outsideChainxjnew"),
    hidden: true,
  },
  {
    path: '/outsideChain',
    component: () => import('@/views/outsideChain'),
    hidden: true
    path: "/satisfaction",
    component: () => import("@/views/satisfaction"),
    hidden: true,
  },
  {
    path: '/outsideChainwt',
    component: () => import('@/views/outsideChainwt'),
    hidden: true
    path: "/outsideChain",
    component: () => import("@/views/outsideChain"),
    hidden: true,
  },
  {
    path: '/outsideChainxj',
    component: () => import('@/views/outsideChainxj'),
    hidden: true
    path: "/outsideChainwt",
    component: () => import("@/views/outsideChainwt"),
    hidden: true,
  },
  {
    path: '/previews',
    component: () => import('@/views/previews'),
    hidden: true
    path: "/outsideChainxj",
    component: () => import("@/views/outsideChainxj"),
    hidden: true,
  },
  {
    path: '/register',
    component: () => import('@/views/register'),
    hidden: true
    path: "/previews",
    component: () => import("@/views/previews"),
    hidden: true,
  },
  {
    path: '/404',
    component: () => import('@/views/error/404'),
    hidden: true
    path: "/register",
    component: () => import("@/views/register"),
    hidden: true,
  },
  {
    path: '/401',
    component: () => import('@/views/error/401'),
    hidden: true
    path: "/404",
    component: () => import("@/views/error/404"),
    hidden: true,
  },
  {
    path: '',
    path: "/401",
    component: () => import("@/views/error/401"),
    hidden: true,
  },
  {
    path: "",
    component: Layout,
    redirect: 'index',
    redirect: "index",
    children: [
      {
        path: 'index',
        component: () => import('@/views/index'),
        name: 'Index',
        meta: { title: '首页', icon: 'dashboard', affix: true }
      }
    ]
        path: "index",
        component: () => import("@/views/index"),
        name: "Index",
        meta: {
          title: "首页",
          icon: "dashboard",
          affix: true,
          roles: ["admin", "sysadmin"],
        },
      },
    ],
  },
  {
    path: '/user',
    path: "/user",
    component: Layout,
    hidden: true,
    redirect: 'noredirect',
    redirect: "noredirect",
    children: [
      {
        path: 'profile',
        component: () => import('@/views/system/user/profile/index'),
        name: 'Profile',
        meta: { title: '个人中心', icon: 'user' }
      }
    ]
  }
]
        path: "profile",
        component: () => import("@/views/system/user/profile/index"),
        name: "Profile",
        meta: { title: "个人中心", icon: "user" },
      },
    ],
  },
];
// 动态路由,基于用户权限动态去加载
export const dynamicRoutes = [
  {
    path: '/system/user-auth',
    path: "/system/user-auth",
    component: Layout,
    hidden: true,
    permissions: ['system:user:edit'],
    permissions: ["system:user:edit"],
    children: [
      {
        path: 'role/:userId(\\d+)',
        component: () => import('@/views/system/user/authRole'),
        name: 'AuthRole',
        meta: { title: '分配角色', activeMenu: '/system/user' }
      }
    ]
        path: "role/:userId(\\d+)",
        component: () => import("@/views/system/user/authRole"),
        name: "AuthRole",
        meta: { title: "分配角色", activeMenu: "/system/user" },
      },
    ],
  },
  {
    path: '/system/role-auth',
    path: "/system/role-auth",
    component: Layout,
    hidden: true,
    permissions: ['system:role:edit'],
    permissions: ["system:role:edit"],
    children: [
      {
        path: 'user/:roleId(\\d+)',
        component: () => import('@/views/system/role/authUser'),
        name: 'AuthUser',
        meta: { title: '分配用户', activeMenu: '/system/role' }
      }
    ]
        path: "user/:roleId(\\d+)",
        component: () => import("@/views/system/role/authUser"),
        name: "AuthUser",
        meta: { title: "分配用户", activeMenu: "/system/role" },
      },
    ],
  },
  {
    path: '/system/dict-data',
    path: "/system/dict-data",
    component: Layout,
    hidden: true,
    permissions: ['system:dict:list'],
    permissions: ["system:dict:list"],
    children: [
      {
        path: 'index/:dictId(\\d+)',
        component: () => import('@/views/system/dict/data'),
        name: 'Data',
        meta: { title: '字典数据', activeMenu: '/system/dict' }
      }
    ]
        path: "index/:dictId(\\d+)",
        component: () => import("@/views/system/dict/data"),
        name: "Data",
        meta: { title: "字典数据", activeMenu: "/system/dict" },
      },
    ],
  },
  {
    path: '/monitor/job-log',
    path: "/monitor/job-log",
    component: Layout,
    hidden: true,
    permissions: ['monitor:job:list'],
    permissions: ["monitor:job:list"],
    children: [
      {
        path: 'index/:jobId(\\d+)',
        component: () => import('@/views/monitor/job/log'),
        name: 'JobLog',
        meta: { title: '调度日志', activeMenu: '/monitor/job' }
      }
    ]
        path: "index/:jobId(\\d+)",
        component: () => import("@/views/monitor/job/log"),
        name: "JobLog",
        meta: { title: "调度日志", activeMenu: "/monitor/job" },
      },
    ],
  },
  {
    path: '/tool/gen-edit',
    path: "/tool/gen-edit",
    component: Layout,
    hidden: true,
    permissions: ['tool:gen:edit'],
    permissions: ["tool:gen:edit"],
    children: [
      {
        path: 'index/:tableId(\\d+)',
        component: () => import('@/views/tool/gen/editTable'),
        name: 'GenEdit',
        meta: { title: '修改生成配置', activeMenu: '/tool/gen' }
      }
    ]
  }/*,
        path: "index/:tableId(\\d+)",
        component: () => import("@/views/tool/gen/editTable"),
        name: "GenEdit",
        meta: { title: "修改生成配置", activeMenu: "/tool/gen" },
      },
    ],
  } /*,
  {
    path: '/smartor/archive',
    component: Layout,
@@ -220,17 +225,17 @@
        meta: { title: '患者维护', activeMenu: '/archive/add' }
      }
    ]
  }*/
]
  }*/,
];
// 防止连续点击多次路由报错
let routerPush = Router.prototype.push;
Router.prototype.push = function push(location) {
  return routerPush.call(this, location).catch(err => err)
}
  return routerPush.call(this, location).catch((err) => err);
};
export default new Router({
  mode: 'history', // 去掉url中的#
  mode: "history", // 去掉url中的#
  scrollBehavior: () => ({ y: 0 }),
  routes: constantRoutes
})
  routes: constantRoutes,
});
src/views/followvisit/record/detailpage/index.vue
@@ -1405,7 +1405,7 @@
  methods: {
    // 获取主题样式类
    getTopicClass(item) {
      console.log(item.isabnormal,'111');
      console.log(item.isabnormal, "111");
      // 根据状态值返回对应的样式类
      if (item.isabnormal == 1) {
@@ -2053,10 +2053,34 @@
    // 调起再次发送
    sendAgain() {
      document.querySelector("#app").scrollTo(0, 0);
      // scrollTo(0, 0)
      this.formtidy();
      this.dialogFormVisible = true;
      getTaskservelist({
        patid: this.patid,
        visitCount: 2,
        leaveldeptcodes: [this.form.deptcode],
      }).then((res) => {
        if (res.rows[0].serviceSubtaskList) {
          if (
            res.rows[0].serviceSubtaskList[0].sendstate != 5 &&
            res.rows[0].serviceSubtaskList[0].sendstate != 6
          ) {
            this.$modal
              .confirm(
                '本患者在"' +
                  res.rows[0].serviceSubtaskList[0].deptname +
                  '"科室下已有再次随访服务进行中是否继续创建?'
              )
              .then(() => {
                document.querySelector("#app").scrollTo(0, 0);
                this.formtidy();
                this.dialogFormVisible = true;
              });
          }
        } else {
          document.querySelector("#app").scrollTo(0, 0);
          this.formtidy();
          this.dialogFormVisible = true;
        }
      });
    },
    // 查看详情
    Seedetails(row) {
@@ -2232,7 +2256,8 @@
          astrict: index === questionIndex + 1 ? 0 : item.astrict,
          hiddenByEnd: index === questionIndex + 1 ? false : item.hiddenByEnd,
        }));
      }2
      }
      2;
      this.$forceUpdate();
    },
@@ -2643,7 +2668,6 @@
/* 新增:警告状态样式 - 黄色 */
.scriptTopic-warning {
  color: #d4be00; /* 您指定的黄色 */
}
/* 异常选项样式 - 红色星号 (保持不变) */
src/views/followvisit/record/index.vue
@@ -107,7 +107,12 @@
            @change="handleChange"
          ></el-cascader>
        </el-form-item>
        <el-form-item label="诊断名称" prop="leavediagname">
          <el-input
            v-model="topqueryParams.leavediagname"
            placeholder="请输入诊断名称"
          ></el-input>
        </el-form-item>
        <el-form-item label="任务状态" prop="status">
          <el-select v-model="topqueryParams.sendstate" placeholder="请选择">
            <el-option
@@ -149,7 +154,7 @@
        <el-col :span="1.5">
          <el-button
            type="primary"
                        icon="el-icon-plus"
            icon="el-icon-plus"
            size="medium"
            @click="handleAdd"
            >新增</el-button
@@ -402,7 +407,15 @@
          key="drname"
          prop="drname"
        />
        <el-table-column
          label="诊断名称"
          align="center"
          key="leavediagname"
          prop="leavediagname"
          width="120"
          :show-overflow-tooltip="true"
        >
        </el-table-column>
        <!-- <el-table-column
          label="病历号"
          align="center"
@@ -1412,9 +1425,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: {
@@ -1588,11 +1601,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; /* 鼠标悬浮时变为手形 */
}
src/views/patient/propaganda/QuestionnaireTask.vue
@@ -917,6 +917,7 @@
  Externallist,
  getQtemplatelist,
  getQtemplateobj,
  taskgetQtemplateobj,
  TaskQuestioncomit,
  deleteTaskQuestioncomit,
  Questionnairetaskgetson,
@@ -1473,7 +1474,7 @@
          this.form.preachformList = this.selectedOrder;
        } else {
          this.$modal.msgError("请选择服务类型");
            this.submitLoading = false;
          this.submitLoading = false;
          return;
        }
@@ -1490,7 +1491,7 @@
        ) {
        } else {
          this.$modal.msgError("请选择任务关联条件");
            this.submitLoading = false;
          this.submitLoading = false;
          return;
        }
        //暂停任务患者限制
@@ -1501,7 +1502,7 @@
        if (!this.form.templatename && !this.templateor) {
          this.$modal.msgError("未选择模板");
            this.submitLoading = false;
          this.submitLoading = false;
          return;
        }
@@ -1515,7 +1516,7 @@
          this.form.longTask
        ) {
        } else {
            this.submitLoading = false;
          this.submitLoading = false;
          return this.$modal.msgError("时间信息缺失");
        }
        const filteredArray = this.variableList.filter(
@@ -1594,6 +1595,8 @@
    },
    // 预览
    previewfnmb() {
      // taskgetQtemplateobj({ id: this.form.templateid });
      getTaskQuestioncomit(this.form.templateid).then((res) => {
        if (res.code == 200) {
          console.log(res, "预览数据");
@@ -1604,15 +1607,17 @@
          this.getillness(this.form.libtemplateid);
          this.previewtf = true;
          getQtemplateobj({ svyid: this.form.libtemplateid }).then((res) => {
          taskgetQtemplateobj({ id: this.form.templateid }).then((res) => {
            if (res.code == 200) {
              this.questionList = res.rows[0].svyTemplateLibScripts;
              this.questionList = res.data.svyTaskTemplateScriptVOS;
              this.questionList.forEach((item) => {
                item.qremark = [];
                item.svyLibTemplateTargetoptions =
                  item.svyTaskTemplateTargetoptions;
              });
              this.previewtftype = 1;
              this.objyl.svyTemplateLibScripts =
                res.rows[0].svyTemplateLibScripts;
                res.data.svyTaskTemplateScriptVOS;
            }
          });
        }
@@ -2135,8 +2140,8 @@
    },
    // 疾病删除触发
    removediagg(row) {
      console.log(row,'row');
console.log(this.diagglist,'this.diagglist');
      console.log(row, "row");
      console.log(this.diagglist, "this.diagglist");
      let result = this.diagglist
        .filter((item) => item.icd10code == row)
@@ -2270,7 +2275,7 @@
              TaskQuestioncomit(this.objyl).then((response) => {
                this.previewtf = false;
                this.form.libtemplateid = this.objyl.svyid;
              this.form.libtemplatename = this.objyl.svyname;
                this.form.libtemplatename = this.objyl.svyname;
                this.form.templateid = response.data;
                this.form.templatename = this.objyl.svyname;
                this.$modal.msgSuccess("选择模板成功");
vue.config.js
@@ -38,8 +38,8 @@
        // target: `https://www.health-y.cn/lssf`,
        // target: `http://192.168.100.10:8096`,
        // target: `http://192.168.100.10:8094`,//省立同德
        target: `http://192.168.100.10:8095`,//新华
        // target:`http://localhost:8095`,
        // target: `http://192.168.100.10:8095`,//新华
        target:`http://localhost:8095`,
        // target:`http://35z1t16164.qicp.vip`,
        // target: `http://192.168.100.193:8095`,
        // target: `http://192.168.101.166:8093`,