YM-WMS-WCS/dist/js/chunk-dfd6eb0c.9ec437c9.js

1 line
2.6 KiB
JavaScript
Raw Normal View History

2023-04-14 15:56:50 +08:00
(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)])},i=[],s=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:[s["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,i,!1,null,null,null);a["default"]=c.exports},fc23:function(t,a,e){"use strict";var o=e("12cb"),i={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")}};a["a"]=function(t){return function(a){var e;return null===i||void 0===i||null===(e=i[t])||void 0===e?void 0:e[a]}}}}]);