WXL
2024-07-29 dad71d3ff3fa37090c78f3d83d09db0fa54601ca
src/views/knowledge/questionnaire/index.vue
@@ -247,8 +247,8 @@
                :show-overflow-tooltip="true"
              >
                <template slot-scope="scope">
                  <span v-for="item in scope.row.labelInfo.split(',')"
                    >{{ item }}、
                  <span v-for="item in scope.row.svyLibTemplateTagList"
                    >{{ item.tagname }}、
                  </span>
                </template>
              </el-table-column>
@@ -290,7 +290,7 @@
                      ><i class="el-icon-edit"></i>二维码</span
                    ></el-button
                  >
                  <el-button
                  <!-- <el-button
                    size="medium"
                    type="text"
                    @click="ViewQuestionnaire(scope.row)"
@@ -298,7 +298,7 @@
                    ><span class="button-textck"
                      ><i class="el-icon-edit"></i>查看</span
                    ></el-button
                  >
                  > -->
                  <el-button
                    size="medium"
                    type="text"
@@ -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: [],
@@ -496,7 +503,7 @@
      illnesslistapi: [],
      illnesslist: [],
      defaultProps: {
        children: "svyLibTitleCategoryList",
        children: "svyLibTemplateCategoryList",
        label: "name",
      },
      deptList: [],
@@ -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;
@@ -805,13 +818,6 @@
      this.ids = selection.map((item) => item.svyid);
      this.single = selection.length != 1;
      this.multiple = !selection.length;
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.$router.push({
        path: "/knowledge/verbaltrick/particulars/",
        query: { id: "1" },
      });
    },
    /** 删除按钮操作 */