WXL
2023-12-18 d94d00d2cd9eaf87bb3776f72f8e73410b93cb7a
src/views/followvisit/tasklist/FollowupDetails/index.vue
@@ -992,16 +992,8 @@
</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() {
@@ -1118,23 +1110,23 @@
    // 子任务一级弹框
    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() {},
@@ -1182,9 +1174,9 @@
      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;
    },
@@ -1194,11 +1186,11 @@
      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);
      // });
    },
    /** 查询患者列表 */
  },