测试、答卷查询条件优化

This commit is contained in:
曹磊 2024-05-25 13:50:21 +08:00
parent 02edf3fd4e
commit b8db7d30e1
4 changed files with 24 additions and 22 deletions

View File

@ -10,8 +10,8 @@
</a-form-item>
</a-col>
<a-col :lg="7">
<a-form-item label="测验类型">
<j-dict-select-tag placeholder="请选择测验类型" v-model:value="queryParam.qpublish" dictCode="zy_status"/>
<a-form-item label="测验状态">
<j-dict-select-tag placeholder="请选择测验状态" v-model:value="queryParam.qpublish" dictCode="zy_status"/>
<!-- <a-select placeholder="请选择问卷状态" ref="select" v-model:value="queryParam.qpublish">
<a-select-option value="">全部</a-select-option>
<a-select-option value="0">待发布</a-select-option>

View File

@ -6,17 +6,18 @@
<a-row :gutter="24">
<a-col :lg="7">
<a-form-item label="测验名称">
<j-input placeholder="请输入测验名称" v-model:value="queryParam.title"></j-input>
<a-input placeholder="请输入测验名称" v-model:value="queryParam.title"></a-input>
</a-form-item>
</a-col>
<a-col :lg="7">
<a-form-item label="测验类型">
<a-select placeholder="请选择问卷状态" ref="select" v-model:value="queryParam.qpublish">
<a-select-option value="">全部</a-select-option>
<a-select-option value="0">待发布</a-select-option>
<a-select-option value="1">已发布</a-select-option>
<a-select-option value="2">已完成</a-select-option>
</a-select>
<a-form-item label="测验状态">
<j-dict-select-tag placeholder="请选择测验状态" v-model:value="queryParam.qpublish" dictCode="zy_status"/>
<!-- <a-select placeholder="请选择测验状态" ref="select" v-model:value="queryParam.qpublish">-->
<!-- <a-select-option value="">全部</a-select-option>-->
<!-- <a-select-option value="0">待发布</a-select-option>-->
<!-- <a-select-option value="1">已发布</a-select-option>-->
<!-- <a-select-option value="2">已完成</a-select-option>-->
<!-- </a-select>-->
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
@ -51,6 +52,7 @@
<script lang="ts" name="wjxWjxx-wjxWjxx" setup>
import {ref, reactive, defineExpose, unref} from 'vue';
import { BasicTable, useTable, TableAction } from '/@/components/Table';
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
import { defHttp } from '/@/utils/http/axios';
import { useListPage } from '/@/hooks/system/useListPage';
import { columns } from '/@/views/kc/wjxWjxx/WjxWjxx.data';
@ -62,7 +64,6 @@ import WjxWjxxTmlbDjModal from '/@/views/kc/wjxWjxx/components/WjxWjxxTmlbDjModa
import WjxWjxxTmlbDjjgModal from '/@/views/kc/wjxWjxx/components/WjxWjxxTmlbDjjgModal.vue'
import WjxWjxxTmlbDjjgsModal from '/@/views/kc/wjxWjxx/components/WjxWjxxTmlbDjjgsModal.vue'
import XxhbbksListModal from '/@/views/kc/xxhbbks/XxhbbksListModal.vue';
import { JInput } from '/@/components/Form';
import {useRouter} from "vue-router";
//

View File

@ -10,8 +10,8 @@
</a-form-item>
</a-col>
<a-col :lg="7">
<a-form-item label="问卷类型">
<j-dict-select-tag placeholder="请选择问卷类型" v-model:value="queryParam.zyStatus" dictCode="zy_status"/>
<a-form-item label="问卷状态">
<j-dict-select-tag placeholder="请选择问卷状态" v-model:value="queryParam.qpublish" dictCode="zy_status"/>
<!-- <a-select placeholder="请选择问卷类型" ref="select" v-model:value="queryParam.qpublish">
<a-select-option value="">全部</a-select-option>
<a-select-option value="0">待发布</a-select-option>

View File

@ -6,17 +6,18 @@
<a-row :gutter="24">
<a-col :lg="7">
<a-form-item label="测验名称">
<j-input placeholder="请输入测验名称" v-model:value="queryParam.title"></j-input>
<a-input placeholder="请输入测验名称" v-model:value="queryParam.title"></a-input>
</a-form-item>
</a-col>
<a-col :lg="7">
<a-form-item label="测验类型">
<a-select placeholder="请选择问卷状态" ref="select" v-model:value="queryParam.qpublish">
<a-select-option value="">全部</a-select-option>
<a-select-option value="0">未发布</a-select-option>
<a-select-option value="1">已发布</a-select-option>
<a-select-option value="2">已完成</a-select-option>
</a-select>
<a-form-item label="问卷状态">
<j-dict-select-tag placeholder="请选择问卷状态" v-model:value="queryParam.qpublish" dictCode="zy_status"/>
<!-- <a-select placeholder="请选择问卷状态" ref="select" v-model:value="queryParam.qpublish">-->
<!-- <a-select-option value="">全部</a-select-option>-->
<!-- <a-select-option value="0">未发布</a-select-option>-->
<!-- <a-select-option value="1">已发布</a-select-option>-->
<!-- <a-select-option value="2">已完成</a-select-option>-->
<!-- </a-select>-->
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
@ -51,6 +52,7 @@
<script lang="ts" name="wjxWjxx-wjxWjxx" setup>
import {ref, reactive, defineExpose, unref} from 'vue';
import { BasicTable, useTable, TableAction } from '/@/components/Table';
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
import { defHttp } from '/@/utils/http/axios';
import { useListPage } from '/@/hooks/system/useListPage';
import { columns } from '/@/views/kc/wjxWjxx/WjxWjxx.data';
@ -62,7 +64,6 @@ import {ref, reactive, defineExpose, unref} from 'vue';
import WjxWjxxTmlbDjjgModal from '/@/views/kc/wjxWjxx/components/WjxWjxxTmlbDjjgModal.vue'
import WjxWjxxTmlbDjjgsDcModal from '/@/views/kc/wjxWjxx/components/WjxWjxxTmlbDjjgsDcModal.vue'
import XxhbbksListModal from '/@/views/kc/xxhbbks/XxhbbksListModal.vue';
import { JInput } from '/@/components/Form';
import {useRouter} from "vue-router";
//