|  |  | 
 |  |  |           </el-select> | 
 |  |  |         </el-form-item> | 
 |  |  |         <el-form-item label="排序方式" prop="status"> | 
 |  |  |      <el-select v-model="topqueryParams.sort" placeholder="请选择"> | 
 |  |  |       <el-option | 
 |  |  |        v-for="item in topicoptionssort" | 
 |  |  |        :key="item.value" | 
 |  |  |        :label="item.label" | 
 |  |  |        :value="item.value" | 
 |  |  |       > | 
 |  |  |       </el-option> | 
 |  |  |      </el-select> | 
 |  |  |     </el-form-item> | 
 |  |  |           <el-select v-model="topqueryParams.sort" placeholder="请选择"> | 
 |  |  |             <el-option | 
 |  |  |               v-for="item in topicoptionssort" | 
 |  |  |               :key="item.value" | 
 |  |  |               :label="item.label" | 
 |  |  |               :value="item.value" | 
 |  |  |             > | 
 |  |  |             </el-option> | 
 |  |  |           </el-select> | 
 |  |  |         </el-form-item> | 
 |  |  |  | 
 |  |  |         <el-form-item> | 
 |  |  |           <el-button | 
 |  |  | 
 |  |  |         <el-col :span="1.5"> | 
 |  |  |           <el-button | 
 |  |  |             type="primary" | 
 |  |  |             plain | 
 |  |  |             icon="el-icon-plus" | 
 |  |  |                         icon="el-icon-plus" | 
 |  |  |             size="medium" | 
 |  |  |             @click="handleAdd" | 
 |  |  |             >新增</el-button | 
 |  |  | 
 |  |  |                 icon="el-icon-upload2" | 
 |  |  |                 size="medium" | 
 |  |  |                 @click="handleExport" | 
 |  |  |                 v-hasPermi="['system:user:export']" | 
 |  |  |                 >导出</el-button | 
 |  |  |               > | 
 |  |  |             </div> | 
 |  |  | 
 |  |  |             </div> | 
 |  |  |           </div> | 
 |  |  |         </el-col> | 
 |  |  |         <el-col :span="1.5"> | 
 |  |  |           <div class="documentf"> | 
 |  |  |             <div class="document"> | 
 |  |  |               <el-button type="success" size="medium" @click="onthatday()" | 
 |  |  |                 >当日服务</el-button | 
 |  |  |               > | 
 |  |  |             </div> | 
 |  |  |           </div> | 
 |  |  |         </el-col> | 
 |  |  |       </el-row> | 
 |  |  |       <el-table | 
 |  |  |         v-loading="loading" | 
 |  |  |         :data="userList" | 
 |  |  |         height="660" | 
 |  |  |         :row-class-name="tableRowClassName" | 
 |  |  |         @selection-change="handleSelectionChange" | 
 |  |  |       > | 
 |  |  | 
 |  |  |               size="medium" | 
 |  |  |               type="text" | 
 |  |  |               @click=" | 
 |  |  |                 $router.push({ | 
 |  |  |                   path: '/patient/indexls/', | 
 |  |  |                   query: { sfzh: scope.row.sfzh }, | 
 |  |  |                 }) | 
 |  |  |                 gettoken360(scope.row.sfzh, scope.row.drcode, scope.row.drname) | 
 |  |  |               " | 
 |  |  |               ><span class="button-textsc">{{ | 
 |  |  |                 scope.row.sendname | 
 |  |  | 
 |  |  |           width="120" | 
 |  |  |         /> | 
 |  |  |         <el-table-column | 
 |  |  |           label="随访时间" | 
 |  |  |           label="随访完成时间" | 
 |  |  |           sortable | 
 |  |  |           align="center" | 
 |  |  |           prop="finishtime" | 
 |  |  | 
 |  |  |                 ></el-button | 
 |  |  |               > | 
 |  |  |             </el-tooltip> --> | 
 |  |  |             <el-tooltip | 
 |  |  |             <!-- <el-tooltip | 
 |  |  |               v-if="scope.row.sendstate == 1 || scope.row.sendstate == 2" | 
 |  |  |               class="item" | 
 |  |  |               effect="dark" | 
 |  |  | 
 |  |  |                   ><i class="el-icon-remove-outline"></i>暂停服务</span | 
 |  |  |                 ></el-button | 
 |  |  |               > | 
 |  |  |             </el-tooltip> | 
 |  |  |             </el-tooltip> --> | 
 |  |  |             <el-button size="medium" type="text" @click="Seedetails(scope.row)" | 
 |  |  |               ><span class="button-zx" | 
 |  |  |                 ><i class="el-icon-s-order"></i>查看详情</span | 
 |  |  | 
 |  |  |   resetUserPwd, | 
 |  |  |   changeUserStatus, | 
 |  |  | } from "@/api/system/user"; | 
 |  |  | import { getTaskservelist, buidegetTasklist } from "@/api/AiCentre/index"; | 
 |  |  | import { | 
 |  |  |   getTaskservelist, | 
 |  |  |   buidegetTasklist, | 
 |  |  |   query360PatInfo, | 
 |  |  | } from "@/api/AiCentre/index"; | 
 |  |  | import Treeselect from "@riophae/vue-treeselect"; | 
 |  |  | import store from "@/store"; | 
 |  |  | import "@riophae/vue-treeselect/dist/vue-treeselect.css"; | 
 |  |  | 
 |  |  |       postOptions: [], | 
 |  |  |       ruleForm: { | 
 |  |  |         type: [], | 
 |  |  |       }, | 
 |  |  |       postData: { | 
 |  |  |         XiaoXiTou: { | 
 |  |  |           FaSongFCSJC: "ZJHES", | 
 |  |  |           FaSongJGID: localStorage.getItem("orgid"), | 
 |  |  |           FaSongJGMC: localStorage.getItem("orgname"), | 
 |  |  |           FaSongSJ: "2025-01-09 17:29:36", | 
 |  |  |           FaSongXTJC: "SUIFANGXT", | 
 |  |  |           FaSongXTMC: "随访系统", | 
 |  |  |           XiaoXiID: "5FA92AFB-9833-4608-87C7-F56A654AC171", | 
 |  |  |           XiaoXiLX: "SC_LC_360STCX", | 
 |  |  |           XiaoXiMC: "360 视图查询", | 
 |  |  |           ZuHuID: localStorage.getItem("ZuHuID"), | 
 |  |  |           ZuHuMC: localStorage.getItem("orgname"), | 
 |  |  |         }, | 
 |  |  |         YeWuXX: { | 
 |  |  |           BingRenXX: { | 
 |  |  |             ZhengJianHM: "", | 
 |  |  |             ZhengJianLXDM: "01", | 
 |  |  |             ZhengJianLXMC: "居民身份证", | 
 |  |  |             ZuZhiJGID: localStorage.getItem("orgid"), | 
 |  |  |             ZuZhiJGMC: localStorage.getItem("orgname"), | 
 |  |  |           }, | 
 |  |  |           YongHuXX: { | 
 |  |  |             XiTongID: "SUIFANGXT", | 
 |  |  |             XiTongMC: "随访系统", | 
 |  |  |             YongHuID: "1400466972205912064", | 
 |  |  |             YongHuXM: "JNRMYY", | 
 |  |  |             ZuZhiJGID: localStorage.getItem("orgid"), | 
 |  |  |             ZuZhiJGMC: localStorage.getItem("orgname"), | 
 |  |  |             idp: "lyra", | 
 |  |  |           }, | 
 |  |  |         }, | 
 |  |  |       }, | 
 |  |  |       zcform: {}, | 
 |  |  |       dynamicTags: ["选项一", "选项二", "选项三"], //选项 | 
 |  |  | 
 |  |  |           name: "出院服务总量", | 
 |  |  |           value: 0, | 
 |  |  |         }, | 
 |  |  |         // { | 
 |  |  |         //   name: "患者过滤", | 
 |  |  |         //   value: 0, | 
 |  |  |         // }, | 
 |  |  |         { | 
 |  |  |           name: "患者过滤", | 
 |  |  |           value: 0, | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |           name: "应随访", | 
 |  |  |           name: "需随访", | 
 |  |  |           value: 0, | 
 |  |  |         }, | 
 |  |  |  | 
 |  |  | 
 |  |  |           name: "待随访", | 
 |  |  |           value: 0, | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |           name: "已发送", | 
 |  |  |           value: 0, | 
 |  |  |         }, | 
 |  |  |         // { | 
 |  |  |         //   name: "已发送", | 
 |  |  |         //   value: 0, | 
 |  |  |         // }, | 
 |  |  |  | 
 |  |  |         // { | 
 |  |  |         //   name: "表单已发送", | 
 |  |  | 
 |  |  |       topqueryParams: { | 
 |  |  |         pageNum: 1, | 
 |  |  |         pageSize: 10, | 
 |  |  |         serviceType: 10, | 
 |  |  |         serviceType: 13, | 
 |  |  |         searchscope: 3, | 
 |  |  |         sendstate:2, | 
 |  |  |         sort:2, | 
 |  |  |         sendstate: 2, | 
 |  |  |         sort: 2, | 
 |  |  |         scopetype: [], | 
 |  |  |         leaveldeptcodes: [], | 
 |  |  |         leavehospitaldistrictcodes: [], | 
 |  |  | 
 |  |  |       options: [], | 
 |  |  |  | 
 |  |  |       topicoptions: [ | 
 |  |  |         { | 
 |  |  |           value: null, | 
 |  |  |           label: "全部", | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |           value: 1, | 
 |  |  |           label: "表单已领取", | 
 |  |  | 
 |  |  |           label: "正常", | 
 |  |  |         }, | 
 |  |  |       ], | 
 |  |  |       topicoptionssort:[ | 
 |  |  |     { | 
 |  |  |      value: 0, | 
 |  |  |      label: "出院时间(正序)", | 
 |  |  |     }, | 
 |  |  |     { | 
 |  |  |      value: 1, | 
 |  |  |      label: "出院时间(倒序)", | 
 |  |  |     }, | 
 |  |  |     { | 
 |  |  |      value: 2, | 
 |  |  |      label: "发送时间(正序)", | 
 |  |  |     }, | 
 |  |  |     { | 
 |  |  |      value: 3, | 
 |  |  |      label: "发送时间(倒序)", | 
 |  |  |     }, | 
 |  |  |    ], | 
 |  |  |       topicoptionssort: [ | 
 |  |  |         { | 
 |  |  |           value: 0, | 
 |  |  |           label: "出院时间(正序)", | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |           value: 1, | 
 |  |  |           label: "出院时间(倒序)", | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |           value: 2, | 
 |  |  |           label: "发送时间(正序)", | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |           value: 3, | 
 |  |  |           label: "发送时间(倒序)", | 
 |  |  |         }, | 
 |  |  |       ], | 
 |  |  |       errtype: "", | 
 |  |  |       leavehospitaldistrictcode: "", | 
 |  |  |       serviceState: [], | 
 |  |  | 
 |  |  |         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; | 
 |  |  |       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; | 
 |  |  | 
 |  |  |         if (refresh) { | 
 |  |  |           this.cardlist[0].value = | 
 |  |  |             Number(response.rows[0].wzx) + Number(response.rows[0].ysf); | 
 |  |  |           this.cardlist[1].value = response.rows[0].wzx; | 
 |  |  |           this.cardlist[2].value = response.rows[0].ysf; | 
 |  |  |           // this.cardlist[1].value = response.rows[0].wzx; | 
 |  |  |           this.cardlist[1].value = response.rows[0].ysf; | 
 |  |  |           this.ycvalue = response.rows[0].yc; | 
 |  |  |           this.cardlist[3].value = response.rows[0].fssb; | 
 |  |  |           this.cardlist[4].value = response.rows[0].dfs; | 
 |  |  |           this.cardlist[5].value = response.rows[0].yfs2; | 
 |  |  |           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.yfsvalue = response.rows[0].yfs; | 
 |  |  |         } | 
 |  |  |         this.loading = false; | 
 |  |  | 
 |  |  |           } | 
 |  |  |         }); | 
 |  |  |         this.total = response.total; | 
 |  |  |       }); | 
 |  |  |     }, | 
 |  |  |     //患者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"; | 
 |  |  |         this.postData.YeWuXX.YongHuXX.YongHuXM = "LSZYY"; | 
 |  |  |       } | 
 |  |  |       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查询无结果"); | 
 |  |  |         } | 
 |  |  |       }); | 
 |  |  |     }, | 
 |  |  |     buidegetTasklist(type) { | 
 |  |  | 
 |  |  |           this.cardlist[2].value = response.rows[0].ysf; | 
 |  |  |           this.ycvalue = response.rows[0].yc; | 
 |  |  |           this.cardlist[3].value = response.rows[0].fssb; | 
 |  |  |           this.cardlist[4].value = response.rows[0].dfs; | 
 |  |  |           this.cardlist[5].value = response.rows[0].yfs2; | 
 |  |  |           this.cardlist[4].value = response.rows[0].dsf; | 
 |  |  |           // this.cardlist[5].value = response.rows[0].yfs2; | 
 |  |  |           this.yfsvalue = response.rows[0].yfs; | 
 |  |  |         } | 
 |  |  |         this.loading = false; | 
 |  |  | 
 |  |  |       this.topqueryParams = { | 
 |  |  |         pageNum: 1, | 
 |  |  |         pageSize: 10, | 
 |  |  |         serviceType: 10, | 
 |  |  |         sort:2, | 
 |  |  |         serviceType: 13, | 
 |  |  |         sort: 2, | 
 |  |  |         searchscope: 2, | 
 |  |  |         sendstate:2, | 
 |  |  |         sendstate: 2, | 
 |  |  |         scopetype: [], | 
 |  |  |         leaveldeptcodes: [], | 
 |  |  |         leavehospitaldistrictcodes: [], | 
 |  |  |       }; | 
 |  |  |       this.handleQuery(1); | 
 |  |  |     }, | 
 |  |  | 
 |  |  |         this.$refs.saveTagInput.$refs.input.focus(); | 
 |  |  |       }); | 
 |  |  |     }, | 
 |  |  |     onthatday() { | 
 |  |  |       this.topqueryParams.startSendDateTime = this.getCurrentDate(); | 
 |  |  |       this.topqueryParams.endSendDateTime = this.getCurrentDate(); | 
 |  |  |       this.getList(1); | 
 |  |  |     }, | 
 |  |  |     getCurrentDate() { | 
 |  |  |       const now = new Date(); | 
 |  |  |       return now.toISOString().slice(0, 10); // 截取前10个字符,即 YYYY-MM-DD | 
 |  |  |     }, | 
 |  |  |     //获取失去焦点触发 | 
 |  |  |     handleInputConfirm() { | 
 |  |  |       let inputValue = this.inputValue; | 
 |  |  | 
 |  |  |         path: "/followvisit/QuestionnaireTask", | 
 |  |  |         query: { | 
 |  |  |           type: 2, | 
 |  |  |           serviceType: 10, | 
 |  |  |           serviceType: 13, | 
 |  |  |         }, | 
 |  |  |       }); | 
 |  |  |     }, | 
 |  |  | 
 |  |  |           patid: row.patid, | 
 |  |  |           id: row.id, | 
 |  |  |           Voicetype: type, | 
 |  |  |           again: 1, | 
 |  |  |         }, | 
 |  |  |       }); | 
 |  |  |     }, | 
 |  |  | 
 |  |  |       this.topqueryParams.pageNum = null; | 
 |  |  |       this.topqueryParams.pageSize = null; | 
 |  |  |       this.download( | 
 |  |  |         "smartor/serviceSubtask/export", | 
 |  |  |         // "smartor/serviceSubtask/export", | 
 |  |  |         "smartor/serviceSubtask/patItemExport", | 
 |  |  |         { | 
 |  |  |           ...this.topqueryParams, | 
 |  |  |         }, | 
 |  |  | 
 |  |  |   } | 
 |  |  | } | 
 |  |  | ::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 { |