Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
WebPublic
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
前端开发小组
WebPublic
Commits
cc664183
提交
cc664183
authored
3月 31, 2023
作者:
钟是志
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
删除console.log
上级
c361efc3
隐藏空白字符变更
内嵌
并排
正在显示
24 个修改的文件
包含
0 行增加
和
55 行删除
+0
-55
index.js
FormInsertDiy/AffairPage/ApplyPage/index.js
+0
-4
List.js
FormInsertDiy/AffairPage/AuditPage/List.js
+0
-1
index.js
FormInsertDiy/AffairPage/AuditPage/index.js
+0
-4
QueryItem.js
FormInsertDiy/Export/QueryItem.js
+0
-1
ActiveMenuComponent.js
FormInsertDiy/ExportComponent/ActiveMenuComponent.js
+0
-1
CheckRecord.js
FormInsertDiy/ExportComponent/CheckRecord.js
+0
-2
CheckRecordMerge.js
FormInsertDiy/ExportComponent/CheckRecordMerge.js
+0
-2
SplitBase16Index.js
one_stop_public/Base16/SplitBase16Index.js
+0
-4
Image.js
...ublic/DetailForAudit/components/FlowExamineModal/Image.js
+0
-1
index.js
...ublic/DetailForAudit/components/FlowExamineModal/index.js
+0
-1
FlowDetailPanel.js
.../ggEditor/components/EditorDetailPanel/FlowDetailPanel.js
+0
-1
splitDetailSplit.js
one_stop_public/DetailForAudit/splitDetailSplit.js
+0
-1
ChildForm.jsx
one_stop_public/libs/ChildForm.jsx
+0
-3
LocationCom.js
one_stop_public/libs/LocationCom.js
+0
-1
MobileDate.jsx
one_stop_public/libs/MobileDate.jsx
+0
-3
PictureSignature.js
one_stop_public/libs/PictureSignature/PictureSignature.js
+0
-6
TableSelectZhanWei.js
one_stop_public/libs/Split/TableSelectZhanWei.js
+0
-2
index.jsx
one_stop_public/location/index.jsx
+0
-1
RangePickerDiy.js
one_stop_public/tableCompon/Split_Index/RangePickerDiy.js
+0
-4
queryConfig.js
one_stop_public/utils/queryConfig.js
+0
-1
sortMenusByPriority.js
zyd_private/BasicLayout/sortMenusByPriority.js
+0
-2
ReactComponent.js
zyd_public/WangEditor/WangEditor5/ReactComponent.js
+0
-4
RefactoringOld.js
zyd_public/components/DraggableSetting/RefactoringOld.js
+0
-2
index3.0.js
zyd_public/components/DraggableSetting/index3.0.js
+0
-3
没有找到文件。
FormInsertDiy/AffairPage/ApplyPage/index.js
浏览文件 @
cc664183
...
...
@@ -65,7 +65,6 @@ class AffairPage extends React.Component {
getServiceDetail
=
(
serviceId
)
=>
{
service
.
getServiceDetail
(
serviceId
).
then
((
res
)
=>
{
console
.
log
(
res
);
this
.
setState
({
serviceInfo
:
res
,
});
...
...
@@ -257,7 +256,6 @@ class AffairPage extends React.Component {
this
.
returnList
(
true
);
}
if
(
event
&&
event
.
data
&&
event
.
data
.
indexOf
&&
event
.
data
.
indexOf
(
'iframeHeight'
)
>
-
1
)
{
console
.
log
(
event
.
data
);
let
height
=
Number
(
event
.
data
.
split
(
'-'
)[
1
]);
const
iframe
=
document
.
getElementById
(
'applyIframeId'
);
if
(
iframe
)
{
...
...
@@ -277,13 +275,11 @@ class AffairPage extends React.Component {
componentDidUpdate
(
prevProps
,
prevState
)
{
if
(
prevProps
.
workId
!==
this
.
props
.
workId
)
{
// console.log('123123', prevProps, this.props);
this
.
initData
();
}
}
returnList
=
(
needSearchList
=
false
)
=>
{
console
.
log
(
needSearchList
);
const
{
workId
}
=
this
.
state
;
this
.
setState
(
{
...
...
FormInsertDiy/AffairPage/AuditPage/List.js
浏览文件 @
cc664183
...
...
@@ -294,7 +294,6 @@ export default class List extends Component {
}
}
}
// console.log(columns);
const
tableProps
=
{
rowKey
:
pageSearch
.
tableRowKey
||
'id'
,
...
...
FormInsertDiy/AffairPage/AuditPage/index.js
浏览文件 @
cc664183
...
...
@@ -41,7 +41,6 @@ class Index extends React.Component {
getFormDetail
=
(
workId
)
=>
{
const
{
dataBaseId
}
=
this
.
state
;
service
.
getFormDetail
(
workId
).
then
((
response
)
=>
{
console
.
log
(
response
);
if
(
typeof
response
.
unifiedServicePatternModel
===
'undefined'
)
{
return
false
;
}
...
...
@@ -110,7 +109,6 @@ class Index extends React.Component {
if
(
!
response
||
!
Array
.
isArray
(
response
))
{
response
=
[];
}
// console.log('columns', response);
for
(
let
item
of
response
)
{
if
(
item
.
dataIndex
===
'taskName'
&&
!
item
.
width
)
{
item
.
width
=
150
;
// 29213 资助事务管理/国家三金/国家奖学金审核(高职),界面排版(100661,bdk@2022*$)
...
...
@@ -206,7 +204,6 @@ class Index extends React.Component {
});
}
}
// console.log(JSON.stringify(d));
}
return
(
<
AuditPage
...
...
@@ -229,6 +226,5 @@ class Index extends React.Component {
export
default
function
Pr
(
props
)
{
const
{
routerConfig
}
=
useContext
(
CreateC
);
// console.log(routerConfig);
return
<
Index
{...
props
}
routerConfig
=
{
routerConfig
}
/>
;
}
FormInsertDiy/Export/QueryItem.js
浏览文件 @
cc664183
...
...
@@ -57,7 +57,6 @@ export default class QueryItem extends React.Component {
this
.
triggerChange
({
string
:
e
.
target
.
value
});
};
changeDate
=
(
date
)
=>
{
console
.
log
(
date
);
if
(
!
(
'value'
in
this
.
props
))
{
this
.
setState
({
string
:
date
.
format
(
'YYYY-MM-DD HH:mm:ss'
)
});
}
...
...
FormInsertDiy/ExportComponent/ActiveMenuComponent.js
浏览文件 @
cc664183
...
...
@@ -82,7 +82,6 @@ function ActiveMenuComponent({ routerConfig, ...otherProps }) {
Res
=
<
ApplyMerge
{...
otherProps
}
routerConfig
=
{
routerConfig
}
/>
;
break
;
case
'Audit'
:
// 审批类
console
.
log
(
routerConfig
);
Res
=
<
Audit
workId
=
{
appId
}
{...
otherProps
}
routerConfig
=
{
routerConfig
}
/>
;
break
;
case
'BatchAudit'
:
// 批量审批
...
...
FormInsertDiy/ExportComponent/CheckRecord.js
浏览文件 @
cc664183
...
...
@@ -9,7 +9,6 @@ import { getOneStopConfig } from '@/webPublic/zyd_public/utils/utils';
// 考核汇总页面
function
OtherCheckRecord
({
workId
,
...
otherProps
})
{
// console.log(workId, otherProps);
const
pathname
=
otherProps
?.
location
?.
pathname
;
const
[
data
,
setData
]
=
useState
();
const
id
=
workId
||
getOneStopConfig
(
pathname
);
...
...
@@ -20,7 +19,6 @@ function OtherCheckRecord({ workId, ...otherProps }) {
});
},
[
id
]);
// console.log(data);
if
(
!
data
)
{
return
null
;
...
...
FormInsertDiy/ExportComponent/CheckRecordMerge.js
浏览文件 @
cc664183
...
...
@@ -11,7 +11,6 @@ export default function CheckRecordMerge(props) {
console
.
log
(
'settingJson 不是一个数组 无法渲染!'
);
return
null
;
}
console
.
log
(
settingJson
);
const
[
activeKey
,
setActiveKey
]
=
useState
(
settingJson
[
0
].
appId
);
const
changeActiveKey
=
(
a
)
=>
{
setActiveKey
(
a
);
...
...
@@ -22,7 +21,6 @@ export default function CheckRecordMerge(props) {
if
(
!
activeKey
)
{
return
null
;
}
console
.
log
(
settingJson
);
return
(
<
Tabs
activeKey
=
{
activeKey
}
hideAdd
=
{
true
}
...
...
one_stop_public/Base16/SplitBase16Index.js
浏览文件 @
cc664183
...
...
@@ -35,7 +35,6 @@ function giveKey(key, datas) {
}
export
async
function
countAllValues
(
datas
,
item
)
{
// console.log(datas);
if
(
item
.
setNull
)
{
datas
.
allValues
=
JSON
.
stringify
({});
}
else
{
...
...
@@ -67,8 +66,6 @@ export async function countAllValues(datas, item) {
export
async
function
giveBase16EncodeAsync
(
datas
,
url
)
{
if
(
url
&&
typeof
url
===
'string'
)
{
// console.log(url);
// console.log(encryptApiList);
for
(
const
item
of
encryptApiList
)
{
if
(
item
.
api
&&
url
.
indexOf
(
item
.
api
)
>
-
1
&&
item
.
key
)
{
for
(
let
g
of
item
.
key
)
{
...
...
@@ -87,7 +84,6 @@ export async function giveBase16EncodeAsync(datas, url) {
datas
=
await
countAllValues
(
datas
,
item
);
// 循环中 不要写await
datas
=
giveKey
(
'allValues'
,
datas
);
}
else
{
// console.log(g, datas);
datas
=
giveKey
(
g
,
datas
);
}
}
...
...
one_stop_public/DetailForAudit/components/FlowExamineModal/Image.js
浏览文件 @
cc664183
...
...
@@ -32,7 +32,6 @@ export default class PortalFlowExamineModalImage extends React.Component {
sliderChange
=
num
=>
{
if
(
sliNum
===
0
)
{
width
=
document
.
querySelector
(
'.img'
).
width
;
// console.log(document.querySelector('.img').width)
}
sliNum
++
;
if
(
num
==
0
&&
sliNum
!=
0
)
{
...
...
one_stop_public/DetailForAudit/components/FlowExamineModal/index.js
浏览文件 @
cc664183
...
...
@@ -20,7 +20,6 @@ export default class PortalFlowExamineModal extends React.Component {
const
{
visible
}
=
this
.
state
;
const
{
isShow
,
id
,
affairId
}
=
this
.
props
;
const
code
=
this
.
props
?.
code
?
this
.
props
?.
code
:
''
;
// console.log(this.props)
return
(
<
Modal
title
=
"事务流程"
...
...
one_stop_public/DetailForAudit/components/ggEditor/components/EditorDetailPanel/FlowDetailPanel.js
浏览文件 @
cc664183
...
...
@@ -5,7 +5,6 @@ import DetailForm from './DetailForm';
import
styles
from
'./index.less'
;
const
FlowDetailPanel
=
({
getDrag
,
getDragEnd
,
getprocess
,
data
,
getEvent
,
isDelete
})
=>
{
// console.log(getEvent)
return
(
<
DetailPanel
className
=
{
styles
.
detailPanel
}
>
<
NodePanel
>
...
...
one_stop_public/DetailForAudit/splitDetailSplit.js
浏览文件 @
cc664183
...
...
@@ -77,7 +77,6 @@ const submitValues = ({
},
()
=>
{
preHandle
(
values
);
// 引入 import {preHandle} from '@/webPublic/one_stop_public/utils/myutils.js'
// console.log(JSON.stringify(values));
// return ;
let
payload
=
{
...
...
one_stop_public/libs/ChildForm.jsx
浏览文件 @
cc664183
...
...
@@ -137,7 +137,6 @@ export default class ChildForm extends React.Component {
if
(
!
objs
)
{
return
null
;
}
// console.log(this.props.form.getFieldsValue());
if
(
isMobile
)
{
return
(
// 2022年11月24日 姚新国说的 把干掉两翼留白 解决北电科工作情况考核 移动端样式的问题
...
...
@@ -239,8 +238,6 @@ export default class ChildForm extends React.Component {
if
(
r
==
''
)
{
return
''
;
}
// console.log('子表单', r);
// console.log(form.getFieldsValue());
return
(
<
Col
span=
{
span
}
key=
{
r
}
>
<
ZdyTable
...
...
one_stop_public/libs/LocationCom.js
浏览文件 @
cc664183
...
...
@@ -31,7 +31,6 @@ export default class LocationCom extends React.Component {
}
}
changePos
=
(
obj
)
=>
{
console
.
log
(
obj
);
if
(
!
(
'value'
in
this
.
props
))
{
this
.
setState
({
...
obj
});
}
...
...
one_stop_public/libs/MobileDate.jsx
浏览文件 @
cc664183
...
...
@@ -21,10 +21,8 @@ export default class MobileDate extends Component {
}
triggerChange
=
changedValue
=>
{
console
.
log
(
changedValue
);
// Should provide an event to pass value to Form.
const
onChange
=
this
.
props
.
onChange
;
// console.log(changedValue);
if
(
onChange
)
{
onChange
([...
changedValue
]);
}
...
...
@@ -111,7 +109,6 @@ export default class MobileDate extends Component {
const
endTime
=
dates
.
length
>
1
?
dates
[
1
]
&&
dates
[
1
].
valueOf
()
:
null
;
const
MustSpan
=
this
.
MustSpan
();
// console.log(startTime, endTime);
return
(
<
div
>
...
...
one_stop_public/libs/PictureSignature/PictureSignature.js
浏览文件 @
cc664183
...
...
@@ -63,7 +63,6 @@ const getContent = (signConfig = [], ratioX) => {
g
.
w
=
Math
.
ceil
(
g
.
w
*
ratioX
);
g
.
h
=
Math
.
ceil
(
g
.
h
*
ratioX
);
}
// console.log(g);
return
g
;
}),
});
...
...
@@ -110,7 +109,6 @@ export default function PictureSignature({
}
setShowModal
(
!
showModal
);
};
// console.log(json);
...
...
@@ -160,7 +158,6 @@ export default function PictureSignature({
const
handleClickButton
=
clickType
=>
{
switch
(
clickType
)
{
case
'startEdit'
:
// 开始签章
// console.log(imageInfo);
if
(
signConfig
&&
signConfig
.
length
<
originSignConfig
.
length
)
{
setOtherProps
({
...
otherProps
,
...
...
@@ -238,7 +235,6 @@ export default function PictureSignature({
}
else
{
return
originButtons
.
map
(
g
=>
{
// if (g.clickType === 'startEdit') {
// console.log(signConfig);
// return <Popconfirm
// title={<div>
// <p>选择签章组件</p>
...
...
@@ -280,7 +276,6 @@ export default function PictureSignature({
if
(
!
fileInfo
)
{
return
null
;
}
// console.log(imageInfo, fileInfo);
console
.
log
(
'签章组件'
);
return
(
<
div
className
=
{
styles
.
outSideDiv
}
>
...
...
@@ -398,7 +393,6 @@ export function SignArray(props) {
onChange(value);
}
};
// console.log(value, '222222222222222')
return (
<div>
{files.map((g, index) => {
...
...
one_stop_public/libs/Split/TableSelectZhanWei.js
浏览文件 @
cc664183
...
...
@@ -100,7 +100,6 @@ export default function TableSelectZhanWei(props) {
typeList
=
[],
selectedStyle
=
{},
}
=
otherProps
;
// console.log(otherProps, dataSource.list);
if
(
!
dataSource
||
!
dataSource
.
list
||
!
dataSource
.
list
.
length
)
{
return
<
div
className
=
{
styles
.
noData
}
>
{
noDataSentence
}
<
/div>
;
}
...
...
@@ -110,7 +109,6 @@ export default function TableSelectZhanWei(props) {
callback
(
selectData
);
};
// console.log(selects);
return
<
div
className
=
{
styles
.
zhanWei
}
>
...
...
one_stop_public/location/index.jsx
浏览文件 @
cc664183
...
...
@@ -71,7 +71,6 @@ export default class location extends Component {
};
// 点击确定提交定位
confirm
=
e
=>
{
console
.
log
(
e
);
if
(
this
.
state
.
btn
)
{
if
(
this
.
props
.
get
===
'web'
)
{
openToast
(
'error'
,
'错误'
,
'正在定位,请稍后重试'
);
...
...
one_stop_public/tableCompon/Split_Index/RangePickerDiy.js
浏览文件 @
cc664183
...
...
@@ -51,7 +51,6 @@ export default function RangePickerDiy(props) {
const
[
bindValue
,
setBindValue
]
=
useState
([]);
useEffect
(()
=>
{
// console.log('RangePickerDiy组件Value', value);
if
(
!
value
||
!
Array
.
isArray
(
value
)
||
value
.
length
!==
2
)
{
setBindValue
([]);
...
...
@@ -60,8 +59,6 @@ export default function RangePickerDiy(props) {
if
(
typeof
value
[
i
]
===
'number'
&&
value
[
i
]
>
10000
)
{
bindValue
[
i
]
=
moment
(
value
[
i
]);
}
else
if
(
!
moment
.
isMoment
(
value
[
i
]))
{
// bindValue[i] = undefined;
// console.log('RangePickerDiy组件没有获取到正确的值', value);
}
else
{
bindValue
[
i
]
=
value
[
i
];
}
...
...
@@ -71,7 +68,6 @@ export default function RangePickerDiy(props) {
},
[
value
]);
function
handleChange
(
v
){
// console.log(v);
onChange
(
v
);
}
...
...
one_stop_public/utils/queryConfig.js
浏览文件 @
cc664183
...
...
@@ -42,7 +42,6 @@ if (!globalThis.CONFIG) {
const
queryConfig
=
(
key
)
=>
{
const
dynamicConfig
=
typeof
globalThis
!==
'undefined'
?
globalThis
.
CONFIG
:
window
.
CONFIG
;
// console.log(dynamicConfig);
if
(
typeof
key
===
'undefined'
)
return
dynamicConfig
;
return
dynamicConfig
[
key
];
};
...
...
zyd_private/BasicLayout/sortMenusByPriority.js
浏览文件 @
cc664183
export
function
sortMenusByPriority
(
menus
=
[])
{
// console.log(menus);
menus
.
sort
((
a
,
b
)
=>
{
if
(
a
.
oldBrotherPath
===
b
.
oldBrotherPath
)
{
return
b
.
priority
-
a
.
priority
;
}
});
// console.log(menus);
//
return
menus
;
}
...
...
zyd_public/WangEditor/WangEditor5/ReactComponent.js
浏览文件 @
cc664183
...
...
@@ -22,7 +22,6 @@ export default function PrepareShow(props) {
// 异步加载这个js。 因为js 过大影响性能
loadCss
().
then
((
cssRes
)
=>
{
// 异步加载这个 wangEditor5 的css 文件
console
.
log
(
'123'
);
WangEditor5
.
current
=
res
;
WangEditor5
.
current
.
Boot
.
registerMenu
(
myMenuConf
);
setShow
(
true
);
...
...
@@ -30,7 +29,6 @@ export default function PrepareShow(props) {
});
// setShow(true);
},
[]);
// console.log(show, WangEditor5);
if
(
show
)
{
return
<
WangEditorReactComponent
{...
props
}
WangEditor5
=
{
WangEditor5
.
current
}
/>
;
}
else
{
...
...
@@ -67,9 +65,7 @@ function WangEditorReactComponent(props) {
},
onChange
:
(
editor
)
=>
{
// console.log('content', editor.children);
onChange
(
editor
.
getHtml
());
// console.log('html', editor.getHtml());
},
};
const
toolbarConfig
=
{
...
...
zyd_public/components/DraggableSetting/RefactoringOld.js
浏览文件 @
cc664183
...
...
@@ -106,8 +106,6 @@ export default function NewDraggableSetting(props) {
const
styleLeft
=
parseInt
(
objX
,
10
)
+
parseInt
(
x
,
10
)
-
parseInt
(
mouseX
,
10
);
// 计算偏移量
const
styleTop
=
parseInt
(
objY
,
10
)
+
parseInt
(
y
,
10
)
-
parseInt
(
mouseY
,
10
);
// 计算偏移量
const
dropZone
=
document
.
getElementById
(
'dropZone'
);
// console.log('styleLeft', styleLeft, 'dropW', dropZone.width);
// console.log('styleTop', styleTop, dropZone.height);
if
(
// 阻止拖拽到图片外部
styleLeft
>
dropZone
.
width
-
50
||
...
...
zyd_public/components/DraggableSetting/index3.0.js
浏览文件 @
cc664183
...
...
@@ -76,7 +76,6 @@ export default class FormatSetting extends Component {
message
.
warn
(
'拖拽到了图片区域外部!'
);
return
false
;
}
else
{
console
.
log
(
leftNew
,
topNew
);
}
if
(
event
.
target
.
id
===
'dropZone'
)
{
...
...
@@ -105,8 +104,6 @@ export default class FormatSetting extends Component {
render
()
{
const
{
bgImage
,
formatSettingObject
,
saveConfig
,
pageConfiguration
}
=
this
.
props
;
console
.
log
(
formatSettingObject
);
console
.
log
(
pageConfiguration
,
'pageConfiguration'
);
let
bgImageStyle
=
{};
if
(
pageConfiguration
&&
pageConfiguration
.
width
){
bgImageStyle
.
width
=
pageConfiguration
.
width
+
'cm'
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论