Commit cc94dff2 by liyuhang19990520

证据材料日志信息

parent 1f830985
......@@ -247,7 +247,8 @@
pageBs != 'queryBbkwpxx' &&
pageBs != 'queryZdxsxx' &&
pageBs != 'queryLklz' &&
pageBs != 'queryCklz'
pageBs != 'queryCklz' &&
pageBs != 'zjclrz'
"
>
<i class="el-icon-plus"></i> 新增
......@@ -598,6 +599,26 @@
@change="handleSwitch($event, scope.row)"
></el-switch>
</div>
<div v-else-if="columnTitle.prop == 'rzlbdm'">
{{
scope.row[columnTitle.prop] == "01"
? "证据材料日志"
: scope.row[columnTitle.prop] == "02"
? "检查规则日志"
: "案件证据材料检查日志"
}}
</div>
<div v-else-if="columnTitle.prop == 'czbs'">
{{
scope.row[columnTitle.prop] == "ADD"
? "添加"
: scope.row[columnTitle.prop] == "UPD"
? "修改"
: scope.row[columnTitle.prop] == "DEL"
? "删除"
: "查询"
}}
</div>
<div v-else v-html="scope.row[columnTitle.prop]">
{{ columnTitle.prop }}
</div>
......@@ -624,7 +645,8 @@
pageBs == 'shrzList' ||
pageBs == 'gnsyrzList' ||
pageBs == 'queryLklz' ||
pageBs == 'queryCklz'
pageBs == 'queryCklz' ||
pageBs == 'zjclrz'
)
"
>
......
/*
* @Author: your name
* @Date: 2021-09-22 15:09:59
* @LastEditTime: 2021-09-23 10:22:22
* @LastEditors: your name
* @LastEditTime: 2021-10-13 09:59:49
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\router\modules\zjcl.js
*/
......@@ -43,6 +43,14 @@ const menuLayouts = [
component: () => import("@/views/zjcl/jcgz/queryJcgz.vue")
},
{
path: "/zjclrz",
name: "zjclrz",
meta: {
title: '证据材料日志信息'
},
component: () => import("@/views/zjcl/zjclrz.vue")
},
{
path: "/insertJcgz",
name: "insertJcgz",
meta: {
......
/*
* @Author: your name
* @Date: 2021-09-07 15:09:40
* @LastEditTime: 2021-10-12 17:12:27
* @LastEditTime: 2021-10-13 09:45:17
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\utils\params.js
......@@ -3824,14 +3824,14 @@ export const zjcljcgz = [
placeholder: "请输入",
col: "2",
},
{
name: "案件名称:",
id: "ajlbmc",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
// {
// name: "案件名称:",
// id: "ajlbmc",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "2",
// },
{
name: "物证/书证:",
id: "wzsz",
......
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-09-30 13:02:46
* @LastEditTime: 2021-10-13 09:54:05
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
......@@ -12,8 +12,8 @@
:cxQueryField="cxQueryField"
:pageObject="pageObject"
:pageFooterProps="pageFooterProps"
labelWidth="110px"
title="通讯录详情"
labelWidth="160px"
title="检查规则信息详情"
>
</right-content>
</div>
......@@ -162,24 +162,27 @@ export default {
isActive: true,
},
],
loading: "",
loadingIndex: 0,
};
},
mounted() {},
methods: {
getInfor() {
let loading = this.$loading({
this.loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
this.loadingIndex++;
let _this = this;
selectJcgz({
xxzjbh: _this.xxzjbh,
}).then((res) => {
var result = res.data.jcgz;
_this.filterTreeCode(result);
loading.close();
this.loadingIndex--;
});
},
filterTreeCode(obj) {
......@@ -187,11 +190,13 @@ export default {
let arr = [..._this.cxQueryField[0].data, ..._this.pageFooterProps];
arr.forEach((i) => {
if (i.type && i.type == "codeTree") {
this.loadingIndex++;
axios
.get(`JsonData/${i.codeTree}.json`)
.then((codRes) => {
let value = _this.queryTree(codRes.data.rows, obj[i.prop]);
_this.$set(_this.pageObject, i.prop, value);
this.loadingIndex--;
})
.catch((err) => {
console.log(err);
......@@ -205,7 +210,6 @@ export default {
_this.$set(_this.pageObject, i.prop, obj[i.prop]);
}
});
console.log(_this.pageObject);
},
queryTree(tree, id) {
let stark = [];
......@@ -227,6 +231,13 @@ export default {
this.xxzjbh = this.$route.query.xxzjbh;
this.getInfor();
},
watch: {
loadingIndex(val) {
if (val == 0) {
this.loading.close();
}
},
},
};
</script>
<style scoped lang="scss">
......
......@@ -21,10 +21,11 @@ export default {
},
data() {
return {
title: '新增检查规则信息',
propFormField: [
//基本信息
{
title: "新增检查规则信息",
title: "",
id: 1,
objStr: "",
index: 0,
......@@ -79,6 +80,7 @@ export default {
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
......@@ -96,6 +98,7 @@ export default {
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
......@@ -130,7 +133,7 @@ export default {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
if (this.$route.query.xxzjbh) {
// this.$set(this.propFormField[0], "title", "修改检查规则信息");
this.propFormField[0].title = "修改检查规则信息"
this.title = "修改检查规则信息"
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
}
......
......@@ -55,10 +55,6 @@ export default {
prop: "ajlbdmStr",
},
{
label: "案件名称",
prop: "ajlbmc",
},
{
label: "物证/书证",
prop: "wzsz",
},
......
......@@ -125,6 +125,14 @@ export default {
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "zjclrz",
label: "证据材料日志信息",
index: "zjclrz",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
],
},
],
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@add="add"
@dele="dele"
@toInfor="toInfor"
@edit="edit"
ref="rightContent"
></right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteJcgzById } from "@/api/zjcl/jcgz.js";
export default {
name: "zjclrz",
components: {
rightContent,
},
data() {
return {
header: "检查规则信息",
pageBs: "zjclrz",
cxFormData: {
limit: 10,
page: 1,
rzlbdm: "",
},
cxQueryField: [
{
name: "日志类别",
id: "rzlbdm",
type: "select",
selectData: [
{
value: "01",
name: "证据材料日志",
},
{
value: "02",
name: "检查规则日志",
},
{
value: "03",
name: "案件证据材料检查日志",
},
],
value: "",
placeholder: "请输入",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "信息主键编号",
prop: "id",
},
{
label: "关联信息编号",
prop: "glxxid",
},
{
label: "日志类别",
prop: "rzlbdm",
},
{
label: "操作标识",
prop: "czbs",
},
{
label: "录入人",
prop: "lrr",
},
{
label: "录入时间",
prop: "lrsj",
},
],
Menu: [
{
id: "zjclrz",
label: "证据材料日志信息",
index: "zjclrz",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
cxUrl: "/zjclLog/selectLogPage",
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
add() {
this.$router.push("insertJcgz");
},
dele(obj) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteJcgzById({
xxzjbh: obj.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
toInfor(obj) {
this.$router.push({
path: "/detailJcgz",
query: {
xxzjbh: obj.xxzjbh,
},
});
},
edit(obj) {
this.$router.push({
path: "/insertJcgz",
query: {
xxzjbh: obj.row.xxzjbh,
},
});
},
},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
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";
</style>
/*
* @Author: your name
* @Date: 2021-10-13 09:16:22
* @LastEditTime: 2021-10-13 09:44:59
* @LastEditors: your name
* @Description: In User Settings Edit
* @FilePath: \founder_vue\vue.config.js
*/
const path = require("path");
// const CompressionPlugin = require('compression-webpack-plugin');
// const productionGzipExtensions = /\.(js|css|json|txt|html|ico|svg)(\?.*)?$/i;
......@@ -50,7 +58,7 @@ module.exports = {
},
proxy: {
"/apialy": {
target: "http://39.99.155.173:9022/", //西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022
target: "http://192.168.0.107:8762/", //西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022
// ws: true,
changeOrigin: true,
secure: false,
......
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