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