|
|
|
@ -5,6 +5,8 @@
|
|
|
|
|
<div class="info-left info-left-two" id="L-size-main">
|
|
|
|
|
<div class="content-info content-info-two" id="L-header">
|
|
|
|
|
<div class="info-title">任务详情</div>
|
|
|
|
|
<el-button type="primary" @click="sendBack" class="fanhuipiaofu" size='mini'>返回</el-button>
|
|
|
|
|
|
|
|
|
|
<div class="teshu-top-info">
|
|
|
|
|
<div class="top-info">
|
|
|
|
|
<el-row class="top-row">
|
|
|
|
@ -267,6 +269,20 @@ export default {
|
|
|
|
|
this.titleInfo()
|
|
|
|
|
this.assetLcpageList()
|
|
|
|
|
|
|
|
|
|
if (localStorage.getItem('ismypaginationTow')) {
|
|
|
|
|
console.log(JSON.parse(localStorage.getItem('ismypaginationTow')));
|
|
|
|
|
|
|
|
|
|
if (JSON.parse(localStorage.getItem('ismypaginationTow')).isfanhuiTow) {
|
|
|
|
|
|
|
|
|
|
this.formInline = JSON.parse(localStorage.getItem('ismypaginationTow'))
|
|
|
|
|
console.log(99999, this.formInline);
|
|
|
|
|
this.titleInfo()
|
|
|
|
|
} else {
|
|
|
|
|
console.log(99999, this.formInline);
|
|
|
|
|
localStorage.removeItem("ismypaginationTow")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
destroyed() {
|
|
|
|
@ -274,18 +290,24 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
|
|
sendBack() {
|
|
|
|
|
if (localStorage.getItem('ismypagination')) {
|
|
|
|
|
let formInline = JSON.parse(localStorage.getItem('ismypagination'))
|
|
|
|
|
formInline.isfanhui = true
|
|
|
|
|
localStorage.setItem("ismypagination", JSON.stringify(formInline))
|
|
|
|
|
}
|
|
|
|
|
this.$router.go(-1);
|
|
|
|
|
},
|
|
|
|
|
handleClick(tab, event) {
|
|
|
|
|
console.log(tab.name);
|
|
|
|
|
this.formInline = {
|
|
|
|
|
xtlx: "",
|
|
|
|
|
}
|
|
|
|
|
// this.formInline = {
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
this.activeName = tab.name
|
|
|
|
|
|
|
|
|
|
this.xtmcName = tab.$attrs.xtmcName
|
|
|
|
|
|
|
|
|
|
localStorage.setItem("activeName",this.activeName)
|
|
|
|
|
localStorage.setItem("activeName", this.activeName)
|
|
|
|
|
this.handleQuery()
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
@ -372,7 +394,7 @@ export default {
|
|
|
|
|
taskstatus(id) {
|
|
|
|
|
if (id) {
|
|
|
|
|
let obj = {
|
|
|
|
|
0:"已关闭",
|
|
|
|
|
0: "已关闭",
|
|
|
|
|
1: "进行中",
|
|
|
|
|
2: "正常完成", 3: "超期完成", 4: "正常完成", 5: "审核驳回"
|
|
|
|
|
}
|
|
|
|
@ -399,14 +421,14 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
//tab的下标
|
|
|
|
|
this.activeName = this.chanckListTow[0].lable
|
|
|
|
|
if(localStorage.getItem("activeName")){
|
|
|
|
|
if (localStorage.getItem("activeName")) {
|
|
|
|
|
this.activeName = localStorage.getItem("activeName")
|
|
|
|
|
localStorage.setItem("activeName",this.activeName)
|
|
|
|
|
localStorage.setItem("activeName", this.activeName)
|
|
|
|
|
}
|
|
|
|
|
//动态列表
|
|
|
|
|
let listname = this.chanckListTow.filter(item=> item.lable == this.activeName)
|
|
|
|
|
if(listname){
|
|
|
|
|
this.xtmcName = listname[0].xtmcName
|
|
|
|
|
let listname = this.chanckListTow.filter(item => item.lable == this.activeName)
|
|
|
|
|
if (listname) {
|
|
|
|
|
this.xtmcName = listname[0].xtmcName
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
this.handleQuery();
|
|
|
|
@ -437,6 +459,8 @@ export default {
|
|
|
|
|
type: this.activeName,
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
localStorage.removeItem("ismypaginationTow")
|
|
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
} else if (this.index == 2) {
|
|
|
|
|
this.formInlineTwo = {
|
|
|
|
@ -453,7 +477,15 @@ export default {
|
|
|
|
|
type: this.activeName,
|
|
|
|
|
}
|
|
|
|
|
if (this.index == 1) {
|
|
|
|
|
|
|
|
|
|
this.pagination = { ...this.pagination, ...this.formInline };
|
|
|
|
|
|
|
|
|
|
this.formInline.isfanhuiTow = false
|
|
|
|
|
console.log(77777, this.formInline);
|
|
|
|
|
console.log(88888, this.pagination);
|
|
|
|
|
|
|
|
|
|
localStorage.setItem("ismypaginationTow", JSON.stringify(this.formInline))
|
|
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
} else if (this.index == 2) {
|
|
|
|
|
this.getListTwo();
|
|
|
|
@ -550,4 +582,14 @@ export default {
|
|
|
|
|
::v-deep .el-dialog {
|
|
|
|
|
margin-top: 20vh !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.content-info {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.fanhuipiaofu {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 20px;
|
|
|
|
|
top: 10px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|