WXL (wul)
4 天以前 5fbc4feb28dfc709652cbf8dc74c7f5751116d75
src/views/followvisit/record/detailpage/index.vue
@@ -171,7 +171,7 @@
        </el-table>
      </div>
    </div>
    <div :class="form.serviceType == 2 ? 'Followuserinfo' : 'Followuserinfos'">
    <div :class="form.serviceType ? 'Followuserinfo' : 'Followuserinfos'">
      <div>
        <el-form ref="form" :model="form" label-width="120px">
          <div class="headline">
@@ -228,7 +228,7 @@
        </el-form>
      </div>
    </div>
    <div v-if="form.serviceType == 2">
    <div>
      <el-tabs v-model="activeName" type="border-card">
        <el-tab-pane name="wj">
          <span class="mulsz" slot="label"
@@ -459,8 +459,12 @@
        <el-form-item label="年龄">
          <el-input style="width: 400px" disabled v-model="form.age"></el-input>
        </el-form-item>
          <el-form-item label="电话">
          <el-input style="width: 400px" disabled v-model="userform.telcode"></el-input>
        <el-form-item label="电话">
          <el-input
            style="width: 400px"
            disabled
            v-model="userform.telcode"
          ></el-input>
        </el-form-item>
        <el-form-item label="科室">
          <el-input
@@ -659,7 +663,8 @@
          subId: this.id,
          taskid: this.taskid,
          scriptid: item.id,
          templatequestionnum:item.scriptno,
          sendstate: 6,
          templatequestionnum: item.scriptno,
          questiontext: item.scriptContent,
        };
        if (item.scriptType == 2 && item.scriptResult[0]) {
@@ -709,6 +714,7 @@
        param1: this.taskid,
        param2: this.patid,
        subId: this.id,
        sendstate: 6,
      };
      addPersonVoices(obj).then((res) => {
@@ -737,7 +743,7 @@
          this.templateid = this.logsheetlist[0].templateid;
          console.log(this.form.serviceType, "serviceType");
        }
this.getuserinfo()
        this.getuserinfo();
        if (this.Voicetype) {
          this.getPersonVoices();
        } else {
@@ -749,7 +755,7 @@
      let objson = {};
      getTaskservelist({
        patid: this.patid,
        subId: this.id,
        subid: this.id,
      }).then((res) => {
        if (res.code == 200) {
          objson = res.rows[0].serviceSubtaskList[0];
@@ -767,12 +773,13 @@
      let objson = {};
      getTaskservelist({
        patid: this.patid,
        subId: this.id,
        subid: this.id,
      }).then((res) => {
        if (res.code == 200) {
          objson = res.rows[0].serviceSubtaskList[0];
          objson.remark = this.form.remark;
          if (sendstate) objson.sendstate = sendstate;
          objson.sendstate = 6;
          Editsingletaskson(objson).then((res) => {
            if (res.code) {
              this.$modal.msgSuccess("服务修改成功");
@@ -796,7 +803,7 @@
          this.patid = row.patid;
          this.Voicetype = row.type;
          this.serviceType = row.serviceType;
    this.getTaskservelist(this.id);
          this.getTaskservelist(this.id);
        })
        .catch(() => {});
    },
@@ -836,9 +843,12 @@
        }
      });
    },
    // 创建再次随访服务
    // 发送随访后短信
    setupsubtask() {
      sendMsg({phoneNumber:this.userform.telcode,content:this.form.content}).then((res) => {
      sendMsg({
        phoneNumber: this.userform.telcode,
        content: this.form.content,
      }).then((res) => {
        if (res.code == 200) {
          this.$modal.msgSuccess("发送成功");
        } else {
@@ -1019,8 +1029,8 @@
    top: 0;
  }
}
::v-deep.el-input.is-disabled .el-input__inner{
color: #02a7f0;
::v-deep.el-input.is-disabled .el-input__inner {
  color: #02a7f0;
}
::v-deep.offside-value .el-radio__label {
  color: #fff;