WXL
2024-09-07 88d423ce3a1f624bc3b84b4c71ec06d8024da15b
测试完成
已删除1个文件
已修改9个文件
1217 ■■■■ 文件已修改
inside.zip 补丁 | 查看 | 原始文档 | blame | 历史
src/api/AiCentre/Homeimage.js 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/AiCentre/index.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/system/user.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/index copy.vue 928 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/index.vue 100 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/education/compilequer/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChainwt.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/QuestionnaireTask.vue 141 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
inside.zip
Binary files differ
src/api/AiCentre/Homeimage.js
@@ -1,25 +1,35 @@
import request from "@/utils/request";
// åŸºç¡€æ•°æ®
export function getTopstatistics(data) {
// é—¨è¯ŠåŸºç¡€æ•°æ®
export function getoutpatientamount(data) {
  return request({
    url: "/smartor/extemplate/list",
    url: "/smartor/patouthosp/selectPatMedOuthospCount",
    method: "post",
    data: data,
  });
}
// åœ¨é™¢/出院基础数据
export function getInhospital(data) {
  return request({
    url: "/smartor/patinhosp/selectPatMedInhospListCount",
    method: "post",
    data: data,
  });
}
// ä¸­éƒ¨æ•°æ®æ®
export function getBarchart(data) {
  return request({
    url: "/smartor/serviceSubtask/getSfFzInfoEveryMonth",
    method: "post",
    data: data,
  });
}
// æ‹¿å–中部数据大图
export function getCentraldata(Id) {
  return request({
    url: "/smartor/extemplate/remove/" + Id,
    method: "get",
  });
}
// æ‹¿å–中部数据大图
export function getMissiondata(Id) {
  return request({
    url: "/smartor/extemplate/remove/" + Id,
    method: "get",
    url: "/smartor/serviceSubtask/getSfFzInfoEveryMonth",
    ethod: "post",
    data: data,
  });
}
src/api/AiCentre/index.js
@@ -7,5 +7,6 @@
export * from './questionnaire'
export * from './SingleTask'
export * from './external'
export * from './Homeimage'
src/api/system/user.js
@@ -94,7 +94,7 @@
    newPassword
  }
  return request({
    url: '/system/user/profile/updatePwd/edit',
    url: '/system/user/profile/updatePwd',
    method: 'post',
    params: data
  })
src/views/index copy.vue
ÎļþÒÑɾ³ý
src/views/index.vue
@@ -167,7 +167,7 @@
            <div class="empenty">
              <el-row>
                <el-col :span="3"
                  ><div class="grid-contents bg-purples" >出院:</div></el-col
                  ><div class="grid-contents bg-purples">出院:</div></el-col
                >
                <el-col :span="7">
                  <div style="display: flex">
@@ -187,13 +187,13 @@
                    <div class="subtitle">复诊通知</div>
                    <div class="grid-contents bg-purple-light">0次</div>
                  </div>
                </el-col> </el-row
              >
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="3"
                  ><div class="grid-contents bg-purples" ></div></el-col
                >
                <el-col :span="7" >
                  ><div class="grid-contents bg-purples"></div
                ></el-col>
                <el-col :span="7">
                  <div style="display: flex">
                    <div class="subtitle">出院评估</div>
                    <div class="grid-contents bg-purple-light">0次</div>
@@ -212,12 +212,11 @@
                    <div class="grid-contents bg-purple-light">0次</div>
                  </div>
                </el-col>
                 </el-row
              >
              </el-row>
              <el-row>
                <el-col :span="3"
                  ><div class="grid-contents bg-purples" >门诊:</div></el-col
                  ><div class="grid-contents bg-purples">门诊:</div></el-col
                >
                <el-col :span="7">
                  <div style="display: flex">
@@ -237,12 +236,12 @@
                    <div class="subtitle">复诊通知</div>
                    <div class="grid-contents bg-purple-light">0次</div>
                  </div>
                </el-col> </el-row
              >
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="3"
                  ><div class="grid-contents bg-purples" ></div></el-col
                >
                  ><div class="grid-contents bg-purples"></div
                ></el-col>
                <el-col :span="7">
                  <div style="display: flex">
                    <div class="subtitle">满意度调查</div>
@@ -255,12 +254,10 @@
                    <div class="grid-contents bg-purple-light">0次</div>
                  </div>
                </el-col>
                </el-row
              >
              </el-row>
              <el-row>
                <el-col :span="3"
                  ><div class="grid-contents bg-purples" >在院:</div></el-col
                  ><div class="grid-contents bg-purples">在院:</div></el-col
                >
                <el-col :span="7">
                  <div style="display: flex">
@@ -280,8 +277,8 @@
                    <div class="subtitle">其他通知</div>
                    <div class="grid-contents bg-purple-light">0次</div>
                  </div>
                </el-col> </el-row
              >
                </el-col>
              </el-row>
            </div>
          </div>
        </el-col>
@@ -291,12 +288,12 @@
</template>
<script>
// import {
//   getUserWork,
//   getregionCollect,
//   getregionOrderCount,
// } from "@/api/home";
import {
  getoutpatientamount,
  getInhospital,
  getBarchart,
  getQtemplateobj,
} from "@/api/AiCentre/index";
import dayjs from "dayjs";
export default {
@@ -342,13 +339,11 @@
    },
  },
  created() {
    // this.getoutpatientamount();
    // this.getInhospital();
    // this.getBarchart();
    this.$nextTick(function () {
      this.getregionAmountCollect();
      this.getUserWorks();
      this.getregionCollect();
      this.getregionOrderCount();
      this.getNodeCount();
      this.getPrtnerCount();
      this.getnodeCollect();
      this.getSkuTop();
    });
@@ -373,25 +368,13 @@
        this.dyat = 360;
      }
      this.getregionAmountCollect();
      this.getUserWorks();
      this.getregionCollect();
      this.getregionOrderCount();
      this.getNodeCount();
      this.getPrtnerCount();
      // this.getoutpatientamount();
      // this.getInhospital();
      // this.getBarchart();
      this.getnodeCollect();
      this.getSkuTop();
    },
    // èŽ·å–ç‚¹ä½æ€»æ•°
    async getNodeCount() {
      // const res = await getNodeCount();
      // this.NodeCount = res.data;
    },
    // èŽ·å–åˆä½œå•†æ€»æ•°
    async getPrtnerCount() {
      // const res = await getPrtnerCount();
      // this.PrtnerCount = res.data;
    },
    // åˆä½œå•†ç‚¹ä½æ±‡æ€»ç»Ÿè®¡é¥¼çж图
    async getnodeCollect() {
      // const res = await getnodeCollect();
@@ -423,31 +406,22 @@
        { amount: 0, count: 67, skuId: "0", skuName: "放射科" },
      ];
    },
    // èŽ·å–å·¥å•æ•°é‡
    async getUserWorks() {
      // const res = await getUserWork(this.atd, this.td);
      // this.ticketStatistics = res.data[0];
    // èŽ·å–é—¨è¯ŠåŸºç¡€æ•°æ®
    getoutpatientamount() {
      getoutpatientamount().then((res) => {});
    },
    // èŽ·å–å°±è¯Šæ•°é‡
    async getregionOrderCount() {
      // const res = await getregionOrderCount({
      //   start: this.atd,
      //   end: this.td,
      // });
      // this.order = res.data;
    getBarchart() {
      getBarchart().then((res) => {});
    },
    // èŽ·å–æ€»é‡æ•°é‡
    async getregionCollect() {
      // const res = await getregionCollect({
      //   start: this.atd,
      //   end: this.td,
      // });
      // this.Count = (res.data / 1000000).toFixed(2);
    getInhospital() {
      getInhospital().then((res) => {});
    },
    // èŽ·å–çº¿çŠ¶å›¾æ—¶é—´
    async getregionAmountCollect() {
      // const res = await getregionAmountCollect(1, this.endatd, this.statd);
      //getregionAmountCollect(1, this.endatd, this.statd);
      // this.xAxis = res.data.xAxis;
      // this.series = res.data.series;
      this.xAxis = ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月"];
@@ -998,7 +972,7 @@
  line-height: 36px;
  width: 6vw;
}
.subtitle{
.subtitle {
  text-align: center;
  align-items: center;
}
src/views/knowledge/education/compilequer/index.vue
@@ -415,7 +415,7 @@
      headers: {
        Authorization: "Bearer " + getToken(),
      },
      uploadImgUrl: process.env.VUE_APP_BASE_API + "/common/upload",
      uploadImgUrl: process.env.VUE_APP_BASE_API + "/common/uploadSort",
      uploadImgUrlword: process.env.VUE_APP_BASE_API + "/common/uploadShow",
      uploadUrlPath: "没有文件上传",
      quillUpdateImg: false,
src/views/outsideChainwt.vue
@@ -79,6 +79,10 @@
        </el-form-item>
      </el-form>
    </div>
    <div class="CONTENT">
      <div class="preview-left">
      </div>
    </div>
    <el-dialog
      :visible.sync="dialogVisible"
      width="50%"
@@ -106,6 +110,7 @@
      questionList: null,
      revisitAfter: null,
      dialogVisible:false,
      Endornot: true,
      // å‰ç«¯å…¬é’¥
      publicKey:
        "MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKR0yHv0rbJWQE+Sc7/FwpW66qMd9qX2k6z+SDgkSdxWh/1GbBoAP7bDQQRF6vXmoKsD2ya42H6XRLSDXAoayuMCAwEAAQ== ",
src/views/patient/propaganda/QuestionnaireTask.vue
@@ -69,7 +69,7 @@
                    placeholder="请输入任务描述"
                  />
                </el-form-item>
                <el-form-item label="服务形式" prop="taskDesc">
                <el-form-item label="服务形式">
                  <el-checkbox-group v-model="checkList">
                    <el-checkbox
                      v-for="(item, index) in checkboxlist"
@@ -183,7 +183,7 @@
            <div class="headline">
              <div>任务使用模板</div>
              <div style="margin-left: 20px">
                <el-form :model="form">
                <el-form ref="forms">
                  <el-form-item label="">
                    <el-input
                      style="width: 300px"
@@ -199,7 +199,7 @@
                    ></el-button>
                    <el-button
                      v-if="this.form.libtemplateid"
                      v-if="form.libtemplateid"
                      type="success"
                      icon="el-icon-search"
                      @click="previewfnmb"
@@ -502,18 +502,6 @@
              <el-form-item label="问卷名称">
                <el-input v-model="topqueryParams.svyname"></el-input>
              </el-form-item>
              <!-- <el-form-item label="问卷类型" prop="status">
                <el-select v-model="topqueryParams.topic" placeholder="请选择">
                  <el-option
                    v-for="item in taskoptions"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </el-select>
              </el-form-item> -->
              <el-form-item label="适用形式" prop="status">
                <el-select v-model="topqueryParams.topica" placeholder="请选择">
                  <el-option
@@ -525,18 +513,6 @@
                  </el-option>
                </el-select>
              </el-form-item>
              <!-- <el-form-item label="适用科室" prop="status">
                <el-select v-model="topqueryParams.topicd" placeholder="请选择">
                  <el-option
                    v-for="item in topicoptions"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </el-select>
              </el-form-item> -->
              <el-form-item>
                <el-button
                  type="primary"
@@ -796,19 +772,17 @@
          { required: true, message: "任务名称不能为空", trigger: "blur" },
          {
            min: 2,
            max: 20,
            message: "任务名称长度必须介于 2 å’Œ 20 ä¹‹é—´",
            max: 30,
            message: "任务名称长度必须介于 2 å’Œ 30 ä¹‹é—´",
            trigger: "blur",
          },
        ],
        taskDesc: [
          { required: true, message: "任务描述不能为空", trigger: "blur" },
        ],
        sendType: [
          { required: true, message: "发送设置不能为空", trigger: "blur" },
        ],
        daytime: [{ required: true, message: "民族不能为空", trigger: "blur" }],
      },
      quote: false,
      serviceType: null,
@@ -975,55 +949,70 @@
      });
    },
    nextstep() {
      if (this.Editprogress <= 3) {
        return this.Editprogress++;
      }
      this.$refs["form"].validate((valid) => {
        if (valid) {
          if (this.Editprogress <= 3) {
            return this.Editprogress++;
          }
        } else {
          this.$modal.msgError("表单内容未完善,请检查");
        }
      });
    },
    // ä¿å­˜
    submitForm(formName) {
      this.$refs["form"].validate((valid) => {
        if (valid) {
          if (this.checkList[0]) {
            this.form.preachform = this.checkList.join(",");
          } else {
            this.$modal.msgError("请选择服务类型");
            return;
          }
          if (!this.form.patTaskRelevances[0]) {
            this.$modal.msgError("请选择病人");
            return;
          }
          const filteredArray = this.variableList.filter(
            (item) =>
              item.name !== "姓名" &&
              item.name !== "电话" &&
              item.name !== "地址"
          );
          this.form.textParam = this.convertFormat2ToFormat1(filteredArray);
      if (this.time4 && this.form.sendType == 3)
        this.form.showTimeMorn = this.time4;
      this.form.sendTimeslot = [{
        begantime: this.time4,
        endtime: "",
        xh: 1,
      }];
      if (this.checkList[0]) {
        this.form.preachform = this.checkList.join(",");
      } else {
        this.$modal.msgError("请选择服务类型");
        return;
      }
      if (!this.form.patTaskRelevances[0]) {
        this.$modal.msgError("请选择病人");
        return;
      }
      if (!this.form.templatename) {
        this.$modal.msgError("未选择模板");
        return;
      }
      if ((this.form.sendType == 1 && this.time1) || this.form.sendType == 2) {
      } else if (this.form.sendType == 3 && this.time4) {
      } else {
        return this.$modal.msgError("时间信息缺失");
      }
      const filteredArray = this.variableList.filter(
        (item) =>
          item.name !== "姓名" && item.name !== "电话" && item.name !== "地址"
      );
      this.form.textParam = this.convertFormat2ToFormat1(filteredArray);
      if (this.form.taskid) {
        this.form.isoperation = 2;
      } else {
        this.form.isoperation = 1;
      }
      if (!this.form.type) {
        this.form.type = this.$route.query.type;
      }
      this.form.serviceType = this.serviceType;
      Editsingletask(this.form).then((res) => {
        if (res.code == 200) {
          if (this.form.taskid) {
            this.form.isoperation = 2;
            this.$modal.msgSuccess("新增成功");
          } else {
            this.form.isoperation = 1;
            this.$modal.msgSuccess("修改成功");
          }
          if (!this.form.type) {
            this.form.type = this.$route.query.type;
          }
          this.form.serviceType = this.serviceType;
          Editsingletask(this.form).then((res) => {
            if (res.code == 200) {
              if (this.form.taskid) {
                this.$modal.msgSuccess("新增成功");
              } else {
                this.$modal.msgSuccess("修改成功");
              }
              this.$router.push({
                path: "/followvisit/tasklist",
                query: { tasktopic: this.form.serviceType },
              });
            }
          this.$router.push({
            path: "/followvisit/tasklist",
            query: { tasktopic: this.form.serviceType },
          });
        }else{
          this.$modal.msgError("表单内容未完善,请检查");
        }
      });
    },
@@ -1239,11 +1228,12 @@
              : [];
            this.overallCase = this.form.patTaskRelevances.concat();
            this.checkList = this.form.preachform.split(",");
            console.log(this.form.showDate, "this.form");
            this.daytime = this.form.showDate.split(",");
            console.log(this.form, "this.form");
            if (this.form.showDate)this.daytime = this.form.showDate.split(",");
            if (this.form.showTimeMorn) {
              if (this.form.sendType == 3) {
                this.time4 = this.form.showTimeMorn;
                console.log(1122);
              } else {
                this.time1 = this.form.showTimeMorn.split(",");
              }
@@ -1354,7 +1344,6 @@
      if (this.time1) this.form.showTimeMorn = this.time1.join(",");
      if (this.time2) this.form.showTimeNoon = this.time2.join(",");
      if (this.time3) this.form.showTimeNight = this.time3.join(",");
      console.log(combinedData, "combinedData");
    },
    // æŸ¥çœ‹æ¨¡æ¿
    previewGo() {
vue.config.js
@@ -35,8 +35,8 @@
    proxy: {
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        target: `http://192.168.1.10:8095`,
        // target:`http://localhost:8095`,
        // target: `http://192.168.1.10:8095`,
        target:`http://localhost:8095`,
        // target: `http://192.168.101.135:8095`,
        changeOrigin: true,
        pathRewrite: {