Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
蔡永松
/
fontweb-dc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
35afadb5
authored
2020-08-04 10:48:01 +0800
by
焦小希
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
全局搜素框增加自动聚焦功能
1 parent
82f3f4c1
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
56 additions
and
7 deletions
src/main/webapp/view/PHJG/AJCC/chaxun/js/widget.js
src/main/webapp/view/PHJG/AJCC/chaxun/widget.html
src/main/webapp/view/PHJG/AJCC/daiban/js/widget.js
src/main/webapp/view/PHJG/AJCC/daiban/widget.html
src/main/webapp/view/PHJG/AJCC/duban/js/widget.js
src/main/webapp/view/PHJG/AJCC/duban/widget.html
src/main/webapp/view/PHJG/AJCC/yiban/js/widget.js
src/main/webapp/view/PHJG/AJCC/yiban/widget.html
src/main/webapp/view/PHJG/PHGL/daiban/js/widget.js
src/main/webapp/view/PHJG/PHGL/daiban/widget.html
src/main/webapp/view/PHJG/PHGL/yiban/js/widget.js
src/main/webapp/view/PHJG/PHGL/yiban/widget.html
src/main/webapp/view/PHJG/WFSJ/xmgl/js/widget.js
src/main/webapp/view/PHJG/WFSJ/xmgl/widget.html
src/main/webapp/view/PHJG/AJCC/chaxun/js/widget.js
View file @
35afadb
...
...
@@ -61,6 +61,13 @@ var self = new Vue({
isActive
:
1
,
}
},
directives
:{
focus
:
{
inserted
:
function
f
(
el
)
{
el
.
focus
()
}
}
},
methods
:{
handleSizeChange
(){
...
...
src/main/webapp/view/PHJG/AJCC/chaxun/widget.html
View file @
35afadb
...
...
@@ -113,7 +113,7 @@
<div
style=
"float: right"
class=
"div-search"
>
<!-- <el-input style="width:300px;margin-right: 20px" placeholder="请输入搜索的内容"></el-input>-->
<!-- <el-button type ="primary" size="mini" icon="el-icon-search">查询</el-button>-->
<input
id=
"searchInput"
type=
"text"
placeholder=
"搜索待办项目"
style=
"width: 82%;"
v-model=
"search"
@
keyup
.
enter=
"SearchInfo"
>
<input
id=
"searchInput"
type=
"text"
placeholder=
"搜索待办项目"
style=
"width: 82%;"
v-model=
"search"
@
keyup
.
enter=
"SearchInfo"
v-focus
>
<img
id=
"searchBtn"
src=
"../../../../image/projecttask/search.png"
style=
"margin-right: 10px; margin-top: 4px; width: 20px; height: 20px; float: right;"
>
</div>
</div>
...
...
src/main/webapp/view/PHJG/AJCC/daiban/js/widget.js
View file @
35afadb
...
...
@@ -32,6 +32,13 @@ var self = new Vue({
return
`
${
y
}
-
${
m
}
-
${
d
}
${
hh
}
:
${
mm
}
:
${
ss
}
`
}
},
directives
:{
focus
:
{
inserted
:
function
f
(
el
)
{
el
.
focus
()
}
}
},
methods
:
{
getData
()
{
axios
.
post
(
CONF_NEWGHSC_SERVERURL
+
'/dblb/list/workings'
,
null
,{
...
...
src/main/webapp/view/PHJG/AJCC/daiban/widget.html
View file @
35afadb
...
...
@@ -115,7 +115,7 @@
<div
style=
"float: right"
class=
"div-search"
>
<!-- <el-input style="width:300px;margin-right: 20px" placeholder="请输入搜索的内容"></el-input>-->
<!-- <el-button type ="primary" size="mini" icon="el-icon-search">查询</el-button>-->
<input
id=
"searchInput"
type=
"text"
placeholder=
"搜索待办项目"
style=
"width: 82%;"
v-model=
"search"
@
keyup
.
enter=
"SearchInfo"
>
<input
id=
"searchInput"
type=
"text"
placeholder=
"搜索待办项目"
style=
"width: 82%;"
v-model=
"search"
@
keyup
.
enter=
"SearchInfo"
v-focus
>
<img
id=
"searchBtn"
src=
"../../../../image/projecttask/search.png"
style=
"margin-right: 10px; margin-top: 4px; width: 20px; height: 20px; float: right;"
>
</div>
</div>
...
...
src/main/webapp/view/PHJG/AJCC/duban/js/widget.js
View file @
35afadb
...
...
@@ -61,6 +61,13 @@ var self = new Vue({
isActive
:
1
,
}
},
directives
:{
focus
:
{
inserted
:
function
f
(
el
)
{
el
.
focus
()
}
}
},
methods
:{
handleSizeChange
(){
...
...
src/main/webapp/view/PHJG/AJCC/duban/widget.html
View file @
35afadb
...
...
@@ -113,7 +113,7 @@
<div
style=
"float: right"
class=
"div-search"
>
<!-- <el-input style="width:300px;margin-right: 20px" placeholder="请输入搜索的内容"></el-input>-->
<!-- <el-button type ="primary" size="mini" icon="el-icon-search">查询</el-button>-->
<input
id=
"searchInput"
type=
"text"
placeholder=
"搜索待办项目"
style=
"width: 82%;"
v-model=
"search"
@
keyup
.
enter=
"SearchInfo"
>
<input
id=
"searchInput"
type=
"text"
placeholder=
"搜索待办项目"
style=
"width: 82%;"
v-model=
"search"
@
keyup
.
enter=
"SearchInfo"
v-focus
>
<img
id=
"searchBtn"
src=
"../../../../image/projecttask/search.png"
style=
"margin-right: 10px; margin-top: 4px; width: 20px; height: 20px; float: right;"
>
</div>
</div>
...
...
src/main/webapp/view/PHJG/AJCC/yiban/js/widget.js
View file @
35afadb
...
...
@@ -83,6 +83,13 @@ var self = new Vue({
return
`
${
y
}
-
${
m
}
-
${
d
}
${
hh
}
:
${
mm
}
:
${
ss
}
`
}
},
directives
:{
focus
:
{
inserted
:
function
f
(
el
)
{
el
.
focus
()
}
}
},
methods
:{
getData
()
{
axios
.
get
(
CONF_NEWGHSC_SERVERURL
+
'/dblb/list/worked'
,
{
...
...
src/main/webapp/view/PHJG/AJCC/yiban/widget.html
View file @
35afadb
...
...
@@ -119,7 +119,7 @@
<div
style=
"float: right"
class=
"div-search"
>
<!-- <el-input style="width:300px;margin-right: 20px" placeholder="请输入搜索的内容"></el-input>-->
<!-- <el-button type ="primary" size="mini" icon="el-icon-search">查询</el-button>-->
<input
id=
"searchInput"
type=
"text"
placeholder=
"搜索待办项目"
style=
"width: 82%;"
v-model=
"search"
@
keyup
.
enter=
"SearchInfo"
>
<input
id=
"searchInput"
type=
"text"
placeholder=
"搜索待办项目"
style=
"width: 82%;"
v-model=
"search"
@
keyup
.
enter=
"SearchInfo"
v-focus
>
<img
id=
"searchBtn"
src=
"../../../../image/projecttask/search.png"
style=
"margin-right: 10px; margin-top: 4px; width: 20px; height: 20px; float: right;"
>
</div>
</div>
...
...
src/main/webapp/view/PHJG/PHGL/daiban/js/widget.js
View file @
35afadb
...
...
@@ -36,6 +36,13 @@ var self = new Vue({
return
`
${
y
}
-
${
m
}
-
${
d
}
${
hh
}
:
${
mm
}
:
${
ss
}
`
}
},
directives
:{
focus
:
{
inserted
:
function
f
(
el
)
{
el
.
focus
()
}
}
},
methods
:{
handleSizeChange
(){
...
...
src/main/webapp/view/PHJG/PHGL/daiban/widget.html
View file @
35afadb
...
...
@@ -115,7 +115,7 @@
</el-col>
<el-col
:span=
"6"
>
<div
class=
"div-search"
>
<input
id=
"searchInput"
type=
"text"
placeholder=
"搜索待办项目"
style=
"width: 82%;"
v-model=
"search"
@
keyup
.
enter=
"SearchInfo"
>
<input
id=
"searchInput"
type=
"text"
placeholder=
"搜索待办项目"
style=
"width: 82%;"
v-model=
"search"
@
keyup
.
enter=
"SearchInfo"
v-focus
>
<img
id=
"searchBtn"
src=
"../../../../image/projecttask/search.png"
style=
"margin-right: 10px; margin-top: 4px; width: 20px; height: 20px; float: right;"
>
</div>
</el-col>
...
...
src/main/webapp/view/PHJG/PHGL/yiban/js/widget.js
View file @
35afadb
...
...
@@ -33,6 +33,13 @@ var self = new Vue({
return
`
${
y
}
-
${
m
}
-
${
d
}
${
hh
}
:
${
mm
}
:
${
ss
}
`
}
},
directives
:{
focus
:
{
inserted
:
function
f
(
el
)
{
el
.
focus
()
}
}
},
methods
:{
getData
()
{
axios
.
get
(
CONF_NEWGHSC_SERVERURL
+
'/dblb/list/worked'
,
{
...
...
src/main/webapp/view/PHJG/PHGL/yiban/widget.html
View file @
35afadb
...
...
@@ -115,7 +115,7 @@
</el-col>
<el-col
:span=
"6"
>
<div
class=
"div-search"
>
<input
id=
"searchInput"
type=
"text"
placeholder=
"搜索已办项目"
style=
"width: 82%;"
v-model=
"search"
@
keyup
.
enter=
"SearchInfo"
>
<input
id=
"searchInput"
type=
"text"
placeholder=
"搜索已办项目"
style=
"width: 82%;"
v-model=
"search"
@
keyup
.
enter=
"SearchInfo"
v-focus
>
<img
id=
"searchBtn"
src=
"../../../../image/projecttask/search.png"
style=
"margin-right: 10px; margin-top: 4px; width: 20px; height: 20px; float: right;"
>
</div>
</el-col>
...
...
src/main/webapp/view/PHJG/WFSJ/xmgl/js/widget.js
View file @
35afadb
...
...
@@ -41,6 +41,13 @@ var self = new Vue({
mounted
(){
this
.
getData
();
},
directives
:{
focus
:
{
inserted
:
function
f
(
el
)
{
el
.
focus
()
}
}
},
methods
:{
getData
()
{
axios
.
get
(
CONF_NEWGHSC_SERVERURL
+
'/ghjg/backlog/'
+
this
.
pageNum
+
'/'
+
this
.
pageSize
,
{
...
...
src/main/webapp/view/PHJG/WFSJ/xmgl/widget.html
View file @
35afadb
...
...
@@ -116,7 +116,7 @@
</el-col>
<el-col
:span=
"6"
>
<div
class=
"div-search"
>
<input
id=
"searchInput"
type=
"text"
placeholder=
"搜索待办项目"
style=
"width: 82%;"
v-model=
"search"
@
keyup
.
enter=
"SearchInfo"
>
<input
id=
"searchInput"
type=
"text"
placeholder=
"搜索待办项目"
style=
"width: 82%;"
v-model=
"search"
@
keyup
.
enter=
"SearchInfo"
v-focus
>
<img
id=
"searchBtn"
src=
"../../../../image/projecttask/search.png"
style=
"margin-right: 10px; margin-top: 4px; width: 20px; height: 20px; float: right;"
>
</div>
</el-col>
...
...
Please
register
or
sign in
to post a comment