|
@@ -26,8 +26,8 @@
|
|
|
<input id="all" type="checkbox" @click="checkAll($event)">全选
|
|
<input id="all" type="checkbox" @click="checkAll($event)">全选
|
|
|
</label>
|
|
</label>
|
|
|
<table class="d-none" id="headerRoll"></table>
|
|
<table class="d-none" id="headerRoll"></table>
|
|
|
- <table class="table table-sm table-striped table-hover" id="headerParent">
|
|
|
|
|
- <tr class="text-nowrap" id="header"></tr>
|
|
|
|
|
|
|
+ <table class="table table-sm table-striped table-hover table-bordered" id="headerParent">
|
|
|
|
|
+ {{--<tr class="text-nowrap" id="header"></tr>--}}
|
|
|
<tr v-for="(area,i) in areas">
|
|
<tr v-for="(area,i) in areas">
|
|
|
<td>
|
|
<td>
|
|
|
<label><input type="checkbox" :value="area.id" v-model="checkData"></label>
|
|
<label><input type="checkbox" :value="area.id" v-model="checkData"></label>
|
|
@@ -41,8 +41,8 @@
|
|
|
<span v-if="area.status=='已完成'" class="text-success font-weight-bold">@{{ area.status }}</span>
|
|
<span v-if="area.status=='已完成'" class="text-success font-weight-bold">@{{ area.status }}</span>
|
|
|
<span v-if="area.status=='已审核'" class="text-primary font-weight-bold">@{{ area.status }}</span>
|
|
<span v-if="area.status=='已审核'" class="text-primary font-weight-bold">@{{ area.status }}</span>
|
|
|
</td>
|
|
</td>
|
|
|
- <td>@{{ area.userOwnerGroupName }}</td>
|
|
|
|
|
- <td>@{{ area.customerName }}</td>
|
|
|
|
|
|
|
+ <td style="min-width: 50px">@{{ area.userOwnerGroupName }}</td>
|
|
|
|
|
+ <td style="min-width: 50px">@{{ area.customerName }}</td>
|
|
|
<td>@{{ area.ownerName }}</td>
|
|
<td>@{{ area.ownerName }}</td>
|
|
|
<td>@{{ area.countingMonth }}</td>
|
|
<td>@{{ area.countingMonth }}</td>
|
|
|
<td>@{{ area.updatedAt }}</td>
|
|
<td>@{{ area.updatedAt }}</td>
|
|
@@ -148,7 +148,7 @@
|
|
|
|
|
|
|
|
@section('lastScript')
|
|
@section('lastScript')
|
|
|
<script type="text/javascript" src="{{mix('js/queryForm/queryForm.js')}}"></script>
|
|
<script type="text/javascript" src="{{mix('js/queryForm/queryForm.js')}}"></script>
|
|
|
- <script type="text/javascript" src="{{mix('js/queryForm/header.js')}}"></script>
|
|
|
|
|
|
|
+ <script type="text/javascript" src="{{asset('js/test.js')}}"></script>
|
|
|
<script type="text/javascript" src="{{mix('js/queryForm/export.js')}}"></script>
|
|
<script type="text/javascript" src="{{mix('js/queryForm/export.js')}}"></script>
|
|
|
<script>
|
|
<script>
|
|
|
let vue = new Vue({
|
|
let vue = new Vue({
|
|
@@ -231,8 +231,8 @@
|
|
|
});
|
|
});
|
|
|
this.form.init();
|
|
this.form.init();
|
|
|
let column = [
|
|
let column = [
|
|
|
- {name:'cloneCheckAll',customization:true,type:'checkAll',column:'id',
|
|
|
|
|
- dom:$('#cloneCheckAll').removeClass('d-none'), neglect: true},
|
|
|
|
|
|
|
+
|
|
|
|
|
+ {name:'index',value: '序号', neglect: true},
|
|
|
{name:'index',value: '序号', neglect: true},
|
|
{name:'index',value: '序号', neglect: true},
|
|
|
{name:'status',value: '状态'},
|
|
{name:'status',value: '状态'},
|
|
|
{name:'userOwnerGroupName',value: '项目组'},
|
|
{name:'userOwnerGroupName',value: '项目组'},
|
|
@@ -247,19 +247,12 @@
|
|
|
{name:'areaOnFlat',value: '平面区', neglect: true},
|
|
{name:'areaOnFlat',value: '平面区', neglect: true},
|
|
|
{name:'accountingArea',value: '结算', neglect: true},
|
|
{name:'accountingArea',value: '结算', neglect: true},
|
|
|
];
|
|
];
|
|
|
- let _this=this;
|
|
|
|
|
- setTimeout(function () {
|
|
|
|
|
- let header = new Header({
|
|
|
|
|
- el: "#header",
|
|
|
|
|
- column: column,
|
|
|
|
|
- data: _this.reports,
|
|
|
|
|
- restorationColumn: 'id',
|
|
|
|
|
- fixedTop:($('#form_div').height())+2,
|
|
|
|
|
- offset:0.5,
|
|
|
|
|
- vue:vue
|
|
|
|
|
- });
|
|
|
|
|
- header.init();
|
|
|
|
|
- },0);
|
|
|
|
|
|
|
+ new Header({
|
|
|
|
|
+ el: "headerParent",
|
|
|
|
|
+ column: column,
|
|
|
|
|
+ data: this.reports,
|
|
|
|
|
+ fixedTop:($('#form_div').height())+2,
|
|
|
|
|
+ }).init();
|
|
|
},
|
|
},
|
|
|
methods:{
|
|
methods:{
|
|
|
openAll(index){
|
|
openAll(index){
|