diff --git a/pc4mobx/hrmSalary/pages/taxAgent/components/roleSetting/index.js b/pc4mobx/hrmSalary/pages/taxAgent/components/roleSetting/index.js new file mode 100644 index 00000000..4dad8b6b --- /dev/null +++ b/pc4mobx/hrmSalary/pages/taxAgent/components/roleSetting/index.js @@ -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 ( + console.log("自定义btn 点击的回调", values)} + inputStyle={{ width: "100%" }} + onChange={(ids, names, datas) => + console.log("单人力", ids, names, datas) + }/> + ); + } +} + +export default Index; diff --git a/pc4mobx/hrmSalary/pages/taxAgent/index.js b/pc4mobx/hrmSalary/pages/taxAgent/index.js index 39ceeec2..82120cc3 100644 --- a/pc4mobx/hrmSalary/pages/taxAgent/index.js +++ b/pc4mobx/hrmSalary/pages/taxAgent/index.js @@ -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) => () + } } else { return { ...item }; }