webpackJsonp([105],{GdW8:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("PeHS"),i=a("PI0u"),o={data:function(){return{form:{searchContent:"",pageId:"",pageNum:1,pageSize:20},loading:!1,total:0,tableData:[]}},props:{pageId:{type:String,default:""},dialogVisible:{type:Boolean,default:!1}},watch:{pageId:function(e){e&&(this.form={searchContent:"",pageId:e,pageNum:1,pageSize:20},this.getList())}},methods:{toInput:Object(i.a)(function(e,t){this.getList()},500),getList:function(){var e=this;this.loading=!0,Object(n.k)(this.form).then(function(t){var a=t.data.result,n=a.totalCount,i=a.result;i&&(e.total=n,e.tableData=i)}).finally(function(t){e.loading=!1})},handleSizeChange:function(e){this.form.pageNum=1,this.form.pageSize=e,this.getList()},handleCurrentChange:function(e){this.form.pageNum=e,this.getList()}}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"关联详情",width:"600px",visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t},close:function(t){return e.$emit("update:dialogVisible",!1)}}},[a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"flex flex-space-between m-b-16"},[a("el-input",{staticClass:"w-260",attrs:{placeholder:"请输入链接名称/ID",clearable:""},on:{clear:e.getList},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchInput);var a}},model:{value:e.form.searchContent,callback:function(t){e.$set(e.form,"searchContent",t)},expression:"form.searchContent"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",attrs:{data:e.tableData,height:"450","tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"releationId",label:"链接ID","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"referName",label:"链接名称","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作",width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.$emit("goLinkDetail",n.referId)}}},[e._v("查看")])]}}])})],1),e._v(" "),a("el-pagination",{staticClass:"text-right margin-pg",attrs:{"page-size":e.form.pageSize,"current-page":e.form.pageNum,layout:"prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:pageSize":function(t){return e.$set(e.form,"pageSize",t)},"update:page-size":function(t){return e.$set(e.form,"pageSize",t)},"update:currentPage":function(t){return e.$set(e.form,"pageNum",t)},"update:current-page":function(t){return e.$set(e.form,"pageNum",t)}}})],1)},staticRenderFns:[]};var l=a("VU/8")(o,r,!1,function(e){a("YYEh")},"data-v-29d9d5a9",null);t.default=l.exports},YYEh:function(e,t){}});