feature/2.15.1.2407.01-权限
This commit is contained in:
parent
d09c5f1d96
commit
42bc94e720
|
|
@ -0,0 +1,33 @@
|
|||
/*
|
||||
* 个税扣缴义务人-角色设置
|
||||
*
|
||||
* @Author: 黎永顺
|
||||
* @Date: 2024/8/5
|
||||
* @Wechat:
|
||||
* @Email: 971387674@qq.com
|
||||
* @description:
|
||||
*/
|
||||
import React, { Component } from "react";
|
||||
import { WeaBrowser, WeaLocaleProvider } from "ecCom";
|
||||
|
||||
const getLabel = WeaLocaleProvider.getLabel;
|
||||
|
||||
class Index extends Component {
|
||||
componentDidMount() {
|
||||
console.log(this.props);
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
return (
|
||||
<WeaBrowser type={161} hasAddBtn hasBorder whiteBackground viewAttr={1}
|
||||
addOnClick={values => console.log("自定义btn 点击的回调", values)}
|
||||
inputStyle={{ width: "100%" }}
|
||||
onChange={(ids, names, datas) =>
|
||||
console.log("单人力", ids, names, datas)
|
||||
}/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default Index;
|
||||
|
|
@ -7,6 +7,7 @@ import EditModal from "./editModal";
|
|||
import TipLabel from "../../components/TipLabel";
|
||||
import { decentralizationConditions, editConditions } from "./editConditions";
|
||||
import LogDialog from "../../components/logViewModal";
|
||||
import RoleSetting from "./components/roleSetting";
|
||||
import "./index.less";
|
||||
|
||||
const getLabel = WeaLocaleProvider.getLabel;
|
||||
|
|
@ -411,6 +412,11 @@ export default class TaxAgent extends React.Component {
|
|||
);
|
||||
}
|
||||
};
|
||||
}else if(item.dataIndex === "role"){
|
||||
return {
|
||||
...item,
|
||||
render: (text, record) => (<RoleSetting taxAgent={record} />)
|
||||
}
|
||||
} else {
|
||||
return { ...item };
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue