Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
f7e940d0
Commit
f7e940d0
authored
Sep 23, 2021
by
liyuhang19990520
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
证据材料
parent
64acb946
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
97 additions
and
56 deletions
+97
-56
src/api/zjcl/jcgz.js
+12
-4
src/utils/params.js
+19
-19
src/views/zjcl/jcgz/detailJcgz.vue
+55
-21
src/views/zjcl/jcgz/insertJcgz.vue
+7
-9
src/views/zjcl/jcgz/queryJcgz.vue
+1
-1
src/views/zjcl/zjclcl/queryZjcl.vue
+3
-2
No files found.
src/api/zjcl/jcgz.js
View file @
f7e940d0
/*
* @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
}
/
zjcl
xx/insertJcgz`
,
params
);
postform
(
`
${
base
.
alyIP
}
/
jcgz
xx/insertJcgz`
,
params
);
//修改检查规则
export
const
updateJcgzById
=
params
=>
postform
(
`
${
base
.
alyIP
}
/
zjcl
xx/updateJcgzById`
,
params
);
postform
(
`
${
base
.
alyIP
}
/
jcgz
xx/updateJcgzById`
,
params
);
//删除检查规则
export
const
deleteJcgzById
=
params
=>
post
form
(
`
${
base
.
alyIP
}
/zjcl
xx/deleteJcgzById`
,
params
);
post
(
`
${
base
.
alyIP
}
/jcgz
xx/deleteJcgzById`
,
params
);
//查询检查规则详情
export
const
selectJcgz
=
params
=>
post
form
(
`
${
base
.
alyIP
}
/zjcl
xx/selectJcgz`
,
params
);
post
(
`
${
base
.
alyIP
}
/jcgz
xx/selectJcgz`
,
params
);
src/utils/params.js
View file @
f7e940d0
/*
* @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
:
"请输入"
,
...
...
src/views/zjcl/jcgz/detailJcgz.vue
View file @
f7e940d0
<!--
* @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
:
"/query
Zjcl
"
,
to
:
"/query
Jcgz
"
,
isActive
:
false
,
},
{
...
...
@@ -145,7 +174,7 @@ export default {
selectJcgz
({
xxzjbh
:
_this
.
xxzjbh
,
}).
then
((
res
)
=>
{
var
result
=
res
.
data
.
j
sjdc
;
var
result
=
res
.
data
.
j
cgz
;
_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
]);
}
...
...
src/views/zjcl/jcgz/insertJcgz.vue
View file @
f7e940d0
...
...
@@ -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
(
"query
Ryyp
"
);
this
.
$router
.
push
(
"query
Jcgz
"
);
},
});
}
else
{
...
...
@@ -93,7 +91,7 @@ export default {
type
:
"success"
,
callback
:
()
=>
{
loading
.
close
();
this
.
$router
.
push
(
"query
Ryyp
"
);
this
.
$router
.
push
(
"query
Jcgz
"
);
},
});
}
else
{
...
...
@@ -106,7 +104,7 @@ export default {
selectJcgz
({
xxzjbh
:
this
.
xxzjbh
,
}).
then
((
res
)
=>
{
var
result
=
res
.
data
.
j
sjdc
;
var
result
=
res
.
data
.
j
cgz
;
self
.
propFormField
.
forEach
((
fieldItem
)
=>
{
if
(
fieldItem
.
data
&&
fieldItem
.
data
.
length
>
0
)
{
fieldItem
.
data
.
forEach
((
i
)
=>
{
...
...
src/views/zjcl/jcgz/queryJcgz.vue
View file @
f7e940d0
...
...
@@ -38,7 +38,7 @@ export default {
name
:
"案件类别"
,
id
:
"ajlbdm"
,
type
:
"codeTreeDialog"
,
codeTree
:
"CODE_
XZQH
"
,
codeTree
:
"CODE_
AJLB
"
,
codeOptions
:
[],
value
:
""
,
placeholder
:
"请输入"
,
...
...
src/views/zjcl/zjclcl/queryZjcl.vue
View file @
f7e940d0
...
...
@@ -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
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment