WXL
2024-06-17 247854b3aefc05f293cf0a50e6d9367814804d70
测试完成
已修改4个文件
29 ■■■■ 文件已修改
src/api/AiCentre/Qtemplate.js 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/knowledge/questionnaire/index.vue 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/intention/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/verbaltrick/particulars/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/AiCentre/Qtemplate.js
@@ -1,4 +1,5 @@
import request from "@/utils/request";
import { param } from "jquery";
// 查询问卷模版列表
export function getQtemplatelist(data) {
@@ -25,7 +26,7 @@
// 新增或修改问卷模版详情
export function compileQtemplate(data) {
    return request({
      url: "/smartor/svyTemplate/saveOrUpdateTitle",
      url: "/smartor/svyTemplate/saveOrUpdateTemplate",
      method: "post",
      data: data,
    });
@@ -63,3 +64,11 @@
      data: data,
    });
  }
  // 查询问卷模版分类树
  export function getQRcode(data) {
    return request({
      url: "/qrcode/getQRcode",
      method: "post",
      params: data,
    });
  }
src/views/knowledge/questionnaire/index.vue
@@ -416,7 +416,12 @@
        <div class="qrcode-text">
          {{ namequestionnaire }}<span>{{ haoquestionnaire }}</span>
        </div>
        <div class="qrcode-img"></div>
        <div class="qrcode-img">
          <el-image
            src="D:/qrcode/fc9a1fa37e394ac3ac606bf6b77b17c3"
            fit="cover"
          ></el-image>
        </div>
      </div>
    </el-dialog>
  </div>
@@ -440,6 +445,7 @@
  getillnesslist,
  illnesslistget,
  getillness,
  getQRcode,
} from "@/api/AiCentre/index";
import { listDept } from "@/api/system/dept";
@@ -466,6 +472,7 @@
      total: 0,
      namequestionnaire: "",
      haoquestionnaire: "",
      QRcodeurl: "",
      // 用户表格数据
      userList: [],
@@ -540,6 +547,12 @@
    },
    goQRCode(row) {
      getQRcode({
        url: "/outsideChain?param1=KHRYDSSuTpwGWDhAS6OnpfxObRZf8fd/TIagYWPvDuyku+MjtrWt1efC1htoBDc+G4QP2UOWPNitAO4TwH4oIQ==&param2=CP/xYqwqDhWACt2aQ/HOwhgRM62Lh4/1upwYDl7dmKSuiaa4zRzMgu7rmRztiwQj2YvJ1KAX1zBTpUAIdxPvUA==",
      }).then((res) => {
        console.log(res);
        this.QRcodeurl = "D:/qrcode/fc9a1fa37e394ac3ac606bf6b77b17c3";
      });
      this.goQRCodeVisible = true;
      this.namequestionnaire = row.userName;
      this.haoquestionnaire = row.nickName;
src/views/repositoryai/intention/index.vue
@@ -981,6 +981,7 @@
      }
    },
    syioption(row) {
      const index = this.getIndexInArray(this.testuserList, row);
      const item = this.testuserList.splice(index, 1)[0]; // 移除指定索引处的元素,并保存到item变量中
      this.testuserList.splice(index - 1, 0, item); // 将item插入到索引位置的前一位
src/views/repositoryai/verbaltrick/particulars/index.vue
@@ -425,7 +425,7 @@
            <el-col :span="12">
              <el-form-item label="指标描述" prop="deptId">
                <el-input
                  v-model="indexform.targetname"
                  v-model="indexform.targetdesc"
                  placeholder="请输入指标描述"
                  maxlength="60"
                />