1 line
27 KiB
JavaScript
1 line
27 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0bfb745f"],{"1d42":function(e,t,n){e.exports={dialog:"add-dialog_dialog_19c-6",input:"add-dialog_input_3zaRq",select:"add-dialog_select_3aPry"}},"1d59":function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.container},[n("SearchBar",{attrs:{"lable-name":e.$t("module.art.key"),placeholder:e.$t("module.art.artName")+e.$t("module.art.or")+e.$t("module.art.artCode")},on:{"on-search":e.handleSearch}},[n("el-button",{attrs:{type:"success",icon:"el-icon-plus"},on:{click:function(t){return e.handleAdd()}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.add"))+"\n ")])],1),e._v(" "),n("el-table",{class:e.$style.table,attrs:{data:e.tableDataList,stripe:!0,"header-cell-style":{background:"#eef1f6",color:"#606266",height:"56px",textAlign:"center"},"cell-style":{textAlign:"center"},size:"medium"}},[n("el-table-column",{attrs:{prop:"index",label:e._f("i18nFilter")("tableHeader.index"),width:"80"}}),e._v(" "),n("el-table-column",{attrs:{prop:"name",label:e.$t("module.art.artName"),width:"180"}}),e._v(" "),n("el-table-column",{attrs:{label:e.$t("module.art.status"),width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s("1"===t.row.enabled?e.$t("module.art.on"):e.$t("module.art.off"))+"\n ")]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"createTime",label:e.$t("module.art.createTime"),width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.createTime).format("YYYY-MM-DD HH:mm:ss"))+"\n ")]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"code",label:e.$t("module.art.artCode"),width:"180"}}),e._v(" "),n("el-table-column",{attrs:{prop:"remark",label:e.$t("module.art.remark")}}),e._v(" "),n("el-table-column",{attrs:{prop:"description",label:e.$t("module.art.description")}}),e._v(" "),n("el-table-column",{attrs:{label:e.$t("module.art.process")},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(n){return e.handleProcessFlowDetail(t.row.id)}}},[e._v(e._s(e._f("i18nFilter")("btn.detail")))])]}}])}),e._v(" "),n("el-table-column",{attrs:{label:e.$t("module.art.operation"),width:"280"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{size:"mini",type:"info",icon:"el-icon-edit"},on:{click:function(n){return e.handleEdit(t.row.id)}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.edit"))+"\n ")]),e._v(" "),n("span",{staticStyle:{margin:"0 3px"}},[e._v("|")]),e._v(" "),n("el-button",{attrs:{type:"danger",size:"mini",icon:"el-icon-delete"},on:{click:function(n){return e.handleDelete(t.row.id)}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.delete"))+"\n ")])]}}])}),e._v(" "),n("el-table-column",{attrs:{label:e.$t("module.art.IsDisabled")},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949"},on:{change:function(n){return e.handleChange(n,t.row.id)}},model:{value:t.row.isValid,callback:function(n){e.$set(t.row,"isValid",n)},expression:"scope.row.isValid"}})]}}])})],1),e._v(" "),n("el-pagination",{class:e.$style.table,attrs:{background:"","hide-on-single-page":!1,"current-page":e.page.current,"page-sizes":[10,20,30,40],"page-size":e.page.size,layout:"total, sizes, prev, pager, next",total:e.page.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}),e._v(" "),e.addDialogVisible?n("AddDialog",{class:e.$style.dialog,attrs:{id:e.id,visible:e.addDialogVisible},on:{"on-close":function(t){e.addDialogVisible=!1},"on-success":function(t){return e.handleAddSuccess()}}}):e._e(),e._v(" "),n("ProcessDrawer",{class:e.$style.dialog,attrs:{visible:e.processDrawerVisible,"process-flow-id":e.id},on:{"on-close":function(t){e.processDrawerVisible=!1}}})],1)},a=[],i=(n("96cf"),n("1da1")),r=n("5530"),l=n("6b47"),o=n.n(l),c=n("14b1"),u=n.n(c),d=n("c1df"),p=n.n(d),f=n("e242"),m=function(){var e=this,t=e.$createE
|