From 17b041e2e7ebd5afe75403fefc57cc6a88b51dad Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 06 八月 2024 13:23:58 +0800
Subject: [PATCH] 测试完成
---
src/views/knowledge/education/compilequer/index.vue | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/views/knowledge/education/compilequer/index.vue b/src/views/knowledge/education/compilequer/index.vue
index dfdea95..225df98 100644
--- a/src/views/knowledge/education/compilequer/index.vue
+++ b/src/views/knowledge/education/compilequer/index.vue
@@ -489,6 +489,8 @@
radioas: "", //濉┖棰樼瓟妗�
// 鎬绘潯鏁�
total: 1,
+ hetype: "",
+ id: null,
ruleForm: {
campus: [],
heLibraryTagList: [],
@@ -573,6 +575,7 @@
getList() {
this.loading = true;
this.id = this.$route.query.id;
+ this.hetype = this.$route.query.hetype;
if (this.id) {
getlibraryinfo({ id: this.id }).then((res) => {
this.ruleForm = res.data[0];
@@ -593,8 +596,9 @@
});
}
// 瀹f暀鍒嗙被
- getheLibraryAssort({}).then((res) => {
+ getheLibraryAssort({ hetype: 2 }).then((res) => {
this.sortlist = res.rows;
+ console.log(this.sortlist);
});
// 閮ㄩ棬
listDept(this.queryParams).then((response) => {
@@ -611,6 +615,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;
console.log(22);
this.ruleForm.suitway =
this.ruleForm.suitway.length != 0
--
Gitblit v1.9.3