修改禅道已知bug

This commit is contained in:
qq787203167
2022-07-02 13:57:11 +08:00
parent 0c7e693472
commit 6d70cc7e90
2 changed files with 23 additions and 14 deletions
@@ -261,7 +261,8 @@
watch: {
currentPersonRole: {
handler: function() {
this.getTableList();
console.log(123)
this.getTableList()
},
immediate: true
}
@@ -377,7 +378,7 @@
this.areaVisible = true
// this.$refs.ruleForm.clearValidate()
this.$nextTick(() => {
this.Dateline = {...this.Dateline}
this.Dateline = { ...this.Dateline }
this.getquerySdtList(record)
this.$refs.ruleForm.clearValidate()
})
@@ -406,17 +407,19 @@
getAndUserId(result) {
let query = {
paramsManifestId: this.$route.query.id,
projectId:this.$route.query.projectId,
projectId: this.$route.query.projectId,
userId: this.userInfo().id
}
getAction('/params/userTypeLog/queryCurrentType', query).then((res) => {
if (res.success) {
if (res.result && res.result.userType){
if (res.result && res.result.userType) {
this.getTableList(res.result.userType)
}else{
console.log(11)
} else {
console.log(222)
this.getTableList(result[0].value)
}
this.$emit('LoginUserType', result, this.currentPersonRole,res.result.userType)
this.$emit('LoginUserType', result, this.currentPersonRole, res.result.userType)
} else {
}
@@ -532,7 +535,9 @@
this.dataSource = tt
this.total = res.result.total
this.selectedRowKeys = []
this.loading = false
setTimeout(() => {
this.loading = false
}, 500)
} else {
this.loading = false
}
@@ -616,7 +621,9 @@
this.selectedRowrowValue = []
this.$emit('value', this.selectedRowKeys)
this.$emit('rowValue', this.selectedRowrowValue)
this.loading = false
setTimeout(() => {
this.loading = false
}, 500)
} else {
this.loading = false
}
@@ -638,7 +645,7 @@
detailClick(item, index) {
// this.$emit('detailClick', item)
}
},
}
}
</script>
<style lang='less'>
@@ -734,10 +741,12 @@
transform: none !important;
bottom: 0;
}
.rowClassRed{
background: #f3d9de;
.rowClassRed {
background: #f3d9de;
}
.rowClassRedYellow{
background: yellow;
.rowClassRedYellow {
background: yellow;
}
</style>