From 9201094eda93a5429e1e83a73f9d18dd84f74099 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 05 八月 2024 14:23:58 +0800
Subject: [PATCH] 测试完成
---
src/views/knowledge/questionbank/particulars/index.vue | 28 ++++++++++++++++++----------
1 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/src/views/knowledge/questionbank/particulars/index.vue b/src/views/knowledge/questionbank/particulars/index.vue
index 8900b8b..0f60b5b 100644
--- a/src/views/knowledge/questionbank/particulars/index.vue
+++ b/src/views/knowledge/questionbank/particulars/index.vue
@@ -453,14 +453,16 @@
@keyup.enter.native="gettargetInfo"
/>
</el-form-item>
- <el-form-item label="鎸囨爣鏍囩" prop="userName">
- <el-input
- v-model="queryParams.tagName"
- placeholder="璇疯緭鍏�"
- clearable
- style="width: 200px"
- @keyup.enter.native="gettargetInfo"
- />
+ <el-form-item label="鎸囨爣绫诲瀷" prop="scriptType">
+ <el-select v-model="queryParams.scriptType" placeholder="璇烽�夋嫨">
+ <el-option
+ v-for="(item, index) in qyoptions"
+ :key="item.value"
+ :label="item.label"
+ :value="item.value"
+ >
+ </el-option>
+ </el-select>
</el-form-item>
<el-form-item>
@@ -616,6 +618,7 @@
pageNum: 1,
pageSize: 10,
isavailable: "",
+ scriptType: "",
},
optionlist: [
{ value: "scriptTopic", table: "scriptTopic" },
@@ -632,6 +635,7 @@
inputVisibleillness: false,
illnessVisible: false, //鎸囨爣鐤剧梾寮规
deptOptions: [],
+ qyoptions: [],
optionsillness: [],
illnesslistapi: [],
illnesslist: [],
@@ -658,6 +662,7 @@
this.usable = store.getters.usable;
this.valuetype = store.getters.askvaluetype;
this.required = store.getters.required;
+ this.qyoptions = store.getters.askvaluetype;
},
methods: {
@@ -722,7 +727,10 @@
});
return;
}
- this.queryParams.scriptType = this.topicobj.scriptType;
+ if (this.topicobj.scriptType) {
+ this.queryParams.scriptType = this.topicobj.scriptType;
+ }
+ this.queryParams.suitWay = 1;
gettargetInfo(this.queryParams).then((res) => {
this.targetList = res.rows;
this.total = res.total;
@@ -836,7 +844,7 @@
this.scriptTypels = this.topicobj.scriptType;
})
.catch(() => {
- this.topicobj.scriptType=this.scriptTypels
+ this.topicobj.scriptType = this.scriptTypels;
});
}
},
--
Gitblit v1.9.3