| | |
| | | <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" |
| | |
| | | icon="el-icon-upload2" |
| | | size="medium" |
| | | @click="handleExport" |
| | | v-hasPermi="['system:user:export']" |
| | | >导出</el-button |
| | | > |
| | | </div> |
| | |
| | | width="180" |
| | | /> |
| | | <!-- <el-table-column label="序号" fixed align="center" key="id" prop="id" /> --> |
| | | |
| | | <el-table-column |
| | | label="姓名" |
| | | width="100" |
| | |
| | | size="medium" |
| | | type="text" |
| | | @click=" |
| | | $router.push({ |
| | | $router.push({ |
| | | path: '/patient/indexls/', |
| | | query: { sfzh: scope.row.idcardno }, |
| | | }) |
| | |
| | | <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"> |
| | |
| | | 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" |
| | |
| | | @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, |
| | | }, |
| | | // { |
| | |
| | | }, |
| | | |
| | | // { |
| | | // name: "已发送未领取", |
| | | // name: "表单已发送", |
| | | // value: 0, |
| | | // }, |
| | | ], |
| | |
| | | topqueryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | serviceType: 5, |
| | | searchscope: 3, |
| | | serviceType: 9, |
| | | 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; |
| | | 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; |
| | | this.total = response.total; |
| | |
| | | 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: 5, |
| | | searchscope: 2, |
| | | serviceType: 9, |
| | | sendstate:2, |
| | | }; |
| | | this.handleQuery(1); |
| | |
| | | path: "/followvisit/QuestionnaireTask", |
| | | query: { |
| | | type: 2, |
| | | serviceType: 5, |
| | | serviceType: 9, |
| | | }, |
| | | }); |
| | | }, |
| | |
| | | this.topqueryParams.pageNum = null; |
| | | this.topqueryParams.pageSize = null; |
| | | this.download( |
| | | "smartor/serviceSubtask/export", |
| | | "smartor/serviceSubtask/patItemExport", |
| | | { |
| | | ...this.topqueryParams, |
| | | }, |