WXL
21 小时以前 fe70ca5799b3b36a6d567464b545782728b2afed
测试完成
已修改10个文件
215 ■■■■ 文件已修改
src/views/knowledge/questionnaire/compilequer/index.vue 36 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/follow/index.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/profile/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/physical/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/questionnaire/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/ycquestionnaire/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/templateku/configurat/index.vue 96 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/templateku/configurat/taskub.vue 44 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/questionnaire/compilequer/index.vue
@@ -247,7 +247,7 @@
            </el-select>
          </el-form-item>
          <el-row>
          <!-- <el-row>
            <el-col :span="20"
              ><el-form-item label="适用科室" prop="region">
                <el-select
@@ -292,7 +292,7 @@
                  </el-option>
                </el-select> </el-form-item
            ></el-col>
          </el-row>
          </el-row> -->
          <el-form-item label="结束语" prop="conclusion">
            <el-input
              style="width: 55vw; line-height: 80px"
@@ -1550,22 +1550,22 @@
      });
      this.tempDetpRelevanceslist = [];
      this.tempbelongWards = [];
      if (this.queryParamsdept.tempid) {
        depthospgetsonlist(this.queryParamsdept).then((res) => {
          if (res.code == 200) {
            let arr = res.rows;
            arr.forEach((item) => {
              if (item.deptType == 1) {
                this.deptlist.push(item);
                this.tempDetpRelevanceslist.push(item.deptCode);
              } else if (item.deptType == 2) {
                this.hosplist.push(item);
                this.tempbelongWards.push(item.deptCode);
              }
            });
          }
        });
      }
      // if (this.queryParamsdept.tempid) {
      //   depthospgetsonlist(this.queryParamsdept).then((res) => {
      //     if (res.code == 200) {
      //       let arr = res.rows;
      //       arr.forEach((item) => {
      //         if (item.deptType == 1) {
      //           this.deptlist.push(item);
      //           this.tempDetpRelevanceslist.push(item.deptCode);
      //         } else if (item.deptType == 2) {
      //           this.hosplist.push(item);
      //           this.tempbelongWards.push(item.deptCode);
      //         }
      //       });
      //     }
      //   });
      // }
    },
    // 获取科室树
    getDeptTree() {
src/views/patient/follow/index.vue
@@ -246,7 +246,7 @@
                @keyup.enter.native="handleQuery"
              />
            </el-form-item>
            <!-- <el-form-item label="患者范围" prop="tagId">
            <el-form-item label="患者范围" prop="tagId">
                <el-select
                  v-model="filtrqueryParams.searchscope"
                  placeholder="请选择患者范围"
@@ -259,7 +259,7 @@
                  >
                  </el-option>
                </el-select>
              </el-form-item> -->
              </el-form-item>
            <el-form-item>
              <el-button
@@ -272,7 +272,7 @@
            </el-form-item>
          </el-form>
          <el-table v-loading="filtrloading" :data="filtruserList" height="660">
            <el-table-column type="selection" width="50" align="center" />
            <!-- <el-table-column type="selection" width="50" align="center" /> -->
            <el-table-column
              fixed
              label="姓名"
@@ -395,11 +395,11 @@
          </el-table>
          <pagination
            v-show="total > 0"
            :total="total"
            v-show="filtrtotal > 0"
            :total="filtrtotal"
            :page.sync="filtrqueryParams.pageNum"
            :limit.sync="filtrqueryParams.pageSize"
            @pagination="getList"
            @pagination="distribute"
          />
        </el-col>
      </el-row>
@@ -536,6 +536,7 @@
        notrequiredFlag: 0,
        pageNum: 1,
        pageSize: 10,
        allhosp: 0,
      },
      //导入进度
      dractive: 1,
@@ -604,7 +605,7 @@
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        allhosp: "1",
        allhosp: 0,
        notrequiredFlag: 1,
        idcardno: undefined,
        name: undefined,
src/views/patient/patient/index.vue
@@ -969,7 +969,7 @@
      // 查询参数
      queryParams: {
        pageNum: 1,
        allhosp: "1",
        allhosp: "0",
        pageSize: 10,
        searchscope: 2,
        notrequiredFlag: 0,
@@ -1125,12 +1125,12 @@
    /** 重置按钮操作 */
    resetQuery() {
      this.dateRange = [];
      (this.queryParams = {
      this.queryParams = {
        pageNum: 1,
        allhosp: "1",
        allhosp: "0",
        pageSize: 10,
        searchscope: 2,
      }),
      };
        this.handleQuery();
    },
    // 多选框选中数据
src/views/patient/patient/profile/index.vue
@@ -16,7 +16,11 @@
              {{ userform.sex == 1 ? "男" : "女" }}
            </div>
            <div style="margin-left: 10px" class="text-title">
              {{ userform.age }}岁
               <span v-if="userform.age"
                    >{{ userform.age }}{{ userform.ageUnit }}</span
                  ><span v-if="userform.age2"
                    >{{ userform.age2 }}{{ userform.ageUnit2 }}</span
                  >
            </div>
            <div style="margin-left: 10px" class="text-title">
              {{ userform.birthdate }}
src/views/patient/physical/index.vue
@@ -876,7 +876,7 @@
          this.cardlist[2].value = response.rows[0].ysf;
          this.ycvalue = response.rows[0].yc;
          this.cardlist[3].value = response.rows[0].fssb;
          this.cardlist[4].value = response.rows[0].dfs;
          this.cardlist[4].value = response.rows[0].dsf;
          // this.cardlist[5].value = response.rows[0].yfs2;
          this.yfsvalue = response.rows[0].yfs;
        }
src/views/patient/questionnaire/index.vue
@@ -876,7 +876,7 @@
          this.cardlist[2].value = response.rows[0].ysf;
          this.ycvalue = response.rows[0].yc;
          this.cardlist[3].value = response.rows[0].fssb;
          this.cardlist[4].value = response.rows[0].dfs;
          this.cardlist[4].value = response.rows[0].dsf;
          // this.cardlist[5].value = response.rows[0].yfs2;
          this.yfsvalue = response.rows[0].yfs;
        }
src/views/patient/ycquestionnaire/index.vue
@@ -876,7 +876,7 @@
          this.cardlist[2].value = response.rows[0].ysf;
          this.ycvalue = response.rows[0].yc;
          this.cardlist[3].value = response.rows[0].fssb;
          this.cardlist[4].value = response.rows[0].dfs;
          this.cardlist[4].value = response.rows[0].dsf;
          // this.cardlist[5].value = response.rows[0].yfs2;
          this.yfsvalue = response.rows[0].yfs;
        }
src/views/repositoryai/templateku/configurat/index.vue
@@ -272,7 +272,7 @@
              </el-option>
            </el-select>
          </el-form-item>
          <el-row>
          <!-- <el-row>
            <el-col :span="20"
              ><el-form-item label="适用科室" prop="region">
                <el-select
@@ -317,7 +317,7 @@
                  </el-option>
                </el-select> </el-form-item
            ></el-col>
          </el-row>
          </el-row> -->
          <el-row>
            <el-col :span="12"
              ><el-form-item label="开场白" prop="revisitBefore">
@@ -1698,6 +1698,8 @@
    },
    // 获取表单数据
    getvFollowup() {
      console.log(this.id,'id');
      if (this.id) {
        getvFollowup({ id: this.id }).then((res) => {
          if (res.code == 200) {
@@ -1752,27 +1754,27 @@
      this.tempDetpRelevanceslist = [];
      this.tempbelongWards = [];
      if (this.id) {
        depthospgetsonlist(this.queryParamsdept).then((res) => {
          if (res.code == 200) {
            let arr = res.rows;
            console.log(arr, "arr");
      // if (this.id) {
      //   depthospgetsonlist(this.queryParamsdept).then((res) => {
      //     if (res.code == 200) {
      //       let arr = res.rows;
      //       console.log(arr, "arr");
            arr.forEach((item) => {
              if (item.deptType == 1) {
                console.log(this.deptlist, "11");
                this.deptlist.push(item);
                console.log("22");
                this.tempDetpRelevanceslist.push(item.deptCode);
              } else if (item.deptType == 2) {
                this.hosplist.push(item);
                this.tempbelongWards.push(item.deptCode);
                console.log("33");
              }
            });
          }
        });
      }
      //       arr.forEach((item) => {
      //         if (item.deptType == 1) {
      //           console.log(this.deptlist, "11");
      //           this.deptlist.push(item);
      //           console.log("22");
      //           this.tempDetpRelevanceslist.push(item.deptCode);
      //         } else if (item.deptType == 2) {
      //           this.hosplist.push(item);
      //           this.tempbelongWards.push(item.deptCode);
      //           console.log("33");
      //         }
      //       });
      //     }
      //   });
      // }
      // 疾病
      getillnesslist({
@@ -1899,32 +1901,32 @@
    // 科室处理
    Departmenttreatment() {
      this.$modal.loading("正在修正保存数据,请稍候...");
      this.tempDetpRelevanceslist.forEach((item) => {
        let result = this.deptlist.some((obj) => obj.deptCode == item);
      // this.tempDetpRelevanceslist.forEach((item) => {
      //   let result = this.deptlist.some((obj) => obj.deptCode == item);
        if (!result) {
          this.tempDetpRelevanceslistform.push({
            deptType: 1,
            longTemp: this.ruleForm.longTemp,
            deptCode: item,
            tempid: this.id,
            type: 2,
          });
        }
      });
      this.tempbelongWards.forEach((item) => {
        let result = this.hosplist.some((obj) => obj.deptCode == item);
        if (!result) {
          this.tempbelongWardsform.push({
            deptType: 2,
            longTemp: this.ruleForm.longTemp,
            deptCode: item,
            tempid: this.id,
            type: 2,
            // 1 : 问卷模板库id、11:问卷任务模板库id;2 :语音问卷库id、21:语音任务模板库id,3 : 宣教模板库id,33:宣教任务模板库id
          });
        }
      });
      //   if (!result) {
      //     this.tempDetpRelevanceslistform.push({
      //       deptType: 1,
      //       longTemp: this.ruleForm.longTemp,
      //       deptCode: item,
      //       tempid: this.id,
      //       type: 2,
      //     });
      //   }
      // });
      // this.tempbelongWards.forEach((item) => {
      //   let result = this.hosplist.some((obj) => obj.deptCode == item);
      //   if (!result) {
      //     this.tempbelongWardsform.push({
      //       deptType: 2,
      //       longTemp: this.ruleForm.longTemp,
      //       deptCode: item,
      //       tempid: this.id,
      //       type: 2,
      //       // 1 : 问卷模板库id、11:问卷任务模板库id;2 :语音问卷库id、21:语音任务模板库id,3 : 宣教模板库id,33:宣教任务模板库id
      //     });
      //   }
      // });
      setTimeout(() => {
        this.submitForm();
      }, 1000);
src/views/repositoryai/templateku/configurat/taskub.vue
@@ -272,7 +272,7 @@
              </el-option>
            </el-select>
          </el-form-item>
          <el-row>
          <!-- <el-row>
            <el-col :span="20"
              ><el-form-item label="适用科室" prop="region">
                <el-select
@@ -317,7 +317,7 @@
                  </el-option>
                </el-select> </el-form-item
            ></el-col>
          </el-row>
          </el-row> -->
          <el-row>
            <el-col :span="12"
              ><el-form-item label="开场白" prop="revisitBefore">
@@ -1750,27 +1750,27 @@
      this.tempDetpRelevanceslist = [];
      this.tempbelongWards = [];
      if (this.id) {
        depthospgetsonlist(this.queryParamsdept).then((res) => {
          if (res.code == 200) {
            let arr = res.rows;
            console.log(arr, "arr");
      // if (this.id) {
      //   depthospgetsonlist(this.queryParamsdept).then((res) => {
      //     if (res.code == 200) {
      //       let arr = res.rows;
      //       console.log(arr, "arr");
            arr.forEach((item) => {
              if (item.deptType == 1) {
                console.log(this.deptlist, "11");
                this.deptlist.push(item);
                console.log("22");
                this.tempDetpRelevanceslist.push(item.deptCode);
              } else if (item.deptType == 2) {
                this.hosplist.push(item);
                this.tempbelongWards.push(item.deptCode);
                console.log("33");
              }
            });
          }
        });
      }
      //       arr.forEach((item) => {
      //         if (item.deptType == 1) {
      //           console.log(this.deptlist, "11");
      //           this.deptlist.push(item);
      //           console.log("22");
      //           this.tempDetpRelevanceslist.push(item.deptCode);
      //         } else if (item.deptType == 2) {
      //           this.hosplist.push(item);
      //           this.tempbelongWards.push(item.deptCode);
      //           console.log("33");
      //         }
      //       });
      //     }
      //   });
      // }
      // 疾病
      getillnesslist({
vue.config.js
@@ -36,9 +36,9 @@
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        // target: `http://192.168.168.60:8095`,
        target: `http://192.168.144.34:8095`,
        // target: `http://192.168.144.34:8095`,
        // target: `http://192.168.100.100:8095`,
        // target:`http://localhost:8095`,
        target:`http://localhost:8095`,
        changeOrigin: true,
        pathRewrite: {
          ['^' + process.env.VUE_APP_BASE_API]: ''