Commit 156270f6 by zhaochengxiang

bug fix

parent c500361d
......@@ -573,7 +573,7 @@ export function getCooperationUsers() {
/*approval*/
export function addPhysicalModelApproval(payload) {
return PostJSON("/datamodeler/easyDataModelerApproval/addPhysicalModelApproval", payload)
return Post("/datamodeler/easyDataModelerApproval/addPhysicalModelApproval", payload)
}
export function getPhysicalModelApproval(payload) {
return GetJSON("/datamodeler/easyDataModelerApproval/getPhysicalModelApprovalById", payload)
......
......@@ -3,7 +3,7 @@ import { Modal, Button, Spin, Form, Input, Select, Space, Radio, Row, Col, Uploa
import { UploadOutlined } from '@ant-design/icons'
import { useDebounceEffect } from 'ahooks'
import { isSzseEnv, showMessage } from '../../../../util'
import { isSzseEnv, showMessage, showNotifaction } from '../../../../util'
import Table from '../../../../util/Component/Table'
import produce from 'immer'
import { Action, CatalogId, Editable, Holder, ModelerId, PermitCheckOut, ReadOnly, StateId } from '../../../../util/constant'
......@@ -43,6 +43,10 @@ const FC = (props) => {
},
},
callback: (data) => {
if (data) {
showNotifaction('送审提示', data, 5);
}
close(data)
},
error: () => {
......@@ -377,7 +381,7 @@ const List = React.forwardRef(function ({ items }, ref) {
onChange={(e) => {
setTableData(prev => {
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