提交 ef7aaebc authored 作者: 钟是志's avatar 钟是志

韩才说的 把这个权限控制屏蔽了 isSelf= true表示 表的创建者才能批量删除.

上级 74c50eea
......@@ -71,7 +71,7 @@ const text = [
'TIBYTEXT',
'VARBINARY',
'VARCHAR',
'VARCHAR2',
'VARCHAR2',
'NVARCHAR2'
];
const number = ['BIGINT', 'DOUBLE', 'FLOAT', 'INT', 'INTEGER', 'NUMERIC', 'SMALLINT', 'TINYINT','NUMBER'];
......@@ -438,7 +438,7 @@ class FormList extends React.Component {
}
initColumn = () => {
const { dispatch, isFormCom, isSelect, callback, valueName } = this.props;
const { rights, columnRights } = this.state;
if (this.props.value && this.props.value.columns) {
this.columns = this.props.value.columns;
......@@ -509,7 +509,7 @@ class FormList extends React.Component {
}
return;
}
if (this.props.objCode == 1 || this.props.objCode == '1') {
} else {
dispatch({
......@@ -807,7 +807,7 @@ class FormList extends React.Component {
payload: {
keys: JSON.stringify(Keys),
objId: this.state.objId,
isSelf: true,
// isSelf: true,
},
callback: () => {
this.setState({
......@@ -1181,13 +1181,13 @@ class FormList extends React.Component {
} = this.props;
const { showMobileDiv, isView } = this.state;
let scrollWidth = document.documentElement.clientWidth || document.body.clientWidth; //可使宽度
let isMobile = scrollWidth < 1000;
if (document.querySelector('#previewDiv')) {
isMobile = true;
}
let showDiv =json.twidth?json.twidth:(
document.querySelector('#mobelDiv') &&
document.querySelector('#mobelDiv')?.parentNode.clientWidth);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论