liqi 6 mesi fa
parent
commit
d735e0f9f2

+ 1
- 1
config/defaultSettings.ts Vedi File

24
   //   //https://procomponents.ant.design/components/layout#%E9%80%9A%E8%BF%87-token-%E4%BF%AE%E6%94%B9%E6%A0%B7%E5%BC%8F
24
   //   //https://procomponents.ant.design/components/layout#%E9%80%9A%E8%BF%87-token-%E4%BF%AE%E6%94%B9%E6%A0%B7%E5%BC%8F
25
   // },
25
   // },
26
 
26
 
27
-  title: '中泽集团官网后台管理平台',
27
+  title: '中泽官网后台',
28
   navTheme: 'light',
28
   navTheme: 'light',
29
   colorPrimary: '#00D3A1',
29
   colorPrimary: '#00D3A1',
30
   layout: 'side',
30
   layout: 'side',

BIN
public/favicon.ico Vedi File


BIN
public/login/login_bj2.jpg Vedi File


BIN
public/login/logo.png Vedi File


+ 14
- 5
src/pages/GoinZZ/developHistory/index.tsx Vedi File

5
 import { Button, message, Modal, Image } from 'antd';
5
 import { Button, message, Modal, Image } from 'antd';
6
 import { ActionType, FooterToolbar, PageContainer, ProColumns, ProTable } from '@ant-design/pro-components';
6
 import { ActionType, FooterToolbar, PageContainer, ProColumns, ProTable } from '@ant-design/pro-components';
7
 import { PlusOutlined, DeleteOutlined, ExclamationCircleOutlined, RedoOutlined } from '@ant-design/icons';
7
 import { PlusOutlined, DeleteOutlined, ExclamationCircleOutlined, RedoOutlined } from '@ant-design/icons';
8
-import { getDevelopHistoryList, saveDevelopHistory, deleteDevelopHistory} from '@/services/goinZZ/developHistory';
8
+import { getDevelopHistoryList, saveDevelopHistory, deleteDevelopHistory,push} from '@/services/goinZZ/developHistory';
9
 import DevelopHistoryForm from './edit';
9
 import DevelopHistoryForm from './edit';
10
 import moment from 'moment';
10
 import moment from 'moment';
11
 import { KeepAlive } from 'react-activation';
11
 import { KeepAlive } from 'react-activation';
140
             ],
140
             ],
141
         },
141
         },
142
     ];
142
     ];
143
-    const publishing = ()=>{
144
-        
145
-    }
146
-
143
+   /**
144
+     * 一键发布
145
+     */
146
+const publishing = async () => {
147
+    try {
148
+        const resp = await push();
149
+        if (resp.code === 200) {
150
+            message.success('发布成功');
151
+        } else {
152
+            message.error(resp.msg);
153
+        }
154
+    } catch (error) { }
155
+}
147
     return (
156
     return (
148
         <KeepAlive name='发展历程' path="/GoinZZ/developHistory">
157
         <KeepAlive name='发展历程' path="/GoinZZ/developHistory">
149
             <PageContainer>
158
             <PageContainer>

+ 15
- 3
src/pages/GoinZZ/honor/index.tsx Vedi File

1
-import { saveHonor, getHonorList, deleteHonor, } from '@/services/goinZZ/honor';
1
+import { saveHonor, getHonorList, deleteHonor,push } from '@/services/goinZZ/honor';
2
 import { getDictValueEnum } from '@/services/system/dict';
2
 import { getDictValueEnum } from '@/services/system/dict';
3
 import { DeleteOutlined, ExclamationCircleOutlined, PlusOutlined } from '@ant-design/icons';
3
 import { DeleteOutlined, ExclamationCircleOutlined, PlusOutlined } from '@ant-design/icons';
4
 import {
4
 import {
248
       ],
248
       ],
249
     },
249
     },
250
   ];
250
   ];
251
-
251
+/**
252
+     * 一键发布
253
+     */
254
+const publishing = async () => {
255
+  try {
256
+      const resp = await push();
257
+      if (resp.code === 200) {
258
+          message.success('发布成功');
259
+      } else {
260
+          message.error(resp.msg);
261
+      }
262
+  } catch (error) { }
263
+}
252
   return (
264
   return (
253
     <KeepAlive name="资质荣誉" path="/GoinZZ/honor">
265
     <KeepAlive name="资质荣誉" path="/GoinZZ/honor">
254
       <PageContainer>
266
       <PageContainer>
276
                <Button
288
                <Button
277
                type="primary"
289
                type="primary"
278
                key="fabu"
290
                key="fabu"
279
-               onClick={()=>{}}
291
+               onClick={publishing}
280
            >
292
            >
281
                一键发布
293
                一键发布
282
            </Button>,
294
            </Button>,

+ 15
- 5
src/pages/GoinZZ/structure/index.tsx Vedi File

1
 import DictTag from '@/components/DictTag';
1
 import DictTag from '@/components/DictTag';
2
 import { getDictValueEnum } from '@/services/system/dict';
2
 import { getDictValueEnum } from '@/services/system/dict';
3
-import { getStructureList, saveStructure, deleteStructure } from '@/services/goinZZ/structure';
3
+import { getStructureList, saveStructure, deleteStructure,push } from '@/services/goinZZ/structure';
4
 import { createIcon } from '@/utils/IconUtil';
4
 import { createIcon } from '@/utils/IconUtil';
5
 import { buildTreeData } from '@/utils/tree';
5
 import { buildTreeData } from '@/utils/tree';
6
 import { DeleteOutlined, ExclamationCircleOutlined, PlusOutlined } from '@ant-design/icons';
6
 import { DeleteOutlined, ExclamationCircleOutlined, PlusOutlined } from '@ant-design/icons';
179
       ],
179
       ],
180
     },
180
     },
181
   ];
181
   ];
182
-
182
+   /**
183
+     * 一键发布
184
+     */
185
+   const publishing = async () => {
186
+    try {
187
+        const resp = await push();
188
+        if (resp.code === 200) {
189
+            message.success('发布成功');
190
+        } else {
191
+            message.error(resp.msg);
192
+        }
193
+    } catch (error) { }
194
+}
183
   return (
195
   return (
184
     <KeepAlive name={'企业架构'} path="/goinZZ/structure">
196
     <KeepAlive name={'企业架构'} path="/goinZZ/structure">
185
       <PageContainer>
197
       <PageContainer>
206
               <Button
218
               <Button
207
                 type="primary"
219
                 type="primary"
208
                 key="fabu"
220
                 key="fabu"
209
-                onClick={async () => {
210
-
211
-                }}
221
+                onClick={publishing}
212
               >
222
               >
213
                 一键发布
223
                 一键发布
214
               </Button>,
224
               </Button>,

+ 44
- 16
src/pages/JoinZZ/biddingDocument/index.tsx Vedi File

6
 import { ActionType, FooterToolbar, PageContainer, ProColumns, ProTable } from '@ant-design/pro-components';
6
 import { ActionType, FooterToolbar, PageContainer, ProColumns, ProTable } from '@ant-design/pro-components';
7
 import { PlusOutlined, DeleteOutlined, ExclamationCircleOutlined, RedoOutlined } from '@ant-design/icons';
7
 import { PlusOutlined, DeleteOutlined, ExclamationCircleOutlined, RedoOutlined } from '@ant-design/icons';
8
 // import { getNoticeList, removeNotice, addNotice, updateNotice, exportNotice } from '@/services/system/notice';
8
 // import { getNoticeList, removeNotice, addNotice, updateNotice, exportNotice } from '@/services/system/notice';
9
-import { getBiddingDocumentList, saveBiddingDocument, deleteBiddingDocument, pushBiddingDocumentDetail } from '@/services/JoinZZ/biddingDocument';
9
+import { getBiddingDocumentList, saveBiddingDocument, deleteBiddingDocument, pushBiddingDocumentDetail,pushJoinList,pushJoin,pushBiddingDocumentDetailAll } from '@/services/JoinZZ/biddingDocument';
10
 import BiddingDocumentForm from './edit';
10
 import BiddingDocumentForm from './edit';
11
 import { getDictValueEnum } from '@/services/system/dict';
11
 import { getDictValueEnum } from '@/services/system/dict';
12
 import moment from 'moment';
12
 import moment from 'moment';
124
                 >
124
                 >
125
                     编辑
125
                     编辑
126
                 </Button>,
126
                 </Button>,
127
-                //   <Button
128
-                //   type="link"
129
-                //   size="small"
130
-                //   key="preview"
131
-                //   onClick={() => {
132
-                //     window.open('/api/system/wysiwyg/newsDetail/'+record.uuid);
133
-
134
-                //   }}
135
-                // >
136
-                //   <FormattedMessage id="public.preview" defaultMessage="预览" />
137
-                // </Button>,
127
+        
138
                 <Button
128
                 <Button
139
                     type="link"
129
                     type="link"
140
                     size="small"
130
                     size="small"
142
                     disabled={record.pushStatus == 0 ? false : true}
132
                     disabled={record.pushStatus == 0 ? false : true}
143
                     onClick={() => {
133
                     onClick={() => {
144
                         let params = {
134
                         let params = {
145
-                            newsUuid: record.uuid,
135
+                            uuid: record.uuid,
146
                         }
136
                         }
147
                         pushBiddingDocumentDetail(params).then((res: any) => {
137
                         pushBiddingDocumentDetail(params).then((res: any) => {
148
                             if (res.code == 200) {
138
                             if (res.code == 200) {
154
                                 message.error(res.msg)
144
                                 message.error(res.msg)
155
                             }
145
                             }
156
                         })
146
                         })
157
-
147
+                        pushJoinList().then((res: any) => {
148
+                            if (res.code == 200) {
149
+                                if (actionRef.current) {
150
+                                    actionRef.current.reload();
151
+                                }
152
+                                message.success(res.msg)
153
+                            } else {
154
+                                message.error(res.msg)
155
+                            }
156
+                        })
157
+                        pushJoin().then((res: any) => {
158
+                            if (res.code == 200) {
159
+                                if (actionRef.current) {
160
+                                    actionRef.current.reload();
161
+                                }
162
+                                message.success(res.msg)
163
+                            } else {
164
+                                message.error(res.msg)
165
+                            }
166
+                        })
158
                     }}
167
                     }}
159
                 >
168
                 >
160
                     {record.pushStatus == 0 ? '发布' : '已发布'}
169
                     {record.pushStatus == 0 ? '发布' : '已发布'}
187
             ],
196
             ],
188
         },
197
         },
189
     ];
198
     ];
190
-
199
+/**
200
+     * 一键发布
201
+     */
202
+const publishing = async () => {
203
+    try {
204
+        const resp = pushBiddingDocumentDetailAll();
205
+        if (resp.code === 200) {
206
+            message.success('发布成功');
207
+        } else {
208
+            message.error(resp.msg);
209
+        }
210
+    } catch (error) { }
211
+}
191
     return (
212
     return (
192
         <KeepAlive name={'招标文件'} path="/JoinZZ/biddingDocument">
213
         <KeepAlive name={'招标文件'} path="/JoinZZ/biddingDocument">
193
             <PageContainer>
214
             <PageContainer>
210
                                 }}
231
                                 }}
211
                             >
232
                             >
212
                                 <PlusOutlined /> <FormattedMessage id="public.add" defaultMessage="新建" />
233
                                 <PlusOutlined /> <FormattedMessage id="public.add" defaultMessage="新建" />
213
-                            </Button>
234
+                            </Button>,
235
+                            <Button
236
+                            type="primary"
237
+                            key="fabu"
238
+                            onClick={publishing}
239
+                            >
240
+                                一键发布
241
+                            </Button>,
214
                         ]}
242
                         ]}
215
                         request={(params) => {
243
                         request={(params) => {
216
                             return getBiddingDocumentList({ ...params } as API.System.NoticeListParams).then((res) => {
244
                             return getBiddingDocumentList({ ...params } as API.System.NoticeListParams).then((res) => {

+ 1
- 35
src/pages/JoinZZ/vacancy/index.tsx Vedi File

116
                 >
116
                 >
117
                     编辑
117
                     编辑
118
                 </Button>,
118
                 </Button>,
119
-                //   <Button
120
-                //   type="link"
121
-                //   size="small"
122
-                //   key="preview"
123
-                //   onClick={() => {
124
-                //     window.open('/api/system/wysiwyg/newsDetail/'+record.uuid);
125
-
126
-                //   }}
127
-                // >
128
-                //   <FormattedMessage id="public.preview" defaultMessage="预览" />
129
-                // </Button>,
130
-                <Button
131
-                    type="link"
132
-                    size="small"
133
-                    key="publish"
134
-                    disabled={record.pushStatus == 0 ? false : true}
135
-                    onClick={() => {
136
-                        let params = {
137
-                            newsUuid: record.uuid,
138
-                        }
139
-                        pushVacancyDetail(params).then((res: any) => {
140
-                            if (res.code == 200) {
141
-                                if (actionRef.current) {
142
-                                    actionRef.current.reload();
143
-                                }
144
-                                message.success(res.msg)
145
-                            } else {
146
-                                message.error(res.msg)
147
-                            }
148
-                        })
149
-
150
-                    }}
151
-                >
152
-                    {record.pushStatus == 0 ? '发布' : '已发布'}
153
-                </Button>,
119
+                                
154
                 <Button
120
                 <Button
155
                     type="link"
121
                     type="link"
156
                     size="small"
122
                     size="small"

+ 2
- 1
src/pages/News/NewsList/edit.tsx Vedi File

107
         digest,
107
         digest,
108
         top,
108
         top,
109
         key,
109
         key,
110
-        column
110
+        column,
111
+        source
111
       })
112
       })
112
       // if (top) {
113
       // if (top) {
113
       //   setCheckTop(1)
114
       //   setCheckTop(1)

+ 2
- 2
src/pages/News/NewsList/index.tsx Vedi File

6
 import { ActionType, FooterToolbar, PageContainer, ProColumns, ProTable } from '@ant-design/pro-components';
6
 import { ActionType, FooterToolbar, PageContainer, ProColumns, ProTable } from '@ant-design/pro-components';
7
 import { PlusOutlined, DeleteOutlined, ExclamationCircleOutlined, RedoOutlined } from '@ant-design/icons';
7
 import { PlusOutlined, DeleteOutlined, ExclamationCircleOutlined, RedoOutlined } from '@ant-design/icons';
8
 // import { getNoticeList, removeNotice, addNotice, updateNotice, exportNotice } from '@/services/system/notice';
8
 // import { getNoticeList, removeNotice, addNotice, updateNotice, exportNotice } from '@/services/system/notice';
9
-import { getNewsList, saveNews, deleteNews, pushNewsDetail,push } from '@/services/news/news';
9
+import { getNewsList, saveNews, deleteNews, pushNewsDetail,pushNews,pushIndex,pushNewsDetailAll } from '@/services/news/news';
10
 import NewsForm from './edit';
10
 import NewsForm from './edit';
11
 import { getDictValueEnum } from '@/services/system/dict';
11
 import { getDictValueEnum } from '@/services/system/dict';
12
 import moment from 'moment';
12
 import moment from 'moment';
210
      */
210
      */
211
 const publishing = async () => {
211
 const publishing = async () => {
212
     try {
212
     try {
213
-        const resp = await push();
213
+        const resp = await pushNewsDetailAll();
214
         if (resp.code === 200) {
214
         if (resp.code === 200) {
215
             message.success('发布成功');
215
             message.success('发布成功');
216
         } else {
216
         } else {

+ 4
- 2
src/pages/PartyWork/partyWork/edit.tsx Vedi File

101
     if(!props.open) return;
101
     if(!props.open) return;
102
     // const { title, content, surface, surfaceUrl, date } = props;
102
     // const { title, content, surface, surfaceUrl, date } = props;
103
     if(!props.currentRow) return;
103
     if(!props.currentRow) return;
104
-    const { digest, top,key,content,surface,surfaceUrl,date,title,source} = props.currentRow;
104
+    const { digest, top,key,content,surface,surfaceUrl,date,title,source,column} = props.currentRow;
105
     if (props.currentRow) {
105
     if (props.currentRow) {
106
       form.setFieldsValue({
106
       form.setFieldsValue({
107
         digest,
107
         digest,
108
         top,
108
         top,
109
-        key
109
+        key,
110
+        column,
111
+        source
110
       })
112
       })
111
       // if (top) {
113
       // if (top) {
112
       //   setCheckTop(1)
114
       //   setCheckTop(1)

+ 8
- 7
src/pages/PartyWork/partyWork/index.tsx Vedi File

6
 import { ActionType, FooterToolbar, PageContainer, ProColumns, ProTable } from '@ant-design/pro-components';
6
 import { ActionType, FooterToolbar, PageContainer, ProColumns, ProTable } from '@ant-design/pro-components';
7
 import { PlusOutlined, DeleteOutlined, ExclamationCircleOutlined, RedoOutlined } from '@ant-design/icons';
7
 import { PlusOutlined, DeleteOutlined, ExclamationCircleOutlined, RedoOutlined } from '@ant-design/icons';
8
 // import { getNoticeList, removeNotice, addNotice, updateNotice, exportNotice } from '@/services/system/notice';
8
 // import { getNoticeList, removeNotice, addNotice, updateNotice, exportNotice } from '@/services/system/notice';
9
-import { getPartyWorkList, savePartyWork, deletePartyWork, pushPartyWorkDetail,push1,push2 } from '@/services/partyWork/partyWork';
9
+import { getPartyWorkList, savePartyWork, deletePartyWork, pushPartyWorkDetail,push1,push2,pushPartyWorkDetailAll } from '@/services/partyWork/partyWork';
10
 import PartyWorkForm from './edit';
10
 import PartyWorkForm from './edit';
11
 import { getDictValueEnum } from '@/services/system/dict';
11
 import { getDictValueEnum } from '@/services/system/dict';
12
 import moment from 'moment';
12
 import moment from 'moment';
58
     }, [])
58
     }, [])
59
 
59
 
60
     const getEnum = ()=>{
60
     const getEnum = ()=>{
61
-        getDataEnumList({ enumUuid: '2024810214616101' }).then((res) => {
61
+        getDataEnumList({ enumUuid: '2024510243805101' }).then((res) => {
62
             console.log(res.rows)
62
             console.log(res.rows)
63
 
63
 
64
             const enumOptions = res.rows.map((item: any) => ({
64
             const enumOptions = res.rows.map((item: any) => ({
160
                     disabled={record.pushStatus == 0 ? false : true}
160
                     disabled={record.pushStatus == 0 ? false : true}
161
                     onClick={() => {
161
                     onClick={() => {
162
                         let params = {
162
                         let params = {
163
-                            newsUuid: record.uuid,
163
+                            partyWorkUuid: record.uuid,
164
                         }
164
                         }
165
+                        console.log("record",record);
166
+                        console.log("params",params);
165
                         pushPartyWorkDetail(params).then((res: any) => {
167
                         pushPartyWorkDetail(params).then((res: any) => {
166
                             if (res.code == 200) {
168
                             if (res.code == 200) {
167
                                 if (actionRef.current) {
169
                                 if (actionRef.current) {
210
      */
212
      */
211
 const publishing = async () => {
213
 const publishing = async () => {
212
     try {
214
     try {
213
-        const resp1 = await push1();
214
-        const resp2 = await push2();
215
-        if (resp1.code === 200 && resp2.code === 200) {
215
+        const resp = await pushPartyWorkDetailAll();
216
+        if (resp.code === 200) {
216
             message.success('发布成功');
217
             message.success('发布成功');
217
         } else {
218
         } else {
218
-            message.error(resp1.msg + resp2.msg);
219
+            message.error(resp.msg );
219
         }
220
         }
220
     } catch (error) { }
221
     } catch (error) { }
221
 }
222
 }

+ 4
- 26
src/pages/SocialRespon/socialRespon/edit.tsx Vedi File

102
     if(!props.open) return;
102
     if(!props.open) return;
103
     // const { title, content, surface, surfaceUrl, date } = props;
103
     // const { title, content, surface, surfaceUrl, date } = props;
104
     if(!props.currentRow) return;
104
     if(!props.currentRow) return;
105
-    const { digest, top,key,content,surface,surfaceUrl,date,title,source} = props.currentRow;
105
+    const { digest, top,key,content,surface,surfaceUrl,date,title,source,column} = props.currentRow;
106
     if (props.currentRow) {
106
     if (props.currentRow) {
107
       form.setFieldsValue({
107
       form.setFieldsValue({
108
         digest,
108
         digest,
109
         top,
109
         top,
110
-        key
110
+        key,
111
+        column,
112
+        source
111
       })
113
       })
112
       // if (top) {
114
       // if (top) {
113
       //   setCheckTop(1)
115
       //   setCheckTop(1)
321
           ]
323
           ]
322
           }
324
           }
323
         />
325
         />
324
-
325
-        <ProFormSelect
326
-          name="column"
327
-          key="column"
328
-          label='社会责任分类'
329
-          request={() =>
330
-            getDataEnumList({enumUuid: '2024511519324105'}).then((res) => {
331
-              let tList = []
332
-              res.rows.forEach(item => {
333
-                tList.push({
334
-                  label: item.dataName,
335
-                  value: item.uuid,
336
-                })
337
-              })
338
-              return tList;
339
-            })
340
-
341
-          }
342
-          labelCol={{
343
-            style: { width: 95 }
344
-          }}
345
-          placeholder={'请选择新闻分类'}
346
-
347
-        />
348
          
326
          
349
         <ProFormText
327
         <ProFormText
350
           name="key"
328
           name="key"

+ 3
- 11
src/pages/SocialRespon/socialRespon/index.tsx Vedi File

6
 import { ActionType, FooterToolbar, PageContainer, ProColumns, ProTable } from '@ant-design/pro-components';
6
 import { ActionType, FooterToolbar, PageContainer, ProColumns, ProTable } from '@ant-design/pro-components';
7
 import { PlusOutlined, DeleteOutlined, ExclamationCircleOutlined, RedoOutlined } from '@ant-design/icons';
7
 import { PlusOutlined, DeleteOutlined, ExclamationCircleOutlined, RedoOutlined } from '@ant-design/icons';
8
 // import { getNoticeList, removeNotice, addNotice, updateNotice, exportNotice } from '@/services/system/notice';
8
 // import { getNoticeList, removeNotice, addNotice, updateNotice, exportNotice } from '@/services/system/notice';
9
-import { getSocialResponList, saveSocialRespon, deleteSocialRespon, pushSocialResponDetail,push } from '@/services/socialRespon/socialRespon';
9
+import { getSocialResponList, saveSocialRespon, deleteSocialRespon, pushSocialResponDetail,push,pushSocialResponDetailAll } from '@/services/socialRespon/socialRespon';
10
 import SocialResponForm from './edit';
10
 import SocialResponForm from './edit';
11
 import { getDictValueEnum } from '@/services/system/dict';
11
 import { getDictValueEnum } from '@/services/system/dict';
12
 import moment from 'moment';
12
 import moment from 'moment';
84
             dataIndex: 'title',
84
             dataIndex: 'title',
85
             valueType: 'text',
85
             valueType: 'text',
86
         },
86
         },
87
-        {
88
-            title: '社会责任分类',
89
-            dataIndex: 'column',
90
-            valueType: 'select',
91
-            fieldProps: {
92
-                options: enumList,
93
-            },
94
-        },
95
         {
87
         {
96
             title: '展示日期',
88
             title: '展示日期',
97
             dataIndex: 'date',
89
             dataIndex: 'date',
150
                     disabled={record.pushStatus == 0 ? false : true}
142
                     disabled={record.pushStatus == 0 ? false : true}
151
                     onClick={() => {
143
                     onClick={() => {
152
                         let params = {
144
                         let params = {
153
-                            newsUuid: record.uuid,
145
+                            socialResponUuid: record.uuid,
154
                         }
146
                         }
155
                         pushSocialResponDetail(params).then((res: any) => {
147
                         pushSocialResponDetail(params).then((res: any) => {
156
                             if (res.code == 200) {
148
                             if (res.code == 200) {
200
      */
192
      */
201
 const publishing = async () => {
193
 const publishing = async () => {
202
     try {
194
     try {
203
-        const resp = await push();
195
+        const resp = await pushSocialResponDetailAll();
204
         if (resp.code === 200) {
196
         if (resp.code === 200) {
205
             message.success('发布成功');
197
             message.success('发布成功');
206
         } else {
198
         } else {

+ 31
- 1
src/services/JoinZZ/biddingDocument.ts Vedi File

42
 
42
 
43
 //发布
43
 //发布
44
 export async function pushBiddingDocumentDetail(params: any) {
44
 export async function pushBiddingDocumentDetail(params: any) {
45
-  return request('/api/system/static/biddingDocument', {
45
+  return request('/api/staticize/static/articleDetail?type=biddingDocument&uuid='+params.uuid, {
46
+    method: 'GET',
47
+    headers: {
48
+      'Content-Type': 'application/json;charset=UTF-8',
49
+    },
50
+  });
51
+}
52
+
53
+//发布全部
54
+export async function pushBiddingDocumentDetailAll(params: any) {
55
+  return request('/api/staticize/static/articleDetail?type=biddingDocument&uuid='+params.uuid, {
56
+    method: 'GET',
57
+    headers: {
58
+      'Content-Type': 'application/json;charset=UTF-8',
59
+    },
60
+  });
61
+}
62
+
63
+//发布招标文件列表
64
+export async function pushJoinList(params: any) {
65
+  return request('/api/staticize/static/joinList', {
66
+    method: 'GET',
67
+    headers: {
68
+      'Content-Type': 'application/json;charset=UTF-8',
69
+    },
70
+  });
71
+}
72
+
73
+//发布加入中泽
74
+export async function pushJoin(params: any) {
75
+  return request('/api/staticize/static/join', {
46
     method: 'GET',
76
     method: 'GET',
47
     headers: {
77
     headers: {
48
       'Content-Type': 'application/json;charset=UTF-8',
78
       'Content-Type': 'application/json;charset=UTF-8',

+ 1
- 1
src/services/JoinZZ/vacancy.ts Vedi File

42
 
42
 
43
 //发布
43
 //发布
44
 export async function pushVacancyDetail(params: any) {
44
 export async function pushVacancyDetail(params: any) {
45
-  return request('/api/system/static/vacancy', {
45
+  return request('/api/staticize/static/join', {
46
     method: 'GET',
46
     method: 'GET',
47
     headers: {
47
     headers: {
48
       'Content-Type': 'application/json;charset=UTF-8',
48
       'Content-Type': 'application/json;charset=UTF-8',

+ 11
- 0
src/services/goinZZ/developHistory.ts Vedi File

40
   });
40
   });
41
 }
41
 }
42
 
42
 
43
+//发布
44
+export async function push(params: any) {
45
+  return request('/api/staticize/static/intoTime', {
46
+    method: 'GET',
47
+    headers: {
48
+      'Content-Type': 'application/json;charset=UTF-8',
49
+    },
50
+    params,
51
+  });
52
+}
53
+

+ 11
- 0
src/services/goinZZ/honor.ts Vedi File

72
 });
72
 });
73
 }
73
 }
74
 
74
 
75
+//发布
76
+export async function push(params: any) {
77
+  return request('/api/staticize/static/intoZz', {
78
+    method: 'GET',
79
+    headers: {
80
+      'Content-Type': 'application/json;charset=UTF-8',
81
+    },
82
+    params,
83
+  });
84
+}
85
+

+ 11
- 0
src/services/goinZZ/structure.ts Vedi File

40
   });
40
   });
41
 }
41
 }
42
 
42
 
43
+//发布
44
+export async function push(params: any) {
45
+  return request('/api/staticize/static/intoZz', {
46
+    method: 'GET',
47
+    headers: {
48
+      'Content-Type': 'application/json;charset=UTF-8',
49
+    },
50
+    params,
51
+  });
52
+}
53
+

+ 23
- 3
src/services/news/news.ts Vedi File

53
 
53
 
54
 //发布新闻
54
 //发布新闻
55
 export async function pushNewsDetail(params: any) {
55
 export async function pushNewsDetail(params: any) {
56
-  return request('/api/system/static/articleDetail/news/'+params.newsUuid, {
56
+  return request('/api/staticize/static/articleDetail?type=news&uuid='+params.newsUuid, {
57
     method: 'GET',
57
     method: 'GET',
58
     headers: {
58
     headers: {
59
       'Content-Type': 'application/json;charset=UTF-8',
59
       'Content-Type': 'application/json;charset=UTF-8',
61
   });
61
   });
62
 }
62
 }
63
 
63
 
64
-//发布
65
-export async function push(params: any) {
64
+//发布全部新闻
65
+export async function pushNewsDetailAll() {
66
+  return request('/api/staticize/static/articleDetail?type=news', {
67
+    method: 'GET',
68
+    headers: {
69
+      'Content-Type': 'application/json;charset=UTF-8',
70
+    },
71
+  });
72
+}
73
+
74
+//发布新闻首页
75
+export async function pushNews(params: any) {
66
   return request('/api/staticize/static/news', {
76
   return request('/api/staticize/static/news', {
67
     method: 'GET',
77
     method: 'GET',
68
     headers: {
78
     headers: {
71
     params,
81
     params,
72
   });
82
   });
73
 }
83
 }
84
+//发布首页
85
+export async function pushIndex(params: any) {
86
+  return request('/api/staticize/static/index', {
87
+    method: 'GET',
88
+    headers: {
89
+      'Content-Type': 'application/json;charset=UTF-8',
90
+    },
91
+    params,
92
+  });
93
+}

+ 12
- 2
src/services/partyWork/partyWork.ts Vedi File

51
   });
51
   });
52
 }
52
 }
53
 
53
 
54
-//发布
54
+//发布党建详情
55
 export async function pushPartyWorkDetail(params: any) {
55
 export async function pushPartyWorkDetail(params: any) {
56
-  return request('/api/system/static/articleDetail/partyWork/'+params.partyWorkUuid, {
56
+  return request('/api/staticize/static/articleDetail?type=partyWork&uuid='+params.partyWorkUuid, {
57
+    method: 'GET',
58
+    headers: {
59
+      'Content-Type': 'application/json;charset=UTF-8',
60
+    },
61
+  });
62
+}
63
+
64
+//发布全部党建详情
65
+export async function pushPartyWorkDetailAll() {
66
+  return request('/api/staticize/static/articleDetail?type=partyWork', {
57
     method: 'GET',
67
     method: 'GET',
58
     headers: {
68
     headers: {
59
       'Content-Type': 'application/json;charset=UTF-8',
69
       'Content-Type': 'application/json;charset=UTF-8',

+ 12
- 2
src/services/socialRespon/socialRespon.ts Vedi File

51
   });
51
   });
52
 }
52
 }
53
 
53
 
54
-//发布
54
+//发布社会责任详情
55
 export async function pushSocialResponDetail(params: any) {
55
 export async function pushSocialResponDetail(params: any) {
56
-  return request('/api/system/static/articleDetail/socialRespon/'+params.socialResponUuid, {
56
+  return request('/api/staticize/static/articleDetail?type=socialRespon&uuid='+params.socialResponUuid, {
57
+    method: 'GET',
58
+    headers: {
59
+      'Content-Type': 'application/json;charset=UTF-8',
60
+    },
61
+  });
62
+}
63
+
64
+//发布全部社会责任详情
65
+export async function pushSocialResponDetailAll() {
66
+  return request('/api/staticize/static/articleDetail?type=socialRespon', {
57
     method: 'GET',
67
     method: 'GET',
58
     headers: {
68
     headers: {
59
       'Content-Type': 'application/json;charset=UTF-8',
69
       'Content-Type': 'application/json;charset=UTF-8',

Loading…
Annulla
Salva