fix : 修复页面细节

This commit is contained in:
2024-05-31 20:56:58 +08:00
parent 5a1e1848cb
commit 5ae8e4be78
32 changed files with 550 additions and 167 deletions

View File

@@ -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()
}

View File

@@ -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%'}}>
{

View File

@@ -0,0 +1,11 @@
<template>
<tag-and-file-upload :showInput="true"/>
</template>
<script setup lang="jsx">
</script>
<style scoped>
</style>