fix : 修改细节

This commit is contained in:
2024-05-19 16:19:53 +08:00
parent 3bd6df74cc
commit 5421145583
7 changed files with 33 additions and 15 deletions

View File

@@ -250,7 +250,7 @@ const handleSubmit = async (instance) => {
})
}
const handleResubmit = () => {
resubmit(submitParam()).then(res => {
resubmit(submitParam(formData.value)).then(res => {
if (res.code === 1000) {
ElMessage.success(res.msg)
tagsViewStore.delVisitedViews(router.currentRoute.value.path)

View File

@@ -87,8 +87,6 @@ const tableConfig = reactive({
let btn = [{label: '详情', func: () => handleDetail(row), type: 'primary'}]
if (row.state === '3' || row.state === '2') {
btn.push({label: '编辑', func: () => handleEdit(row), type: 'primary'})
} else if (row.state === '4') {
btn.push({label: '上报', func: () => handleReport(row), type: 'primary'})
}
return (
<div style={{width: '100%'}}>