|
|
@ -60,7 +60,7 @@
|
|
|
|
<span v-if="scope.row.auditState == 1" style="color: #F58A0C;">
|
|
|
|
<span v-if="scope.row.auditState == 1" style="color: #F58A0C;">
|
|
|
|
待审核
|
|
|
|
待审核
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span v-if="scope.row.auditState == 2" style="color: #1485EF;">
|
|
|
|
<span v-if="scope.row.auditState == 2" style="color: #16B771;">
|
|
|
|
审批通过
|
|
|
|
审批通过
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span v-if="scope.row.auditState == 3" style="color: #F50C0C;">
|
|
|
|
<span v-if="scope.row.auditState == 3" style="color: #F50C0C;">
|
|
|
@ -76,7 +76,7 @@
|
|
|
|
<span class="look-info" style="color: #1485EF;">查看</span>
|
|
|
|
<span class="look-info" style="color: #1485EF;">查看</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- -->
|
|
|
|
<!-- -->
|
|
|
|
<div v-if="scope.row.auditState == 2 || scope.row.auditState == 3" style="display: flex;align-items: center;cursor: pointer;margin-left: 10px;"
|
|
|
|
<div v-if="scope.row.auditState == 3" style="display: flex;align-items: center;cursor: pointer;margin-left: 10px;"
|
|
|
|
@click="delInfo(scope.row)">
|
|
|
|
@click="delInfo(scope.row)">
|
|
|
|
<img src="@/assets/images/edit.png" alt="" style="width: 15px;margin-right: 5px;">
|
|
|
|
<img src="@/assets/images/edit.png" alt="" style="width: 15px;margin-right: 5px;">
|
|
|
|
<span class="del-info" style="color: #1485EF;">编辑</span>
|
|
|
|
<span class="del-info" style="color: #1485EF;">编辑</span>
|
|
|
@ -153,7 +153,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
mounted() {
|
|
|
|
this.getInfo(1);
|
|
|
|
// this.getInfo(1);
|
|
|
|
this.cancalDebounce();
|
|
|
|
this.cancalDebounce();
|
|
|
|
window.addEventListener('resize', this.cancalDebounce);
|
|
|
|
window.addEventListener('resize', this.cancalDebounce);
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -256,6 +256,7 @@ export default {
|
|
|
|
name: 'assetsAuthRecord', query: {
|
|
|
|
name: 'assetsAuthRecord', query: {
|
|
|
|
type: this.btnShow == 'web' ? 0 : this.btnShow == 'xcx' ? 1 : this.btnShow == 'gzh' ? 2 : this.btnShow == 'emil' ? 3 : this.btnShow == 'app' ? 4 : 5,
|
|
|
|
type: this.btnShow == 'web' ? 0 : this.btnShow == 'xcx' ? 1 : this.btnShow == 'gzh' ? 2 : this.btnShow == 'emil' ? 3 : this.btnShow == 'app' ? 4 : 5,
|
|
|
|
pageType: "look",
|
|
|
|
pageType: "look",
|
|
|
|
|
|
|
|
btnShow: this.btnShow,
|
|
|
|
id: this.btnShow == 'web' ? row.currentId : this.btnShow == 'xcx' ? row.miniId : this.btnShow == 'gzh' ? row.accountId : this.btnShow == 'emil' ? row.emailId : this.btnShow == 'app' ? row.appId : null
|
|
|
|
id: this.btnShow == 'web' ? row.currentId : this.btnShow == 'xcx' ? row.miniId : this.btnShow == 'gzh' ? row.accountId : this.btnShow == 'emil' ? row.emailId : this.btnShow == 'app' ? row.appId : null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -267,6 +268,7 @@ export default {
|
|
|
|
name: 'assetsAuthRecord', query: {
|
|
|
|
name: 'assetsAuthRecord', query: {
|
|
|
|
type: this.btnShow == 'web' ? 0 : this.btnShow == 'xcx' ? 1 : this.btnShow == 'gzh' ? 2 : this.btnShow == 'emil' ? 3 : this.btnShow == 'app' ? 4 : 5,
|
|
|
|
type: this.btnShow == 'web' ? 0 : this.btnShow == 'xcx' ? 1 : this.btnShow == 'gzh' ? 2 : this.btnShow == 'emil' ? 3 : this.btnShow == 'app' ? 4 : 5,
|
|
|
|
pageType: "change",
|
|
|
|
pageType: "change",
|
|
|
|
|
|
|
|
btnShow: this.btnShow,
|
|
|
|
id: this.btnShow == 'web' ? row.currentId : this.btnShow == 'xcx' ? row.miniId : this.btnShow == 'gzh' ? row.accountId : this.btnShow == 'emil' ? row.emailId : this.btnShow == 'app' ? row.appId : null
|
|
|
|
id: this.btnShow == 'web' ? row.currentId : this.btnShow == 'xcx' ? row.miniId : this.btnShow == 'gzh' ? row.accountId : this.btnShow == 'emil' ? row.emailId : this.btnShow == 'app' ? row.appId : null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -318,6 +320,26 @@ export default {
|
|
|
|
this.tabHeader = elementHeight - headerHeight - paginationtHeight - 140;
|
|
|
|
this.tabHeader = elementHeight - headerHeight - paginationtHeight - 140;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
beforeRouteEnter(to, from, next){
|
|
|
|
|
|
|
|
next(vm => {
|
|
|
|
|
|
|
|
if(from.path == "/assetsAuthRecord") {
|
|
|
|
|
|
|
|
vm.btnShow = from.query.btnShow
|
|
|
|
|
|
|
|
if(vm.btnShow == 'web') {
|
|
|
|
|
|
|
|
vm.getInfo(1);
|
|
|
|
|
|
|
|
} else if(vm.btnShow == 'xcx') {
|
|
|
|
|
|
|
|
vm.getInfo(2);
|
|
|
|
|
|
|
|
} else if(vm.btnShow == 'gzh') {
|
|
|
|
|
|
|
|
vm.getInfo(3);
|
|
|
|
|
|
|
|
} else if(vm.btnShow == 'emil') {
|
|
|
|
|
|
|
|
vm.getInfo(4);
|
|
|
|
|
|
|
|
} else if(vm.btnShow == 'app') {
|
|
|
|
|
|
|
|
vm.getInfo(5);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
vm.getInfo(1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
@ -345,7 +367,8 @@ export default {
|
|
|
|
margin: 0 10px;
|
|
|
|
margin: 0 10px;
|
|
|
|
display: inline-block;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 5px 20px;
|
|
|
|
padding: 5px 20px;
|
|
|
|
background-color: rgba(30, 128, 235, 0.1);
|
|
|
|
// background-color: rgba(30, 128, 235, 0.1);
|
|
|
|
|
|
|
|
background-color: rgba(213, 225, 236, 0.1);
|
|
|
|
border-radius: 8px;
|
|
|
|
border-radius: 8px;
|
|
|
|
border: 1px solid #1e80eb;
|
|
|
|
border: 1px solid #1e80eb;
|
|
|
|
font-size: 14px;
|
|
|
|
font-size: 14px;
|
|
|
|