【fix ESLint】src/views/system
This commit is contained in:
@@ -123,7 +123,7 @@ export default {
|
||||
}
|
||||
const that = this
|
||||
this.dataSource = []
|
||||
var params = this.getQueryParams()// 查询条件
|
||||
const params = this.getQueryParams()// 查询条件
|
||||
getPermissionRuleList(params).then((res) => {
|
||||
if (res.success) {
|
||||
that.dataSource = res.result
|
||||
@@ -146,7 +146,7 @@ export default {
|
||||
this.$refs.modalForm.title = '新增'
|
||||
},
|
||||
searchQuery () {
|
||||
var params = this.getQueryParams()
|
||||
const params = this.getQueryParams()
|
||||
params.permissionId = this.permId
|
||||
queryPermissionRule(params).then((res) => {
|
||||
if (res.success) {
|
||||
@@ -172,7 +172,7 @@ export default {
|
||||
}
|
||||
},
|
||||
getRowClassname (record) {
|
||||
if (record.status != 1) {
|
||||
if ((record.status + '') !== '1') {
|
||||
return 'data-rule-invalid'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user