From 09b701d290094291e877b2cfb601db7da267d6b9 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 21 八月 2024 18:55:47 +0800 Subject: [PATCH] 测试完成 --- src/views/knowledge/education/compilequer/index.vue | 28 +++++++++++++--------------- 1 files changed, 13 insertions(+), 15 deletions(-) diff --git a/src/views/knowledge/education/compilequer/index.vue b/src/views/knowledge/education/compilequer/index.vue index dfdea95..dae4b40 100644 --- a/src/views/knowledge/education/compilequer/index.vue +++ b/src/views/knowledge/education/compilequer/index.vue @@ -175,22 +175,15 @@ ></el-col> <el-col :span="9"> <el-form-item label="鍙敤鐘舵��" prop="region"> - <el-select - v-model="ruleForm.isavailable" - size="medium" - filterable - placeholder="璇烽�夋嫨鍒嗙被" - > - <el-option - class="ruleFormaa" - v-for="item in usable" - :key="item.value" - :label="item.label" - :value="item.value" + <el-radio-group v-model="ruleForm.isAvailable"> + <el-radio + v-for="(item, index) in usable" + :label="item.value" + >{{ item.label }}</el-radio > - </el-option> - </el-select> </el-form-item - ></el-col> + </el-radio-group> + </el-form-item></el-col + > </el-row> <el-form-item label="瀹f暀鏂瑰紡" prop="region"> <el-select @@ -489,6 +482,8 @@ radioas: "", //濉┖棰樼瓟妗� // 鎬绘潯鏁� total: 1, + hetype: "", + id: null, ruleForm: { campus: [], heLibraryTagList: [], @@ -573,6 +568,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]; @@ -595,6 +591,7 @@ // 瀹f暀鍒嗙被 getheLibraryAssort({}).then((res) => { this.sortlist = res.rows; + console.log(this.sortlist); }); // 閮ㄩ棬 listDept(this.queryParams).then((response) => { @@ -611,6 +608,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