1 line
9.9 KiB
JavaScript
1 line
9.9 KiB
JavaScript
![]() |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-20f561bd"],{5788:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"system-post"},[s("el-card",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],staticClass:"search-card"},[s("el-form",{ref:"queryForm",staticClass:"search-form",attrs:{model:t.queryParams,inline:!0,"label-width":"68px"},nativeOn:{submit:function(t){t.preventDefault()}}},[s("el-form-item",{attrs:{prop:"postCode"}},[s("el-input",{attrs:{placeholder:t.$t("system.post.236590-1"),clearable:""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.postCode,callback:function(e){t.$set(t.queryParams,"postCode",e)},expression:"queryParams.postCode"}})],1),s("el-form-item",{attrs:{prop:"postName"}},[s("el-input",{attrs:{placeholder:t.$t("system.post.236590-3"),clearable:""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.queryParams.postName,callback:function(e){t.$set(t.queryParams,"postName",e)},expression:"queryParams.postName"}})],1),s("el-form-item",{attrs:{prop:"status"}},[s("el-select",{attrs:{placeholder:t.$t("system.post.236590-4"),clearable:""},model:{value:t.queryParams.status,callback:function(e){t.$set(t.queryParams,"status",e)},expression:"queryParams.status"}},t._l(t.dict.type.sys_normal_disable,(function(t){return s("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),s("div",{staticStyle:{float:"right"}},[s("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.handleQuery}},[t._v(t._s(t.$t("search")))]),s("el-button",{attrs:{icon:"el-icon-refresh"},on:{click:t.resetQuery}},[t._v(t._s(t.$t("reset")))])],1)],1)],1),s("el-card",[s("el-row",{staticStyle:{"margin-bottom":"16px"},attrs:{gutter:10}},[s("el-col",{attrs:{span:1.5}},[s("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:post:add"],expression:"['system:post:add']"}],attrs:{type:"primary",plain:"",icon:"el-icon-plus",size:"small"},on:{click:t.handleAdd}},[t._v(t._s(t.$t("add")))])],1),s("el-col",{attrs:{span:1.5}},[s("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:post:edit"],expression:"['system:post:edit']"}],attrs:{plain:"",icon:"el-icon-edit",size:"small",disabled:t.single},on:{click:t.handleUpdate}},[t._v(t._s(t.$t("update")))])],1),s("el-col",{attrs:{span:1.5}},[s("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:post:remove"],expression:"['system:post:remove']"}],attrs:{plain:"",icon:"el-icon-delete",size:"small",disabled:t.multiple},on:{click:t.handleDelete}},[t._v(t._s(t.$t("del")))])],1),s("el-col",{attrs:{span:1.5}},[s("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:post:export"],expression:"['system:post:export']"}],attrs:{plain:"",icon:"el-icon-download",size:"small"},on:{click:t.handleExport}},[t._v(t._s(t.$t("export")))])],1),s("right-toolbar",{attrs:{showSearch:t.showSearch},on:{"update:showSearch":function(e){t.showSearch=e},"update:show-search":function(e){t.showSearch=e},queryTable:t.getList}})],1),s("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.postList,border:!1},on:{"selection-change":t.handleSelectionChange}},[s("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),s("el-table-column",{attrs:{label:t.$t("system.post.236590-5"),align:"center",prop:"postId","min-width":"90"}}),s("el-table-column",{attrs:{label:t.$t("system.post.236590-0"),align:"left",prop:"postCode","min-width":"200"}}),s("el-table-column",{attrs:{label:t.$t("system.post.236590-2"),align:"left",prop:"postName","min-width":"200"}}),s("el-table-column",{attrs:{label:t.$t("system.post.236590-6"),align:"center",prop:"postSort",width:"80"}}),s("el-table-column",{attrs:{label:t.$t("status"),align:"center",prop:"status",
|