参考列禁用
This commit is contained in:
@@ -650,8 +650,10 @@
|
||||
let num = 0
|
||||
this.content = []
|
||||
jsonHead.forEach((res, index) => {
|
||||
console.log(res)
|
||||
// 配置列
|
||||
if (res.type) {
|
||||
console.log('配置')
|
||||
this.columns.push({
|
||||
dataIndex: res.db_field_name,
|
||||
align: 'center',
|
||||
@@ -835,7 +837,12 @@
|
||||
Object.keys(Obj).forEach((item) => {
|
||||
if (Obj[item] instanceof Object && Obj[item].controlType !== undefined) {
|
||||
Obj[item].list.forEach((itemLi) => {
|
||||
itemLi.isLock = 1
|
||||
console.log(item)
|
||||
if(this.currentPersonRole == 'homo' && item == 'referencesCol'){
|
||||
itemLi.isLock = 0
|
||||
}else{
|
||||
itemLi.isLock = 1
|
||||
}
|
||||
if (itemLi.type === 'pull_more') {
|
||||
itemLi.dataValue = !itemLi.dataValue ? [] : itemLi.dataValue.split(',')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user