WXL
2025-03-04 83d83221778cf0213a979ebfcb4d75884038d9c1
src/views/followvisit/record/detailpage/index.vue
@@ -33,7 +33,8 @@
      </div>
      <div>
        <el-table :data="logsheetlist" style="width: 100%">
          <el-table-column prop="sendname" align="center" label="姓名">
          <el-table-column prop="sendname" align="center" label="姓名"
          width="100">
          </el-table-column>
          <el-table-column
            prop="taskName"
@@ -47,7 +48,7 @@
            prop="sendstate"
            align="center"
            width="200"
            label="服务状态"
            label="任务状态"
          >
            <template slot-scope="scope">
              <div v-if="scope.row.sendstate == 1">
@@ -57,7 +58,7 @@
              </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">
@@ -173,7 +174,7 @@
                @click="Seedetails(scope.row)"
                v-hasPermi="['system:user:edit']"
                ><span class="button-zx"
                  ><i class="el-icon-s-order"></i>查看服务结果</span
                  ><i class="el-icon-s-order"></i>查看</span
                ></el-button
              >
            </template>
@@ -668,7 +669,7 @@
    // 获取基础信息
    getuserinfo() {
      const queryParams = {
        pid: Number(this.id),
        pid: Number(this.patid),
        allhosp: "0",
        pageNum: 1,
      };
@@ -820,15 +821,14 @@
      getTaskservelist({
        patid: this.patid,
        subId: id,
      deptOrDistrict:2,
      }).then((res) => {
        if (res.code == 200) {
          this.form = res.rows[0].serviceSubtaskList[0];
          console.log(this.form, "form3");
          this.logsheetlist = res.rows[0].serviceSubtaskList;
          this.templateid = this.logsheetlist[0].templateid;
          console.log(this.form.serviceType, "serviceType");
        }
this.getuserinfo();
        if (this.Voicetype) {
          this.getPersonVoices();
        } else {
@@ -841,6 +841,7 @@
      getTaskservelist({
        patid: this.patid,
        subId: this.id,
      deptOrDistrict:2,
      }).then((res) => {
        if (res.code == 200) {
          objson = res.rows[0].serviceSubtaskList[0];
@@ -859,6 +860,7 @@
      getTaskservelist({
        patid: this.patid,
        subId: this.id,
      deptOrDistrict:2,
      }).then((res) => {
        if (res.code == 200) {
          objson = res.rows[0].serviceSubtaskList[0];