WXL
2024-08-03 d96a7562b2515584fac4dcb57fdbdcadc8f36fef
src/views/followvisit/tasklist/FollowupDetails/index.vue
@@ -825,7 +825,7 @@
    </el-dialog>
    <!-- 添加患者 -->
    <el-dialog
      title="添加派发患者"
      title="选择患者"
      :visible.sync="dialogVisiblepatient"
      width="70%"
      :before-close="handleClosehz"
@@ -930,8 +930,8 @@
              <el-table-column
                label="患者来源"
                align="center"
                key="source"
                prop="source"
                key="sourcefrom"
                prop="sourcefrom"
              />
              <el-table-column
                label="手机号码"
@@ -992,17 +992,6 @@
</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 {
@@ -1096,7 +1085,6 @@
  created() {
    this.Addsubtask();
    this.Getsubtask();
  },
  methods: {
@@ -1118,23 +1106,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 +1170,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 +1182,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);
      // });
    },
    /** 查询患者列表 */
  },
@@ -1217,7 +1205,7 @@
  //   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),