Commit f7e940d0 by liyuhang19990520

证据材料

parent 64acb946
/*
* @Author: your name
* @Date: 2021-09-22 15:09:59
* @LastEditTime: 2021-09-23 14:29:55
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\api\zjcl\jcgz.js
*/
import { post, postform, postdown } from "@/utils/http.js";
import base from "@/api/base";
//新增检查规则
export const insertJcgz = params =>
postform(`${base.alyIP}/zjclxx/insertJcgz`, params);
postform(`${base.alyIP}/jcgzxx/insertJcgz`, params);
//修改检查规则
export const updateJcgzById = params =>
postform(`${base.alyIP}/zjclxx/updateJcgzById`, params);
postform(`${base.alyIP}/jcgzxx/updateJcgzById`, params);
//删除检查规则
export const deleteJcgzById = params =>
postform(`${base.alyIP}/zjclxx/deleteJcgzById`, params);
post(`${base.alyIP}/jcgzxx/deleteJcgzById`, params);
//查询检查规则详情
export const selectJcgz = params =>
postform(`${base.alyIP}/zjclxx/selectJcgz`, params);
post(`${base.alyIP}/jcgzxx/selectJcgz`, params);
/*
* @Author: your name
* @Date: 2021-09-07 15:09:40
* @LastEditTime: 2021-09-14 15:16:35
* @LastEditTime: 2021-09-23 14:33:53
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\utils\params.js
......@@ -3863,7 +3863,7 @@ export const zjcljcgz = [
name: "案事件类型:",
id: "ajlbdm",
type: "codeTree",
codeTree: "CODE_AJLB_MIS",
codeTree: "CODE_AJLB",
codeOptions: [],
value: "",
placeholder: "请输入",
......@@ -3878,12 +3878,12 @@ export const zjcljcgz = [
col: "2",
},
{
name: "物证/书证 N:非必须 Y:必须:",
name: "物证/书证:",
id: "wzsz",
type: "setValue",
codeOptions: [
{ name: "非必须", value: "N" },
{ name: "必须", value: "Y" },
{ label: "非必须", value: "N" },
{ label: "必须", value: "Y" },
],
value: "",
placeholder: "请输入",
......@@ -3894,8 +3894,8 @@ export const zjcljcgz = [
id: "zrzy",
type: "setValue",
codeOptions: [
{ name: "非必须", value: "N" },
{ name: "必须", value: "Y" },
{ label: "非必须", value: "N" },
{ label: "必须", value: "Y" },
],
value: "",
placeholder: "请输入",
......@@ -3906,8 +3906,8 @@ export const zjcljcgz = [
id: "bhrcs",
type: "setValue",
codeOptions: [
{ name: "非必须", value: "N" },
{ name: "必须", value: "Y" },
{ label: "非必须", value: "N" },
{ label: "必须", value: "Y" },
],
value: "",
placeholder: "请输入",
......@@ -3918,8 +3918,8 @@ export const zjcljcgz = [
id: "gshbbbj",
type: "setValue",
codeOptions: [
{ name: "非必须", value: "N" },
{ name: "必须", value: "Y" },
{ label: "非必须", value: "N" },
{ label: "必须", value: "Y" },
],
value: "",
placeholder: "请输入",
......@@ -3930,8 +3930,8 @@ export const zjcljcgz = [
id: "jdjl",
type: "setValue",
codeOptions: [
{ name: "非必须", value: "N" },
{ name: "必须", value: "Y" },
{ label: "非必须", value: "N" },
{ label: "必须", value: "Y" },
],
value: "",
placeholder: "请输入",
......@@ -3943,8 +3943,8 @@ export const zjcljcgz = [
id: "kcjcbl",
type: "setValue",
codeOptions: [
{ name: "非必须", value: "N" },
{ name: "必须", value: "Y" },
{ label: "非必须", value: "N" },
{ label: "必须", value: "Y" },
],
value: "",
placeholder: "请输入",
......@@ -3955,8 +3955,8 @@ export const zjcljcgz = [
id: "stzldzsj",
type: "setValue",
codeOptions: [
{ name: "非必须", value: "N" },
{ name: "必须", value: "Y" },
{ label: "非必须", value: "N" },
{ label: "必须", value: "Y" },
],
value: "",
placeholder: "请输入",
......@@ -3967,8 +3967,8 @@ export const zjcljcgz = [
id: "qt",
type: "setValue",
codeOptions: [
{ name: "非必须", value: "N" },
{ name: "必须", value: "Y" },
{ label: "非必须", value: "N" },
{ label: "必须", value: "Y" },
],
value: "",
placeholder: "请输入",
......
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-09-10 17:05:06
* @LastEditTime: 2021-09-23 14:53:08
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
......@@ -40,7 +40,7 @@ export default {
label: "案事件类型:",
prop: "ajlbdm",
type: "codeTree",
codeTree: "CODE_AJLB_MIS",
codeTree: "CODE_AJLB",
col: "3",
},
{
......@@ -51,66 +51,95 @@ export default {
{
label: "物证/书证:",
prop: "wzsz",
type: "select",
data: [
{ name: "必须", value: "Y" },
{ name: "非必须", value: "N" },
],
col: "3",
},
{
label: "证人证言:",
prop: "zrzy",
col: "3",
type: "select",
data: [
{ name: "必须", value: "Y" },
{ name: "非必须", value: "N" },
],
},
{
label: "被害人陈述:",
prop: "bhrcs",
col: "3",
type: "select",
data: [
{ name: "必须", value: "Y" },
{ name: "非必须", value: "N" },
],
},
{
label: "犯罪嫌疑人供述和辩解:",
prop: "gshbbbj",
col: "3",
type: "select",
data: [
{ name: "必须", value: "Y" },
{ name: "非必须", value: "N" },
],
},
{
label: "鉴定结论:",
prop: "jdjl",
col: "3",
type: "select",
data: [
{ name: "必须", value: "Y" },
{ name: "非必须", value: "N" },
],
},
{
label: "勘查/检查笔录:",
prop: "kcjcbl",
col: "3",
type: "select",
data: [
{ name: "必须", value: "Y" },
{ name: "非必须", value: "N" },
],
},
{
label: "勘查/检查笔录:",
prop: "kcjcbl",
col: "3",
type: "select",
data: [
{ name: "必须", value: "Y" },
{ name: "非必须", value: "N" },
],
},
{
label: "视听资料以及电子数据:",
prop: "stzldzsj",
col: "3",
type: "select",
data: [
{ name: "必须", value: "Y" },
{ name: "非必须", value: "N" },
],
},
{
label: "其他:",
prop: "qt",
col: "3",
type: "select",
data: [
{ name: "必须", value: "Y" },
{ name: "非必须", value: "N" },
],
},
],
pageFooterProps: [
{
label: "填表单位:",
prop: "xxdjdwGajgmc",
col: "3",
},
{
label: "填表人:",
prop: "xxdjryXm",
col: "3",
},
{
label: "填表时间:",
prop: "djsj",
col: "3",
},
],
pageFooterProps: [],
defaultProps: {
parent: "parentId", // 父级唯一标识
value: "id", // 唯一标识
......@@ -127,7 +156,7 @@ export default {
},
{
name: "检查规则信息列表",
to: "/queryZjcl",
to: "/queryJcgz",
isActive: false,
},
{
......@@ -145,7 +174,7 @@ export default {
selectJcgz({
xxzjbh: _this.xxzjbh,
}).then((res) => {
var result = res.data.jsjdc;
var result = res.data.jcgz;
_this.filterTreeCode(result);
});
},
......@@ -163,6 +192,11 @@ export default {
.catch((err) => {
console.log(err);
});
} else if (i.type && i.type == "select") {
let rdata = i.data.find((j) => j.value == obj[i.prop]);
if (rdata) {
_this.$set(_this.pageObject, i.prop, rdata.name);
}
} else {
_this.$set(_this.pageObject, i.prop, obj[i.prop]);
}
......
......@@ -11,11 +11,7 @@
<script>
import formCompontent from "@c/form.vue";
import {
insertJcgz,
updateJcgzById,
selectJcgz
} from "@/api/zjcl/jcgz.js";
import { insertJcgz, updateJcgzById, selectJcgz } from "@/api/zjcl/jcgz.js";
import { zjcljcgz } from "@/utils/params.js";
export default {
name: "insertJcgz",
......@@ -47,7 +43,9 @@ export default {
isActive: false,
},
{
name: this.$route.query.xxzjbh ? "修改检查规则信息" : "新增检查规则信息",
name: this.$route.query.xxzjbh
? "修改检查规则信息"
: "新增检查规则信息",
to: "/insertJcgz",
isActive: true,
},
......@@ -76,7 +74,7 @@ export default {
type: "success",
callback: () => {
loading.close();
this.$router.push("queryRyyp");
this.$router.push("queryJcgz");
},
});
} else {
......@@ -93,7 +91,7 @@ export default {
type: "success",
callback: () => {
loading.close();
this.$router.push("queryRyyp");
this.$router.push("queryJcgz");
},
});
} else {
......@@ -106,7 +104,7 @@ export default {
selectJcgz({
xxzjbh: this.xxzjbh,
}).then((res) => {
var result = res.data.jsjdc;
var result = res.data.jcgz;
self.propFormField.forEach((fieldItem) => {
if (fieldItem.data && fieldItem.data.length > 0) {
fieldItem.data.forEach((i) => {
......
......@@ -38,7 +38,7 @@ export default {
name: "案件类别",
id: "ajlbdm",
type: "codeTreeDialog",
codeTree: "CODE_XZQH",
codeTree: "CODE_AJLB",
codeOptions: [],
value: "",
placeholder: "请输入",
......
......@@ -41,7 +41,6 @@ export default {
placeholder: "",
col: "3",
},
],
cxDefaultFormThead: [
{
......@@ -100,7 +99,8 @@ export default {
disabled: false,
},
],
leftMenus: [ //左侧导航(模块第一个页面需要)
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryZjcl",
label: "证据材料信息",
......@@ -146,6 +146,7 @@ export default {
type: "warning",
})
.then(() => {
console.log(obj)
deleteZjclById({
xxzjbh: obj.row.xxzjbh,
}).then((res) => {
......
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