|
@@ -66,8 +66,8 @@
|
|
|
<div class="layui-form-item">
|
|
|
<div class="layui-input-block time_box">
|
|
|
<button type="button" class="layui-btn layui-btn-normal" @click="search">查询</button>
|
|
|
- <button type="button" class="layui-btn layui-btn-export" @click="downTemplate">下载模板</button>
|
|
|
- <button type="button" class="layui-btn layui-btn-export" @click="impExcel">导入</button>
|
|
|
+<%-- <button type="button" class="layui-btn layui-btn-export" @click="downTemplate">下载模板</button>--%>
|
|
|
+<%-- <button type="button" class="layui-btn layui-btn-export" @click="impExcel">导入</button>--%>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -76,9 +76,9 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div>
|
|
|
- <button class="layui-btn btn_add" @click="add">新增</button>
|
|
|
- </div>
|
|
|
+<%-- <div>--%>
|
|
|
+<%-- <button class="layui-btn btn_add" @click="add">新增</button>--%>
|
|
|
+<%-- </div>--%>
|
|
|
|
|
|
</div>
|
|
|
<div class="table_box">
|
|
@@ -244,7 +244,8 @@
|
|
|
</script>
|
|
|
<script type="text/html" id="toolBar">
|
|
|
<div class="toolBar">
|
|
|
- <span style="width: 30px;" lay-event="detail">办理</span>
|
|
|
+ <span style="width: 30px;" lay-event="toPre">办理情况</span>
|
|
|
+ <span style="width: 30px;" lay-event="toDetail">项目详情</span>
|
|
|
</div>
|
|
|
</script>
|
|
|
<script>
|
|
@@ -284,7 +285,7 @@ new Vue({
|
|
|
,multiple: false //允许上传多个文件
|
|
|
});
|
|
|
this.getData();
|
|
|
- //window.toDetail = this.toDetail;
|
|
|
+ window.toDetail = this.toDetail;
|
|
|
},
|
|
|
del: function(obj) {
|
|
|
var self = this;
|
|
@@ -359,7 +360,7 @@ new Vue({
|
|
|
// {field: '', title: '周报', minWidth: 100, templet: '#week'},
|
|
|
// {field: '', title: '月报', minWidth: 100, templet: '#month'},
|
|
|
// {field: '', title: '是否停工', minWidth: 100, templet: '#stop'},
|
|
|
- {title: '操作', width: 100, align:'center', toolbar: '#toolBar',},
|
|
|
+ {title: '操作', width: 180, align:'center', toolbar: '#toolBar',},
|
|
|
]],
|
|
|
fixed:true,
|
|
|
height:window.screen.availHeight-380,
|
|
@@ -424,6 +425,20 @@ new Vue({
|
|
|
detail: function(obj) {
|
|
|
window.location.href=App.getUrl("/subject/subInfo/detail?subId=" + obj.data.id);
|
|
|
},
|
|
|
+ // 前往项目手续办理页面
|
|
|
+ toPre: function (obj) {
|
|
|
+ window.location.href=App.getUrl("/subPreNew/sbTodo?subId=" + obj.data.id);
|
|
|
+ },
|
|
|
+ toDetail: function (obj) {
|
|
|
+ //详情
|
|
|
+ var index = layer.open({
|
|
|
+ type: 2,
|
|
|
+ title: '',
|
|
|
+ area: ['1000px', '800px'],
|
|
|
+ content: App.getUrl("/subject/subInfo/detailView?layer=true&subId=" + obj.data.id + "&lastUrl=" + window.location.href),
|
|
|
+ });
|
|
|
+ layui.layer.full(index);
|
|
|
+ },
|
|
|
preEdit: function(obj) {
|
|
|
window.location.href=App.getUrl("/subPreNew/todo?subId=" + obj.data.id);
|
|
|
},
|