提交 902977ea authored 作者: 钟是志's avatar 钟是志

垃圾代码删除

上级 02a7c19a
...@@ -91,6 +91,9 @@ const submitValues = ({ ...@@ -91,6 +91,9 @@ const submitValues = ({
}; };
payload = callbackSubmitData(payload); payload = callbackSubmitData(payload);
return ;
dispatch({ dispatch({
type: 'affair/getExamineProcess', type: 'affair/getExamineProcess',
payload, payload,
......
export function callbackSubmitData(infoData) { export function callbackSubmitData(infoData) {
console.log(infoData); // console.log(infoData);
if (window.callbackSubmitInfoZhiYong && typeof window.callbackSubmitInfoZhiYong === 'function') { if (window.callbackSubmitInfoZhiYong && typeof window.callbackSubmitInfoZhiYong === 'function') {
infoData = window.callbackSubmitInfoZhiYong({ // 返回新的值就行了. infoData = window.callbackSubmitInfoZhiYong({ // 返回新的值就行了.
postData: infoData, // postData: infoData, //
...@@ -16,7 +16,7 @@ export function callbackSubmitData(infoData) { ...@@ -16,7 +16,7 @@ export function callbackSubmitData(infoData) {
} }
export function callbackApplyData(infoData) { // 流程发起的回调函数 export function callbackApplyData(infoData) { // 流程发起的回调函数
console.log(infoData); // console.log(infoData);
if (window.callbackApplyDataInfoZhiYong && typeof window.callbackApplyDataInfoZhiYong === 'function') { if (window.callbackApplyDataInfoZhiYong && typeof window.callbackApplyDataInfoZhiYong === 'function') {
infoData = window.callbackApplyDataInfoZhiYong({ // 返回新的值就行了. infoData = window.callbackApplyDataInfoZhiYong({ // 返回新的值就行了.
postData: infoData, // postData: infoData, //
......
...@@ -1450,7 +1450,7 @@ export default class tableCom extends Component { ...@@ -1450,7 +1450,7 @@ export default class tableCom extends Component {
const disabled = json != null ? json.disabled : false; const disabled = json != null ? json.disabled : false;
const permRank = json != null ? (json.permRank != null ? json.permRank : 0) : 0; const permRank = json != null ? (json.permRank != null ? json.permRank : 0) : 0;
if (json?.label === '账号') { if (json?.label === '账号') {
console.log(json); // console.log(json);
} }
if (json == null) { if (json == null) {
return <></>; return <></>;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论