WXL
2025-02-24 891f1591f759a9dfa333fcea4707d41bad9fe436
测试完成
已修改4个文件
162 ■■■■■ 文件已修改
src/views/followvisit/record/detailpage/index.vue 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/QuestionnaireTask.vue 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/particty.vue 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/user/index.vue 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/record/detailpage/index.vue
@@ -36,6 +36,14 @@
          <el-table-column prop="sendname" align="center" label="姓名">
          </el-table-column>
          <el-table-column
            prop="taskName"
            align="center"
            width="200"
            show-overflow-tooltip
            label="任务名称"
          >
          </el-table-column>
          <el-table-column
            prop="sendstate"
            align="center"
            width="200"
@@ -134,14 +142,6 @@
              />
            </template>
          </el-table-column>
          <el-table-column
            prop="taskName"
            align="center"
            width="200"
            show-overflow-tooltip
            label="任务名称"
          >
          </el-table-column>
          <el-table-column
            prop="templatename"
@@ -183,13 +183,32 @@
    </div>
    <div :class="form.serviceType == 2 ? 'Followuserinfo' : 'Followuserinfos'">
      <div>
        <div class="headline">
          <div>人工处理</div>
          <div style="margin-left: 30px">
        <el-form ref="form" :model="form" label-width="120px">
          <div class="headline">
            <div>人工处理</div>
            <el-row :gutter="20">
              <el-col :span="12"
                ><el-form-item label="联系电话">
                  <el-input
                    disabled
                    placeholder="联系电话缺失"
                    v-model="userform.telcode"
                  ></el-input> </el-form-item
              ></el-col>
              <el-col :span="12"
                ><el-form-item label="联系人电话">
                  <el-input
                    disabled
                    placeholder="联系人电话缺失"
                    v-model="userform.relativetelcode"
                  ></el-input> </el-form-item
              ></el-col>
            </el-row>
            <!-- <div style="margin-left: 30px">
            <el-button type="warning">一键呼叫</el-button>
          </div> -->
          </div>
        </div>
        <el-form ref="form" :model="form" label-width="80px">
          <el-form-item label="随访记录">
            <el-input type="textarea" v-model="form.remark"></el-input>
          </el-form-item>
@@ -857,13 +876,17 @@
    sendAgain() {
      this.dialogFormVisible = true;
    },
    // 更改异常状态
    // 查看详情
    Seedetails(row) {
      this.$modal
        .confirm('是否查看任务为"' + optionids + '"的服务项?')
        .then(function () {})
        .confirm('是否查看任务为"' + row.taskName + '"的服务详情数据?')
        .then(() => {
          this.getList();
          this.taskid = row.taskid;
          this.id = row.id;
          this.patid = row.patid;
          this.Voicetype = row.type;
          this.serviceType = row.serviceType;
    this.getTaskservelist(this.id);
        })
        .catch(() => {});
    },
@@ -920,10 +943,10 @@
      addserviceSubtask(form).then((res) => {
        if (res.code == 200) {
          this.$modal.msgSuccess("创建成功");
        }else{
        } else {
          this.$modal.msgError("创建失败");
        }
        this.dialogFormVisible=false;
        this.dialogFormVisible = false;
      });
    },
    updateScore(a, b, c) {
src/views/patient/propaganda/QuestionnaireTask.vue
@@ -489,7 +489,6 @@
            <!-- 选择患者列表 -->
            <SFtable
              ref="multipleTable"
              @handleSelectionChange="handleSelectionChange"
              :currentList="patientuserList"
              :tableLabel="tableLabelhz"
@@ -805,7 +804,7 @@
} from "@/api/AiCentre/index";
import SFtable from "@/components/SFtable"; //表格组件
import {  MessageBox,  } from "element-ui";
import { MessageBox } from "element-ui";
export default {
  name: "ServiceDetails",
@@ -1090,7 +1089,7 @@
        //   { required: true, message: "适用病区不能为空", trigger: "blur" },
        // ],
      },
      belongDepts:[],
      belongDepts: [],
      // 科室院区查询入参
      queryParamsdept: {},
      quote: false,
@@ -1300,7 +1299,7 @@
        this.$modal.msgError("请选择服务类型");
        return;
      }
      if (this.deptcodesWards[0]||this.leavehospitaldistrictcodes[0]) {
      if (this.deptcodesWards[0] || this.leavehospitaldistrictcodes[0]) {
      } else {
        this.$modal.msgError("请选择科室或病区");
        return;
@@ -1547,8 +1546,8 @@
          item.deptName = item.dept;
          item.admindate = item.inhosptime;
          item.sfzh = item.idcardno;
          if (this.patientqueryParams.allhosp==6) {
          item.patfrom = 1;
          if (this.patientqueryParams.allhosp == 6) {
            item.patfrom = 1;
          }
          this.overallCase.push(item);
          this.form.patTaskRelevances.push(item);
@@ -1957,7 +1956,7 @@
          "功能提示",
          {
            confirmButtonText: "保存任务",
            cancelButtonText: "取消",
            cancelButtonText: "暂存模板",
            type: "warning",
          }
        )
@@ -1968,11 +1967,26 @@
            this.objyl.templateid = this.objyl.svyid;
            this.form.libtemplateid = this.objyl.svyid;
            this.objyl.isoperation = 1;
            this.objyl.svyTaskTemplateScriptVOS = this.objyl.svyTemplateLibScripts;
            this.form.svyTaskTemplateVO=this.objyl;
            this.objyl.svyTaskTemplateScriptVOS =
              this.objyl.svyTemplateLibScripts;
            this.form.svyTaskTemplateVO = this.objyl;
            this.submitForm();
          })
          .catch(() => {});
          .catch(() => {
            if (Array.isArray(this.objyl.suitway)) {
              this.objyl.suitway = this.objyl.suitway.join(",");
            }
            this.objyl.templateid = this.objyl.svyid;
            this.form.libtemplateid = this.objyl.svyid;
            this.objyl.isoperation = 1;
            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;
          });
      } else {
        setTimeout(() => {
          this.previewFn();
src/views/patient/propaganda/particty.vue
@@ -1599,8 +1599,8 @@
          item.deptName = item.dept;
          item.admindate = item.inhosptime;
          item.sfzh = item.idcardno;
          if (this.patientqueryParams.allhosp==6) {
          item.patfrom = 1;
          if (this.patientqueryParams.allhosp == 6) {
            item.patfrom = 1;
          }
          this.overallCase.push(item);
          this.form.patTaskRelevances.push(item);
@@ -2010,7 +2010,7 @@
          "功能提示",
          {
            confirmButtonText: "保存任务",
            cancelButtonText: "取消",
            cancelButtonText: "暂存模板",
            type: "warning",
          }
        )
@@ -2030,7 +2030,24 @@
            this.submitForm();
          })
          .catch(() => {});
          .catch(() => {
            if (Array.isArray(this.objyl.suitway)) {
              this.objyl.suitway = this.objyl.suitway.join(",");
            }
            this.objyl.templateid = this.objyl.id;
            this.objyl.isoperation = 1;
            this.objyl.ivrLibaTemplateScriptVOList.forEach((item) => {
              item.ivrTaskScriptTargetoptionList =
                item.ivrLibaScriptTargetoptionList;
            });
            this.objyl.ivrTaskTemplateScriptVOList =
              this.objyl.ivrLibaTemplateScriptVOList;
            this.form.ivrTaskTemplateVO = this.objyl;
            this.form.templatename=this.objyl.templateName;
            this.$modal.msgSuccess("暂存成功保存任务后模板失效");
            this.drawermb=false;
            this.previewtf=false;
          });
      } else {
        setTimeout(() => {
          this.previewFn();
src/views/system/user/index.vue
@@ -338,6 +338,7 @@
            @remove-tag="removehpsp"
            :options="deptOptions"
            :props="props"
            filterable
            :show-all-levels="false"
            clearable
          >
@@ -354,6 +355,7 @@
            v-model="form.wardCodes"
            :options="deptOptions"
            :props="props"
            filterable
            :show-all-levels="false"
            clearable
          >
@@ -763,8 +765,8 @@
        remark: undefined,
        postIds: [],
        roleIds: [],
        deptCodes:[],
        wardCodes:[],
        deptCodes: [],
        wardCodes: [],
      };
      this.resetForm("form");
    },
@@ -822,14 +824,14 @@
        this.form = response.data;
        this.belongDepts = response.belongDepts;
        this.belongWards = response.belongWards;
        if (this.form.hospInfo){
        if (this.form.hospInfo) {
          this.form.deptCodes = JSON.parse(this.form.hospInfo);
        }else{
        } else {
          this.form.deptCodes = [];
        }
        if (this.form.deptInfo){
        if (this.form.deptInfo) {
          this.form.wardCodes = JSON.parse(this.form.deptInfo);
        }else{
        } else {
          this.form.wardCodes = [];
        }
        console.log(this.form.wardCodes, "wardCodes");
@@ -846,10 +848,10 @@
    },
    // 删除科室
    removehpsp(valueArray) {
      console.log(valueArray,'删除科室');
      console.log(this.form.userId,'删除');
     let code=valueArray[valueArray.length-1];
      removeusertd(this.form.userId,code).then((res) => {
      console.log(valueArray, "删除科室");
      console.log(this.form.userId, "删除");
      let code = valueArray[valueArray.length - 1];
      removeusertd(this.form.userId, code).then((res) => {
        if (res.code) {
        }
      });
@@ -880,13 +882,13 @@
      this.form.hospInfo = JSON.stringify(this.form.deptCodes);
      this.form.deptInfo = JSON.stringify(this.form.wardCodes);
      if (this.form.deptCodes.length)
      this.form.deptCodes = this.form.deptCodes.map(
        (subArr) => subArr[subArr.length - 1]
      );
        this.form.deptCodes = this.form.deptCodes.map(
          (subArr) => subArr[subArr.length - 1]
        );
      if (this.form.wardCodes.length)
      this.form.wardCodes = this.form.wardCodes.map(
        (subArr) => subArr[subArr.length - 1]
      );
        this.form.wardCodes = this.form.wardCodes.map(
          (subArr) => subArr[subArr.length - 1]
        );
      console.log(this.form.wardCodes, "wardCodes");
      console.log(this.form.deptCodes, "deptCodes");
@@ -1017,3 +1019,11 @@
  },
};
</script>
<style lang="scss" scoped>
::v-deep .el-cascader-panel .el-cascader-menu__wrap {
  height: 404px!important;
}
// .el-cascader-menu__wrap {
//   height: 404px;
// }
</style>