提交 9cfa7237 authored 作者: 钟是志's avatar 钟是志

优化代码

上级 cd317164
...@@ -205,6 +205,7 @@ class Index extends React.Component { ...@@ -205,6 +205,7 @@ class Index extends React.Component {
} }
} }
} }
console.log(columns);
return ( return (
<AuditPage <AuditPage
hasBatchAudit={hasBatchAudit} hasBatchAudit={hasBatchAudit}
......
...@@ -30,8 +30,8 @@ export default function prepareShow(postData = {}, content = '', otherParams = { ...@@ -30,8 +30,8 @@ export default function prepareShow(postData = {}, content = '', otherParams = {
window.Modal = Modal; window.Modal = Modal;
window.moment = moment; window.moment = moment;
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
// console.log(agg?.unifiedServicePatternModel?.id); // 表单id; console.log(agg?.unifiedServicePatternModel?.id); // 表单id;
if (agg?.unifiedServicePatternModel?.id && (test || getUserInfo().stuNo === 'admin')) { if (agg?.unifiedServicePatternModel?.id && localStorage.getItem('errDetail') === '1') {
const SystemConfig = window.specialImportantSystemConfig || {}; const SystemConfig = window.specialImportantSystemConfig || {};
console.log('%c' + `${SystemConfig?.gateWayPort}/onestop/#/admin/processServices/modelConfig/templateDetail/designById?id=${agg.unifiedServicePatternModel.id}&token=${getToken()}`, 'color: green;background: white;font-size: 14px'); console.log('%c' + `${SystemConfig?.gateWayPort}/onestop/#/admin/processServices/modelConfig/templateDetail/designById?id=${agg.unifiedServicePatternModel.id}&token=${getToken()}`, 'color: green;background: white;font-size: 14px');
console.log('%c' + `${SystemConfig?.gateWayPort}/wisdomYsgz/#/designFormByUrl?id=${agg.unifiedServicePatternModel.id}&token=${getToken()}`, 'color: green;background: white;font-size: 14px'); console.log('%c' + `${SystemConfig?.gateWayPort}/wisdomYsgz/#/designFormByUrl?id=${agg.unifiedServicePatternModel.id}&token=${getToken()}`, 'color: green;background: white;font-size: 14px');
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论