WXL
5 天以前 30e7ca11b36177cdaea2839aa5146c180ce53197
src/views/patient/propaganda/QuestionnaireTask.vue
@@ -87,7 +87,7 @@
                  </el-radio-group>
                </el-form-item>
                <el-row :gutter="20" v-if="form.longTask">
                  <el-col :span="8">
                  <el-col :span="6">
                    <el-form-item label="周期时间" prop="name">
                      <el-input
                        v-model="form.sendDay"
@@ -518,7 +518,7 @@
                  icon="el-icon-refresh"
                  size="medium"
                  @click="resetQuery"
                  >取消创建</el-button
                  >重置</el-button
                >
              </el-form-item>
            </el-form>
@@ -833,7 +833,7 @@
  taskdepthospgetsonlist,
} from "@/api/AiCentre/index";
import SFtable from "@/components/SFtable"; //表格组件
import SFtable from "@/components/SFtable/index.vue"; //表格组件
import { MessageBox } from "element-ui";
export default {
@@ -945,7 +945,6 @@
      patientqueryParams: {
        pageNum: 1, //
        pageSize: 10,
        topica: 1, //0全部1科室2病区
        leavehospitaldistrictcodes: [],
        leaveldeptcodes: [],
        hospitaldistrictcodes: [],
@@ -1063,17 +1062,17 @@
      ],
      tasktypes: [
        {
          value: 1,
          label: "心电随访",
        },
        // {
        //   value: "1",
        //   label: "监测评估",
        // },
        {
          value: 2,
          label: "出院随访",
        },
        {
          value: 3,
          label: "影像随访",
          label: "门诊随访",
        },
        {
          value: 4,
@@ -1081,16 +1080,20 @@
        },
        {
          value: 5,
          label: "体检随访",
          label: "复诊管理",
        },
        {
          value: 11,
          label: "医技随访",
          value: 6,
          label: "满意度调查",
        },
        {
          value: 10,
          label: "专科随访",
          value: 7,
          label: "患者报告",
        },
        // {
        //   value: "8",
        //   label: "其他通知",
        // },
      ],
      // 科室/病区
      belongWards: [],
@@ -1183,11 +1186,6 @@
    },
    // 获取当前类型
    Acquisitiontype() {
      let queryParams = {
        pageNum: this.topqueryParams.pageNum,
        pageSize: this.topqueryParams.pageSize,
        isenable: "",
      };
      this.currenttype = this.$route.query.type;
      this.title = "问卷内容列表";
      this.tableLabel = this.tableLabelwj;
@@ -1297,8 +1295,6 @@
          // },
        ];
      }
      console.log(this.topqueryParams, "this.topqueryParams");
      getQtemplatelist(this.topqueryParams).then((response) => {
        this.userList = response.rows;
        this.total = response.total;
@@ -1516,7 +1512,7 @@
        ];
      } else {
        this.tableLabelhz = [
          // { label: "就诊日期", width: "150", prop: "createTime" },
          { label: "就诊日期", width: "150", prop: "admitdate" },
          { label: "患者", width: "", prop: "name" },
          { label: "患者编号", width: "200", prop: "patientno" },
          { label: "性别", width: "", prop: "sex" },
@@ -1688,7 +1684,22 @@
      });
    },
    resetQuery() {},
    resetQuery() {
      let allhosp = this.patientqueryParams.allhosp;
      this.patientqueryParams = {
        pageNum: 1, //
        pageSize: 10,
        allhosp: allhosp,
        leavehospitaldistrictcodes: [],
        leaveldeptcodes: [],
        hospitaldistrictcodes: [],
        deptcodes: [],
      };
      console.log(this.patientqueryParams, "this.patientqueryParams");
      this.handleQuery();
    },
    handleQuerymb() {
      getQtemplatelist(this.topqueryParams).then((response) => {
        this.userList = response.rows;
@@ -1990,8 +2001,8 @@
          "当前为新增任务未保存不可关联模板,是否先保存任务?",
          "功能提示",
          {
            confirmButtonText: "保存任务",
            cancelButtonText: "暂存模板",
            confirmButtonText: "暂存模板",
            cancelButtonText: "保存任务",
            type: "warning",
          }
        )
@@ -2005,7 +2016,10 @@
            this.objyl.svyTaskTemplateScriptVOS =
              this.objyl.svyTemplateLibScripts;
            this.form.svyTaskTemplateVO = this.objyl;
            this.submitForm();
            this.form.templatename = this.objyl.svyname;
            this.$modal.msgSuccess("暂存成功保存任务后模板失效");
            this.drawermb = false;
            this.previewtf = false;
          })
          .catch(() => {
            if (Array.isArray(this.objyl.suitway)) {
@@ -2017,10 +2031,7 @@
            this.objyl.svyTaskTemplateScriptVOS =
              this.objyl.svyTemplateLibScripts;
            this.form.svyTaskTemplateVO = this.objyl;
            this.form.templatename = this.objyl.svyname;
            this.$modal.msgSuccess("暂存成功保存任务后模板失效");
            this.drawermb = false;
            this.previewtf = false;
            this.submitForm();
          });
      } else {
        setTimeout(() => {