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-727b4313.938ccf43.js.map

1 line
53 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/announcementManagement.vue","webpack:///src/views/operation/page/announcementManagement.vue","webpack:///./src/views/operation/page/announcementManagement.vue?c91f","webpack:///./src/views/operation/page/announcementManagement.vue?8b76","webpack:///./src/views/operation/page/announcementManagement.vue?33f6","webpack:///./src/api/operation.js","webpack:///./src/assets/images/dialogPreviewbg.png"],"names":["render","_vm","this","_c","_self","staticClass","_m","attrs","on","$event","add","_v","ref","config","tableCheck","slot","edit","table_row","release","del","announceTitle","announce_vrisible","announceClose","staticStyle","announceForm","announceRuleSubmit","$baseUrl","ImgeSuccess","imglist","handleExceed","beforeAvatarUpload","fileSuccess","wordRemove","wordList","beforeFileUpload","announceSubmit","dialogPreview","staticRenderFns","data","previewImg","thead","label","type","width","prop","callback","table_data","url","search_item","placeholder","value","options","pageNum","size","ruleForm","title","pushObject","excelFileUrls","content","fileDocUrl","fileDocName","status","scheduledReleaseTime","form_item","slotName","rows","disabled","rules","required","message","trigger","methods","announcementManagementInsert","console","resData","announcementManagementUpdate","id","announcementManagementFindById","name","files","file","arr","confirmButtonText","cancelButtonText","confirmButtonClass","cancelButtonClass","then","catch","action","ids","announcementManagementRelease","result","watch","handler","item","immediate","component","service","request","method","notificationManagementInsert","notificationManagementFindById","params","notificationManagementUpdate","activityManagementFindById","activityManagementUpdate","activityManagementInsert","activityManagementFindRegistrationById","sponsorManagementInsert","sponsorManagementUpdate","sponsorManagementFindById","sponsorManagementList","newsCategoryManagementInsert","newsCategoryManagementUpdate","newsCategoryManagementFindById","newsManagementInsert","newsManagementUpdate","newsManagementFindById","newsCategoryManagementList","electronicCommerceCategoryInsert","newsManagementUpd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CAA6C,QAEnsI0B,EAAkB,CAAC,WAAY,IAAIpC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,OAAO,CAACF,EAAIU,GAAG,c,iCCmI9H,GACA2B,OACA,OAEAlB,qBACAC,qBACAkB,eACAH,iBACAnB,aAEAgB,YAEAL,WACAf,QACA2B,QACAC,WACAC,aACAC,YACA,CACAF,aACAG,aACAD,cACA,CACAF,aACAG,kBACAD,aACAD,gBACAG,iBACA,qBACA,OACA,WAEA,OACA,WAEA,OACA,cAEA,OACA,cAIA,CACAJ,YACAG,qBACAD,cACA,CACAF,WACAG,cACAD,aACAD,gBACAG,iBACA,iBACA,OACA,YAEA,OACA,YAEA,OACA,gBAIA,CACAJ,YACAG,kBACAD,cACA,CACAF,aACAG,kBACAD,eAEAG,cACAC,iCACAC,cACAN,aACAD,aACAQ,oBACAL,cACA,CACAF,cACAD,aACAS,SACAC,UACAV,YACAS,WACA,CACAT,YACAS,YAEAD,kBACAL,gBAEAN,MACAc,UACAC,UAGA7B,cACA8B,UACAC,WACAC,gBACAC,iBACAC,aACAC,gBACAC,iBACAC,SACAC,2BAEAC,YACArB,aACAD,aACAQ,kBACAN,aACAC,cACA,CACAF,cACAD,aACAQ,kBACAN,aACAC,kBACAO,UACAV,WACAS,SACA,CACAT,WACAS,SACA,CACAT,cACAS,SACA,CACAT,WACAS,WAEA,CACAR,YACAD,aACAQ,kBACAN,aACAC,qBACAoB,0BACA,CACAtB,gBACAD,aACAQ,sBACAL,eACAD,aACAsB,QACA,CACAvB,YACAD,aACAQ,kBACAN,aACAC,kBACAoB,uBACA,CACAtB,cACAD,WACAQ,kBACAL,cACAD,aACAQ,UACAV,YACAS,SACA,CACAT,YACAS,SACA,CACAT,aACAS,WAEA,CACAR,gBACAD,aACAQ,kBACAN,aACAuB,YACAtB,8BAGAuB,OACAZ,QACAa,YACAC,cACAC,iBAEAd,aACAY,YACAC,cACAC,mBAEAb,gBACAW,YACAC,gBACAC,mBAEAZ,UACAU,YACAC,kBACAC,iBAOAT,SACAO,YACAC,gBACAC,uBAMAC,SAEAzD,cACA,kBAGAQ,gBACA,0BACA,iBACA,gBACA,oCAGAG,qBACA,OACA8B,uCACAC,iDACAC,uDACAC,2CACAC,iDACAE,yCACAD,mDACAE,gDACAA,sBAIA,uCACA,gDAOA,4BAEAU,2BACAC,eACA,WACA,eACAJ,kBACA3B,iBAEA,qBACA,gCAIAgC,0BAEAC,2BACAF,eACA,WACA,eACAJ,kBACA3B,iBAEA,qBACA,gCA7BA,gCAoCAP,iBACA,yCAGAzB,MACA,0BACA,2BAGAM,QACA,aAOA,YADA,kCALA,cAEA,YADA,gCAOA,OACA4D,YAEAC,2BACA,aACAJ,oBACA,eACA,yCACA,mDACA,4CACAnC,iBAEA,6CACA,mDACA,2CACA,gDACAA,uBAIA,OACAwC,kBACA/B,kBAEA,+BAEA,OACA+B,sBACA/B,sBAEA,8BACA,0BAEA,8BAKApB,iBACA,4DAGAG,sBACA,2BACA,uBACA,wBAOA,OANA,MACA,6CAEA,GACA,0CAEA,UAGAC,iBACA,sDAGAF,kBACA,sBACA,sBACAkD,qBACA,0BAGA/C,aACA,4CAGAE,oBACAuC,eACA,8CACA,2BACA,EACAO,kDAQA,OAPAP,eACA,GACA,8CAEA,GACA,uCAEA,MAGAtD,OACA,aACA,SACA,wCACA8D,6BAEA,oCACAC,uBACAC,sBACAC,mCACAC,mCAEAC,KAAA,KACA,kCAEAC,MAAAC,YAEA,mCAIAtE,WACA,eAEA,YADA,kCAGA,mBAKA,YAJA,eACAwB,aACA2B,gBAIA,SACA,wCACAY,6BAEA,gCACAC,uBACAC,sBACAC,mCACAC,mCAEAC,KAAA,KACA,OACAG,OAEAC,uBACAC,IACA,WACA,eACAjD,eACA2B,oBAEA,iCAKAkB,MAAAC,SAIAI,OAGA,gCACAC,WACApB,eACA,MAGA,qCACA,kCACAqB,iBAIA,qCACA,kCACAA,kBAKAC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ACRpD,IAAK,4BACLT,KAAMA,IAWP,SAASoF,EAA+BpF,GAC3C,OAAO2D,OAAQC,QAAQ,CACnBC,OAAQ,MACRpD,IAAK,mCACLuD,OAAQhE,M,qBCvNhBqF,EAAOC,QAAU,IAA0B,oC","file":"js/chunk-727b4313.938ccf43.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.release(_vm.table_row)}}},[_vm._v(\"发布\")]),_c('button',{on:{\"click\":function($event){return _vm.del(_vm.table_row)}}},[_vm._v(\"删除\")])])])],2),_c('Drawer',{attrs:{\"drawerTitle\":_vm.announceTitle,\"drawerVrisible\":_vm.announce_vrisible},on:{\"drawerClose\":_vm.announceClose}},[_c('div',{staticStyle:{\"padding\":\"30px\"}},[_c('FromCard',[_c('template',{slot:\"title\"},[_vm._v(\"基本信息\")]),[_c('VueForm',{ref:\"announceVueForm\",attrs:{\"formObj\":_vm.announceForm},on:{\"ruleSuccess\":_vm.announceRuleSubmit}},[_c('template',{slot:\"excelFileUrls\"},[[_c('el-upload',{attrs:{\"action\":`${_vm.$baseUrl}upload/uploadAnnouncement`,\"on-success\":_vm.ImgeSuccess,\"file-list\":_vm.imglist,\"on-exceed\":_vm.handleExceed,\"limit\":1,\"accept\":\".jpg,.png,.JPG,.PNG\",\"before-upload\":_vm.beforeAvatarUpload}},[_c('el-button',{attrs:{\"icon\":\"el-icon-edit\",\"size\":\"small\"}},[_vm._v(\"上传图片\")]),_c('span',{staticStyle:{\"margin-left\":\"10px\",\"font-size\":\"12px\",\"color\":\"#444444\"}},[_vm._v(\"建议比例3:2\")]),_c('div',{staticClass:\"el-upload__tip\",attrs:{\"slot\":\"tip\"},slot:\"tip\"},[_c('span',[_vm._v(\"支持扩展名png,jpg\")])])],1)]],2),_c('template',{slot:\"fileDocUrl\"},[[_c('el-upload',{attrs:{\"action\":`${_vm.$baseUrl}upload/uploadAnnouncementDoc`,\"on-success\":_vm.fileSuccess,\"on-remove\":_vm.wordRemove,\"on-exceed\":_vm.handleExceed,\"file-list\":_vm.wordList,\"accept\":\".doc,.DOC,.docx,.DOCX\",\"limit\":1,\"before-upload\":_vm.beforeFileUpload}},[_c('el-button',{attrs:{\"icon\":\"el-icon-edit\",\"size\":\"small\"}},[_vm._v(\"上传文件\")]),_c('div',{staticClass:\"el-upload__tip\",attrs:{\"slot\":\"tip\"},slot:\"tip\"},[_c('span',[_vm._v(\"支持扩展名doc,docx\")])])],1)]],2)],2)]],2)],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('button',{staticClass:\"btn-orange\",on:{\"click\":function($event){return _vm.announceSubmit()}}},[_c('span',[_c('i',{staticClass:\"el-icon-circle-check\"}),_vm._v(\"提交\")])]),_c('button',{staticClass:\"btn-gray\",on:{\"click\":_vm.announceClose}},[_c('span',[_vm._v(\"取消\")])])])]),_c('el-dialog',{staticClass:\"dialogPreview\",attrs:{\"title\":\"预览\",\"visible\":_vm.dialogPreview,\"width\":\"100%%\",\"height\":\"100%\",\"top\":\"0\",\"Dialog\":\"\"},on:{\"update:visible\":function($event){_vm.dialogPreview=$event}}},[_c('div',{staticClass:\"preview-header\"},[_c('div',{staticClass:\"esc-preview\",on:{\"click\":function($event){_vm.dialogPreview = false}}},[_c('i',{staticClass:\"el-icon-s-marketing\",staticStyle:{\"font-size\":\"24px\",\"margin-left\":\"33px\",\"margin-right\":\"9px\"}}),_c('span',[_vm._v(\"退出预览\")])])]),_c('div',{staticClass:\"preview-body\"},[_c('div',{staticClass:\"body-content\"},[_c('div',{staticClass:\"preview-img\"},[_c('div',{staticClass:\"preview-content\"},[_c('div',{staticClass:\"preview-title\"},[_c('span',[_vm._v(\"新政!宁波市“无房家庭”可优先购买一套商品房\")])]),_c('div',{staticClass:\"preview-content-img\"}),_c('div',{staticClass:\"preview-content-text\"},[_c('p',[_vm._v(\" 今天,宁波市住房和城乡建设局、宁波市自然资源和规 划局联合发布《关于进一步完善商品住房销售行为切实保障居民自住需求的通知》(以下简称《通知》)。 该《通知》意在保障居民自住需求,抑制投机投资行为, 《通知》明确符合条件的“无房家庭”可在市六区优先认购1套商品 住房该套房要求在取得不动产权属证书满5年后方可转让该新政从发布之日起实施。 \")]),_c('p',[_vm._v(\" 今天,宁波市住房和城乡建设局、宁波市自然资源和规 划局联合发布《关于进一步完善商品住房销售行为切实保障居民自住需求的通知》(以下简称《通知》)。 该《通知》意在保障居民自住需求,抑制投机投资行为, 《通知》明确符合条件的“无房家庭”可在市六区优先认购1套商品 住房该套房要求在取得不动产权属证书满5年后方可转让该新政从发布之日起实施。 \")]),_c('p',[_vm._v(\" 今天,宁波市住房和城乡建设局、宁波市自然资源和规 划局联合发布《关于进一步完善商品住房销售行为切实保障居民自住需求的通知》(以下简称《通知》)。 该《通知》意在保障居民自住需求,抑制投机投资行为, 《通知》明确符合条件的“无房家庭”可在市六区优先认购1套商品 住房该套房要求在取得不动产权属证书满5年后方可转让该新政从发布之日起实施。 \")]),_c('p',[_vm._v(\" 今天,宁波市住房和城乡建设局、宁波市自然资源和规 划局联合发布《关于进一步完善商品住房销售行为切实保障居民自住需求的通知》(以下简称《通知》)。 该《通知》意在保障居民自住需求,抑制投机投资行为, 《通知》明确符合条件的“无房家庭”可在市六区优先认购1套商品 住房该套房要求在取得不动产权属证书满5年后方可转让该新政从发布之日起实施。 \")])]),_c('div',{staticClass:\"preview-content-footer\"},[_c('span',[_vm._v(\"新城悦物业服务有限公司 发布于 2020-08-12\")])])])])])])])],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 @click=\"add()\"\n icon=\"el-icon-plus\">新增公告</el-button>\n </div>\n <!-- 查询重制 -->\n <div class=\"\">\n <VueTable ref=\"table\"\n :config='config'\n @tableCheck=\"tableCheck\">\n <template slot=\"footer\">\n <div class=\"table-footer\">\n <!-- <button @click=\"dialogPreview = true\">预览</button> -->\n <button @click=\"edit(table_row)\">修改</button>\n <!-- <button>打印</button> -->\n <button @click=\"release(table_row)\">发布</button>\n <button @click='del(table_row)'>删除</button>\n </div>\n </template>\n</VueTable>\n\n<!-- 新增修改公告 -->\n<Drawer :drawerTitle=\"announceTitle\" @drawerClose=\"announceClose\" :drawerVrisible='announce_vrisible'>\n <div style=\"padding:30px\">\n <FromCard>\n <template slot=\"title\">基本信息</template>\n <template>\n <VueForm ref=\"announceVueForm\"\n @ruleSuccess='announceRuleSubmit'\n :formObj='announceForm'>\n <template slot='excelFileUrls'>\n <template>\n <el-upload :action=\"`${$baseUrl}upload/uploadAnnouncement`\"\n :on-success=\"ImgeSuccess\"\n :file-list=\"imglist\"\n :on-exceed=\"handleExceed\"\n :limit=\"1\"\n accept=\".jpg,.png,.JPG,.PNG\"\n :before-upload=\"beforeAvatarUpload\">\n <el-button icon=\"el-icon-edit\"\n size=\"small\">上传图片</el-button>\n <span style='margin-left:10px;font-size:12px;color:#444444'>建议比例3:2</span>\n <div slot=\"tip\"\n class=\"el-upload__tip\">\n <span>支持扩展名png,jpg</span>\n </div>\n </el-upload>\n </template>\n </template>\n <template slot='fileDocUrl'>\n <template>\n <el-upload :action=\"`${$baseUrl}upload/uploadAnnouncementDoc`\"\n :on-success=\"fileSuccess\"\n :on-remove=\"wordRemove\"\n :on-exceed=\"handleExceed\"\n :file-list=\"wordList\"\n accept=\".doc,.DOC,.docx,.DOCX\"\n :limit=\"1\"\n :before-upload=\"beforeFileUpload\">\n <el-button icon=\"el-icon-edit\"\n size=\"small\">上传文件</el-button>\n <div slot=\"tip\"\n class=\"el-upload__tip\">\n <span>支持扩展名doc,docx</span>\n </div>\n </el-upload>\n </template>\n </template>\n </VueForm>\n </template>\n </FromCard>\n </div>\n <div slot=\"footer\">\n <button class=\"btn-orange\" @click=\"announceSubmit()\"><span> <i class=\"el-icon-circle-check\"></i>提交</span></button>\n <button class=\"btn-gray\" @click=\"announceClose\"><span>取消</span></button>\n </div>\n</Drawer>\n<!-- 预览 -->\n<el-dialog class=\"dialogPreview\" title=\"预览\" :visible.sync=\"dialogPreview\" width=\"100%%\" height=\"100%\" top=\"0\" Dialog>\n <div class=\"preview-header\">\n <div class=\"esc-preview\" @click=\"dialogPreview = false\">\n <i class=\"el-icon-s-marketing\" style=\"font-size:24px;margin-left:33px;margin-right:9px\"></i>\n <span>退出预览</span>\n </div>\n </div>\n <div class=\"preview-body\">\n <div class=\"body-content\">\n <div class=\"preview-img\">\n <div class=\"preview-content\">\n <div class=\"preview-title\">\n <span>新政!宁波市“无房家庭”可优先购买一套商品房</span>\n </div>\n <div class=\"preview-content-img\"></div>\n <div class=\"preview-content-text\">\n <p>\n 今天,宁波市住房和城乡建设局、宁波市自然资源和规 划局联合发布《关于进一步完善商品住房销售行为切实保障居民自住需求的通知》(以下简称《通知》)。 该《通知》意在保障居民自住需求,抑制投机投资行为, 《通知》明确符合条件的“无房家庭”可在市六区优先认购1套商品 住房该套房要求在取得不动产权属证书满5年后方可转让该新政从发布之日起实施。\n </p>\n <p>\n 今天,宁波市住房和城乡建设局、宁波市自然资源和规 划局联合发布《关于进一步完善商品住房销售行为切实保障居民自住需求的通知》(以下简称《通知》)。 该《通知》意在保障居民自住需求,抑制投机投资行为, 《通知》明确符合条件的“无房家庭”可在市六区优先认购1套商品 住房该套房要求在取得不动产权属证书满5年后方可转让该新政从发布之日起实施。\n </p>\n <p>\n 今天,宁波市住房和城乡建设局、宁波市自然资源和规 划局联合发布《关于进一步完善商品住房销售行为切实保障居民自住需求的通知》(以下简称《通知》)。 该《通知》意在保障居民自住需求,抑制投机投资行为, 《通知》明确符合条件的“无房家庭”可在市六区优先认购1套商品 住房该套房要求在取得不动产权属证书满5年后方可转让该新政从发布之日起实施。\n </p>\n <p>\n 今天,宁波市住房和城乡建设局、宁波市自然资源和规 划局联合发布《关于进一步完善商品住房销售行为切实保障居民自住需求的通知》(以下简称《通知》)。 该《通知》意在保障居民自住需求,抑制投机投资行为, 《通知》明确符合条件的“无房家庭”可在市六区优先认购1套商品 住房该套房要求在取得不动产权属证书满5年后方可转让该新政从发布之日起实施。\n </p>\n </div>\n <div class=\"preview-content-footer\">\n <span>新城悦物业服务有限公司 发布于 2020-08-12</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n</el-dialog>\n</div>\n</div>\n</div>\n</template>\n<script>\n import {\n announcementManagementRelease,\n announcementManagementFindById,\n announcementManagementInsert,\n announcementManagementUpdate\n } from '@/api/operation.js'\n import previewImg from '@/assets/images/dialogPreviewbg.png'\n export default {\n data() {\n return {\n // 添加\n announceTitle: '新增公告',\n announce_vrisible: false,\n previewImg: previewImg,\n dialogPreview: false,\n table_row: [],\n // 上传word文件\n wordList: [],\n // 上传img文件\n imglist: [],\n config: {\n thead: [{\n label: '序号',\n type: 'index',\n width: '80'\n }, {\n label: '公告标题',\n prop: 'title',\n width: 'auto'\n }, {\n label: '推送对象',\n prop: 'pushObject',\n width: 'auto',\n type: 'function',\n callback: (row, prop) => {\n switch (row.pushObject) {\n case 1:\n return '业主'\n break\n case 2:\n return '租户'\n break\n case 3:\n return '业主和租户'\n break\n case 4:\n return '管家'\n break\n }\n }\n }, {\n label: '阅读量',\n prop: 'readingVolume',\n width: 'auto'\n }, {\n label: '状态',\n prop: 'status',\n width: 'auto',\n type: 'function',\n callback: (row, prop) => {\n switch (row.status) {\n case 1:\n return '未发布'\n break\n case 2:\n return '已发布'\n break\n case 3:\n return '定时发布'\n break\n }\n }\n }, {\n label: '创建人',\n prop: 'createName',\n width: 'auto'\n }, {\n label: '更新时间',\n prop: 'updateDate',\n width: 'auto'\n }],\n table_data: [],\n url: 'announcementManagementList',\n search_item: [{\n type: 'Input',\n label: '公告标题',\n placeholder: '请输入内容',\n prop: 'title'\n }, {\n type: 'select',\n label: '公告状态',\n value: '',\n options: [{\n label: '未发布',\n value: '1'\n }, {\n label: '已发布',\n value: '2'\n }],\n placeholder: '请选择',\n prop: 'status'\n }],\n data: {\n pageNum: 1,\n size: 10\n }\n },\n announceForm: {\n ruleForm: {\n title: null,\n pushObject: null,\n excelFileUrls: [],\n content: null,\n fileDocUrl: null,\n fileDocName:null,\n status: 1,\n scheduledReleaseTime: null\n },\n form_item: [{\n type: 'Input',\n label: '公告标题',\n placeholder: '请输入',\n width: '100%',\n prop: 'title'\n }, {\n type: 'Select',\n label: '推送对象',\n placeholder: '请输入',\n width: '100%',\n prop: 'pushObject',\n options: [{\n label: '业主',\n value: 1\n }, {\n label: '租户',\n value: 2\n }, {\n label: '业主和租户',\n value: 3\n },{\n label: '管家',\n value: 4\n }]\n }, {\n type: 'Slot',\n label: '公告图片',\n placeholder: '请输入',\n width: '100%',\n prop: 'excelFileUrls',\n slotName: 'excelFileUrls'\n }, {\n type: 'textarea',\n label: '公告内容',\n placeholder: '请输入公告内容',\n prop: 'content',\n width: '100%',\n rows: 5\n }, {\n type: 'Slot',\n label: '上传文件',\n placeholder: '请输入',\n width: '100%',\n prop: 'fileDocUrl',\n slotName: 'fileDocUrl'\n }, {\n type: 'Select',\n label: '状态',\n placeholder: '请输入',\n prop: 'status',\n width: '100%',\n options: [{\n label: '未发布',\n value: 1\n }, {\n label: '已发布',\n value: 2\n }, {\n label: '定时发布',\n value: 3\n }]\n }, {\n type: 'DateTime',\n label: '定时时间',\n placeholder: '请输入',\n width: '100%',\n disabled: true,\n prop: 'scheduledReleaseTime'\n // disabled:true\n }],\n rules: {\n title: [{\n required: true,\n message: '请输入',\n trigger: 'blur'\n }],\n pushObject: [{\n required: true,\n message: '请输入',\n trigger: 'change'\n }],\n excelFileUrls: [{\n required: true,\n message: '请上传图片',\n trigger: 'change'\n }],\n content: [{\n required: true,\n message: '请输入公告内容',\n trigger: 'blur'\n }],\n // fileDocUrl: [{\n // required: true,\n // message: '请选择文件',\n // trigger: 'change'\n // }],\n status: [{\n required: true,\n message: '请选择状态',\n trigger: 'change'\n }]\n }\n }\n }\n },\n methods: {\n // 表格选中\n tableCheck(data) {\n this.table_row = data\n },\n // 弹窗关闭\n announceClose() {\n this.announce_vrisible = false\n this.wordList = []\n this.imglist = []\n this.$refs.announceVueForm.reset()\n },\n // 提交验证通过\n announceRuleSubmit() {\n let resData = {\n title: this.announceForm.ruleForm.title,\n pushObject: this.announceForm.ruleForm.pushObject,\n excelFileUrls: this.announceForm.ruleForm.excelFileUrls,\n content: this.announceForm.ruleForm.content,\n fileDocUrl: this.announceForm.ruleForm.fileDocUrl,\n status: this.announceForm.ruleForm.status,\n fileDocName: this.announceForm.ruleForm.fileDocName,\n scheduledReleaseTime: this.announceForm.ruleForm\n .scheduledReleaseTime\n }\n // scheduledReleaseTime\n if (\n this.announceForm.ruleForm.status === 3 &&\n !this.announceForm.ruleForm.scheduledReleaseTime\n ) {\n this.$message.error('请选择定时时间')\n\n return\n }\n\n if (this.announceTitle === '新增公告') {\n // 新增公告\n announcementManagementInsert(resData).then((res) => {\n console.log(res)\n if (res.status) {\n this.$message({\n message: res.message,\n type: 'success'\n })\n this.announceClose()\n this.$refs.table.loadData()\n }\n })\n } else {\n resData.id = this.table_row[0].id\n // 修改公告\n announcementManagementUpdate(resData).then((res) => {\n console.log(res)\n if (res.status) {\n this.$message({\n message: res.message,\n type: 'success'\n })\n this.announceClose()\n this.$refs.table.loadData()\n }\n })\n }\n\n },\n // 提交验证\n announceSubmit() {\n this.$refs.announceVueForm.submitForm()\n },\n // 添加\n add() {\n this.announceTitle = '新增公告'\n this.announce_vrisible = true\n },\n // 修改\n edit(data) {\n if (data.length) {\n if (data.length > 1) {\n this.$message.error('只能单条数据修改')\n return\n }\n } else {\n this.$message.error('请选中需要修改的数据')\n return\n }\n let resData = {\n id: data[0].id\n }\n announcementManagementFindById(resData).then((res) => {\n if (res.status) {\n console.log(res.data)\n const data = res.data\n this.announceForm.ruleForm.title = data.title\n this.announceForm.ruleForm.pushObject = data.pushObject\n this.announceForm.ruleForm.excelFileUrls[0] =\n data.imgUrls[0].url\n\n this.announceForm.ruleForm.content = data.content\n this.announceForm.ruleForm.fileDocUrl = data.fileDocUrl\n this.announceForm.ruleForm.status = data.status\n this.announceForm.ruleForm.scheduledReleaseTime =\n data.scheduledReleaseTime\n // this.wordList[0].name = data.fileDocUrl\n // this.wordList[0].url = data.url\n\n let obj = {\n name: data.fileDocUrl,\n url: data.fileDocUrl\n }\n this.$set(this.wordList, '0', obj)\n\n let imgObj = {\n name: data.imgUrls[0].url,\n url: data.imgUrls[0].url\n }\n this.$set(this.imglist, '0', imgObj)\n this.announceTitle = '修改公告'\n\n this.announce_vrisible = true\n }\n })\n },\n // 图片上传成功\n ImgeSuccess(res, file) {\n this.announceForm.ruleForm.excelFileUrls[0] = file.response.url\n },\n // 图片文件上传之前\n beforeAvatarUpload(file) {\n const isLt2M = file.size / 1024 / 1024 < 2\n const isJPG = file.type === 'image/png'\n const isPNG = file.type === 'image/jpeg'\n if (!isJPG && !isPNG) {\n this.$message.error('上传头像图片只能是 JPG/PNG 格式!')\n }\n if (!isLt2M) {\n this.$message.error('上传头像图片大小不能超过 2MB!')\n }\n return (isJPG || isPNG) && isLt2M\n },\n // word 文件上传成功\n fileSuccess(res, file) {\n this.announceForm.ruleForm.fileDocUrl = file.response.url\n },\n // word 文件上传限制提示\n handleExceed(files, fileList) {\n this.$message.warning(\n `当前限制选择 1 个文件,本次选择了 ${\n files.length\n } 个文件,共选择了 ${files.length + fileList.length} 个文件`\n )\n },\n wordRemove() {\n this.announceForm.ruleForm.fileDocUrl = null\n },\n // word 文件上传之前\n beforeFileUpload(file) {\n console.log(file)\n this.announceForm.ruleForm.fileDocName = file.name\n const isLt2M = file.size / 1024 / 1024 < 2\n const fileType =\n file.name.endsWith('.doc') || file.name.endsWith('.docx')\n console.log(fileType)\n if (!fileType) {\n this.$message.error('上传头像图片只能是 doc/docx 格式!')\n }\n if (!isLt2M) {\n this.$message.error('上传文件大小不能超过 2MB!')\n }\n return fileType && isLt2M\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 })\n .then(() => {\n this.$refs.table.tableDelete(arr)\n })\n .catch((action) => {})\n } else {\n this.$message.error('请选中需要删除的数据')\n }\n },\n // 发布\n release(data) {\n if(data.length!=1){\n this.$message.error('只能选择一条公告发布')\n return\n }\n if(data[0].status===2){\n this.$message({\n type:'error',\n message:'已发布'\n })\n return\n }\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 })\n .then(() => {\n let resData = {\n ids: arr\n }\n announcementManagementRelease(resData).then(\n (result) => {\n if (result.status) {\n this.$message({\n type: 'success',\n message: result.message\n })\n this.$refs.table.loadData()\n }\n }\n )\n })\n .catch((action) => {})\n \n }\n },\n watch: {\n // announceForm: {\n // ruleForm:\n 'announceForm.ruleForm.status': {\n handler(newValue) {\n console.log(newValue)\n if (newValue === 3) {\n // // form_item\n // scheduledReleaseTime\n this.announceForm.form_item.find((item) => {\n if (item.prop === 'scheduledReleaseTime') {\n item.disabled = false\n }\n })\n } else {\n this.announceForm.form_item.find((item) => {\n if (item.prop === 'scheduledReleaseTime') {\n item.disabled = true\n }\n })\n }\n },\n immediate: true\n }\n },\n\n }\n</script>\n<style scoped>\n .preview-header {\n width: 100%;\n height: 62px;\n display: flex;\n align-items: center;\n /* background: #e6e7e9; */\n }\n \n .esc-preview {\n cursor: pointer;\n font-size: 14px;\n display: flex;\n align-items: center;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #333333;\n line-height: 20px;\n }\n \n .body-content {\n width: 100%;\n height: calc(100vh - 62px);\n display: flex;\n align-items: center;\n justify-content: center;\n }\n /* previewImg */\n \n .preview-img {\n width: 344px;\n height: 689px;\n background-image: url(../../../assets/images/dialogPreviewbg.png);\n background-size: 100% 100%;\n }\n \n .preview-titel {\n font-size: 20px;\n }\n \n .preview-content {\n margin: 120px 30px 90px 30px;\n height: calc(100% - 210px);\n overflow-y: auto;\n }\n \n .preview-title {\n text-align: center;\n font-family: PingFangSC-Medium, PingFang SC;\n font-size: 12px;\n font-weight: 600;\n color: #000000;\n line-height: 17px;\n }\n \n .preview-content-img {\n width: 276px;\n height: 94px;\n margin: 22px auto;\n background: gray;\n }\n \n .preview-content-text {\n font-size: 12px;\n font-weight: 400;\n color: #333333;\n line-height: 23px;\n transform: scale(0.91);\n }\n \n .preview-content-footer {\n font-size: 12px;\n font-weight: 400;\n color: #999999;\n margin-left: -20px;\n transform: scale(0.75);\n }\n</style>","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!./announcementManagement.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!./announcementManagement.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./announcementManagement.vue?vue&type=template&id=3f7cc053&scoped=true&\"\nimport script from \"./announcementManagement.vue?vue&type=script&lang=js&\"\nexport * from \"./announcementManagement.vue?vue&type=script&lang=js&\"\nimport style0 from \"./announcementManagement.vue?vue&type=style&index=0&id=3f7cc053&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 \"3f7cc053\",\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!./announcementManagement.vue?vue&type=style&index=0&id=3f7cc053&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}","module.exports = __webpack_public_path__ + \"img/dialogPreviewbg.44e090f9.png\";"],"sourceRoot":""}