WXL (wul)
4 天以前 5fbc4feb28dfc709652cbf8dc74c7f5751116d75
测试完成
已修改3个文件
已添加2个文件
35 ■■■■■ 文件已修改
dist.zip 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/record/detailpage/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChainwtnew.vue 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wuxi.zip 补丁 | 查看 | 原始文档 | blame | 历史
dist.zip
Binary files differ
src/views/followvisit/record/detailpage/index.vue
@@ -171,7 +171,7 @@
        </el-table>
      </div>
    </div>
    <div :class="form.serviceType  ? 'Followuserinfo' : 'Followuserinfos'">
    <div :class="form.serviceType ? 'Followuserinfo' : 'Followuserinfos'">
      <div>
        <el-form ref="form" :model="form" label-width="120px">
          <div class="headline">
@@ -663,6 +663,7 @@
          subId: this.id,
          taskid: this.taskid,
          scriptid: item.id,
          sendstate: 6,
          templatequestionnum: item.scriptno,
          questiontext: item.scriptContent,
        };
@@ -713,6 +714,7 @@
        param1: this.taskid,
        param2: this.patid,
        subId: this.id,
        sendstate: 6,
      };
      addPersonVoices(obj).then((res) => {
@@ -753,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];
@@ -771,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("服务修改成功");
src/views/outsideChainwtnew.vue
@@ -39,9 +39,9 @@
              <span class="question-text">{{ item.scriptContent }}</span>
              <span class="question-type-tag">
                {{
                  item.scriptType === 1
                  item.scriptType == 1
                    ? "[单选]"
                    : item.scriptType === 2
                    : item.scriptType == 2
                    ? "[多选]"
                    : "[问答]"
                }}
@@ -57,7 +57,7 @@
                <el-radio
                  v-for="(
                    option, optionIndex
                  ) in item.svyTaskTemplateTargetoptions"
                  ) in item.svyLibTemplateTargetoptions"
                  :key="optionIndex"
                  :label="option.optioncontent"
                  :class="{
@@ -69,7 +69,7 @@
                    handleRadioToggle(
                      item,
                      index,
                      item.svyTaskTemplateTargetoptions,
                      item.svyLibTemplateTargetoptions,
                      option.optioncontent
                    )
                  "
@@ -89,7 +89,7 @@
                <el-checkbox
                  v-for="(
                    option, optionIndex
                  ) in item.svyTaskTemplateTargetoptions"
                  ) in item.svyLibTemplateTargetoptions"
                  :key="optionIndex"
                  :label="option.optioncontent"
                  :class="{
@@ -299,6 +299,8 @@
                item.scriptResult = [];
              }
            });
            console.log(this.questionList,'this.questionList');
          }
        }
      );
@@ -351,7 +353,7 @@
      let form = {
        param1: this.taskid,
        param2: this.patid,
        svyTaskTemplateScriptVOS: [],
        svyLibTemplateScriptVOS: [],
      };
      const arr = structuredClone(this.questionList);
      arr.forEach((item) => {
@@ -359,7 +361,7 @@
      });
      arr.forEach((item, index) => {
        if (item.scriptType == 1 && item.scriptResult) {
          var obj = item.svyTaskTemplateTargetoptions.find(
          var obj = item.svyLibTemplateTargetoptions.find(
            (items) => items.optioncontent == item.scriptResult
          );
          console.log(item);
@@ -390,7 +392,7 @@
          item.scriptResult = JSON.stringify(item.scriptResult);
        }
      });
      form.svyTaskTemplateScriptVOS = arr;
      form.svyLibTemplateScriptVOS = arr;
      form.type = 2;
      Cachequestionnaire(form).then((res) => {
        if (res.code == 200) {
@@ -530,7 +532,7 @@
    // 处理单选选项
    // handleOptionChange(selectedvalue, index, arr) {
    //   // 查找选中的选项对象
    //   const selectedOption = arr.svyTaskTemplateTargetoptions.find(
    //   const selectedOption = arr.svyLibTemplateTargetoptions.find(
    //     (option) => option.optioncontent == selectedvalue
    //   );
    //   if (selectedOption) {
@@ -544,7 +546,7 @@
    //   // ��加分数
    //   let score = 0;
    //   selectedvalues.forEach((value) => {
    //     const selectedOption = arr.svyTaskTemplateTargetoptions.find(
    //     const selectedOption = arr.svyLibTemplateTargetoptions.find(
    //       (option) => option.optioncontent == value
    //     );
    //     if (selectedOption) {
vue.config.js
@@ -38,8 +38,8 @@
        // target: `http://192.168.168.60:8095`,
        // target: `http://192.168.144.34:8095`,
        // target: `http://220.66.136.101:8095`,
        target: `http://192.168.100.10:8099`,
        // target:`http://localhost:8095`,
        // target: `http://192.168.100.10:8099`,
        target:`http://localhost:8095`,
        changeOrigin: true,
        pathRewrite: {
          ['^' + process.env.VUE_APP_BASE_API]: ''
wuxi.zip
Binary files differ