最少50字
This commit is contained in:
parent
a2267a59bb
commit
c4597f6cbd
|
@ -48,14 +48,14 @@
|
|||
{{ dataForm.content.applicationBackground || '--' }}</span
|
||||
></span>
|
||||
</p>
|
||||
<p>
|
||||
<!-- <p>
|
||||
<span>
|
||||
能力应用期望效果:<span>
|
||||
{{ dataForm.content.effectWish || '--' }}</span
|
||||
></span
|
||||
>
|
||||
</p>
|
||||
<p v-if="dataForm.content.enclosure" class="lastP">
|
||||
</p> -->
|
||||
<!-- <p v-if="dataForm.content.enclosure" class="lastP">
|
||||
<span>
|
||||
申请附件:<span>
|
||||
{{ dataForm.content.enclosure || '--'
|
||||
|
@ -64,7 +64,7 @@
|
|||
</button></span
|
||||
></span
|
||||
>
|
||||
</p>
|
||||
</p> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -82,6 +82,7 @@
|
|||
<a-select
|
||||
v-model:value="formName.applicationSystem"
|
||||
show-search
|
||||
mode="tags"
|
||||
placeholder="请输入关键字"
|
||||
style="width: 200px"
|
||||
:options="systemOptions"
|
||||
|
@ -114,7 +115,10 @@
|
|||
<a-form-item
|
||||
label="应用背景"
|
||||
name="applicationBackground"
|
||||
:rules="[{ required: true, message: '请输入应用背景' }]"
|
||||
:rules="[
|
||||
{ required: true, message: '请输入应用背景' },
|
||||
{ min: 50, message: '应用背景最少为50个字' },
|
||||
]"
|
||||
>
|
||||
<a-textarea
|
||||
placeholder="请输入应用背景"
|
||||
|
@ -123,7 +127,7 @@
|
|||
/>
|
||||
</a-form-item>
|
||||
</div>
|
||||
<div>
|
||||
<!-- <div>
|
||||
<a-form-item
|
||||
label="期望效果"
|
||||
name="effectWish"
|
||||
|
@ -135,8 +139,8 @@
|
|||
:rows="4"
|
||||
/>
|
||||
</a-form-item>
|
||||
</div>
|
||||
<a-form-item
|
||||
</div> -->
|
||||
<!-- <a-form-item
|
||||
style="color: #666; font-size: 16px"
|
||||
label="申请单附件"
|
||||
name="applyDoc"
|
||||
|
@ -175,7 +179,7 @@
|
|||
<div style="margin-top: 8px">上传限一个文件</div>
|
||||
</div>
|
||||
</a-upload>
|
||||
</a-form-item>
|
||||
</a-form-item> -->
|
||||
<div class="bottom-btn">
|
||||
<a-button
|
||||
style="
|
||||
|
@ -313,7 +317,7 @@
|
|||
num.value > 1 ? '等能力申请' + num.value + '个' : '能力申请'
|
||||
)
|
||||
: list.value[0].arr[0].resourceName.concat('能力申请'), // 标题
|
||||
applicationSystem: '', // 应用系统
|
||||
applicationSystem: [], // 应用系统
|
||||
// applicationSystem: [], // 应用系统
|
||||
applicationScene: [], // 应用领域
|
||||
applicationBackground: '', // 应用背景
|
||||
|
@ -334,7 +338,7 @@
|
|||
getApplyForm(id).then((res) => {
|
||||
console.log('修改==============>', res.data.data)
|
||||
// formName.id = res.data.data.id || ''
|
||||
formName.applicationSystem = res.data.data.applicationSystem || ''
|
||||
formName.applicationSystem = res.data.data.applicationSystem || []
|
||||
formName.applicationScene = res.data.data.applicationScene || []
|
||||
formName.applicationBackground =
|
||||
res.data.data.applicationBackground || ''
|
||||
|
@ -502,7 +506,7 @@
|
|||
)
|
||||
if (formName.system.length !== 0) {
|
||||
if (formName.applicationSystem.length == 0) {
|
||||
formName.applicationSystem = ''
|
||||
formName.applicationSystem = []
|
||||
}
|
||||
submitApply(formName).then((res) => {
|
||||
// applySuccess.value = false
|
||||
|
@ -644,7 +648,7 @@
|
|||
)
|
||||
if (formName.system.length !== 0) {
|
||||
if (formName.applicationSystem.length == 0) {
|
||||
formName.applicationSystem = ''
|
||||
formName.applicationSystem = []
|
||||
}
|
||||
submitApply(formName).then((res) => {
|
||||
// applySuccess.value = false
|
||||
|
@ -678,7 +682,7 @@
|
|||
}
|
||||
}
|
||||
} else {
|
||||
formName.applicationSystem = ''
|
||||
formName.applicationSystem = []
|
||||
applyAllApplication(formName).then((res) => {
|
||||
if (res.data.code == 0) {
|
||||
message.success('申请提交成功,请到消息中心查看!')
|
||||
|
|
Loading…
Reference in New Issue