[add] 权限工程接口人
This commit is contained in:
@@ -73,6 +73,7 @@ export default {
|
||||
indeterminate: false,
|
||||
columns: [],
|
||||
selectedRowKeys: [],
|
||||
selectedRowrowValue: [],
|
||||
dataSource: [],
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
@@ -81,6 +82,7 @@ export default {
|
||||
loading: false,
|
||||
orderBy: '1',
|
||||
orderByField: '',
|
||||
LoginUserType: '', // 登陆人角色状态
|
||||
homo: 0, // 认证工程师
|
||||
sdt: 0, // 工程接口人
|
||||
dre: 0, // 填写人
|
||||
@@ -98,6 +100,8 @@ export default {
|
||||
}
|
||||
getAction(this.url.getLoginUserType, params).then((res) => {
|
||||
if (res.success) {
|
||||
this.LoginUserType = res.result
|
||||
this.$emit('LoginUserType', this.LoginUserType)
|
||||
res.result.split(',').forEach((item,index) => {
|
||||
if(item === 'homo') {
|
||||
this.homo = 1
|
||||
@@ -190,8 +194,8 @@ export default {
|
||||
// this.getTableList()
|
||||
},
|
||||
onSelectChange(value,rowValue) {
|
||||
console.log(value,rowValue)
|
||||
this.selectedRowKeys = value
|
||||
this.selectedRowrowValue = rowValue
|
||||
this.$emit('value',value)
|
||||
this.$emit('rowValue', rowValue)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user