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
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
591 additions
and
585 deletions
+591
-585
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
+0
-0
src/views/zdxx/bbkwpxx/bbkwpxxDetail.vue
+95
-95
src/views/zdxx/bbkwpxx/queryBbkwpxx.vue
+173
-173
src/views/zdxx/zdxsxx/adjustZdxsxx.vue
+0
-0
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
This diff is collapsed.
Click to expand it.
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
This diff is collapsed.
Click to expand it.
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