chunk-8b50.89c79eb6.js 2.7 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-8b50"],{"0D+5":function(e,t,a){"use strict";a.r(t);var s={mixins:[a("T3R4").a],data:function(){return{search_url:"plugin/LawyerPlatform/lawyerApplySearch",total:0,params:{},searchList:[{key:"member_id",p:"会员ID"},{key:"nickname",p:"会员昵称"},{key:"apply_condition",p:"申请姓名/手机号"},{key:"category",p:"领域分类"},{key:"status",p:"审核状态",type:"select",options:[{label:"待审核",value:"0"},{label:"审核通过",value:"1"},{label:"审核驳回",value:"2"}]},{key:"address",p:"服务区域",slot:"address"},{type:"date"}],tableList:[{prop:"created_at",label:"入驻时间"},{prop:"date",label:"会员",slot:"member"},{prop:"name",label:"姓名/手机号",slot:"info"},{prop:"name",label:"擅长领域",slot:"tag"},{prop:"show_address",label:"服务区域"},{prop:"name",label:"审核状态",slot:"status_name"},{prop:"date",label:"操作",slot:"operation"}]}},methods:{getColor:function(e){return 2==e?"#8a8f97":1==e?"#0ad76d":"#F89406"},toApplication:function(e){this.$router.push(this.fun.getUrl("lawyerApplication",{id:e}))},changeAddress:function(e){this.params.address=e},gettotal:function(e){this.total=e}}},r=(a("Fs1L"),a("KHd+")),n=Object(r.a)(s,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("table-template",{ref:"table-template",attrs:{"search-text":"律师申请","table-text":["律师列表","总数"+e.total+"条"],searchList:e.searchList,"is-init":!0,params:e.params,search_url:e.search_url,"table-list":e.tableList},on:{gettotal:e.gettotal},scopedSlots:e._u([{key:"member",fn:function(t){return a("div",{staticClass:"member"},[t.row.member?[a("img",{attrs:{src:t.row.member.avatar,alt:""}}),e._v(" "),a("div",[e._v(e._s(t.row.member.nickname))])]:e._e()],2)}},{key:"info",fn:function(t){return a("div",{},[t.row.member?[a("div",[e._v(e._s(t.row.member.realname))]),e._v(" "),a("div",[e._v(e._s(t.row.member.mobile))])]:e._e()],2)}},{key:"tag",fn:function(t){return a("div",{},e._l(t.row.category_data,function(t,s){return a("el-tag",{key:s,staticStyle:{margin:"5px"}},[e._v(e._s(t.title))])}))}},{key:"status_name",fn:function(t){return a("div",{},[a("span",{style:{color:e.getColor(t.row.status)}},[e._v(e._s(t.row.status_name))])])}},{key:"operation",fn:function(t){return a("div",{},[a("i",{staticClass:"el-icon-view",on:{click:function(a){e.goto("lawyerApplication",{id:t.row.id})}}})])}}])},[a("div",{staticClass:"address",attrs:{slot:"address"},slot:"address"},[a("span",[e._v("服务区域")]),e._v(" "),a("detaile-address",{on:{change:e.changeAddress}})],1)])},[],!1,null,"3cdbcac0",null);n.options.__file="application-list.vue";t.default=n.exports},Fs1L:function(e,t,a){"use strict";var s=a("ymDo");a.n(s).a},ymDo:function(e,t,a){}}]);