diff --git a/src/api/index.js b/src/api/index.js index 80acbf2..eae8e6c 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -9,6 +9,7 @@ import special from './special/index' import dict from './dict/index' import attendance from './attendance/index' import insurance from './insurance/index' +import journalism from './journalism/index' export default { project, dept, @@ -20,5 +21,6 @@ export default { special, dict, attendance, - insurance + insurance, + journalism } \ No newline at end of file diff --git a/src/api/journalism/index.js b/src/api/journalism/index.js new file mode 100644 index 0000000..507b9a4 --- /dev/null +++ b/src/api/journalism/index.js @@ -0,0 +1,19 @@ +import request from '@/utils/request' + +const getJournalismList=()=> { + return request({ + url: `bgscreen/journalism/getJournalismList`, + method: 'get' + }) + } + + const getJournalismInfo=(id)=> { + return request({ + url: `bgscreen/journalism/getJournalismInfo?id=${id}`, + method: 'get' + }) + } +export default{ + getJournalismList, + getJournalismInfo +} \ No newline at end of file diff --git a/src/pages/dlg/journalismDlg.vue b/src/pages/dlg/journalismDlg.vue new file mode 100644 index 0000000..b5686e3 --- /dev/null +++ b/src/pages/dlg/journalismDlg.vue @@ -0,0 +1,63 @@ + + + {{title}} + + + + + + + \ No newline at end of file diff --git a/src/pages/index.vue b/src/pages/index.vue index 1d6c506..cb1c956 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -146,12 +146,16 @@ - - - - - 西咸新区暨泾河新城2023年“安全生产月”启动仪式 - + + + + + + + {{item.title}} + + + @@ -196,6 +200,7 @@ +