|  |  | 
 |  |  |                   font-weight: 600; | 
 |  |  |                 " | 
 |  |  |               > | 
 |  |  |                 {{ item.value }} | 
 |  |  |               {{ item.value ? item.value : 0 }} | 
 |  |  |               </div> | 
 |  |  |             </div> | 
 |  |  |           </el-card> | 
 |  |  | 
 |  |  |           <div class="ysfleftvlue"> | 
 |  |  |             <el-card shadow="hover"> | 
 |  |  |               <div style="padding: 8px"> | 
 |  |  |                 <span>已发送未领取</span> | 
 |  |  |                 <span>表单已发送</span> | 
 |  |  |                 <div | 
 |  |  |                   style=" | 
 |  |  |                     text-align: center; | 
 |  |  | 
 |  |  |           ></el-input> | 
 |  |  |         </el-form-item> | 
 |  |  |  | 
 |  |  |         <el-form-item label="检查时间"> | 
 |  |  |         <el-form-item label="门诊时间"> | 
 |  |  |           <el-date-picker | 
 |  |  |             v-model="dateRange" | 
 |  |  |             style="width: 240px" | 
 |  |  | 
 |  |  |         <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> | 
 |  |  | 
 |  |  |       <el-table | 
 |  |  |         v-loading="loading" | 
 |  |  |         :data="userList" | 
 |  |  |         height="660" | 
 |  |  |         height="808" | 
 |  |  |         :row-class-name="tableRowClassName" | 
 |  |  |         @selection-change="handleSelectionChange" | 
 |  |  |       > | 
 |  |  | 
 |  |  |         <!-- <el-table-column label="序号" fixed align="center" key="id" prop="id" /> --> | 
 |  |  |         <el-table-column | 
 |  |  |           label="姓名" | 
 |  |  |           width="100" | 
 |  |  |           align="center" | 
 |  |  |           key="sendname" | 
 |  |  |           prop="sendname" | 
 |  |  | 
 |  |  |               size="medium" | 
 |  |  |               type="text" | 
 |  |  |               @click=" | 
 |  |  |                 $router.push({ | 
 |  |  |                   path: '/patient/indexls'+'?current='+scope.row.sfzh | 
 |  |  |                 }) | 
 |  |  |                   $router.push({ | 
 |  |  |                     path: '/patient/indexls/', | 
 |  |  |                     query: { sfzh: scope.row.idcardno }, | 
 |  |  |                   }) | 
 |  |  |               " | 
 |  |  |               ><span class="button-textsc">{{ | 
 |  |  |                 scope.row.sendname | 
 |  |  | 
 |  |  |           <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"> | 
 |  |  | 
 |  |  |         /> | 
 |  |  |  | 
 |  |  |         <el-table-column | 
 |  |  |           label="人工处理意见" | 
 |  |  |           label="处理意见" | 
 |  |  |           align="center" | 
 |  |  |           key="suggest" | 
 |  |  |           prop="suggest" | 
 |  |  | 
 |  |  |         <el-table-column | 
 |  |  |           label="随访人员" | 
 |  |  |           align="center" | 
 |  |  |           key="createBy" | 
 |  |  |           prop="createBy" | 
 |  |  |           key="updateBy" | 
 |  |  |           prop="updateBy" | 
 |  |  |           width="120" | 
 |  |  |         /> | 
 |  |  |         <el-table-column | 
 |  |  |           label="随访时间" | 
 |  |  |           label="随访完成时间" | 
 |  |  |           sortable | 
 |  |  |           align="center" | 
 |  |  |           prop="finishtime" | 
 |  |  | 
 |  |  |           </template> | 
 |  |  |         </el-table-column> | 
 |  |  |         <el-table-column | 
 |  |  |           label="影像结果" | 
 |  |  |           label="随访结果" | 
 |  |  |           width="200" | 
 |  |  |           align="center" | 
 |  |  |           key="remark" | 
 |  |  | 
 |  |  |           </template> | 
 |  |  |         </el-table-column> | 
 |  |  |         <el-table-column | 
 |  |  |           label="影像日期" | 
 |  |  |           label="检查日期" | 
 |  |  |           width="200" | 
 |  |  |           align="center" | 
 |  |  |           key="endtime" | 
 |  |  | 
 |  |  |           </template></el-table-column | 
 |  |  |         > | 
 |  |  |         <el-table-column | 
 |  |  |           label="影像天数" | 
 |  |  |           label="已检查天数" | 
 |  |  |           width="120" | 
 |  |  |           align="center" | 
 |  |  |           key="endDay" | 
 |  |  | 
 |  |  |         /> --> | 
 |  |  |  | 
 |  |  |         <!-- <el-table-column label="年龄" align="center" key="age" prop="age" /> --> | 
 |  |  |         <!-- <el-table-column label="性别" align="center" key="sex" prop="sex" /> --> | 
 |  |  |         <!-- <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="科室" | 
 |  |  | 
 |  |  |         </el-table-column> --> | 
 |  |  |  | 
 |  |  |         <!-- <el-table-column | 
 |  |  |           label="影像随访模板名称" | 
 |  |  |           label="门诊随访模板名称" | 
 |  |  |           align="center" | 
 |  |  |           key="templatename" | 
 |  |  |           prop="templatename" | 
 |  |  | 
 |  |  |         @pagination="getList" | 
 |  |  |       /> | 
 |  |  |     </el-row> | 
 |  |  |     <!-- 添加或修改影像随访对话框 --> | 
 |  |  |     <!-- 添加或修改门诊随访对话框 --> | 
 |  |  |     <el-dialog | 
 |  |  |       :title="title" | 
 |  |  |       :visible.sync="addalteropen" | 
 |  |  | 
 |  |  |         </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> | 
 |  |  | 
 |  |  |       // 用户表格数据 | 
 |  |  |       userList: null, | 
 |  |  |       // 弹出层标题 | 
 |  |  |       title: "新增影像随访", | 
 |  |  |       title: "新增门诊随访", | 
 |  |  |       // 是否显示修改、添加弹出层 | 
 |  |  |       addalteropen: false, | 
 |  |  |       // 修改发送时间对话框 | 
 |  |  | 
 |  |  |       yfsvalue: "", | 
 |  |  |       inputValue: "", | 
 |  |  |       preachform: "", | 
 |  |  |       previewVisible: false, //影像随访预览弹框 | 
 |  |  |       previewVisible: false, //门诊随访预览弹框 | 
 |  |  |       radio: "", | 
 |  |  |       radios: [], | 
 |  |  |       previewtype: 2, //预览影像随访类型 | 
 |  |  |       previewtype: 2, //预览门诊随访类型 | 
 |  |  |       total: 0, // 总条数 | 
 |  |  |       ImportQuantity: 999, //导影像随访数量 | 
 |  |  |       //预览影像随访信息 | 
 |  |  |       ImportQuantity: 999, //导门诊随访数量 | 
 |  |  |       //预览门诊随访信息 | 
 |  |  |       previewvalue: { | 
 |  |  |         username: "这个医生对你怎么样", | 
 |  |  |       }, | 
 |  |  | 
 |  |  |       loading: false, | 
 |  |  |       cardlist: [ | 
 |  |  |         { | 
 |  |  |           name: "影像报告总量", | 
 |  |  |           name: "门诊服务总量", | 
 |  |  |           value: 0, | 
 |  |  |         }, | 
 |  |  |         // { | 
 |  |  | 
 |  |  |         //   value: 0, | 
 |  |  |         // }, | 
 |  |  |         { | 
 |  |  |           name: "应随访", | 
 |  |  |           name: "需随访", | 
 |  |  |           value: 0, | 
 |  |  |         }, | 
 |  |  |  | 
 |  |  | 
 |  |  |         }, | 
 |  |  |  | 
 |  |  |         // { | 
 |  |  |         //   name: "已发送未领取", | 
 |  |  |         //   name: "表单已发送", | 
 |  |  |         //   value: 0, | 
 |  |  |         // }, | 
 |  |  |       ], | 
 |  |  | 
 |  |  |       topqueryParams: { | 
 |  |  |         pageNum: 1, | 
 |  |  |         pageSize: 10, | 
 |  |  |         serviceType: 3, | 
 |  |  |         searchscope: 3, | 
 |  |  |         serviceType: 11, | 
 |  |  |         sendstate:2, | 
 |  |  |         scopetype: [], | 
 |  |  |         leaveldeptcodes: [], | 
 |  |  |         leavehospitaldistrictcodes: [], | 
 |  |  |  | 
 |  |  |       }, | 
 |  |  |       propss: { multiple: true }, | 
 |  |  |       options: [], | 
 |  |  | 
 |  |  |       topicoptions: [ | 
 |  |  |         { | 
 |  |  |           value: 1, | 
 |  |  |           label: "被领取", | 
 |  |  |           label: "表单已领取", | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |           value: 2, | 
 |  |  |           label: "待发送", | 
 |  |  |           label: "待随访", | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |           value: 3, | 
 |  |  |           label: "已发送未领取", | 
 |  |  |           label: "表单已发送", | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |           value: 4, | 
 |  |  | 
 |  |  |     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; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |       getTaskservelist(this.topqueryParams).then((response) => { | 
 |  |  |         this.userList = response.rows[0].serviceSubtaskList; | 
 |  |  |         this.total = response.total; | 
 |  |  | 
 |  |  |           // 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[4].value = response.rows[0].dsf; | 
 |  |  |           // this.cardlist[5].value = response.rows[0].yfs2; | 
 |  |  |           this.yfsvalue = response.rows[0].yfs; | 
 |  |  |         } | 
 |  |  | 
 |  |  |         this.total = response.total; | 
 |  |  |       }); | 
 |  |  |     }, | 
 |  |  |     // 查看影像随访详情 | 
 |  |  |     // 查看门诊随访详情 | 
 |  |  |     Referencequestion(row) { | 
 |  |  |       this.previewVisible = true; | 
 |  |  |     }, | 
 |  |  | 
 |  |  |         this.options = []; | 
 |  |  |       } | 
 |  |  |     }, | 
 |  |  |     // 影像随访状态修改 | 
 |  |  |     // 门诊随访状态修改 | 
 |  |  |     handleStatusChange(row) { | 
 |  |  |       let text = row.status === "0" ? "启用" : "停用"; | 
 |  |  |       this.$modal | 
 |  |  | 
 |  |  |     }, | 
 |  |  |     /** 搜索按钮操作 */ | 
 |  |  |     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]; | 
 |  |  | 
 |  |  |     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() { | 
 |  |  | 
 |  |  |       this.topqueryParams = { | 
 |  |  |         pageNum: 1, | 
 |  |  |         pageSize: 10, | 
 |  |  |         serviceType: 3, | 
 |  |  |         searchscope: 2, | 
 |  |  |         serviceType: 11, | 
 |  |  |         sendstate:2, | 
 |  |  |       }; | 
 |  |  |       this.handleQuery(1); | 
 |  |  |     }, | 
 |  |  | 
 |  |  |         path: "/followvisit/QuestionnaireTask", | 
 |  |  |         query: { | 
 |  |  |           type: 2, | 
 |  |  |           serviceType: 3, | 
 |  |  |           serviceType: 11, | 
 |  |  |         }, | 
 |  |  |       }); | 
 |  |  |     }, | 
 |  |  | 
 |  |  |       this.topqueryParams.pageNum = null; | 
 |  |  |       this.topqueryParams.pageSize = null; | 
 |  |  |       this.download( | 
 |  |  |         "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 { |