Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@advertising-all/advertising-data-dict

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@advertising-all/advertising-data-dict - npm Package Compare versions

Comparing version 1.0.75 to 1.0.76

2

index.js

@@ -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 a(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,a),n.l=!0,n.exports}return a.m=t,a.c=e,a.d=function(t,e,i){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)a.d(i,n,function(e){return t[e]}.bind(null,n));return i},a.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s="576d")}({"0484":function(t,e,a){var i=a("f98f");e=i(!1),e.push([t.i,".title[data-v-61449afe]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}",""]),t.exports=e},"07cf":function(t,e,a){var i=a("244b");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b6f6").default;n("038aefda",i,!0,{sourceMap:!1,shadowMode:!1})},"0fc3":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[a("h1",{staticStyle:{"text-align":"center","margin-bottom":"10px"}},[t._v("系统数据字典")]),t._l(t.contentList,(function(e,i){return a("div",{key:i,staticStyle:{"margin-left":"25px"}},[a("span",[t._v(t._s(e.title)+":")]),a("Input",{staticStyle:{width:"300px"},attrs:{disabled:t.disabled,type:"text",placeholder:"请输入..."},model:{value:t.dataDict.name,callback:function(e){t.$set(t.dataDict,"name",e)},expression:"dataDict.name"}}),a("Button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:t.modify}},[t._v(t._s(t.btnText))])],1)})),a("div",[a("addPicBut")],1),a("div",{staticStyle:{"margin-top":"20px","margin-left":"25px"}},[t._v(" 系统域名: "),a("Input",{staticStyle:{width:"200px"},attrs:{disabled:t.disabledDomain},model:{value:t.dataDict.domain,callback:function(e){t.$set(t.dataDict,"domain",e)},expression:"dataDict.domain"}}),a("Button",{directives:[{name:"show",rawName:"v-show",value:t.disabledDomain,expression:"disabledDomain"}],staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:function(e){t.disabledDomain=!1}}},[t._v("修改")]),a("Button",{directives:[{name:"show",rawName:"v-show",value:!t.disabledDomain,expression:"!disabledDomain"}],staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:t.saveDomain}},[t._v("保存")])],1)],2)},n=[],o=a("9ab4"),r=a("8bbf"),s=a.n(r),c=a("7f5d"),d=a("42a3"),l=a.n(d),u=a("9224"),f=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[a("div",[a("span",{staticStyle:{"margin-left":"1%"}},[t._v("系统登陆背景图:")]),a("Button",{staticStyle:{"margin-top":"10px"},attrs:{type:"primary"},on:{click:t.addDict}},[t._v("修改")]),a("Button",{staticStyle:{"margin-top":"10px","margin-left":"20px"},attrs:{type:"primary"},on:{click:t.preview}},[t._v("预览")]),a("Modal",{attrs:{width:"360"},model:{value:t.showModaladd,callback:function(e){t.showModaladd=e},expression:"showModaladd"}},[a("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t._v("图片信息")]),a("div",{staticStyle:{"text-align":"center"}},[a("Form",{ref:"",attrs:{"label-width":90}},[a("FormItem",{attrs:{label:"图片上传"}},[a("localUpload",{ref:"upload",on:{success:t.uploadSuccess}})],1)],1)],1),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"text"},on:{click:t.cancelModal}},[t._v("取消")]),a("Button",{attrs:{type:"primary"},on:{click:t.addModal}},[t._v("确认")])],1)]),a("Modal",{model:{value:t.modalPic,callback:function(e){t.modalPic=e},expression:"modalPic"}},[a("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t._v("图片信息")]),a("img",{staticStyle:{"margin-left":"20%",height:"180px",width:"320px"},attrs:{src:t.loginPic,alt:""}}),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"primary"},on:{click:t.ok}},[t._v("确认")])],1)])],1),a("div",[a("span",{staticStyle:{"margin-left":"1%"}},[t._v("系统首页背景图:")]),a("Button",{staticStyle:{"margin-top":"10px"},attrs:{type:"primary"},on:{click:t.addHome}},[t._v("修改")]),a("Button",{staticStyle:{"margin-top":"10px","margin-left":"20px"},attrs:{type:"primary"},on:{click:t.previewHomePic}},[t._v("预览")]),a("Modal",{attrs:{width:"360"},model:{value:t.showModalPicadd,callback:function(e){t.showModalPicadd=e},expression:"showModalPicadd"}},[a("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t._v("图片信息")]),a("div",{staticStyle:{"text-align":"center"}},[a("Form",{ref:"",attrs:{"label-width":90}},[a("FormItem",{attrs:{label:"图片上传"}},[a("localUpload",{ref:"upload",on:{success:t.uploadSuccessAll}})],1)],1)],1),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"text"},on:{click:t.cancelModal}},[t._v("取消")]),a("Button",{attrs:{type:"primary"},on:{click:t.addSureModal}},[t._v("确认")])],1)]),a("Modal",{model:{value:t.modalHomePic,callback:function(e){t.modalHomePic=e},expression:"modalHomePic"}},[a("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t._v("图片信息")]),a("img",{staticStyle:{"margin-left":"20%",height:"180px",width:"320px"},attrs:{src:t.homePic,alt:""}}),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"primary"},on:{click:t.ok}},[t._v("确认")])],1)])],1)])},p=[];l.a.logger(u["a"]+" scenc");var h=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()}}),m=h,v=(a("99a9"),a("6ffd")),g=Object(v["a"])(m,f,p,!1,null,"731d0204",null),b=g.exports;l.a.logger(u["a"]+" scenc");var y=s.a.extend({name:"dataDict",title:"系统信息字典",icon:"",type:"page",data(){return{dataDict:{},contentList:[{title:"系统显示名称",value:"name",type:"text"}],disabledDomain:!0,btnText:"修改",disabled:!0}},computed:{},components:{addPicBut:b},methods:{saveDomain(){const t=this.dataDict.domain;t?c["a"].logAPi.db.systemDataDict.updateOne({filter:{id:this.dataDict.id},update:{$set:{domain:t}}}).then(t=>{this.$Modal.success({title:"域名更新成功"}),this.disabledDomain=!0}).catch(t=>{this.$Modal.warning({title:"域名更新失败。请重试"})}):this.$Modal.warning({title:"域名不能为空"})},modify(){this.disabled?(this.disabled=!1,this.btnText="保存",this.initdata()):(this.disabled=!0,this.btnText="修改",this.saveName())},saveName(){c["a"].logAPi.db.systemDataDict.updateOne({filter:{id:this.dataDict.id},update:{$set:{name:this.dataDict.name}},options:{upsert:!0}}),this.initdata()},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,_=(a("8cb2"),Object(v["a"])(x,i,n,!1,null,"72198185",null));e["default"]=_.exports},"13b2":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sessions={res:{client:{},server:{}}}},1713:function(t,e,a){var i=a("0484");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b6f6").default;n("8f496f0e",i,!0,{sourceMap:!1,shadowMode:!1})},"1d15":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[a("h2",{staticStyle:{"text-align":"center"}},[t._v("业务数据字典")]),a("defaultAdvertisingImg")],1)},n=[],o=a("9ab4"),r=a("8bbf"),s=a.n(r),c=a("42a3"),d=a.n(c),l=a("9224"),u=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[a("div",[a("span",{staticStyle:{display:"inline-block",width:"120px","text-align":"center"}},[t._v("缺省广告图片:")]),a("Button",{staticStyle:{"margin-right":"20px"},attrs:{type:"primary"},on:{click:t.editImg}},[t._v("修改")]),a("Button",{attrs:{type:"primary"},on:{click:t.viewDefaultImg}},[t._v("预览")])],1),a("Modal",{attrs:{title:"图片信息"},model:{value:t.showImgModal,callback:function(e){t.showImgModal=e},expression:"showImgModal"}},[t.isEdit?a("div",[a("localUpload",{ref:"upload",on:{success:t.uploadSuccessAll}})],1):t._e(),t.isEdit?t._e():a("div",[a("img",{staticStyle:{display:"block",margin:"0 auto",height:"180px",width:"320px"},attrs:{src:t.defaultObj.defaultAdvertisingImg,alt:""}})]),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"primary"},on:{click:t.confirmModal}},[t._v("确认")])],1)])],1)},f=[],p=a("7f5d");d.a.logger(l["a"]+" scenc");var h=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 p["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 p["a"].logAPi.db.dataDict.find({filter:{}});t.length>0&&(this.defaultObj=t[0])}))}}),m=h,v=(a("b8e1"),a("6ffd")),g=Object(v["a"])(m,u,f,!1,null,"4e62adcc",null),b=g.exports;d.a.logger(l["a"]+" scenc");var y=s.a.extend({name:"dataDictMessage",title:"业务数据字典",icon:"",type:"page",data(){return{}},components:{defaultAdvertisingImg:b},watch:{},methods:{},created(){return Object(o["a"])(this,void 0,void 0,(function*(){}))}}),x=y,_=(a("b437"),Object(v["a"])(x,i,n,!1,null,"af6b643e",null));e["default"]=_.exports},"244b":function(t,e,a){var i=a("f98f");e=i(!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},"2c9d":function(t,e,a){var i={"./dataDict.vue":"0fc3","./dataDictMessage.vue":"1d15","./logs.vue":"e893","./mainImg.vue":"31e0","./mainText.vue":"dc1e"};function n(t){var e=o(t);return a(e)}function o(t){if(!a.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}n.keys=function(){return Object.keys(i)},n.resolve=o,t.exports=n,n.id="2c9d"},"305e":function(t,e,a){var i=a("62d8");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b6f6").default;n("7054bfc0",i,!0,{sourceMap:!1,shadowMode:!1})},"31e0":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("img",{attrs:{src:t.imgPath,width:"100%",alt:""}})},n=[],o=a("9ab4"),r=a("8bbf"),s=a.n(r),c=a("7f5d"),d=a("42a3"),l=a.n(d),u=a("9224");l.a.logger(u["a"]+" scenc");var f=s.a.extend({name:"mainImg",title:"首页背景图",icon:"",data(){return{imgPath:""}},components:{},watch:{},methods:{},created(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=yield c["a"].logAPi.db.systemDataDict.find({filter:{}}),e=t[0].hompicPath;this.imgPath=null==e?"/modules/@advertising-all/homepage/img/kejiguan.tif":e}))}}),p=f,h=a("6ffd"),m=Object(h["a"])(p,i,n,!1,null,null,null);e["default"]=m.exports},"42a3":function(e,a){e.exports=t},"48b4":function(t,e,a){var i=a("b5e3");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b6f6").default;n("fb95cc42",i,!0,{sourceMap:!1,shadowMode:!1})},"576d":function(t,e,a){"use strict";if(a.r(e),"undefined"!==typeof window){var i=window.document.currentScript,n=a("9e74");i=n(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:n});var o=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(a.p=o[1])}var r=a("9ab4"),s=a("8bbf"),c=a.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=a("9224"),f=a("42a3"),p=a.n(f);const h=p.a.logger(u["a"]+":main");p.a.project.loadVueDir(u["a"],a("2c9d"));const m={helloData:l};window[u["a"].replace(/[@\/-]/g,"_")]=m,h.info("created ...",u["a"].replace(/[@\/-]/g,"_"),window[u["a"].replace(/[@\/-]/g,"_")]);var v=m;e["default"]=v},"5f9b":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("7a39");e.Api={clearSysLog:i.HTTP(["user"],""),sysLog:i.HTTP(["user"],""),adminHello:i.HTTP(["user"],"admin")}},"62d8":function(t,e,a){var i=a("f98f");e=i(!1),e.push([t.i,".title[data-v-af6b643e]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}.body[data-v-af6b643e]{text-align:left;padding:10px;box-sizing:border-box}.pageStyle[data-v-af6b643e]{float:right;margin-top:5px}",""]),t.exports=e},"6ffd":function(t,e,a){"use strict";function i(t,e,a,i,n,o,r,s){var c,d="function"===typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=a,d._compiled=!0),i&&(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}}a.d(e,"a",(function(){return i}))},"72b1":function(t,e,a){"use strict";var i=a("1713"),n=a.n(i);n.a},"7a39":function(t,e,a){"use strict";function i(t){for(var a in t)e.hasOwnProperty(a)||(e[a]=t[a])}e.__esModule=!0,i(a("b8cb")),i(a("9099"))},"7f5d":function(t,e,a){"use strict";var i=a("42a3"),n=a.n(i),o=a("e0c3"),r=a.n(o);e["a"]={logAPi:n.a.project.loadApi(r.a)}},"860b":function(t){t.exports=JSON.parse('{"name":"@advertising-all/advertising-data-dict-api","version":"1.0.48","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"}}')},"8bbf":function(t,a){t.exports=e},"8cb2":function(t,e,a){"use strict";var i=a("dffd"),n=a.n(i);n.a},9099:function(t,e,a){"use strict";function i(t,e){var a=function(){throw new Error("INVALID HTTP API")},i=a;return i._sessions=t,i._actor=e,a}e.__esModule=!0,e.HTTP=i},9224:function(t){t.exports=JSON.parse('{"a":"@advertising-all/advertising-data-dict"}')},"99a9":function(t,e,a){"use strict";var i=a("48b4"),n=a.n(i);n.a},"9ab4":function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));function i(t,e,a,i){function n(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,o){function r(t){try{c(i.next(t))}catch(e){o(e)}}function s(t){try{c(i["throw"](t))}catch(e){o(e)}}function c(t){t.done?a(t.value):n(t.value).then(r,s)}c((i=i.apply(t,e||[])).next())}))}},"9e74":function(t,e,a){var i,n,o;(function(a,r){n=[],i=r,o="function"===typeof i?i.apply(e,n):i,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,a,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,n=/@([^@]*):(\d+):(\d+)\s*$/gi,o=i.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"),a=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()===a)return d[l]}return null}}return t}))},b437:function(t,e,a){"use strict";var i=a("305e"),n=a.n(i);n.a},b5e3:function(t,e,a){var i=a("f98f");e=i(!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,a){"use strict";function i(t,e){for(var a=[],i={},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};i[r]?i[r].parts.push(l):a.push(i[r]={id:r,parts:[l]})}return a}a.r(e),a.d(e,"default",(function(){return h}));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,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(t,e,a,n){d=a,u=n||{};var r=i(t,e);return m(r),function(e){for(var a=[],n=0;n<r.length;n++){var s=r[n],c=o[s.id];c.refs--,a.push(c)}e?(r=i(t,e),m(r)):r=[];for(n=0;n<a.length;n++){c=a[n];if(0===c.refs){for(var d=0;d<c.parts.length;d++)c.parts[d]();delete o[c.id]}}}}function m(t){for(var e=0;e<t.length;e++){var a=t[e],i=o[a.id];if(i){i.refs++;for(var n=0;n<i.parts.length;n++)i.parts[n](a.parts[n]);for(;n<a.parts.length;n++)i.parts.push(g(a.parts[n]));i.parts.length>a.parts.length&&(i.parts.length=a.parts.length)}else{var r=[];for(n=0;n<a.parts.length;n++)r.push(g(a.parts[n]));o[a.id]={id:a.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function g(t){var e,a,i=document.querySelector("style["+f+'~="'+t.id+'"]');if(i){if(d)return l;i.parentNode.removeChild(i)}if(p){var n=c++;i=s||(s=v()),e=y.bind(null,i,n,!1),a=y.bind(null,i,n,!0)}else i=v(),e=x.bind(null,i),a=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else a()}}var b=function(){var t=[];return function(e,a){return t[e]=a,t.filter(Boolean).join("\n")}}();function y(t,e,a,i){var n=a?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(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 a=e.css,i=e.media,n=e.sourceMap;if(i&&t.setAttribute("media",i),u.ssrId&&t.setAttribute(f,e.id),n&&(a+="\n/*# sourceURL="+n.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=a;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(a))}}},b8cb:function(t,e,a){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,a=1,i=arguments.length;a<i;a++)for(var n in e=arguments[a],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},i.apply(this,arguments)};e.__esModule=!0;var n=a("9099"),o=function(){function t(t,e){this.value=t,this.name=e}return t}();function r(t){for(var e=0,a=Object.keys(t);e<a.length;e++){var i=a[e];t[i].collName=i}return t}e.DbField=o,e.createDbSchemas=r;var s=function(){function t(t,e,a){this.collName="",this.docSchema={},this.indexSchema=e,this.collOptions=t,this.collOptions._extDb=a}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,a,i){var n=c(a,i),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,a,n){var o=c(a,n),r=i(i({},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,a,n){var o=c(a,n),r=i(i(i({},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 f(t,e,a,n){var o=c(a,n),r=i(i(i(i({},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=f},b8e1:function(t,e,a){"use strict";var i=a("07cf"),n=a.n(i);n.a},dc1e:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",[t._v(t._s(t.text))])},n=[],o=a("9ab4"),r=a("8bbf"),s=a.n(r),c=a("7f5d"),d=a("42a3"),l=a.n(d),u=a("9224");l.a.logger(u["a"]+" scenc");var f=s.a.extend({name:"mainText",title:"首页标题",icon:"",data(){return{text:""}},components:{},watch:{},methods:{},created(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=yield c["a"].logAPi.db.systemDataDict.find({filter:{}}),e=t[0].name;this.text=null==e?"广告管理系统":e}))}}),p=f,h=a("6ffd"),m=Object(h["a"])(p,i,n,!1,null,null,null);e["default"]=m.exports},dffd:function(t,e,a){var i=a("fe08");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b6f6").default;n("b9f17cf8",i,!0,{sourceMap:!1,shadowMode:!1})},e0c3:function(t,e,a){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,a=1,i=arguments.length;a<i;a++)for(var n in e=arguments[a],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var n=a("860b"),o=a("5f9b"),r=a("e91c"),s=a("13b2");e.default={pkg:{name:n.name,version:n.version,description:n.description},api:i({},o.Api),db:i({},r.DbApi),session:i({},s.sessions)};var c=a("ed9d");e.schemaLog=c.schemas},e893:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{padding:"10px","text-align":"left"}},[a("div",{staticStyle:{display:"flex","align-items":"flex-end","margin-bottom":"5px"}},[a("div",{staticStyle:{width:"50%","margin-left":"auto"}},[a("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"}},[a("span",{attrs:{slot:"prepend"},slot:"prepend"},[t._v("请输入检索内容")]),a("Button",{attrs:{slot:"append",icon:"ios-search"},on:{click:t.searchList},slot:"append"})],1)],1)]),a("div",[a("Table",{attrs:{border:"",stripe:"",columns:t.header,data:t.logList}}),a("Page",{attrs:{"page-size":t.limit,total:t.logNumber},on:{"on-change":t.pageChange}})],1)])},n=[],o=a("9ab4"),r=a("8bbf"),s=a.n(r),c=a("7f5d"),d=a("42a3"),l=a.n(d),u=a("9224");l.a.logger(u["a"]+" scenc");var f=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,a=t||this.skip,i={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:a,sort:i}}),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(),a=t.getMonth()+1,i=t.getDate(),n=t.getHours(),o=t.getMinutes();t.getSeconds();return e+"/"+this.formatTen(a)+"/"+this.formatTen(i)+" "+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()}))}}),p=f,h=(a("72b1"),a("6ffd")),m=Object(h["a"])(p,i,n,!1,null,"61449afe",null);e["default"]=m.exports},e91c:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("7a39"),n=a("ed9d");e.DbApi={dataDict:i.DB_CRUD(n.schemas.dataDict,{},[],""),systemDataDict:i.DB_CRUD(n.schemas.systemDataDict,{},[],""),sysLogs:i.DB_R(n.schemas.sysLogs,{},[],"")}},ed9d:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("7a39");e.schemas=i.createDbSchemas({dataDict:new i.DbSchema({},{}),systemDataDict:new i.DbSchema({},{}),sysLogs:new i.DbSchema({},{})})},f98f:function(t,e,a){"use strict";function i(t,e){var a=t[1]||"",i=t[3];if(!i)return a;if(e&&"function"===typeof btoa){var o=n(i),r=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[a].concat(r).concat([o]).join("\n")}return[a].join("\n")}function n(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(a," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var a=i(e,t);return e[2]?"@media ".concat(e[2]," {").concat(a,"}"):a})).join("")},e.i=function(t,a,i){"string"===typeof t&&(t=[[null,t,""]]);var n={};if(i)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]);i&&n[c[0]]||(a&&(c[2]?c[2]="".concat(a," and ").concat(c[2]):c[2]=a),e.push(c))}},e}},fe08:function(t,e,a){var i=a("f98f");e=i(!1),e.push([t.i,".title[data-v-72198185]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}.body[data-v-72198185]{text-align:left;padding:10px;box-sizing:border-box}.pageStyle[data-v-72198185]{float:right;margin-top:5px}",""]),t.exports=e}})}));
(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 a(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,a),n.l=!0,n.exports}return a.m=t,a.c=e,a.d=function(t,e,i){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)a.d(i,n,function(e){return t[e]}.bind(null,n));return i},a.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s="576d")}({"0484":function(t,e,a){var i=a("f98f");e=i(!1),e.push([t.i,".title[data-v-61449afe]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}",""]),t.exports=e},"07cf":function(t,e,a){var i=a("244b");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b6f6").default;n("038aefda",i,!0,{sourceMap:!1,shadowMode:!1})},"0fc3":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[a("h1",{staticStyle:{"text-align":"center","margin-bottom":"10px"}},[t._v("系统数据字典")]),a("div",{staticStyle:{"margin-top":"20px","margin-left":"25px"}},[t._v(" 系统显示名称: "),a("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"}}),a("Button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:t.modify}},[t._v("修改")])],1),a("div",{staticStyle:{"margin-top":"20px","margin-left":"25px"}},[t._v(" 系统菜单位置: "),a("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 a("Option",{key:e,attrs:{value:e}},[t._v(t._s(e))])})),1),a("Button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:t.updateMenuPosition}},[t._v("修改")])],1),a("div",{staticStyle:{"margin-top":"20px","margin-left":"25px"}},[t._v(" 广告系统域名: "),a("Input",{staticStyle:{width:"200px"},model:{value:t.dataDict.domain,callback:function(e){t.$set(t.dataDict,"domain",e)},expression:"dataDict.domain"}}),a("Button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary"},on:{click:t.saveDomain}},[t._v("修改")])],1),a("div",[a("addPicBut")],1)])},n=[],o=a("9ab4"),r=a("8bbf"),s=a.n(r),c=a("7f5d"),d=a("42a3"),l=a.n(d),u=a("9224"),f=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[a("div",[a("span",{staticStyle:{"margin-left":"1%"}},[t._v("系统登陆背景图:")]),a("Button",{staticStyle:{"margin-top":"10px"},attrs:{type:"primary"},on:{click:t.addDict}},[t._v("修改")]),a("Button",{staticStyle:{"margin-top":"10px","margin-left":"20px"},attrs:{type:"primary"},on:{click:t.preview}},[t._v("预览")]),a("Modal",{attrs:{width:"360"},model:{value:t.showModaladd,callback:function(e){t.showModaladd=e},expression:"showModaladd"}},[a("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t._v("图片信息")]),a("div",{staticStyle:{"text-align":"center"}},[a("Form",{ref:"",attrs:{"label-width":90}},[a("FormItem",{attrs:{label:"图片上传"}},[a("localUpload",{ref:"upload",on:{success:t.uploadSuccess}})],1)],1)],1),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"text"},on:{click:t.cancelModal}},[t._v("取消")]),a("Button",{attrs:{type:"primary"},on:{click:t.addModal}},[t._v("确认")])],1)]),a("Modal",{model:{value:t.modalPic,callback:function(e){t.modalPic=e},expression:"modalPic"}},[a("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t._v("图片信息")]),a("img",{staticStyle:{"margin-left":"20%",height:"180px",width:"320px"},attrs:{src:t.loginPic,alt:""}}),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"primary"},on:{click:t.ok}},[t._v("确认")])],1)])],1),a("div",[a("span",{staticStyle:{"margin-left":"1%"}},[t._v("系统首页背景图:")]),a("Button",{staticStyle:{"margin-top":"10px"},attrs:{type:"primary"},on:{click:t.addHome}},[t._v("修改")]),a("Button",{staticStyle:{"margin-top":"10px","margin-left":"20px"},attrs:{type:"primary"},on:{click:t.previewHomePic}},[t._v("预览")]),a("Modal",{attrs:{width:"360"},model:{value:t.showModalPicadd,callback:function(e){t.showModalPicadd=e},expression:"showModalPicadd"}},[a("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t._v("图片信息")]),a("div",{staticStyle:{"text-align":"center"}},[a("Form",{ref:"",attrs:{"label-width":90}},[a("FormItem",{attrs:{label:"图片上传"}},[a("localUpload",{ref:"upload",on:{success:t.uploadSuccessAll}})],1)],1)],1),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"text"},on:{click:t.cancelModal}},[t._v("取消")]),a("Button",{attrs:{type:"primary"},on:{click:t.addSureModal}},[t._v("确认")])],1)]),a("Modal",{model:{value:t.modalHomePic,callback:function(e){t.modalHomePic=e},expression:"modalHomePic"}},[a("p",{staticStyle:{color:"#f60","text-align":"center"},attrs:{slot:"header"},slot:"header"},[t._v("图片信息")]),a("img",{staticStyle:{"margin-left":"20%",height:"180px",width:"320px"},attrs:{src:t.homePic,alt:""}}),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"primary"},on:{click:t.ok}},[t._v("确认")])],1)])],1)])},p=[];l.a.logger(u["a"]+" scenc");var h=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()}}),m=h,v=(a("99a9"),a("6ffd")),g=Object(v["a"])(m,f,p,!1,null,"731d0204",null),b=g.exports;l.a.logger(u["a"]+" scenc");var y=s.a.extend({name:"dataDict",title:"系统信息字典",icon:"",type:"page",data(){return{dataDict:{}}},computed:{},components:{addPicBut:b},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:"系统域名修改失败,请稍后重试!"})}))},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,_=(a("937a"),Object(v["a"])(x,i,n,!1,null,"5338d4ee",null));e["default"]=_.exports},"13b2":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sessions={res:{client:{},server:{}}}},1713:function(t,e,a){var i=a("0484");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b6f6").default;n("8f496f0e",i,!0,{sourceMap:!1,shadowMode:!1})},"1d15":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[a("h2",{staticStyle:{"text-align":"center"}},[t._v("业务数据字典")]),a("defaultAdvertisingImg")],1)},n=[],o=a("9ab4"),r=a("8bbf"),s=a.n(r),c=a("42a3"),d=a.n(c),l=a("9224"),u=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"body",staticStyle:{padding:"10px","text-align":"left"}},[a("div",[a("span",{staticStyle:{display:"inline-block",width:"120px","text-align":"center"}},[t._v("缺省广告图片:")]),a("Button",{staticStyle:{"margin-right":"20px"},attrs:{type:"primary"},on:{click:t.editImg}},[t._v("修改")]),a("Button",{attrs:{type:"primary"},on:{click:t.viewDefaultImg}},[t._v("预览")])],1),a("Modal",{attrs:{title:"图片信息"},model:{value:t.showImgModal,callback:function(e){t.showImgModal=e},expression:"showImgModal"}},[t.isEdit?a("div",[a("localUpload",{ref:"upload",on:{success:t.uploadSuccessAll}})],1):t._e(),t.isEdit?t._e():a("div",[a("img",{staticStyle:{display:"block",margin:"0 auto",height:"180px",width:"320px"},attrs:{src:t.defaultObj.defaultAdvertisingImg,alt:""}})]),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"primary"},on:{click:t.confirmModal}},[t._v("确认")])],1)])],1)},f=[],p=a("7f5d");d.a.logger(l["a"]+" scenc");var h=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 p["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 p["a"].logAPi.db.dataDict.find({filter:{}});t.length>0&&(this.defaultObj=t[0])}))}}),m=h,v=(a("b8e1"),a("6ffd")),g=Object(v["a"])(m,u,f,!1,null,"4e62adcc",null),b=g.exports;d.a.logger(l["a"]+" scenc");var y=s.a.extend({name:"dataDictMessage",title:"业务数据字典",icon:"",type:"page",data(){return{}},components:{defaultAdvertisingImg:b},watch:{},methods:{},created(){return Object(o["a"])(this,void 0,void 0,(function*(){}))}}),x=y,_=(a("b437"),Object(v["a"])(x,i,n,!1,null,"af6b643e",null));e["default"]=_.exports},"1d8e":function(t,e,a){var i=a("d1e3");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b6f6").default;n("1e613cca",i,!0,{sourceMap:!1,shadowMode:!1})},"244b":function(t,e,a){var i=a("f98f");e=i(!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},"2c9d":function(t,e,a){var i={"./dataDict.vue":"0fc3","./dataDictMessage.vue":"1d15","./logs.vue":"e893","./mainImg.vue":"31e0","./mainText.vue":"dc1e"};function n(t){var e=o(t);return a(e)}function o(t){if(!a.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}n.keys=function(){return Object.keys(i)},n.resolve=o,t.exports=n,n.id="2c9d"},"305e":function(t,e,a){var i=a("62d8");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b6f6").default;n("7054bfc0",i,!0,{sourceMap:!1,shadowMode:!1})},"31e0":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("img",{attrs:{src:t.imgPath,width:"100%",alt:""}})},n=[],o=a("9ab4"),r=a("8bbf"),s=a.n(r),c=a("7f5d"),d=a("42a3"),l=a.n(d),u=a("9224");l.a.logger(u["a"]+" scenc");var f=s.a.extend({name:"mainImg",title:"首页背景图",icon:"",data(){return{imgPath:""}},components:{},watch:{},methods:{},created(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=yield c["a"].logAPi.db.systemDataDict.find({filter:{}}),e=t[0].hompicPath;this.imgPath=null==e?"/modules/@advertising-all/homepage/img/kejiguan.tif":e}))}}),p=f,h=a("6ffd"),m=Object(h["a"])(p,i,n,!1,null,null,null);e["default"]=m.exports},"42a3":function(e,a){e.exports=t},"48b4":function(t,e,a){var i=a("b5e3");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b6f6").default;n("fb95cc42",i,!0,{sourceMap:!1,shadowMode:!1})},"576d":function(t,e,a){"use strict";if(a.r(e),"undefined"!==typeof window){var i=window.document.currentScript,n=a("9e74");i=n(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:n});var o=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(a.p=o[1])}var r=a("9ab4"),s=a("8bbf"),c=a.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=a("9224"),f=a("42a3"),p=a.n(f);const h=p.a.logger(u["a"]+":main");p.a.project.loadVueDir(u["a"],a("2c9d"));const m={helloData:l};window[u["a"].replace(/[@\/-]/g,"_")]=m,h.info("created ...",u["a"].replace(/[@\/-]/g,"_"),window[u["a"].replace(/[@\/-]/g,"_")]);var v=m;e["default"]=v},"5f9b":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("7a39");e.Api={clearSysLog:i.HTTP(["user"],""),sysLog:i.HTTP(["user"],""),adminHello:i.HTTP(["user"],"admin")}},"62d8":function(t,e,a){var i=a("f98f");e=i(!1),e.push([t.i,".title[data-v-af6b643e]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}.body[data-v-af6b643e]{text-align:left;padding:10px;box-sizing:border-box}.pageStyle[data-v-af6b643e]{float:right;margin-top:5px}",""]),t.exports=e},"6ffd":function(t,e,a){"use strict";function i(t,e,a,i,n,o,r,s){var c,d="function"===typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=a,d._compiled=!0),i&&(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}}a.d(e,"a",(function(){return i}))},"72b1":function(t,e,a){"use strict";var i=a("1713"),n=a.n(i);n.a},"7a39":function(t,e,a){"use strict";function i(t){for(var a in t)e.hasOwnProperty(a)||(e[a]=t[a])}e.__esModule=!0,i(a("b8cb")),i(a("9099"))},"7f5d":function(t,e,a){"use strict";var i=a("42a3"),n=a.n(i),o=a("e0c3"),r=a.n(o);e["a"]={logAPi:n.a.project.loadApi(r.a)}},"860b":function(t){t.exports=JSON.parse('{"name":"@advertising-all/advertising-data-dict-api","version":"1.0.50","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"}}')},"8bbf":function(t,a){t.exports=e},9099:function(t,e,a){"use strict";function i(t,e){var a=function(){throw new Error("INVALID HTTP API")},i=a;return i._sessions=t,i._actor=e,a}e.__esModule=!0,e.HTTP=i},9224:function(t){t.exports=JSON.parse('{"a":"@advertising-all/advertising-data-dict"}')},"937a":function(t,e,a){"use strict";var i=a("1d8e"),n=a.n(i);n.a},"99a9":function(t,e,a){"use strict";var i=a("48b4"),n=a.n(i);n.a},"9ab4":function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));function i(t,e,a,i){function n(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,o){function r(t){try{c(i.next(t))}catch(e){o(e)}}function s(t){try{c(i["throw"](t))}catch(e){o(e)}}function c(t){t.done?a(t.value):n(t.value).then(r,s)}c((i=i.apply(t,e||[])).next())}))}},"9e74":function(t,e,a){var i,n,o;(function(a,r){n=[],i=r,o="function"===typeof i?i.apply(e,n):i,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,a,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,n=/@([^@]*):(\d+):(\d+)\s*$/gi,o=i.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"),a=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()===a)return d[l]}return null}}return t}))},b437:function(t,e,a){"use strict";var i=a("305e"),n=a.n(i);n.a},b5e3:function(t,e,a){var i=a("f98f");e=i(!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,a){"use strict";function i(t,e){for(var a=[],i={},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};i[r]?i[r].parts.push(l):a.push(i[r]={id:r,parts:[l]})}return a}a.r(e),a.d(e,"default",(function(){return h}));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,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(t,e,a,n){d=a,u=n||{};var r=i(t,e);return m(r),function(e){for(var a=[],n=0;n<r.length;n++){var s=r[n],c=o[s.id];c.refs--,a.push(c)}e?(r=i(t,e),m(r)):r=[];for(n=0;n<a.length;n++){c=a[n];if(0===c.refs){for(var d=0;d<c.parts.length;d++)c.parts[d]();delete o[c.id]}}}}function m(t){for(var e=0;e<t.length;e++){var a=t[e],i=o[a.id];if(i){i.refs++;for(var n=0;n<i.parts.length;n++)i.parts[n](a.parts[n]);for(;n<a.parts.length;n++)i.parts.push(g(a.parts[n]));i.parts.length>a.parts.length&&(i.parts.length=a.parts.length)}else{var r=[];for(n=0;n<a.parts.length;n++)r.push(g(a.parts[n]));o[a.id]={id:a.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function g(t){var e,a,i=document.querySelector("style["+f+'~="'+t.id+'"]');if(i){if(d)return l;i.parentNode.removeChild(i)}if(p){var n=c++;i=s||(s=v()),e=y.bind(null,i,n,!1),a=y.bind(null,i,n,!0)}else i=v(),e=x.bind(null,i),a=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else a()}}var b=function(){var t=[];return function(e,a){return t[e]=a,t.filter(Boolean).join("\n")}}();function y(t,e,a,i){var n=a?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(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 a=e.css,i=e.media,n=e.sourceMap;if(i&&t.setAttribute("media",i),u.ssrId&&t.setAttribute(f,e.id),n&&(a+="\n/*# sourceURL="+n.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=a;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(a))}}},b8cb:function(t,e,a){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,a=1,i=arguments.length;a<i;a++)for(var n in e=arguments[a],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},i.apply(this,arguments)};e.__esModule=!0;var n=a("9099"),o=function(){function t(t,e){this.value=t,this.name=e}return t}();function r(t){for(var e=0,a=Object.keys(t);e<a.length;e++){var i=a[e];t[i].collName=i}return t}e.DbField=o,e.createDbSchemas=r;var s=function(){function t(t,e,a){this.collName="",this.docSchema={},this.indexSchema=e,this.collOptions=t,this.collOptions._extDb=a}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,a,i){var n=c(a,i),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,a,n){var o=c(a,n),r=i(i({},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,a,n){var o=c(a,n),r=i(i(i({},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 f(t,e,a,n){var o=c(a,n),r=i(i(i(i({},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=f},b8e1:function(t,e,a){"use strict";var i=a("07cf"),n=a.n(i);n.a},d1e3:function(t,e,a){var i=a("f98f");e=i(!1),e.push([t.i,".title[data-v-5338d4ee]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px}.body[data-v-5338d4ee]{text-align:left;padding:10px;box-sizing:border-box}.pageStyle[data-v-5338d4ee]{float:right;margin-top:5px}",""]),t.exports=e},dc1e:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",[t._v(t._s(t.text))])},n=[],o=a("9ab4"),r=a("8bbf"),s=a.n(r),c=a("7f5d"),d=a("42a3"),l=a.n(d),u=a("9224");l.a.logger(u["a"]+" scenc");var f=s.a.extend({name:"mainText",title:"首页标题",icon:"",data(){return{text:""}},components:{},watch:{},methods:{},created(){return Object(o["a"])(this,void 0,void 0,(function*(){const t=yield c["a"].logAPi.db.systemDataDict.find({filter:{}}),e=t[0].name;this.text=null==e?"广告管理系统":e}))}}),p=f,h=a("6ffd"),m=Object(h["a"])(p,i,n,!1,null,null,null);e["default"]=m.exports},e0c3:function(t,e,a){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,a=1,i=arguments.length;a<i;a++)for(var n in e=arguments[a],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var n=a("860b"),o=a("5f9b"),r=a("e91c"),s=a("13b2");e.default={pkg:{name:n.name,version:n.version,description:n.description},api:i({},o.Api),db:i({},r.DbApi),session:i({},s.sessions)};var c=a("ed9d");e.schemaLog=c.schemas},e893:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{padding:"10px","text-align":"left"}},[a("div",{staticStyle:{display:"flex","align-items":"flex-end","margin-bottom":"5px"}},[a("div",{staticStyle:{width:"50%","margin-left":"auto"}},[a("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"}},[a("span",{attrs:{slot:"prepend"},slot:"prepend"},[t._v("请输入检索内容")]),a("Button",{attrs:{slot:"append",icon:"ios-search"},on:{click:t.searchList},slot:"append"})],1)],1)]),a("div",[a("Table",{attrs:{border:"",stripe:"",columns:t.header,data:t.logList}}),a("Page",{attrs:{"page-size":t.limit,total:t.logNumber},on:{"on-change":t.pageChange}})],1)])},n=[],o=a("9ab4"),r=a("8bbf"),s=a.n(r),c=a("7f5d"),d=a("42a3"),l=a.n(d),u=a("9224");l.a.logger(u["a"]+" scenc");var f=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,a=t||this.skip,i={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:a,sort:i}}),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(),a=t.getMonth()+1,i=t.getDate(),n=t.getHours(),o=t.getMinutes();t.getSeconds();return e+"/"+this.formatTen(a)+"/"+this.formatTen(i)+" "+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()}))}}),p=f,h=(a("72b1"),a("6ffd")),m=Object(h["a"])(p,i,n,!1,null,"61449afe",null);e["default"]=m.exports},e91c:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("7a39"),n=a("ed9d");e.DbApi={dataDict:i.DB_CRUD(n.schemas.dataDict,{},[],""),systemDataDict:i.DB_CRUD(n.schemas.systemDataDict,{},[],""),sysLogs:i.DB_R(n.schemas.sysLogs,{},[],"")}},ed9d:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("7a39");e.schemas=i.createDbSchemas({dataDict:new i.DbSchema({},{}),systemDataDict:new i.DbSchema({},{}),sysLogs:new i.DbSchema({},{})})},f98f:function(t,e,a){"use strict";function i(t,e){var a=t[1]||"",i=t[3];if(!i)return a;if(e&&"function"===typeof btoa){var o=n(i),r=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[a].concat(r).concat([o]).join("\n")}return[a].join("\n")}function n(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(a," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var a=i(e,t);return e[2]?"@media ".concat(e[2]," {").concat(a,"}"):a})).join("")},e.i=function(t,a,i){"string"===typeof t&&(t=[[null,t,""]]);var n={};if(i)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]);i&&n[c[0]]||(a&&(c[2]?c[2]="".concat(a," and ").concat(c[2]):c[2]=a),e.push(c))}},e}}})}));
{
"name": "@advertising-all/advertising-data-dict",
"version": "1.0.75",
"version": "1.0.76",
"description": "系统设置",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -15,2 +15,3 @@ import { DbSchema } from '@vmm/api';

domain: string | null;
menuPosition: '垂直菜单' | '横向菜单';
}

@@ -17,0 +18,0 @@ export interface ISysLogs {

import Vue from 'vue';
declare const _default: import("vue/types/vue").ExtendedVue<Vue, {
dataDict: any;
contentList: {
title: string;
value: string;
type: string;
}[];
disabledDomain: boolean;
btnText: string;
disabled: boolean;
}, {
saveDomain(): void;
modify(): void;
saveName(): void;
updateMenuPosition(): Promise<void>;
saveDomain(): Promise<void>;
saveName(): Promise<void>;
initdata(): Promise<void>;
}, unknown, Record<never, any>>;
export default _default;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc