去掉文档动态
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
4. 在现有框架下解决初始加载慢的问题(即初始不加载全部组件,采用懒加载)
|
4. 在现有框架下解决初始加载慢的问题(即初始不加载全部组件,采用懒加载)
|
||||||
5. 加入ESLint配置(参考最新框架),对新开发页面进行代码规范处理
|
5. 加入ESLint配置(参考最新框架),对新开发页面进行代码规范处理
|
||||||
6. 从蔚来拉取页面,绘制首页(后续修改)、文档管理-文档库、文档工具-文档拆分、文档工具-文档对比、业务支持-对外报告管理(改名为资料中心)、
|
6. 从蔚来拉取页面,绘制首页(后续修改)、文档管理-文档库、文档工具-文档拆分、文档工具-文档对比、业务支持-对外报告管理(改名为资料中心)、
|
||||||
信息中心-文档动态、信息中心-我的消息、个人中心-我的收藏、日志中心-操作日志、系统管理(全部)、开发工具全部(仅给开发用)
|
信息中心-我的消息、个人中心-我的收藏、日志中心-操作日志、系统管理(全部)、开发工具全部(仅给开发用)
|
||||||
7. 分析结果由项目二组提供excel说明项目框架各部分范围(高嵩负责)
|
7. 分析结果由项目二组提供excel说明项目框架各部分范围(高嵩负责)
|
||||||
|
|
||||||
laws-sinotruk-web
|
laws-sinotruk-web
|
||||||
|
|||||||
@@ -465,11 +465,6 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
// 消息中心
|
// 消息中心
|
||||||
message: {
|
message: {
|
||||||
// 文档动态
|
|
||||||
docDynamics: {
|
|
||||||
messageContent: 'Message Content',
|
|
||||||
notificationTime: 'Notification Time'
|
|
||||||
},
|
|
||||||
// 我的消息
|
// 我的消息
|
||||||
my: {
|
my: {
|
||||||
messageContent: 'Message Content',
|
messageContent: 'Message Content',
|
||||||
|
|||||||
@@ -466,11 +466,6 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
// 消息中心
|
// 消息中心
|
||||||
message: {
|
message: {
|
||||||
// 文档动态
|
|
||||||
docDynamics: {
|
|
||||||
messageContent: '消息内容',
|
|
||||||
notificationTime: '通知时间'
|
|
||||||
},
|
|
||||||
// 我的消息
|
// 我的消息
|
||||||
my: {
|
my: {
|
||||||
messageContent: '消息内容',
|
messageContent: '消息内容',
|
||||||
|
|||||||
@@ -1,123 +0,0 @@
|
|||||||
<template>
|
|
||||||
<a-card :bordered="false">
|
|
||||||
<!-- 查询区域 -->
|
|
||||||
<div class="table-page-search-wrapper">
|
|
||||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
|
||||||
<a-row :gutter="24">
|
|
||||||
<a-col :md="6" :sm="8" style="line-height: 48px">
|
|
||||||
<a-form-item :label="$t('message.docDynamics.messageContent')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
||||||
<j-input :placeholder="$t('pleaseEnter')+$t('message.docDynamics.messageContent')"
|
|
||||||
v-model="queryParam.msgContent">
|
|
||||||
</j-input>
|
|
||||||
</a-form-item>
|
|
||||||
</a-col>
|
|
||||||
<span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
|
|
||||||
<a-col :md="6" :sm="24">
|
|
||||||
<a-button class="box-button" @click="searchReset">{{$t('reset')}}</a-button>
|
|
||||||
<a-button class="box-button" style="margin-left: 8px" type="primary" @click="searchQuery">{{$t('query')}}</a-button>
|
|
||||||
</a-col>
|
|
||||||
</span>
|
|
||||||
</a-row>
|
|
||||||
</a-form>
|
|
||||||
</div>
|
|
||||||
<div class="table-operator">
|
|
||||||
<div @click="msgContentClick" class="operator-text">
|
|
||||||
<a-icon type="delete"/>
|
|
||||||
{{$t('batchDelete')}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<j-table
|
|
||||||
:can-drag="true"
|
|
||||||
ref="table"
|
|
||||||
rowKey="id"
|
|
||||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
|
||||||
:columns="columns"
|
|
||||||
:dataSource="dataSource"
|
|
||||||
:scroll="{x: '100%'}"
|
|
||||||
:pagination="ipagination"
|
|
||||||
:loading="loading"
|
|
||||||
@change="handleTableChange">
|
|
||||||
<template v-slot:msgContent="{text, scope}">
|
|
||||||
<a :style="{'color':scope.readFlag == 0 ? 'red':'#00A0E9'}" :title="text" @click="msgContentClick(scope)">
|
|
||||||
{{text}}
|
|
||||||
</a>
|
|
||||||
</template>
|
|
||||||
</j-table>
|
|
||||||
</a-card>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import JTable from '@/components/jero/JTable'
|
|
||||||
import { getAction } from '@/api/manage'
|
|
||||||
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'DocumentDynamics',
|
|
||||||
components: { JTable },
|
|
||||||
mixins: [JeroListMixin],
|
|
||||||
data () {
|
|
||||||
return {
|
|
||||||
queryParam: {},
|
|
||||||
selectedRowKeys: [],
|
|
||||||
columns: [
|
|
||||||
{
|
|
||||||
title: this.$t('message.docDynamics.messageContent'),
|
|
||||||
align: 'left',
|
|
||||||
dataIndex: 'msgContent',
|
|
||||||
ellipsis: true,
|
|
||||||
width: 700,
|
|
||||||
scopedSlots: { customRender: 'msgContent' }
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: this.$t('message.docDynamics.notificationTime'),
|
|
||||||
align: 'left',
|
|
||||||
width: 200,
|
|
||||||
dataIndex: 'createTime'
|
|
||||||
}
|
|
||||||
],
|
|
||||||
url: {
|
|
||||||
list: '/home/homeDocumentDynamicEO/page',
|
|
||||||
deleteUrl: '/home/homeDocumentDynamicEO/deleteBatch'
|
|
||||||
},
|
|
||||||
loading: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
onSelectChange (value) {
|
|
||||||
this.selectedRowKeys = value
|
|
||||||
},
|
|
||||||
msgContentClick (row) {
|
|
||||||
row.isCustomContentList = true
|
|
||||||
this.$router.push({
|
|
||||||
path: '/modules/message/detail',
|
|
||||||
query: row
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleDel () {
|
|
||||||
if (this.selectedRowKeys.length > 0) {
|
|
||||||
this.$confirm({
|
|
||||||
content: this.$t('confirmBatchDeletion'),
|
|
||||||
onOk: () => {
|
|
||||||
getAction(this.url.deleteUrl, { ids: this.selectedRowKeys.join(',') }).then((res) => {
|
|
||||||
if (res.success) {
|
|
||||||
this.selectedRowKeys = []
|
|
||||||
this.$message.success(this.$t('operationSuccessful'))
|
|
||||||
this.loadData()
|
|
||||||
} else {
|
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning(this.$t('pleaseSelectData'))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped lang="less">
|
|
||||||
@import '~@assets/less/common.less';
|
|
||||||
</style>
|
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
{{this.$route.query.msgContent}}
|
{{this.$route.query.msgContent}}
|
||||||
</span>
|
</span>
|
||||||
<span class="box-header-right-text">
|
<span class="box-header-right-text">
|
||||||
{{$t('message.docDynamics.notificationTime')}}: {{this.$route.query.sendTime || this.$route.query.createTime}}
|
{{$t('message.my.notificationTime')}}: {{this.$route.query.sendTime || this.$route.query.createTime}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-content" v-html="this.$route.query.msgContentInfo">
|
<div class="box-content" v-html="this.$route.query.msgContentInfo">
|
||||||
|
|||||||
Reference in New Issue
Block a user