[add] 权限工程接口人

This commit is contained in:
zhaomeijing
2022-05-16 16:31:05 +08:00
parent dadb953d5f
commit 305ca79397
4 changed files with 117 additions and 45 deletions
@@ -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)
},