WXL
2024-05-31 49fcdb7178dffc69769e2fb8cb6a03e204cb1e68
src/views/patient/propaganda/particty.vue
@@ -342,7 +342,7 @@
          </div>
        </div>
        <el-button type="success" @click="nextstep('ruleForm')">{{
          quote ? "立即创建" : "任务详情设置"
          quote ? "立即创建" : "任务详情配置"
        }}</el-button>
        <el-button @click="resetForm('ruleForm')">重置</el-button>
      </div>
@@ -551,9 +551,9 @@
          </div>
        </div>
        <el-button type="primary" @click="laststep()">上一步</el-button>
        <el-button type="success" @click="submitForm('ruleForm')"
          >立即创建</el-button
        >
        <el-button type="success" @click="submitForm('ruleForm')">{{
          quote ? "立即创建" : "确认任务配置"
        }}</el-button>
        <el-button @click="resetForm('ruleForm')">重置</el-button>
      </div>
    </div>
@@ -714,6 +714,7 @@
      previewid: "", //任务模版传递id
      libName: "",
      overallCase: [], //选择患者总
      allpids: [],
      libId: null, //模板库模版id
      Editprogress: 1, //编辑进度
      previewtf: false, //预览
@@ -991,14 +992,14 @@
      );
      console.log(filteredArray, "存前变量");
      this.form.textParam = this.convertFormat2ToFormat1(filteredArray);
      if (this.form.id) {
      if (this.form.taskid) {
        this.form.isoperation = 2;
      } else {
        this.form.isoperation = 1;
      }
      Editsingletask(this.form).then((res) => {
        if (res.code == 200) {
          if (this.form.id) {
          if (this.form.taskid) {
            this.$modal.msgSuccess("新增成功");
          } else {
            this.$modal.msgSuccess("修改成功");
@@ -1071,6 +1072,11 @@
    },
    // 子任务二级弹框
    handleAddpatient(row) {
      console.log(this.overallCase, "ssaaa");
      this.overallCase.forEach((item) => {
        this.allpids.push(item.patid);
      });
      this.patientqueryParams.pids = this.allpids.join(",");
      getTaskpatient(this.patientqueryParams).then((response) => {
        console.log(response);
        this.patientuserList = response.rows;
@@ -1172,7 +1178,7 @@
          let filteredArray = "";
          if (res.code == 200) {
            this.form = res.data;
            this.overallCase = this.form.patTaskRelevances;
            this.overallCase = this.form.patTaskRelevances.concat();
            this.checkList = this.form.serviceform.split(",");
            this.daytime = this.form.sendlimitabegin.split(",");
            if (this.form.sendlimitaend)