修改禅道已知bug
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -817,7 +817,7 @@
|
||||
LoginUserType(val, currentPersonRole,userType) {
|
||||
this.RoleType = []
|
||||
if (this.currentPersonRole == '') {
|
||||
this.currentPersonRole = val.length >= 1 ? val[0].value : ''
|
||||
this.currentPersonRole = currentPersonRole || userType || val[0].value
|
||||
}
|
||||
this.RoleType = val
|
||||
this.formInlineRoleSwitching.roleSwitchingCode = currentPersonRole || userType || val[0].value
|
||||
|
||||
Reference in New Issue
Block a user