|
|
|
@ -278,8 +278,7 @@ export default {
|
|
|
|
let editColumn = dataColumn.filter(it => {
|
|
|
|
let editColumn = dataColumn.filter(it => {
|
|
|
|
let b = false;
|
|
|
|
let b = false;
|
|
|
|
if (this.dataInfoObj.FCanEdit != 2) {
|
|
|
|
if (this.dataInfoObj.FCanEdit != 2) {
|
|
|
|
if (it.fieldType == 7) b = this.userPower[1].indexOf(it.id) >= 0;
|
|
|
|
b = this.userPower[0].indexOf(it.id) >= 0;
|
|
|
|
else b = this.userPower[0].indexOf(it.id) >= 0;
|
|
|
|
|
|
|
|
if (b) {
|
|
|
|
if (b) {
|
|
|
|
it.customSlot = it.key;
|
|
|
|
it.customSlot = it.key;
|
|
|
|
it.cellClass = "edit-item"
|
|
|
|
it.cellClass = "edit-item"
|
|
|
|
|