| | |
| | | </el-dialog> |
| | | <!-- 添加患者 --> |
| | | <el-dialog |
| | | title="添加派发患者" |
| | | title="选择患者" |
| | | :visible.sync="dialogVisiblepatient" |
| | | width="70%" |
| | | :before-close="handleClosehz" |
| | |
| | | <el-table-column |
| | | label="患者来源" |
| | | align="center" |
| | | key="source" |
| | | prop="source" |
| | | key="sourcefrom" |
| | | prop="sourcefrom" |
| | | /> |
| | | <el-table-column |
| | | label="手机号码" |
| | |
| | | </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() { |
| | | return { |
| | |
| | | created() { |
| | | this.Addsubtask(); |
| | | this.Getsubtask(); |
| | | |
| | | }, |
| | | |
| | | methods: { |
| | |
| | | // 子任务一级弹框 |
| | | 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); |
| | | // }); |
| | | }, |
| | | /** 查询患者列表 */ |
| | | }, |
| | |
| | | // margin-top: 20px; |
| | | margin: 20px; |
| | | margin-bottom: 0; |
| | | padding: 30px; |
| | | padding: 20px; |
| | | background: #edf1f7; |
| | | border: 1px solid #dcdfe6; |
| | | -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), |