更改工作

lijinlong
李劲龙 2 months ago
parent 924bab80aa
commit cd5093a019

@ -113,11 +113,11 @@
<div style="display: flex;align-items: center;justify-content: center;">
<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;">查看</span>
<span class="look-info" style="color: #1485EF;">查看</span>
</div>
<div v-if="scope.row.status == 1" style="display: flex;align-items: center;cursor: pointer;" @click="delInfo(scope.row)">
<div v-if="scope.row.status == 1" style="display: flex;align-items: center;cursor: pointer;margin-left: 5px;" @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;">审核</span>
<span class="del-info" style="color: #1485EF;">审核</span>
</div>
</div>
</template>

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

@ -98,13 +98,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;">查看</span>
style="color: #1485EF;">查看</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: 5px;" @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;">审核</span>
style="color: #1485EF;">审核</span>
</div>
</div>
</template>

@ -131,12 +131,12 @@
<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>
<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;">
<span class="look-info"
style="color: #1485EF;margin-right: 15px;">审核</span>
style="color: #1485EF;">审核</span>
</div>
</div>
</template>
@ -422,6 +422,5 @@ export default {
}
.look-info {
margin-left: 10px;
}
</style>

@ -254,15 +254,15 @@
<div style="display: flex;align-items: center;justify-content: center;">
<div style="display: flex;align-items: center;cursor: pointer;">
<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;margin-right: 15px;">查看</span>
<span class="look-info" @click="handleLookdate(scope.row)" style="color: #1485EF;">查看</span>
</div>
<div style="display: flex;align-items: center;cursor: pointer;">
<img src="@/assets/images/edit.png" alt="" style="width: 15px;margin-right: 5px;">
<span class="look-info" @click="handleUpdate(scope.row)" style="color: #1485EF;margin-right: 15px;">编辑</span>
<span class="look-info" @click="handleUpdate(scope.row)" style="color: #1485EF;">编辑</span>
</div>
<div style="display: flex;align-items: center;cursor: pointer;">
<img src="@/assets/images/del.png" alt="" style="width: 20px;margin-right: 5px;">
<span class="look-info" @click="handleDelete(scope.row)" style="color: #F50C0C;margin-right: 15px;">删除</span>
<span class="look-info" @click="handleDelete(scope.row)" style="color: #F50C0C;">删除</span>
</div>
</div>
</template>

@ -99,7 +99,7 @@
<div style="display: flex;align-items: center;justify-content: center;">
<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;">查看</span>
<span class="look-info" style="color: #1485EF;">查看</span>
</div>
</div>
</template>

@ -3024,6 +3024,11 @@ export default {
this.$router.go(-1);
return
}
this.ruleForm.taskId= this.$route.query.taskId
this.ruleForm.assetId= this.$route.query.assetId
this.ruleForm.xttz = this.xttz.join(',');
this.ruleForm.xtfhqkFcg = this.xtfhqkFcg.join(',');
this.ruleForm.xtfhqkFxl = this.xtfhqkFxl.join(',');
@ -3077,16 +3082,16 @@ export default {
//
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
assetTaskjyTj(this.ruleForm).then(res => {
console.log(res, "res");
this.$modal.msgSuccess("修改成功");
this.$router.go(-1);
})
} else {
alert('submit!');
return false;
}
});
// assetTaskjyTj(this.ruleForm).then(res => {
// console.log(res, "res");
// this.$modal.msgSuccess("");
// this.$router.go(-1);
// })
}

@ -94,11 +94,11 @@
<div style="display: flex;align-items: center;justify-content: center;">
<div v-if="scope.row.status == 2" style="display: flex;align-items: center;">
<img src="@/assets/images/icon-shenhe@2x.png" alt="" style="width: 15px;margin-right: 5px;">
<span class="del-info" @click="delInfo(scope.row)" style="color: #1485EF;margin-right: 15px;cursor: pointer;">审核</span>
<span class="del-info" @click="delInfo(scope.row)" style="color: #1485EF;cursor: pointer;">审核</span>
</div>
<div style="display: flex;align-items: center;" v-else>
<img src="@/assets/images/icon-ck@2x.png" alt="" style="width: 20px;margin-right: 5px;">
<span class="look-info" @click="goInfo(scope.row)" style="color: #1485EF;margin-right: 15px;cursor: pointer;">查看</span>
<span class="look-info" @click="goInfo(scope.row)" style="color: #1485EF;cursor: pointer;">查看</span>
</div>
</div>
</template>

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

@ -27,8 +27,8 @@
</el-row>
</div>
</div>
<div class="info-cut-off-rule" id="L-tab">
<div class="left-tab" :class="index == 1 ? 'active-tab' : ''" @click="activeTab(1)"></div>
<div class="content-info" id="L-header">
<div class="info-title">任务详情</div>
</div>
<div class="info-bottom-box">
<el-form :inline="true" :model="formInline" size="small" class="demo-form-inline" v-if="index == 1">
@ -132,13 +132,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: 5px;" @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>
@ -370,15 +370,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){
@ -406,6 +406,5 @@ export default {
}
.look-info {
margin-left: 10px;
}
</style>

Loading…
Cancel
Save