12234444
This commit is contained in:
parent
c11a5bdbc5
commit
0abc0262d1
@ -27,7 +27,7 @@ const smartAxios = axios.create({
|
||||
// 退出系统
|
||||
function logout() {
|
||||
useUserStore().logout();
|
||||
location.href = '/';
|
||||
location.href = '/admin/web';
|
||||
}
|
||||
|
||||
// ================================= 请求拦截器 =================================
|
||||
|
||||
@ -65,7 +65,7 @@
|
||||
:data-source="tableData"
|
||||
:loading="tableLoading"
|
||||
:pagination="false"
|
||||
:scroll="{ x: 1500 }"
|
||||
:scroll="{ x: 1700 }"
|
||||
size="small"
|
||||
bordered
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeyList, onChange: onSelectChange }"
|
||||
@ -134,6 +134,15 @@
|
||||
|
||||
const columns = ref([
|
||||
{ title: '用户名称', dataIndex: 'userName', ellipsis: true, width: 120 },
|
||||
{ title: '医院名称', dataIndex: 'hospitalName', width: 200, customRender: ({ text }) => text || '-',
|
||||
customCell: () => ({
|
||||
style: {
|
||||
whiteSpace: 'pre-wrap',
|
||||
wordBreak: 'break-word',
|
||||
maxWidth: '200px'
|
||||
}
|
||||
})
|
||||
},
|
||||
{ title: '类型', dataIndex: 'commentType', ellipsis: true, width: 80 },
|
||||
{ title: '文章标题', dataIndex: 'articleTitle', ellipsis: false, width: 200, customRender: ({ text }) => h('div', { style: { 'white-space': 'pre-wrap', 'word-break': 'break-all', 'line-height': '1.4' } }, text || '-') },
|
||||
{ title: '评论状态', dataIndex: 'status', ellipsis: true, width: 80, customRender: ({ text }) => h('a-tag', {
|
||||
|
||||
@ -65,7 +65,7 @@
|
||||
:data-source="tableData"
|
||||
:loading="tableLoading"
|
||||
:pagination="false"
|
||||
:scroll="{ x: 1500 }"
|
||||
:scroll="{ x: 1700 }"
|
||||
size="small"
|
||||
bordered
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeyList, onChange: onSelectChange }"
|
||||
@ -134,6 +134,15 @@
|
||||
|
||||
const columns = ref([
|
||||
{ title: '用户名称', dataIndex: 'userName', ellipsis: true, width: 120 },
|
||||
{ title: '医院名称', dataIndex: 'hospitalName', width: 200, customRender: ({ text }) => text || '-',
|
||||
customCell: () => ({
|
||||
style: {
|
||||
whiteSpace: 'pre-wrap',
|
||||
wordBreak: 'break-word',
|
||||
maxWidth: '200px'
|
||||
}
|
||||
})
|
||||
},
|
||||
{ title: '类型', dataIndex: 'commentType', ellipsis: true, width: 80 },
|
||||
{ title: '视频标题', dataIndex: 'videoTitle', ellipsis: false, width: 200, customRender: ({ text }) => h('div', { style: { 'white-space': 'pre-wrap', 'word-break': 'break-all', 'line-height': '1.4' } }, text || '-') },
|
||||
{ title: '评论状态', dataIndex: 'status', ellipsis: true, width: 80, customRender: ({ text }) => h('a-tag', {
|
||||
|
||||
@ -65,7 +65,7 @@
|
||||
:data-source="tableData"
|
||||
:loading="tableLoading"
|
||||
:pagination="false"
|
||||
:scroll="{ x: 1500 }"
|
||||
:scroll="{ x: 1700 }"
|
||||
size="small"
|
||||
bordered
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeyList, onChange: onSelectChange }"
|
||||
@ -134,6 +134,15 @@
|
||||
|
||||
const columns = ref([
|
||||
{ title: '用户名称', dataIndex: 'userName', ellipsis: true, width: 120 },
|
||||
{ title: '医院名称', dataIndex: 'hospitalName', width: 200, customRender: ({ text }) => text || '-',
|
||||
customCell: () => ({
|
||||
style: {
|
||||
whiteSpace: 'pre-wrap',
|
||||
wordBreak: 'break-word',
|
||||
maxWidth: '200px'
|
||||
}
|
||||
})
|
||||
},
|
||||
{ title: '类型', dataIndex: 'commentType', ellipsis: true, width: 80 },
|
||||
{ title: '交流标题', dataIndex: 'exchangeTitle', ellipsis: false, width: 200, customRender: ({ text }) => h('div', { style: { 'white-space': 'pre-wrap', 'word-break': 'break-all', 'line-height': '1.4' } }, text || '-') },
|
||||
{ title: '评论状态', dataIndex: 'status', ellipsis: true, width: 80, customRender: ({ text }) => h('a-tag', {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user