feature/2.15.1.2407.01-权限
This commit is contained in:
parent
42bc94e720
commit
b0ac071035
|
|
@ -9,6 +9,7 @@
|
|||
*/
|
||||
import React, { Component } from "react";
|
||||
import { WeaBrowser, WeaLocaleProvider } from "ecCom";
|
||||
import "./index.less";
|
||||
|
||||
const getLabel = WeaLocaleProvider.getLabel;
|
||||
|
||||
|
|
@ -20,9 +21,9 @@ class Index extends Component {
|
|||
render() {
|
||||
|
||||
return (
|
||||
<WeaBrowser type={161} hasAddBtn hasBorder whiteBackground viewAttr={1}
|
||||
<WeaBrowser type={-99991} hasAddBtn hasBorder whiteBackground viewAttr={1} className="tax_role_setting_browser"
|
||||
addOnClick={values => console.log("自定义btn 点击的回调", values)}
|
||||
inputStyle={{ width: "100%" }}
|
||||
replaceDatas={[{ id: 1, name: <a href="javascript:void(0);" className="only-operate">操作者</a> }]}
|
||||
onChange={(ids, names, datas) =>
|
||||
console.log("单人力", ids, names, datas)
|
||||
}/>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
.tax_role_setting_browser .wea-field-readonly {
|
||||
width: 100%;
|
||||
display: inline-block !important;
|
||||
|
||||
.wea-field-readonly.border {
|
||||
cursor: default !important;
|
||||
}
|
||||
|
||||
.only-operate {
|
||||
white-space: normal !important;
|
||||
display: inline !important;
|
||||
color: #2db7f5;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue