fix : 修复页面细节
This commit is contained in:
@@ -128,6 +128,12 @@ const handleSubmit = (instance) => {
|
||||
instance.validate(async (valid) => {
|
||||
if (JSON.stringify(file.value) === "{}") {
|
||||
attachment.value.validate()
|
||||
ElNotification({
|
||||
title: '提示',
|
||||
message: '请上传申请书附件',
|
||||
type: 'error'
|
||||
})
|
||||
return;
|
||||
} else {
|
||||
attachment.value.clearValidate()
|
||||
}
|
||||
@@ -170,6 +176,7 @@ const handleResubmit = async () => {
|
||||
let fileArray
|
||||
if (JSON.stringify(file.value) === "{}" || attachment.value.singleFile === null) {
|
||||
attachment.value.validate()
|
||||
return;
|
||||
} else {
|
||||
attachment.value.clearValidate()
|
||||
}
|
||||
|
||||
@@ -166,7 +166,7 @@ const tableConfig = reactive({
|
||||
},
|
||||
{
|
||||
prop: 'economicEstimate',
|
||||
label: '经济概况',
|
||||
label: '经济概算',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
@@ -212,9 +212,9 @@ const tableConfig = reactive({
|
||||
// if (buttons.has("delete")) {
|
||||
// btn.push({label: '删除',prem: ['mosr:requirement:del'], func: () => handleDelete(row), type: 'primary'})
|
||||
// }
|
||||
if (buttons.has("apply")) {
|
||||
// if (buttons.has("apply")) {
|
||||
btn.push({label: '申请',prem: ['mosr:requirement:info'], func: () => handleApply(row), type: 'primary'})
|
||||
}
|
||||
// }
|
||||
return (
|
||||
<div style={{width: '100%'}}>
|
||||
{
|
||||
|
||||
11
src/views/project-management/initiation/upload.vue
Normal file
11
src/views/project-management/initiation/upload.vue
Normal file
@@ -0,0 +1,11 @@
|
||||
<template>
|
||||
<tag-and-file-upload :showInput="true"/>
|
||||
</template>
|
||||
|
||||
<script setup lang="jsx">
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user