|
|
|
@ -4,27 +4,29 @@ |
|
|
|
|
<a-row> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-item label="年度" v-bind="validateInfos.annualid"> |
|
|
|
|
<j-dict-select-tag v-model:value="formData.annualid" dictCode="annual,annual_name,id" placeholder="请选择年度" :disabled="disabled"/> |
|
|
|
|
<j-dict-select-tag v-model:value="formData.annualid" dictCode="annual,annual_name,id" placeholder="请选择年度" |
|
|
|
|
:disabled="disabled || isT" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-item label="年度比赛" v-bind="validateInfos.annalComp"> |
|
|
|
|
<j-search-select v-model:value="formData.annalComp" :dict="strst" :disabled="disabled" /> |
|
|
|
|
<j-search-select v-model:value="formData.annalComp" :dict="strst" :disabled="disabled || isT" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-item label="年度比赛项目" v-bind="validateInfos.annualCompP"> |
|
|
|
|
<j-search-select v-model:value="formData.annualCompP" :dict="ndbsxm" :disabled="disabled" /> |
|
|
|
|
<j-search-select v-model:value="formData.annualCompP" :dict="ndbsxm" :disabled="disabled || isT" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-item label="报名编号" v-bind="validateInfos.enrollCode"> |
|
|
|
|
<a-input v-model:value="formData.enrollCode" placeholder="请输入报名编号" :disabled="disabled"></a-input> |
|
|
|
|
<a-input v-model:value="formData.enrollCode" placeholder="请输入报名编号" :disabled="disabled || isT"></a-input> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-item label="奖项名称" v-bind="validateInfos.awardname"> |
|
|
|
|
<j-dict-select-tag v-model:value="formData.awardname" dictCode="" :options="options" placeholder="请选择奖项名称" :disabled="disabled"/> |
|
|
|
|
<j-dict-select-tag v-model:value="formData.awardname" dictCode="" :options="options" placeholder="请选择奖项名称" |
|
|
|
|
:disabled="disabled" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<!-- <a-col :span="24"> |
|
|
|
@ -133,6 +135,13 @@ |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 特定的禁用 |
|
|
|
|
*/ |
|
|
|
|
let isT = ref(false) |
|
|
|
|
function setIsT(bool=false){ |
|
|
|
|
isT.value=bool |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 新增 |
|
|
|
@ -205,6 +214,7 @@ |
|
|
|
|
add, |
|
|
|
|
edit, |
|
|
|
|
submitForm, |
|
|
|
|
setIsT |
|
|
|
|
}); |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|