diff --git a/pc4mobx/organization/apis/resource.js b/pc4mobx/organization/apis/resource.js
index d7d1e33..dab4bce 100644
--- a/pc4mobx/organization/apis/resource.js
+++ b/pc4mobx/organization/apis/resource.js
@@ -54,3 +54,35 @@ export const exportResource = (ids) => {
window.URL.revokeObjectURL(url);
}))
}
+
+
+export const saveSearchTemplate = (params) => {
+ return fetch('/api/bs/hrmorganization/hrmresource/saveSearchTemplate', {
+ method: 'POST',
+ mode: 'cors',
+ headers: {
+ 'Content-Type': 'application/json'
+ },
+ body: JSON.stringify(params)
+ })
+}
+
+
+export const deleteSearchTemplate = (params) => {
+ return fetch('/api/bs/hrmorganization/hrmresource/deleteSearchTemplate', {
+ method: 'POST',
+ mode: 'cors',
+ headers: {
+ 'Content-Type': 'application/json'
+ },
+ body: JSON.stringify(params)
+ })
+}
+
+export const getSearchTemplate = (id) => {
+ return WeaTools.callApi(`/api/bs/hrmorganization/hrmresource/getSearchTemplate?templateId=${id}`, 'GET');
+}
+
+export const getTemplateSelectKeys = (id) => {
+ return WeaTools.callApi(`/api/bs/hrmorganization/hrmresource/getTemplateSelectKeys?templateId=${id}`, 'GET');
+}
\ No newline at end of file
diff --git a/pc4mobx/organization/components/resource/SearchCustomDialog.js b/pc4mobx/organization/components/resource/SearchCustomDialog.js
index cd8b39b..ed9e5d2 100644
--- a/pc4mobx/organization/components/resource/SearchCustomDialog.js
+++ b/pc4mobx/organization/components/resource/SearchCustomDialog.js
@@ -5,6 +5,10 @@ import {
WeaDialog,
} from 'ecCom';
import Customization from './Customization';
+import {
+ Spin,
+ Button,
+} from 'antd'
@observer
export default class SearchCustomDialog extends React.Component {
@@ -17,14 +21,23 @@ export default class SearchCustomDialog extends React.Component {
store
} = this.props, {
SEARCHDIALOG,
- searchDialog
+ searchDialog,
+ search
} = store;
+ const buttons = [
+ ,
+ ,
+
+ ]
+
return (