WXL
2024-08-27 c4f2875b50f07e6f375cd9c9ec4d8fbc2494d35d
测试完成
已修改2个文件
19 ■■■■ 文件已修改
src/views/knowledge/education/compilequer/index.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/outsideChain.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/education/compilequer/index.vue
@@ -609,7 +609,7 @@
      this.ruleForm.campus = this.ruleForm.campus.join(",");
      this.ruleForm.labelInfo = tgs.length != 0 ? tgs.join(", ") : "";
      this.ruleForm.otherdata = JSON.stringify(this.variablelist);
      this.ruleForm.hetype = 2;
      this.ruleForm.hetype = 1;
      console.log(22);
      this.ruleForm.suitway =
        this.ruleForm.suitway.length != 0
@@ -841,12 +841,11 @@
    // 上传图片成功
    uploadEditorSuccess(res, file) {
      console.log("上传成功");
      // this.$emit('upload',res, file)
      console.log(res, file);
      //拼接出上传的图片在服务器的完整地址
      let imgUrl = res.url;
      let type = imgUrl.substring(imgUrl.lastIndexOf(".") + 1);
      console.log(type);
      this.fileName = this.getFileNameFromPath(res.url);
      // 获取富文本组件实例
      let quill = this.$refs.customQuillEditor.quill;
      // 获取光标所在位置
@@ -918,7 +917,8 @@
          console.log(response.data, "数据"); // 输出获取到的文件内容
          this.content = response.data;
          this.texturl = res.url;
          this.fileName = this.getFileNameFromPath(res.url);
          this.fileName = this.getFileNameFromPath(response.url);
          console.log(this.fileName, "this.fileName");
        })
        .catch((error) => {
          console.error("Failed to fetch file:", error);
@@ -930,7 +930,8 @@
        .then((response) => {
          console.log(response.data, "数据"); // 输出获取到的文件内容
          this.content = response.data;
          this.fileName = this.getFileNameFromPath(res.url);
          this.fileName = this.getFileNameFromPath(response.url);
          console.log(this.fileName, "this.fileName");
        })
        .catch((error) => {
          console.error("Failed to fetch file:", error);
src/views/outsideChain.vue
@@ -81,7 +81,7 @@
      console.log(taskid, "taskid");
      console.log(patid, "patid");
      console.log(taskname, "patid");
      console.log(taskname, "taskname");
      console.log(routertf, "routertf");
      // let taskid =
      //   "OFp7tn/B6x7IzKJetvGWHdSWBj7msRlnlj6am9dyuHTH6sEt4uBbVCUXs5kcF/e4O2W6vqHf2Bz9K3/evbYDmw==";
@@ -90,8 +90,8 @@
      this.taskid = this.decrypt(taskid);
      this.patid = this.decrypt(patid);
      this.taskid = taskid;
      this.patid = patid;
      // this.taskid = taskid;
      // this.patid = patid;
      console.log(this.taskid, "this.taskid");
      console.log(this.patid, "this.patid");