You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
1.5 KiB
1 lines
1.5 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2d0bd1d7"],{"2b2c":function(t,e,n){"use strict";n.r(e);var a=n("5530"),c=n("2f62"),s={name:"SynchronousData",data:function(){return{tableData:[]}},mounted:function(){this.init()},methods:Object(a.a)(Object(a.a)({},Object(c.b)({getSynchronousData:"MainData/getSynchronousData",executeSynchronousData:"MainData/executeSynchronousData"})),{},{handleExecute:function(t){var e=this;this.executeSynchronousData(t.id).then((function(t){e.$message.success(t.message)})).catch((function(t){e.$message.error(t.message)}))},init:function(){var t=this;this.getSynchronousData().then((function(e){t.tableData=e.result})).catch((function(t){console.warn(t.message)}))}})},o=n("2877"),r=Object(o.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"SynchronousData p2"},[n("el-table",{staticStyle:{width:"60%"},attrs:{data:t.tableData,stripe:"",border:""}},[n("el-table-column",{attrs:{label:"操作",width:"120",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{staticClass:"text-color cursor",on:{click:function(n){return t.handleExecute(e.row)}}},[t._v(" 执行 ")])]}}])}),n("el-table-column",{attrs:{prop:"id",label:"序号",align:"center",width:"80"}}),n("el-table-column",{attrs:{prop:"description",label:"描述",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{attrs:{title:e.row.description}},[t._v(t._s(e.row.description))])]}}])})],1)],1)}),[],!1,null,"c6beb51e",null);e.default=r.exports}}]);
|