| | |
| | | type="text" |
| | | :disabled="scope.row.type === 1" |
| | | @click="qijian(scope.row)" |
| | | >弃检</el-button |
| | | >{{ scope.row.type === 0 ? "弃检" : "恢复" }}</el-button |
| | | > |
| | | <!-- <el-button |
| | | size="mini" |
| | | type="text" |
| | | @click="qijian(scope.row)" |
| | | >恢复</el-button |
| | | > --> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | :disabled="scope.row.type === 0" |
| | | :disabled="scope.row.type === 0 || scope.row.type === 2" |
| | | @click="queryResultone(scope.row)" |
| | | >结果查询</el-button |
| | | > |
| | |
| | | qijian, |
| | | resultList, |
| | | typeOne, |
| | | huifu, |
| | | } from "@/api/doctor/examination"; |
| | | import { getCompany, queryCompany } from "@/api/team/tuanti"; |
| | | import { getNewDateList } from "@/api/hosp/order"; |
| | |
| | | // console.log(this.xianshi, 999); |
| | | }); |
| | | getNewDateList().then((res) => { |
| | | console.log(res,222); |
| | | |
| | | // console.log(res,222); |
| | | |
| | | // this.createTimeList = [ |
| | | // moment(res.data).format("YYYY-MM-DD 00:00:00"), |
| | | // moment(res.data).format("YYYY-MM-DD 23:59:00"), |
| | | // ]; |
| | | // console.log(this.createTimeList,8855); |
| | | |
| | | |
| | | this.getList(); |
| | | }); |
| | | }, |
| | |
| | | // 选框数据 |
| | | searchSelect(val) { |
| | | this.CheckBox = val; |
| | | console.log(this.CheckBox, 9999); |
| | | // console.log(this.CheckBox, 9999); |
| | | }, |
| | | getList() { |
| | | this.loading = true; |
| | |
| | | // 获取单位信息集合 |
| | | getCompany(this.queryParam).then((response) => { |
| | | this.CompanyList = response.data; |
| | | console.log(this.CompanyList, 555); |
| | | // console.log(this.CompanyList, 555); |
| | | |
| | | this.loading = false; |
| | | }); |
| | |
| | | this.currentRow = val; |
| | | let tjNumber = val.tjNumber; |
| | | this.selectedTjNumber = val.tjNumber; |
| | | console.log(this.currentRow, 4455); |
| | | |
| | | typeOne(tjNumber).then((res) => { |
| | | this.type = res.data; |
| | | console.log(res, 3322); |
| | | }); |
| | | |
| | | cSWebGetPro(tjNumber).then((res) => { |
| | | this.xiangmuList = res.data; |
| | | console.log(this.xiangmuList, 999); |
| | | |
| | | this.xiangmuList.forEach((item) => { |
| | | // console.log(item); |
| | | // if (item.type == 0) { |
| | |
| | | qijian(row) { |
| | | const tjNUm = this.selectedTjNumber; |
| | | const proId = row.proId; |
| | | |
| | | qijian(tjNUm, proId).then((res) => { |
| | | if (res.code == 200) { |
| | | cSWebGetPro(tjNUm).then((res) => { |
| | | if (res.code === 200) { |
| | | // 更新右边表格的数据 |
| | | this.xiangmuList = res.data; |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | if (row.type == "2") { |
| | | huifu(tjNUm, proId).then((res) => { |
| | | if (res.code == 200) { |
| | | cSWebGetPro(tjNUm).then((res) => { |
| | | if (res.code === 200) { |
| | | // 更新右边表格的数据 |
| | | this.xiangmuList = res.data; |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | } else { |
| | | qijian(tjNUm, proId).then((res) => { |
| | | if (res.code == 200) { |
| | | cSWebGetPro(tjNUm).then((res) => { |
| | | if (res.code === 200) { |
| | | // 更新右边表格的数据 |
| | | this.xiangmuList = res.data; |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | }, |
| | | chaxun() {}, |
| | | |
| | | handleRowClick(row, column, event) { |
| | | console.log(row, 2323); |
| | | // console.log(row, 2323); |
| | | this.name = row.proName; |
| | | console.log(this.name, 99999); |
| | | // console.log(this.name, 99999); |
| | | }, |
| | | queryResultone(row) { |
| | | // 打开抽屉 |