|  |  | 
 |  |  |             placeholder="请输入患者姓名" | 
 |  |  |           ></el-input> | 
 |  |  |         </el-form-item> | 
 |  |  |         <el-form-item label="患者诊断" prop="leavediagname"> | 
 |  |  |         <el-form-item label="诊断名称" prop="leavediagname"> | 
 |  |  |           <el-input | 
 |  |  |             v-model="topqueryParams.leavediagname" | 
 |  |  |             placeholder="请输入患者诊断" | 
 |  |  |             placeholder="请输入诊断名称" | 
 |  |  |           ></el-input> | 
 |  |  |         </el-form-item> | 
 |  |  |  | 
 |  |  | 
 |  |  |         <el-col :span="1.5"> | 
 |  |  |           <el-button | 
 |  |  |             type="primary" | 
 |  |  |             plain | 
 |  |  |             icon="el-icon-plus" | 
 |  |  |                         icon="el-icon-plus" | 
 |  |  |             size="medium" | 
 |  |  |             @click="handleAdd" | 
 |  |  |             >新增</el-button | 
 |  |  | 
 |  |  |         <!-- <el-table-column label="性别"width="100" align="center" key="sex" prop="sex" /> --> | 
 |  |  |         <!-- <el-table-column label="床号" align="center" key="badNo" prop="badNo" /> --> | 
 |  |  |         <el-table-column | 
 |  |  |           label="科室" | 
 |  |  |           label="首次随访科室" | 
 |  |  |           align="center" | 
 |  |  |           key="deptname" | 
 |  |  |           prop="deptname" | 
 |  |  |           width="120" | 
 |  |  |         > | 
 |  |  |         </el-table-column> | 
 |  |  |         <el-table-column | 
 |  |  |           label="本次科室" | 
 |  |  |           align="center" | 
 |  |  |           key="visitDeptName" | 
 |  |  |           prop="visitDeptName" | 
 |  |  |           width="120" | 
 |  |  |         > | 
 |  |  |         </el-table-column> | 
 |  |  | 
 |  |  |             </el-form-item> | 
 |  |  |           </el-col> | 
 |  |  |         </el-row> | 
 |  |  |  | 
 |  |  | <el-row > | 
 |  |  |           <el-col :span="8"> | 
 |  |  |             <el-form-item label="过滤医生" width="100" prop="filterDrname"> | 
 |  |  |               <el-input | 
 |  |  |                 v-model="form.filterDrname" | 
 |  |  |                 placeholder="请输入医生姓名" | 
 |  |  |                 maxlength="30" | 
 |  |  |               /> | 
 |  |  |             </el-form-item> | 
 |  |  |           </el-col> | 
 |  |  |         </el-row> | 
 |  |  |         <el-row> | 
 |  |  |           <el-col :span="24"> | 
 |  |  |             <el-form-item label="过滤原因"> | 
 |  |  | 
 |  |  |         //   value: 0, | 
 |  |  |         // }, | 
 |  |  |         { | 
 |  |  |           name: "应随访", | 
 |  |  |           name: "需随访", | 
 |  |  |           value: 0, | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  | 
 |  |  |           name: "待随访", | 
 |  |  |           value: 0, | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |           name: "已发送", | 
 |  |  |           value: 0, | 
 |  |  |         }, | 
 |  |  |         // { | 
 |  |  |         //   name: "已发送", | 
 |  |  |         //   value: 0, | 
 |  |  |         // }, | 
 |  |  |  | 
 |  |  |         // { | 
 |  |  |         //   name: "表单已发送", | 
 |  |  | 
 |  |  |         searchscope: 3, | 
 |  |  |         visitCount: 2, | 
 |  |  |         scopetype: [], | 
 |  |  |         leaveldeptcodes: [], | 
 |  |  |         visitDeptCodes: [], | 
 |  |  |         leaveldeptcodes:[], | 
 |  |  |         leavehospitaldistrictcodes: [], | 
 |  |  |       }, | 
 |  |  |       propss: { multiple: true }, | 
 |  |  | 
 |  |  |       // 默认全部 | 
 |  |  |  | 
 |  |  |       if (this.topqueryParams.searchscope == 3) { | 
 |  |  |         this.topqueryParams.visitDeptCodes = store.getters.belongDepts.map( | 
 |  |  |           (obj) => obj.deptCode | 
 |  |  |         ); | 
 |  |  |         this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map( | 
 |  |  |           (obj) => obj.deptCode | 
 |  |  |         ); | 
 |  |  | 
 |  |  |       this.loading = true; | 
 |  |  |       if ( | 
 |  |  |         this.topqueryParams.leavehospitaldistrictcodes[0] && | 
 |  |  |         this.topqueryParams.leaveldeptcodes[0] | 
 |  |  |         this.topqueryParams.visitDeptCodes[0]&&this.topqueryParams.leaveldeptcodes[0] | 
 |  |  |       ) { | 
 |  |  |         this.topqueryParams.deptOrDistrict = 2; | 
 |  |  |       } else { | 
 |  |  | 
 |  |  |           this.ycvalue = response.rows[0].yc; | 
 |  |  |           this.cardlist[2].value = response.rows[0].fssb; | 
 |  |  |           this.cardlist[3].value = response.rows[0].dsf; | 
 |  |  |           this.cardlist[4].value = response.rows[0].yfs2; | 
 |  |  |           // this.cardlist[4].value = response.rows[0].yfs2; | 
 |  |  |           this.yfsvalue = response.rows[0].yfs; | 
 |  |  |         } | 
 |  |  |         this.loading = false; | 
 |  |  | 
 |  |  |       }); | 
 |  |  |     }, | 
 |  |  |     affiliation() { | 
 |  |  |       this.topqueryParams.drcode = store.getters.hisUserId; | 
 |  |  |       this.topqueryParams.nurseId = store.getters.hisUserId; | 
 |  |  |  | 
 |  |  |       this.topqueryParams.managementDoctorCode= store.getters.hisUserId; | 
 |  |  |  | 
 |  |  |       this.getList(1); | 
 |  |  |     }, | 
 |  |  |     onthatday() { | 
 |  |  | 
 |  |  |     }, | 
 |  |  |     buidegetTasklist(type) { | 
 |  |  |       if (this.topqueryParams.searchscope == 3) { | 
 |  |  |         this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map( | 
 |  |  |         this.topqueryParams.visitDeptCodes = store.getters.belongDepts.map( | 
 |  |  |           (obj) => obj.deptCode | 
 |  |  |         ); | 
 |  |  |           this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map( | 
 |  |  |           (obj) => obj.deptCode | 
 |  |  |         ); | 
 |  |  |         this.topqueryParams.leavehospitaldistrictcodes = | 
 |  |  | 
 |  |  |         leavehospitaldistrictcodes: | 
 |  |  |           this.topqueryParams.leavehospitaldistrictcodes, | 
 |  |  |         sendstates: [2, 3], | 
 |  |  |         visitDeptCodes: this.topqueryParams.visitDeptCodes, | 
 |  |  |         leaveldeptcodes: this.topqueryParams.leaveldeptcodes, | 
 |  |  |       }; | 
 |  |  |       buidegetTasklist(obj).then((response) => { | 
 |  |  | 
 |  |  |           this.ycvalue = response.rows[0].yc; | 
 |  |  |           this.cardlist[3].value = response.rows[0].fssb; | 
 |  |  |           this.cardlist[4].value = response.rows[0].dsf; | 
 |  |  |           this.cardlist[5].value = response.rows[0].yfs2; | 
 |  |  |           // this.cardlist[5].value = response.rows[0].yfs2; | 
 |  |  |           this.yfsvalue = response.rows[0].yfs; | 
 |  |  |         } | 
 |  |  |         this.loading = false; | 
 |  |  | 
 |  |  |     /** 搜索按钮操作 */ | 
 |  |  |     handleQuery(refresh) { | 
 |  |  |       if (this.topqueryParams.searchscope == 3) { | 
 |  |  |         this.topqueryParams.visitDeptCodes = store.getters.belongDepts.map( | 
 |  |  |           (obj) => obj.deptCode | 
 |  |  |         ); | 
 |  |  |         this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map( | 
 |  |  |           (obj) => obj.deptCode | 
 |  |  |         ); | 
 |  |  | 
 |  |  |       let type = value[0]; | 
 |  |  |       let code = value.slice(-1)[0]; | 
 |  |  |       this.topqueryParams.leavehospitaldistrictcodes = []; | 
 |  |  |       this.topqueryParams.visitDeptCodes = []; | 
 |  |  |       this.topqueryParams.leaveldeptcodes = []; | 
 |  |  |       if (type == 1) { | 
 |  |  |         this.topqueryParams.visitDeptCodes.push(code); | 
 |  |  |         this.topqueryParams.leaveldeptcodes.push(code); | 
 |  |  |         this.topqueryParams.leavehospitaldistrictcodes = []; | 
 |  |  |         this.topqueryParams.searchscope = 1; | 
 |  |  |       } else if (type == 2) { | 
 |  |  |         this.topqueryParams.leavehospitaldistrictcodes.push(code); | 
 |  |  |         this.topqueryParams.visitDeptCodes = []; | 
 |  |  |         this.topqueryParams.leaveldeptcodes = []; | 
 |  |  |         this.topqueryParams.searchscope = 2; | 
 |  |  |       } else { | 
 |  |  | 
 |  |  |         searchscope: 3, | 
 |  |  |         visitCount: 2, | 
 |  |  |         scopetype: [], | 
 |  |  |         leaveldeptcodes: [], | 
 |  |  |         visitDeptCodes: [], | 
 |  |  |         leaveldeptcodes:[], | 
 |  |  |         leavehospitaldistrictcodes: [], | 
 |  |  |       }; | 
 |  |  |       this.handleQuery(1); | 
 |  |  | 
 |  |  |     }, | 
 |  |  |     //患者360跳转 | 
 |  |  |     gettoken360(sfzh, drcode, drname) { | 
 |  |  |       this.$modal.msgWarning('360功能暂未开通'); | 
 |  |  |   return; // 阻止后续代码执行 | 
 |  |  |       this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh; | 
 |  |  |       if (this.postData.XiaoXiTou.ZuHuMC == "丽水市中医院") { | 
 |  |  |         this.postData.YeWuXX.YongHuXX.YongHuID = "1400398571877961728"; | 
 |  |  | 
 |  |  |     handleUpdate(row) { | 
 |  |  |       particularpatient(row.patid).then((response) => { | 
 |  |  |         this.form = response.data; | 
 |  |  |         this.form.filterDrname = store.getters.nickName; | 
 |  |  |       }); | 
 |  |  |       this.amendtag = true; | 
 |  |  |       this.Labelchange = true; | 
 |  |  | 
 |  |  |   } | 
 |  |  | } | 
 |  |  | ::v-deep.leftvlue .el-card__body { | 
 |  |  |   background: #d0e9fd; | 
 |  |  |   background: #F2F8FF; | 
 |  |  |   color: #324A9B; | 
 |  |  | } | 
 |  |  | ::v-deep.leftvlue .el-card__body:hover { | 
 |  |  |   background: #8dc8f8; | 
 |  |  |   background: #3664D9; | 
 |  |  |   color: #fff; | 
 |  |  |   cursor: pointer; /* 鼠标悬浮时变为手形 */ | 
 |  |  | } | 
 |  |  | ::v-deep.errleftvlue .el-card__body { | 
 |  |  | 
 |  |  |   border-radius: 1px; | 
 |  |  |   color: #ffffff; | 
 |  |  | } | 
 |  |  |  | 
 |  |  | .button-textxga { | 
 |  |  |   color: #de7897; | 
 |  |  | } | 
 |  |  | ::v-deep.el-radio-group { | 
 |  |  |   span { | 
 |  |  |     font-size: 24px; |