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 line
10 KiB
1 line
10 KiB
12 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-dfbdd4ec"],{"111b":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("el-tabs",{on:{"tab-click":function(e){return t.getList(1)}},model:{value:t.userFrom.user_type,callback:function(e){t.$set(t.userFrom,"user_type",e)},expression:"userFrom.user_type"}},[a("el-tab-pane",{attrs:{label:"全部用户",name:""}}),t._v(" "),a("el-tab-pane",{attrs:{label:"微信用户",name:"wechat"}}),t._v(" "),a("el-tab-pane",{attrs:{label:"小程序用户",name:"routine"}}),t._v(" "),a("el-tab-pane",{attrs:{label:"H5用户",name:"h5"}}),t._v(" "),a("el-tab-pane",{attrs:{label:"APP用户",name:"app"}}),t._v(" "),a("el-tab-pane",{attrs:{label:"PC用户",name:"pc"}})],1),t._v(" "),a("div",{staticClass:"container"},[a("el-form",{attrs:{size:"small","label-width":"100px",inline:!0}},[a("el-form-item",{staticStyle:{display:"block"},attrs:{label:"搜索时间:"}},[a("el-radio-group",{staticClass:"mr20",attrs:{type:"button",size:"small"},on:{change:function(e){return t.selectChange(t.userFrom.date)}},model:{value:t.userFrom.date,callback:function(e){t.$set(t.userFrom,"date",e)},expression:"userFrom.date"}},t._l(t.fromList.fromTxt,(function(e,r){return a("el-radio-button",{key:r,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1),t._v(" "),a("el-date-picker",{staticStyle:{width:"250px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",size:"small",type:"daterange",placement:"bottom-end",placeholder:"自定义时间"},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}}),t._v(" "),a("el-button",{attrs:{size:"small",type:"primary"},nativeOn:{click:function(e){return t.exports(e)}}},[t._v("导出搜索记录")])],1),t._v(" "),a("el-form-item",{attrs:{label:"搜索词:"}},[a("el-input",{attrs:{placeholder:"请输入搜索词",clearable:""},model:{value:t.userFrom.keyword,callback:function(e){t.$set(t.userFrom,"keyword",e)},expression:"userFrom.keyword"}},[a("el-button",{staticClass:"el-button-solt",attrs:{slot:"append",icon:"el-icon-search",size:"small"},on:{click:function(e){return t.getList(1)}},slot:"append"})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"用户昵称:"}},[a("el-input",{attrs:{placeholder:"请输入昵称",clearable:""},model:{value:t.userFrom.nickname,callback:function(e){t.$set(t.userFrom,"nickname",e)},expression:"userFrom.nickname"}},[a("el-button",{staticClass:"el-button-solt",attrs:{slot:"append",icon:"el-icon-search",size:"small"},on:{click:function(e){return t.getList(1)}},slot:"append"})],1)],1)],1)],1)],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"small","highlight-current-row":""}},[a("el-table-column",{attrs:{prop:"uid",label:"用户ID","min-width":"60"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(0!=e.row.uid?e.row.uid:"未知"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"头像","min-width":"50"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"demo-image__preview"},[a("el-image",{staticStyle:{width:"36px",height:"36px"},attrs:{src:e.row.user?e.row.user.avatar:t.moren,"preview-src-list":[e.row.user&&e.row.user.avatar||t.moren]}})],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"昵称","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return[a("div",{staticClass:"acea-row"},[a("div",[t._v(t._s(r.user&&r.user.nickname?r.user.nickname:"未知"))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"用户类型","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return[r.user?a("span",[t._v(t._s("wechat"==r.user.user_type?"公众号":"routine"==r.user.user_type?"小程序":r.user.user_type))]):a("span",[t._v("未知")])]}}])}),t
|