lijinlong
吕天方 2 months ago
parent dc95e75864
commit ca41b0f9e0

@ -101,7 +101,7 @@
style="color: #1485EF;">查看</span>
</div>
<!-- v-if="scope.row.taskStatus == 1" -->
<div style="display: flex;align-items: center;cursor: pointer;margin-left: 5px;" @click="delInfo(scope.row)">
<div style="display: flex;align-items: center;cursor: pointer;margin-left: 10px;" @click="delInfo(scope.row)">
<img src="@/assets/images/icon-shenhe@2x.png" alt="" style="width: 15px;margin-right: 5px;">
<span class="del-info"
style="color: #1485EF;">审核</span>

@ -135,8 +135,8 @@
<span class="look-info"
style="color: #1485EF;">查看</span>
</div>
<div style="display: flex;align-items: center;cursor: pointer;" @click="goInfo(1,scope.row)" v-if="$route.query.pageType == 'info' || $route.meta.pageType == 'info'">
<img src="@/assets/images/icon-shenhe@2x.png" alt="" style="width: 20px;margin-right: 5px;">
<div style="display: flex;align-items: center;cursor: pointer;margin-left: 5px;" @click="goInfo(1,scope.row)" v-if="$route.query.pageType == 'info' || $route.meta.pageType == 'info'">
<img src="@/assets/images/icon-shenhe@2x.png" alt="" style="width: 15px;margin-right: 5px;">
<span class="look-info"
style="color: #1485EF;">审核</span>
</div>

@ -256,11 +256,11 @@
<img src="@/assets/images/icon-ck@2x.png" alt="" style="width: 20px;margin-right: 5px;">
<span class="look-info" @click="handleLookdate(scope.row)" style="color: #1485EF;">查看</span>
</div>
<div style="display: flex;align-items: center;cursor: pointer;">
<div style="display: flex;align-items: center;cursor: pointer; margin-left: 10px;">
<img src="@/assets/images/edit.png" alt="" style="width: 15px;margin-right: 5px;">
<span class="look-info" @click="handleUpdate(scope.row)" style="color: #1485EF;">编辑</span>
</div>
<div style="display: flex;align-items: center;cursor: pointer;">
<div style="display: flex;align-items: center;cursor: pointer; margin-left: 10px;">
<img src="@/assets/images/del.png" alt="" style="width: 20px;margin-right: 5px;">
<span class="look-info" @click="handleDelete(scope.row)" style="color: #F50C0C;">删除</span>
</div>

@ -77,13 +77,13 @@
<div style="display: flex;align-items: center;cursor: pointer;" @click="goInfo(scope.row)">
<img src="@/assets/images/icon-ck@2x.png" alt="" style="width: 20px;margin-right: 5px;">
<span class="look-info"
style="color: #1485EF;margin-right: 15px;cursor: pointer;">查看</span>
style="color: #1485EF;cursor: pointer;">查看</span>
</div>
<!-- v-if="scope.row.taskStatus == 1" -->
<div style="display: flex;align-items: center;cursor: pointer;" @click="delInfo(scope.row)">
<div style="display: flex;align-items: center;cursor: pointer;margin-left: 10px;" @click="delInfo(scope.row)">
<img src="@/assets/images/icon-shenhe@2x.png" alt="" style="width: 15px;margin-right: 5px;">
<span class="del-info"
style="color: #1485EF;margin-right: 15px;cursor: pointer;">开始核查</span>
style="color: #1485EF;cursor: pointer;">开始核查</span>
</div>
</div>
</template>

@ -135,13 +135,13 @@
<div style="display: flex;align-items: center;cursor: pointer;" @click="goInfo(1,scope.row)">
<img src="@/assets/images/icon-ck@2x.png" alt="" style="width: 20px;margin-right: 5px;">
<span class="look-info"
style="color: #1485EF;margin-right: 15px;">查看</span>
style="color: #1485EF;">查看</span>
</div>
<!-- v-if="scope.row.taskStatus == 1" -->
<div v-if="($route.query.pageType == 'info' || $route.meta.pageType == 'info') && scope.row.status != 3&& scope.row.status != 5&&scope.row.status != 1" style="display: flex;align-items: center;cursor: pointer;" @click="goInfo(2,scope.row)">
<div v-if="($route.query.pageType == 'info' || $route.meta.pageType == 'info') && scope.row.status != 3&& scope.row.status != 5&&scope.row.status != 1" style="display: flex;align-items: center;cursor: pointer;margin-left: 10px;" @click="goInfo(2,scope.row)">
<img src="@/assets/images/icon-shenhe@2x.png" alt="" style="width: 15px;margin-right: 5px;">
<span class="del-info"
style="color: #1485EF;margin-right: 15px;">核查</span>
style="color: #1485EF;">核查</span>
</div>
</div>
</template>
@ -374,15 +374,15 @@ export default {
},
//
cancalDebounce() {
// const element = document.getElementById('L-size-main'); // ID
// const header = document.getElementById('L-header'); // ID
// const tab = document.getElementById('L-tab'); // ID
// const pagination = document.getElementById('L-pagination'); // ID
// const elementHeight = element.offsetHeight;
// const headerHeight = header.offsetHeight;
// const paginationtHeight = pagination.offsetHeight;
// const tabHeight = tab.offsetHeight;
// this.tabHeader = elementHeight - headerHeight - paginationtHeight - tabHeight - 120;
const element = document.getElementById('L-size-main'); // ID
const header = document.getElementById('L-header'); // ID
const tab = document.getElementById('L-tab'); // ID
const pagination = document.getElementById('L-pagination'); // ID
const elementHeight = element.offsetHeight;
const headerHeight = header.offsetHeight;
const paginationtHeight = pagination.offsetHeight;
const tabHeight = tab.offsetHeight;
this.tabHeader = elementHeight - headerHeight - paginationtHeight - tabHeight - 120;
}
},
beforeRouteEnter(to,from,next){

Loading…
Cancel
Save