|
|
@ -3,6 +3,7 @@
|
|
|
|
<div class="info-left" id="L-size-main">
|
|
|
|
<div class="info-left" id="L-size-main">
|
|
|
|
<div class="content-info" id="L-header">
|
|
|
|
<div class="content-info" id="L-header">
|
|
|
|
<div class="info-title">任务详情</div>
|
|
|
|
<div class="info-title">任务详情</div>
|
|
|
|
|
|
|
|
<el-button type="primary" @click="sendBack" class="fanhuipiaofu" size='mini'>返回</el-button>
|
|
|
|
<div class="teshu-top-info">
|
|
|
|
<div class="teshu-top-info">
|
|
|
|
<div class="top-info">
|
|
|
|
<div class="top-info">
|
|
|
|
<el-row class="top-row">
|
|
|
|
<el-row class="top-row">
|
|
|
@ -273,7 +274,6 @@ export default {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
index: 1,
|
|
|
|
index: 1,
|
|
|
|
formInline: {
|
|
|
|
formInline: {
|
|
|
|
xtlx: "",
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
formInlineTwo: {
|
|
|
|
formInlineTwo: {
|
|
|
|
dwmc: "",
|
|
|
|
dwmc: "",
|
|
|
@ -337,6 +337,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
mounted() {
|
|
|
|
|
|
|
|
|
|
|
|
this.cancalDebounce();
|
|
|
|
this.cancalDebounce();
|
|
|
|
window.addEventListener('resize', this.cancalDebounce);
|
|
|
|
window.addEventListener('resize', this.cancalDebounce);
|
|
|
|
// 获取详情
|
|
|
|
// 获取详情
|
|
|
@ -346,12 +347,32 @@ export default {
|
|
|
|
//获取饼状图数据
|
|
|
|
//获取饼状图数据
|
|
|
|
this.getEchartsdata()
|
|
|
|
this.getEchartsdata()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (localStorage.getItem('ismypaginationTow')) {
|
|
|
|
|
|
|
|
if (JSON.parse(localStorage.getItem('ismypaginationTow')).isfanhuiTow) {
|
|
|
|
|
|
|
|
this.formInline = JSON.parse(localStorage.getItem('ismypaginationTow'))
|
|
|
|
|
|
|
|
this.titleInfo()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
localStorage.removeItem("ismypaginationTow")
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
destroyed() {
|
|
|
|
destroyed() {
|
|
|
|
window.removeEventListener('resize', this.cancalDebounce);
|
|
|
|
window.removeEventListener('resize', this.cancalDebounce);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
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);
|
|
|
|
|
|
|
|
},
|
|
|
|
shouqiisis() {
|
|
|
|
shouqiisis() {
|
|
|
|
console.log(123);
|
|
|
|
console.log(123);
|
|
|
|
this.isshow = !this.isshow
|
|
|
|
this.isshow = !this.isshow
|
|
|
@ -366,9 +387,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//切换资产核查tab
|
|
|
|
//切换资产核查tab
|
|
|
|
handleClick(tab, event) {
|
|
|
|
handleClick(tab, event) {
|
|
|
|
this.formInline = {
|
|
|
|
|
|
|
|
xtlx: "",
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
this.activeName = tab.name
|
|
|
|
this.activeName = tab.name
|
|
|
|
this.xtmcName = tab.$attrs.xtmcName,
|
|
|
|
this.xtmcName = tab.$attrs.xtmcName,
|
|
|
|
localStorage.setItem("activeName", this.activeName)
|
|
|
|
localStorage.setItem("activeName", this.activeName)
|
|
|
@ -518,10 +537,10 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (this.index == 1) {
|
|
|
|
if (this.index == 1) {
|
|
|
|
this.formInline = {
|
|
|
|
this.formInline = {
|
|
|
|
xtlx: "",
|
|
|
|
|
|
|
|
type: this.activeName,
|
|
|
|
type: this.activeName,
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
localStorage.removeItem("ismypaginationTow")
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
} else if (this.index == 2) {
|
|
|
|
} else if (this.index == 2) {
|
|
|
|
this.formInlineTwo = {
|
|
|
|
this.formInlineTwo = {
|
|
|
@ -538,8 +557,12 @@ export default {
|
|
|
|
size: 10,
|
|
|
|
size: 10,
|
|
|
|
type: this.activeName,
|
|
|
|
type: this.activeName,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (this.index == 1) {
|
|
|
|
if (this.index == 1) {
|
|
|
|
this.pagination = { ...this.pagination, ...this.formInline };
|
|
|
|
this.pagination = { ...this.pagination, ...this.formInline };
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.formInline.isfanhuiTow = false
|
|
|
|
|
|
|
|
localStorage.setItem("ismypaginationTow", JSON.stringify(this.formInline))
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
} else if (this.index == 2) {
|
|
|
|
} else if (this.index == 2) {
|
|
|
|
this.pagination = { ...this.pagination, ...this.formInlineTwo };
|
|
|
|
this.pagination = { ...this.pagination, ...this.formInlineTwo };
|
|
|
@ -738,4 +761,14 @@ export default {
|
|
|
|
z-index: 999;
|
|
|
|
z-index: 999;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.content-info {
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.fanhuipiaofu {
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
right: 20px;
|
|
|
|
|
|
|
|
top: 10px;
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|