1 line
2.7 KiB
JavaScript
1 line
2.7 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-dfd6eb0c"],{"8c57":function(t,a,e){"use strict";e.r(a);var o=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("el-card",{staticClass:"aui-card--fill",attrs:{shadow:"never"}},[e("div",{staticClass:"mod-sys__user"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{"table-props":t.tableProps,page:t.listQuery.page,limit:t.listQuery.limit,"table-data":t.tableData}}),e("pagination",{attrs:{limit:t.listQuery.limit,page:t.listQuery.page,total:t.listQuery.total},on:{"update:limit":function(a){return t.$set(t.listQuery,"limit",a)},"update:page":function(a){return t.$set(t.listQuery,"page",a)},pagination:t.getDataList}})],1)])},s=[],i=e("ed26"),l=e("12cb"),r=e("fc23"),n=[{prop:"creatorName",label:l["a"].t("logLogin.creatorName")},{prop:"operation",label:l["a"].t("logLogin.operation"),filter:Object(r["a"])("logOperation")},{prop:"status",label:l["a"].t("logLogin.status"),filter:Object(r["a"])("logStatus")},{prop:"ip",label:l["a"].t("logLogin.ip")},{prop:"userAgent",label:l["a"].t("logLogin.userAgent")},{prop:"createDate",label:l["a"].t("logLogin.createDate")}],u={mixins:[i["a"]],data:function(){return{urlOptions:{getDataListURL:"/sys/log/login/page",deleteURL:"/sys/log/login",exportUrl:"/sys/log/login/export"},tableProps:n,formConfig:[{type:"input",label:l["a"].t("logLogin.creatorName"),placeholder:l["a"].t("logLogin.creatorName"),param:"creatorName"},{type:"select",label:"状态",selectOptions:[{id:"0",name:l["a"].t("logLogin.status0")},{id:"1",name:l["a"].t("logLogin.status1")},{id:"2",name:l["a"].t("logLogin.status2")}],param:"status",defaultSelect:"",onchange:!0,width:200},{type:"button",btnName:"查询",name:"search",color:"primary"}]}},components:{},methods:{buttonClick:function(t){switch(t.btnName){case"search":this.listQuery.creatorName=t.creatorName,this.listQuery.status=t.status,this.listQuery.page=1,this.getDataList();break;case"add":this.addOrEditTitle="新增",this.addOrUpdateVisible=!0,this.addOrUpdateHandle();break;default:console.log(t)}}}},g=u,p=e("2877"),c=Object(p["a"])(g,o,s,!1,null,null,null);a["default"]=c.exports},fc23:function(t,a,e){"use strict";var o=e("12cb"),s={sex:{0:"男",1:"女"},userStatus:{0:o["a"].t("user.status0"),1:o["a"].t("user.status1")},menuType:{0:o["a"].t("menu.type0"),1:o["a"].t("menu.type1")},logOperation:{0:o["a"].t("logLogin.operation0"),1:o["a"].t("logLogin.operation1")},logStatus:{0:o["a"].t("logLogin.status0"),1:o["a"].t("logLogin.status1")},scheduleStatus:{0:o["a"].t("schedule.status0"),1:o["a"].t("schedule.status1")}};a["a"]=function(t){return function(a){var e;return null===s||void 0===s||null===(e=s[t])||void 0===e?void 0:e[a]}}}}]);
|