Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-admin
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1-admin
Commits
a90cfb66
Commit
a90cfb66
authored
Apr 16, 2024
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计展示时间
parent
f1374abd
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
51 additions
and
29 deletions
+51
-29
dataInfo.vue
src/views/modules/dataStatistics/dataInfo.vue
+1
-1
annual-add-or-update.vue
src/views/modules/planbranch/annual-add-or-update.vue
+3
-2
totalclicks.vue
src/views/modules/visitsmanage/totalclicks.vue
+19
-1
index.js
static/config/index.js
+2
-2
image.js
static/plugins/ueditor-1.4.3.3/dialogs/image/image.js
+12
-8
ueditor.all.min.js
static/plugins/ueditor-1.4.3.3/ueditor.all.min.js
+5
-6
ueditor.config.js
static/plugins/ueditor-1.4.3.3/ueditor.config.js
+9
-9
No files found.
src/views/modules/dataStatistics/dataInfo.vue
View file @
a90cfb66
...
...
@@ -130,7 +130,7 @@
url
:
this
.
$http
.
adornUrl
(
`/office/clickDetail/getClickDetailList`
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
({
'c
I
d'
:
this
.
cId
,
'c
i
d'
:
this
.
cId
,
'typeValue'
:
this
.
typeValue
,
"page"
:
this
.
pageIndex
,
"limit"
:
this
.
pageSize
...
...
src/views/modules/planbranch/annual-add-or-update.vue
View file @
a90cfb66
...
...
@@ -2,7 +2,7 @@
<el-dialog
title=
"修改年度培训计划"
:close-on-click-modal=
"false"
:visible
.
sync=
"visible"
>
:visible
.
sync=
"visible"
v-if=
"visible"
>
<el-form
:model=
"dataForm"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"120px"
>
<el-form-item
label=
"分支机构名称:"
prop=
"name"
>
<el-input
v-model=
"dataForm.name"
placeholder=
"请输入显示标题"
disabled
></el-input>
...
...
@@ -45,7 +45,7 @@
},
fileUrl
:
new
FormData
(),
fileUrlStr
:
''
}
},
...
...
@@ -60,6 +60,7 @@
this
.
visible
=
true
this
.
dataForm
.
name
=
name
this
.
dataForm
.
docfile
=
ppth
this
.
fileUrl
=
new
FormData
()
},
// 表单提交
...
...
src/views/modules/visitsmanage/totalclicks.vue
View file @
a90cfb66
...
...
@@ -29,6 +29,18 @@
</el-table-column>
<el-table-column
header-align=
"center"
prop=
"createStartTime"
align=
"center"
label=
"开始时间"
>
</el-table-column>
<el-table-column
header-align=
"center"
prop=
"createEndTime"
align=
"center"
label=
"结束时间"
>
</el-table-column>
<el-table-column
header-align=
"center"
prop=
"total"
align=
"center"
label=
"总量"
>
...
...
@@ -84,7 +96,13 @@
if
(
data
&&
data
.
code
===
0
)
{
console
.
log
(
data
)
this
.
dataList
=
[]
this
.
dataList
.
push
({
total
:
data
.
data
})
this
.
dataList
.
push
(
{
total
:
data
.
data
.
hitCount
?
data
.
data
.
hitCount
:
''
,
createEndTime
:
data
.
data
.
createEndTime
?
data
.
data
.
createEndTime
.
substring
(
0
,
19
):
''
,
createStartTime
:
data
.
data
.
createStartTime
?
data
.
data
.
createStartTime
.
substring
(
0
,
19
):
''
,
}
)
this
.
totalPage
=
1
}
else
{
this
.
$message
.
error
(
data
.
msg
)
...
...
static/config/index.js
View file @
a90cfb66
...
...
@@ -6,8 +6,8 @@
// api接口请求地址
// window.SITE_CONFIG['baseUrl'] = 'http://95zvp8.natappfree.cc'
//
window.SITE_CONFIG['baseUrl'] = 'http://192.168.0.77:9091'
window
.
SITE_CONFIG
[
'baseUrl'
]
=
' http://dynamic.gs1cn.org'
window
.
SITE_CONFIG
[
'baseUrl'
]
=
'http://192.168.0.77:9091'
//
window.SITE_CONFIG['baseUrl'] = ' http://dynamic.gs1cn.org'
// cdn地址 = 域名 + 版本号
window
.
SITE_CONFIG
[
'domain'
]
=
'./'
// 域名
window
.
SITE_CONFIG
[
'version'
]
=
''
// 版本号(年月日时分)
...
...
static/plugins/ueditor-1.4.3.3/dialogs/image/image.js
View file @
a90cfb66
...
...
@@ -231,6 +231,7 @@
$G
(
"width"
).
value
=
img
.
width
||
''
;
$G
(
"height"
).
value
=
img
.
height
||
''
;
$G
(
"border"
).
value
=
img
.
getAttribute
(
"border"
)
||
'0'
;
$G
(
"vhSpace"
).
value
=
img
.
getAttribute
(
"hspace"
)
||
'0'
;
$G
(
"vhSpace"
).
value
=
img
.
getAttribute
(
"vspace"
)
||
'0'
;
$G
(
"title"
).
value
=
img
.
title
||
img
.
alt
||
''
;
setAlign
(
align
);
...
...
@@ -278,9 +279,10 @@
border
:
data
[
'border'
]
||
''
,
floatStyle
:
data
[
'align'
]
||
''
,
vspace
:
data
[
'vhSpace'
]
||
''
,
hspace
:
data
[
'vhSpace'
]
||
''
,
title
:
data
[
'title'
]
||
''
,
alt
:
data
[
'title'
]
||
''
,
style
:
"width:"
+
data
[
'width'
]
+
"px;height:"
+
data
[
'height'
]
+
"px;margin-right:20px;margin-left:
0
;"
style
:
"width:"
+
data
[
'width'
]
+
"px;height:"
+
data
[
'height'
]
+
"px;margin-right:20px;margin-left:
20px
;"
}];
}
else
if
(
data
[
'align'
]
==
'right'
){
...
...
@@ -292,9 +294,10 @@
border
:
data
[
'border'
]
||
''
,
floatStyle
:
data
[
'align'
]
||
''
,
vspace
:
data
[
'vhSpace'
]
||
''
,
hspace
:
data
[
'vhSpace'
]
||
''
,
title
:
data
[
'title'
]
||
''
,
alt
:
data
[
'title'
]
||
''
,
style
:
"width:"
+
data
[
'width'
]
+
"px;height:"
+
data
[
'height'
]
+
"px;
;margin-left:20px;margin-right:0
;"
style
:
"width:"
+
data
[
'width'
]
+
"px;height:"
+
data
[
'height'
]
+
"px;
margin-left:20px;margin-right:20px
;"
}];
}
else
{
...
...
@@ -306,6 +309,7 @@
border
:
data
[
'border'
]
||
''
,
floatStyle
:
data
[
'align'
]
||
''
,
vspace
:
data
[
'vhSpace'
]
||
''
,
hspace
:
data
[
'vhSpace'
]
||
''
,
title
:
data
[
'title'
]
||
''
,
alt
:
data
[
'title'
]
||
''
,
style
:
"width:"
+
data
[
'width'
]
+
"px;height:"
+
data
[
'height'
]
+
"px;margin:0;"
...
...
@@ -815,7 +819,7 @@
title
:
data
.
title
,
alt
:
data
.
original
,
floatStyle
:
align
,
style
:
'margin-right:20px;margin-left:
0
;'
style
:
'margin-right:20px;margin-left:
20px
;'
});
}
else
if
(
align
==
'right'
){
list
.
push
({
...
...
@@ -824,7 +828,7 @@
title
:
data
.
title
,
alt
:
data
.
original
,
floatStyle
:
align
,
style
:
'margin-left:20px;margin-right:
0
;'
style
:
'margin-left:20px;margin-right:
20px
;'
});
}
else
{
list
.
push
({
...
...
@@ -1015,7 +1019,7 @@
_src
:
src
,
alt
:
src
.
substr
(
src
.
lastIndexOf
(
'/'
)
+
1
),
floatStyle
:
align
,
style
:
'margin-right:20px;margin-left:
0
;'
style
:
'margin-right:20px;margin-left:
20px
;'
});
}
else
if
(
align
==
'right'
){
list
.
push
({
...
...
@@ -1023,7 +1027,7 @@
_src
:
src
,
alt
:
src
.
substr
(
src
.
lastIndexOf
(
'/'
)
+
1
),
floatStyle
:
align
,
style
:
'margin-left:20px;margin-right:
0
;'
style
:
'margin-left:20px;margin-right:
20px
;'
});
}
else
{
list
.
push
({
...
...
@@ -1208,7 +1212,7 @@
_src
:
src
,
alt
:
src
.
substr
(
src
.
lastIndexOf
(
'/'
)
+
1
),
floatStyle
:
align
,
style
:
'margin-right:20px;margin-left:
0
;'
style
:
'margin-right:20px;margin-left:
20px
;'
});
}
else
if
(
align
==
'right'
){
list
.
push
({
...
...
@@ -1216,7 +1220,7 @@
_src
:
src
,
alt
:
src
.
substr
(
src
.
lastIndexOf
(
'/'
)
+
1
),
floatStyle
:
align
,
style
:
'margin-left:20px;margin-right:
0
'
style
:
'margin-left:20px;margin-right:
20px;
'
});
}
else
{
list
.
push
({
...
...
static/plugins/ueditor-1.4.3.3/ueditor.all.min.js
View file @
a90cfb66
...
...
@@ -3498,8 +3498,8 @@
if
(
f
)
{
var
s
=
m
;
switch
(
i
.
imageBlockLine
)
{
case
'left'
:
domUtils
.
setStyle
(
e
,
'margin-right'
,
'20px'
),
domUtils
.
setStyle
(
e
,
'margin-left'
,
'
0
'
)
case
'right'
:
domUtils
.
setStyle
(
e
,
'margin-left'
,
'20px'
),
domUtils
.
setStyle
(
e
,
'margin-right'
,
'
0
'
)
case
'left'
:
domUtils
.
setStyle
(
e
,
'margin-right'
,
'20px'
),
domUtils
.
setStyle
(
e
,
'margin-left'
,
'
20px
'
)
case
'right'
:
domUtils
.
setStyle
(
e
,
'margin-left'
,
'20px'
),
domUtils
.
setStyle
(
e
,
'margin-right'
,
'
20px
'
)
case
'none'
:
for
(
var
p
,
t
,
q
,
u
=
s
.
parentNode
;
dtd
.
$inline
[
u
.
tagName
]
||
u
.
tagName
==
'A'
;)
u
=
u
.
parentNode
;
if
(
p
=
u
,
p
.
tagName
==
'P'
&&
domUtils
.
getStyle
(
p
,
'text-align'
)
==
'center'
&&
!
domUtils
.
isBody
(
p
)
&&
domUtils
.
getChildCount
(
p
,
function
(
a
)
{
...
...
@@ -3513,7 +3513,6 @@
break
;
case
'center'
:
if
(
l
.
queryCommandValue
(
'imagefloat'
)
!=
'center'
)
{
console
.
log
(
1111
)
for
(
u
=
s
.
parentNode
,
domUtils
.
setStyle
(
s
,
'float'
,
'none'
),
p
=
s
;
u
&&
domUtils
.
getChildCount
(
u
,
function
(
a
)
{
return
!
domUtils
.
isBr
(
a
)
&&
!
domUtils
.
isWhitespace
(
a
)
})
==
1
&&
(
dtd
.
$inline
[
u
.
tagName
]
||
u
.
tagName
==
'A'
);)
p
=
u
,
u
=
u
.
parentNode
;
...
...
@@ -3707,8 +3706,8 @@
var
e
=
d
.
getClosedNode
();
if
(
e
&&
e
.
tagName
==
'IMG'
)
switch
(
b
)
{
case
'left'
:
domUtils
.
setStyle
(
e
,
'margin-right'
,
'20px'
),
domUtils
.
setStyle
(
e
,
'margin-left'
,
'
0
'
)
case
'right'
:
domUtils
.
setStyle
(
e
,
'margin-left'
,
'20px'
),
domUtils
.
setStyle
(
e
,
'margin-right'
,
'
0
'
)
case
'left'
:
domUtils
.
setStyle
(
e
,
'margin-right'
,
'20px'
),
domUtils
.
setStyle
(
e
,
'margin-left'
,
'
20px
'
)
case
'right'
:
domUtils
.
setStyle
(
e
,
'margin-left'
,
'20px'
),
domUtils
.
setStyle
(
e
,
'margin-right'
,
'
20px
'
)
case
'none'
:
for
(
var
f
,
g
,
h
,
i
=
e
.
parentNode
;
dtd
.
$inline
[
i
.
tagName
]
||
i
.
tagName
==
'A'
;)
i
=
i
.
parentNode
;
if
(
f
=
i
,
f
.
tagName
==
'P'
&&
domUtils
.
getStyle
(
f
,
'text-align'
)
==
'center'
)
{
...
...
@@ -4990,7 +4989,7 @@
}
var
e
=
this
,
f
=
b
.
keyCode
||
b
.
which
;
if
(
!
(
l
[
f
]
||
b
.
ctrlKey
||
b
.
metaKey
||
b
.
shiftKey
||
b
.
altKey
))
{
if
(
!
(
l
[
f
]
||
b
.
ctrlKey
||
b
.
metaKey
||
b
.
altKey
))
{
if
(
n
)
return
;
if
(
!
e
.
selection
.
getRange
().
collapsed
)
return
e
.
undoManger
.
save
(
!
1
,
!
0
),
void
(
o
=
!
1
);
e
.
undoManger
.
list
.
length
==
0
&&
e
.
undoManger
.
save
(
!
0
),
clearTimeout
(
d
),
d
=
setTimeout
(
function
()
{
...
...
static/plugins/ueditor-1.4.3.3/ueditor.config.js
View file @
a90cfb66
...
...
@@ -178,7 +178,7 @@
// 首行缩进距离,默认是2em
//, indentValue:'2em'
//
, initialFrameWidth:1000
//初始化编辑器宽度,默认1000
//
initialFrameWidth:'100%',
//初始化编辑器宽度,默认1000
initialFrameHeight
:
420
,
// 初始化编辑器高度,默认320
//, readonly : false //编辑器初始化结束后,编辑区域是否是只读的,默认是false
...
...
@@ -255,13 +255,13 @@
// insertunorderedlist
// 无序列表的下拉配置,值留空时支持多语言自动识别,若配置值,则以此值为准
//,
insertunorderedlist : { //自定的样式
//
'dash' :'— 破折号', //-破折号
//
'dot':' 。 小圆圈', //系统自带
//
'circle' : '', // '○ 小圆圈'
//
'disc' : '', // '● 小圆点'
//
'square' : '' //'■ 小方块'
// }
insertunorderedlist
:
{
//自定的样式
'dash'
:
'— 破折号'
,
//-破折号
'dot'
:
' 。 小圆圈'
,
//系统自带
'circle'
:
''
,
// '○ 小圆圈'
'disc'
:
''
,
// '● 小圆点'
'square'
:
''
//'■ 小方块'
},
//, listDefaultPaddingLeft : '30'//默认的左边缩进的基数倍
// listiconpath : 'http://bs.baidu.com/listicon/' ,//自定义标号的路径
//, maxListLevel : 3 //限制可以tab的级数, 设置-1为不限制
...
...
@@ -498,7 +498,7 @@
mark
:
[],
nav
:
[],
ol
:
[
'class'
,
'style'
],
p
:
[
'class'
,
'style'
],
p
:
[
'class'
,
'style'
,
'data-background'
],
pre
:
[
'class'
,
'style'
],
s
:
[],
section
:
[],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment