623ea817 by 焦小希

修改页面样式

1 parent 9ac66546
......@@ -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
......
......@@ -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"
......
......@@ -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>
<!-- 列表区域-->
......