WXL
2024-07-05 fdf8b9cc7995c8d2022ac512c48a7567f6d2af9a
测试完成
已修改9个文件
79 ■■■■■ 文件已修改
dist.zip 补丁 | 查看 | 原始文档 | blame | 历史
src/App.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/AiCentre/external.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChain.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChainxj.vue 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/PatientChart.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/Missioncreation.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/propaganda/particty.vue 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
dist.zip
Binary files differ
src/App.vue
@@ -2,7 +2,7 @@
  <div id="app">
    <router-view />
    <theme-picker />
    <Assistant />
    <Assistant v-if="" />
  </div>
</template>
src/api/AiCentre/external.js
@@ -3,7 +3,7 @@
// 外链获取随访或问卷详情
export function getExternalfollowup(data) {
  return request({
    url: "/smartor/serviceTask/getScriptInfoByCondition",
    url: "/smartor/servicetask/getScriptInfoByCondition",
    // url: "/smartor/servicetask/getScriptInfoByCondition",
    method: "post",
    data: data
src/views/outsideChain.vue
@@ -1,7 +1,7 @@
<template>
  <div class="questionnaire">
    <div class="CONTENT">
      <div class="title">暑期问卷</div>
      <div class="title">随访问卷</div>
      <div class="preview-left">
        <!-- 单选 -->
        <div
@@ -76,13 +76,20 @@
    getQuestionnaire() {
      let taskid = this.$route.query.param1;
      let patid = this.$route.query.param2;
      console.log(taskid, "taskid");
      console.log(patid, "patid");
      // let taskid =
      //   "OFp7tn/B6x7IzKJetvGWHdSWBj7msRlnlj6am9dyuHTH6sEt4uBbVCUXs5kcF/e4O2W6vqHf2Bz9K3/evbYDmw==";
      // let patid =
      //   "CVk0j8O86AeCqhV5WPsBBYDg9fec0wDoDlP9imYK4wDBNIkxywZzMJEGlPagOxnq6qr2WYZo0U8MUGWRGnq8ZA==";
      this.taskid = this.decrypt(taskid);
      // this.taskid = this.decrypt(taskid);
      this.patid = this.decrypt(patid);
      this.taskid = taskid;
      this.patid = patid;
      console.log(this.taskid, "this.taskid");
      console.log(this.patid, "this.patid");
      // this.$modal.msgSuccess("用户id为" + this.patid);
      // this.$modal.msgSuccess("任务id为" + this.taskid);
      let taskids = this.encrypt(this.taskid);
src/views/outsideChainxj.vue
@@ -50,27 +50,29 @@
  methods: {
    // 获取数据
    getQuestionnaire() {
      let taskid = this.$route.query.param1;
      let patid = this.$route.query.param2;
      // let taskid =
      //   "OFp7tn/B6x7IzKJetvGWHdSWBj7msRlnlj6am9dyuHTH6sEt4uBbVCUXs5kcF/e4O2W6vqHf2Bz9K3/evbYDmw==";
      // let patid =
      //   "CVk0j8O86AeCqhV5WPsBBYDg9fec0wDoDlP9imYK4wDBNIkxywZzMJEGlPagOxnq6qr2WYZo0U8MUGWRGnq8ZA==";
      this.taskid = this.decrypt(taskid);
      this.patid = this.decrypt(patid);
      // let taskid = this.$route.query.param1;
      // let patid = this.$route.query.param2;
      // // let taskid =
      // //   "OFp7tn/B6x7IzKJetvGWHdSWBj7msRlnlj6am9dyuHTH6sEt4uBbVCUXs5kcF/e4O2W6vqHf2Bz9K3/evbYDmw==";
      // // let patid =
      // //   "CVk0j8O86AeCqhV5WPsBBYDg9fec0wDoDlP9imYK4wDBNIkxywZzMJEGlPagOxnq6qr2WYZo0U8MUGWRGnq8ZA==";
      // this.taskid = this.decrypt(taskid);
      // this.patid = this.decrypt(patid);
      // this.$modal.msgSuccess("用户id为" + this.patid);
      // this.$modal.msgSuccess("任务id为" + this.taskid);
      let taskids = this.encrypt(this.taskid);
      let patids = this.encrypt(this.patid);
      getExternalfollowup({ param1: taskids, param2: patids }).then((res) => {
        if (res.code == 200) {
          this.questionList = res.rows;
        }
      });
      // // this.$modal.msgSuccess("用户id为" + this.patid);
      // // this.$modal.msgSuccess("任务id为" + this.taskid);
      // let taskids = this.encrypt(this.taskid);
      // let patids = this.encrypt(this.patid);
      // getExternalfollowup({ param1: taskids, param2: patids }).then((res) => {
      //   if (res.code == 200) {
      //     this.questionList = res.rows;
      //   }
      // });
      // 临时获取数据
      axios
        .get("http://localhost:8089/profile/upload/show/测试/测试.html")
        .get(
          "http://116.62.18.175:8096/profile/upload/show/挂号需知/挂号需知.html"
        )
        .then((response) => {
          console.log(response.data, "数据"); // 输出获取到的文件内容
          this.richText = response.data;
src/views/patient/patient/PatientChart.vue
@@ -739,7 +739,7 @@
      // 查询参数
      queryParams: {
        pageNum: 1,
        allhosp: "1",
        allhosp: "0",
        pageSize: 10,
        idcardno: undefined,
        name: undefined,
src/views/patient/propaganda/Missioncreation.vue
@@ -897,6 +897,8 @@
        "线下(纸质)",
        "线上(短信/钉钉的文本视频)",
        "宣教链接",
        "微信公众号",
        "短信",
      ];
      getlibrarylist(queryParams).then((response) => {
        this.userList = response.rows;
src/views/patient/propaganda/particty.vue
@@ -46,7 +46,7 @@
                      <el-input
                        style="width: 220px"
                        :disabled="true"
                        v-model="form.templateName"
                        v-model="form.templatename"
                        placeholder="点击右侧选择"
                      /> </el-form-item
                  ></el-col>
@@ -727,13 +727,13 @@
        { label: "创建人(缺)", width: "", prop: "updateBy" },
      ],
      tableLabelcy: [
        { label: "随访名称", width: "", prop: "templateName" },
        { label: "随访名称", width: "", prop: "templatename" },
        { label: "随访计划", width: "", prop: "impTemplate" },
        { label: "修改日期", width: "", prop: "uploadTime" },
        { label: "创建人(缺)", width: "", prop: "updateBy" },
      ],
      tableLabelfz: [
        { label: "通知名称", width: "", prop: "templateName" },
        { label: "通知名称", width: "", prop: "templatename" },
        { label: "通知模版", width: "", prop: "impTemplate" },
        { label: "修改日期", width: "", prop: "uploadTime" },
        { label: "创建人(缺)", width: "", prop: "updateBy" },
@@ -766,6 +766,8 @@
        { label: "支付宝", value: 7 },
        { label: "智能小程序", value: 8 },
        { label: "钉钉", value: 9 },
        { label: "线下(纸质)", value: 10 },
        { label: "线上(短信/钉钉的文本、问卷链接)", value: 11 },
      ],
      // 时间处理
      daytime: [], //日期
@@ -849,7 +851,7 @@
      form: {
        patTaskRelevances: [],
        sendType: 1,
        templateName: "",
        templatename: "",
        templateid: null,
        libtemplateid: null,
      },
@@ -963,7 +965,7 @@
    // 确认选择模版放入任务模版
    selectfn(row, type) {
      // 模版情况下获取模版信息
      console.log(row,'选择模版');
      console.log(row, "选择模版");
      this.libName = row.templateName;
      this.libId = row.id;
      getvFollowup({ id: row.id }).then((res) => {
@@ -1260,7 +1262,7 @@
      this.Tasktemplate.tempDetpRelevances = null;
      this.Tasktemplate.libtemplateid = id;
      this.Tasktemplate.isoperation = 1;
      this.Tasktemplate.libtemplateName = this.Tasktemplate.templateName;
      this.Tasktemplate.libtemplatename = this.Tasktemplate.templatename;
      console.log(this.libName, this.libId);
      TaskTemplatecomit(this.Tasktemplate).then((response) => {
@@ -1268,9 +1270,9 @@
        this.previewtf = false;
        this.form.templateid = response.data;
        this.form.libtemplateid = this.libId;
        this.form.templateName = this.libName;
        console.log(this.form.templateName, "ss");
        this.$modal.msgSuccess("选择模版成功", this.form.templateName);
        this.form.templatename = this.libName;
        console.log(this.form.templatename, "ss");
        this.$modal.msgSuccess("选择模版成功", this.form.templatename);
      });
    },
    // 处理服务形式
vue.config.js
@@ -36,7 +36,7 @@
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        // target: `http://192.168.2.8:8089`,
        target:`http://localhost:8089`,
        target:`http://localhost:8095`,
        // target: `http://www.hxsoft.com:8080`,
        changeOrigin: true,
        pathRewrite: {