WXL
2025-01-16 09a1bd58e04706d7e1d6e1543b990c08a4b8f97c
src/views/followvisit/tasklist/index.vue
@@ -69,7 +69,7 @@
      <el-row :gutter="10" class="mb8">
        <el-col :span="1.5">
          <el-select
            @change="handleQuery"
            @change="handleQuerytask"
            v-model="tasktopic"
            placeholder="请选择服务类型"
          >
@@ -83,7 +83,11 @@
          </el-select>
        </el-col>
        <el-col :span="1.5">
          <el-select v-model="topqueryParams.type" placeholder="请选择执行类型">
          <el-select
            @change="handleQuery"
            v-model="topqueryParams.type"
            placeholder="请选择执行类型"
          >
            <el-option
              v-for="item in longtermlist"
              :key="item.value"
@@ -417,7 +421,7 @@
      // 用户表格数据
      userList: null,
      // 弹出层标题
      title: "新增门诊随访",
      title: "新增影像随访",
      // 是否显示修改、添加弹出层
      addalteropen: false,
      // 部门名称
@@ -441,14 +445,14 @@
      dynamicTags: ["选项一", "选项二", "选项三"], //选项
      inputVisible: false,
      inputValue: "",
      previewVisible: false, //门诊随访预览弹框
      previewVisible: false, //影像随访预览弹框
      TaskOperation: {},
      radio: "",
      radios: [],
      previewtype: 2, //预览门诊随访类型
      previewtype: 2, //预览影像随访类型
      total: 0, // 总条数
      ImportQuantity: 999, //导门诊随访数量
      //预览门诊随访信息
      ImportQuantity: 999, //导影像随访数量
      //预览影像随访信息
      previewvalue: {
        username: "这个医生对你怎么样",
      },
@@ -469,7 +473,7 @@
      taskoptions: [
        {
          value: "1",
          label: "监测评估",
          label: "心电随访",
        },
        {
          value: "2",
@@ -477,7 +481,7 @@
        },
        {
          value: "3",
          label: "门诊随访",
          label: "影像随访",
        },
        {
          value: "4",
@@ -485,7 +489,7 @@
        },
        {
          value: "5",
          label: "复诊管理",
          label: "体检随访",
        },
        {
          value: "6",
@@ -600,14 +604,14 @@
      topqueryParams: {
        pageNum: 1,
        pageSize: 10,
        type: 3,
        type: 2,
        userName: undefined,
        tagid: undefined,
        topic: undefined,
      },
      propss: { multiple: true },
      options: [],
      checkboxlist:[],
      checkboxlist: [],
      // 表单校验
      rules: {
        userName: [
@@ -685,10 +689,9 @@
    /** 查询任务列表 */
    getList() {
      this.loading = true;
      let type = this.$route.query.type;
      console.log(this.topqueryParams.type);
      this.topqueryParams.serviceType = Number(this.tasktopic);
      this.topqueryParams.type = Number(this.type);
      if (
        this.tasktopic == 2 ||
        this.tasktopic == 3 ||
@@ -696,7 +699,7 @@
        this.tasktopic == 7 ||
        this.tasktopic == 6
      ) {
        this.topqueryParams.type = 2;
        if (!this.topqueryParams.type) this.topqueryParams.type = '2';
        this.longtermlist = [
          {
            value: 1,
@@ -708,16 +711,15 @@
          },
        ];
      } else if (this.tasktopic == 4 || this.tasktopic == 8) {
        this.topqueryParams.type = 3;
        if (!this.topqueryParams.type) this.topqueryParams.type = '3';
        this.longtermlist = [
          {
            value: 3,
            label: "宣教关怀",
          },
        ];
      } else if (this.tasktopic == 5) {
        this.topqueryParams.type = 1;
        if (!this.topqueryParams.type) this.topqueryParams.type = '1';
        this.longtermlist = [
          {
            value: 1,
@@ -742,7 +744,7 @@
        this.loading = false;
      });
    },
    // 查看门诊随访详情
    // 查看影像随访详情
    Referencequestion(row) {
      this.previewVisible = true;
    },
@@ -780,6 +782,11 @@
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuerytask() {
      this.topqueryParams.pageNum = 1;
      // this.topqueryParams.type = '';
      this.getList();
    },
    handleQuery() {
      this.topqueryParams.pageNum = 1;
      this.getList();