1、个人年度积分功能开发

dev
zhc077 1 year ago
parent a3b7102024
commit 8b4abf4a91
  1. 8
      jeecgboot-vue3-master/src/views/annualScore/PersonalCompScore.data.ts
  2. 14
      jeecgboot-vue3-master/src/views/annualScore/PersonalCompScoreList.vue

@ -87,10 +87,10 @@ export const searchFormSchema: FormSchema[] = [
//表单数据 //表单数据
export const formSchema: FormSchema[] = [ export const formSchema: FormSchema[] = [
{ {
label: '学号777', label: '学号',
field: 'workOn', field: 'workOn',
component: 'Input', component: 'Input',
readonly:true // readonly:true
}, },
{ {
label: '姓名', label: '姓名',
@ -111,13 +111,13 @@ export const formSchema: FormSchema[] = [
label: '年度比赛项目', label: '年度比赛项目',
field: 'annualCompP', field: 'annualCompP',
component: 'Input', component: 'Input',
componentProps: { readOnly: true }, // componentProps: { readOnly: true },
}, },
{ {
label: '个人积分', label: '个人积分',
field: 'score', field: 'score',
component: 'InputNumber', component: 'InputNumber',
isFieldEditable: false, // isFieldEditable: false,
}, },
{ {
label: '备注', label: '备注',

@ -1,14 +1,14 @@
<template> <template>
<div> <div>
<!--查询区域--> <!--查询区域-->
<div class="jeecg-basic-table-form-container"> <!-- <div class="jeecg-basic-table-form-container">
<a-form ref="formRef" @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol"> <a-form ref="formRef" @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
<a-row :gutter="24"> <a-row :gutter="24">
<!-- <a-col :lg="8">--> &lt;!&ndash; <a-col :lg="8">&ndash;&gt;
<!-- <a-form-item label="院系" name="depet">--> &lt;!&ndash; <a-form-item label="院系" name="depet">&ndash;&gt;
<!-- <j-dict-select-tag placeholder="请选择院系" v-model:value="queryParam.depet" dictCode="sys_dept,dept_name,id"/>--> &lt;!&ndash; <j-dict-select-tag placeholder="请选择院系" v-model:value="queryParam.depet" dictCode="sys_dept,dept_name,id"/>&ndash;&gt;
<!-- </a-form-item>--> &lt;!&ndash; </a-form-item>&ndash;&gt;
<!-- </a-col>--> &lt;!&ndash; </a-col>&ndash;&gt;
<a-col :lg="8"> <a-col :lg="8">
<a-form-item label="年度" name="annal_id"> <a-form-item label="年度" name="annal_id">
<j-dict-select-tag placeholder="请选择年度" v-model:value="queryParam.annal_id" dictCode="annual,annual_name,id"/> <j-dict-select-tag placeholder="请选择年度" v-model:value="queryParam.annal_id" dictCode="annual,annual_name,id"/>
@ -29,7 +29,7 @@
</a-col> </a-col>
</a-row> </a-row>
</a-form> </a-form>
</div> </div>-->
<!--引用表格--> <!--引用表格-->
<BasicTable @register="registerTable" :rowSelection="rowSelection"> <BasicTable @register="registerTable" :rowSelection="rowSelection">
<!--插槽:table标题--> <!--插槽:table标题-->

Loading…
Cancel
Save