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
2ec1f0e5
Commit
2ec1f0e5
authored
Sep 02, 2021
by
liupeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了面包屑导航,阵地线索信息和被布控物品信息的位置
parent
77ebc479
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
1233 additions
and
1225 deletions
+1233
-1225
src/layout/kyxsLayout.vue
+6
-2
src/layout/menuLayout.vue
+5
-3
src/router/modules/bbkwtxx.js
+3
-3
src/router/modules/zdxsxx.js
+3
-3
src/views/kyxs/hmxs/addHmxs.vue
+2
-2
src/views/zdxx/bbkwpxx/adjustBbkwpxx.vue
+211
-210
src/views/zdxx/bbkwpxx/bbkwpxxDetail.vue
+95
-95
src/views/zdxx/bbkwpxx/queryBbkwpxx.vue
+173
-173
src/views/zdxx/zdxsxx/adjustZdxsxx.vue
+431
-430
src/views/zdxx/zdxsxx/queryZdxsxx.vue
+209
-209
src/views/zdxx/zdxsxx/zdxsxxDetail.vue
+95
-95
No files found.
src/layout/kyxsLayout.vue
View file @
2ec1f0e5
...
...
@@ -134,8 +134,12 @@ export default {
debugger
;
console
.
log
(
123
);
this
.
topMenus
=
this
.
topMenu
;
this
.
breadcrumbList
=
this
.
Breadcrumbs
this
.
breadcrumbList
=
[
...
this
.
Breadcrumbs
]
console
.
log
(
'topMenus'
,
this
.
topMenus
)
console
.
log
(
'breadcrumbList'
,
this
.
breadcrumbList
)
console
.
log
(
'Breadcrumbs'
,
this
.
Breadcrumbs
)
},
watch
:
{
isCollapseP
(
val
)
{
...
...
src/layout/menuLayout.vue
View file @
2ec1f0e5
...
...
@@ -52,7 +52,7 @@
<div
v-if=
"$route.meta.isAdd"
class=
"topMenu"
>
<el-breadcrumb
separator=
"/"
style=
"line-height: 48px"
>
<el-breadcrumb-item
v-for=
"(item, index) in
breadcrumbList
"
v-for=
"(item, index) in
topMenus
"
:key=
"index"
><span
@
click=
"goDetail(item)"
style=
"cursor: pointer"
:class=
"item.isActive ? 'activeClass' : ''"
>
{{
item.name
...
...
@@ -144,9 +144,11 @@ export default {
this
.
navList
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"navList"
));
this
.
activeIndex
=
sessionStorage
.
getItem
(
"routerPath"
)
||
this
.
$route
.
name
;
this
.
activeName
=
this
.
$route
.
name
;
console
.
log
(
this
.
topMenu
)
console
.
log
(
'menu,topMenu'
,
this
.
topMenu
)
this
.
topMenus
=
this
.
topMenu
;
this
.
breadcrumbList
=
this
.
Breadcrumbs
// this.breadcrumbList = this.Breadcrumbs
// console.log('menu,breadcrumbList',this.breadcrumbList)
// console.log('menu,Breadcrumbs',this.Breadcrumbs)
},
watch
:
{
isCollapseP
(
val
)
{
...
...
src/router/modules/bbkwtxx.js
View file @
2ec1f0e5
...
...
@@ -14,7 +14,7 @@ const menuLayouts = [
meta
:
{
title
:
'被布控物品信息管理'
},
component
:
()
=>
import
(
"@/views/bbkwpxx/queryBbkwpxx.vue"
)
component
:
()
=>
import
(
"@/views/
zdxx/
bbkwpxx/queryBbkwpxx.vue"
)
},
{
path
:
"/adjustBbkwpxx"
,
...
...
@@ -22,7 +22,7 @@ const menuLayouts = [
meta
:
{
title
:
'管理被布控物品信息'
},
component
:
()
=>
import
(
"@/views/bbkwpxx/adjustBbkwpxx.vue"
)
component
:
()
=>
import
(
"@/views/
zdxx/
bbkwpxx/adjustBbkwpxx.vue"
)
},
{
path
:
"/bbkwpxxDetail"
,
...
...
@@ -30,7 +30,7 @@ const menuLayouts = [
meta
:
{
title
:
'被布控物品信息详情'
},
component
:
()
=>
import
(
"@/views/bbkwpxx/bbkwpxxDetail.vue"
)
component
:
()
=>
import
(
"@/views/
zdxx/
bbkwpxx/bbkwpxxDetail.vue"
)
},
];
...
...
src/router/modules/zdxsxx.js
View file @
2ec1f0e5
...
...
@@ -14,7 +14,7 @@ const menuLayouts = [
meta
:
{
title
:
'阵地线索信息管理'
},
component
:
()
=>
import
(
"@/views/zdxsxx/queryZdxsxx.vue"
)
component
:
()
=>
import
(
"@/views/zdx
x/zdx
sxx/queryZdxsxx.vue"
)
},
{
path
:
"/adjustZdxsxx"
,
...
...
@@ -22,7 +22,7 @@ const menuLayouts = [
meta
:
{
title
:
'管理阵地线索信息'
},
component
:
()
=>
import
(
"@/views/zdxsxx/adjustZdxsxx.vue"
)
component
:
()
=>
import
(
"@/views/zdx
x/zdx
sxx/adjustZdxsxx.vue"
)
},
{
path
:
"/zdxsxxDetail"
,
...
...
@@ -30,7 +30,7 @@ const menuLayouts = [
meta
:
{
title
:
'阵地线索信息详情'
},
component
:
()
=>
import
(
"@/views/zdxsxx/zdxsxxDetail.vue"
)
component
:
()
=>
import
(
"@/views/zdx
x/zdx
sxx/zdxsxxDetail.vue"
)
},
];
...
...
src/views/kyxs/hmxs/addHmxs.vue
View file @
2ec1f0e5
...
...
@@ -95,12 +95,12 @@ export default {
],
Breadcrumb
:
[
{
name
:
"号码索管理"
,
name
:
"号码
线
索管理"
,
to
:
"/hmxsGl"
,
isActive
:
false
,
},
{
name
:
"号码索管理"
,
name
:
"号码
线
索管理"
,
to
:
"/hmxsGl"
,
isActive
:
false
,
},
...
...
src/views/bbkwpxx/adjustBbkwpxx.vue
→
src/views/
zdxx/
bbkwpxx/adjustBbkwpxx.vue
View file @
2ec1f0e5
<
template
>
<div>
<form-compontent
:formField=
"formField"
:formLabelAligns=
"formLabelAlign"
@
submit=
"submit"
>
</form-compontent>
</div>
</
template
>
<
script
>
import
formCompontent
from
"@c/form.vue"
;
import
{
insertBbkwp
,
updateBbkwp
,
getBbkwpByxxzjbh
}
from
"@/api/bkwpxx.js"
;
export
default
{
name
:
"addYhkxs"
,
components
:
{
formCompontent
,
},
data
()
{
return
{
formField
:
[
//基本信息
{
title
:
"新增被布控物品信息"
,
id
:
1
,
objStr
:
""
,
index
:
0
,
data
:
[
{
name
:
"案事件编号:"
,
id
:
"asjbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"涉案物品编号:"
,
id
:
"bbkqtwpSawpbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品名称:"
,
id
:
"bbkqtwpWpmc"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"品牌型号:"
,
id
:
"bbkqtwpPpxh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品规格:"
,
id
:
"bbkqtwpWpgg"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品标识号:"
,
id
:
"bbkqtwpWpbzhWpbzh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品颜色:"
,
id
:
"bbkqtwpWpysDmbcms"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品特征描述:"
,
id
:
"bbkqtwpWptzms"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品真伪:"
,
id
:
"bbkqtwpWpzwPdbz"
,
type
:
"setValue"
,
codeOptions
:
[
{
label
:
"否"
,
value
:
"0"
,
},
{
label
:
"是"
,
value
:
"1"
,
},
],
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"阵地信息主键编号:"
,
id
:
"glxxXxzjbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
],
},
],
formLabelAlign
:
{},
xxzjbh
:
""
,
};
},
methods
:
{
submit
(
params
)
{
console
.
log
(
params
);
let
loading
=
this
.
$loading
({
lock
:
true
,
text
:
"正在保存..."
,
spinner
:
"el-icon-loading"
,
background
:
"rgba(255, 255, 255, 0.7)"
,
});
if
(
!
this
.
xxzjbh
)
{
this
.
addSubmit
(
params
,
loading
);
}
else
{
this
.
editSubmit
(
params
,
loading
);
}
},
getshuju
()
{
var
self
=
this
;
getBbkwpByxxzjbh
({
xxzjbh
:
this
.
xxzjbh
,
}).
then
((
res
)
=>
{
var
result
=
res
.
data
.
rows
;
self
.
formField
.
forEach
((
fieldItem
)
=>
{
if
(
fieldItem
.
data
&&
fieldItem
.
data
.
length
>
0
)
{
fieldItem
.
data
.
forEach
((
i
)
=>
{
if
(
i
.
type
==
"text"
||
i
.
type
==
"setValue"
)
{
this
.
$set
(
this
.
formLabelAlign
,
i
.
id
,
result
[
i
.
id
]);
}
});
}
this
.
$forceUpdate
();
});
self
.
$set
(
self
.
formLabelAlign
,
"editing"
,
true
);
self
.
$forceUpdate
();
// this.isEmpty()
});
setTimeout
(()
=>
{
self
.
loading
=
false
;
},
1000
);
},
addSubmit
(
params
,
loading
)
{
insertBbkwp
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$alert
(
"保存成功!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"success"
,
callback
:
()
=>
{
this
.
$router
.
push
(
"/queryBbkwpxx"
);
loading
.
close
();
},
});
}
else
{
loading
.
close
();
}
});
},
editSubmit
(
params
,
loading
)
{
params
.
append
(
"xxzjbh"
,
this
.
xxzjbh
);
updateBbkwp
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$alert
(
"修改成功!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"success"
,
callback
:
()
=>
{
this
.
$router
.
push
(
"/queryBbkwpxx"
);
loading
.
close
();
},
});
}
else
{
loading
.
close
();
}
});
},
},
created
()
{
if
(
this
.
$route
.
query
.
xxzjbh
)
{
this
.
$set
(
this
.
formField
[
0
],
"title"
,
"修改被布控物品信息"
);
this
.
xxzjbh
=
this
.
$route
.
query
.
xxzjbh
;
this
.
getshuju
();
}
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
<
template
>
<div>
<form-compontent
:formField=
"formField"
:formLabelAligns=
"formLabelAlign"
@
submit=
"submit"
>
</form-compontent>
</div>
</
template
>
<
script
>
import
formCompontent
from
"@c/form.vue"
;
import
{
insertBbkwp
,
updateBbkwp
,
getBbkwpByxxzjbh
}
from
"@/api/bkwpxx.js"
;
export
default
{
name
:
"addYhkxs"
,
components
:
{
formCompontent
,
},
data
()
{
return
{
formField
:
[
//基本信息
{
title
:
"新增被布控物品信息"
,
id
:
1
,
objStr
:
""
,
index
:
0
,
data
:
[
{
name
:
"案事件编号:"
,
id
:
"asjbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"涉案物品编号:"
,
id
:
"bbkqtwpSawpbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品名称:"
,
id
:
"bbkqtwpWpmc"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"品牌型号:"
,
id
:
"bbkqtwpPpxh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品规格:"
,
id
:
"bbkqtwpWpgg"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品标识号:"
,
id
:
"bbkqtwpWpbzhWpbzh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品颜色:"
,
id
:
"bbkqtwpWpysDmbcms"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品特征描述:"
,
id
:
"bbkqtwpWptzms"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品真伪:"
,
id
:
"bbkqtwpWpzwPdbz"
,
type
:
"setValue"
,
codeOptions
:
[
{
label
:
"否"
,
value
:
"0"
,
},
{
label
:
"是"
,
value
:
"1"
,
},
],
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"阵地信息主键编号:"
,
id
:
"glxxXxzjbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
],
},
],
formLabelAlign
:
{},
xxzjbh
:
""
,
};
},
methods
:
{
submit
(
params
)
{
console
.
log
(
params
);
let
loading
=
this
.
$loading
({
lock
:
true
,
text
:
"正在保存..."
,
spinner
:
"el-icon-loading"
,
background
:
"rgba(255, 255, 255, 0.7)"
,
});
if
(
!
this
.
xxzjbh
)
{
this
.
addSubmit
(
params
,
loading
);
}
else
{
this
.
editSubmit
(
params
,
loading
);
}
},
getshuju
()
{
var
self
=
this
;
getBbkwpByxxzjbh
({
xxzjbh
:
this
.
xxzjbh
,
}).
then
((
res
)
=>
{
var
result
=
res
.
data
.
rows
;
self
.
formField
.
forEach
((
fieldItem
)
=>
{
if
(
fieldItem
.
data
&&
fieldItem
.
data
.
length
>
0
)
{
fieldItem
.
data
.
forEach
((
i
)
=>
{
if
(
i
.
type
==
"text"
||
i
.
type
==
"setValue"
)
{
this
.
$set
(
this
.
formLabelAlign
,
i
.
id
,
result
[
i
.
id
]);
}
});
}
this
.
$forceUpdate
();
});
self
.
$set
(
self
.
formLabelAlign
,
"editing"
,
true
);
self
.
$forceUpdate
();
// this.isEmpty()
});
setTimeout
(()
=>
{
self
.
loading
=
false
;
},
1000
);
},
addSubmit
(
params
,
loading
)
{
insertBbkwp
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$alert
(
"保存成功!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"success"
,
callback
:
()
=>
{
this
.
$router
.
push
(
"/queryBbkwpxx"
);
loading
.
close
();
},
});
}
else
{
loading
.
close
();
}
});
},
editSubmit
(
params
,
loading
)
{
params
.
append
(
"xxzjbh"
,
this
.
xxzjbh
);
updateBbkwp
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$alert
(
"修改成功!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"success"
,
callback
:
()
=>
{
this
.
$router
.
push
(
"/queryBbkwpxx"
);
loading
.
close
();
},
});
}
else
{
loading
.
close
();
}
});
},
},
created
()
{
if
(
this
.
$route
.
query
.
xxzjbh
)
{
this
.
$set
(
this
.
formField
[
0
],
"title"
,
"修改被布控物品信息"
);
this
.
xxzjbh
=
this
.
$route
.
query
.
xxzjbh
;
this
.
getshuju
();
}
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
\ No newline at end of file
src/views/bbkwpxx/bbkwpxxDetail.vue
→
src/views/
zdxx/
bbkwpxx/bbkwpxxDetail.vue
View file @
2ec1f0e5
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-09-01 11:22:13
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
-->
<
template
>
<div
class=
"Content"
id=
"hmxsDetail"
>
<right-content
:cxQueryField=
"cxQueryField"
:pageObject=
"pageObject"
:pageFooterProps=
"pageFooterProps"
labelWidth=
"110px"
title=
"被布控物品详情"
>
</right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/PersonInfor.vue"
;
import
{
getBbkwpByxxzjbh
}
from
"@/api/bkwpxx.js"
;
import
{
get
,
post
,
postform
,
postJson
}
from
"@/utils/http.js"
;
export
default
{
name
:
"queryAj"
,
components
:
{
rightContent
,
},
data
()
{
return
{
cxQueryField
:
[
{
label
:
"物品名称:"
,
prop
:
"bbkqtwpWpmc"
,
col
:
"3"
,
},
{
label
:
"物品规格:"
,
prop
:
"bbkqtwpWpgg"
,
col
:
"3"
,
},
{
label
:
"物品颜色:"
,
prop
:
"bbkqtwpWpysDmbcms"
,
col
:
"3"
,
},
{
label
:
"物品真伪:"
,
prop
:
"bbkqtwpWpzwPdbzStr"
,
col
:
"3"
,
},
],
pageFooterProps
:
[
{
label
:
"录入单位:"
,
prop
:
"xxdjdwGajgjgdm"
,
col
:
"3"
,
},
{
label
:
"录入人:"
,
prop
:
"xxdjryXm"
,
col
:
"3"
,
},
{
label
:
"录入时间:"
,
prop
:
"djsj"
,
col
:
"3"
,
},
],
pageObject
:
{},
id
:
""
,
};
},
mounted
()
{},
methods
:
{
getInfor
()
{
getBbkwpByxxzjbh
({
xxzjbh
:
this
.
id
,
}).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
pageObject
=
res
.
data
.
rows
;
}
});
},
},
created
()
{
this
.
id
=
this
.
$route
.
query
.
id
;
this
.
getInfor
();
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-09-01 11:22:13
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
-->
<
template
>
<div
class=
"Content"
id=
"hmxsDetail"
>
<right-content
:cxQueryField=
"cxQueryField"
:pageObject=
"pageObject"
:pageFooterProps=
"pageFooterProps"
labelWidth=
"110px"
title=
"被布控物品详情"
>
</right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/PersonInfor.vue"
;
import
{
getBbkwpByxxzjbh
}
from
"@/api/bkwpxx.js"
;
import
{
get
,
post
,
postform
,
postJson
}
from
"@/utils/http.js"
;
export
default
{
name
:
"queryAj"
,
components
:
{
rightContent
,
},
data
()
{
return
{
cxQueryField
:
[
{
label
:
"物品名称:"
,
prop
:
"bbkqtwpWpmc"
,
col
:
"3"
,
},
{
label
:
"物品规格:"
,
prop
:
"bbkqtwpWpgg"
,
col
:
"3"
,
},
{
label
:
"物品颜色:"
,
prop
:
"bbkqtwpWpysDmbcms"
,
col
:
"3"
,
},
{
label
:
"物品真伪:"
,
prop
:
"bbkqtwpWpzwPdbzStr"
,
col
:
"3"
,
},
],
pageFooterProps
:
[
{
label
:
"录入单位:"
,
prop
:
"xxdjdwGajgjgdm"
,
col
:
"3"
,
},
{
label
:
"录入人:"
,
prop
:
"xxdjryXm"
,
col
:
"3"
,
},
{
label
:
"录入时间:"
,
prop
:
"djsj"
,
col
:
"3"
,
},
],
pageObject
:
{},
id
:
""
,
};
},
mounted
()
{},
methods
:
{
getInfor
()
{
getBbkwpByxxzjbh
({
xxzjbh
:
this
.
id
,
}).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
pageObject
=
res
.
data
.
rows
;
}
});
},
},
created
()
{
this
.
id
=
this
.
$route
.
query
.
id
;
this
.
getInfor
();
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/bbkwpxx/queryBbkwpxx.vue
→
src/views/
zdxx/
bbkwpxx/queryBbkwpxx.vue
View file @
2ec1f0e5
<
template
>
<div
class=
"Content"
>
<right-content
ref=
"rightContent"
:pageBs=
"pageBs"
:header=
"header"
:cxFormData=
"cxFormData"
:cxQueryField=
"cxQueryField"
:cxDefaultFormThead=
"cxDefaultFormThead"
:cxUrl=
"cxUrl"
@
add=
"add"
@
dele=
"dele"
@
toInfor=
"toInfor"
@
edit=
"edit"
></right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
{
deleteBbkwp
}
from
"@/api/bkwpxx.js"
;
export
default
{
name
:
"queryYdtx"
,
components
:
{
rightContent
,
},
data
()
{
return
{
header
:
"被布控物品信息管理"
,
pageBs
:
"queryBbkwpxx"
,
cxFormData
:
{
rows
:
10
,
page
:
1
,
glxxXxzjbh
:
""
,
},
cxQueryField
:
[
{
name
:
"阵地信息信息主键编号"
,
id
:
"glxxXxzjbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
""
,
col
:
"3"
,
},
],
cxDefaultFormThead
:
[
{
label
:
"案事件编号"
,
prop
:
"asjbh"
,
},
{
label
:
"物品名称"
,
prop
:
"bbkqtwpWpmc"
,
},
{
label
:
"物品规格"
,
prop
:
"bbkqtwpWpgg"
,
width
:
"200"
,
},
{
label
:
"物品颜色"
,
prop
:
"bbkqtwpWpysDmbcms"
,
},
{
label
:
"物品真伪"
,
prop
:
"bbkqtwpWpzwPdbzStr"
,
},
],
cxUrl
:
"/bbkwp/selectBbkwp"
,
};
},
created
()
{},
methods
:
{
add
()
{
this
.
$router
.
push
(
"adjustBbkwpxx"
);
},
dele
(
scope
)
{
this
.
$confirm
(
"此操作将永久删除该文件, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
deleteBbkwp
({
xxzjbh
:
scope
.
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
:
"已取消删除"
,
});
});
console
.
log
(
scope
.
row
.
xxzjbh
);
},
toInfor
(
data
)
{
this
.
$router
.
push
({
path
:
"/bbkwpxxDetail"
,
query
:
{
id
:
data
.
xxzjbh
,
},
});
},
edit
(
data
){
this
.
$router
.
push
({
path
:
'/adjustBbkwpxx'
,
query
:
{
xxzjbh
:
data
.
row
.
xxzjbh
}
});
console
.
log
(
data
.
row
);
},
},
};
</
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
>
<
template
>
<div
class=
"Content"
>
<right-content
ref=
"rightContent"
:pageBs=
"pageBs"
:header=
"header"
:cxFormData=
"cxFormData"
:cxQueryField=
"cxQueryField"
:cxDefaultFormThead=
"cxDefaultFormThead"
:cxUrl=
"cxUrl"
@
add=
"add"
@
dele=
"dele"
@
toInfor=
"toInfor"
@
edit=
"edit"
></right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
{
deleteBbkwp
}
from
"@/api/bkwpxx.js"
;
export
default
{
name
:
"queryYdtx"
,
components
:
{
rightContent
,
},
data
()
{
return
{
header
:
"被布控物品信息管理"
,
pageBs
:
"queryBbkwpxx"
,
cxFormData
:
{
rows
:
10
,
page
:
1
,
glxxXxzjbh
:
""
,
},
cxQueryField
:
[
{
name
:
"阵地信息信息主键编号"
,
id
:
"glxxXxzjbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
""
,
col
:
"3"
,
},
],
cxDefaultFormThead
:
[
{
label
:
"案事件编号"
,
prop
:
"asjbh"
,
},
{
label
:
"物品名称"
,
prop
:
"bbkqtwpWpmc"
,
},
{
label
:
"物品规格"
,
prop
:
"bbkqtwpWpgg"
,
width
:
"200"
,
},
{
label
:
"物品颜色"
,
prop
:
"bbkqtwpWpysDmbcms"
,
},
{
label
:
"物品真伪"
,
prop
:
"bbkqtwpWpzwPdbzStr"
,
},
],
cxUrl
:
"/bbkwp/selectBbkwp"
,
};
},
created
()
{},
methods
:
{
add
()
{
this
.
$router
.
push
(
"adjustBbkwpxx"
);
},
dele
(
scope
)
{
this
.
$confirm
(
"此操作将永久删除该文件, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
deleteBbkwp
({
xxzjbh
:
scope
.
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
:
"已取消删除"
,
});
});
console
.
log
(
scope
.
row
.
xxzjbh
);
},
toInfor
(
data
)
{
this
.
$router
.
push
({
path
:
"/bbkwpxxDetail"
,
query
:
{
id
:
data
.
xxzjbh
,
},
});
},
edit
(
data
){
this
.
$router
.
push
({
path
:
'/adjustBbkwpxx'
,
query
:
{
xxzjbh
:
data
.
row
.
xxzjbh
}
});
console
.
log
(
data
.
row
);
},
},
};
</
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
>
src/views/zdxsxx/adjustZdxsxx.vue
→
src/views/zdx
x/zdx
sxx/adjustZdxsxx.vue
View file @
2ec1f0e5
<
template
>
<div>
<form-compontent
:formField=
"formField"
:formLabelAligns=
"formLabelAlign"
@
submit=
"submit"
>
</form-compontent>
</div>
</
template
>
<
script
>
import
formCompontent
from
"@c/form.vue"
;
import
{
insertZdxsxx
,
updateZdxsxx
,
getZdxsByxxzjbh
}
from
"@/api/zdxsxx.js"
;
export
default
{
name
:
"addYhkxs"
,
components
:
{
formCompontent
,
},
data
()
{
return
{
formField
:
[
//基本信息
{
title
:
"新增阵地线索信息"
,
id
:
1
,
objStr
:
"tbXwZdxsxx"
,
index
:
0
,
data
:
[
{
name
:
"线索简要情况:"
,
id
:
"jyqk"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"涉及地区:"
,
id
:
"sjdq"
,
type
:
"codeTree"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_XZQH"
,
},
{
name
:
"提供线索人姓名:"
,
id
:
"tgxsrXm"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"提供线索人身份证号码:"
,
id
:
"tgxsrSfzhm"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"提供线索人性别:"
,
id
:
"tgxsrXb"
,
type
:
"codeTree"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_XB"
,
},
{
name
:
"提供线索人联系电话:"
,
id
:
"tgxsrLxdh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"提供线索人工作单位:"
,
id
:
"tgxsrGzdwmc"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"提供线索人民族:"
,
id
:
"tgxsrMzdm"
,
type
:
"codeTree"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_MZ_MIS"
,
},
{
name
:
"提供线索人国籍:"
,
id
:
"tgxsrGjdm"
,
type
:
"codeTree"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_GJ"
,
},
{
name
:
"提供线索人户籍地址:"
,
id
:
"tgxsrHjdzXzqhdm"
,
type
:
"codeTree"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_XZQH"
,
},
{
name
:
"提供线索人现住址:"
,
id
:
"tgxsrXzzXzqhdm"
,
type
:
"codeTree"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_XZQH"
,
},
{
name
:
"提供线索人地址名称:"
,
id
:
"tgxsrXzzDzmc"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"阵地信息主键编号:"
,
id
:
"zdxxzjbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
],
},
{
title
:
"新增阵地线索信息1"
,
id
:
2
,
objStr
:
"tbXwFxkyqzs"
,
index
:
1
,
data
:
[
{
name
:
"枪支口径:"
,
id
:
"kyqzQzkj"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品标识号:"
,
id
:
"kyqzQhWpbzh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"枪支是否完整:"
,
id
:
"kyqzQzsfwzPdbz"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"枪支是否完整简要情况:"
,
id
:
"kyqzQzsfwzJyqk"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品特征描述:"
,
id
:
"kyqzWptzms"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品来源描述:"
,
id
:
"kyqzWplyms"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品去向:"
,
id
:
"kyqzWpqxJyqk"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"藏匿方式:"
,
id
:
"kyqzCnfsJyqk"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"交易方式:"
,
id
:
"kyqzJyfsJyqk"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"交易地点:"
,
id
:
"kyqzJyddXzqhdm"
,
type
:
"codeTree"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_XZQH"
,
},
{
name
:
"交易地点详细地址:"
,
id
:
"kyqzJyddDzmc"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"运输方式:"
,
id
:
"kyqzYsfsJyqk"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"运输路线:"
,
id
:
"kyqzYslxJyqk"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
],
},
{
title
:
"新增可疑移动通讯"
,
id
:
3
,
objStr
:
"tbXwFxkydtxsbxsxxes"
,
index
:
2
,
data
:
[
{
name
:
"可疑依据_简要情况:"
,
id
:
"keyyjJyqk"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"可疑移动通讯设备_涉案物品编号:"
,
id
:
"keyydtxsbSawpbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"可疑移动通讯设备_警综物品编号:"
,
id
:
"keyydtxsbJzwpbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"可疑移动通讯设备_品牌型号:"
,
id
:
"keyydtxsbPpxh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"可疑移动通讯设备_ICCID_物品标识号:"
,
id
:
"keyydtxsbIccidWpbzh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"可疑移动通讯设备_IMEI_物品标识号:"
,
id
:
"keyydtxsbImeiWpbzh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"可疑移动通讯设备_移动电话:"
,
id
:
"keyydtxsbYddh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"可疑移动通讯设备_物品特征描述:"
,
id
:
"keyydtxsbWptzms"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"可疑移动通讯设备_物品价值(人民币元):"
,
id
:
"keyydtxsbWpjzrmby"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
],
},
],
formLabelAlign
:
{},
xxzjbh
:
""
,
};
},
methods
:
{
submit
(
params
)
{
console
.
log
(
params
);
let
loading
=
this
.
$loading
({
lock
:
true
,
text
:
"正在保存..."
,
spinner
:
"el-icon-loading"
,
background
:
"rgba(255, 255, 255, 0.7)"
,
});
if
(
!
this
.
xxzjbh
)
{
this
.
addSubmit
(
params
,
loading
);
}
else
{
this
.
editSubmit
(
params
,
loading
);
}
},
getshuju
()
{
var
self
=
this
;
getZdxsByxxzjbh
({
xxzjbh
:
this
.
xxzjbh
,
}).
then
((
res
)
=>
{
var
result
=
res
.
data
.
rows
;
self
.
formField
.
forEach
((
fieldItem
)
=>
{
if
(
fieldItem
.
data
&&
fieldItem
.
data
.
length
>
0
)
{
fieldItem
.
data
.
forEach
((
i
)
=>
{
if
(
i
.
type
==
"text"
)
{
this
.
$set
(
this
.
formLabelAlign
,
i
.
id
,
result
[
i
.
id
]);
}
});
}
this
.
$forceUpdate
();
});
self
.
$set
(
self
.
formLabelAlign
,
"editing"
,
true
);
self
.
$forceUpdate
();
// this.isEmpty()
});
setTimeout
(()
=>
{
self
.
loading
=
false
;
},
1000
);
},
addSubmit
(
params
,
loading
)
{
insertZdxsxx
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$alert
(
"保存成功!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"success"
,
callback
:
()
=>
{
this
.
$router
.
push
(
"/queryZdxsxx"
);
loading
.
close
();
},
});
}
else
{
loading
.
close
();
}
});
},
editSubmit
(
params
,
loading
)
{
params
.
append
(
"xxzjbh"
,
this
.
xxzjbh
);
updateBbkwp
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$alert
(
"修改成功!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"success"
,
callback
:
()
=>
{
this
.
$router
.
push
(
"/queryZdxsxx"
);
loading
.
close
();
},
});
}
else
{
loading
.
close
();
}
});
},
},
created
()
{
if
(
this
.
$route
.
query
.
xxzjbh
)
{
this
.
$set
(
this
.
formField
[
0
],
"title"
,
"修改被布控物品信息"
);
this
.
xxzjbh
=
this
.
$route
.
query
.
xxzjbh
;
this
.
getshuju
();
}
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
<
template
>
<div>
<form-compontent
:formField=
"formField"
:formLabelAligns=
"formLabelAlign"
@
submit=
"submit"
>
</form-compontent>
</div>
</
template
>
<
script
>
import
formCompontent
from
"@c/form.vue"
;
import
{
insertZdxsxx
,
updateZdxsxx
,
getZdxsByxxzjbh
}
from
"@/api/zdxsxx.js"
;
export
default
{
name
:
"addYhkxs"
,
components
:
{
formCompontent
,
},
data
()
{
return
{
formField
:
[
//基本信息
{
title
:
"新增阵地线索信息"
,
id
:
1
,
objStr
:
"tbXwZdxsxx"
,
index
:
0
,
data
:
[
{
name
:
"线索简要情况:"
,
id
:
"jyqk"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"涉及地区:"
,
id
:
"sjdq"
,
type
:
"codeTree"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_XZQH"
,
},
{
name
:
"提供线索人姓名:"
,
id
:
"tgxsrXm"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"提供线索人身份证号码:"
,
id
:
"tgxsrSfzhm"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"提供线索人性别:"
,
id
:
"tgxsrXb"
,
type
:
"codeTree"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_XB"
,
},
{
name
:
"提供线索人联系电话:"
,
id
:
"tgxsrLxdh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"提供线索人工作单位:"
,
id
:
"tgxsrGzdwmc"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"提供线索人民族:"
,
id
:
"tgxsrMzdm"
,
type
:
"codeTree"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_MZ_MIS"
,
},
{
name
:
"提供线索人国籍:"
,
id
:
"tgxsrGjdm"
,
type
:
"codeTree"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_GJ"
,
},
{
name
:
"提供线索人户籍地址:"
,
id
:
"tgxsrHjdzXzqhdm"
,
type
:
"codeTree"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_XZQH"
,
},
{
name
:
"提供线索人现住址:"
,
id
:
"tgxsrXzzXzqhdm"
,
type
:
"codeTree"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_XZQH"
,
},
{
name
:
"提供线索人地址名称:"
,
id
:
"tgxsrXzzDzmc"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"阵地信息主键编号:"
,
id
:
"zdxxzjbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
],
},
{
title
:
"新增阵地线索信息1"
,
id
:
2
,
objStr
:
"tbXwFxkyqzs"
,
index
:
1
,
data
:
[
{
name
:
"枪支口径:"
,
id
:
"kyqzQzkj"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品标识号:"
,
id
:
"kyqzQhWpbzh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"枪支是否完整:"
,
id
:
"kyqzQzsfwzPdbz"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"枪支是否完整简要情况:"
,
id
:
"kyqzQzsfwzJyqk"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品特征描述:"
,
id
:
"kyqzWptzms"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品来源描述:"
,
id
:
"kyqzWplyms"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"物品去向:"
,
id
:
"kyqzWpqxJyqk"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"藏匿方式:"
,
id
:
"kyqzCnfsJyqk"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"交易方式:"
,
id
:
"kyqzJyfsJyqk"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"交易地点:"
,
id
:
"kyqzJyddXzqhdm"
,
type
:
"codeTree"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_XZQH"
,
},
{
name
:
"交易地点详细地址:"
,
id
:
"kyqzJyddDzmc"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"运输方式:"
,
id
:
"kyqzYsfsJyqk"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"运输路线:"
,
id
:
"kyqzYslxJyqk"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
],
},
{
title
:
"新增可疑移动通讯"
,
id
:
3
,
objStr
:
"tbXwFxkydtxsbxsxxes"
,
index
:
2
,
data
:
[
{
name
:
"可疑依据_简要情况:"
,
id
:
"keyyjJyqk"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"可疑移动通讯设备_涉案物品编号:"
,
id
:
"keyydtxsbSawpbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"可疑移动通讯设备_警综物品编号:"
,
id
:
"keyydtxsbJzwpbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"可疑移动通讯设备_品牌型号:"
,
id
:
"keyydtxsbPpxh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"可疑移动通讯设备_ICCID_物品标识号:"
,
id
:
"keyydtxsbIccidWpbzh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"可疑移动通讯设备_IMEI_物品标识号:"
,
id
:
"keyydtxsbImeiWpbzh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"可疑移动通讯设备_移动电话:"
,
id
:
"keyydtxsbYddh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"可疑移动通讯设备_物品特征描述:"
,
id
:
"keyydtxsbWptzms"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"可疑移动通讯设备_物品价值(人民币元):"
,
id
:
"keyydtxsbWpjzrmby"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
],
},
],
formLabelAlign
:
{},
xxzjbh
:
""
,
};
},
methods
:
{
submit
(
params
)
{
console
.
log
(
params
);
let
loading
=
this
.
$loading
({
lock
:
true
,
text
:
"正在保存..."
,
spinner
:
"el-icon-loading"
,
background
:
"rgba(255, 255, 255, 0.7)"
,
});
if
(
!
this
.
xxzjbh
)
{
this
.
addSubmit
(
params
,
loading
);
}
else
{
this
.
editSubmit
(
params
,
loading
);
}
},
getshuju
()
{
var
self
=
this
;
getZdxsByxxzjbh
({
xxzjbh
:
this
.
xxzjbh
,
}).
then
((
res
)
=>
{
var
result
=
res
.
data
.
rows
;
self
.
formField
.
forEach
((
fieldItem
)
=>
{
if
(
fieldItem
.
data
&&
fieldItem
.
data
.
length
>
0
)
{
fieldItem
.
data
.
forEach
((
i
)
=>
{
if
(
i
.
type
==
"text"
)
{
this
.
$set
(
this
.
formLabelAlign
,
i
.
id
,
result
[
i
.
id
]);
}
});
}
this
.
$forceUpdate
();
});
self
.
$set
(
self
.
formLabelAlign
,
"editing"
,
true
);
self
.
$forceUpdate
();
// this.isEmpty()
});
setTimeout
(()
=>
{
self
.
loading
=
false
;
},
1000
);
},
addSubmit
(
params
,
loading
)
{
insertZdxsxx
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$alert
(
"保存成功!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"success"
,
callback
:
()
=>
{
this
.
$router
.
push
(
"/queryZdxsxx"
);
loading
.
close
();
},
});
}
else
{
loading
.
close
();
}
});
},
editSubmit
(
params
,
loading
)
{
params
.
append
(
"xxzjbh"
,
this
.
xxzjbh
);
updateBbkwp
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$alert
(
"修改成功!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"success"
,
callback
:
()
=>
{
this
.
$router
.
push
(
"/queryZdxsxx"
);
loading
.
close
();
},
});
}
else
{
loading
.
close
();
}
});
},
},
created
()
{
if
(
this
.
$route
.
query
.
xxzjbh
)
{
this
.
$set
(
this
.
formField
[
0
],
"title"
,
"修改被布控物品信息"
);
this
.
xxzjbh
=
this
.
$route
.
query
.
xxzjbh
;
this
.
getshuju
();
}
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
\ No newline at end of file
src/views/zdxsxx/queryZdxsxx.vue
→
src/views/zdx
x/zdx
sxx/queryZdxsxx.vue
View file @
2ec1f0e5
<
template
>
<div
class=
"Content"
>
<right-content
ref=
"rightContent"
:pageBs=
"pageBs"
:header=
"header"
:cxFormData=
"cxFormData"
:cxQueryField=
"cxQueryField"
:cxDefaultFormThead=
"cxDefaultFormThead"
:cxUrl=
"cxUrl"
@
add=
"add"
@
dele=
"dele"
@
toInfor=
"toInfor"
@
edit=
"edit"
></right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
{
deleteZdxsxx
}
from
"@/api/zdxsxx.js"
;
export
default
{
name
:
"queryYdtx"
,
components
:
{
rightContent
,
},
data
()
{
return
{
header
:
"被布控物品信息管理"
,
pageBs
:
"queryBbkwpxx"
,
cxFormData
:
{
rows
:
10
,
page
:
1
,
zdxxzjbh
:
""
,
},
cxQueryField
:
[
{
name
:
"阵地信息主键编号"
,
id
:
"zdxxzjbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
""
,
col
:
"3"
,
},
{
name
:
"提供人姓名"
,
id
:
"tgxsrXm"
,
type
:
"text"
,
value
:
""
,
placeholder
:
""
,
col
:
"3"
,
},
{
name
:
"提供人身份证"
,
id
:
"tgxsrSfzhm"
,
type
:
"text"
,
value
:
""
,
placeholder
:
""
,
col
:
"3"
,
},
{
name
:
"户籍地址"
,
id
:
"tgxsrHjdzXzqhdm"
,
type
:
"codeTreeDialog"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"3"
,
codeOptions
:
[],
codeTree
:
"CODE_XZQH"
,
},
{
name
:
"现住址代码"
,
id
:
"tgxsrXzzXzqhdm"
,
type
:
"codeTreeDialog"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"3"
,
codeOptions
:
[],
codeTree
:
"CODE_XZQH"
,
},
],
cxDefaultFormThead
:
[
{
label
:
"案事件编号"
,
prop
:
"asjbh"
,
},
{
label
:
"举报人姓名"
,
prop
:
"tgxsrXm"
,
},
{
label
:
"身份证"
,
prop
:
"tgxsrSfzhm"
,
},
{
label
:
"户籍地址"
,
prop
:
"tgxsrHjdzXzqhdmStr"
,
width
:
"200"
,
},
{
label
:
"现住址"
,
prop
:
"tgxsrXzzXzqhdmStr"
,
},
],
cxUrl
:
"/zdxsxx/selectZdyrxx"
,
};
},
created
()
{},
methods
:
{
add
()
{
this
.
$router
.
push
(
"adjustZdxsxx"
);
},
dele
(
scope
)
{
this
.
$confirm
(
"此操作将永久删除该文件, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
deleteZdxsxx
({
xxzjbh
:
scope
.
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
:
"已取消删除"
,
});
});
console
.
log
(
scope
.
row
.
xxzjbh
);
},
toInfor
(
data
)
{
this
.
$router
.
push
({
path
:
"/zdxsxxDetail"
,
query
:
{
id
:
data
.
xxzjbh
,
},
});
},
edit
(
data
)
{
this
.
$router
.
push
({
path
:
"/adjustZdxsxx"
,
query
:
{
xxzjbh
:
data
.
row
.
xxzjbh
,
},
});
console
.
log
(
data
.
row
);
},
},
};
</
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
>
<
template
>
<div
class=
"Content"
>
<right-content
ref=
"rightContent"
:pageBs=
"pageBs"
:header=
"header"
:cxFormData=
"cxFormData"
:cxQueryField=
"cxQueryField"
:cxDefaultFormThead=
"cxDefaultFormThead"
:cxUrl=
"cxUrl"
@
add=
"add"
@
dele=
"dele"
@
toInfor=
"toInfor"
@
edit=
"edit"
></right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
{
deleteZdxsxx
}
from
"@/api/zdxsxx.js"
;
export
default
{
name
:
"queryYdtx"
,
components
:
{
rightContent
,
},
data
()
{
return
{
header
:
"被布控物品信息管理"
,
pageBs
:
"queryBbkwpxx"
,
cxFormData
:
{
rows
:
10
,
page
:
1
,
zdxxzjbh
:
""
,
},
cxQueryField
:
[
{
name
:
"阵地信息主键编号"
,
id
:
"zdxxzjbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
""
,
col
:
"3"
,
},
{
name
:
"提供人姓名"
,
id
:
"tgxsrXm"
,
type
:
"text"
,
value
:
""
,
placeholder
:
""
,
col
:
"3"
,
},
{
name
:
"提供人身份证"
,
id
:
"tgxsrSfzhm"
,
type
:
"text"
,
value
:
""
,
placeholder
:
""
,
col
:
"3"
,
},
{
name
:
"户籍地址"
,
id
:
"tgxsrHjdzXzqhdm"
,
type
:
"codeTreeDialog"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"3"
,
codeOptions
:
[],
codeTree
:
"CODE_XZQH"
,
},
{
name
:
"现住址代码"
,
id
:
"tgxsrXzzXzqhdm"
,
type
:
"codeTreeDialog"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
col
:
"3"
,
codeOptions
:
[],
codeTree
:
"CODE_XZQH"
,
},
],
cxDefaultFormThead
:
[
{
label
:
"案事件编号"
,
prop
:
"asjbh"
,
},
{
label
:
"举报人姓名"
,
prop
:
"tgxsrXm"
,
},
{
label
:
"身份证"
,
prop
:
"tgxsrSfzhm"
,
},
{
label
:
"户籍地址"
,
prop
:
"tgxsrHjdzXzqhdmStr"
,
width
:
"200"
,
},
{
label
:
"现住址"
,
prop
:
"tgxsrXzzXzqhdmStr"
,
},
],
cxUrl
:
"/zdxsxx/selectZdyrxx"
,
};
},
created
()
{},
methods
:
{
add
()
{
this
.
$router
.
push
(
"adjustZdxsxx"
);
},
dele
(
scope
)
{
this
.
$confirm
(
"此操作将永久删除该文件, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
deleteZdxsxx
({
xxzjbh
:
scope
.
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
:
"已取消删除"
,
});
});
console
.
log
(
scope
.
row
.
xxzjbh
);
},
toInfor
(
data
)
{
this
.
$router
.
push
({
path
:
"/zdxsxxDetail"
,
query
:
{
id
:
data
.
xxzjbh
,
},
});
},
edit
(
data
)
{
this
.
$router
.
push
({
path
:
"/adjustZdxsxx"
,
query
:
{
xxzjbh
:
data
.
row
.
xxzjbh
,
},
});
console
.
log
(
data
.
row
);
},
},
};
</
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
>
src/views/zdxsxx/zdxsxxDetail.vue
→
src/views/zdx
x/zdx
sxx/zdxsxxDetail.vue
View file @
2ec1f0e5
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-09-01 16:09:26
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
-->
<
template
>
<div
class=
"Content"
id=
"hmxsDetail"
>
<right-content
:cxQueryField=
"cxQueryField"
:pageObject=
"pageObject"
:pageFooterProps=
"pageFooterProps"
labelWidth=
"110px"
title=
"阵地线索详情"
>
</right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/PersonInfor.vue"
;
import
{
getZdxsByxxzjbh
}
from
"@/api/zdxsxx.js"
;
import
{
get
,
post
,
postform
,
postJson
}
from
"@/utils/http.js"
;
export
default
{
name
:
"queryAj"
,
components
:
{
rightContent
,
},
data
()
{
return
{
cxQueryField
:
[
{
label
:
"物品名称:"
,
prop
:
"bbkqtwpWpmc"
,
col
:
"3"
,
},
{
label
:
"物品规格:"
,
prop
:
"bbkqtwpWpgg"
,
col
:
"3"
,
},
{
label
:
"物品颜色:"
,
prop
:
"bbkqtwpWpysDmbcms"
,
col
:
"3"
,
},
{
label
:
"物品真伪:"
,
prop
:
"bbkqtwpWpzwPdbzStr"
,
col
:
"3"
,
},
],
pageFooterProps
:
[
{
label
:
"录入单位:"
,
prop
:
"xxdjdwGajgjgdm"
,
col
:
"3"
,
},
{
label
:
"录入人:"
,
prop
:
"xxdjryXm"
,
col
:
"3"
,
},
{
label
:
"录入时间:"
,
prop
:
"djsj"
,
col
:
"3"
,
},
],
pageObject
:
{},
id
:
""
,
};
},
mounted
()
{},
methods
:
{
getInfor
()
{
getZdxsByxxzjbh
({
xxzjbh
:
this
.
id
,
}).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
pageObject
=
res
.
data
.
rows
;
}
});
},
},
created
()
{
this
.
id
=
this
.
$route
.
query
.
id
;
this
.
getInfor
();
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-09-01 16:09:26
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
-->
<
template
>
<div
class=
"Content"
id=
"hmxsDetail"
>
<right-content
:cxQueryField=
"cxQueryField"
:pageObject=
"pageObject"
:pageFooterProps=
"pageFooterProps"
labelWidth=
"110px"
title=
"阵地线索详情"
>
</right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/PersonInfor.vue"
;
import
{
getZdxsByxxzjbh
}
from
"@/api/zdxsxx.js"
;
import
{
get
,
post
,
postform
,
postJson
}
from
"@/utils/http.js"
;
export
default
{
name
:
"queryAj"
,
components
:
{
rightContent
,
},
data
()
{
return
{
cxQueryField
:
[
{
label
:
"物品名称:"
,
prop
:
"bbkqtwpWpmc"
,
col
:
"3"
,
},
{
label
:
"物品规格:"
,
prop
:
"bbkqtwpWpgg"
,
col
:
"3"
,
},
{
label
:
"物品颜色:"
,
prop
:
"bbkqtwpWpysDmbcms"
,
col
:
"3"
,
},
{
label
:
"物品真伪:"
,
prop
:
"bbkqtwpWpzwPdbzStr"
,
col
:
"3"
,
},
],
pageFooterProps
:
[
{
label
:
"录入单位:"
,
prop
:
"xxdjdwGajgjgdm"
,
col
:
"3"
,
},
{
label
:
"录入人:"
,
prop
:
"xxdjryXm"
,
col
:
"3"
,
},
{
label
:
"录入时间:"
,
prop
:
"djsj"
,
col
:
"3"
,
},
],
pageObject
:
{},
id
:
""
,
};
},
mounted
()
{},
methods
:
{
getInfor
()
{
getZdxsByxxzjbh
({
xxzjbh
:
this
.
id
,
}).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
pageObject
=
res
.
data
.
rows
;
}
});
},
},
created
()
{
this
.
id
=
this
.
$route
.
query
.
id
;
this
.
getInfor
();
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
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