WXL
3 天以前 30e7ca11b36177cdaea2839aa5146c180ce53197
src/views/patient/propaganda/Missioncreation.vue
@@ -390,7 +390,6 @@
                        icon="el-icon-upload2"
                        size="medium"
                        @click="handleImport"
                        >导入</el-button
                      >
                    </el-col>
@@ -592,9 +591,11 @@
          <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="telcode" width="200" label="联系方式">
          </el-table-column>
          <el-table-column prop="createTime"  width="200" label="创建日期">
          </el-table-column>
        </el-table>
@@ -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 !== "地址"
@@ -1271,7 +1277,7 @@
            item.sfzh = item.idcardno;
          }
          if (type) {
            item.hospType=type
            item.hospType = type;
          }else{
            item.hospType = this.patientqueryParams.allhosp;
          }
@@ -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.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) {
@@ -1585,7 +1594,7 @@
      } else if (this.dractive == 2) {
        this.handleSelectionChange(this.uploadingData,4);
        this.upload.open = false;
        this.dractive = 1
        this.dractive = 1;
      }
    },