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 @@
* 在无法通过服务获取菜单的时候可以使用静态菜单
*/
var home = require("../view/home.vue");
var yqjc = require("../view/yqjc/yqjc.vue");
var rdsj = require("../view/yqjc/rdsj.vue");
var yqjc = require("../view/dfzy/dfzy.vue");
var rdsj = require("../view/dfzy/dfzyjgk.vue");
let constantRoute = {
path: '/',
......
......@@ -37,10 +37,6 @@ const constantRoutes = [{
path: '/homepage',
name: '模块页面',
component: () => import('../view/homepage.vue')
}, {
path: '/chatRoom',
name: '学习训练平台',
component: () => import('../view/chatRoom.vue')
}, {
path: '/dfzyrwxq',
name: '敌方人物详情',
......
......@@ -7,22 +7,22 @@ export default[
parent_name: "敌方资源"//人物详情对应的一级菜单名称
}
},
{
name: "战场环境人物详情",
path: "/zchj_rw_xq_zchj",
component:() => import(`../view/zchj/zchj_rw_xq.vue`),
meta: {
parent_name: "战场环境"//人物详情对应的一级菜单名称
}
},
{
name: "我方人物详情",
path: "/wfzy_rw_xq_wfzy",
component:() => import(`../view/wfzy/wfzy_rw_xq.vue`),
meta: {
parent_name: "我方资源"//人物详情对应的一级菜单名称
}
},
// {
// name: "战场环境人物详情",
// path: "/zchj_rw_xq_zchj",
// component:() => import(`../view/zchj/zchj_rw_xq.vue`),
// meta: {
// parent_name: "战场环境"//人物详情对应的一级菜单名称
// }
// },
// {
// name: "我方人物详情",
// path: "/wfzy_rw_xq_wfzy",
// component:() => import(`../view/wfzy/wfzy_rw_xq.vue`),
// meta: {
// parent_name: "我方资源"//人物详情对应的一级菜单名称
// }
// },
{
name: "敌方资源机构详情",
path: "/jq_xq_dfzy_dfzy",
......@@ -31,22 +31,22 @@ export default[
parent_name: "敌方资源"//人物详情对应的一级菜单名称
}
},
{
name: "战场环境机构详情",
path: "/jq_xq_zchj_zchj",
component:() => import(`../view/zchj/jq_xq_zchj.vue`),
meta: {
parent_name: "战场环境"//人物详情对应的一级菜单名称
}
},
{
name: "我方资源机构详情",
path: "/jq_xq_wfzy_wfzy",
component:() => import(`../view/wfzy/jq_xq_wfzy.vue`),
meta: {
parent_name: "我方资源"//人物详情对应的一级菜单名称
}
},
// {
// name: "战场环境机构详情",
// path: "/jq_xq_zchj_zchj",
// component:() => import(`../view/zchj/jq_xq_zchj.vue`),
// meta: {
// parent_name: "战场环境"//人物详情对应的一级菜单名称
// }
// },
// {
// name: "我方资源机构详情",
// path: "/jq_xq_wfzy_wfzy",
// component:() => import(`../view/wfzy/jq_xq_wfzy.vue`),
// meta: {
// parent_name: "我方资源"//人物详情对应的一级菜单名称
// }
// },
{
name: "新闻详情",
path: "/news_info_yqjc",
......@@ -55,14 +55,14 @@ export default[
parent_name: "舆情监测"
}
},
{
name: "数据管理新闻详情",
path: "/news_info_sjgl",
component:() => import(`../view/sjgl/news_info.vue`),
meta: {
parent_name: "数据管理"
}
},
// {
// name: "数据管理新闻详情",
// path: "/news_info_sjgl",
// component:() => import(`../view/sjgl/news_info.vue`),
// meta: {
// parent_name: "数据管理"
// }
// },
{
name: "Twitter详情",
path: "/external_info",
......@@ -87,22 +87,22 @@ export default[
parent_name: "敌方资源"
}
},
{
name: "Twitter热搜列表",
path: "/socialContact",
component:() => import(`../view/yqjc/socialContact.vue`),
meta: {
parent_name: "舆情监测"
}
},
{
name: "我方人员详情",
path: "/wfrwInfo",
component:() => import(`../view/wfzy/wfrwInfo.vue`),
meta: {
parent_name: "我方资源"
}
},
// {
// name: "Twitter热搜列表",
// path: "/socialContact",
// component:() => import(`../view/yqjc/socialContact.vue`),
// meta: {
// parent_name: "舆情监测"
// }
// },
// {
// name: "我方人员详情",
// path: "/wfrwInfo",
// component:() => import(`../view/wfzy/wfrwInfo.vue`),
// meta: {
// parent_name: "我方资源"
// }
// },
{
name: "编辑人员详情",
path: "/rw_xq_sjgl",
......@@ -119,14 +119,14 @@ export default[
parent_name: "敌方资源"
}
},
{
name: "智库详情",
path: "/zk_info",
component:() => import(`../view/yqjc/zk_info.vue`),
meta: {
parent_name: "舆情监测"
}
},
// {
// name: "智库详情",
// path: "/zk_info",
// component:() => import(`../view/yqjc/zk_info.vue`),
// meta: {
// parent_name: "舆情监测"
// }
// },
{
name: "文档",
path: "/doc",
......
This diff is collapsed.
<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.
<template>
<div id="wfrwInfo">
<h1 v-text="people.name"></h1>
<div class="firstModel">
<div class="left-firstModel">
<div><span>基本信息:</span><span>更新时间:<span class="left-firstModel-update" v-text="people.firstModel.updataTime"></span></span></div>
<table>
<tr>
<td>中文名</td>
<td v-text="people.firstModel.table.zwm"></td>
<td>外文名</td>
<td v-text="people.firstModel.table.wwm"></td>
<td rowspan="7"><img :src="people.firstModel.table.img" alt="" /></td>
</tr>
<tr>
<td>所在机构</td>
<td v-text="people.firstModel.szjg" rowspan="3"></td>
</tr>
<tr>
<td>职务</td>
<td v-text="people.firstModel.table.zw"></td>
<td>国家</td>
<td v-text="people.firstModel.table.gj"></td>
</tr>
<tr>
<td>性别</td>
<td v-text="people.firstModel.table.xb"></td>
<td>出生日期</td>
<td v-text="people.firstModel.table.csrq"></td>
</tr>
<tr>
<td>出生地</td>
<td v-text="people.firstModel.table.csd"></td>
<td>服役时间</td>
<td v-text="people.firstModel.table.fysj"></td>
</tr>
<tr>
<td>军衔</td>
<td v-text="people.firstModel.table.jx"></td>
<td>军衔时间</td>
<td v-text="people.firstModel.table.jxsj"></td>
</tr>
<tr>
<td>军种/部门</td>
<td v-text="people.firstModel.table.jz"></td>
<td>现职时间</td>
<td v-text="people.firstModel.table.xzsj"></td>
</tr>
<tr>
<td>人员类别</td>
<td v-text="people.firstModel.table.rylb"></td>
<td>学历学位</td>
<td v-text="people.firstModel.table.xlxw"></td>
</tr>
<tr>
<td>专长领域</td>
<td colspan="4" v-text="people.firstModel.table.zcly"></td>
</tr>
<tr>
<td>家庭住址</td>
<td v-text="people.firstModel.table.jtzz" colspan="2"></td>
<td>联系电话</td>
<td v-text="people.firstModel.table.lxdh"></td>
</tr>
<tr>
<td>社交账号</td>
<td colspan="4" v-text="people.firstModel.table.sjzh"></td>
</tr>
<tr>
<td>岗位编号</td>
<td colspan="2" v-text="people.firstModel.table.gwbh"></td>
<td>人物编号</td>
<td v-text="people.firstModel.table.rwbh"></td>
</tr>
</table>
</div>
<div class="right-firstModel">
<ul class="right-firstModel-firstList">
<li>相关人物</li>
<li v-for="item in people.firstModel.firstList" v-text="item"></li>
</ul>
<ul class="right-firstModel-firstList">
<li>账号动态</li>
<li v-for="item in people.firstModel.secondList" >
<span>时间:<span v-text="item.sj"></span></span>
</li>
</ul>
</div>
</div>
</div>
</template>
<style lang="scss" >
#wfrwInfo {
width: 100%;
padding: 20px 100px;
box-sizing: border-box;
.left-firstModel {
width: 70%;
padding: 10px;
box-sizing: border-box;
}
.right-firstModel {
width: 30%;
padding: 10px;
box-sizing: border-box;
}
}
</style>
<script>
import defaultImage from '../../assets/img/dfzy/zwtp.png';
export default {
name: 'wfrwInfo',
data() {
return {
people: {
name: '马克•A•米莱',
firstModel: {
updataTime: "2021.03.31",
table: {
zwm: '马克•A•米莱',
wwm: 'Mark A. Milley',
img: defaultImage,
szjg: '美国参谋长联席会议',
zw: '主席',
gj: '美国',
xb: '',
csrq: '1958.06.18',
cds: '俄亥俄州',
fysj: '1976.09.01',
jx: '上将',
jxsj: '2014.12',
jz: '陆军',
xzsj: '2020.01',
rylb: '现役',
xlxw: '硕士',
zcly: '陆域;联合能力',
jtzz: '',
lxdh: '',
sjzh: '',
gwbh: '',
rwbh: ''
},
firstList: ["美国总统拜登", "美国国防部长奥斯汀", "菲利普", "戴威尔", "美国总统拜登", "美国国防部长奥斯汀", "菲利普", "戴威尔"],
secondList: [
{
sj: '2021.06.28.10:22:56',
ly: '推特账号@Mark A. Milley',
nr: '中国军队对台湾地区的军事压迫是美国所不能接受的,美国有义务维护自由开放印太......'
},
{
sj: '2021.06.28.10:22:56',
ly: '脸谱账号@Mark A. Milley',
nr: '中国军队对台湾地区的军事压迫是美国所不能接受的,美国有义务维护自由开放印太......'
}
],
}
}
}
},
methods: {},
activated() {
}
}
</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.
This diff is collapsed.
......@@ -72,7 +72,7 @@
<li @click="relatedPerson">关联人物</li>
<li @click="relatedOrganization">关联机构</li>
<li @click="addCollection">收藏</li>
<li @click="jczc">决策支持</li>
<!-- <li @click="jczc">决策支持</li> -->
</ul>
</div>
<!-- <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