Commit 156270f6 by zhaochengxiang

bug fix

parent c500361d
...@@ -573,7 +573,7 @@ export function getCooperationUsers() { ...@@ -573,7 +573,7 @@ export function getCooperationUsers() {
/*approval*/ /*approval*/
export function addPhysicalModelApproval(payload) { export function addPhysicalModelApproval(payload) {
return PostJSON("/datamodeler/easyDataModelerApproval/addPhysicalModelApproval", payload) return Post("/datamodeler/easyDataModelerApproval/addPhysicalModelApproval", payload)
} }
export function getPhysicalModelApproval(payload) { export function getPhysicalModelApproval(payload) {
return GetJSON("/datamodeler/easyDataModelerApproval/getPhysicalModelApprovalById", payload) return GetJSON("/datamodeler/easyDataModelerApproval/getPhysicalModelApprovalById", payload)
......
...@@ -3,7 +3,7 @@ import { Modal, Button, Spin, Form, Input, Select, Space, Radio, Row, Col, Uploa ...@@ -3,7 +3,7 @@ import { Modal, Button, Spin, Form, Input, Select, Space, Radio, Row, Col, Uploa
import { UploadOutlined } from '@ant-design/icons' import { UploadOutlined } from '@ant-design/icons'
import { useDebounceEffect } from 'ahooks' import { useDebounceEffect } from 'ahooks'
import { isSzseEnv, showMessage } from '../../../../util' import { isSzseEnv, showMessage, showNotifaction } from '../../../../util'
import Table from '../../../../util/Component/Table' import Table from '../../../../util/Component/Table'
import produce from 'immer' import produce from 'immer'
import { Action, CatalogId, Editable, Holder, ModelerId, PermitCheckOut, ReadOnly, StateId } from '../../../../util/constant' import { Action, CatalogId, Editable, Holder, ModelerId, PermitCheckOut, ReadOnly, StateId } from '../../../../util/constant'
...@@ -43,6 +43,10 @@ const FC = (props) => { ...@@ -43,6 +43,10 @@ const FC = (props) => {
}, },
}, },
callback: (data) => { callback: (data) => {
if (data) {
showNotifaction('送审提示', data, 5);
}
close(data) close(data)
}, },
error: () => { error: () => {
...@@ -377,7 +381,7 @@ const List = React.forwardRef(function ({ items }, ref) { ...@@ -377,7 +381,7 @@ const List = React.forwardRef(function ({ items }, ref) {
onChange={(e) => { onChange={(e) => {
setTableData(prev => { setTableData(prev => {
return produce(prev, (draft) => { return produce(prev, (draft) => {
draft[index].reviewRemark = e.target.value draft[index].sendReviewComment = e.target.value
}) })
}) })
}} }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment