WXL
2 天以前 30e7ca11b36177cdaea2839aa5146c180ce53197
src/views/patient/propaganda/Missioncreation.vue
@@ -390,7 +390,6 @@
                        icon="el-icon-upload2"
                        size="medium"
                        @click="handleImport"
                        >导入</el-button
                      >
                    </el-col>
@@ -592,10 +591,12 @@
          <el-table-column prop="serial" label="患者id"> </el-table-column>
          <el-table-column prop="name" label="姓名"> </el-table-column>
          <el-table-column prop="sex" label="性别"> </el-table-column>
          <el-table-column prop="idcardno" width="300" label="证件号码"> </el-table-column>
          <el-table-column prop="idcardno" width="300" label="证件号码">
          </el-table-column>
          <el-table-column prop="goday" label="出生日期"> </el-table-column>
          <el-table-column prop="telcode" width="200" label="联系方式"> </el-table-column>
          <el-table-column prop="createTime"  width="200" label="创建日期">
          <el-table-column prop="telcode" width="200" label="联系方式">
          </el-table-column>
          <el-table-column prop="createTime" width="200" label="创建日期">
          </el-table-column>
        </el-table>
        <!-- <pagination
@@ -1094,6 +1095,11 @@
        this.$modal.msgError("未选择模板");
        return;
      }
      if (this.form.deptcode || this.form.leavehospitaldistrictcode) {
      } else {
        this.$modal.msgError("请选择科室或病区");
        return;
      }
      const filteredArray = this.variableList.filter(
        (item) =>
          item.name !== "姓名" && item.name !== "电话" && item.name !== "地址"
@@ -1104,7 +1110,7 @@
        this.form.isoperation = 2;
      } else {
        this.form.isoperation = 1;
        this.form.sendState=1;
        this.form.sendState = 1;
      }
      if (!this.form.type) {
        this.form.type = this.$route.query.type;
@@ -1256,7 +1262,7 @@
    handleExport() {},
    // 选择患者表数据
    handleSelectionChange(selection,type) {
    handleSelectionChange(selection, type) {
      console.log("多选患者");
      this.SelectPatientslist = selection;
      this.multiple = !selection.length;
@@ -1271,8 +1277,8 @@
            item.sfzh = item.idcardno;
          }
          if (type) {
            item.hospType=type
          }else{
            item.hospType = type;
          } else {
            item.hospType = this.patientqueryParams.allhosp;
          }
          this.overallCase.push(item);
@@ -1520,16 +1526,19 @@
    previewFn() {
      this.Tasktemplate.id = null;
      this.Tasktemplate.templateid = this.libId;
      this.Tasktemplate.isoperation = 1;
      TaskQuestioncomit(this.Tasktemplate).then((response) => {
        console.log(response);
        this.previewtf = false;
        this.form.templateid = response.data;
        this.form.libtemplateid = this.libId;
        this.form.templatename = this.libName;
        this.$modal.msgSuccess("选择模板成功");
      });
      this.form.templateid = this.libId;
      this.form.templatename = this.libName;
      this.$modal.msgSuccess("选择模板成功");
      this.previewtf = false;
      // this.Tasktemplate.isoperation = 1;
      // TaskQuestioncomit(this.Tasktemplate).then((response) => {
      //   console.log(response);
      //   this.previewtf = false;
      //   this.form.templateid = response.data;
      //   this.form.libtemplateid = this.libId;
      //   this.form.templatename = this.libName;
      // });
    },
    // 处理服务形式
    formatFn(type) {
@@ -1583,9 +1592,9 @@
        this.$refs.upload.submit();
        this.dractive++;
      } else if (this.dractive == 2) {
        this.handleSelectionChange(this.uploadingData,4);
        this.handleSelectionChange(this.uploadingData, 4);
        this.upload.open = false;
        this.dractive = 1
        this.dractive = 1;
      }
    },