修改bug
This commit is contained in:
parent
5b8c59e4cc
commit
9fb2baf73b
|
@ -16,7 +16,7 @@ import { setupStore } from '/@/store';
|
||||||
import { setupGlobDirectives } from '/@/directives';
|
import { setupGlobDirectives } from '/@/directives';
|
||||||
import { setupI18n } from '/@/locales/setupI18n';
|
import { setupI18n } from '/@/locales/setupI18n';
|
||||||
import { registerGlobComp } from '/@/components/registerGlobComp';
|
import { registerGlobComp } from '/@/components/registerGlobComp';
|
||||||
// import { registerThirdComp } from '/@/settings/registerThirdComp';
|
import { registerThirdComp } from '/@/settings/registerThirdComp';
|
||||||
import { useSso } from '/@/hooks/web/useSso';
|
import { useSso } from '/@/hooks/web/useSso';
|
||||||
// 注册online模块lib
|
// 注册online模块lib
|
||||||
import { registerPackages } from '/@/utils/monorepo/registerPackages';
|
import { registerPackages } from '/@/utils/monorepo/registerPackages';
|
||||||
|
@ -61,10 +61,10 @@ async function bootstrap() {
|
||||||
setupGlobDirectives(app);
|
setupGlobDirectives(app);
|
||||||
|
|
||||||
// 配置全局错误处理
|
// 配置全局错误处理
|
||||||
// setupErrorHandle(app);
|
setupErrorHandle(app);
|
||||||
|
|
||||||
// 注册第三方组件
|
// 注册第三方组件
|
||||||
// await registerThirdComp(app);
|
await registerThirdComp(app);
|
||||||
|
|
||||||
// 当路由准备好时再执行挂载( https://next.router.vuejs.org/api/#isready)
|
// 当路由准备好时再执行挂载( https://next.router.vuejs.org/api/#isready)
|
||||||
await router.isReady();
|
await router.isReady();
|
||||||
|
|
|
@ -4,6 +4,11 @@ import { rules} from '/@/utils/helper/validator';
|
||||||
import { render } from '/@/utils/common/renderUtils';
|
import { render } from '/@/utils/common/renderUtils';
|
||||||
//列表数据
|
//列表数据
|
||||||
export const columns: BasicColumn[] = [
|
export const columns: BasicColumn[] = [
|
||||||
|
{
|
||||||
|
title: '学年学期',
|
||||||
|
align: "center",
|
||||||
|
dataIndex: 'xqxn'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '学院',
|
title: '学院',
|
||||||
align: "center",
|
align: "center",
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { render } from '/@/utils/common/renderUtils';
|
||||||
//列表数据
|
//列表数据
|
||||||
export const columns: BasicColumn[] = [
|
export const columns: BasicColumn[] = [
|
||||||
{
|
{
|
||||||
title: '学期学年',
|
title: '学年学期',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'title'
|
dataIndex: 'title'
|
||||||
},
|
},
|
||||||
|
@ -30,7 +30,7 @@ export const columns: BasicColumn[] = [
|
||||||
//查询数据
|
//查询数据
|
||||||
export const searchFormSchema: FormSchema[] = [
|
export const searchFormSchema: FormSchema[] = [
|
||||||
{
|
{
|
||||||
label: "学期学年",
|
label: "学年学期",
|
||||||
field: 'title',
|
field: 'title',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
colProps: {span: 6},
|
colProps: {span: 6},
|
||||||
|
@ -52,7 +52,7 @@ export const searchFormSchema: FormSchema[] = [
|
||||||
//表单数据
|
//表单数据
|
||||||
export const formSchema: FormSchema[] = [
|
export const formSchema: FormSchema[] = [
|
||||||
{
|
{
|
||||||
label: '学期学年',
|
label: '学年学期',
|
||||||
field: 'title',
|
field: 'title',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<a-row>
|
<a-row>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-form-item label="学期学年" v-bind="validateInfos.title">
|
<a-form-item label="学年学期" v-bind="validateInfos.title">
|
||||||
<a-input v-model:value="formData.title" placeholder="请输入学期学年" :disabled="disabled"></a-input>
|
<a-input v-model:value="formData.title" placeholder="请输入学年学期" :disabled="disabled"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { render } from '/@/utils/common/renderUtils';
|
||||||
//列表数据
|
//列表数据
|
||||||
export const columns: BasicColumn[] = [
|
export const columns: BasicColumn[] = [
|
||||||
{
|
{
|
||||||
title: '学期学年',
|
title: '学年学期',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'xqxn'
|
dataIndex: 'xqxn'
|
||||||
},
|
},
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { render } from '/@/utils/common/renderUtils';
|
||||||
//列表数据
|
//列表数据
|
||||||
export const columns: BasicColumn[] = [
|
export const columns: BasicColumn[] = [
|
||||||
{
|
{
|
||||||
title: '学期学年',
|
title: '学年学期',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'xqxn'
|
dataIndex: 'xqxn'
|
||||||
},
|
},
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { render } from '/@/utils/common/renderUtils';
|
||||||
//列表数据
|
//列表数据
|
||||||
export const columns: BasicColumn[] = [
|
export const columns: BasicColumn[] = [
|
||||||
{
|
{
|
||||||
title: '学期学年',
|
title: '学年学期',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'xqxn'
|
dataIndex: 'xqxn'
|
||||||
},
|
},
|
||||||
|
|
|
@ -4,6 +4,11 @@ import { rules} from '/@/utils/helper/validator';
|
||||||
import { render } from '/@/utils/common/renderUtils';
|
import { render } from '/@/utils/common/renderUtils';
|
||||||
//列表数据
|
//列表数据
|
||||||
export const columns: BasicColumn[] = [
|
export const columns: BasicColumn[] = [
|
||||||
|
{
|
||||||
|
title: '学年学期',
|
||||||
|
align: "center",
|
||||||
|
dataIndex: 'xqxn',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '工号',
|
title: '工号',
|
||||||
align: "center",
|
align: "center",
|
||||||
|
|
|
@ -39,8 +39,8 @@
|
||||||
|
|
||||||
<vxe-toolbar>
|
<vxe-toolbar>
|
||||||
<template #buttons>
|
<template #buttons>
|
||||||
<a-button type="primary" class="pl1r" @click="handleAdd" preIcon="ant-design:plus-outlined" v-if="!props.isNoSearch"> 新增</a-button>
|
<a-button type="primary" class="pl1r" @click="handleAdd" preIcon="ant-design:plus-outlined" > 新增</a-button>
|
||||||
<a-button type="primary" class="pl1r" @click="handleYichu" preIcon="ant-design:plus-outlined" v-if="!props.isNoSearch"> 移除</a-button>
|
<a-button type="primary" class="pl1r" @click="handleYichu" preIcon="ant-design:plus-outlined" > 移除</a-button>
|
||||||
</template>
|
</template>
|
||||||
</vxe-toolbar>
|
</vxe-toolbar>
|
||||||
<JVxeTable
|
<JVxeTable
|
||||||
|
@ -138,6 +138,7 @@ import { JDictSelectTag,JInput } from '/@/components/Form';
|
||||||
let { current, pageSize } = pagination;
|
let { current, pageSize } = pagination;
|
||||||
let param = {szkc:'1', column: 'createTime', order: 'desc', pageNo: current, pageSize, ...queryParam.value, ...filterInfo.value, ...props.searchParam }
|
let param = {szkc:'1', column: 'createTime', order: 'desc', pageNo: current, pageSize, ...queryParam.value, ...filterInfo.value, ...props.searchParam }
|
||||||
list(filterObj(param)).then(res => {
|
list(filterObj(param)).then(res => {
|
||||||
|
console.log(`🚀 ~ file: KcKechengbiaoList.vue:141 ~ list ~ res:`, res)
|
||||||
dataSource.value = res?.records??[];
|
dataSource.value = res?.records??[];
|
||||||
pagination.total = res?.total??0;
|
pagination.total = res?.total??0;
|
||||||
//如果是隐藏模式,则直接选中
|
//如果是隐藏模式,则直接选中
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { render } from '/@/utils/common/renderUtils';
|
||||||
//列表数据
|
//列表数据
|
||||||
export const columns: BasicColumn[] = [
|
export const columns: BasicColumn[] = [
|
||||||
{
|
{
|
||||||
title: '学期学年',
|
title: '学年学期',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'xqxn'
|
dataIndex: 'xqxn'
|
||||||
},
|
},
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
<a-form @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
|
<a-form @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :lg="8">
|
<a-col :lg="8">
|
||||||
<a-form-item label="学期学年">
|
<a-form-item label="学年学期">
|
||||||
<j-dict-select-tag placeholder="请选择学期学年" v-model:value="queryParam.xqxn" dictCode="kc_xqxn_history,title,title,true order by start_time desc"/>
|
<j-dict-select-tag placeholder="请选择学年学期" v-model:value="queryParam.xqxn" dictCode="kc_xqxn_history,title,title,true order by start_time desc"/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :lg="8">
|
<a-col :lg="8">
|
||||||
|
|
|
@ -4,6 +4,11 @@ import { rules} from '/@/utils/helper/validator';
|
||||||
import { render } from '/@/utils/common/renderUtils';
|
import { render } from '/@/utils/common/renderUtils';
|
||||||
//列表数据
|
//列表数据
|
||||||
export const columns: BasicColumn[] = [
|
export const columns: BasicColumn[] = [
|
||||||
|
{
|
||||||
|
title: '学年学期',
|
||||||
|
align: "center",
|
||||||
|
dataIndex: 'xqxn'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '编号',
|
title: '编号',
|
||||||
align: "center",
|
align: "center",
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
<a-form @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
|
<a-form @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :lg="8">
|
<a-col :lg="8">
|
||||||
<a-form-item label="学期学年">
|
<a-form-item label="学年学期">
|
||||||
<j-dict-select-tag placeholder="请选择学期学年" v-model:value="queryParam.xqxn" dictCode="kc_xqxn_history,title,title,true order by start_time desc"/>
|
<j-dict-select-tag placeholder="请选择学年学期" v-model:value="queryParam.xqxn" dictCode="kc_xqxn_history,title,title,true order by start_time desc"/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :lg="8">
|
<a-col :lg="8">
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { log } from 'console';
|
||||||
//列表数据
|
//列表数据
|
||||||
export const columns: BasicColumn[] = [
|
export const columns: BasicColumn[] = [
|
||||||
{
|
{
|
||||||
title: '学期学年',
|
title: '学年学期',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'xqxn'
|
dataIndex: 'xqxn'
|
||||||
},
|
},
|
||||||
|
@ -153,7 +153,7 @@ export const columns: BasicColumn[] = [
|
||||||
//查询数据
|
//查询数据
|
||||||
export const searchFormSchema: FormSchema[] = [
|
export const searchFormSchema: FormSchema[] = [
|
||||||
{
|
{
|
||||||
label: "学期学年",
|
label: "学年学期",
|
||||||
field: 'xqxn',
|
field: 'xqxn',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
colProps: {span: 6},
|
colProps: {span: 6},
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
<a-form @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
|
<a-form @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :lg="8">
|
<a-col :lg="8">
|
||||||
<a-form-item label="学期学年">
|
<a-form-item label="学年学期">
|
||||||
<j-dict-select-tag placeholder="请选择学期学年" v-model:value="queryParam.xqxn" dictCode="kc_xqxn_history,title,title,true order by start_time desc"/>
|
<j-dict-select-tag placeholder="请选择学年学期" v-model:value="queryParam.xqxn" dictCode="kc_xqxn_history,title,title,true order by start_time desc"/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :lg="8">
|
<a-col :lg="8">
|
||||||
|
|
|
@ -93,14 +93,14 @@ function loadData(num?) {
|
||||||
pageNo.value = 1
|
pageNo.value = 1
|
||||||
listData.value = [];
|
listData.value = [];
|
||||||
}
|
}
|
||||||
// queryParam.value.pageSize = '4'
|
queryParam.value.pageSize = '4'
|
||||||
// queryParam.value.pageNo = pageNo
|
queryParam.value.pageNo = pageNo
|
||||||
// queryParam.value.sfyzhjs = '1'
|
queryParam.value.sfyzhjs = '1'
|
||||||
// queryParam.value.hh = queryParam.value.jieci+","+queryParam.value.jieci.split("、").join(',')
|
queryParam.value.hh = queryParam.value.jieci+","+queryParam.value.jieci.split("、").join(',')
|
||||||
// queryParam.value.skrq = queryParam.value.ywTime
|
queryParam.value.skrq = queryParam.value.ywTime
|
||||||
// queryParam.value.userid = getUserId()
|
queryParam.value.userid = getUserId()
|
||||||
// queryParam.value.skxs = 1
|
queryParam.value.skxs = 1
|
||||||
// queryParam.value.type = 1
|
queryParam.value.type = 1
|
||||||
queryParam.value.ywskxs = ''
|
queryParam.value.ywskxs = ''
|
||||||
console.log(`🚀 ~ file: index.vue:112 ~ rkbLoadData ~ newRow:`, queryParam)
|
console.log(`🚀 ~ file: index.vue:112 ~ rkbLoadData ~ newRow:`, queryParam)
|
||||||
|
|
||||||
|
|
|
@ -83,7 +83,7 @@ onMounted(() => {
|
||||||
let skrq = formatToDate(new Date());
|
let skrq = formatToDate(new Date());
|
||||||
sjtime.value = skrq
|
sjtime.value = skrq
|
||||||
sjtitle.value = formatToWeekOne(new Date());
|
sjtitle.value = formatToWeekOne(new Date());
|
||||||
list({ skrq,userId:getUserId() }).then(res => {
|
list({ skrq,userid:getUserId() }).then(res => {
|
||||||
console.log(`🚀 ~ file: index.vue:83 ~ list ~ res:`, res)
|
console.log(`🚀 ~ file: index.vue:83 ~ list ~ res:`, res)
|
||||||
listData.value = res?.records;
|
listData.value = res?.records;
|
||||||
console.log(`🚀 ~ file: index.vue:85 ~ list ~ listData.value:`, listData.value)
|
console.log(`🚀 ~ file: index.vue:85 ~ list ~ listData.value:`, listData.value)
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
</div>
|
</div>
|
||||||
<a-row :gutter="[16,16]">
|
<a-row :gutter="[16,16]">
|
||||||
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }" class="dictBox">
|
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }" class="dictBox">
|
||||||
<j-dict-select-tag v-model:value="queryParam.xnxq" dictCode="kc_xqxn_history,title,title,true order by start_time desc" placeholder="请选择学期学年" style="width: 100%;"/>
|
<j-dict-select-tag v-model:value="queryParam.xnxq" dictCode="kc_xqxn_history,title,title,true order by start_time desc" placeholder="请选择学年学期" style="width: 100%;"/>
|
||||||
</a-col>
|
</a-col>
|
||||||
<!-- <a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }">
|
<!-- <a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }">
|
||||||
<a-date-picker placeholder="请选择开始日期" format="YYYY-MM-DD" valueFormat="YYYY-MM-DD" v-model:value="queryParam.startDate" style="width: 100%" />
|
<a-date-picker placeholder="请选择开始日期" format="YYYY-MM-DD" valueFormat="YYYY-MM-DD" v-model:value="queryParam.startDate" style="width: 100%" />
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
</div>
|
</div>
|
||||||
<a-row :gutter="[16,16]">
|
<a-row :gutter="[16,16]">
|
||||||
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }" class="dictBox">
|
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }" class="dictBox">
|
||||||
<j-dict-select-tag v-model:value="queryParam.xnxq" dictCode="kc_xqxn_history,title,title,true order by start_time desc" placeholder="请选择学期学年" style="width: 100%;"/>
|
<j-dict-select-tag v-model:value="queryParam.xnxq" dictCode="kc_xqxn_history,title,title,true order by start_time desc" placeholder="请选择学年学期" style="width: 100%;"/>
|
||||||
</a-col>
|
</a-col>
|
||||||
<!-- <a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }">
|
<!-- <a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }">
|
||||||
<a-date-picker placeholder="请选择开始日期" format="YYYY-MM-DD" valueFormat="YYYY-MM-DD" v-model:value="queryParam.upDate_begin" style="width: 100%" />
|
<a-date-picker placeholder="请选择开始日期" format="YYYY-MM-DD" valueFormat="YYYY-MM-DD" v-model:value="queryParam.upDate_begin" style="width: 100%" />
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }" >
|
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }" >
|
||||||
<a-form-item label="" style="padding: 10px;">
|
<a-form-item label="" style="padding: 10px;">
|
||||||
<j-dict-select-tag v-model:value="queryParam.xnxq" dictCode="kc_xqxn_history,title,title,true order by start_time desc" placeholder="请选择学期学年" style="width: 100%;"/>
|
<j-dict-select-tag v-model:value="queryParam.xnxq" dictCode="kc_xqxn_history,title,title,true order by start_time desc" placeholder="请选择学年学期" style="width: 100%;"/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<!-- <a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }">
|
<!-- <a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }">
|
||||||
|
|
Loading…
Reference in New Issue