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
623ea817
authored
2020-07-31 16:43:16 +0800
by
焦小希
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改页面样式
1 parent
9ac66546
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
90 additions
and
10 deletions
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/widget.html
src/main/webapp/view/PHJG/PHGL/daiban/js/widget.js
View file @
623ea81
...
...
@@ -5,6 +5,9 @@ var self = new Vue({
search
:
''
,
projectId
:
null
,
userId
:
null
,
params
:
{
rwListIndex
:
0
},
// 表格数据
tabaledata
:[
{
...
...
@@ -103,6 +106,9 @@ var self = new Vue({
},
handleCurrentChange
(){},
clickData
(
row
){
this
.
jumpdetailPage
(
row
)
},
openHandleJumpUrl
(
flowId
,
itemTypeId
,
_stats
=
'create'
)
{
// debugger
var
unique
=
this
.
uuid
();
...
...
@@ -185,6 +191,41 @@ var self = new Vue({
}
});
})
},
// 详情
jumpdetailPage
(
data
)
{
var
taskid
=
data
.
TASKID
;
var
detailType
=
data
.
detailType
;
var
projectid
=
data
.
PROJECTID
;
var
flowInstanceId
=
data
.
INSTANCEID
;
var
titleEncode
=
encodeURI
(
encodeURI
(
data
.
PROJECTNAME
));
var
stats
=
data
.
stats
?
data
.
stats
:
''
;
var
projecttype
=
data
.
FLOWNAME
;
var
PROJECTSTATUS
=
encodeURI
(
encodeURI
(
data
.
PROJECTSTATUS
));
var
FLOWREVISIONID
=
data
.
FLOWREVISIONID
;
var
projectcode
=
data
.
PROJECTCODE
;
var
flowItemTypeKvStr
=
data
.
FLOWITEMTYPE
?
"&flowItemTypeId="
+
data
.
FLOWITEMTYPE
:
""
;
var
version
=
data
.
FLOWVERSION
;
var
layerid
=
""
;
var
coverage
=
""
;
var
url
=
CONF_FRONT_SERVERURL
+
'view/projecttask/detailproject.jsp?projectid='
+
projectid
+
"&referer=''&stats="
+
stats
+
"&projectcode="
+
projectcode
+
"&taskId="
+
taskid
+
"&flowInstanceId="
+
flowInstanceId
+
'&titleEncode='
+
titleEncode
+
"&projectStatus="
+
PROJECTSTATUS
+
"&flowRevisionId="
+
FLOWREVISIONID
+
flowItemTypeKvStr
+
"&FLOWVERSION="
+
version
+
"&detailType="
+
detailType
;
detailPage
=
window
.
open
(
this
.
handleJumpUrl
(
url
));
parent
.
saveOpenNew
?
parent
.
saveOpenNew
(
detailPage
):
sreachparent
(
opener
,
"saveOpenNew"
,
detailPage
);
},
openApproveDetail
(
data
)
{
var
type
=
this
.
params
.
rwListIndex
;
if
(
type
==
"项目管理"
)
data
.
stats
=
"Manage"
;
else
if
(
type
==
"项目查询"
)
data
.
stats
=
"search"
;
else
if
(
type
==
"待办项目"
)
data
.
stats
=
"projecting"
;
else
if
(
type
==
"已办项目"
)
data
.
stats
=
"dealedproject"
;
// create by zys start
else
if
(
type
==
0
)
data
.
stats
=
"projecting"
;
// 待办
else
if
(
type
==
1
)
data
.
stats
=
"dealedproject"
;
// 已办
this
.
jumpdetailPage
(
data
);
}
}
})
\ No newline at end of file
...
...
src/main/webapp/view/PHJG/PHGL/daiban/widget.html
View file @
623ea81
...
...
@@ -61,26 +61,43 @@
background
:
#0096eb
;
color
:
#fff
;
}
.el-col-
5
{
.el-col-
4
{
margin-top
:
20px
}
.div-search
{
border
:
1px
solid
#cac8c8
;
border-radius
:
2px
;
float
:
left
;
margin-right
:
10px
;
width
:
280px
;
height
:
30px
;
margin-left
:
10px
;
margin-left
:
-120px
;
margin-top
:
18px
;
}
.div-search
input
{
border
:
none
;
height
:
27px
;
padding-left
:
15px
;
border-radius
:
2px
;
outline
:
0
;
}
</style>
</head>
<body>
<div
id=
"app"
>
<div
class=
'contanier'
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"
5
"
>
<el-col
:span=
"
4
"
>
<!-- <button class="btns">查询</button>-->
<button
class=
"btns"
@
click=
"openHandleJumpUrl('t1001_8a8610de737b99270173937337e00133','1')"
>
添加
</button>
<button
class=
"btns"
>
删除
</button>
</el-col>
<el-col
:span=
"6"
>
<el-input
v-model=
"search"
placeholder=
"请输入查询内容"
suffix-icon=
"el-icon-search"
></el-input>
<!-- 等完成后调节-->
<!-- <img id="searchBtn"-->
<!-- src="../../../../image/projecttask/search.png"-->
<!-- style="margin-right: 10px; margin-top: 4px; width: 20px; height: 20px; float: right;" />-->
<div
class=
"div-search"
>
<input
id=
"searchInput"
type=
"text"
placeholder=
"搜索待办项目"
style=
"width: 82%;"
v-model=
"search"
>
<img
id=
"searchBtn"
src=
"../../../../image/projecttask/search.png"
style=
"margin-right: 10px; margin-top: 4px; width: 20px; height: 20px; float: right;"
>
</div>
</el-col>
</el-row>
<!-- 列表区域-->
...
...
@@ -90,6 +107,7 @@
height=
"100%"
border
stripe
@
row-click=
"clickData"
>
<el-table-column
type=
"selection"
...
...
src/main/webapp/view/PHJG/PHGL/yiban/widget.html
View file @
623ea81
...
...
@@ -61,22 +61,43 @@
background
:
#0096eb
;
color
:
#fff
;
}
.el-col-
5
{
.el-col-
4
{
margin-top
:
20px
}
.div-search
{
border
:
1px
solid
#cac8c8
;
border-radius
:
2px
;
float
:
left
;
margin-right
:
10px
;
width
:
280px
;
height
:
30px
;
margin-left
:
10px
;
margin-left
:
-120px
;
margin-top
:
18px
;
}
.div-search
input
{
border
:
none
;
height
:
27px
;
padding-left
:
15px
;
border-radius
:
2px
;
outline
:
0
;
}
</style>
</head>
<body>
<div
id=
"app"
>
<div
class=
'contanier'
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"
5
"
>
<el-col
:span=
"
4
"
>
<!-- <button class="btns">查询</button>-->
<button
class=
"btns"
@
click=
"openHandleJumpUrl('t1001_8a8610de737b99270173937337e00133','1')"
>
添加
</button>
<button
class=
"btns"
>
删除
</button>
</el-col>
<el-col
:span=
"6"
>
<el-input
v-model=
"search"
placeholder=
"请输入查询内容"
suffix-icon=
"el-icon-search"
></el-input>
<div
class=
"div-search"
>
<input
id=
"searchInput"
type=
"text"
placeholder=
"搜索已办项目"
style=
"width: 82%;"
v-model=
"search"
>
<img
id=
"searchBtn"
src=
"../../../../image/projecttask/search.png"
style=
"margin-right: 10px; margin-top: 4px; width: 20px; height: 20px; float: right;"
>
</div>
</el-col>
</el-row>
<!-- 列表区域-->
...
...
Please
register
or
sign in
to post a comment