| | |
| | | data: data, |
| | | }); |
| | | } |
| | | // 查询问卷模板列表 |
| | | export function taskgetQtemplateobj(data) { |
| | | return request({ |
| | | url: "smartor/svytemplateTask/selectInfoByCondition", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | // 问卷模板列表 |
| | | export function getQtemplatelist(data) { |
| | | return request({ |
| | |
| | | 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: 路由配置项 |
| | |
| | | // 公共路由 |
| | | 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, |
| | |
| | | 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, |
| | | }); |
| | |
| | | methods: { |
| | | // 获取主题样式类 |
| | | getTopicClass(item) { |
| | | console.log(item.isabnormal,'111'); |
| | | console.log(item.isabnormal, "111"); |
| | | |
| | | // 根据状态值返回对应的样式类 |
| | | if (item.isabnormal == 1) { |
| | |
| | | |
| | | // 调起再次发送 |
| | | 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) { |
| | |
| | | astrict: index === questionIndex + 1 ? 0 : item.astrict, |
| | | hiddenByEnd: index === questionIndex + 1 ? false : item.hiddenByEnd, |
| | | })); |
| | | }2 |
| | | } |
| | | 2; |
| | | |
| | | this.$forceUpdate(); |
| | | }, |
| | |
| | | /* 新增:警告状态样式 - 黄色 */ |
| | | .scriptTopic-warning { |
| | | color: #d4be00; /* 您指定的黄色 */ |
| | | |
| | | } |
| | | |
| | | /* 异常选项样式 - 红色星号 (保持不变) */ |
| | |
| | | @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 |
| | |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | icon="el-icon-plus" |
| | | icon="el-icon-plus" |
| | | size="medium" |
| | | @click="handleAdd" |
| | | >新增</el-button |
| | |
| | | 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" |
| | |
| | | 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: { |
| | |
| | | } |
| | | } |
| | | ::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; /* 鼠标悬浮时变为手形 */ |
| | | } |
| | |
| | | Externallist, |
| | | getQtemplatelist, |
| | | getQtemplateobj, |
| | | taskgetQtemplateobj, |
| | | TaskQuestioncomit, |
| | | deleteTaskQuestioncomit, |
| | | Questionnairetaskgetson, |
| | |
| | | this.form.preachformList = this.selectedOrder; |
| | | } else { |
| | | this.$modal.msgError("请选择服务类型"); |
| | | this.submitLoading = false; |
| | | this.submitLoading = false; |
| | | |
| | | return; |
| | | } |
| | |
| | | ) { |
| | | } else { |
| | | this.$modal.msgError("请选择任务关联条件"); |
| | | this.submitLoading = false; |
| | | this.submitLoading = false; |
| | | return; |
| | | } |
| | | //暂停任务患者限制 |
| | |
| | | |
| | | if (!this.form.templatename && !this.templateor) { |
| | | this.$modal.msgError("未选择模板"); |
| | | this.submitLoading = false; |
| | | this.submitLoading = false; |
| | | |
| | | return; |
| | | } |
| | |
| | | this.form.longTask |
| | | ) { |
| | | } else { |
| | | this.submitLoading = false; |
| | | this.submitLoading = false; |
| | | return this.$modal.msgError("时间信息缺失"); |
| | | } |
| | | const filteredArray = this.variableList.filter( |
| | |
| | | }, |
| | | // 预览 |
| | | previewfnmb() { |
| | | // taskgetQtemplateobj({ id: this.form.templateid }); |
| | | |
| | | getTaskQuestioncomit(this.form.templateid).then((res) => { |
| | | if (res.code == 200) { |
| | | console.log(res, "预览数据"); |
| | |
| | | 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; |
| | | } |
| | | }); |
| | | } |
| | |
| | | }, |
| | | // 疾病删除触发 |
| | | 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) |
| | |
| | | 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("选择模板成功"); |
| | |
| | | // 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`, |