update bug
This commit is contained in:
parent
1864d4fbd7
commit
a3cd20e07e
|
@ -24,12 +24,15 @@
|
|||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="听课类型" v-bind="validateInfos.sf">
|
||||
<a-input v-model:value="formData.sf" placeholder="请输听课类型" :disabled="disabled"></a-input>
|
||||
<!-- <a-input v-model:value="formData.sf" placeholder="请输听课类型" :disabled="disabled"></a-input> -->
|
||||
<j-dict-select-tag v-model:value="formData.sf" dictCode="tklx" placeholder="请选择听课类型" :disabled="disabled"/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="状态" v-bind="validateInfos.zt">
|
||||
<a-input v-model:value="formData.zt" placeholder="请输状态" :disabled="disabled"></a-input>
|
||||
<!-- <a-input v-model:value="formData.zt" placeholder="请输状态" :disabled="disabled"></a-input> -->
|
||||
<j-dict-select-tag v-model:value="formData.zt" :dictCode="`xxhbjzgdqzt,mc,mc`" placeholder="请选择状态" :disabled="disabled"/>
|
||||
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
|
@ -89,11 +92,11 @@
|
|||
//表单验证
|
||||
const validatorRules = {
|
||||
gh: [{ required: true, message: '请输入教师!'}, { validator: ghDuplicatevalidate }],
|
||||
tklx: [{ required: true, message: '请输入听课类型!'},],
|
||||
tklx: [{ required: true, message: '请输入身份!'},],
|
||||
dwmc: [{ required: true, message: '请输入单位名称!'},],
|
||||
xm: [{ required: true, message: '请输入教师姓名!'},],
|
||||
zt: [{ required: true, message: '请输入状态!'},],
|
||||
sf: [{ required: true, message: '请输入身份!'},],
|
||||
sf: [{ required: true, message: '请输入听课类型!'},],
|
||||
ytkcs: [{ required: true, message: '请输入每学期应听课次数!'},],
|
||||
};
|
||||
const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: true });
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
<a-col :lg="6">
|
||||
<a-button type="primary" preIcon="ant-design:search-outlined" @click="searchQuery">查询</a-button>
|
||||
<a-button type="primary" preIcon="ant-design:reload-outlined" @click="searchReset" style="margin-left: 8px">重置</a-button>
|
||||
<a-button type="primary" preIcon="ant-design:up-outlined" @click="handleBaobiao" style="margin-left: 8px">报表</a-button>
|
||||
<!--<a @click="toggleSearchStatus = !toggleSearchStatus" style="margin-left: 8px">
|
||||
{{ toggleSearchStatus ? '收起' : '展开' }}
|
||||
<Icon :icon="toggleSearchStatus ? 'ant-design:up-outlined' : 'ant-design:down-outlined'" />
|
||||
|
@ -82,6 +83,8 @@
|
|||
</BasicTable>
|
||||
<!-- 表单区域 -->
|
||||
<KcZhihuijiaoshiMonitorLogModal ref="registerModal" @success="handleSuccess"></KcZhihuijiaoshiMonitorLogModal>
|
||||
<KcZhihuijiaoshiMonitorStaticLogModal ref="registerStaticModal"></KcZhihuijiaoshiMonitorStaticLogModal>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -93,10 +96,13 @@
|
|||
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './KcZhihuijiaoshiMonitorLog.api';
|
||||
import { downloadFile } from '/@/utils/common/renderUtils';
|
||||
import KcZhihuijiaoshiMonitorLogModal from './components/KcZhihuijiaoshiMonitorLogModal.vue'
|
||||
import KcZhihuijiaoshiMonitorStaticLogModal from './staticlist/KcZhihuijiaoshiMonitorStaticLogModal.vue'
|
||||
|
||||
const queryParam = ref<any>({});
|
||||
const toggleSearchStatus = ref<boolean>(false);
|
||||
const registerModal = ref();
|
||||
const registerStaticModal = ref();
|
||||
|
||||
//注册table数据
|
||||
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
|
||||
tableProps: {
|
||||
|
@ -133,6 +139,11 @@
|
|||
sm: { span: 16 },
|
||||
});
|
||||
|
||||
function handleBaobiao(){
|
||||
registerStaticModal.value.disableSubmit = false;
|
||||
registerStaticModal.value.add();
|
||||
|
||||
}
|
||||
/**
|
||||
* 新增事件
|
||||
*/
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<a-form-item label="评价类型">
|
||||
<j-dict-select-tag
|
||||
placeholder="请选择评价类型" v-model:value="queryParam.col15"
|
||||
:options="[{ value: '一般听课表', label: '一般听课表'}, { value: '线上听课表', label: '线上听课表'},{ value: '同行评价表', label: '同行评价表'}]"
|
||||
:options="[{ value: '一般听课表', label: '一般听课表'}, { value: '线上听课表', label: '线上听课表'},{ value: '同行评价表', label: '同行评价表'},{ value: '老版评价表', label: '老版评价表'}]"
|
||||
/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
|
Loading…
Reference in New Issue