You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rcgy_xmf_qrcode/js/chunk-5e705ef8.8d95d02d.js.map

1 line
34 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"version":3,"sources":["webpack:///./src/views/operation/page/notificationManagement.vue","webpack:///src/views/operation/page/notificationManagement.vue","webpack:///./src/views/operation/page/notificationManagement.vue?7254","webpack:///./src/views/operation/page/notificationManagement.vue?4d18","webpack:///./src/views/operation/page/notificationManagement.vue?60f8","webpack:///./src/api/operation.js"],"names":["render","_vm","this","_c","_self","staticClass","_m","attrs","on","$event","add","_v","ref","config","tableCheck","slot","edit","table_row","del","addEidtTitle","addEidt_vrisible","addEidtClose","staticStyle","addEidtForm","model","value","ruleForm","pushObject","callback","$$v","$set","expression","BuildDisabled","BuildID","_l","options","item","key","label","pushStatus","timeDisabled","timingPush","addEidtSubmit","staticRenderFns","data","editId","title","content","suffix","form_item","type","placeholder","width","prop","rows","slotName","rules","typeName","required","marker","message","trigger","thead","table_data","url","search_item","pageNum","size","created","cpmBuildingUnitFindAll","computed","methods","notificationManagementFindById","id","console","resData","notificationManagementUpdate","notificationManagementInsert","arr","confirmButtonText","cancelButtonText","confirmButtonClass","cancelButtonClass","then","catch","action","watch","handler","month","strDate","date","seperator2","immediate","component","announcementManagementRelease","service","request","method","params","activityManagementFindById","activityManagementUpdate","activityManagementInsert","activityManagementFindRegistrationById","announcementManagementFindById","sponsorManagementInsert","sponsorManagementUpdate","sponsorManagementFindById","announcementManagementInsert","announcementManagementUpdate","sponsorManagementList","newsCategoryManagementInsert","newsCategoryManagementUpdate","newsCategoryManagementFindById","newsManagementInsert","newsManagementUpdate","newsManagementFindById","newsCategoryManagementList","electronicCommerceCategoryInsert","newsManagementUpdateCrawling","electronicCommerceInsert","electronicCommerceCategoryList"],"mappings":"uHAAA,IAAIA,EAAS,W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,iBAEAU,WACA,CACAC,aACAZ,aACAa,kBACAC,aACAC,cAEA,CACAH,gBACAZ,aACAa,kBACAC,aACAE,OACAD,gBAEA,CACAH,aACAZ,aACAa,kBACAC,aACAC,eAIA,CACAH,YACAZ,aACAa,kBACAC,aACAC,kBACAE,uBAEA,CACAL,YACAZ,aACAa,kBACAC,aACAC,kBACAE,wBAGAC,OACAC,WAAAC,cACAC,SAAAD,YAAAE,oBAAAC,mBAIA5C,aACAJ,QACAiD,OACA,CAAAxB,WAAAY,aAAAE,YACA,CAAAd,aAAAe,aAAAD,cAGA,CAAAd,eAAAe,qBAAAD,cACA,CAAAd,aAAAe,kBAAAD,cACA,CAAAd,aAAAe,SAAAD,cACA,CAAAd,YAAAe,kBAAAD,cACA,CAAAd,aAAAe,kBAAAD,eAEAW,cACAC,iCACAC,aACA,CACAf,aACAZ,aACAa,oBACAE,cAEA,CACAH,cACAZ,aACAb,SACAU,SACA,CAAAG,YAAAb,WACA,CAAAa,YAAAb,YAEA0B,sBACAE,oBAGAT,MACAsB,UACAC,YAKAC,UACAC,0BACA,kBAIAC,YACAC,SACA7D,MACA,0BAEAM,QACA,WACA,mCAGA,SAIAwD,gBAAAC,0BAAA,SACAC,eACA,iBACA,wCACA,4CACA,0CAEA,kDACA,mDACA,qCAEA,0BACA,wCAEA,kDAEA,2BAnBA,4BAwBAhC,gBACA,OACAI,sCACAC,0CACAC,wCACArB,wBACAc,gDACAF,iDAEA,eACA,oBACA,2DAGA,OAFA,iCACAmC,eAEA,2CACAC,kDACAD,qBAGA,UACA,qDAGA,OAFA,wCACAA,eASA,aAeAC,iBAEAC,2BACAF,eAEA,WACA,eACAd,kBACAV,iBAEA,oBACA,gCAzBA2B,2BACAH,eAEA,WACA,eACAd,kBACAV,iBAEA,oBACA,gCAsBA7B,eACA,yBACA,iBACA,kBACA,uCACA,mCAGAP,cACA,kBAKAI,OACA,aACA,SACA,wCACA4D,6BAEA,oCACAC,uBACAC,sBACAC,mCACAC,mCACAC,KA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OmD,OAAQC,QAAQ,CACnBC,OAAQ,OACRjC,IAAK,oCACLpB,KAAMA,IAIP,SAAS0E,EAA6B1E,GACzC,OAAOmD,OAAQC,QAAQ,CACnBC,OAAQ,MACRjC,IAAK,gCACLkC,OAAQtD,IAUT,SAAS2E,EAAyB3E,GACrC,OAAOmD,OAAQC,QAAQ,CACnBC,OAAQ,OACRjC,IAAK,4BACLpB,KAAMA,IAWP,SAAS4E,EAA+B5E,GAC3C,OAAOmD,OAAQC,QAAQ,CACnBC,OAAQ,MACRjC,IAAK,mCACLkC,OAAQtD,M","file":"js/chunk-5e705ef8.8d95d02d.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"main-content\"},[_vm._m(0),_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"content-btn\"},[_c('el-button',{staticClass:\"init-button\",attrs:{\"icon\":\"el-icon-plus\"},on:{\"click\":function($event){return _vm.add()}}},[_vm._v(\"新增公告\")])],1),_c('div',{},[_c('VueTable',{ref:\"table\",attrs:{\"config\":_vm.config},on:{\"tableCheck\":_vm.tableCheck}},[_c('template',{slot:\"footer\"},[_c('div',{staticClass:\"table-footer\"},[_c('button',{on:{\"click\":function($event){return _vm.edit(_vm.table_row)}}},[_vm._v(\"修改\")]),_c('button',{on:{\"click\":function($event){return _vm.del(_vm.table_row)}}},[_vm._v(\"删除\")])])])],2)],1),_c('Drawer',{attrs:{\"drawerTitle\":_vm.addEidtTitle,\"drawerVrisible\":_vm.addEidt_vrisible},on:{\"drawerClose\":_vm.addEidtClose}},[_c('div',{staticStyle:{\"padding\":\"30px\"}},[_c('FromCard',[_c('template',{slot:\"title\"},[_vm._v(\"基本信息\")]),[_c('VueForm',{ref:\"addEidtForm\",attrs:{\"formObj\":_vm.addEidtForm}},[_c('template',{slot:\"pushObject\"},[_c('el-radio',{attrs:{\"label\":-1},model:{value:(_vm.addEidtForm.ruleForm.pushObject),callback:function ($$v) {_vm.$set(_vm.addEidtForm.ruleForm, \"pushObject\", $$v)},expression:\"addEidtForm.ruleForm.pushObject\"}},[_vm._v(\"全体业主\")]),_c('div',{staticStyle:{\"margin\":\"6px 0\"}},[_c('el-radio',{attrs:{\"label\":-2},model:{value:(_vm.addEidtForm.ruleForm.pushObject),callback:function ($$v) {_vm.$set(_vm.addEidtForm.ruleForm, \"pushObject\", $$v)},expression:\"addEidtForm.ruleForm.pushObject\"}},[_vm._v(\"全体租户\")])],1),_c('div',{staticStyle:{\"margin\":\"6px 0\"}},[_c('el-radio',{attrs:{\"label\":1},model:{value:(_vm.addEidtForm.ruleForm.pushObject),callback:function ($$v) {_vm.$set(_vm.addEidtForm.ruleForm, \"pushObject\", $$v)},expression:\"addEidtForm.ruleForm.pushObject\"}},[_vm._v(\"自定义楼栋\")])],1),_c('div',[_c('el-select',{staticStyle:{\"width\":\"240px\"},attrs:{\"disabled\":_vm.BuildDisabled,\"placeholder\":\"请选择楼栋\"},model:{value:(_vm.BuildID),callback:function ($$v) {_vm.BuildID=$$v},expression:\"BuildID\"}},_vm._l((_vm.options),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1)],1)],1),_c('template',{slot:\"pushStatus\"},[_c('el-radio',{attrs:{\"label\":1},model:{value:(_vm.addEidtForm.ruleForm.pushStatus),callback:function ($$v) {_vm.$set(_vm.addEidtForm.ruleForm, \"pushStatus\", $$v)},expression:\"addEidtForm.ruleForm.pushStatus\"}},[_vm._v(\"实时推送\")]),_c('div',{staticStyle:{\"margin\":\"6px 0\"}},[_c('el-radio',{attrs:{\"label\":2},model:{value:(_vm.addEidtForm.ruleForm.pushStatus),callback:function ($$v) {_vm.$set(_vm.addEidtForm.ruleForm, \"pushStatus\", $$v)},expression:\"addEidtForm.ruleForm.pushStatus\"}},[_vm._v(\"定时推送\")])],1),_c('div',[_c('el-date-picker',{attrs:{\"disabled\":_vm.timeDisabled,\"value-format\":\"yyyy-MM-dd HH:mm:ss\",\"type\":\"datetime\",\"placeholder\":\"选择日期时间\",\"align\":\"right\"},model:{value:(_vm.addEidtForm.ruleForm.timingPush),callback:function ($$v) {_vm.$set(_vm.addEidtForm.ruleForm, \"timingPush\", $$v)},expression:\"addEidtForm.ruleForm.timingPush\"}})],1)],1)],2)]],2)],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('button',{staticClass:\"btn-orange\",on:{\"click\":function($event){return _vm.addEidtSubmit()}}},[_c('span',[_c('i',{staticClass:\"el-icon-circle-check\"}),_vm._v(\"提交\")])]),_c('button',{staticClass:\"btn-gray\",on:{\"click\":_vm.addEidtClose}},[_c('span',[_vm._v(\"取消\")])])])])],1)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"main-titel\"},[_c('span',[_vm._v(\"通知管理\")])])\n}]\n\nexport { render, staticRenderFns }","<template>\n <div class=\"main-content\">\n <div class=\"main-titel\">\n <span>通知管理</span>\n </div>\n <div class=\"content\">\n <div class=\"content-btn\">\n <el-button class=\"init-button\"\n icon=\"el-icon-plus\"\n @click=\"add()\">新增公告</el-button>\n </div>\n <div class=\"\">\n <VueTable ref=\"table\"\n :config='config'\n @tableCheck=\"tableCheck\">\n <template slot=\"footer\">\n <div class=\"table-footer\">\n\n <button @click='edit(table_row)'>修改</button>\n <button @click='del(table_row)'>删除</button>\n </div>\n </template>\n </VueTable>\n\n </div>\n <!-- 增加修改 -->\n <Drawer :drawerTitle=\"addEidtTitle\"\n @drawerClose=\"addEidtClose\"\n :drawerVrisible='addEidt_vrisible'>\n <div style=\"padding:30px\">\n <FromCard>\n <template slot=\"title\">基本信息</template>\n <template>\n <VueForm ref=\"addEidtForm\"\n :formObj='addEidtForm'>\n <template slot='pushObject'>\n\n <el-radio :label=\"-1\"\n v-model=\"addEidtForm.ruleForm.pushObject\">全体业主</el-radio>\n\n <div style=\"margin: 6px 0 \">\n <el-radio :label=\"-2\"\n v-model=\"addEidtForm.ruleForm.pushObject\">全体租户</el-radio>\n </div>\n <div style=\"margin: 6px 0 \">\n <el-radio :label=\"1\"\n v-model=\"addEidtForm.ruleForm.pushObject\">自定义楼栋</el-radio>\n </div>\n <div>\n <el-select v-model=\"BuildID\"\n :disabled='BuildDisabled'\n style=\"width:240px\"\n placeholder=\"请选择楼栋\">\n <el-option v-for=\"item in options\"\n :key=\"item.value\"\n :label=\"item.label\"\n :value=\"item.value\">\n </el-option>\n </el-select>\n </div>\n </template>\n <template slot='pushStatus'>\n <el-radio :label=\"1\"\n v-model=\"addEidtForm.ruleForm.pushStatus\">实时推送</el-radio>\n <div style=\"margin:6px 0 \">\n <el-radio :label=\"2\"\n v-model=\"addEidtForm.ruleForm.pushStatus\">定时推送</el-radio>\n </div>\n <div>\n <el-date-picker v-model=\"addEidtForm.ruleForm.timingPush\"\n :disabled='timeDisabled'\n value-format=\"yyyy-MM-dd HH:mm:ss\"\n type=\"datetime\"\n placeholder=\"选择日期时间\"\n align=\"right\">\n </el-date-picker>\n </div>\n </template>\n </VueForm>\n\n </template>\n </FromCard>\n </div>\n <div slot=\"footer\">\n <button class=\"btn-orange\"\n @click=\"addEidtSubmit()\"><span> <i class=\"el-icon-circle-check\"></i>提交</span></button>\n <button class=\"btn-gray\"\n @click=\"addEidtClose\"><span>取消</span></button>\n </div>\n </Drawer>\n </div>\n </div>\n</template>\n<script>\nimport { cpmBuildingUnitFindAll } from '@/api/basic'\nimport { notificationManagementInsert, notificationManagementFindById, notificationManagementUpdate } from '@/api/operation'\n\n// notificationManagementInsert\n\nexport default {\n\n data () {\n return {\n addEidtTitle: '',\n addEidt_vrisible: false,\n timeDisabled: true,\n BuildDisabled: true,\n BuildID: null,\n options: null,\n editId: null,\n addEidtForm: {\n ruleForm: {\n title: null,\n content: null,\n suffix: null,\n pushObject: null,\n timingPush: null,\n pushStatus: null,\n },\n form_item: [\n {\n type: 'Input',\n label: '通知标题',\n placeholder: '请输入',\n width: '100%',\n prop: 'title',\n },\n {\n type: 'textarea',\n label: '通知内容',\n placeholder: '请输入',\n width: '100%',\n rows: 5,\n prop: 'content'\n },\n {\n type: 'Input',\n label: '通知后缀',\n placeholder: '请输入',\n width: '100%',\n prop: 'suffix',\n },\n // 1.元/月 平方米2.元/ 立方米3.元/ 次\n // \n {\n type: 'Slot',\n label: '推送对象',\n placeholder: '请输入',\n width: '100%',\n prop: 'pushObject',\n slotName: 'pushObject'\n },\n {\n type: 'Slot',\n label: '推送时间',\n placeholder: '请输入',\n width: '100%',\n prop: 'pushStatus',\n slotName: 'pushStatus'\n },\n ],\n rules: {\n typeName: [{ required: true }],\n marker: [{ required: true, message: '请输入费用项目名称', trigger: 'blur' }],\n\n }\n },\n table_row: [],\n config: {\n thead: [\n { label: '序号', type: 'index', width: '80' },\n { label: '通知标题', prop: 'title', width: 'auto' },\n // { label: '有效开始时间', prop: 'table3', width: 'auto' },\n // { label: '有效结束时间', prop: 'table4', width: 'auto' },\n { label: 'app阅读量', prop: 'readingVolume', width: 'auto' },\n { label: '推送状态', prop: 'pushStatus', width: 'auto' },\n { label: '短信状态', prop: '1', width: 'auto' },\n { label: '创建人', prop: 'createName', width: 'auto' },\n { label: '更新时间', prop: 'updateDate', width: 'auto' },\n ],\n table_data: [],\n url: 'notificationManagementList',\n search_item: [\n {\n type: 'Input',\n label: '通知标题',\n placeholder: '请输入内容',\n prop: 'title'\n },\n {\n type: 'select',\n label: '推送状态',\n value: '',\n options: [\n { label: '已推送', value: '1' },\n { label: '未推送', value: '2' },\n ],\n placeholder: '请选择推送状态',\n prop: 'pushStatus'\n }\n ],\n data: {\n pageNum: 1,\n size: 10\n }\n },\n }\n },\n created () {\n cpmBuildingUnitFindAll().then(res => {\n this.options = res\n })\n },\n\n computed: {},\n methods: {\n add () {\n this.addEidt_vrisible = true;\n },\n edit (data) {\n if (data.length > 1) {\n this.$message.error('只能查看一条数据的详情');\n return\n }\n if (!data.length) {\n this.$message.error('请选择');\n return\n }\n notificationManagementFindById({ id: this.table_row[0].id }).then(res => {\n console.log(res)\n this.editId = res.id\n this.addEidtForm.ruleForm.title = res.title\n this.addEidtForm.ruleForm.content = res.content\n this.addEidtForm.ruleForm.suffix = res.suffix\n\n this.addEidtForm.ruleForm.timingPush = res.timingPush\n this.addEidtForm.ruleForm.pushStatus = res.pushStatus\n if (res.pushObject !== -1 && res.pushObject !== -2) {\n // resData.pushObject = this.addEidtForm.ruleForm.pushObject\n this.BuildID = res.pushObject\n this.addEidtForm.ruleForm.pushObject = 1\n } else {\n this.addEidtForm.ruleForm.pushObject = res.pushObject\n }\n this.addEidt_vrisible = true;\n\n })\n },\n\n addEidtSubmit () {\n let resData = {\n title: this.addEidtForm.ruleForm.title,\n content: this.addEidtForm.ruleForm.content,\n suffix: this.addEidtForm.ruleForm.suffix,\n pushObject: this.BuildID,\n timingPush: this.addEidtForm.ruleForm.timingPush,\n pushStatus: this.addEidtForm.ruleForm.pushStatus\n }\n for (let key in resData) {\n if (key == 'pushObject') {\n if (this.addEidtForm.ruleForm.pushObject === 1 && !this.BuildID) {\n this.$message.error(`选择楼栋`)\n console.log(resData)\n return\n } else if (this.addEidtForm.ruleForm.pushObject !== 1) {\n resData.pushObject = this.addEidtForm.ruleForm.pushObject\n console.log(resData)\n }\n } else {\n if (!resData[key]) {\n let data = this.addEidtForm.form_item.find(item => key === item.prop)\n this.$message.error(`请填写${data.label}`)\n console.log(resData)\n return\n }\n }\n\n\n }\n\n // 新增\n if (!this.editId) {\n notificationManagementInsert(resData).then(res => {\n console.log(res)\n // message: \"添加通知管理信息成功\", status: true\n if (res.status) {\n this.$message({\n message: res.message,\n type: 'success'\n })\n this.addEidtClose()\n this.$refs.table.loadData()\n }\n })\n\n } else {\n resData.id = this.editId\n // 编辑\n notificationManagementUpdate(resData).then(res => {\n console.log(resData)\n // message: \"添加通知管理信息成功\", status: true\n if (res.status) {\n this.$message({\n message: res.message,\n type: 'success'\n })\n this.addEidtClose()\n this.$refs.table.loadData()\n }\n })\n }\n\n },\n addEidtClose () {\n this.addEidt_vrisible = false;\n this.editId = null;\n this.BuildID = null\n for (let key in this.addEidtForm.ruleForm) {\n this.addEidtForm.ruleForm[key] = null\n }\n },\n tableCheck (data) {\n this.table_row = data;\n },\n\n\n // 删除\n del (data) {\n if (data.length) {\n let arr = []\n for (let i = 0; i < this.table_row.length; i++) {\n arr.push(this.table_row[i].id)\n }\n this.$confirm('是否确认删除?删除不可恢复', '删除', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n confirmButtonClass: 'confirmButton',\n cancelButtonClass: 'cancelButton'\n }).then(() => {\n this.$refs.table.tableDelete(arr)\n }).catch(action => { });\n } else {\n this.$message.error('请选中需要删除的数据');\n }\n },\n },\n watch: {\n 'addEidtForm.ruleForm.pushStatus': {\n handler (newValue) {\n if (newValue === 2) {\n this.timeDisabled = false\n } else {\n this.timeDisabled = true\n // 当前日期格式化\n let date = new Date()\n let seperator1 = \"-\";\n let seperator2 = \":\";\n let month = date.getMonth() + 1;\n let strDate = date.getDate();\n if (month >= 1 && month <= 9) {\n month = \"0\" + month;\n }\n if (strDate >= 0 && strDate <= 9) {\n strDate = \"0\" + strDate;\n }\n let currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate\n + \" \" + date.getHours() + seperator2 + date.getMinutes()\n + seperator2 + date.getSeconds();\n this.addEidtForm.ruleForm.timingPush = currentdate\n }\n },\n immediate: true\n },\n 'addEidtForm.ruleForm.pushObject': {\n handler (newValue) {\n if (newValue === 1) {\n this.BuildDisabled = false\n } else {\n this.BuildDisabled = true\n }\n },\n immediate: true\n }\n }\n}\n</script>\n<style scoped>\n.main-titel span {\n font-size: 16px;\n font-family: PingFangSC-Medium, PingFang SC;\n font-weight: 500;\n color: #333333;\n padding-left: 21px;\n}\n.content {\n padding: 20px;\n}\n.content-btn {\n padding-bottom: 20px;\n}\n.form-box {\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.form-box > .form-input {\n margin-right: 170px;\n}\n.form-btn {\n flex: 1;\n}\n.input-box {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n}\n.input-box > div > span {\n color: #999999;\n font-size: 14px;\n padding-right: 10px;\n}\n.content-table {\n margin-top: 20px;\n border: 1px solid #f5f5f6;\n}\n</style>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./notificationManagement.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./notificationManagement.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./notificationManagement.vue?vue&type=template&id=15565552&scoped=true&\"\nimport script from \"./notificationManagement.vue?vue&type=script&lang=js&\"\nexport * from \"./notificationManagement.vue?vue&type=script&lang=js&\"\nimport style0 from \"./notificationManagement.vue?vue&type=style&index=0&id=15565552&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"15565552\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./notificationManagement.vue?vue&type=style&index=0&id=15565552&prod&scoped=true&lang=css&\"","import service from '../utils/request'\nimport requestUrl from './requestUrl'\n// 公告管理:发布公告管理\nexport function announcementManagementRelease(data) {\n return service.request({\n method: 'POST',\n url: '/announcementManagement/release',\n data: data\n })\n}\n// 通知管理:添加通知信息\nexport function notificationManagementInsert(data) {\n return service.request({\n method: 'POST',\n url: '/notificationManagement/insert',\n data: data\n })\n}\n//通知管理根据主键id查询公告信息\nexport function notificationManagementFindById(data) {\n return service.request({\n method: 'GET',\n url: '/notificationManagement/findById',\n params: data\n })\n}\n// 通知管理:修改通知信息\nexport function notificationManagementUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/notificationManagement/update',\n data: data\n })\n}\n//活动管理根据主键id查询活动管理\nexport function activityManagementFindById(data) {\n return service.request({\n method: 'GET',\n url: '/activityManagement/findById',\n params: data\n })\n}\n//活动管理:修改活动信息\nexport function activityManagementUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/activityManagement/update',\n data: data\n })\n}\n//活动管理:添加活动信息\nexport function activityManagementInsert(data) {\n return service.request({\n method: 'POST',\n url: '/activityManagement/insert',\n data: data\n })\n}\n//活动管理根据活动主键id查询报名记录信息\nexport function activityManagementFindRegistrationById(data) {\n return service.request({\n method: 'GET',\n url: '/activityManagement/findRegistrationById',\n params: data\n })\n}\n// 公告管理根据主键id查询公告信息\nexport function announcementManagementFindById(data) {\n return service.request({\n method: 'GET',\n url: '/announcementManagement/findById',\n params: data\n })\n}\n// 主办方管理:添加主办方信息\nexport function sponsorManagementInsert(data) {\n return service.request({\n method: 'POST',\n url: '/sponsorManagement/insert',\n data: data\n })\n}\n// 主办方管理:修改主办方信息\nexport function sponsorManagementUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/sponsorManagement/update',\n data: data\n })\n}\n\n// 主办方信息根据主键id查询主办方信息\nexport function sponsorManagementFindById(data) {\n return service.request({\n method: 'GET',\n url: '/sponsorManagement/findById',\n params: data\n })\n}\n// 公告管理:添加公告信息\nexport function announcementManagementInsert(data) {\n return service.request({\n method: 'POST',\n url: '/announcementManagement/insert',\n data: data\n })\n}\nexport function announcementManagementUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/announcementManagement/update',\n data: data\n })\n}\n// 主办方管理:查询所有的主办方信息(包含条件搜索)\nexport function sponsorManagementList(data) {\n return service.request({\n method: 'GET',\n url: '/sponsorManagement/list',\n params: data\n })\n}\n//资讯新增\nexport function newsCategoryManagementInsert(data) {\n return service.request({\n method: 'POST',\n url: '/newsCategoryManagement/insert',\n data: data\n })\n}\n//newsCategoryManagement/update\nexport function newsCategoryManagementUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/newsCategoryManagement/update',\n data: data\n })\n}\n//newsCategoryManagement/findById\nexport function newsCategoryManagementFindById(data) {\n return service.request({\n method: 'GET',\n url: '/newsCategoryManagement/findById',\n params: data\n })\n}\nexport function newsManagementInsert(data) {\n return service.request({\n method: 'POST',\n url: '/newsManagement/insert',\n data: data\n })\n}\nexport function newsManagementUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/newsManagement/update',\n data: data\n })\n}\nexport function newsManagementFindById(data) {\n return service.request({\n method: 'GET',\n url: '/newsManagement/findById',\n params: data\n })\n}\nexport function newsCategoryManagementList(data) {\n return service.request({\n method: 'GET',\n url: '/newsCategoryManagement/list',\n params: data\n })\n}\nexport function electronicCommerceCategoryInsert(data) {\n return service.request({\n method: 'POST',\n url: 'electronicCommerceCategory/insert',\n data: data\n })\n}\n//newsManagement/updateCrawling\nexport function newsManagementUpdateCrawling(data) {\n return service.request({\n method: 'GET',\n url: 'newsManagement/updateCrawling',\n params: data\n })\n}\nexport function electronicCommerceCategoryUpdate(data) {\n return service.request({\n method: 'POST',\n url: 'electronicCommerceCategory/update',\n data: data\n })\n}\nexport function electronicCommerceInsert(data) {\n return service.request({\n method: 'POST',\n url: 'electronicCommerce/insert',\n data: data\n })\n}\nexport function electronicCommerceUpdate(data) {\n return service.request({\n method: 'POST',\n url: 'electronicCommerce/update',\n data: data\n })\n}\n//electronicCommerceCategory/list\nexport function electronicCommerceCategoryList(data) {\n return service.request({\n method: 'GET',\n url: '/electronicCommerceCategory/list',\n params: data\n })\n}\nexport function electronicCommerceCategoryFindById(data) {\n return service.request({\n method: 'GET',\n url: '/electronicCommerceCategory/findById',\n params: data\n })\n}\nexport function electronicCommerceFindById(data) {\n return service.request({\n method: 'GET',\n url: '/electronicCommerce/findById',\n params: data\n })\n}"],"sourceRoot":""}