feature/2.9.42310.01-薪资核算页面重构

This commit is contained in:
黎永顺 2023-10-11 15:05:24 +08:00
parent c9403cda9d
commit 5e51f78ff6
1 changed files with 7 additions and 0 deletions

View File

@ -29,6 +29,13 @@ const Home = props => props.children;
class Root extends React.Component {
componentWillMount() {
const src = "/spa/hrmSalary/hrmSalaryCalculateDetail/css/iconfont/iconfont.css"
const link = document.createElement("link")
link.setAttribute('rel','stylesheet');
link.setAttribute('type','text/css');
link.setAttribute('href',src);
let header = document.getElementById("container")
header.appendChild(link)
top.$(".ant-message").remove();
window.location.hash.indexOf("mobilepayroll") === -1 && allStore.taxAgentStore.getPermission();
if (window.location.hash.indexOf("payroll") !== -1) {