WXL
2025-02-10 f4e079fcf2987400e0e555a8c404cb8a96a1ee5c
src/views/followvisit/record/detailpage/index.vue
@@ -35,17 +35,17 @@
            <template slot-scope="scope">
              <div v-if="scope.row.sendstate == 1">
                <el-tag type="primary" :disable-transitions="false"
                  >被领取</el-tag
                  >表单已领取</el-tag
                >
              </div>
              <div v-if="scope.row.sendstate == 2">
                <el-tag type="primary" :disable-transitions="false"
                  >待发送</el-tag
                  >待执行</el-tag
                >
              </div>
              <div v-if="scope.row.sendstate == 3">
                <el-tag type="success" :disable-transitions="false"
                  >已发送未领取</el-tag
                  >表单已发送</el-tag
                >
              </div>
              <div v-if="scope.row.sendstate == 4">
@@ -55,7 +55,9 @@
                <el-tag type="danger" :disable-transitions="false"
                  >发送失败</el-tag
                >
              </div>
              </div><div v-if="scope.row.sendstate == 6">
              <el-tag type="success" :disable-transitions="false">已完成</el-tag>
            </div>
            </template>
          </el-table-column>
          <el-table-column
@@ -605,21 +607,20 @@
    }
    item.patid = this.patid;
    item.templateid = item.templateID;
  });
  let obj ={
    serviceSubtaskDetailList: this.tableDatatop,
    param1: this.taskid,
    param2: this.patid,
    subId: this.id,
  }
    if (item.id) {
     updatePersonVoices(item).then((res) => {
      if (res.code == 200) {
       this.$modal.msgSuccess("服务修改成功");
      }
     });
    } else {
     addPersonVoices(item).then((res) => {
      if (res.code == 200) {
       this.$modal.msgSuccess("服务保存成功");
      }
     });
    addPersonVoices(obj).then((res) => {
    if (res.code == 200) {
     this.$modal.msgSuccess("服务保存成功");
    }
   });
  },
    // 获取患者记录