(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d2217f3"],{cb31:function(e,t,l){"use strict";l.r(t);var r=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"app-container"},[l("el-table",{staticClass:"param-table",attrs:{data:e.rows,border:"","highlight-current-row":"","cell-style":e.cellStyleSmall(),"header-cell-style":e.headCellStyleSmall()}},[l("el-table-column",{attrs:{prop:"dbType",label:"数据库类型",width:"200"}}),e._v(" "),l("el-table-column",{attrs:{prop:"baseType",label:"基本类型",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-form",{ref:"form_description_"+t.row.id,attrs:{model:t.row,rules:e.paramRowRule,size:"mini"},nativeOn:{submit:function(e){e.preventDefault()}}},[l("el-form-item",{attrs:{prop:"baseType","label-width":"0"}},[l("el-input",{attrs:{placeholder:"基本类型",size:"mini",maxlength:"20","show-word-limit":""},model:{value:t.row.baseType,callback:function(l){e.$set(t.row,"baseType",l)},expression:"scope.row.baseType"}})],1)],1)]}}])}),e._v(" "),l("el-table-column",{attrs:{prop:"boxType",label:"装箱类型",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-form",{ref:"form_description_"+t.row.id,attrs:{model:t.row,rules:e.paramRowRule,size:"mini"},nativeOn:{submit:function(e){e.preventDefault()}}},[l("el-form-item",{attrs:{prop:"boxType","label-width":"0"}},[l("el-input",{attrs:{placeholder:"装箱类型",size:"mini",maxlength:"20","show-word-limit":""},model:{value:t.row.boxType,callback:function(l){e.$set(t.row,"boxType",l)},expression:"scope.row.boxType"}})],1)],1)]}}])})],1),e._v(" "),l("el-button",{staticStyle:{"margin-top":"20px"},attrs:{type:"primary"},on:{click:e.onSave}},[e._v("保存")])],1)},a=[],o={data:function(){return{rows:[],paramRowRule:{baseType:[{required:!0,message:"不能为空",trigger:["blur"]}],boxType:[{required:!0,message:"不能为空",trigger:["blur"]}]}}},created:function(){this.loadTable()},methods:{loadTable:function(){var e=this;this.post("/type/list",{},(function(t){e.rows=t.data}))},onSave:function(){var e=this;this.post("/type/update",this.rows,(function(){e.tip("保存成功")}))}}},i=o,s=l("2877"),n=Object(s["a"])(i,r,a,!1,null,null,null);t["default"]=n.exports}}]);