| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | listsvr_prjtask, |
| | | getsvr_prjtask, |
| | | addsvr_prjtask, |
| | | updatesvr_prjtask, |
| | | delsvr_prjtask, |
| | | Addpatienttask, |
| | | } from "@/api/smartorpor/svr_prjtask"; |
| | | import { listpat_archive } from "@/api/smartorpor/pat_archive"; |
| | | import { listsvr_prjtaskline } from "@/api/smartorpor/svr_prjtaskline"; |
| | | |
| | | |
| | | |
| | | export default { |
| | | data() { |
| | |
| | | // 子任务一级弹框 |
| | | handleAdd() { |
| | | this.multiple = true; |
| | | listsvr_prjtaskline(this.deliverytopqueryParams).then((response) => { |
| | | console.log(response); |
| | | this.sonuserList = response.rows; |
| | | this.sontotal = response.total; |
| | | this.loading = false; |
| | | }); |
| | | // listsvr_prjtaskline(this.deliverytopqueryParams).then((response) => { |
| | | // console.log(response); |
| | | // this.sonuserList = response.rows; |
| | | // this.sontotal = response.total; |
| | | // this.loading = false; |
| | | // }); |
| | | this.dialogVisible = true; |
| | | }, |
| | | // 子任务二级弹框 |
| | | handleAddpatient() { |
| | | console.log(this.multiple); |
| | | listpat_archive(this.patientqueryParams).then((response) => { |
| | | console.log(response); |
| | | this.patientuserList = response.rows; |
| | | this.patienttotal = response.total; |
| | | this.loading = false; |
| | | }); |
| | | // listpat_archive(this.patientqueryParams).then((response) => { |
| | | // console.log(response); |
| | | // this.patientuserList = response.rows; |
| | | // this.patienttotal = response.total; |
| | | // this.loading = false; |
| | | // }); |
| | | this.dialogVisiblepatient = true; |
| | | }, |
| | | handleUpdate() {}, |
| | |
| | | let objictpint = {}; |
| | | objictpint.patientes = this.ids; |
| | | objictpint.pguid = 2; |
| | | Addpatienttask(objictpint).then((res) => { |
| | | console.log(res); |
| | | }); |
| | | // Addpatienttask(objictpint).then((res) => { |
| | | // console.log(res); |
| | | // }); |
| | | this.dialogVisiblepatient = false; |
| | | }, |
| | | |
| | |
| | | console.log(this.topqueryParams); |
| | | // this.topqueryParams.pid = this.$route.query.id; |
| | | // console.log(this.topqueryParams.pid); |
| | | listsvr_prjtask(this.topqueryParams).then((res) => { |
| | | this.userList = res.rows; |
| | | this.total = res.total; |
| | | console.log(this.userList); |
| | | }); |
| | | // listsvr_prjtask(this.topqueryParams).then((res) => { |
| | | // this.userList = res.rows; |
| | | // this.total = res.total; |
| | | // console.log(this.userList); |
| | | // }); |
| | | }, |
| | | /** 查询患者列表 */ |
| | | }, |