Soleilw vor 7 Monaten
Ursprung
Commit
108e9d2dbb

+ 1
- 1
dist/index.html Datei anzeigen

@@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.63914d07.js"></script>
<script src="/umi.deb0f7f8.js"></script>
</body>
</html>

+ 0
- 1
dist/p__Company__List__index.65995ab8.async.js
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 1
- 0
dist/p__Company__List__index.776d3fbf.async.js
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


dist/umi.deb0f7f8.js
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 2
- 2
p.sh Datei anzeigen

@@ -10,6 +10,6 @@ else
fi

git add .
git commit --no-verify -m "noverify"
git commit -a -m "$msg"
git commit --no-verify -m "$msg"
git push

+ 2
- 2
src/components/Render/Main/Company/List/bind/index.tsx Datei anzeigen

@@ -20,10 +20,10 @@ const PagesMainCompanyListTable: React.FC = ({ dispatch, openModel, getId }: any
}

useEffect(() => {
if (!openModel.openModal) {
if (!openModel.openBindModal) {
actionRef.current.reload();
}
}, [openModel.openModal])
}, [openModel.openBindModal])

return (
<>

+ 2
- 1
src/components/Render/Main/Company/List/table/index.tsx Datei anzeigen

@@ -342,7 +342,8 @@ const PagesMainCompanyListTable: React.FC = ({ dispatch, openModel, getId }: any
name: '子账号解绑',
key: '4',
onClick: () => {

setId(record.id)
dispatch({ type: 'openModel/getOpenBindModal', payload: true })
},
},
]}

+ 18
- 0
src/models/openModel.ts Datei anzeigen

@@ -19,6 +19,7 @@ export default {
openDispenseModal: false, // 为角色分配权限开关
openFeeModal: false, // vip变更费用开关
openFairDetailModal: false, // 预览招聘会
openBindModal: false, // 预览招聘会


},
@@ -71,6 +72,13 @@ export default {
openFairDetailModal: payload
}
},
setOpenBindModal(state: any, { payload }: any) {
return {
...state,
openBindModal: payload
}
},
setEditRegister(state: any, { payload }: any) {
if (state.editRegisterKey && state.editRegisterKey !== payload.key) {
@@ -211,6 +219,16 @@ export default {
console.log(error)
}
},
*getOpenBindModal({ payload }: any, { put }: any) {
try {
yield put({
type: 'setOpenBindModal',
payload: payload
})
} catch (error) {
console.log(error)
}
},
*getEditRegister({ payload }: any, { put }: any): any {
try {

Laden…
Abbrechen
Speichern