|
|
@ -2,7 +2,7 @@ |
|
|
|
<a-spin :spinning="confirmLoading"> |
|
|
|
<a-spin :spinning="confirmLoading"> |
|
|
|
<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.annualCompid"> |
|
|
|
<a-form-item label="年度比赛项目" v-bind="validateInfos.annualCompid"> |
|
|
|
<j-popup |
|
|
|
<j-popup |
|
|
|
placeholder="请选择年度比赛项目" |
|
|
|
placeholder="请选择年度比赛项目" |
|
|
@ -16,7 +16,14 @@ |
|
|
|
:setFieldsValue="setFieldsValue" |
|
|
|
:setFieldsValue="setFieldsValue" |
|
|
|
:disabled="disabled" /> |
|
|
|
:disabled="disabled" /> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
|
|
|
|
</a-col>--> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-col :span="24"> |
|
|
|
|
|
|
|
<a-form-item label="年度比赛项目" v-bind="validateInfos.annualCompid"> |
|
|
|
|
|
|
|
<j-search-select v-model:value="formData.annualCompid" dict="annual_comp_point,obj_name,id" disabled="true"/> |
|
|
|
|
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
|
|
|
|
|
|
|
|
<a-col :span="24"> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-form-item label="题目编号" v-bind="validateInfos.number"> |
|
|
|
<a-form-item label="题目编号" v-bind="validateInfos.number"> |
|
|
|
<a-input v-model:value="formData.number" placeholder="请输入题目编号" :disabled="disabled" @change="change"></a-input> |
|
|
|
<a-input v-model:value="formData.number" placeholder="请输入题目编号" :disabled="disabled" @change="change"></a-input> |
|
|
@ -48,6 +55,7 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup> |
|
|
|
<script lang="ts" setup> |
|
|
|
|
|
|
|
import JSearchSelect from '/@/components/Form/src/jeecg/components/JSearchSelect.vue'; |
|
|
|
import { ref, reactive, defineExpose, nextTick, defineProps, computed, onMounted } from 'vue'; |
|
|
|
import { ref, reactive, defineExpose, nextTick, defineProps, computed, onMounted } from 'vue'; |
|
|
|
import { defHttp } from '/@/utils/http/axios'; |
|
|
|
import { defHttp } from '/@/utils/http/axios'; |
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
@ -62,9 +70,6 @@ import {useRoute} from "vue-router"; |
|
|
|
import {demoArticleListApi} from "/@/api/demo/mainHome"; |
|
|
|
import {demoArticleListApi} from "/@/api/demo/mainHome"; |
|
|
|
const $Route = useRoute() |
|
|
|
const $Route = useRoute() |
|
|
|
//把路由中的数据转化到组件中 |
|
|
|
//把路由中的数据转化到组件中 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const props = defineProps({ |
|
|
|
const props = defineProps({ |
|
|
|
formDisabled: { type: Boolean, default: false }, |
|
|
|
formDisabled: { type: Boolean, default: false }, |
|
|
|
formData: { type: Object, default: ()=>{} }, |
|
|
|
formData: { type: Object, default: ()=>{} }, |
|
|
@ -83,6 +88,7 @@ const formData = reactive<Record<string, any>>({ |
|
|
|
status: undefined, |
|
|
|
status: undefined, |
|
|
|
isopen: '', |
|
|
|
isopen: '', |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
routrtodate(); |
|
|
|
const { createMessage } = useMessage(); |
|
|
|
const { createMessage } = useMessage(); |
|
|
|
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } }); |
|
|
|
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } }); |
|
|
|
const wrapperCol = ref<any>({ xs: { span: 24 }, sm: { span: 16 } }); |
|
|
|
const wrapperCol = ref<any>({ xs: { span: 24 }, sm: { span: 16 } }); |
|
|
|