Commit 1b6de567 by xue_wengang

运控管理根据合同修改

parent 32ca2aa8
...@@ -165,6 +165,14 @@ export default [ ...@@ -165,6 +165,14 @@ export default [
} }
}, },
{ {
path: "ycfwyj",
name: "ycfwyj",
component: () => import("@/views/rzcx/ycfwyj.vue"),
meta: {
title: "运控管理"
}
},
{
path: "ykfw", path: "ykfw",
name: "ykfw", name: "ykfw",
component: () => import("@/views/rzcx/ykfw.vue"), component: () => import("@/views/rzcx/ykfw.vue"),
......
...@@ -7730,7 +7730,12 @@ let rzcxPropLeftMenu = [ ...@@ -7730,7 +7730,12 @@ let rzcxPropLeftMenu = [
id: 'ldfwrz', id: 'ldfwrz',
label: '刑专使用情况', label: '刑专使用情况',
index: '3-5', index: '3-5',
} },
{
id: 'ycfwyj',
label: '异常访问预警',
index: '3-6',
},
] ]
}, },
{ {
......
<template>
<div class="Content">
<div class="cxtjWrap paneDiv">
<el-row>
<el-col :span="24">
<span class="flTtitle">查询条件</span>
</el-col>
</el-row>
<el-form
label-position="right"
label-width="140px"
ref="queryForm"
:model="formData"
>
<div class="zdyLine">
<el-form-item
:label="item.name"
v-for="item in propQueryField"
:key="item.id"
:prop="item.id"
v-show="!item.hidden ? true : item.hidden == formData['cxlx']"
:class="'demo-input-suffix zdycol' + item.col"
>
<!--<div class="zdName">{{item.name}}</div>-->
<!--输入框-->
<el-input
clearable
:placeholder="item.placeholder"
v-model="formData[item.id]"
v-if="item.type == 'text'"
>
</el-input>
<!--日期框 日期时间-->
<el-date-picker
v-model="formData[item.id]"
type="datetime"
align="right"
:picker-options="item.pickerOptions"
unlink-panels
value-format="yyyy-MM-dd HH:mm:ss"
v-else-if="item.type == 'datetime'"
>
</el-date-picker>
<!--日期框-->
<el-date-picker
v-model="formData[item.id]"
type="daterange"
align="right"
:picker-options="item.pickerOptions"
unlink-panels
range-separator="至"
start-placeholder="开始日期"
value-format="yyyy-MM-dd"
end-placeholder="结束日期"
v-else-if="item.type == 'daterange'"
>
</el-date-picker>
</el-form-item>
</div>
</el-form>
<!--按钮-->
<div class="ar cx-btn">
<el-button
type="primary"
size="small"
@click="creteForm(formData['cxlx'])"
class="zdybtns"
style="background: #007aff; color: #fff"
>查询</el-button
>
<el-button plain size="small" @click="clearData" class="zdybtns"
>清空</el-button
>
</div>
</div>
<div class="paneDiv">
<el-row>
<el-col :span="24">
<span class="flTtitle">查询结果</span>
<!--可配置化图标-->
<div
style="
height: 30px;
line-height: 30px;
text-align: right;
font-size: 12px;
display: inline-block;
width: calc(100% - 140px);
"
>
<span class="total">共有{{ tableDataLength }}条查询结果</span>
<el-button plain class="zdybtn export" size="small"
><i
class="fa fa-external-link"
aria-hidden="true"
style="margin-right: 5px"
></i
>导出</el-button
>
</div>
</el-col>
</el-row>
<div>
<!--表格-->
<el-table :data="tableData" style="width: 100%">
<el-table-column prop="module" label="系统模块" width="220">
</el-table-column>
<el-table-column prop="id" label="系统编号" width="220">
</el-table-column>
<el-table-column prop="date" label="日期" width="220">
</el-table-column>
<el-table-column prop="name" label="接口名称" width="260"> </el-table-column>
<el-table-column prop="content" label="报错内容"> </el-table-column>
</el-table>
<!--分页-->
<el-pagination
background
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="currentPage1"
:page-sizes="[10, 20, 50, 100]"
:page-size="page_size"
layout="sizes,prev, pager, next"
:small="true"
:total="tableDataLength"
>
</el-pagination>
</div>
</div>
</div>
</template>
<script>
export default {
name: "ycfwyj",
data() {
return {
currentPage1: 1, //表格页码
page_size: 10, //每页显示多少条
tableLoading: true, //table得loading
tableDataLength: 50, //表格总数
tableData: [
{
date: "2023-09-19 10:52:53",
id: "C01",
module: "案件侦办",
name: "/ajrl/getAsjXx",
content:
'{code: 20001, data: {}, message: "登陆超时", success: false}',
},
{
date: "2023-09-19 08:52:53",
module: "人员档案",
id: "E23",
name: "/newRyda/getRyjbxx",
content: '{code: 500, data: {}, message: "", success: false}',
},
{
date: "2023-09-18 16:03:53",
module: "人员档案",
id: "E23",
name: "/newRyda/getJjpgLwxx",
content: '{code: 500, data: {}, message: "", success: false}',
},
{
date: "2023-09-18 14:03:53",
module: "多维查询",
id: "A13",
name: "/zhyy/dwcx/EsAsjQuery",
content: '{code: 202, data: {}, message: "登陆超时", success: false}',
},
{
date: "2023-09-18 10:03:53",
module: "多维查询",
id: "A13",
name: "/zhyy/dwcx/EsXyrQuery",
content: '{code: 202, data: {}, message: "登陆超时", success: false}',
},
{
date: "2023-09-15 10:52:53",
id: "A01",
module: "工作指令",
name: "/ajrl/gzzl/getAsjXx",
content:
'timeOut',
},
{
date: "2023-09-15 08:52:53",
module: "辅助决策",
id: "E34",
name: "/hdfx/newRyda/getRyjbxx",
content: '{code: 202, data: {}, message: "登陆超时", success: false}',
},
{
date: "2023-09-14 16:03:53",
module: "话单分析",
id: "E25",
name: "/hdfx/newRyda/getJjpgLwxx",
content: '{code: 202, data: {}, message: "登陆超时", success: false}',
},
{
date: "2023-09-14 14:03:53",
module: "人力情报线索管理",
id: "A23",
name: "/zhyy/rlqb/queryRlqb",
content: '{code: 500, data: {}, message: "", success: false}',
},
{
date: "2023-09-10 10:03:53",
module: "合并研判",
id: "G22",
name: "/zhyy/hbyp/queryhbyp",
content:
'{code: 20001, data: {}, message: "登陆超时", success: false}',
},
], //表格数据
propQueryField: [
{
name: "数据资源编号",
id: "sjzy_num",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "数据资源名称",
id: "sjzy_name",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "报警时间",
id: "cxSj",
type: "datetime",
value: "",
col: "3",
},
],
formData: {},
};
},
methods: {
handleSizeChange(val) {
this.page_size = val;
this.creteForm("YH", false, false, val);
},
clearData() {
let self = this;
for (let i in self.formData) {
if (i != "limit" || i != "page") {
self.formData[i] = "";
}
}
self.formData["limit"] = 10;
self.formData["page"] = 1;
},
},
mounted() {
this.tableLoading = false;
},
};
</script>
<style>
@import url("../../assets/styles/iconfont.css");
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 36px;
line-height: 36px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
@import "../../assets/styles/rightContent.scss";
.zdybtns {
width: 76px !important;
height: 32px !important;
line-height: 32px !important;
background: #ffffff;
border: 1px solid #d9d9d9;
opacity: 1;
border-radius: 4px;
}
</style>
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