d7202d303L58">58
{
prop: 'name',
tit: '标题'
prop: 'loginPhone',
tit: '手机账号',
width: '120',
link: true
},
{
prop: 'class',
tit: '栏目分类',
width: '160'
prop: 'account',
tit: '用户名'
},
{
prop: 'job',
tit: '职位'
},
{
prop: 'owner',
tit: '发布人',
prop: 'dep',
tit: '所在机构'
},
{
prop: 'linkPhone',
tit: '联系电话',
width: '120'
},
{
prop: 'email',
tit: '联系邮箱',
width: '160'
},
{
prop: 'date',
tit: '发布时间',
prop: 'createTime',
tit: '创建时间',
width: '160'
},
{
prop: 'num',
tit: '浏览数量',
prop: 'createTime',
tit: '最后登录时间',
width: '160'
},
{
operate: 'edit',
width: '200'
operate: true,
width: '100'
}
]
}
},
components: {
complexTable,
baseInfo,
pullBlack
},
created() {
this.pageQueryUser()
},
methods: {
queryInfo() {
this.$refs.baseInfo.userDialogVisible = true
pageQueryUser() {
var that = this
this.$http.get(pageNormalUser, {
key: that.searchText,
pageSize: that.pageSize,
pageNo: that.pageNo
}, function(res) {
if (res.success && res.data) {
const obj = res.data.data
for (let i = 0; i < obj.length; ++i) {
if (obj[i].createTime) {
obj[i].createTime = parseTime(obj[i].createTime)
}
}
that.total = res.data.total
that.tableData = obj
comTable.gapFilling(that.tableData)
} else {
that.total = 0
that.tableData = []
}
})
},
queryInfo(id) {
this.$refs.baseInfo.queryNormalOne(id)
},
pullBlackFun(id) {
this.$refs.pullBlack.queryNormalOne(id)
},
pullBlackFun() {
this.$refs.pullBlack.userDialogVisible = true
handleCurrentChange(val) {
this.pageNo = val
this.pageQueryUser()
}
}
}