@advertising-all/advertising-data-dict
Advanced tools
Comparing version 1.0.82 to 1.0.85
@@ -1,1 +0,1 @@ | ||
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("_vmm_html"),require("Vue")):"function"===typeof define&&define.amd?define(["_vmm_html","Vue"],e):"object"===typeof exports?exports["main"]=e(require("_vmm_html"),require("Vue")):t["main"]=e(t["_vmm_html"],t["Vue"])})("undefined"!==typeof self?self:this,(function(t,e){return function(t){var e={};function i(a){if(e[a])return e[a].exports;var n=e[a]={i:a,l:!1,exports:{}};return t[a].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.d=function(t,e,a){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(a,n,function(e){return t[e]}.bind(null,n));return a},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s="8fc3")}({"033c":function(t,e,i){var a=i("322d");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("b4e0").default;n("9cc22caa",a,!0,{sourceMap:!1,shadowMode:!1})},"0fc3":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[i("h1",{staticStyle:{"text-align":"center","margin-bottom":"10px"}},[t._v("系统数据字典")]),i("div",{staticStyle:{"margin-top":"20px","margin-left":"25px"}},[t._v(" 系统显示名称: "),i("Input",{staticStyle:{width:"200px"},attrs:{disabled:t.disabled},model:{value:t.dataDict.name,callback:function(e){t.$set(t.dataDict,"name",e)},expression:"dataDict.name"}}),i("Button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:t.saveName}},[t._v("修改")])],1),i("div",{staticStyle:{"margin-top":"20px","margin-left":"25px"}},[t._v(" 系统菜单位置: "),i("Select",{staticStyle:{width:"200px"},model:{value:t.dataDict.menuPosition,callback:function(e){t.$set(t.dataDict,"menuPosition",e)},expression:"dataDict.menuPosition"}},t._l(["垂直菜单","横向菜单"],(function(e){return i("Option",{key:e,attrs:{value:e}},[t._v(t._s(e))])})),1),i("Button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:t.updateMenuPosition}},[t._v("修改")])],1),i("div",{staticStyle:{"margin-top":"20px","margin-left":"25px"}},[t._v(" 广告系统域名: "),i("Input",{staticStyle:{width:"200px"},model:{value:t.dataDict.domain,callback:function(e){t.$set(t.dataDict,"domain",e)},expression:"dataDict.domain"}}),i("Button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:t.saveDomain}},[t._v("修改")])],1),i("div",{staticStyle:{"margin-top":"20px","margin-left":"25px"}},[t._v(" 发布系统域名: "),i("Input",{staticStyle:{width:"200px"},model:{value:t.dataDict.publishDomain,callback:function(e){t.$set(t.dataDict,"publishDomain",e)},expression:"dataDict.publishDomain"}}),i("Button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:t.savePublishDomain}},[t._v("修改")])],1),i("div",{staticStyle:{"margin-top":"20px","margin-left":"25px"}},[t._v(" 图片默认播出时长/秒: "),i("Input",{staticStyle:{width:"40px"},model:{value:t.dataDict.defaultPlayTime,callback:function(e){t.$set(t.dataDict,"defaultPlayTime",e)},expression:"dataDict.defaultPlayTime"}}),i("Button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:t.saveDefaultPlayTime}},[t._v("修改")])],1),i("div",[i("addPicBut")],1)])},n=[],o=i("9ab4"),r=i("8bbf"),s=i.n(r),c=i("7f5d"),d=i("42a3"),l=i.n(d),u=i("9224"),p=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[i("div",[i("span",{staticStyle:{"margin-left":"1%"}},[t._v("系统登陆背景图:")]),i("Button",{staticStyle:{"margin-top":"10px"},attrs:{type:"primary"},on:{click:t.addDict}},[t._v("修改")]),i("Button",{staticStyle:{"margin-top":"10px","margin-left":"20px"},attrs:{type:"primary"},on:{click:t.preview}},[t._v("预览")]),i("Modal",{attrs:{width:"360"},model:{value:t.showModaladd,callback:function(e){t.showModaladd=e},expression:"showModaladd"}},[i("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t._v("图片信息")]),i("div",{staticStyle:{"text-align":"center"}},[i("Form",{ref:"",attrs:{"label-width":90}},[i("FormItem",{attrs:{label:"图片上传"}},[i("localUpload",{ref:"upload",on:{success:t.uploadSuccess}})],1)],1)],1),i("div",{attrs:{slot:"footer"},slot:"footer"},[i("Button",{attrs:{type:"text"},on:{click:t.cancelModal}},[t._v("取消")]),i("Button",{attrs:{type:"primary"},on:{click:t.addModal}},[t._v("确认")])],1)]),i("Modal",{model:{value:t.modalPic,callback:function(e){t.modalPic=e},expression:"modalPic"}},[i("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t._v("图片信息")]),i("img",{staticStyle:{"margin-left":"20%",height:"180px",width:"320px"},attrs:{src:t.loginPic,alt:""}}),i("div",{attrs:{slot:"footer"},slot:"footer"},[i("Button",{attrs:{type:"primary"},on:{click:t.ok}},[t._v("确认")])],1)])],1),i("div",[i("span",{staticStyle:{"margin-left":"1%"}},[t._v("系统首页背景图:")]),i("Button",{staticStyle:{"margin-top":"10px"},attrs:{type:"primary"},on:{click:t.addHome}},[t._v("修改")]),i("Button",{staticStyle:{"margin-top":"10px","margin-left":"20px"},attrs:{type:"primary"},on:{click:t.previewHomePic}},[t._v("预览")]),i("Modal",{attrs:{width:"360"},model:{value:t.showModalPicadd,callback:function(e){t.showModalPicadd=e},expression:"showModalPicadd"}},[i("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t._v("图片信息")]),i("div",{staticStyle:{"text-align":"center"}},[i("Form",{ref:"",attrs:{"label-width":90}},[i("FormItem",{attrs:{label:"图片上传"}},[i("localUpload",{ref:"upload",on:{success:t.uploadSuccessAll}})],1)],1)],1),i("div",{attrs:{slot:"footer"},slot:"footer"},[i("Button",{attrs:{type:"text"},on:{click:t.cancelModal}},[t._v("取消")]),i("Button",{attrs:{type:"primary"},on:{click:t.addSureModal}},[t._v("确认")])],1)]),i("Modal",{model:{value:t.modalHomePic,callback:function(e){t.modalHomePic=e},expression:"modalHomePic"}},[i("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t._v("图片信息")]),i("img",{staticStyle:{"margin-left":"20%",height:"180px",width:"320px"},attrs:{src:t.homePic,alt:""}}),i("div",{attrs:{slot:"footer"},slot:"footer"},[i("Button",{attrs:{type:"primary"},on:{click:t.ok}},[t._v("确认")])],1)])],1)])},f=[];l.a.logger(u["a"]+" scenc");var m=s.a.extend({name:"homePic",title:"首页背景图",icon:"",type:"page",data(){return{modalLogPic:!1,modalHomePic:!1,modalPic:!1,homePic:{},homePicArr:[],showModal:!1,showModaladd:!1,loginPic:{},loginPicArr:[],showModalPic:!1,showModalPicadd:!1,picMessage:{},homePicMessage:{}}},components:{localUpload:()=>l.a.project.vueComponent("@advertising-all/resource-manager","upload")},watch:{},methods:{previewHomePic(){return Object(o["a"])(this,void 0,void 0,(function*(){this.modalHomePic=!0;const t=yield c["a"].logAPi.db.systemDataDict.find({filter:{}});this.homePic=t[0].hompicPath}))},preview(){return Object(o["a"])(this,void 0,void 0,(function*(){this.modalPic=!0;const t=yield c["a"].logAPi.db.systemDataDict.find({filter:{}});this.loginPic=t[0].loginPicPath}))},ok(){this.modalPic=!1,this.modalHomePic=!1},uploadSuccess(t){1===t.status?(this.picMessage=t.data,this.$Message.success("上传成功")):this.$Message.error("上传失败,请重试")},uploadSuccessAll(t){1===t.status?(this.homePicMessage=t.data,this.$Message.success("上传成功")):this.$Message.error("上传失败,请重试")},addDict(){this.homePic={},this.showModaladd=!0},addHome(){this.loginPic={},this.showModalPicadd=!0},cancelModal(){this.showModaladd=!1,this.showModalPicadd=!1,this.initData()},cancelModals(){this.showModalPic=!1,this.showModalPicadd=!1},addSureModal(){return Object(o["a"])(this,void 0,void 0,(function*(){yield c["a"].logAPi.db.systemDataDict.updateOne({filter:{id:this.homePicArr.id},update:{$set:{hompicPath:this.homePicMessage.path}},options:{upsert:!0}});this.showModalPicadd=!1,this.initData()}))},addModal(){return Object(o["a"])(this,void 0,void 0,(function*(){yield c["a"].logAPi.db.systemDataDict.updateOne({filter:{id:this.homePicArr.id},update:{$set:{loginPicPath:this.picMessage.path}},options:{upsert:!0}});this.showModaladd=!1,this.initData()}))},initData(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=yield c["a"].logAPi.db.systemDataDict.find({filter:{}});this.homePicArr=t}))}},created(){this.initData()}}),h=m,v=(i("99a9"),i("c9da")),b=Object(v["a"])(h,p,f,!1,null,"731d0204",null),g=b.exports;l.a.logger(u["a"]+" scenc");var y=s.a.extend({name:"dataDict",title:"系统信息字典",icon:"",type:"page",data(){return{dataDict:{}}},computed:{},components:{addPicBut:g},methods:{updateMenuPosition(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=yield c["a"].logAPi.db.systemDataDict.updateOne({filter:{id:this.dataDict.id},update:{$set:{menuPosition:this.dataDict.menuPosition}}});1==t.ok?(this.$Notice.success({title:"系统菜单位置修改成功!"}),this.initdata()):this.$Notice.warn({title:"系统菜单位置修改失败,请稍后重试!"})}))},saveDomain(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=this.dataDict.domain,e=yield c["a"].logAPi.db.systemDataDict.updateOne({filter:{id:this.dataDict.id},update:{$set:{domain:t}}});1==e.ok?(this.$Notice.success({title:"系统域名修改成功!"}),this.initdata()):this.$Notice.warn({title:"系统域名修改失败,请稍后重试!"})}))},savePublishDomain(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=this.dataDict.publishDomain,e=yield c["a"].logAPi.db.systemDataDict.updateOne({filter:{id:this.dataDict.id},update:{$set:{publishDomain:t}}});1==e.ok?(this.$Notice.success({title:"发布系统域名修改成功!"}),this.initdata()):this.$Notice.warn({title:"系统域名修改失败,请稍后重试!"})}))},saveDefaultPlayTime(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=this.dataDict.defaultPlayTime;if(isNaN(t))return this.$Notice.warn({title:"修改失败, 需要填入数字!"});const e=yield c["a"].logAPi.db.systemDataDict.updateOne({filter:{id:this.dataDict.id},update:{$set:{defaultPlayTime:t}}});1==e.ok?(this.$Notice.success({title:"修改成功"}),this.initdata()):this.$Notice.warn({title:"修改失败,请稍后重试!"})}))},saveName(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=yield c["a"].logAPi.db.systemDataDict.updateOne({filter:{id:this.dataDict.id},update:{$set:{name:this.dataDict.name}}});1==t.ok?(this.$Notice.success({title:"系统显示名称修改成功!"}),this.initdata()):this.$Notice.warn({title:"系统显示名称修改失败,请稍后重试!"})}))},initdata(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=yield c["a"].logAPi.db.systemDataDict.find({filter:{}});t.length>0&&(this.dataDict=t[0])}))}},created(){this.initdata()}}),x=y,D=(i("c14a"),Object(v["a"])(x,a,n,!1,null,"7c5139cd",null));e["default"]=D.exports},"13b2":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sessions={res:{client:{},server:{}}}},"1d15":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[i("h2",{staticStyle:{"text-align":"center"}},[t._v("业务数据字典")]),i("defaultAdvertisingImg"),i("commenSubColumn")],1)},n=[],o=i("9ab4"),r=i("8bbf"),s=i.n(r),c=i("42a3"),d=i.n(c),l=i("9224"),u=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[i("div",[i("span",{staticStyle:{display:"inline-block",width:"120px","text-align":"center"}},[t._v("缺省广告图片:")]),i("Button",{staticStyle:{"margin-right":"20px"},attrs:{type:"primary"},on:{click:t.editImg}},[t._v("修改")]),i("Button",{attrs:{type:"primary"},on:{click:t.viewDefaultImg}},[t._v("预览")])],1),i("Modal",{attrs:{title:"图片信息"},model:{value:t.showImgModal,callback:function(e){t.showImgModal=e},expression:"showImgModal"}},[t.isEdit?i("div",[i("localUpload",{ref:"upload",on:{success:t.uploadSuccessAll}})],1):t._e(),t.isEdit?t._e():i("div",[i("img",{staticStyle:{display:"block",margin:"0 auto",height:"180px",width:"320px"},attrs:{src:t.defaultObj.defaultAdvertisingImg,alt:""}})]),i("div",{attrs:{slot:"footer"},slot:"footer"},[i("Button",{attrs:{type:"primary"},on:{click:t.confirmModal}},[t._v("确认")])],1)])],1)},p=[],f=i("7f5d");d.a.logger(l["a"]+" scenc");var m=s.a.extend({name:"homePic",title:"首页背景图",icon:"",type:"page",data(){return{showImgModal:!1,isEdit:!1,defaultObj:{}}},components:{localUpload:()=>d.a.project.vueComponent("@advertising-all/resource-manager","upload")},methods:{viewDefaultImg(){return Object(o["a"])(this,void 0,void 0,(function*(){this.isEdit=!1,this.showImgModal=!0}))},confirmModal(){return Object(o["a"])(this,void 0,void 0,(function*(){this.isEdit?(yield f["a"].logAPi.db.dataDict.updateOne({filter:{id:this.defaultObj.id},update:{$set:{defaultAdvertisingImg:this.defaultObj.defaultAdvertisingImg}}}),this.showImgModal=!1):this.showImgModal=!1}))},editImg(){this.isEdit=!0,this.showImgModal=!0},uploadSuccessAll(t){1===t.status?(this.defaultObj.defaultAdvertisingImg=t.data.path,this.$Message.success("上传成功")):this.$Message.error("上传失败,请重试")}},created(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=yield f["a"].logAPi.db.dataDict.find({filter:{}});t.length>0&&(this.defaultObj=t[0])}))}}),h=m,v=(i("b8e1"),i("c9da")),b=Object(v["a"])(h,u,p,!1,null,"4e62adcc",null),g=b.exports,y=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[i("div",[i("Button",{attrs:{type:"primary"},on:{click:t.onClickCreate}},[t._v("创建")])],1),i("Table",{attrs:{columns:t.header,data:t.data},scopedSlots:t._u([{key:"operation",fn:function(e){var a=e.row;return[i("Button",{attrs:{type:"error"},on:{click:function(e){return t.onDelete(a)}}},[t._v("删除")])]}}])}),i("Modal",{attrs:{title:"广告位"},model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[i("div",{staticClass:"modal-box"},[i("Input",{staticStyle:{width:"240px","margin-bottom":"5px"},attrs:{placeholder:"广告位名称"},model:{value:t.cmsc.name,callback:function(e){t.$set(t.cmsc,"name",e)},expression:"cmsc.name"}}),i("chooseSubCol",{on:{"on-select":t.onSelect}})],1),i("div",{attrs:{slot:"footer"},slot:"footer"},[i("Button",{on:{click:t.onCancel}},[t._v("取消")]),i("Button",{attrs:{type:"primary"},on:{click:function(e){return t.onConfirm(t.cmsc)}}},[t._v("创建")])],1)])],1)},x=[];d.a.logger(l["a"]+" scenc");var D=s.a.extend({components:{chooseSubCol:()=>d.a.project.vueComponent("@advertising-all/column-manager","chooseSubCol")},data(){return{showModal:!1,defaultObj:{},header:[{title:"广告位名称",key:"name",align:"center"},{title:"所属栏目",key:"cname",align:"center"},{title:"所属时段",key:"scname",align:"center"},{title:"操作",slot:"operation",align:"center"}],data:[],cmsc:{},columns:[],subcolumns:[],locations:[],ids:[]}},methods:{onClickCreate(){this.cmsc={},this.showModal=!0},onSelect(t){this.cmsc.cid=t[0].id,this.cmsc.cname=t[0].name,this.cmsc.id=t[1].id,this.cmsc.scname=t[1].name},onConfirm(t){return Object(o["a"])(this,void 0,void 0,(function*(){return this.ids.indexOf(t.id)>-1?this.$Modal.warning({title:`子栏目(编号:${t.id}, 名称:${t.name}), 已存在.`}):t.name?(yield f["a"].logAPi.db.commenSubColumn.updateOne({filter:{id:t.id},update:{$set:t},options:{upsert:!0}}),this.init(),void this.onCancel()):this.$Modal.warning({title:"请填写广告位名称"})}))},onCancel(){this.cmsc={}},onDelete(t){return Object(o["a"])(this,void 0,void 0,(function*(){this.$Modal.confirm({title:`确认删除${t.name}吗?`,onOk:()=>{f["a"].logAPi.db.commenSubColumn.deleteOne({filter:{id:t.id}}).then(t=>{this.init()})}})}))},init(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=yield f["a"].logAPi.db.commenSubColumn.find({filter:{}});this.data=t,this.ids=t.map(t=>t.id)}))}},created(){return Object(o["a"])(this,void 0,void 0,(function*(){this.init()}))}}),P=D,_=(i("b7f1"),Object(v["a"])(P,y,x,!1,null,"4a651fd1",null)),w=_.exports;d.a.logger(l["a"]+" scenc");var O=s.a.extend({name:"dataDictMessage",title:"业务数据字典",icon:"",type:"page",data(){return{}},components:{defaultAdvertisingImg:g,commenSubColumn:w},watch:{},methods:{},created(){return Object(o["a"])(this,void 0,void 0,(function*(){}))}}),S=O,T=(i("3be0"),Object(v["a"])(S,a,n,!1,null,"77b64cfe",null));e["default"]=T.exports},"1e38":function(t,e,i){var a=i("9548");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("b4e0").default;n("140b8a5c",a,!0,{sourceMap:!1,shadowMode:!1})},"2c9d":function(t,e,i){var a={"./dataDict.vue":"0fc3","./dataDictMessage.vue":"1d15","./logs.vue":"e893"};function n(t){var e=o(t);return i(e)}function o(t){if(!i.o(a,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return a[t]}n.keys=function(){return Object.keys(a)},n.resolve=o,t.exports=n,n.id="2c9d"},"322d":function(t,e,i){var a=i("72ab");e=a(!1),e.push([t.i,".title[data-v-4e62adcc]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}.body[data-v-4e62adcc]{text-align:left;padding:10px;box-sizing:border-box}.pageStyle[data-v-4e62adcc]{float:right;margin-top:5px}",""]),t.exports=e},"33f1":function(t,e,i){var a=i("72ab");e=a(!1),e.push([t.i,".title[data-v-77b64cfe]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}.body[data-v-77b64cfe]{text-align:left;padding:10px;box-sizing:border-box}.pageStyle[data-v-77b64cfe]{float:right;margin-top:5px}",""]),t.exports=e},"3be0":function(t,e,i){"use strict";var a=i("c3f6"),n=i.n(a);n.a},"42a3":function(e,i){e.exports=t},"4db0":function(t,e,i){var a=i("72ab");e=a(!1),e.push([t.i,".title[data-v-731d0204]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}.body[data-v-731d0204]{text-align:left;padding:10px;box-sizing:border-box}.pageStyle[data-v-731d0204]{float:right;margin-top:5px}",""]),t.exports=e},"567b":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const a=i("db9b");e.schemas=a.createDbSchemas({location:new a.DbSchema({},{id:{fields:{id:1},options:{unique:!0,sparse:!1,dropDups:!0}}}),column:new a.DbSchema({},{name:{fields:{name:1},options:{unique:!0,sparse:!1,dropDups:!0}}}),subColumn:new a.DbSchema({},{name:{fields:{name:1},options:{unique:!0,sparse:!1,dropDups:!0}}}),columnGroup:new a.DbSchema({},{name:{fields:{name:1},options:{unique:!0,sparse:!1,dropDups:!0}}}),schedule:new a.DbSchema({},{id:{fields:{id:1},options:{unique:!0,sparse:!1,dropDups:!0}}}),menu:new a.DbSchema({},{cid:{fields:{cid:1},options:{unique:!0,sparse:!1,dropDups:!0}},date:{fields:{date:1},options:{unique:!0,sparse:!1,dropDups:!0}}})})},"5a73":function(t,e,i){var a=i("72ab");e=a(!1),e.push([t.i,".title[data-v-4a651fd1]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}.body[data-v-4a651fd1]{text-align:left;padding:10px;box-sizing:border-box}.pageStyle[data-v-4a651fd1]{float:right;margin-top:5px}.modal-box[data-v-4a651fd1]{display:flex;flex-direction:column;align-items:center}",""]),t.exports=e},"5abb":function(t,e,i){var a=i("4db0");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("b4e0").default;n("593dc0f6",a,!0,{sourceMap:!1,shadowMode:!1})},"5f9b":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("7a39");e.Api={clearSysLog:a.HTTP(["user"],""),sysLog:a.HTTP(["user"],""),adminHello:a.HTTP(["user"],"admin")}},"6c75":function(t,e,i){var a=i("7e52");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("b4e0").default;n("ef1260c2",a,!0,{sourceMap:!1,shadowMode:!1})},"72ab":function(t,e,i){"use strict";function a(t,e){var i=t[1]||"",a=t[3];if(!a)return i;if(e&&"function"===typeof btoa){var o=n(a),r=a.sources.map((function(t){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(t," */")}));return[i].concat(r).concat([o]).join("\n")}return[i].join("\n")}function n(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(i," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i=a(e,t);return e[2]?"@media ".concat(e[2]," {").concat(i,"}"):i})).join("")},e.i=function(t,i,a){"string"===typeof t&&(t=[[null,t,""]]);var n={};if(a)for(var o=0;o<this.length;o++){var r=this[o][0];null!=r&&(n[r]=!0)}for(var s=0;s<t.length;s++){var c=[].concat(t[s]);a&&n[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),e.push(c))}},e}},"72b1":function(t,e,i){"use strict";var a=i("1e38"),n=i.n(a);n.a},"7a39":function(t,e,i){"use strict";function a(t){for(var i in t)e.hasOwnProperty(i)||(e[i]=t[i])}e.__esModule=!0,a(i("b8cb")),a(i("9099"))},"7bc5":function(t){t.exports=JSON.parse('{"name":"@advertising-all/column-manager-api","version":"1.0.47","description":"栏目管理api","main":"dist/src/index.js","types":"./src/index.ts","moduleType":"api","license":"MIT","scripts":{"serve":"tsc -w","build":"tsc","doc":"typedoc --json ./document/doc.json ./src/"},"devDependencies":{"@vmm/api":"^1.0.7"},"dependencies":{"global":"^4.4.0","typescript":"^3.8.3"}}')},"7d21":function(t,e,i){"use strict";var a=this&&this.__assign||function(){return a=Object.assign||function(t){for(var e,i=1,a=arguments.length;i<a;i++)for(var n in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},a.apply(this,arguments)};e.__esModule=!0;var n=i("8b83"),o=function(){function t(t,e){this.value=t,this.name=e}return t}();function r(t){for(var e=0,i=Object.keys(t);e<i.length;e++){var a=i[e];t[a].collName=a}return t}e.DbField=o,e.createDbSchemas=r;var s=function(){function t(t,e,i){this.collName="",this.docSchema={},this.indexSchema=e,this.collOptions=t,this.collOptions._extDb=i}return t}();function c(t,e){return{C:{insertOne:n.HTTP(t,e),insertMany:n.HTTP(t,e)},R:{findOne:n.HTTP(t,e),find:n.HTTP(t,e),countDocuments:n.HTTP(t,e),estimatedDocumentCount:n.HTTP(t,e),geoHaystackSearch:n.HTTP(t,e),distinct:n.HTTP(t,e)},U:{updateOne:n.HTTP(t,e),updateMany:n.HTTP(t,e),findOneAndReplace:n.HTTP(t,e),findOneAndUpdate:n.HTTP(t,e)},D:{deleteOne:n.HTTP(t,e),deleteMany:n.HTTP(t,e),findOneAndDelete:n.HTTP(t,e)}}}e.DbSchema=s;(function(){function t(){}})();function d(t,e,i,a){var n=c(i,a),o=n["R"];return Object.defineProperty(o,"_db",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(o,"_schema",{enumerable:!1,writable:!1,value:t}),o}function l(t,e,i,n){var o=c(i,n),r=a(a({},o["U"]),o["R"]);return Object.defineProperty(r,"_db",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(r,"_schema",{enumerable:!1,writable:!1,value:t}),r}function u(t,e,i,n){var o=c(i,n),r=a(a(a({},o["C"]),o["U"]),o["R"]);return Object.defineProperty(r,"_db",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(r,"_schema",{enumerable:!1,writable:!1,value:t}),r}function p(t,e,i,n){var o=c(i,n),r=a(a(a(a({},o["C"]),o["R"]),o["U"]),o["D"]);return Object.defineProperty(r,"_db",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(r,"_schema",{enumerable:!1,writable:!1,value:t}),r}e.DB_R=d,e.DB_RU=l,e.DB_CRU=u,e.DB_CRUD=p},"7e52":function(t,e,i){var a=i("72ab");e=a(!1),e.push([t.i,".title[data-v-7c5139cd]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}.body[data-v-7c5139cd]{text-align:left;padding:10px;box-sizing:border-box}.pageStyle[data-v-7c5139cd]{float:right;margin-top:5px}",""]),t.exports=e},"7f5d":function(t,e,i){"use strict";var a=i("42a3"),n=i.n(a),o=i("e0c3"),r=i.n(o),s=i("e279"),c=i.n(s);e["a"]={logAPi:n.a.project.loadApi(r.a),column:n.a.project.loadApi(c.a)}},"860b":function(t){t.exports=JSON.parse('{"name":"@advertising-all/advertising-data-dict-api","version":"1.0.54","description":"数据字典API","main":"dist/src/index.js","types":"./src/index.ts","moduleType":"api","license":"MIT","scripts":{"serve":"tsc -w","build":"tsc","doc":"typedoc --json ./document/doc.json ./src/"},"devDependencies":{"@vmm/api":"^1.0.7"}}')},"8b83":function(t,e,i){"use strict";function a(t,e){var i=function(){throw new Error("INVALID HTTP API")},a=i;return a._sessions=t,a._actor=e,i}e.__esModule=!0,e.HTTP=a},"8bbf":function(t,i){t.exports=e},"8fc3":function(t,e,i){"use strict";if(i.r(e),"undefined"!==typeof window){var a=window.document.currentScript,n=i("ec87");a=n(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:n});var o=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(i.p=o[1])}var r=i("9ab4"),s=i("8bbf"),c=i.n(s);const d=new c.a({data(){return{counter:0}},computed:{},methods:{},created(){return Object(r["a"])(this,void 0,void 0,(function*(){setInterval(()=>{this.counter++},1e3)}))}});var l=d,u=i("9224"),p=i("42a3"),f=i.n(p);const m=f.a.logger(u["a"]+":main");f.a.project.loadVueDir(u["a"],i("2c9d"));const h={helloData:l};window[u["a"].replace(/[@\/-]/g,"_")]=h,m.info("created ...",u["a"].replace(/[@\/-]/g,"_"),window[u["a"].replace(/[@\/-]/g,"_")]);var v=h;e["default"]=v},9099:function(t,e,i){"use strict";function a(t,e){var i=function(){throw new Error("INVALID HTTP API")},a=i;return a._sessions=t,a._actor=e,i}e.__esModule=!0,e.HTTP=a},9224:function(t){t.exports=JSON.parse('{"a":"@advertising-all/advertising-data-dict"}')},9548:function(t,e,i){var a=i("72ab");e=a(!1),e.push([t.i,".title[data-v-61449afe]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}",""]),t.exports=e},"99a9":function(t,e,i){"use strict";var a=i("5abb"),n=i.n(a);n.a},"9ab4":function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));function a(t,e,i,a){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{c(a.next(t))}catch(e){o(e)}}function s(t){try{c(a["throw"](t))}catch(e){o(e)}}function c(t){t.done?i(t.value):n(t.value).then(r,s)}c((a=a.apply(t,e||[])).next())}))}},b4e0:function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var o=e[n],r=o[0],s=o[1],c=o[2],d=o[3],l={id:t+":"+n,css:s,media:c,sourceMap:d};a[r]?a[r].parts.push(l):i.push(a[r]={id:r,parts:[l]})}return i}i.r(e),i.d(e,"default",(function(){return m}));var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},r=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,d=!1,l=function(){},u=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function m(t,e,i,n){d=i,u=n||{};var r=a(t,e);return h(r),function(e){for(var i=[],n=0;n<r.length;n++){var s=r[n],c=o[s.id];c.refs--,i.push(c)}e?(r=a(t,e),h(r)):r=[];for(n=0;n<i.length;n++){c=i[n];if(0===c.refs){for(var d=0;d<c.parts.length;d++)c.parts[d]();delete o[c.id]}}}}function h(t){for(var e=0;e<t.length;e++){var i=t[e],a=o[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(b(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n<i.parts.length;n++)r.push(b(i.parts[n]));o[i.id]={id:i.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function b(t){var e,i,a=document.querySelector("style["+p+'~="'+t.id+'"]');if(a){if(d)return l;a.parentNode.removeChild(a)}if(f){var n=c++;a=s||(s=v()),e=y.bind(null,a,n,!1),i=y.bind(null,a,n,!0)}else a=v(),e=x.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var g=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function y(t,e,i,a){var n=i?"":a.css;if(t.styleSheet)t.styleSheet.cssText=g(e,n);else{var o=document.createTextNode(n),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function x(t,e){var i=e.css,a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),u.ssrId&&t.setAttribute(p,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}},b7f1:function(t,e,i){"use strict";var a=i("f6ac"),n=i.n(a);n.a},b8cb:function(t,e,i){"use strict";var a=this&&this.__assign||function(){return a=Object.assign||function(t){for(var e,i=1,a=arguments.length;i<a;i++)for(var n in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},a.apply(this,arguments)};e.__esModule=!0;var n=i("9099"),o=function(){function t(t,e){this.value=t,this.name=e}return t}();function r(t){for(var e=0,i=Object.keys(t);e<i.length;e++){var a=i[e];t[a].collName=a}return t}e.DbField=o,e.createDbSchemas=r;var s=function(){function t(t,e,i){this.collName="",this.docSchema={},this.indexSchema=e,this.collOptions=t,this.collOptions._extDb=i}return t}();function c(t,e){return{C:{insertOne:n.HTTP(t,e),insertMany:n.HTTP(t,e)},R:{findOne:n.HTTP(t,e),find:n.HTTP(t,e),countDocuments:n.HTTP(t,e),estimatedDocumentCount:n.HTTP(t,e),geoHaystackSearch:n.HTTP(t,e),distinct:n.HTTP(t,e)},U:{updateOne:n.HTTP(t,e),updateMany:n.HTTP(t,e),findOneAndReplace:n.HTTP(t,e),findOneAndUpdate:n.HTTP(t,e)},D:{deleteOne:n.HTTP(t,e),deleteMany:n.HTTP(t,e),findOneAndDelete:n.HTTP(t,e)}}}e.DbSchema=s;(function(){function t(){}})();function d(t,e,i,a){var n=c(i,a),o=n["R"];return Object.defineProperty(o,"_db",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(o,"_schema",{enumerable:!1,writable:!1,value:t}),o}function l(t,e,i,n){var o=c(i,n),r=a(a({},o["U"]),o["R"]);return Object.defineProperty(r,"_db",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(r,"_schema",{enumerable:!1,writable:!1,value:t}),r}function u(t,e,i,n){var o=c(i,n),r=a(a(a({},o["C"]),o["U"]),o["R"]);return Object.defineProperty(r,"_db",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(r,"_schema",{enumerable:!1,writable:!1,value:t}),r}function p(t,e,i,n){var o=c(i,n),r=a(a(a(a({},o["C"]),o["R"]),o["U"]),o["D"]);return Object.defineProperty(r,"_db",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(r,"_schema",{enumerable:!1,writable:!1,value:t}),r}e.DB_R=d,e.DB_RU=l,e.DB_CRU=u,e.DB_CRUD=p},b8e1:function(t,e,i){"use strict";var a=i("033c"),n=i.n(a);n.a},c14a:function(t,e,i){"use strict";var a=i("6c75"),n=i.n(a);n.a},c3f6:function(t,e,i){var a=i("33f1");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("b4e0").default;n("0b290ddc",a,!0,{sourceMap:!1,shadowMode:!1})},c9da:function(t,e,i){"use strict";function a(t,e,i,a,n,o,r,s){var c,d="function"===typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=i,d._compiled=!0),a&&(d.functional=!0),o&&(d._scopeId="data-v-"+o),r?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},d._ssrRegister=c):n&&(c=s?function(){n.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:n),c)if(d.functional){d._injectStyles=c;var l=d.render;d.render=function(t,e){return c.call(e),l(t,e)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:d}}i.d(e,"a",(function(){return a}))},db9b:function(t,e,i){"use strict";function a(t){for(var i in t)e.hasOwnProperty(i)||(e[i]=t[i])}e.__esModule=!0,a(i("7d21")),a(i("8b83"))},e0c3:function(t,e,i){"use strict";var a=this&&this.__assign||function(){return a=Object.assign||function(t){for(var e,i=1,a=arguments.length;i<a;i++)for(var n in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},a.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var n=i("860b"),o=i("5f9b"),r=i("e91c"),s=i("13b2");e.default={pkg:{name:n.name,version:n.version,description:n.description},api:a({},o.Api),db:a({},r.DbApi),session:a({},s.sessions)};var c=i("ed9d");e.schemaLog=c.schemas},e279:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const a=i("7bc5"),n=i("eb27"),o=i("f5d1"),r=i("e2d9");e.default={pkg:{name:a.name,version:a.version,description:a.description},api:{...n.Api},db:{...o.DbApi},session:{...r.sessions}};var s=i("567b");e.schemaHello=s.schemas},e2d9:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sessions={res:{client:{hello:"this is hello"},server:{}}}},e893:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticStyle:{padding:"10px","text-align":"left"}},[i("div",{staticStyle:{display:"flex","align-items":"flex-end","margin-bottom":"5px"}},[i("div",{staticStyle:{width:"50%","margin-left":"auto"}},[i("Input",{attrs:{placeholder:"请输入检索信息"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchList(e)}},model:{value:t.searchVal,callback:function(e){t.searchVal=e},expression:"searchVal"}},[i("span",{attrs:{slot:"prepend"},slot:"prepend"},[t._v("请输入检索内容")]),i("Button",{attrs:{slot:"append",icon:"ios-search"},on:{click:t.searchList},slot:"append"})],1)],1)]),i("div",[i("Table",{attrs:{border:"",stripe:"",columns:t.header,data:t.logList}}),i("Page",{attrs:{"page-size":t.limit,total:t.logNumber},on:{"on-change":t.pageChange}})],1)])},n=[],o=i("9ab4"),r=i("8bbf"),s=i.n(r),c=i("7f5d"),d=i("42a3"),l=i.n(d),u=i("9224");l.a.logger(u["a"]+" scenc");var p=s.a.extend({name:"logs",title:"系统日志",icon:"",type:"page",data(){return{logList:[],limit:10,skip:0,logNumber:0,header:[],searchVal:""}},methods:{searchList(){this.getLog()},getLog(t){return Object(o["a"])(this,void 0,void 0,(function*(){const e=this.limit,i=t||this.skip,a={createdTime:-1};let n={};this.searchVal&&(n={$or:[{actorName:{$regex:""+this.searchVal,$options:"i"}},{ip:{$regex:""+this.searchVal,$options:"i"}},{action:{$regex:""+this.searchVal,$options:"i"}}]}),this.logList=yield c["a"].logAPi.db.sysLogs.find({filter:n,options:{limit:e,skip:i,sort:a}}),this.logNumber=yield c["a"].logAPi.db.sysLogs.countDocuments({filter:n})}))},pageChange(t){this.getLog(10*(t-1))},formatTen(t){return t>9?t+"":"0"+t},formatDate(t){t=new Date(t);var e=t.getFullYear(),i=t.getMonth()+1,a=t.getDate(),n=t.getHours(),o=t.getMinutes();t.getSeconds();return e+"/"+this.formatTen(i)+"/"+this.formatTen(a)+" "+this.formatTen(n)+":"+this.formatTen(o)}},created(){return Object(o["a"])(this,void 0,void 0,(function*(){this.header=[{title:"操作用户",width:100,key:"actorName",align:"center"},{title:"操作内容",key:"action",align:"center"},{title:"操作时间",width:180,render:(t,e)=>t("div",{},this.formatDate(e.row.createdTime)),align:"center"},{title:"结果",width:80,render:(t,e)=>t("div",{},e.row.actErr?e.row.actErr:"成功"),align:"center"}],this.getLog()}))}}),f=p,m=(i("72b1"),i("c9da")),h=Object(m["a"])(f,a,n,!1,null,"61449afe",null);e["default"]=h.exports},e91c:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("7a39"),n=i("ed9d");e.DbApi={dataDict:a.DB_CRUD(n.schemas.dataDict,{},[],""),systemDataDict:a.DB_CRUD(n.schemas.systemDataDict,{},[],""),sysLogs:a.DB_R(n.schemas.sysLogs,{},[],""),commenSubColumn:a.DB_CRUD(n.schemas.ICommenSubColumn,{},[],"")}},eb27:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const a=i("db9b");e.Api={hello:a.HTTP([],""),adminHello:a.HTTP(["user"],"admin"),getMenuByMac:a.HTTP([],""),getMenuByCid:a.HTTP(["user"],"admin"),matterShowNumTotal:a.HTTP(["user"],"admin"),matterShowDateTotal:a.HTTP(["user"],"admin")}},ec87:function(t,e,i){var a,n,o;(function(i,r){n=[],a=r,o="function"===typeof a?a.apply(e,n):a,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(u){var t,e,i,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,n=/@([^@]*):(\d+):(\d+)\s*$/gi,o=a.exec(u.stack)||n.exec(u.stack),r=o&&o[1]||!1,s=o&&o[2]||!1,c=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");r===c&&(t=document.documentElement.outerHTML,e=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=t.replace(e,"$1").trim());for(var l=0;l<d.length;l++){if("interactive"===d[l].readyState)return d[l];if(d[l].src===r)return d[l];if(r===c&&d[l].innerHTML&&d[l].innerHTML.trim()===i)return d[l]}return null}}return t}))},ed9d:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("7a39");e.schemas=a.createDbSchemas({dataDict:new a.DbSchema({},{}),systemDataDict:new a.DbSchema({},{}),sysLogs:new a.DbSchema({},{}),ICommenSubColumn:new a.DbSchema({},{})})},f5d1:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const a=i("db9b"),n=i("567b");e.DbApi={location:a.DB_CRUD(n.schemas.location,{},["user"],"admin"),schedule:a.DB_CRUD(n.schemas.schedule,{},["user"],"admin"),column:a.DB_CRUD(n.schemas.column,{},["user"],"admin"),subColumn:a.DB_CRUD(n.schemas.subColumn,{},["user"],"admin"),columnGroup:a.DB_CRUD(n.schemas.columnGroup,{},["user"],"admin")}},f6ac:function(t,e,i){var a=i("5a73");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("b4e0").default;n("29bbcee2",a,!0,{sourceMap:!1,shadowMode:!1})}})})); | ||
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("_vmm_html"),require("Vue")):"function"===typeof define&&define.amd?define(["_vmm_html","Vue"],e):"object"===typeof exports?exports["main"]=e(require("_vmm_html"),require("Vue")):t["main"]=e(t["_vmm_html"],t["Vue"])})("undefined"!==typeof self?self:this,(function(t,e){return function(t){var e={};function i(a){if(e[a])return e[a].exports;var n=e[a]={i:a,l:!1,exports:{}};return t[a].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.d=function(t,e,a){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(a,n,function(e){return t[e]}.bind(null,n));return a},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s="576d")}({"0484":function(t,e,i){var a=i("f98f");e=a(!1),e.push([t.i,".title[data-v-61449afe]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}",""]),t.exports=e},"06b2":function(t,e,i){var a=i("d83b");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("b6f6").default;n("4bf4b701",a,!0,{sourceMap:!1,shadowMode:!1})},"0df8":function(t,e,i){"use strict";var a=i("c65a"),n=i.n(a);n.a},"0fc3":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[i("h1",{staticStyle:{"text-align":"center","margin-bottom":"10px"}},[t._v("系统数据字典")]),i("div",{staticStyle:{"margin-top":"20px","margin-left":"25px"}},[t._v(" 系统显示名称: "),i("Input",{staticStyle:{width:"200px"},attrs:{disabled:t.disabled},model:{value:t.dataDict.name,callback:function(e){t.$set(t.dataDict,"name",e)},expression:"dataDict.name"}}),i("Button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:t.saveName}},[t._v("修改")])],1),i("div",{staticStyle:{"margin-top":"20px","margin-left":"25px"}},[t._v(" 系统菜单位置: "),i("Select",{staticStyle:{width:"200px"},model:{value:t.dataDict.menuPosition,callback:function(e){t.$set(t.dataDict,"menuPosition",e)},expression:"dataDict.menuPosition"}},t._l(["垂直菜单","横向菜单"],(function(e){return i("Option",{key:e,attrs:{value:e}},[t._v(t._s(e))])})),1),i("Button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:t.updateMenuPosition}},[t._v("修改")])],1),i("div",{staticStyle:{"margin-top":"20px","margin-left":"25px"}},[t._v(" 信息系统域名: "),i("Input",{staticStyle:{width:"200px"},model:{value:t.dataDict.domain,callback:function(e){t.$set(t.dataDict,"domain",e)},expression:"dataDict.domain"}}),i("Button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:t.saveDomain}},[t._v("修改")])],1),i("div",{staticStyle:{"margin-top":"20px","margin-left":"25px"}},[t._v(" 发布系统域名: "),i("Input",{staticStyle:{width:"200px"},model:{value:t.dataDict.publishDomain,callback:function(e){t.$set(t.dataDict,"publishDomain",e)},expression:"dataDict.publishDomain"}}),i("Button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:t.savePublishDomain}},[t._v("修改")])],1),i("div",{staticStyle:{"margin-top":"20px","margin-left":"25px"}},[t._v(" 图片默认播出时长/秒: "),i("Input",{staticStyle:{width:"40px"},model:{value:t.dataDict.defaultPlayTime,callback:function(e){t.$set(t.dataDict,"defaultPlayTime",e)},expression:"dataDict.defaultPlayTime"}}),i("Button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:t.saveDefaultPlayTime}},[t._v("修改")])],1),i("div",[i("addPicBut")],1)])},n=[],o=i("9ab4"),r=i("8bbf"),s=i.n(r),c=i("7f5d"),d=i("42a3"),l=i.n(d),u=i("9224"),p=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[i("div",[i("span",{staticStyle:{"margin-left":"1%"}},[t._v("系统登陆背景图:")]),i("Button",{staticStyle:{"margin-top":"10px"},attrs:{type:"primary"},on:{click:t.addDict}},[t._v("修改")]),i("Button",{staticStyle:{"margin-top":"10px","margin-left":"20px"},attrs:{type:"primary"},on:{click:t.preview}},[t._v("预览")]),i("Modal",{attrs:{width:"360"},model:{value:t.showModaladd,callback:function(e){t.showModaladd=e},expression:"showModaladd"}},[i("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t._v("图片信息")]),i("div",{staticStyle:{"text-align":"center"}},[i("Form",{ref:"",attrs:{"label-width":90}},[i("FormItem",{attrs:{label:"图片上传"}},[i("localUpload",{ref:"upload",on:{success:t.uploadSuccess}})],1)],1)],1),i("div",{attrs:{slot:"footer"},slot:"footer"},[i("Button",{attrs:{type:"text"},on:{click:t.cancelModal}},[t._v("取消")]),i("Button",{attrs:{type:"primary"},on:{click:t.addModal}},[t._v("确认")])],1)]),i("Modal",{model:{value:t.modalPic,callback:function(e){t.modalPic=e},expression:"modalPic"}},[i("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t._v("图片信息")]),i("img",{staticStyle:{"margin-left":"20%",height:"180px",width:"320px"},attrs:{src:t.loginPic,alt:""}}),i("div",{attrs:{slot:"footer"},slot:"footer"},[i("Button",{attrs:{type:"primary"},on:{click:t.ok}},[t._v("确认")])],1)])],1),i("div",[i("span",{staticStyle:{"margin-left":"1%"}},[t._v("系统首页背景图:")]),i("Button",{staticStyle:{"margin-top":"10px"},attrs:{type:"primary"},on:{click:t.addHome}},[t._v("修改")]),i("Button",{staticStyle:{"margin-top":"10px","margin-left":"20px"},attrs:{type:"primary"},on:{click:t.previewHomePic}},[t._v("预览")]),i("Modal",{attrs:{width:"360"},model:{value:t.showModalPicadd,callback:function(e){t.showModalPicadd=e},expression:"showModalPicadd"}},[i("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t._v("图片信息")]),i("div",{staticStyle:{"text-align":"center"}},[i("Form",{ref:"",attrs:{"label-width":90}},[i("FormItem",{attrs:{label:"图片上传"}},[i("localUpload",{ref:"upload",on:{success:t.uploadSuccessAll}})],1)],1)],1),i("div",{attrs:{slot:"footer"},slot:"footer"},[i("Button",{attrs:{type:"text"},on:{click:t.cancelModal}},[t._v("取消")]),i("Button",{attrs:{type:"primary"},on:{click:t.addSureModal}},[t._v("确认")])],1)]),i("Modal",{model:{value:t.modalHomePic,callback:function(e){t.modalHomePic=e},expression:"modalHomePic"}},[i("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t._v("图片信息")]),i("img",{staticStyle:{"margin-left":"20%",height:"180px",width:"320px"},attrs:{src:t.homePic,alt:""}}),i("div",{attrs:{slot:"footer"},slot:"footer"},[i("Button",{attrs:{type:"primary"},on:{click:t.ok}},[t._v("确认")])],1)])],1)])},f=[];l.a.logger(u["a"]+" scenc");var m=s.a.extend({name:"homePic",title:"首页背景图",icon:"",type:"page",data(){return{modalLogPic:!1,modalHomePic:!1,modalPic:!1,homePic:{},homePicArr:[],showModal:!1,showModaladd:!1,loginPic:{},loginPicArr:[],showModalPic:!1,showModalPicadd:!1,picMessage:{},homePicMessage:{}}},components:{localUpload:()=>l.a.project.vueComponent("@advertising-all/resource-manager","upload")},watch:{},methods:{previewHomePic(){return Object(o["a"])(this,void 0,void 0,(function*(){this.modalHomePic=!0;const t=yield c["a"].logAPi.db.systemDataDict.find({filter:{}});this.homePic=t[0].hompicPath}))},preview(){return Object(o["a"])(this,void 0,void 0,(function*(){this.modalPic=!0;const t=yield c["a"].logAPi.db.systemDataDict.find({filter:{}});this.loginPic=t[0].loginPicPath}))},ok(){this.modalPic=!1,this.modalHomePic=!1},uploadSuccess(t){1===t.status?(this.picMessage=t.data,this.$Message.success("上传成功")):this.$Message.error("上传失败,请重试")},uploadSuccessAll(t){1===t.status?(this.homePicMessage=t.data,this.$Message.success("上传成功")):this.$Message.error("上传失败,请重试")},addDict(){this.homePic={},this.showModaladd=!0},addHome(){this.loginPic={},this.showModalPicadd=!0},cancelModal(){this.showModaladd=!1,this.showModalPicadd=!1,this.initData()},cancelModals(){this.showModalPic=!1,this.showModalPicadd=!1},addSureModal(){return Object(o["a"])(this,void 0,void 0,(function*(){yield c["a"].logAPi.db.systemDataDict.updateOne({filter:{id:this.homePicArr.id},update:{$set:{hompicPath:this.homePicMessage.path}},options:{upsert:!0}});this.showModalPicadd=!1,this.initData()}))},addModal(){return Object(o["a"])(this,void 0,void 0,(function*(){yield c["a"].logAPi.db.systemDataDict.updateOne({filter:{id:this.homePicArr.id},update:{$set:{loginPicPath:this.picMessage.path}},options:{upsert:!0}});this.showModaladd=!1,this.initData()}))},initData(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=yield c["a"].logAPi.db.systemDataDict.find({filter:{}});this.homePicArr=t}))}},created(){this.initData()}}),h=m,v=(i("99a9"),i("6ffd")),b=Object(v["a"])(h,p,f,!1,null,"731d0204",null),g=b.exports;l.a.logger(u["a"]+" scenc");var y=s.a.extend({name:"dataDict",title:"系统信息字典",icon:"",type:"page",data(){return{dataDict:{}}},computed:{},components:{addPicBut:g},methods:{updateMenuPosition(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=yield c["a"].logAPi.db.systemDataDict.updateOne({filter:{id:this.dataDict.id},update:{$set:{menuPosition:this.dataDict.menuPosition}}});1==t.ok?(this.$Notice.success({title:"系统菜单位置修改成功!"}),this.initdata()):this.$Notice.warn({title:"系统菜单位置修改失败,请稍后重试!"})}))},saveDomain(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=this.dataDict.domain,e=yield c["a"].logAPi.db.systemDataDict.updateOne({filter:{id:this.dataDict.id},update:{$set:{domain:t}}});1==e.ok?(this.$Notice.success({title:"系统域名修改成功!"}),this.initdata()):this.$Notice.warn({title:"系统域名修改失败,请稍后重试!"})}))},savePublishDomain(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=this.dataDict.publishDomain,e=yield c["a"].logAPi.db.systemDataDict.updateOne({filter:{id:this.dataDict.id},update:{$set:{publishDomain:t}}});1==e.ok?(this.$Notice.success({title:"发布系统域名修改成功!"}),this.initdata()):this.$Notice.warn({title:"系统域名修改失败,请稍后重试!"})}))},saveDefaultPlayTime(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=this.dataDict.defaultPlayTime;if(isNaN(t))return this.$Notice.warn({title:"修改失败, 需要填入数字!"});const e=yield c["a"].logAPi.db.systemDataDict.updateOne({filter:{id:this.dataDict.id},update:{$set:{defaultPlayTime:t}}});1==e.ok?(this.$Notice.success({title:"修改成功"}),this.initdata()):this.$Notice.warn({title:"修改失败,请稍后重试!"})}))},saveName(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=yield c["a"].logAPi.db.systemDataDict.updateOne({filter:{id:this.dataDict.id},update:{$set:{name:this.dataDict.name}}});1==t.ok?(this.$Notice.success({title:"系统显示名称修改成功!"}),this.initdata()):this.$Notice.warn({title:"系统显示名称修改失败,请稍后重试!"})}))},initdata(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=yield c["a"].logAPi.db.systemDataDict.find({filter:{}});t.length>0&&(this.dataDict=t[0])}))}},created(){this.initdata()}}),x=y,D=(i("dd50"),Object(v["a"])(x,a,n,!1,null,"9aea4948",null));e["default"]=D.exports},"13b2":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sessions={res:{client:{},server:{}}}},1713:function(t,e,i){var a=i("0484");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("b6f6").default;n("8f496f0e",a,!0,{sourceMap:!1,shadowMode:!1})},"1d15":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[i("h2",{staticStyle:{"text-align":"center"}},[t._v("业务数据字典")]),i("defaultAdvertisingImg"),i("commenSubColumn")],1)},n=[],o=i("9ab4"),r=i("8bbf"),s=i.n(r),c=i("42a3"),d=i.n(c),l=i("9224"),u=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[i("div",[i("span",{staticStyle:{display:"inline-block",width:"120px","text-align":"center"}},[t._v("缺省信息图片:")]),i("Button",{staticStyle:{"margin-right":"20px"},attrs:{type:"primary"},on:{click:t.editImg}},[t._v("修改")]),i("Button",{attrs:{type:"primary"},on:{click:t.viewDefaultImg}},[t._v("预览")])],1),i("Modal",{attrs:{title:"图片信息"},model:{value:t.showImgModal,callback:function(e){t.showImgModal=e},expression:"showImgModal"}},[t.isEdit?i("div",[i("localUpload",{ref:"upload",on:{success:t.uploadSuccessAll}})],1):t._e(),t.isEdit?t._e():i("div",[i("img",{staticStyle:{display:"block",margin:"0 auto",height:"180px",width:"320px"},attrs:{src:t.defaultObj.defaultAdvertisingImg,alt:""}})]),i("div",{attrs:{slot:"footer"},slot:"footer"},[i("Button",{attrs:{type:"primary"},on:{click:t.confirmModal}},[t._v("确认")])],1)])],1)},p=[],f=i("7f5d");d.a.logger(l["a"]+" scenc");var m=s.a.extend({name:"homePic",title:"首页背景图",icon:"",type:"page",data(){return{showImgModal:!1,isEdit:!1,defaultObj:{}}},components:{localUpload:()=>d.a.project.vueComponent("@advertising-all/resource-manager","upload")},methods:{viewDefaultImg(){return Object(o["a"])(this,void 0,void 0,(function*(){this.isEdit=!1,this.showImgModal=!0}))},confirmModal(){return Object(o["a"])(this,void 0,void 0,(function*(){this.isEdit?(yield f["a"].logAPi.db.dataDict.updateOne({filter:{id:this.defaultObj.id},update:{$set:{defaultAdvertisingImg:this.defaultObj.defaultAdvertisingImg}}}),this.showImgModal=!1):this.showImgModal=!1}))},editImg(){this.isEdit=!0,this.showImgModal=!0},uploadSuccessAll(t){1===t.status?(this.defaultObj.defaultAdvertisingImg=t.data.path,this.$Message.success("上传成功")):this.$Message.error("上传失败,请重试")}},created(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=yield f["a"].logAPi.db.dataDict.find({filter:{}});t.length>0&&(this.defaultObj=t[0])}))}}),h=m,v=(i("0df8"),i("6ffd")),b=Object(v["a"])(h,u,p,!1,null,"1f3bb03f",null),g=b.exports,y=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[i("div",[i("Button",{attrs:{type:"primary"},on:{click:t.onClickCreate}},[t._v("创建")])],1),i("Table",{attrs:{columns:t.header,data:t.data},scopedSlots:t._u([{key:"operation",fn:function(e){var a=e.row;return[i("Button",{attrs:{type:"error"},on:{click:function(e){return t.onDelete(a)}}},[t._v("删除")])]}}])}),i("Modal",{attrs:{title:"信息位"},model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[i("div",{staticClass:"modal-box"},[i("Input",{staticStyle:{width:"240px","margin-bottom":"5px"},attrs:{placeholder:"信息位名称"},model:{value:t.cmsc.name,callback:function(e){t.$set(t.cmsc,"name",e)},expression:"cmsc.name"}}),i("chooseSubCol",{on:{"on-select":t.onSelect}})],1),i("div",{attrs:{slot:"footer"},slot:"footer"},[i("Button",{on:{click:t.onCancel}},[t._v("取消")]),i("Button",{attrs:{type:"primary"},on:{click:function(e){return t.onConfirm(t.cmsc)}}},[t._v("创建")])],1)])],1)},x=[];d.a.logger(l["a"]+" scenc");var D=s.a.extend({components:{chooseSubCol:()=>d.a.project.vueComponent("@advertising-all/column-manager","chooseSubCol")},data(){return{showModal:!1,defaultObj:{},header:[{title:"信息位名称",key:"name",align:"center"},{title:"所属栏目",key:"cname",align:"center"},{title:"所属时段",key:"scname",align:"center"},{title:"操作",slot:"operation",align:"center"}],data:[],cmsc:{},columns:[],subcolumns:[],locations:[],ids:[]}},methods:{onClickCreate(){this.cmsc={},this.showModal=!0},onSelect(t){this.cmsc.cid=t[0].id,this.cmsc.cname=t[0].name,this.cmsc.id=t[1].id,this.cmsc.scname=t[1].name},onConfirm(t){return Object(o["a"])(this,void 0,void 0,(function*(){return this.ids.indexOf(t.id)>-1?this.$Modal.warning({title:`子栏目(编号:${t.id}, 名称:${t.name}), 已存在.`}):t.name?(yield f["a"].logAPi.db.commenSubColumn.updateOne({filter:{id:t.id},update:{$set:t},options:{upsert:!0}}),this.init(),void this.onCancel()):this.$Modal.warning({title:"请填写信息位名称"})}))},onCancel(){this.cmsc={}},onDelete(t){return Object(o["a"])(this,void 0,void 0,(function*(){this.$Modal.confirm({title:`确认删除${t.name}吗?`,onOk:()=>{f["a"].logAPi.db.commenSubColumn.deleteOne({filter:{id:t.id}}).then(t=>{this.init()})}})}))},init(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=yield f["a"].logAPi.db.commenSubColumn.find({filter:{}});this.data=t,this.ids=t.map(t=>t.id)}))}},created(){return Object(o["a"])(this,void 0,void 0,(function*(){this.init()}))}}),P=D,_=(i("7155"),Object(v["a"])(P,y,x,!1,null,"00e8b645",null)),w=_.exports;d.a.logger(l["a"]+" scenc");var T=s.a.extend({name:"dataDictMessage",title:"业务数据字典",icon:"",type:"page",data(){return{}},components:{defaultAdvertisingImg:g,commenSubColumn:w},watch:{},methods:{},created(){return Object(o["a"])(this,void 0,void 0,(function*(){}))}}),O=T,S=(i("3be0"),Object(v["a"])(O,a,n,!1,null,"77b64cfe",null));e["default"]=S.exports},"2c9d":function(t,e,i){var a={"./dataDict.vue":"0fc3","./dataDictMessage.vue":"1d15","./logs.vue":"e893"};function n(t){var e=o(t);return i(e)}function o(t){if(!i.o(a,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return a[t]}n.keys=function(){return Object.keys(a)},n.resolve=o,t.exports=n,n.id="2c9d"},"3be0":function(t,e,i){"use strict";var a=i("06b2"),n=i.n(a);n.a},"42a3":function(e,i){e.exports=t},"48b4":function(t,e,i){var a=i("b5e3");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("b6f6").default;n("fb95cc42",a,!0,{sourceMap:!1,shadowMode:!1})},"563f":function(t,e,i){var a=i("f98f");e=a(!1),e.push([t.i,".title[data-v-00e8b645]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}.body[data-v-00e8b645]{text-align:left;padding:10px;box-sizing:border-box}.pageStyle[data-v-00e8b645]{float:right;margin-top:5px}.modal-box[data-v-00e8b645]{display:flex;flex-direction:column;align-items:center}",""]),t.exports=e},"567b":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const a=i("db9b");e.schemas=a.createDbSchemas({location:new a.DbSchema({},{id:{fields:{id:1},options:{unique:!0,sparse:!1,dropDups:!0}}}),column:new a.DbSchema({},{name:{fields:{name:1},options:{unique:!0,sparse:!1,dropDups:!0}}}),subColumn:new a.DbSchema({},{name:{fields:{name:1},options:{unique:!0,sparse:!1,dropDups:!0}}}),columnGroup:new a.DbSchema({},{name:{fields:{name:1},options:{unique:!0,sparse:!1,dropDups:!0}}}),schedule:new a.DbSchema({},{id:{fields:{id:1},options:{unique:!0,sparse:!1,dropDups:!0}}}),menu:new a.DbSchema({},{cid:{fields:{cid:1},options:{unique:!1,sparse:!1,dropDups:!0}},date:{fields:{date:1},options:{unique:!0,sparse:!1,dropDups:!0}}}),insertTask:new a.DbSchema({},{id:{fields:{id:1},options:{unique:!0,sparse:!1,dropDups:!0}}}),resource:new a.DbSchema({},{id:{fields:{id:1},options:{unique:!0,sparse:!1,dropDups:!0}}},{db:"advertising-all-resource-manager-service",col:"resource"})})},"576d":function(t,e,i){"use strict";if(i.r(e),"undefined"!==typeof window){var a=window.document.currentScript,n=i("9e74");a=n(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:n});var o=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(i.p=o[1])}var r=i("9ab4"),s=i("8bbf"),c=i.n(s);const d=new c.a({data(){return{counter:0}},computed:{},methods:{},created(){return Object(r["a"])(this,void 0,void 0,(function*(){setInterval(()=>{this.counter++},1e3)}))}});var l=d,u=i("9224"),p=i("42a3"),f=i.n(p);const m=f.a.logger(u["a"]+":main");f.a.project.loadVueDir(u["a"],i("2c9d"));const h={helloData:l};window[u["a"].replace(/[@\/-]/g,"_")]=h,m.info("created ...",u["a"].replace(/[@\/-]/g,"_"),window[u["a"].replace(/[@\/-]/g,"_")]);var v=h;e["default"]=v},"5f9b":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("7a39");e.Api={clearSysLog:a.HTTP(["user"],""),sysLog:a.HTTP(["user"],""),adminHello:a.HTTP(["user"],"admin")}},"6f94":function(t,e,i){var a=i("ceaf");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("b6f6").default;n("77a59460",a,!0,{sourceMap:!1,shadowMode:!1})},"6ffd":function(t,e,i){"use strict";function a(t,e,i,a,n,o,r,s){var c,d="function"===typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=i,d._compiled=!0),a&&(d.functional=!0),o&&(d._scopeId="data-v-"+o),r?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},d._ssrRegister=c):n&&(c=s?function(){n.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:n),c)if(d.functional){d._injectStyles=c;var l=d.render;d.render=function(t,e){return c.call(e),l(t,e)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:d}}i.d(e,"a",(function(){return a}))},7155:function(t,e,i){"use strict";var a=i("db8b"),n=i.n(a);n.a},"72b1":function(t,e,i){"use strict";var a=i("1713"),n=i.n(a);n.a},"7a39":function(t,e,i){"use strict";function a(t){for(var i in t)e.hasOwnProperty(i)||(e[i]=t[i])}e.__esModule=!0,a(i("b8cb")),a(i("9099"))},"7bc5":function(t){t.exports=JSON.parse('{"name":"@advertising-all/column-manager-api","version":"1.0.54","description":"栏目管理api","main":"dist/src/index.js","types":"./src/index.ts","moduleType":"api","license":"MIT","scripts":{"serve":"tsc -w","build":"tsc","doc":"typedoc --json ./document/doc.json ./src/"},"devDependencies":{"@vmm/api":"^1.0.7"},"dependencies":{"global":"^4.4.0","typescript":"^3.8.3"}}')},"7d21":function(t,e,i){"use strict";var a=this&&this.__assign||function(){return a=Object.assign||function(t){for(var e,i=1,a=arguments.length;i<a;i++)for(var n in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},a.apply(this,arguments)};e.__esModule=!0;var n=i("8b83"),o=function(){function t(t,e){this.value=t,this.name=e}return t}();function r(t){for(var e=0,i=Object.keys(t);e<i.length;e++){var a=i[e];t[a].collName=a}return t}e.DbField=o,e.createDbSchemas=r;var s=function(){function t(t,e,i){this.collName="",this.docSchema={},this.indexSchema=e,this.collOptions=t,this.collOptions._extDb=i}return t}();function c(t,e){return{C:{insertOne:n.HTTP(t,e),insertMany:n.HTTP(t,e)},R:{findOne:n.HTTP(t,e),find:n.HTTP(t,e),countDocuments:n.HTTP(t,e),estimatedDocumentCount:n.HTTP(t,e),geoHaystackSearch:n.HTTP(t,e),distinct:n.HTTP(t,e)},U:{updateOne:n.HTTP(t,e),updateMany:n.HTTP(t,e),findOneAndReplace:n.HTTP(t,e),findOneAndUpdate:n.HTTP(t,e)},D:{deleteOne:n.HTTP(t,e),deleteMany:n.HTTP(t,e),findOneAndDelete:n.HTTP(t,e)}}}e.DbSchema=s;(function(){function t(){}})();function d(t,e,i,a){var n=c(i,a),o=n["R"];return Object.defineProperty(o,"_db",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(o,"_schema",{enumerable:!1,writable:!1,value:t}),o}function l(t,e,i,n){var o=c(i,n),r=a(a({},o["U"]),o["R"]);return Object.defineProperty(r,"_db",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(r,"_schema",{enumerable:!1,writable:!1,value:t}),r}function u(t,e,i,n){var o=c(i,n),r=a(a(a({},o["C"]),o["U"]),o["R"]);return Object.defineProperty(r,"_db",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(r,"_schema",{enumerable:!1,writable:!1,value:t}),r}function p(t,e,i,n){var o=c(i,n),r=a(a(a(a({},o["C"]),o["R"]),o["U"]),o["D"]);return Object.defineProperty(r,"_db",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(r,"_schema",{enumerable:!1,writable:!1,value:t}),r}e.DB_R=d,e.DB_RU=l,e.DB_CRU=u,e.DB_CRUD=p},"7f5d":function(t,e,i){"use strict";var a=i("42a3"),n=i.n(a),o=i("e0c3"),r=i.n(o),s=i("e279"),c=i.n(s);e["a"]={logAPi:n.a.project.loadApi(r.a),column:n.a.project.loadApi(c.a)}},8164:function(t,e,i){var a=i("f98f");e=a(!1),e.push([t.i,".title[data-v-1f3bb03f]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}.body[data-v-1f3bb03f]{text-align:left;padding:10px;box-sizing:border-box}.pageStyle[data-v-1f3bb03f]{float:right;margin-top:5px}",""]),t.exports=e},"860b":function(t){t.exports=JSON.parse('{"name":"@advertising-all/advertising-data-dict-api","version":"1.0.54","description":"数据字典API","main":"dist/src/index.js","types":"./src/index.ts","moduleType":"api","license":"MIT","scripts":{"serve":"tsc -w","build":"tsc","doc":"typedoc --json ./document/doc.json ./src/"},"devDependencies":{"@vmm/api":"^1.0.7"}}')},"8b83":function(t,e,i){"use strict";function a(t,e){var i=function(){throw new Error("INVALID HTTP API")},a=i;return a._sessions=t,a._actor=e,i}e.__esModule=!0,e.HTTP=a},"8bbf":function(t,i){t.exports=e},9099:function(t,e,i){"use strict";function a(t,e){var i=function(){throw new Error("INVALID HTTP API")},a=i;return a._sessions=t,a._actor=e,i}e.__esModule=!0,e.HTTP=a},9224:function(t){t.exports=JSON.parse('{"a":"@advertising-all/advertising-data-dict"}')},"99a9":function(t,e,i){"use strict";var a=i("48b4"),n=i.n(a);n.a},"9ab4":function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));function a(t,e,i,a){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{c(a.next(t))}catch(e){o(e)}}function s(t){try{c(a["throw"](t))}catch(e){o(e)}}function c(t){t.done?i(t.value):n(t.value).then(r,s)}c((a=a.apply(t,e||[])).next())}))}},"9e74":function(t,e,i){var a,n,o;(function(i,r){n=[],a=r,o="function"===typeof a?a.apply(e,n):a,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(u){var t,e,i,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,n=/@([^@]*):(\d+):(\d+)\s*$/gi,o=a.exec(u.stack)||n.exec(u.stack),r=o&&o[1]||!1,s=o&&o[2]||!1,c=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");r===c&&(t=document.documentElement.outerHTML,e=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=t.replace(e,"$1").trim());for(var l=0;l<d.length;l++){if("interactive"===d[l].readyState)return d[l];if(d[l].src===r)return d[l];if(r===c&&d[l].innerHTML&&d[l].innerHTML.trim()===i)return d[l]}return null}}return t}))},b5e3:function(t,e,i){var a=i("f98f");e=a(!1),e.push([t.i,".title[data-v-731d0204]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}.body[data-v-731d0204]{text-align:left;padding:10px;box-sizing:border-box}.pageStyle[data-v-731d0204]{float:right;margin-top:5px}",""]),t.exports=e},b6f6:function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var o=e[n],r=o[0],s=o[1],c=o[2],d=o[3],l={id:t+":"+n,css:s,media:c,sourceMap:d};a[r]?a[r].parts.push(l):i.push(a[r]={id:r,parts:[l]})}return i}i.r(e),i.d(e,"default",(function(){return m}));var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},r=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,d=!1,l=function(){},u=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function m(t,e,i,n){d=i,u=n||{};var r=a(t,e);return h(r),function(e){for(var i=[],n=0;n<r.length;n++){var s=r[n],c=o[s.id];c.refs--,i.push(c)}e?(r=a(t,e),h(r)):r=[];for(n=0;n<i.length;n++){c=i[n];if(0===c.refs){for(var d=0;d<c.parts.length;d++)c.parts[d]();delete o[c.id]}}}}function h(t){for(var e=0;e<t.length;e++){var i=t[e],a=o[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(b(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n<i.parts.length;n++)r.push(b(i.parts[n]));o[i.id]={id:i.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function b(t){var e,i,a=document.querySelector("style["+p+'~="'+t.id+'"]');if(a){if(d)return l;a.parentNode.removeChild(a)}if(f){var n=c++;a=s||(s=v()),e=y.bind(null,a,n,!1),i=y.bind(null,a,n,!0)}else a=v(),e=x.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var g=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function y(t,e,i,a){var n=i?"":a.css;if(t.styleSheet)t.styleSheet.cssText=g(e,n);else{var o=document.createTextNode(n),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function x(t,e){var i=e.css,a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),u.ssrId&&t.setAttribute(p,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}},b8cb:function(t,e,i){"use strict";var a=this&&this.__assign||function(){return a=Object.assign||function(t){for(var e,i=1,a=arguments.length;i<a;i++)for(var n in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},a.apply(this,arguments)};e.__esModule=!0;var n=i("9099"),o=function(){function t(t,e){this.value=t,this.name=e}return t}();function r(t){for(var e=0,i=Object.keys(t);e<i.length;e++){var a=i[e];t[a].collName=a}return t}e.DbField=o,e.createDbSchemas=r;var s=function(){function t(t,e,i){this.collName="",this.docSchema={},this.indexSchema=e,this.collOptions=t,this.collOptions._extDb=i}return t}();function c(t,e){return{C:{insertOne:n.HTTP(t,e),insertMany:n.HTTP(t,e)},R:{findOne:n.HTTP(t,e),find:n.HTTP(t,e),countDocuments:n.HTTP(t,e),estimatedDocumentCount:n.HTTP(t,e),geoHaystackSearch:n.HTTP(t,e),distinct:n.HTTP(t,e)},U:{updateOne:n.HTTP(t,e),updateMany:n.HTTP(t,e),findOneAndReplace:n.HTTP(t,e),findOneAndUpdate:n.HTTP(t,e)},D:{deleteOne:n.HTTP(t,e),deleteMany:n.HTTP(t,e),findOneAndDelete:n.HTTP(t,e)}}}e.DbSchema=s;(function(){function t(){}})();function d(t,e,i,a){var n=c(i,a),o=n["R"];return Object.defineProperty(o,"_db",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(o,"_schema",{enumerable:!1,writable:!1,value:t}),o}function l(t,e,i,n){var o=c(i,n),r=a(a({},o["U"]),o["R"]);return Object.defineProperty(r,"_db",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(r,"_schema",{enumerable:!1,writable:!1,value:t}),r}function u(t,e,i,n){var o=c(i,n),r=a(a(a({},o["C"]),o["U"]),o["R"]);return Object.defineProperty(r,"_db",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(r,"_schema",{enumerable:!1,writable:!1,value:t}),r}function p(t,e,i,n){var o=c(i,n),r=a(a(a(a({},o["C"]),o["R"]),o["U"]),o["D"]);return Object.defineProperty(r,"_db",{enumerable:!1,writable:!1,value:e}),Object.defineProperty(r,"_schema",{enumerable:!1,writable:!1,value:t}),r}e.DB_R=d,e.DB_RU=l,e.DB_CRU=u,e.DB_CRUD=p},c65a:function(t,e,i){var a=i("8164");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("b6f6").default;n("2e2b81ef",a,!0,{sourceMap:!1,shadowMode:!1})},ceaf:function(t,e,i){var a=i("f98f");e=a(!1),e.push([t.i,".title[data-v-9aea4948]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}.body[data-v-9aea4948]{text-align:left;padding:10px;box-sizing:border-box}.pageStyle[data-v-9aea4948]{float:right;margin-top:5px}",""]),t.exports=e},d83b:function(t,e,i){var a=i("f98f");e=a(!1),e.push([t.i,".title[data-v-77b64cfe]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}.body[data-v-77b64cfe]{text-align:left;padding:10px;box-sizing:border-box}.pageStyle[data-v-77b64cfe]{float:right;margin-top:5px}",""]),t.exports=e},db8b:function(t,e,i){var a=i("563f");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("b6f6").default;n("edf18e5c",a,!0,{sourceMap:!1,shadowMode:!1})},db9b:function(t,e,i){"use strict";function a(t){for(var i in t)e.hasOwnProperty(i)||(e[i]=t[i])}e.__esModule=!0,a(i("7d21")),a(i("8b83"))},dd50:function(t,e,i){"use strict";var a=i("6f94"),n=i.n(a);n.a},e0c3:function(t,e,i){"use strict";var a=this&&this.__assign||function(){return a=Object.assign||function(t){for(var e,i=1,a=arguments.length;i<a;i++)for(var n in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},a.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var n=i("860b"),o=i("5f9b"),r=i("e91c"),s=i("13b2");e.default={pkg:{name:n.name,version:n.version,description:n.description},api:a({},o.Api),db:a({},r.DbApi),session:a({},s.sessions)};var c=i("ed9d");e.schemaLog=c.schemas},e279:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const a=i("7bc5"),n=i("eb27"),o=i("f5d1"),r=i("e2d9");e.default={pkg:{name:a.name,version:a.version,description:a.description},api:{...n.Api},db:{...o.DbApi},session:{...r.sessions}};var s=i("567b");e.schemaHello=s.schemas},e2d9:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sessions={res:{client:{hello:"this is hello"},server:{}}}},e893:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticStyle:{padding:"10px","text-align":"left"}},[i("div",{staticStyle:{display:"flex","align-items":"flex-end","margin-bottom":"5px"}},[i("div",{staticStyle:{width:"50%","margin-left":"auto"}},[i("Input",{attrs:{placeholder:"请输入检索信息"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchList(e)}},model:{value:t.searchVal,callback:function(e){t.searchVal=e},expression:"searchVal"}},[i("span",{attrs:{slot:"prepend"},slot:"prepend"},[t._v("请输入检索内容")]),i("Button",{attrs:{slot:"append",icon:"ios-search"},on:{click:t.searchList},slot:"append"})],1)],1)]),i("div",[i("Table",{attrs:{border:"",stripe:"",columns:t.header,data:t.logList}}),i("Page",{attrs:{"page-size":t.limit,total:t.logNumber},on:{"on-change":t.pageChange}})],1)])},n=[],o=i("9ab4"),r=i("8bbf"),s=i.n(r),c=i("7f5d"),d=i("42a3"),l=i.n(d),u=i("9224");l.a.logger(u["a"]+" scenc");var p=s.a.extend({name:"logs",title:"系统日志",icon:"",type:"page",data(){return{logList:[],limit:10,skip:0,logNumber:0,header:[],searchVal:""}},methods:{searchList(){this.getLog()},getLog(t){return Object(o["a"])(this,void 0,void 0,(function*(){const e=this.limit,i=t||this.skip,a={createdTime:-1};let n={};this.searchVal&&(n={$or:[{actorName:{$regex:""+this.searchVal,$options:"i"}},{ip:{$regex:""+this.searchVal,$options:"i"}},{action:{$regex:""+this.searchVal,$options:"i"}}]}),this.logList=yield c["a"].logAPi.db.sysLogs.find({filter:n,options:{limit:e,skip:i,sort:a}}),this.logNumber=yield c["a"].logAPi.db.sysLogs.countDocuments({filter:n})}))},pageChange(t){this.getLog(10*(t-1))},formatTen(t){return t>9?t+"":"0"+t},formatDate(t){t=new Date(t);var e=t.getFullYear(),i=t.getMonth()+1,a=t.getDate(),n=t.getHours(),o=t.getMinutes();t.getSeconds();return e+"/"+this.formatTen(i)+"/"+this.formatTen(a)+" "+this.formatTen(n)+":"+this.formatTen(o)}},created(){return Object(o["a"])(this,void 0,void 0,(function*(){this.header=[{title:"操作用户",width:100,key:"actorName",align:"center"},{title:"操作内容",key:"action",align:"center"},{title:"操作时间",width:180,render:(t,e)=>t("div",{},this.formatDate(e.row.createdTime)),align:"center"},{title:"结果",width:80,render:(t,e)=>t("div",{},e.row.actErr?e.row.actErr:"成功"),align:"center"}],this.getLog()}))}}),f=p,m=(i("72b1"),i("6ffd")),h=Object(m["a"])(f,a,n,!1,null,"61449afe",null);e["default"]=h.exports},e91c:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("7a39"),n=i("ed9d");e.DbApi={dataDict:a.DB_CRUD(n.schemas.dataDict,{},[],""),systemDataDict:a.DB_CRUD(n.schemas.systemDataDict,{},[],""),sysLogs:a.DB_R(n.schemas.sysLogs,{},[],""),commenSubColumn:a.DB_CRUD(n.schemas.ICommenSubColumn,{},[],"")}},eb27:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const a=i("db9b");e.Api={hello:a.HTTP([],""),adminHello:a.HTTP(["user"],"admin"),getMenuByMac:a.HTTP([],""),getMenuByCid:a.HTTP(["user"],"admin"),matterShowNumTotal:a.HTTP(["user"],"admin"),matterShowDateTotal:a.HTTP(["user"],"admin"),addTaskInterface:a.HTTP([],""),cancelTaskInterface:a.HTTP([],"")}},ed9d:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("7a39");e.schemas=a.createDbSchemas({dataDict:new a.DbSchema({},{}),systemDataDict:new a.DbSchema({},{}),sysLogs:new a.DbSchema({},{}),ICommenSubColumn:new a.DbSchema({},{})})},f5d1:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const a=i("db9b"),n=i("567b");e.DbApi={location:a.DB_CRUD(n.schemas.location,{},["user"],"admin"),schedule:a.DB_CRUD(n.schemas.schedule,{},["user"],"admin"),column:a.DB_CRUD(n.schemas.column,{},["user"],"admin"),subColumn:a.DB_CRUD(n.schemas.subColumn,{},["user"],"admin"),columnGroup:a.DB_CRUD(n.schemas.columnGroup,{},["user"],"admin")}},f98f:function(t,e,i){"use strict";function a(t,e){var i=t[1]||"",a=t[3];if(!a)return i;if(e&&"function"===typeof btoa){var o=n(a),r=a.sources.map((function(t){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(t," */")}));return[i].concat(r).concat([o]).join("\n")}return[i].join("\n")}function n(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(i," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i=a(e,t);return e[2]?"@media ".concat(e[2]," {").concat(i,"}"):i})).join("")},e.i=function(t,i,a){"string"===typeof t&&(t=[[null,t,""]]);var n={};if(a)for(var o=0;o<this.length;o++){var r=this[o][0];null!=r&&(n[r]=!0)}for(var s=0;s<t.length;s++){var c=[].concat(t[s]);a&&n[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),e.push(c))}},e}}})})); |
{ | ||
"name": "@advertising-all/advertising-data-dict", | ||
"version": "1.0.82", | ||
"version": "1.0.85", | ||
"description": "系统设置", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -65,2 +65,32 @@ /** | ||
}>; | ||
/** | ||
* 联动平台插播接口 | ||
*/ | ||
addTaskInterface: import("@vmm/api/types/apiBase").IAPI<{ | ||
id: string; | ||
content: string; | ||
playMode: string; | ||
playTimes: number; | ||
playtime: string; | ||
deviceIds: string[]; | ||
}, { | ||
code: number; | ||
errCode: string; | ||
message: string; | ||
data: { | ||
taskId: string; | ||
}; | ||
}>; | ||
/** | ||
* 联动平台撤销插播接口 | ||
*/ | ||
cancelTaskInterface: import("@vmm/api/types/apiBase").IAPI<{ | ||
taskId: string; | ||
}, { | ||
code: number; | ||
errCode: string; | ||
message: string; | ||
msg: string; | ||
data: {}; | ||
}>; | ||
}; |
@@ -25,2 +25,10 @@ import { DbSchema } from '@vmm/api'; | ||
} | ||
export interface IList { | ||
path: string; | ||
fileName: string; | ||
duration: number; | ||
preview: string; | ||
type: "图片" | "视频" | "文档" | "其他"; | ||
index?: number; | ||
} | ||
export interface ISchedule { | ||
@@ -33,8 +41,4 @@ id: string; | ||
end: string; | ||
playList: { | ||
path: string; | ||
fileName: string; | ||
duration: number; | ||
index: number; | ||
}[]; | ||
isAutoManage?: boolean; | ||
playList: IList[]; | ||
} | ||
@@ -70,2 +74,36 @@ export interface ISubColumn { | ||
} | ||
export interface IResource { | ||
id: string; | ||
name: string; | ||
path: string; | ||
previewPath: string; | ||
preview: { | ||
url: string; | ||
time: string; | ||
}[]; | ||
cid: string; | ||
scid: string[]; | ||
fileType: '图片' | '视频' | '文档' | '其它'; | ||
fileSize: number; | ||
long?: string; | ||
uploadBy: string; | ||
createAt: number; | ||
updated: number; | ||
detailDesc: string; | ||
resourceGroup: string; | ||
contentDesc: string; | ||
resourceNo: string; | ||
tags: string; | ||
author: string; | ||
version: string; | ||
status: string; | ||
start: string; | ||
end: string; | ||
} | ||
export interface IInsertTask { | ||
id: string; | ||
devices: string[]; | ||
resource: string; | ||
content: string; | ||
} | ||
export interface IMenu { | ||
@@ -93,2 +131,4 @@ cid: string; | ||
menu: DbSchema<IMenu>; | ||
insertTask: DbSchema<IInsertTask>; | ||
resource: DbSchema<IResource>; | ||
}; |
@@ -55,2 +55,26 @@ declare const _default: { | ||
}>; | ||
addTaskInterface: import("@vmm/api/types/apiBase").IAPI<{ | ||
id: string; | ||
content: string; | ||
playMode: string; | ||
playTimes: number; | ||
playtime: string; | ||
deviceIds: string[]; | ||
}, { | ||
code: number; | ||
errCode: string; | ||
message: string; | ||
data: { | ||
taskId: string; | ||
}; | ||
}>; | ||
cancelTaskInterface: import("@vmm/api/types/apiBase").IAPI<{ | ||
taskId: string; | ||
}, { | ||
code: number; | ||
errCode: string; | ||
message: string; | ||
msg: string; | ||
data: {}; | ||
}>; | ||
}; | ||
@@ -57,0 +81,0 @@ db: { |
@@ -1,3 +0,3 @@ | ||
import Vue from "vue"; | ||
import { ISystemDataDict } from "@advertising-all/advertising-data-dict-api/src/db/DbSchema"; | ||
import Vue from 'vue'; | ||
import { ISystemDataDict } from '@advertising-all/advertising-data-dict-api/src/db/DbSchema'; | ||
declare const _default: import("vue/types/vue").ExtendedVue<Vue, { | ||
@@ -4,0 +4,0 @@ dataDict: ISystemDataDict; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
386159
1314