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
8812f2e6
authored
2020-08-01 10:09:03 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改点击进入详情页
1 parent
57d903bc
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
40 additions
and
29 deletions
src/main/webapp/js/projecttask/dataTable.js
src/main/webapp/js/projecttask/dealingproject.js
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/yiban/widget.html
src/main/webapp/view/PHJG/PHGL/yiban/widget.html
src/main/webapp/js/projecttask/dataTable.js
View file @
8812f2e
...
...
@@ -14,17 +14,6 @@ function setLayuiData(_data, type, version) {
]];
if
(
orign
==
'ghsc'
)
{
// 规划审查 已办项目 表头设置
// "<th width=\"5%\"><div class=\"tableCell\">状态</div></th> " +
// "<th width=\"8%\"><div class=\"tableCell\">项目编号</div></th>" +
// "<th width=\"8%\"><div class=\"tableCell\">规划类型</div></th>" + // --
// "<th width=\"30%\"><div class=\"tableCell\">项目名称</div></th>" +
// "<th width=\"10%\"><div class=\"tableCell\">行政辖区</div></th>" + //"<th width=\"12%\"><div class=\"tableCell\">业务类型</div></th>" +
// "<th width=\"10%\"><div class=\"tableCell\">项目版本</div></th>" + //"<th width=\"8%\"><div class=\"tableCell\">发起部门</div></th>" +
// "<th width=\"10%\"><div class=\"tableCell\">当前环节</div></th>" + // --
// "<th width=\"8%\"><div class=\"tableCell\">发起部门</div></th>" + // --
// "<th width=\"8%\"><div class=\"tableCell\">报送日期</div></th>" +
// isType; // 1 数据申请 2 成果审查
if
(
isType
==
1
)
{
// -- 数据申请
...
...
@@ -42,20 +31,7 @@ function setLayuiData(_data, type, version) {
,
{
field
:
'ACTIVITYNAME'
,
title
:
'当前环节'
,
width
:
"10%"
,
event
:
"eventProjectstatus"
}
,
{
field
:
'BINDINGASSIGNEE'
,
title
:
'申请部门'
,
width
:
"8%"
,
event
:
"eventInterconnect"
}
,
{
field
:
'REGISTERTIME'
,
title
:
'申请时间'
,
width
:
"10%"
,
event
:
"eventRegistertime"
,
templet
:
function
(
d
)
{
return
d
.
REGISTERTIME
?
d
.
REGISTERTIME
.
substring
(
0
,
16
)
:
''
}
}
// , { field: 'FLOWNAME', title: '业务类型', width: "12%", event: "eventflowname" }
]];
// "<th width=\"1%\" class=\"checkboxCls\">" + '<input class="parent_check" type="checkbox" name="" lay-skin="primary" title="" >' + "</th>" +
// "<th width=\"3%\" class=\"statusIcon\"></th>" +
// "<th width=\"5%\"><div class=\"tableCell\">状态</div></th> " +
// "<th width=\"8%\"><div class=\"tableCell\">项目编号</div></th>" +
//
// "<th width=\"8%\"><div class=\"tableCell\">数据类型</div></th>" + // --
// "<th width=\"20%\"><div class=\"tableCell\">数据用途</div></th>" +
// "<th width=\"10%\"><div class=\"tableCell\">密级</div></th>" + //"<th width=\"12%\"><div class=\"tableCell\">业务类型</div></th>" +
// // "<th width=\"10%\"><div class=\"tableCell\">项目版本</div></th>" + //"<th width=\"8%\"><div class=\"tableCell\">发起部门</div></th>" +
// "<th width=\"10%\"><div class=\"tableCell\">当前环节</div></th>" + // --
// "<th width=\"8%\"><div class=\"tableCell\">申请部门</div></th>" + // --
// "<th width=\"11%\"><div class=\"tableCell\">申请日期</div></th>" +
}
else
{
layuiTableCol
=
[[
//标题栏
{
field
:
'CHECKBOX'
,
type
:
'checkbox'
,
title
:
'复选框'
,
unresize
:
false
,
event
:
"eventCheckbox"
,
width
:
"31"
}
...
...
src/main/webapp/js/projecttask/dealingproject.js
View file @
8812f2e
...
...
@@ -2138,6 +2138,7 @@ function workingSeeDetail(td) {
}
// end
//不再验证会议状态
console
.
log
(
data
)
openApproveDetail
(
data
);
/*if(data.MEETINGPROJECTSTATE!=null && data.MEETINGPROJECTSTATE!="" && parent.listName!="项目查询" && parent.listName!="已办项目"){
parent.layer?parent.layer.msg("项目正在"+data.MEETINGPROJECTSTATE, {icon : 7}):opener.parent.layer.msg("项目正在"+data.MEETINGPROJECTSTATE, {icon : 7});
...
...
src/main/webapp/view/PHJG/AJCC/daiban/js/widget.js
View file @
8812f2e
...
...
@@ -89,7 +89,41 @@ var self = new Vue({
},
clickData
(
row
,
column
,
event
)
{
// console.log(row, column, event)
alert
(
1111
)
this
.
jumpdetailPage
(
row
);
},
// 详情
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='
+
20190
+
"&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
);
},
openHandleJumpUrl
(
flowId
,
itemTypeId
,
_stats
=
'create'
)
{
// debugger
...
...
src/main/webapp/view/PHJG/AJCC/daiban/widget.html
View file @
8812f2e
...
...
@@ -74,7 +74,7 @@
<div
style=
"line-height: 37px;margin-left: -100px"
>
<el-button
v-show=
"isActive == 3"
type =
"primary"
size=
"mini"
@
click=
"openHandleJumpUrl('t1001_8a8610de737b99270173937337e00133','1')"
>
添加
</el-button>
<el-button
v-show=
"isActive == 3"
type =
"primary"
size=
"mini"
>
删除
</el-button>
<el-button
v-show=
"isActive == 5"
type =
"primary"
size=
"mini"
@
click=
"openHandleJumpUrl('t1001_8a8610d
e737b99270173937337e0013
3','1')"
>
添加
</el-button>
<el-button
v-show=
"isActive == 5"
type =
"primary"
size=
"mini"
@
click=
"openHandleJumpUrl('t1001_8a8610d
86125b9a801612600a4c6000
3','1')"
>
添加
</el-button>
<el-button
v-show=
"isActive == 5"
type =
"primary"
size=
"mini"
>
删除
</el-button>
</div>
<div
style=
"float: right"
>
...
...
src/main/webapp/view/PHJG/AJCC/yiban/widget.html
View file @
8812f2e
...
...
@@ -78,9 +78,9 @@
<span
class=
"optspan"
:class=
"isActive==5? 'select':''"
@
click=
"click(5)"
>
转办
</span>
</div>
<div
style=
"line-height: 37px;margin-left: -100px"
>
<
el-button
v-show=
"isActive == 3"
type =
"primary"
size=
"mini"
@
click=
"openHandleJumpUrl('t1001_8a8610de737b99270173937337e00133','1')"
>
添加
</el-button
>
<
!--<el-button v-show="isActive == 3" type ="primary" size="mini" @click="openHandleJumpUrl('t1001_8a8610de737b99270173937337e00133','1')">添加</el-button>--
>
<el-button
v-show=
"isActive == 3"
type =
"primary"
size=
"mini"
>
删除
</el-button>
<el-button
v-show=
"isActive == 5"
type =
"primary"
size=
"mini"
@
click=
"openHandleJumpUrl('t1001_8a8610de737b99270173937337e00133','1')"
>
添加
</el-button
>
<!-- <el-button v-show="isActive == 5" type ="primary" size="mini" @click="openHandleJumpUrl('t1001_8a8610de737b99270173937337e00133','1')">添加</el-button>--
>
<el-button
v-show=
"isActive == 5"
type =
"primary"
size=
"mini"
>
删除
</el-button>
</div>
<div
style=
"float: right"
>
...
...
src/main/webapp/view/PHJG/PHGL/yiban/widget.html
View file @
8812f2e
...
...
@@ -94,7 +94,7 @@
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<!-- <button class="btns">查询</button>-->
<button
class=
"btns"
@
click=
"openHandleJumpUrl('t1001_8a8610de737b99270173937337e00133','1')"
>
添加
</button
>
<!-- <button class="btns" @click="openHandleJumpUrl('t1001_8a8610de737b99270173937337e00133','1')">添加</button>--
>
<button
class=
"btns"
>
删除
</button>
</el-col>
<el-col
:span=
"6"
>
...
...
Please
register
or
sign in
to post a comment