2 lines
24 KiB
JavaScript
2 lines
24 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-66208b2c"],{"084b":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-container"},[r("div",{staticClass:"decorate"}),r("div",{staticClass:"filter-container"},[r("el-cascader",{staticClass:"filter-item",attrs:{"show-all-levels":!1,placeholder:e.$t("listQuery.deptId"),options:e.deptIdList,props:{checkStrictly:!0,emitPath:!1,props:{}},clearable:""},on:{change:e.handleFilter},model:{value:e.listQuery.deptId,callback:function(t){e.$set(e.listQuery,"deptId",t)},expression:"listQuery.deptId"}}),r("el-input",{staticClass:"filter-item",attrs:{placeholder:e.$t("user.userName")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleFilter.apply(null,arguments)}},model:{value:e.listQuery.userName,callback:function(t){e.$set(e.listQuery,"userName",t)},expression:"listQuery.userName"}}),r("el-input",{staticClass:"filter-item",attrs:{placeholder:e.$t("user.nickName")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleFilter.apply(null,arguments)}},model:{value:e.listQuery.nickName,callback:function(t){e.$set(e.listQuery,"nickName",t)},expression:"listQuery.nickName"}}),r("el-input",{staticClass:"filter-item",attrs:{placeholder:e.$t("user.phone")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleFilter.apply(null,arguments)}},model:{value:e.listQuery.phone,callback:function(t){e.$set(e.listQuery,"phone",t)},expression:"listQuery.phone"}}),r("span",{staticClass:"btn-item",on:{click:e.handleFilter}},[r("i",{staticClass:"iconfont icon-sousuo"}),e._v(e._s(e.$t("btn.search")))]),r("span",{staticClass:"btn-item",on:{click:e.clearListQuery}},[r("i",{staticClass:"el-icon-refresh-left"}),e._v(" "+e._s(e.$t("btn.resetting")))]),r("div",{staticClass:"control-container"},[r("span",{staticClass:"btn-item",on:{click:function(t){return e.handleCreate()}}},[r("i",{staticClass:"iconfont icon-a-"}),e._v(e._s(e.$t("btn.add")))]),r("span",{staticClass:"btn-item delete",on:{click:e.deleteList}},[r("i",{staticClass:"iconfont icon-shanchu"}),e._v(e._s(e.$t("btn.delete")))])])],1),r("div",{staticClass:"table-container"},[r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"table",attrs:{data:e.list,fit:"","max-height":"580","highlight-current-row":"","header-row-class-name":"table-header","row-class-name":"table-row"}},[r("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),r("el-table-column",{attrs:{property:"userName",align:"left",label:e.$t("user.userName")}}),r("el-table-column",{attrs:{property:"nickName",align:"left",label:e.$t("user.nickName")}}),r("el-table-column",{attrs:{property:"phone",align:"left",label:e.$t("user.phone")}}),r("el-table-column",{attrs:{property:"roleName",align:"left",label:e.$t("user.roleName")}}),r("el-table-column",{attrs:{property:"userType",align:"left",label:e.$t("user.userType")},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.userType?r("span",[e._v(e._s(e.$t("user.admin")))]):1==t.row.userType?r("span",[e._v(e._s(e.$t("user.superAdmin")))]):e._e()]}}])}),r("el-table-column",{attrs:{property:"remark",align:"left",label:e.$t("user.remark")}}),r("el-table-column",{attrs:{label:e.$t("table.operate"),width:"220",align:"left"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("span",{staticClass:"btnCancel",attrs:{title:e.$t("table.update")},on:{click:function(r){return e.handleUpdate(t)}}},[r("i",{staticClass:"iconfont icon-bianji"}),e._v(e._s(e.$t("table.update")))]),r("span",{staticClass:"btnCancel delete",attrs:{title:e.$t("table.delete")},on:{click:function(r){return e.handleDelete(t)}}},[r("i",{staticClass:"iconfont icon-a--"}),e._v(e._s(e.$t("table.delete")))])]}}])})],1),r("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total > 0"}],attrs:{total:e.total,page
|
||
|
//# sourceMappingURL=chunk-66208b2c.8b119ccf.js.map
|