| | |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="患者编号" prop="patid"> |
| | | <el-form-item label="患者编号" prop="patno"> |
| | | <el-input |
| | | v-model="queryParams.patid" |
| | | v-model="queryParams.patno" |
| | | placeholder="请输入患者编号" |
| | | clearable |
| | | style="width: 250px" |
| | |
| | | v-model="pickertime" |
| | | type="daterange" |
| | | range-separator="至" |
| | | value-format="yyyy-MM-dd" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | > |
| | |
| | | @click=" |
| | | $router.push({ |
| | | path: '/patient/patient/profile/', |
| | | query: { id: scope.row.patid }, |
| | | query: { id: scope.row.patno }, |
| | | }) |
| | | " |
| | | v-hasPermi="['system:user:edit']" |
| | |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | | this.queryParams.starttime=pickertime[0]; |
| | | this.queryParams.endtime=pickertime[1]; |
| | | this.queryParams.starttime=this.pickertime[0]; |
| | | this.queryParams.endtime=this.pickertime[1]; |
| | | this.getList(); |
| | | }, |
| | | /** 重置按钮操作 */ |
| | |
| | | }, |
| | | // 多选框选中数据 |
| | | handleSelectionChange(selection) { |
| | | this.ids = selection.map((item) => item.patid); |
| | | this.ids = selection.map((item) => item.patno); |
| | | this.single = selection.length != 1; |
| | | this.multiple = !selection.length; |
| | | }, |
| | |
| | | /** 修改按钮操作 */ |
| | | handleUpdate(row) { |
| | | console.log(row); |
| | | const userIds = row.patid || this.ids; |
| | | const userIds = row.patno || this.ids; |
| | | particularpatient(userIds).then((response) => { |
| | | console.log(response); |
| | | this.form = response.data; |