Commit a9b3ffeb authored by 以墨为白's avatar 以墨为白 🎧

删除多余文件

parent 49df73ab
<template>
<div id="drdc_ATTENTION">
<el-table ref="multipleTables" class="table-div" :data="data_list" tooltip-effect="dark" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column label="是否显示" align="center">
<template slot-scope="scope">
<el-switch v-model="scope.row.visualizing" active-text="显示" inactive-text="隐藏" disabled>
</el-switch>
</template>
</el-table-column>
<el-table-column prop="content" label="内容" align="center" show-overflow-tooltip>
</el-table-column><el-table-column prop="createTime" label="新增时间" align="center"></el-table-column>
<el-table-column prop="updateTime" label="更新时间" align="center"></el-table-column>
</el-table>
<div class="pagination-div">
<el-pagination class="myPagination" background layout="total, sizes, prev, pager, next, jumper" :current-page="currentPage" @size-change="handleSizeChange" :page-size="everySize" :total="total" :page-sizes="[10,20,50,100]" @current-change="handleCurrentChange">
</el-pagination>
</div>
</div>
</template>
<script>
import { get, post, startLoading, endLoading } from '../../util/http_util';
export default {
components: { },
data() {
return {
currentPage: 1,
everySize: 10,
total: 0,
multipleSelection:[],
data_list:[],
stTime:null,
edTime:null,
};
},
props: {
clientDetails: {
type: Object,
default: {},
},
},
methods: {
handleSelectionChange(val) {
this.multipleSelection = val.map(e=>e.id);
this.$emit('change_Select',this.multipleSelection);
},
search(pageNum){
startLoading();
this.currentPage = pageNum;
get('api/rest/resource/queryAttention?pageNum=' + pageNum + '&pageSize=' + this.everySize).then(res => {
this.data_list = res.list;
this.total = res.totals;
endLoading()
}).catch(err => {
endLoading()
this.$message.warning(err.message);
})
},
//分页
handleCurrentChange(pageNum) {
this.currentPage = pageNum;
this.search(pageNum);
},
handleSizeChange(val) {
this.everySize = val;
this.currentPage = 1;
this.search(1);
},
},
watch:{
clientDetails: function (val) {
this.stTime= val.stTime;
this.edTime= val.edTime;
this.search(1);
}
}
};
</script>
<style lang="scss">
#drdc_ATTENTION{
width: 100%;
height: 100%;
.table-div {
width: 100%;
height: calc(100% - 50px);
}
.el-table tr {
background-color: transparent !important;
color: #ffffffc7;
}
.el-table thead tr {
height: 40px;
background: url(../../assets/img/setting/tr1.png) no-repeat;
background-size: 100% 100%;
}
.el-table th{
background-color: transparent;
}
tbody tr {
border-bottom: 1px solid #252631;
}
.el-table td {
border-bottom: 1px solid #252631;
border-right: unset;
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
background-color: #82848a78;
}
.el-table th {
border: unset;
// background-color: #263b5d !important;
}
.el-table--fit {
background: none !important;
border: unset;
}
.el-icon-delete-solid {
color: red;
cursor: pointer;
font-size: 18px;
}
.el-icon-edit {
color: #1172d8;
cursor: pointer;
font-size: 20px;
}
.el-icon-view {
color: #00ffff;
font-size: 20px;
cursor: pointer;
}
.el-table--group::after,
.el-table--border::after,
.el-table::before {
background-color: unset;
}
.pagination-div {
width: 100%;
height: 50px;
.el-pagination {
margin-top: 9px;
text-align: right;
.el-pagination__jump {
color: white;
}
.el-pagination__total {
color: white;
}
}
.myPagination.is-background .el-pager li:not(.disabled).active {
color: #fff;
border: 1px solid #146a80;
box-shadow: 0 0 10px #1b6097;
background-color: #1d2d46;
}
}
}
</style>
\ No newline at end of file
<template>
<div id="drdc_COLLECTION_FOLDER">
<el-table ref="multipleTables" class="table-div" :data="data_list" tooltip-effect="dark" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="name" label="收藏夹名称" align="center" show-overflow-tooltip></el-table-column>
</el-table>
<!-- <div class="pagination-div">
<el-pagination class="myPagination" background layout="total, sizes, prev, pager, next, jumper" :current-page="currentPage" @size-change="handleSizeChange" :page-size="everySize" :total="total" :page-sizes="[10,20,50,100]" @current-change="handleCurrentChange">
</el-pagination>
</div> -->
</div>
</template>
<script>
import { get, post, startLoading, endLoading } from '../../util/http_util';
export default {
components: { },
data() {
return {
currentPage: 1,
everySize: 10,
total: 0,
multipleSelection:[],
data_list:[],
stTime:null,
edTime:null,
};
},
props: {
clientDetails: {
type: Object,
default: {},
},
},
methods: {
handleSelectionChange(val) {
this.multipleSelection = val.map(e=>e.id);
this.$emit('change_Select',this.multipleSelection);
},
search(pageNum){
startLoading();
this.currentPage = pageNum;
get('api/rest/resource/queryCollectionFolder?collector=' + this.userInfo.account).then(res => {
this.data_list = res;
endLoading()
}).catch(err => {
endLoading()
this.$message.warning(err.message);
})
},
//分页
handleCurrentChange(pageNum) {
this.currentPage = pageNum;
this.search(pageNum);
},
handleSizeChange(val) {
this.everySize = val;
this.currentPage = 1;
this.search(1);
},
},
computed: {
userInfo() {
if (this.$store.getters.userInfo) {
return this.$store.getters.userInfo;
} else {
return { username: "" };
}
}
},
watch:{
clientDetails: function (val) {
this.stTime= val.stTime;
this.edTime= val.edTime;
this.search(1);
}
}
};
</script>
<style lang="scss">
#drdc_COLLECTION_FOLDER{
width: 100%;
height: 100%;
.table-div {
width: 100%;
height: calc(100% - 50px);
}
.el-table tr {
background-color: transparent !important;
color: #ffffffc7;
}
.el-table thead tr {
height: 40px;
background: url(../../assets/img/setting/tr1.png) no-repeat;
background-size: 100% 100%;
}
.el-table th{
background-color: transparent;
}
tbody tr {
border-bottom: 1px solid #252631;
}
.el-table td {
border-bottom: 1px solid #252631;
border-right: unset;
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
background-color: #82848a78;
}
.el-table th {
border: unset;
// background-color: #263b5d !important;
}
.el-table--fit {
background: none !important;
border: unset;
}
.el-icon-delete-solid {
color: red;
cursor: pointer;
font-size: 18px;
}
.el-icon-edit {
color: #1172d8;
cursor: pointer;
font-size: 20px;
}
.el-icon-view {
color: #00ffff;
font-size: 20px;
cursor: pointer;
}
.el-table--group::after,
.el-table--border::after,
.el-table::before {
background-color: unset;
}
.pagination-div {
width: 100%;
height: 50px;
.el-pagination {
margin-top: 9px;
text-align: right;
.el-pagination__jump {
color: white;
}
.el-pagination__total {
color: white;
}
}
.myPagination.is-background .el-pager li:not(.disabled).active {
color: #fff;
border: 1px solid #146a80;
box-shadow: 0 0 10px #1b6097;
background-color: #1d2d46;
}
}
}
</style>
\ No newline at end of file
<template>
<div id="drdc_ORGANIZATION">
<el-table ref="multipleTables" class="table-div" :data="newsData" tooltip-effect="dark" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="部队番号" label="部队番号"> </el-table-column>
<el-table-column prop="部队简称" label="部队简称"> </el-table-column>
<el-table-column prop="部队类别" label="部队类别"> </el-table-column>
</el-table>
<div class="pagination-div">
<el-pagination class="myPagination" background layout="total, sizes, prev, pager, next, jumper" :current-page="currentPage" @size-change="handleSizeChange" :page-size="everySize" :total="total" :page-sizes="[10,20,50,100]" @current-change="handleCurrentChange">
</el-pagination>
</div>
</div>
</template>
<script>
import { get, post, fileUpload, startLoading, endLoading } from '../../util/http_util';
export default {
components: { },
data() {
return {
currentPage: 1,
everySize: 10,
total: 0,
multipleSelection:[],
newsData:[],
stTime:null,
edTime:null,
};
},
props: {
clientDetails: {
type: Object,
default: {},
},
},
methods: {
handleSelectionChange(val) {
let list = [], listImg = [];
for (let i = 0; i < val.length; i++) {
list.push(val[i].id);
val[i].website_img && val[i].website_img.length > 0 && (listImg = listImg.concat(val[i].website_img));
}
this.multipleSelection = list;
this.$emit('change_Select',this.multipleSelection);
},
search(pageNum){
startLoading();
this.currentPage = pageNum;
let obj = {};
this.newsData = [];
post('api/rest/resource/queryDynamicOrganization?pageNum=' + pageNum + '&pageSize=' + this.everySize,{}).then(res => {
if (res.list.length > 0) {
res.list.forEach((item) => {
item.baseProperty["id"] = item._id;
this.newsData.push(item.baseProperty);
});
}
this.total = res.totals;
endLoading()
}).catch(err => {
endLoading()
this.$message.warning(err.message);
// this.$message.error(err.message);
})
},
//分页
handleCurrentChange(pageNum) {
this.currentPage = pageNum;
this.search(pageNum);
},
handleSizeChange(val) {
this.everySize = val;
this.currentPage = 1;
this.search(1);
},
},
activated() {
},
watch:{
clientDetails: function (val) {
this.stTime= val.stTime;
this.edTime= val.edTime;
this.search(1);
}
}
};
</script>
<style lang="scss">
#drdc_ORGANIZATION{
width: 100%;
height: 100%;
.table-div {
width: 100%;
height: calc(100% - 50px);
}
.el-table tr {
background-color: transparent !important;
color: #ffffffc7;
}
.el-table thead tr {
height: 40px;
background: url(../../assets/img/setting/tr1.png) no-repeat;
background-size: 100% 100%;
}
.el-table th{
background-color: transparent;
}
tbody tr {
border-bottom: 1px solid #252631;
}
.el-table td {
border-bottom: 1px solid #252631;
border-right: unset;
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
background-color: #82848a78;
}
.el-table th {
border: unset;
// background-color: #263b5d !important;
}
.el-table--fit {
background: none !important;
border: unset;
}
.el-icon-delete-solid {
color: red;
cursor: pointer;
font-size: 18px;
}
.el-icon-edit {
color: #1172d8;
cursor: pointer;
font-size: 20px;
}
.el-icon-view {
color: #00ffff;
font-size: 20px;
cursor: pointer;
}
.el-table--group::after,
.el-table--border::after,
.el-table::before {
background-color: unset;
}
.pagination-div {
width: 100%;
height: 50px;
.el-pagination {
margin-top: 9px;
text-align: right;
.el-pagination__jump {
color: white;
}
.el-pagination__total {
color: white;
}
}
.myPagination.is-background .el-pager li:not(.disabled).active {
color: #fff;
border: 1px solid #146a80;
box-shadow: 0 0 10px #1b6097;
background-color: #1d2d46;
}
}
}
</style>
\ No newline at end of file
<template>
<div id="drdc_THINK_TANK">
<el-table ref="multipleTables" class="table-div" :data="data_list" tooltip-effect="dark" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="pubTime" label="发布时间" align="center"></el-table-column>
<el-table-column prop="country" label="国家" align="center" show-overflow-tooltip></el-table-column>
<el-table-column prop="title" label="标题" align="center" show-overflow-tooltip></el-table-column>
<el-table-column prop="text" label="内容" align="center" show-overflow-tooltip></el-table-column>
</el-table>
<div class="pagination-div">
<el-pagination class="myPagination" background layout="total, sizes, prev, pager, next, jumper" :current-page="currentPage" @size-change="handleSizeChange" :page-size="everySize" :total="total" :page-sizes="[10,20,50,100]" @current-change="handleCurrentChange">
</el-pagination>
</div>
</div>
</template>
<script>
import { get, post, startLoading, endLoading } from '../../util/http_util';
export default {
components: { },
data() {
return {
currentPage: 1,
everySize: 10,
total: 0,
multipleSelection:[],
data_list:[],
stTime:null,
edTime:null,
};
},
props: {
clientDetails: {
type: Object,
default: {},
},
},
methods: {
handleSelectionChange(val) {
this.multipleSelection = val.map(e=>e.id);
this.$emit('change_Select',this.multipleSelection);
},
search(pageNum){
startLoading();
this.currentPage = pageNum;
let param = JSON.parse(JSON.stringify({stTime: this.stTime,edTime: this.edTime}));
post('api/rest/fulltext/queryThinkTank?pageNum=' + pageNum + '&pageSize=' + this.everySize,param).then(res => {
this.data_list = res.list;
this.total = res.totals;
endLoading()
}).catch(err => {
endLoading()
this.$message.warning(err.message);
})
},
//分页
handleCurrentChange(pageNum) {
this.currentPage = pageNum;
this.search(pageNum);
},
handleSizeChange(val) {
this.everySize = val;
this.currentPage = 1;
this.search(1);
},
},
watch:{
clientDetails: function (val) {
this.stTime= val.stTime;
this.edTime= val.edTime;
this.search(1);
}
}
};
</script>
<style lang="scss">
#drdc_THINK_TANK{
width: 100%;
height: 100%;
.table-div {
width: 100%;
height: calc(100% - 50px);
}
.el-table tr {
background-color: transparent !important;
color: #ffffffc7;
}
.el-table thead tr {
height: 40px;
background: url(../../assets/img/setting/tr1.png) no-repeat;
background-size: 100% 100%;
}
.el-table th{
background-color: transparent;
}
tbody tr {
border-bottom: 1px solid #252631;
}
.el-table td {
border-bottom: 1px solid #252631;
border-right: unset;
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
background-color: #82848a78;
}
.el-table th {
border: unset;
// background-color: #263b5d !important;
}
.el-table--fit {
background: none !important;
border: unset;
}
.el-icon-delete-solid {
color: red;
cursor: pointer;
font-size: 18px;
}
.el-icon-edit {
color: #1172d8;
cursor: pointer;
font-size: 20px;
}
.el-icon-view {
color: #00ffff;
font-size: 20px;
cursor: pointer;
}
.el-table--group::after,
.el-table--border::after,
.el-table::before {
background-color: unset;
}
.pagination-div {
width: 100%;
height: 50px;
.el-pagination {
margin-top: 9px;
text-align: right;
.el-pagination__jump {
color: white;
}
.el-pagination__total {
color: white;
}
}
.myPagination.is-background .el-pager li:not(.disabled).active {
color: #fff;
border: 1px solid #146a80;
box-shadow: 0 0 10px #1b6097;
background-color: #1d2d46;
}
}
}
</style>
\ No newline at end of file
<template>
<div id="drdc_CHARACTER">
<el-table ref="multipleTables" class="table-div" :data="newsData" tooltip-effect="dark"
@selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="姓名" label="姓名"> </el-table-column>
<el-table-column prop="外文名" label="外文名"> </el-table-column>
<el-table-column prop="人物编号" label="人物编号"> </el-table-column>
<el-table-column prop="身份证号码" label="身份证号码"> </el-table-column>
<el-table-column prop="军衔等级" label="军衔等级"> </el-table-column>
</el-table>
<div class="pagination-div">
<el-pagination class="myPagination" background layout="total, sizes, prev, pager, next, jumper"
:current-page="currentPage" @size-change="handleSizeChange" :page-size="everySize" :total="total"
:page-sizes="[10, 20, 50, 100]" @current-change="handleCurrentChange">
</el-pagination>
</div>
</div>
</template>
<script>
import { get, post, fileUpload, startLoading, endLoading } from '../../util/http_util';
export default {
components: {},
data() {
return {
currentPage: 1,
everySize: 10,
total: 0,
multipleSelection: [],
newsData: [],
stTime: null,
edTime: null,
};
},
props: {
clientDetails: {
type: Object,
default: {},
},
},
methods: {
handleSelectionChange(val) {
let list = [], listImg = [];
for (let i = 0; i < val.length; i++) {
list.push(val[i].id);
val[i].website_img && val[i].website_img.length > 0 && (listImg = listImg.concat(val[i].website_img));
}
this.multipleSelection = list;
this.$emit('change_Select', this.multipleSelection);
},
search(pageNum) {
startLoading();
this.currentPage = pageNum;
let obj = {};
this.newsData = [];
post('api/rest/resource/queryDynamicCharacter?pageNum=' + pageNum + '&pageSize=' + this.everySize, {}).then(res => {
if (res.list.length > 0) {
res.list.forEach((item) => {
item.baseProperty["id"] = item._id;
this.newsData.push(item.baseProperty);
});
}
this.total = res.totals;
endLoading()
}).catch(err => {
endLoading()
this.$message.warning(err.message);
// this.$message.error(err.message);
})
},
//分页
handleCurrentChange(pageNum) {
this.currentPage = pageNum;
this.search(pageNum);
},
handleSizeChange(val) {
this.everySize = val;
this.currentPage = 1;
this.search(1);
},
},
activated() {
},
watch: {
clientDetails: function (val) {
this.stTime = val.stTime;
this.edTime = val.edTime;
this.search(1);
}
}
};
</script>
<style lang="scss">
#drdc_CHARACTER {
width: 100%;
height: 100%;
.table-div {
width: 100%;
height: calc(100% - 50px);
}
.el-table tr {
background-color: transparent !important;
color: #ffffffc7;
}
.el-table thead tr {
height: 40px;
background: url(../../assets/img/setting/tr1.png) no-repeat;
background-size: 100% 100%;
}
.el-table th {
background-color: transparent;
}
tbody tr {
border-bottom: 1px solid #252631;
}
.el-table td {
border-bottom: 1px solid #252631;
border-right: unset;
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
background-color: #82848a78;
}
.el-table th {
border: unset;
// background-color: #263b5d !important;
}
.el-table--fit {
background: none !important;
border: unset;
}
.el-icon-delete-solid {
color: red;
cursor: pointer;
font-size: 18px;
}
.el-icon-edit {
color: #1172d8;
cursor: pointer;
font-size: 20px;
}
.el-icon-view {
color: #00ffff;
font-size: 20px;
cursor: pointer;
}
.el-table--group::after,
.el-table--border::after,
.el-table::before {
background-color: unset;
}
.pagination-div {
width: 100%;
height: 50px;
.el-pagination {
margin-top: 9px;
text-align: right;
.el-pagination__jump {
color: white;
}
.el-pagination__total {
color: white;
}
}
.myPagination.is-background .el-pager li:not(.disabled).active {
color: #fff;
border: 1px solid #146a80;
box-shadow: 0 0 10px #1b6097;
background-color: #1d2d46;
}
}
}</style>
\ No newline at end of file
<template>
<div id="drdc_collection">
<el-table ref="multipleTables" class="table-div" :data="data_list" tooltip-effect="dark"
@selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="title" label="标题" align="center" show-overflow-tooltip></el-table-column>
<el-table-column prop="description" label="描述" align="center" show-overflow-tooltip></el-table-column>
<el-table-column prop="collector" label="收藏者" align="center"></el-table-column>
<el-table-column prop="createTime" label="创建时间" align="center"></el-table-column>
</el-table>
<div class="pagination-div">
<el-pagination class="myPagination" background layout="total, sizes, prev, pager, next, jumper"
:current-page="currentPage" @size-change="handleSizeChange" :page-size="everySize" :total="total"
:page-sizes="[10, 20, 50, 100]" @current-change="handleCurrentChange">
</el-pagination>
</div>
</div>
</template>
<script>
import { get, post, startLoading, endLoading } from '../../util/http_util';
export default {
components: {},
data() {
return {
currentPage: 1,
everySize: 10,
total: 0,
multipleSelection: [],
data_list: [],
stTime: null,
edTime: null,
};
},
props: {
clientDetails: {
type: Object,
default: {},
},
},
methods: {
//勾选
handleSelectionChange(val) {
this.multipleSelection = val.map(e => e.id);
this.$emit('change_Select', this.multipleSelection);
},
//查询
search(pageNum) {
startLoading();
this.currentPage = pageNum;
get('api/rest/resource/queryCollection?').then(res => {
this.data_list = res;
this.total = res.totals;
endLoading()
}).catch(err => {
endLoading()
this.$message.warning(err.message);
})
},
//分页
handleCurrentChange(pageNum) {
this.currentPage = pageNum;
this.search(pageNum);
},
//分页的pageSize改变事件
handleSizeChange(val) {
this.everySize = val;
this.currentPage = 1;
this.search(1);
},
},
watch: {
clientDetails: function (val) {
this.stTime = val.stTime;
this.edTime = val.edTime;
this.search(1);
}
}
};
</script>
<style lang="scss">
#drdc_collection {
width: 100%;
height: 100%;
.table-div {
width: 100%;
height: calc(100% - 50px);
}
.el-table tr {
background-color: transparent !important;
color: #ffffffc7;
}
.el-table thead tr {
height: 40px;
background: url(../../assets/img/setting/tr1.png) no-repeat;
background-size: 100% 100%;
}
.el-table th {
background-color: transparent;
}
tbody tr {
border-bottom: 1px solid #252631;
}
.el-table td {
border-bottom: 1px solid #252631;
border-right: unset;
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
background-color: #82848a78;
}
.el-table th {
border: unset;
// background-color: #263b5d !important;
}
.el-table--fit {
background: none !important;
border: unset;
}
.el-icon-delete-solid {
color: red;
cursor: pointer;
font-size: 18px;
}
.el-icon-edit {
color: #1172d8;
cursor: pointer;
font-size: 20px;
}
.el-icon-view {
color: #00ffff;
font-size: 20px;
cursor: pointer;
}
.el-table--group::after,
.el-table--border::after,
.el-table::before {
background-color: unset;
}
.pagination-div {
width: 100%;
height: 50px;
.el-pagination {
margin-top: 9px;
text-align: right;
.el-pagination__jump {
color: white;
}
.el-pagination__total {
color: white;
}
}
.myPagination.is-background .el-pager li:not(.disabled).active {
color: #fff;
border: 1px solid #146a80;
box-shadow: 0 0 10px #1b6097;
background-color: #1d2d46;
}
}
}</style>
\ No newline at end of file
<template>
<div id="drdc_literature">
<el-table ref="multipleTables" class="table-div" :data="data_list" tooltip-effect="dark"
@selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="name" label="文档名" align="center" show-overflow-tooltip></el-table-column>
<el-table-column prop="suffix" label="文件类型" align="center" show-overflow-tooltip>
<template slot-scope="scope">
<span>{{ scope.row.file.type }}</span>
</template>
</el-table-column>
<el-table-column label="文件大小(KB)" align="center">
<template slot-scope="scope">
<span>{{ (scope.row.file.size / 1024).toFixed(1) + "kb" }}</span>
</template>
</el-table-column>
<el-table-column prop="createTime" label="创建时间" align="center"></el-table-column>
</el-table>
<div class="pagination-div">
<el-pagination class="myPagination" background layout="total, sizes, prev, pager, next, jumper"
:current-page="currentPage" @size-change="handleSizeChange" :page-size="everySize" :total="total"
:page-sizes="[10, 20, 50, 100]" @current-change="handleCurrentChange">
</el-pagination>
</div>
</div>
</template>
<script>
import { get, post, startLoading, endLoading } from '../../util/http_util';
export default {
components: {},
data() {
return {
currentPage: 1,
everySize: 10,
total: 0,
multipleSelection: [],
data_list: [],
stTime: null,
edTime: null,
};
},
props: {
clientDetails: {
type: Object,
default: {},
},
},
methods: {
//勾选
handleSelectionChange(val) {
this.multipleSelection = val.map(e => e.id);
this.$emit('change_Select', this.multipleSelection);
},
//查询
search() {
startLoading();
post('api/rest/document/queryDoc?pageSize=' + this.everySize + '&pageNum=' + this.currentPage, {}).then(res => {
this.data_list = res.list;
this.total = res.totals;
endLoading()
}).catch(err => {
endLoading()
this.$message.warning(err.message);
})
},
//分页
handleCurrentChange(pageNum) {
this.currentPage = pageNum;
this.search(pageNum);
},
//分页的pageSize改变事件
handleSizeChange(val) {
this.everySize = val;
this.currentPage = 1;
this.search(1);
},
},
watch: {
clientDetails: function (val) {
this.stTime = val.stTime;
this.edTime = val.edTime;
this.search();
}
}
};
</script>
<style lang="scss">
#drdc_literature {
width: 100%;
height: 100%;
.table-div {
width: 100%;
height: calc(100% - 50px);
}
.el-table tr {
background-color: transparent !important;
color: #ffffffc7;
}
.el-table thead tr {
height: 40px;
background: url(../../assets/img/setting/tr1.png) no-repeat;
background-size: 100% 100%;
}
.el-table th {
background-color: transparent;
}
tbody tr {
border-bottom: 1px solid #252631;
}
.el-table td {
border-bottom: 1px solid #252631;
border-right: unset;
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
background-color: #82848a78;
}
.el-table th {
border: unset;
// background-color: #263b5d !important;
}
.el-table--fit {
background: none !important;
border: unset;
}
.el-icon-delete-solid {
color: red;
cursor: pointer;
font-size: 18px;
}
.el-icon-edit {
color: #1172d8;
cursor: pointer;
font-size: 20px;
}
.el-icon-view {
color: #00ffff;
font-size: 20px;
cursor: pointer;
}
.el-table--group::after,
.el-table--border::after,
.el-table::before {
background-color: unset;
}
.pagination-div {
width: 100%;
height: 50px;
.el-pagination {
margin-top: 9px;
text-align: right;
.el-pagination__jump {
color: white;
}
.el-pagination__total {
color: white;
}
}
.myPagination.is-background .el-pager li:not(.disabled).active {
color: #fff;
border: 1px solid #146a80;
box-shadow: 0 0 10px #1b6097;
background-color: #1d2d46;
}
}
}</style>
\ No newline at end of file
<template>
<div id="drdc_facebook">
<el-table ref="multipleTables" class="table-div" :data="data_list" tooltip-effect="dark" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="postTime" label="发布时间" align="center"></el-table-column>
<el-table-column prop="country" label="国家" align="center" show-overflow-tooltip></el-table-column>
<el-table-column prop="postText" label="内容" align="center" show-overflow-tooltip></el-table-column>
</el-table>
<div class="pagination-div">
<el-pagination class="myPagination" background layout="total, sizes, prev, pager, next, jumper" :current-page="currentPage" @size-change="handleSizeChange" :page-size="everySize" :total="total" :page-sizes="[10,20,50,100]" @current-change="handleCurrentChange">
</el-pagination>
</div>
</div>
</template>
<script>
import { get, post, startLoading, endLoading } from '../../util/http_util';
export default {
components: { },
data() {
return {
currentPage: 1,
everySize: 10,
total: 0,
multipleSelection:[],
data_list:[],
stTime:null,
edTime:null,
};
},
props: {
clientDetails: {
type: Object,
default: {},
},
},
methods: {
handleSelectionChange(val) {
this.multipleSelection = val.map(e=>e.id);
this.$emit('change_Select',this.multipleSelection);
},
search(pageNum){
startLoading();
this.currentPage = pageNum;
let param = JSON.parse(JSON.stringify({stTime: this.stTime,edTime: this.edTime}));
post('api/rest/fulltext/queryFacebook?pageNum=' + pageNum + '&pageSize=' + this.everySize,param).then(res => {
console.log(1212);
this.data_list = res.list;
this.total = res.totals;
endLoading()
}).catch(err => {
endLoading()
this.$message.warning(err.message);
})
},
//分页
handleCurrentChange(pageNum) {
this.currentPage = pageNum;
this.search(pageNum);
},
handleSizeChange(val) {
this.everySize = val;
this.currentPage = 1;
this.search(1);
},
},
watch:{
clientDetails: function (val) {
this.stTime= val.stTime;
this.edTime= val.edTime;
this.search(1);
}
}
};
</script>
<style lang="scss">
#drdc_facebook{
width: 100%;
height: 100%;
.table-div {
width: 100%;
height: calc(100% - 50px);
}
.el-table tr {
background-color: transparent !important;
color: #ffffffc7;
}
.el-table thead tr {
height: 40px;
background: url(../../assets/img/setting/tr1.png) no-repeat;
background-size: 100% 100%;
}
.el-table th{
background-color: transparent;
}
tbody tr {
border-bottom: 1px solid #252631;
}
.el-table td {
border-bottom: 1px solid #252631;
border-right: unset;
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
background-color: #82848a78;
}
.el-table th {
border: unset;
// background-color: #263b5d !important;
}
.el-table--fit {
background: none !important;
border: unset;
}
.el-icon-delete-solid {
color: red;
cursor: pointer;
font-size: 18px;
}
.el-icon-edit {
color: #1172d8;
cursor: pointer;
font-size: 20px;
}
.el-icon-view {
color: #00ffff;
font-size: 20px;
cursor: pointer;
}
.el-table--group::after,
.el-table--border::after,
.el-table::before {
background-color: unset;
}
.pagination-div {
width: 100%;
height: 50px;
.el-pagination {
margin-top: 9px;
text-align: right;
.el-pagination__jump {
color: white;
}
.el-pagination__total {
color: white;
}
}
.myPagination.is-background .el-pager li:not(.disabled).active {
color: #fff;
border: 1px solid #146a80;
box-shadow: 0 0 10px #1b6097;
background-color: #1d2d46;
}
}
}
</style>
\ No newline at end of file
<template>
<div id="drdc_literature">
<el-table ref="multipleTables" class="table-div" :data="data_list" tooltip-effect="dark" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="originName" label="文件名" align="center" show-overflow-tooltip></el-table-column>
<el-table-column prop="suffix" label="文件类型" align="center" show-overflow-tooltip></el-table-column>
<el-table-column label="文件大小(KB)" align="center">
<template slot-scope="scope">
<span>{{ (scope.row.size/1024).toFixed(1)+"kb"}}</span>
</template>
</el-table-column>
<el-table-column prop="createTime" label="创建时间" align="center"></el-table-column>
</el-table>
<div class="pagination-div">
<el-pagination class="myPagination" background layout="total, sizes, prev, pager, next, jumper" :current-page="currentPage" @size-change="handleSizeChange" :page-size="everySize" :total="total" :page-sizes="[10,20,50,100]" @current-change="handleCurrentChange">
</el-pagination>
</div>
</div>
</template>
<script>
import { get, post, startLoading, endLoading } from '../../util/http_util';
export default {
components: { },
data() {
return {
currentPage: 1,
everySize: 10,
total: 0,
multipleSelection:[],
data_list:[],
stTime:null,
edTime:null,
};
},
props: {
clientDetails: {
type: Object,
default: {},
},
},
methods: {
//勾选
handleSelectionChange(val) {
this.multipleSelection = val.map(e=>e.id);
this.$emit('change_Select',this.multipleSelection);
},
//查询
search(){
startLoading();
get('api/rest/document/queryLiterature?pageNum=' + this.currentPage + '&pageSize=' + this.everySize).then(res => {
this.data_list = res.list;
this.total = res.totals;
endLoading()
}).catch(err => {
endLoading()
this.$message.warning(err.message);
})
},
//分页
handleCurrentChange(pageNum) {
this.currentPage = pageNum;
this.search(pageNum);
},
//分页的pageSize改变事件
handleSizeChange(val) {
this.everySize = val;
this.currentPage = 1;
this.search(1);
},
},
watch:{
clientDetails: function (val) {
this.stTime= val.stTime;
this.edTime= val.edTime;
this.search();
}
}
};
</script>
<style lang="scss">
#drdc_literature{
width: 100%;
height: 100%;
.table-div {
width: 100%;
height: calc(100% - 50px);
}
.el-table tr {
background-color: transparent !important;
color: #ffffffc7;
}
.el-table thead tr {
height: 40px;
background: url(../../assets/img/setting/tr1.png) no-repeat;
background-size: 100% 100%;
}
.el-table th{
background-color: transparent;
}
tbody tr {
border-bottom: 1px solid #252631;
}
.el-table td {
border-bottom: 1px solid #252631;
border-right: unset;
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
background-color: #82848a78;
}
.el-table th {
border: unset;
// background-color: #263b5d !important;
}
.el-table--fit {
background: none !important;
border: unset;
}
.el-icon-delete-solid {
color: red;
cursor: pointer;
font-size: 18px;
}
.el-icon-edit {
color: #1172d8;
cursor: pointer;
font-size: 20px;
}
.el-icon-view {
color: #00ffff;
font-size: 20px;
cursor: pointer;
}
.el-table--group::after,
.el-table--border::after,
.el-table::before {
background-color: unset;
}
.pagination-div {
width: 100%;
height: 50px;
.el-pagination {
margin-top: 9px;
text-align: right;
.el-pagination__jump {
color: white;
}
.el-pagination__total {
color: white;
}
}
.myPagination.is-background .el-pager li:not(.disabled).active {
color: #fff;
border: 1px solid #146a80;
box-shadow: 0 0 10px #1b6097;
background-color: #1d2d46;
}
}
}
</style>
\ No newline at end of file
<template>
<div id="drdc_mould">
<el-table ref="multipleTables" class="table-div" :data="data_list" tooltip-effect="dark" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="name" label="模板名称" align="center" show-overflow-tooltip></el-table-column>
<el-table-column prop="type" label="模板类型" align="center" show-overflow-tooltip></el-table-column>
<el-table-column prop="createTime" label="创建时间" align="center"></el-table-column>
</el-table>
<div class="pagination-div">
<el-pagination class="myPagination" background layout="total, sizes, prev, pager, next, jumper" :current-page="currentPage" @size-change="handleSizeChange" :page-size="everySize" :total="total" :page-sizes="[10,20,50,100]" @current-change="handleCurrentChange">
</el-pagination>
</div>
</div>
</template>
<script>
import { get, post, startLoading, endLoading } from '../../util/http_util';
export default {
components: { },
data() {
return {
currentPage: 1,
everySize: 10,
total: 0,
multipleSelection:[],
data_list:[],
stTime:null,
edTime:null,
};
},
props: {
clientDetails: {
type: Object,
default: {},
},
},
methods: {
//勾选
handleSelectionChange(val) {
this.multipleSelection = val.map(e=>e.id);
this.$emit('change_Select',this.multipleSelection);
},
//查询
search(pageNum){
startLoading();
this.currentPage = pageNum;
get('api/rest/resource/queryCharacterMould?').then(res => {
this.data_list = res;
this.total = res.totals;
endLoading()
}).catch(err => {
endLoading()
this.$message.warning(err.message);
})
},
//分页
handleCurrentChange(pageNum) {
this.currentPage = pageNum;
this.search(pageNum);
},
//分页的pageSize改变事件
handleSizeChange(val) {
this.everySize = val;
this.currentPage = 1;
this.search(1);
},
},
watch:{
clientDetails: function (val) {
this.stTime= val.stTime;
this.edTime= val.edTime;
this.search(1);
}
}
};
</script>
<style lang="scss">
#drdc_mould{
width: 100%;
height: 100%;
.table-div {
width: 100%;
height: calc(100% - 50px);
}
.el-table tr {
background-color: transparent !important;
color: #ffffffc7;
}
.el-table thead tr {
height: 40px;
background: url(../../assets/img/setting/tr1.png) no-repeat;
background-size: 100% 100%;
}
.el-table th{
background-color: transparent;
}
tbody tr {
border-bottom: 1px solid #252631;
}
.el-table td {
border-bottom: 1px solid #252631;
border-right: unset;
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
background-color: #82848a78;
}
.el-table th {
border: unset;
// background-color: #263b5d !important;
}
.el-table--fit {
background: none !important;
border: unset;
}
.el-icon-delete-solid {
color: red;
cursor: pointer;
font-size: 18px;
}
.el-icon-edit {
color: #1172d8;
cursor: pointer;
font-size: 20px;
}
.el-icon-view {
color: #00ffff;
font-size: 20px;
cursor: pointer;
}
.el-table--group::after,
.el-table--border::after,
.el-table::before {
background-color: unset;
}
.pagination-div {
width: 100%;
height: 50px;
.el-pagination {
margin-top: 9px;
text-align: right;
.el-pagination__jump {
color: white;
}
.el-pagination__total {
color: white;
}
}
.myPagination.is-background .el-pager li:not(.disabled).active {
color: #fff;
border: 1px solid #146a80;
box-shadow: 0 0 10px #1b6097;
background-color: #1d2d46;
}
}
}
</style>
\ No newline at end of file
<template>
<div id="drdc_news">
<el-table ref="multipleTables" class="table-div" :data="newsData" tooltip-effect="dark"
@selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="website_name" label="新闻来源" align="center" show-overflow-tooltip></el-table-column>
<el-table-column prop="title" label="新闻标题" align="center" show-overflow-tooltip></el-table-column>
<el-table-column prop="pubdate" label="发布时间" align="center"></el-table-column>
<el-table-column width="140" prop="website_img" label="包含图片" align="center"
:formatter="fileData"></el-table-column>
<el-table-column width="140" label="首页显示" align="center">
<template slot-scope="scope">
<span>{{ scope.row.original ? '' : '' }}</span>
</template>
</el-table-column>
</el-table>
<div class="pagination-div">
<el-pagination class="myPagination" background layout="total, sizes, prev, pager, next, jumper"
:current-page="currentPage" @size-change="handleSizeChange" :page-size="everySize" :total="total"
:page-sizes="[10, 20, 50, 100]" @current-change="handleCurrentChange">
</el-pagination>
</div>
</div>
</template>
<script>
import { get, post, fileUpload, startLoading, endLoading } from '../../util/http_util';
export default {
components: {},
data() {
return {
currentPage: 1,
everySize: 10,
total: 0,
multipleSelection: [],
newsData: [],
stTime: null,
edTime: null,
};
},
props: {
clientDetails: {
type: Object,
default: {},
},
},
methods: {
handleSelectionChange(val) {
let list = [], listImg = [];
for (let i = 0; i < val.length; i++) {
list.push(val[i].id);
val[i].website_img && val[i].website_img.length > 0 && (listImg = listImg.concat(val[i].website_img));
}
this.multipleSelection = list;
this.$emit('change_Select', this.multipleSelection);
},
search(pageNum) {
startLoading();
this.currentPage = pageNum;
let obj = {};
obj.topic = null;
obj.title = null;
obj.stTime = this.stTime;
obj.edTime = this.edTime;
post('api/rest/fulltext/queryNews?pageNum=' + pageNum + '&pageSize=' + this.everySize, obj).then(res => {
this.newsData = res.list;
this.total = res.totals;
endLoading()
}).catch(err => {
endLoading()
this.$message.warning(err.message);
// this.$message.error(err.message);
})
},
//分页
handleCurrentChange(pageNum) {
this.currentPage = pageNum;
this.search(pageNum);
},
handleSizeChange(val) {
this.everySize = val;
this.currentPage = 1;
this.search(1);
},
fileData(row) {
if (row.website_img != null && row.website_img.length > 0) {
return '';
} else {
return '';
}
},
},
activated() {
},
watch: {
clientDetails: function (val) {
this.stTime = val.stTime;
this.edTime = val.edTime;
this.search(1);
}
}
};
</script>
<style lang="scss">
#drdc_news {
width: 100%;
height: 100%;
.table-div {
width: 100%;
height: calc(100% - 50px);
}
.el-table tr {
background-color: transparent !important;
color: #ffffffc7;
}
.el-table thead tr {
height: 40px;
background: url(../../assets/img/setting/tr1.png) no-repeat;
background-size: 100% 100%;
}
.el-table th {
background-color: transparent;
}
tbody tr {
border-bottom: 1px solid #252631;
}
.el-table td {
border-bottom: 1px solid #252631;
border-right: unset;
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
background-color: #82848a78;
}
.el-table th {
border: unset;
// background-color: #263b5d !important;
}
.el-table--fit {
background: none !important;
border: unset;
}
.el-icon-delete-solid {
color: red;
cursor: pointer;
font-size: 18px;
}
.el-icon-edit {
color: #1172d8;
cursor: pointer;
font-size: 20px;
}
.el-icon-view {
color: #00ffff;
font-size: 20px;
cursor: pointer;
}
.el-table--group::after,
.el-table--border::after,
.el-table::before {
background-color: unset;
}
.pagination-div {
width: 100%;
height: 50px;
.el-pagination {
margin-top: 9px;
text-align: right;
.el-pagination__jump {
color: white;
}
.el-pagination__total {
color: white;
}
}
.myPagination.is-background .el-pager li:not(.disabled).active {
color: #fff;
border: 1px solid #146a80;
box-shadow: 0 0 10px #1b6097;
background-color: #1d2d46;
}
}
}</style>
\ No newline at end of file
<template>
<div id="drdc_twitter">
<el-table ref="multipleTables" class="table-div" :data="data_list" tooltip-effect="dark"
@selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="timestr" label="发布时间" align="center"></el-table-column>
<el-table-column prop="country" label="国家" align="center" show-overflow-tooltip></el-table-column>
<el-table-column prop="tweets_content" label="内容" align="center" show-overflow-tooltip></el-table-column>
</el-table>
<div class="pagination-div">
<el-pagination class="myPagination" background layout="total, sizes, prev, pager, next, jumper"
:current-page="currentPage" @size-change="handleSizeChange" :page-size="everySize" :total="total"
:page-sizes="[10, 20, 50, 100]" @current-change="handleCurrentChange">
</el-pagination>
</div>
</div>
</template>
<script>
import { get, post, startLoading, endLoading } from '../../util/http_util';
export default {
components: {},
data() {
return {
currentPage: 1,
everySize: 10,
total: 0,
multipleSelection: [],
data_list: [],
stTime: null,
edTime: null,
};
},
props: {
clientDetails: {
type: Object,
default: {},
},
},
methods: {
handleSelectionChange(val) {
this.multipleSelection = val.map(e => e.id);
this.$emit('change_Select', this.multipleSelection);
},
search(pageNum) {
startLoading();
this.currentPage = pageNum;
let param = JSON.parse(JSON.stringify({ stTime: this.stTime, edTime: this.edTime }));
post('api/rest/fulltext/queryTwitter?pageNum=' + pageNum + '&pageSize=' + this.everySize, param).then(res => {
this.data_list = res.list;
this.total = res.totals;
endLoading()
}).catch(err => {
endLoading()
this.$message.warning(err.message);
})
},
//分页
handleCurrentChange(pageNum) {
this.currentPage = pageNum;
this.search(pageNum);
},
handleSizeChange(val) {
this.everySize = val;
this.currentPage = 1;
this.search(1);
},
},
watch: {
clientDetails: function (val) {
this.stTime = val.stTime;
this.edTime = val.edTime;
this.search(1);
}
}
};
</script>
<style lang="scss">
#drdc_twitter {
width: 100%;
height: 100%;
.table-div {
width: 100%;
height: calc(100% - 50px);
}
.el-table tr {
background-color: transparent !important;
color: #ffffffc7;
}
.el-table thead tr {
height: 40px;
background: url(../../assets/img/setting/tr1.png) no-repeat;
background-size: 100% 100%;
}
.el-table th {
background-color: transparent;
}
tbody tr {
border-bottom: 1px solid #252631;
}
.el-table td {
border-bottom: 1px solid #252631;
border-right: unset;
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
background-color: #82848a78;
}
.el-table th {
border: unset;
// background-color: #263b5d !important;
}
.el-table--fit {
background: none !important;
border: unset;
}
.el-icon-delete-solid {
color: red;
cursor: pointer;
font-size: 18px;
}
.el-icon-edit {
color: #1172d8;
cursor: pointer;
font-size: 20px;
}
.el-icon-view {
color: #00ffff;
font-size: 20px;
cursor: pointer;
}
.el-table--group::after,
.el-table--border::after,
.el-table::before {
background-color: unset;
}
.pagination-div {
width: 100%;
height: 50px;
.el-pagination {
margin-top: 9px;
text-align: right;
.el-pagination__jump {
color: white;
}
.el-pagination__total {
color: white;
}
}
.myPagination.is-background .el-pager li:not(.disabled).active {
color: #fff;
border: 1px solid #146a80;
box-shadow: 0 0 10px #1b6097;
background-color: #1d2d46;
}
}
}</style>
\ No newline at end of file
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
* 在无法通过服务获取菜单的时候可以使用静态菜单 * 在无法通过服务获取菜单的时候可以使用静态菜单
*/ */
var home = require("../view/home.vue"); var home = require("../view/home.vue");
var yqjc = require("../view/yqjc/yqjc.vue"); var yqjc = require("../view/dfzy/dfzy.vue");
var rdsj = require("../view/yqjc/rdsj.vue"); var rdsj = require("../view/dfzy/dfzyjgk.vue");
let constantRoute = { let constantRoute = {
path: '/', path: '/',
......
...@@ -37,10 +37,6 @@ const constantRoutes = [{ ...@@ -37,10 +37,6 @@ const constantRoutes = [{
path: '/homepage', path: '/homepage',
name: '模块页面', name: '模块页面',
component: () => import('../view/homepage.vue') component: () => import('../view/homepage.vue')
}, {
path: '/chatRoom',
name: '学习训练平台',
component: () => import('../view/chatRoom.vue')
}, { }, {
path: '/dfzyrwxq', path: '/dfzyrwxq',
name: '敌方人物详情', name: '敌方人物详情',
......
...@@ -7,22 +7,22 @@ export default[ ...@@ -7,22 +7,22 @@ export default[
parent_name: "敌方资源"//人物详情对应的一级菜单名称 parent_name: "敌方资源"//人物详情对应的一级菜单名称
} }
}, },
{ // {
name: "战场环境人物详情", // name: "战场环境人物详情",
path: "/zchj_rw_xq_zchj", // path: "/zchj_rw_xq_zchj",
component:() => import(`../view/zchj/zchj_rw_xq.vue`), // component:() => import(`../view/zchj/zchj_rw_xq.vue`),
meta: { // meta: {
parent_name: "战场环境"//人物详情对应的一级菜单名称 // parent_name: "战场环境"//人物详情对应的一级菜单名称
} // }
}, // },
{ // {
name: "我方人物详情", // name: "我方人物详情",
path: "/wfzy_rw_xq_wfzy", // path: "/wfzy_rw_xq_wfzy",
component:() => import(`../view/wfzy/wfzy_rw_xq.vue`), // component:() => import(`../view/wfzy/wfzy_rw_xq.vue`),
meta: { // meta: {
parent_name: "我方资源"//人物详情对应的一级菜单名称 // parent_name: "我方资源"//人物详情对应的一级菜单名称
} // }
}, // },
{ {
name: "敌方资源机构详情", name: "敌方资源机构详情",
path: "/jq_xq_dfzy_dfzy", path: "/jq_xq_dfzy_dfzy",
...@@ -31,22 +31,22 @@ export default[ ...@@ -31,22 +31,22 @@ export default[
parent_name: "敌方资源"//人物详情对应的一级菜单名称 parent_name: "敌方资源"//人物详情对应的一级菜单名称
} }
}, },
{ // {
name: "战场环境机构详情", // name: "战场环境机构详情",
path: "/jq_xq_zchj_zchj", // path: "/jq_xq_zchj_zchj",
component:() => import(`../view/zchj/jq_xq_zchj.vue`), // component:() => import(`../view/zchj/jq_xq_zchj.vue`),
meta: { // meta: {
parent_name: "战场环境"//人物详情对应的一级菜单名称 // parent_name: "战场环境"//人物详情对应的一级菜单名称
} // }
}, // },
{ // {
name: "我方资源机构详情", // name: "我方资源机构详情",
path: "/jq_xq_wfzy_wfzy", // path: "/jq_xq_wfzy_wfzy",
component:() => import(`../view/wfzy/jq_xq_wfzy.vue`), // component:() => import(`../view/wfzy/jq_xq_wfzy.vue`),
meta: { // meta: {
parent_name: "我方资源"//人物详情对应的一级菜单名称 // parent_name: "我方资源"//人物详情对应的一级菜单名称
} // }
}, // },
{ {
name: "新闻详情", name: "新闻详情",
path: "/news_info_yqjc", path: "/news_info_yqjc",
...@@ -55,14 +55,14 @@ export default[ ...@@ -55,14 +55,14 @@ export default[
parent_name: "舆情监测" parent_name: "舆情监测"
} }
}, },
{ // {
name: "数据管理新闻详情", // name: "数据管理新闻详情",
path: "/news_info_sjgl", // path: "/news_info_sjgl",
component:() => import(`../view/sjgl/news_info.vue`), // component:() => import(`../view/sjgl/news_info.vue`),
meta: { // meta: {
parent_name: "数据管理" // parent_name: "数据管理"
} // }
}, // },
{ {
name: "Twitter详情", name: "Twitter详情",
path: "/external_info", path: "/external_info",
...@@ -87,22 +87,22 @@ export default[ ...@@ -87,22 +87,22 @@ export default[
parent_name: "敌方资源" parent_name: "敌方资源"
} }
}, },
{ // {
name: "Twitter热搜列表", // name: "Twitter热搜列表",
path: "/socialContact", // path: "/socialContact",
component:() => import(`../view/yqjc/socialContact.vue`), // component:() => import(`../view/yqjc/socialContact.vue`),
meta: { // meta: {
parent_name: "舆情监测" // parent_name: "舆情监测"
} // }
}, // },
{ // {
name: "我方人员详情", // name: "我方人员详情",
path: "/wfrwInfo", // path: "/wfrwInfo",
component:() => import(`../view/wfzy/wfrwInfo.vue`), // component:() => import(`../view/wfzy/wfrwInfo.vue`),
meta: { // meta: {
parent_name: "我方资源" // parent_name: "我方资源"
} // }
}, // },
{ {
name: "编辑人员详情", name: "编辑人员详情",
path: "/rw_xq_sjgl", path: "/rw_xq_sjgl",
...@@ -119,14 +119,14 @@ export default[ ...@@ -119,14 +119,14 @@ export default[
parent_name: "敌方资源" parent_name: "敌方资源"
} }
}, },
{ // {
name: "智库详情", // name: "智库详情",
path: "/zk_info", // path: "/zk_info",
component:() => import(`../view/yqjc/zk_info.vue`), // component:() => import(`../view/yqjc/zk_info.vue`),
meta: { // meta: {
parent_name: "舆情监测" // parent_name: "舆情监测"
} // }
}, // },
{ {
name: "文档", name: "文档",
path: "/doc", path: "/doc",
......
This diff is collapsed.
...@@ -172,9 +172,9 @@ export default { ...@@ -172,9 +172,9 @@ export default {
}, },
handleClose(key, keyPath) { }, handleClose(key, keyPath) { },
show_zd() { show_zd() {
this.$router.push("zyzdy"); this.$router.push("zyzdy");
// this.activeIndex = "0"; // this.activeIndex = "0";
this.$store.commit("activeIndex", "0"); this.$store.commit("activeIndex", "0");
}, },
handleClose(done) { handleClose(done) {
done(); done();
......
<template>
<div class="countfileupload">
<div class="choice">
<el-input
class="input-content public-input"
v-model="searchText"
placeholder="用户名"
></el-input>
<div class="sjxz">
<el-date-picker
value-format="yyyy-MM-dd"
v-model="sc_time"
type="daterange"
range-separator="至"
start-placeholder="开始时间"
end-placeholder="结束时间"
:default-time="['00:00:00', '23:59:59']"
>
</el-date-picker>
</div>
<div class="button-search" @click="search()">搜索</div>
</div>
<div class="management-content">
<div class="info">
<div class="shift-model" @click="shiftModel">
<img :src="img3" alt="" />&nbsp;切换
</div>
<keep-alive>
<div :is="com" :condition="con" ref="child"></div>
</keep-alive>
</div>
</div>
</div>
</template>
<script>
import img3 from "../../assets/img/setting/04.png";
import logtable from "../../components/log/logtable.vue"
import loggraph from "../../components/log/loggraph.vue"
export default {
data(){
return{
img3: img3,
active: 0,
searchText: null,
com: 'logtable',
comList: ['logtable', 'loggraph'],
sc_time:''
}
},
methods:{
search(){
this.$refs.child.search();
},
shiftModel(){
this.active++;
this.com = this.comList[this.active%this.comList.length];
}
},
mounted(){
this.search();
},
computed:{
con(){
return{username: this.searchText,startTime:this.sc_time!=''&&this.sc_time!=null?this.sc_time[0]+' 00:00:00':null,endTime:this.sc_time!=''&&this.sc_time!=null?this.sc_time[1]+' 23:59:59':null}
}
},
components:{
logtable,
loggraph
}
}
</script>
<style lang="scss">
.countfileupload {
width: 100%;
height: 100%;
margin: 0%;
padding: 20px;
box-sizing: border-box;
overflow: hidden;
.choice {
width: 100%;
height: 40px;
margin-top: 20px;
padding-left: 20px;
box-sizing: border-box;
.input-content {
width: 200px;
height: 40px;
float: left;
input {
height: 40px;
color: white;
border-radius: 0px;
border: 1px solid #1c678a;
background: none !important;
}
}
.button-search {
width: 100px;
height: 30px;
line-height: 30px;
margin-top: 4px;
float: left;
margin-left: 20px;
text-align: center;
cursor: pointer;
background-image: url(../../assets/img/yqjc/40.png);
background-repeat: no-repeat;
background-size: 100% 100%;
font-size: 13px;
}
.sjxz {
width: 350px;
float: left;
margin-left: 20px;
.el-date-editor {
background: none;
span {
color: white;
}
.el-range-input {
color: white;
background: none;
}
}
.el-input__inner {
box-shadow: 0 0 10px #1b6097;
border: 1px solid #146a80 !important;
}
}
}
.management-content {
width: 100%;
height: calc(100% - 60px);
padding: 10px;
padding-top: 0px;
box-sizing: border-box;
.info {
width: 100%;
height: 100%;
padding: 20px;
padding-top: 40px;
box-sizing: border-box;
// background: url(../../assets/img/setting/01.png) no-repeat;
// background-size: 100% 100%;
.shift-model {
width: 120px;
height: 30px;
line-height: 30px;
padding-left: 12px;
text-align: center;
float: right;
margin-top: -25px;
cursor: pointer;
background: url(../../assets/img/setting/08.png) no-repeat;
background-size: 100% 100%;
}
}
}
/*修改滚动条样式*/
tbody::-webkit-scrollbar {
width: 10px;
height: 10px;
/**/
}
tbody::-webkit-scrollbar-track {
background: #146c7e;
border-radius: 2px;
}
tbody::-webkit-scrollbar-thumb {
background: #00ffff;
border-radius: 10px;
}
tbody::-webkit-scrollbar-thumb:hover {
background: #00ffff;
}
tbody::-webkit-scrollbar-corner {
background: #179a16;
}
}
</style>
\ No newline at end of file
<template>
<div class="countnewedit">
<div class="choice">
<!-- <el-input
class="input-content public-input"
v-model="searchText"
placeholder="用户名"
></el-input> -->
<div class="sjxz">
<el-date-picker
value-format="yyyy-MM-dd"
v-model="sc_time"
type="daterange"
range-separator="至"
start-placeholder="开始时间"
end-placeholder="结束时间"
:default-time="['00:00:00', '23:59:59']"
>
</el-date-picker>
</div>
<div class="button-search" @click="search()">搜索</div>
</div>
<div class="management-content">
<div class="info">
<!-- <div class="shift-model">
<img :src="img3" alt="" />&nbsp;
</div> -->
<keep-alive>
<div :is="com" :condition="con" ref="child"></div>
</keep-alive>
</div>
</div>
</div>
</template>
<script>
import img3 from "../../assets/img/setting/04.png";
import loggraph from "../../components/log/loggraph_new_edit.vue"
export default {
data(){
return{
img3: img3,
active: 0,
com: 'loggraph',
comList: [ 'loggraph'],
sc_time:''
}
},
methods:{
search(){
this.$refs.child.search();
},
shiftModel(){
this.active++;
this.com = this.comList[this.active%this.comList.length];
}
},
mounted(){
this.search();
},
computed:{
con(){
return{startTime:this.sc_time!='' && this.sc_time != null?this.sc_time[0]+' 00:00:00':null,endTime:this.sc_time!='' && this.sc_time != null?this.sc_time[1]+' 23:59:59':null}
}
},
components:{
loggraph
}
}
</script>
<style lang="scss">
.countnewedit {
width: 100%;
height: 100%;
margin: 0%;
padding: 20px;
box-sizing: border-box;
overflow: hidden;
.choice {
width: 100%;
height: 40px;
margin-top: 20px;
padding-left: 20px;
box-sizing: border-box;
.input-content {
width: 200px;
height: 40px;
float: left;
input {
height: 40px;
color: white;
border-radius: 0px;
border: 1px solid #1c678a;
background: none !important;
}
}
.button-search {
width: 100px;
height: 30px;
line-height: 30px;
margin-top: 4px;
float: left;
margin-left: 20px;
text-align: center;
cursor: pointer;
background-image: url(../../assets/img/yqjc/40.png);
background-repeat: no-repeat;
background-size: 100% 100%;
font-size: 13px;
}
.sjxz {
width: 350px;
float: left;
margin-left: 20px;
.el-date-editor {
background: none;
span {
color: white;
}
.el-range-input {
color: white;
background: none;
}
}
.el-input__inner {
box-shadow: 0 0 10px #1b6097;
border: 1px solid #146a80 !important;
}
}
}
.management-content {
width: 100%;
height: calc(100% - 60px);
padding: 10px;
padding-top: 0px;
box-sizing: border-box;
.info {
width: 100%;
height: 100%;
padding: 20px;
padding-top: 40px;
box-sizing: border-box;
background: url(../../assets/img/setting/01.png) no-repeat;
background-size: 100% 100%;
.shift-model {
width: 120px;
height: 30px;
line-height: 30px;
padding-left: 12px;
text-align: center;
float: right;
margin-top: -25px;
cursor: pointer;
background: url(../../assets/img/setting/08.png) no-repeat;
background-size: 100% 100%;
}
}
}
/*修改滚动条样式*/
tbody::-webkit-scrollbar {
width: 10px;
height: 10px;
/**/
}
tbody::-webkit-scrollbar-track {
background: #146c7e;
border-radius: 2px;
}
tbody::-webkit-scrollbar-thumb {
background: #00ffff;
border-radius: 10px;
}
tbody::-webkit-scrollbar-thumb:hover {
background: #00ffff;
}
tbody::-webkit-scrollbar-corner {
background: #179a16;
}
}
</style>
\ No newline at end of file
<template>
<div class="countnewupload">
<div class="choice">
<el-input
class="input-content public-input"
v-model="searchText"
placeholder="用户名"
></el-input>
<div class="sjxz">
<el-date-picker
value-format="yyyy-MM-dd"
v-model="sc_time"
type="daterange"
range-separator="至"
start-placeholder="开始时间"
end-placeholder="结束时间"
:default-time="['00:00:00', '23:59:59']"
>
</el-date-picker>
</div>
<div class="button-search" @click="search()">搜索</div>
</div>
<div class="management-content">
<div class="info">
<div class="shift-model" @click="shiftModel">
<img :src="img3" alt="" />&nbsp;切换
</div>
<keep-alive>
<div :is="com" :condition="con" ref="child"></div>
</keep-alive>
</div>
</div>
</div>
</template>
<script>
import img3 from "../../assets/img/setting/04.png";
import logtable from "../../components/log/logtable_new.vue"
import loggraph from "../../components/log/loggraph_new.vue"
export default {
data(){
return{
img3: img3,
active: 0,
searchText: null,
com: 'logtable',
comList: ['logtable', 'loggraph'],
sc_time:''
}
},
methods:{
search(){
this.$refs.child.search();
},
shiftModel(){
this.active++;
this.com = this.comList[this.active%this.comList.length];
}
},
mounted(){
this.search();
},
computed:{
con(){
return{username: this.searchText,startTime:this.sc_time!='' && this.sc_time != null?this.sc_time[0]+' 00:00:00':null,endTime:this.sc_time!='' && this.sc_time != null?this.sc_time[1]+' 23:59:59':null,}
}
},
components:{
logtable,
loggraph
}
}
</script>
<style lang="scss">
.countnewupload {
width: 100%;
height: 100%;
margin: 0%;
padding: 20px;
box-sizing: border-box;
overflow: hidden;
.choice {
width: 100%;
height: 40px;
margin-top: 20px;
padding-left: 20px;
box-sizing: border-box;
.input-content {
width: 200px;
height: 40px;
float: left;
input {
height: 40px;
color: white;
border-radius: 0px;
border: 1px solid #1c678a;
background: none !important;
}
}
.button-search {
width: 100px;
height: 30px;
line-height: 30px;
margin-top: 4px;
float: left;
margin-left: 20px;
text-align: center;
cursor: pointer;
background-image: url(../../assets/img/yqjc/40.png);
background-repeat: no-repeat;
background-size: 100% 100%;
font-size: 13px;
}
.sjxz {
width: 350px;
float: left;
margin-left: 20px;
.el-date-editor {
background: none;
span {
color: white;
}
.el-range-input {
color: white;
background: none;
}
}
.el-input__inner {
box-shadow: 0 0 10px #1b6097;
border: 1px solid #146a80 !important;
}
}
}
.management-content {
width: 100%;
height: calc(100% - 60px);
padding: 10px;
padding-top: 0px;
box-sizing: border-box;
.info {
width: 100%;
height: 100%;
padding: 20px;
padding-top: 40px;
box-sizing: border-box;
background: url(../../assets/img/setting/01.png) no-repeat;
background-size: 100% 100%;
.shift-model {
width: 120px;
height: 30px;
line-height: 30px;
padding-left: 12px;
text-align: center;
float: right;
margin-top: -25px;
cursor: pointer;
background: url(../../assets/img/setting/08.png) no-repeat;
background-size: 100% 100%;
}
}
}
/*修改滚动条样式*/
tbody::-webkit-scrollbar {
width: 10px;
height: 10px;
/**/
}
tbody::-webkit-scrollbar-track {
background: #146c7e;
border-radius: 2px;
}
tbody::-webkit-scrollbar-thumb {
background: #00ffff;
border-radius: 10px;
}
tbody::-webkit-scrollbar-thumb:hover {
background: #00ffff;
}
tbody::-webkit-scrollbar-corner {
background: #179a16;
}
}
</style>
\ No newline at end of file
<template>
<el-container class="myContainer">
<el-header class="myHeader">
<el-menu default-active="1" class="second-router" mode="horizontal" @open="handleOpen" @close="handleClose"
background-color="transparent" text-color="#fff" @select="handleSelect">
<template v-for="(item, index) in module">
<el-menu-item :class="index == choice_status ? 'change-bg' : 'change-bg1'"
:index="(index + 1).toString()" @click="href_choice(item, index)">
<div>
<i :class="item.icon"></i>
<span v-text="item.name"></span>
</div>
</el-menu-item>
</template>
</el-menu>
</el-header>
<el-main class="myMain">
<keep-alive>
<router-view> </router-view>
</keep-alive>
</el-main>
</el-container>
</template>
<style lang="scss">
.myContainer {
width: 100%;
height: 100%;
margin: 0;
box-sizing: border-box;
overflow: hidden;
.myHeader {
width: 100%;
height: 40px !important;
padding: 0px 60px;
.el-menu.el-menu--horizontal {
border: none;
&>.el-menu-item {
height: 40px;
line-height: 40px;
border-bottom: none !important;
&:not(:first-child) {
margin-left: 10px;
}
}
}
}
.myMain {
width: 100%;
height: calc(100% - 40px);
padding: 0px 20px !important;
background-color: transparent;
}
}
</style>
<script>
import li_hover from "../../assets/img/main/04.png";
import bottom from "../../assets/img/main/bottom.png";
export default {
name: 'user',
data() {
return {
li_hover: li_hover,
bottom: bottom,
module: [],
index: 0,
choice_status: 0,
}
},
methods: {
handleOpen(key, keyPath) {
console.log(key, keyPath);
},
handleClose(key, keyPath) {
console.log(key, keyPath);
},
href_choice(item, index) {
this.choice_status = index;
this.$router.push(item.path);
},
handleSelect(key, keyPath) { },
},
mounted() {
this.module = this.$store.state.navList[0].children.
filter(e=>e.meta && e.meta.code == this.$route.meta.parentCode)[0].children.
filter(e=>e.icon);
},
computed:{
}
}
</script>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<template>
<div id="wfzy">
<div class="left-nav">
<el-menu default-active="1" class="el-menu-vertical-demo second-router" @open="handleOpen" @close="handleClose" background-color="transparent" text-color="#fff" @select="handleSelect">
<template v-for="(item, index) in module">
<el-menu-item :class="index == choice_status ? 'change-bg' : 'change-bg1'" :index="(index + 1).toString()" @click="href_choice(item, index)">
<div>
<i :class="item.icon"></i>
<span v-text="item.name"></span>
</div>
</el-menu-item>
</template>
</el-menu>
</div>
<div class="right-nav">
<keep-alive>
<router-view> </router-view>
</keep-alive>
</div>
</div>
</template>
<style lang="scss">
#wfzy {
width: 100%;
height: 100%;
margin: 0;
// padding: 20px;
box-sizing: border-box;
overflow: hidden;
.left-nav {
width: 7.5%;
// min-width: 144px;
height: 100%;
float: left;
background: url(../../assets/img/main/24.png) no-repeat;
background-size: 100% 100%;
}
.left-nav > ul {
width: 100%;
margin-top: 70%;
border-right: none !important;
}
.el-menu-item:hover,
.el-menu-item:focus {
outline: none;
background-color: transparent !important;
}
.bottom {
background-size: 100% 100%;
}
.right-nav {
width: 92.5%;
height: 100%;
float: left;
background: url(../../assets/img/main/25.png) no-repeat;
background-size: 100% 100%;
}
}
</style>
<script>
import li_hover from "../../assets/img/main/04.png";
import bottom from "../../assets/img/main/bottom.png";
export default {
name: 'wfzy',
data() {
return {
li_hover: li_hover,
bottom: bottom,
module: [
// { icon: "el-icon-s-opportunity", text: "法律法規", href: "flfg" },
// { icon: "el-icon-s-management", text: "处置预案", href: "czya" },
// { icon: "el-icon-s-claim", text: "内部文献", href: "nbwx" },
// { icon: "el-icon-s-marketing", text: "内部情报", href: "nbqb" },
// { icon: "el-icon-s-claim", text: "信息资料", href: "xxzl" },
// { icon: "el-icon-s-data", text: "内部人物", href: "flfg" },
// { icon: "el-icon-s-opportunity", text: "内部机构", href: "flfg" }
],
index: 0,
choice_status: 0,
}
},
methods: {
handleOpen(key, keyPath) {
console.log(key, keyPath);
},
handleClose(key, keyPath) {
console.log(key, keyPath);
},
href_choice(item, index) {
this.choice_status = index;
this.$router.push(item.path);
},
handleSelect(key, keyPath) { },
},
mounted() {
// this.$router.push('flfg');
this.module = this.$store.state.navList[0].children.
filter(e=>e.meta && e.meta.code == this.$route.meta.parentCode)[0].children.
filter(e=>e.icon);
},
computed:{
}
}
</script>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<li @click="relatedPerson">关联人物</li> <li @click="relatedPerson">关联人物</li>
<li @click="relatedOrganization">关联机构</li> <li @click="relatedOrganization">关联机构</li>
<li @click="addCollection">收藏</li> <li @click="addCollection">收藏</li>
<li @click="jczc">决策支持</li> <!-- <li @click="jczc">决策支持</li> -->
</ul> </ul>
</div> </div>
<!-- <el-dialog title="新增收藏夹" :visible.sync="dialogVisible" width="20%" :before-close="handleClose" center> <!-- <el-dialog title="新增收藏夹" :visible.sync="dialogVisible" width="20%" :before-close="handleClose" center>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment