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
184bdce3
Commit
184bdce3
authored
Oct 08, 2021
by
liyuhang19990520
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试被布控物品信息和阵地线索信息
parent
d9faaf58
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
303 additions
and
112 deletions
+303
-112
src/components/form.vue
+4
-11
src/components/ptCxForm_components.vue
+30
-6
src/components/treeCode_components.vue
+0
-1
src/views/rlqbxsxx/adjustRlqbxs.vue
+17
-7
src/views/rlqbxsxx/detailRlqbxs.vue
+1
-21
src/views/zdxx/bbkwpxx/adjustBbkwpxx.vue
+26
-15
src/views/zdxx/bbkwpxx/queryBbkwpxx.vue
+1
-1
src/views/zdxx/zdxsxx/adjustZdxsxx.vue
+0
-0
src/views/zdxx/zdxsxx/queryZdxsxx.vue
+18
-12
src/views/zdxx/zdxsxx/zdxsxxDetail.vue
+206
-38
No files found.
src/components/form.vue
View file @
184bdce3
...
...
@@ -18,9 +18,8 @@
:key=
"groupItem.index"
>
<div>
<div
class=
"subTitle"
>
<div
class=
"subTitle"
v-if=
"groupItem.title"
>
<div>
{{
groupItem
.
title
}}
</div>
<!--
<div
class=
"bottomLine"
></div>
-->
</div>
<div
class=
"zdyLine"
>
<el-form-item
...
...
@@ -999,13 +998,8 @@
<slot
name=
"xyrList"
></slot>
</div>
</div>
<div
class=
"button"
id=
"spbtn"
v-if=
"formField[0].title != ' '"
>
<el-button
@
click=
"submit()"
class=
"finish"
>
保存
</el-button
>
<div
class=
"button"
id=
"spbtn"
v-if=
"formField[0].title != ' '"
>
<el-button
@
click=
"submit()"
class=
"finish"
>
保存
</el-button>
<el-button
@
click=
"examine"
class=
"finish examine"
...
...
@@ -1534,7 +1528,7 @@ export default {
let
self
=
this
,
addObj
;
if
(
!
obj
.
flag
)
{
self
.
$set
(
obj
,
'flag'
,
true
)
self
.
$set
(
obj
,
"flag"
,
true
);
}
else
{
self
.
propFormField
.
forEach
((
groupItem
)
=>
{
groupItem
.
data
.
forEach
((
val
)
=>
{
...
...
@@ -1565,7 +1559,6 @@ export default {
][
val2
.
list
[
0
].
name
[
f
].
id
]
==
[];
}
}
this
.
$message
.
success
(
"新增成功"
);
}
});
...
...
src/components/ptCxForm_components.vue
View file @
184bdce3
...
...
@@ -413,8 +413,25 @@
></span>
</div>
<div
v-else-if=
"columnTitle.prop == 'xzgzryzt'"
></div>
<div
v-else-if=
"columnTitle.prop == 'bzrZp' || columnTitle.prop == 'xyrZp'"
>
<img
:src=
"scope.row[columnTitle.prop]"
alt=
""
>
<div
v-else-if=
"
columnTitle.prop == 'bzrZp' || columnTitle.prop == 'xyrZp'
"
>
<img
:src=
"scope.row[columnTitle.prop]"
alt=
""
/>
</div>
<div
v-else-if=
"
pageBs == 'queryZdxsxx' && columnTitle.prop == 'tgxsrXm'
"
>
<!-- 人力情报线索信息 -->
<span
@
click=
"toInfor(scope.row)"
class=
"edit"
style=
"margin-right: 16px"
v-html=
"scope.row[columnTitle.prop]"
></span>
</div>
<div
v-else-if=
"
...
...
@@ -456,7 +473,9 @@
columnTitle.prop == 'xm' ||
(columnTitle.prop == 'qbxsmc' &&
pageBs == 'queryRlqbxs'))) ||
((pageBs == 'rwbd' || pageBs == 'rwbdjs' || pageBs == 'zdxxgl') &&
((pageBs == 'rwbd' ||
pageBs == 'rwbdjs' ||
pageBs == 'zdxxgl') &&
columnTitle.prop == 'rwmc')
"
>
...
...
@@ -561,7 +580,12 @@
{{
scope
.
row
[
columnTitle
.
prop
]
}}
</div>
<div
v-else-if=
"columnTitle.prop == 'openFlag'"
>
<el-switch
v-model=
"scope.row[columnTitle.prop]"
active-value=
'1'
inactive-value=
'0'
@
change=
'handleSwitch($event,scope.row)'
></el-switch>
<el-switch
v-model=
"scope.row[columnTitle.prop]"
active-value=
"1"
inactive-value=
"0"
@
change=
"handleSwitch($event, scope.row)"
></el-switch>
</div>
<div
v-else
v-html=
"scope.row[columnTitle.prop]"
>
{{
columnTitle
.
prop
}}
...
...
@@ -988,8 +1012,8 @@ export default {
self
.
$message
.
error
(
"请选择"
);
}
},
handleSwitch
(
value
,
item
)
{
this
.
$emit
(
"handleSwitch"
,
{
value
,
id
:
item
.
id
});
handleSwitch
(
value
,
item
)
{
this
.
$emit
(
"handleSwitch"
,
{
value
,
id
:
item
.
id
});
},
audit
(
scope
)
{
this
.
$emit
(
"audit"
,
scope
.
row
);
...
...
src/components/treeCode_components.vue
View file @
184bdce3
...
...
@@ -371,7 +371,6 @@ export default {
* 展示字典树弹出框
*/
showCodeTreeDialog
(
value
,
item
,
realFormLableAlign
,
realValueKey
)
{
debugger
var
self
=
this
;
if
(
value
)
{
self
.
filterText
=
""
;
...
...
src/views/rlqbxsxx/adjustRlqbxs.vue
View file @
184bdce3
...
...
@@ -48,7 +48,6 @@ export default {
{
name
:
"线索提供者:"
,
col
:
"1"
,
childrenAsAdd
:
[
{
name
:
"提供人:"
,
...
...
@@ -224,27 +223,38 @@ export default {
xxzjbh
:
this
.
xxzjbh
,
}).
then
((
res
)
=>
{
var
result
=
res
.
data
.
rows
;
self
.
formField
.
forEach
((
i
)
=>
{
self
.
formField
.
forEach
((
i
,
iIndex
)
=>
{
console
.
log
(
i
);
if
(
i
.
data
&&
i
.
data
.
length
>
0
)
{
i
.
data
.
forEach
((
j
)
=>
{
i
.
data
.
forEach
((
j
,
jIndex
)
=>
{
if
(
j
.
childrenAsAdd
)
{
j
.
childrenAsAdd
.
forEach
((
m
)
=>
{
j
.
childrenAsAdd
.
forEach
((
m
,
mIndex
)
=>
{
self
.
$set
(
self
.
formLabelAlign
,
m
.
id
,
result
[
m
.
id
]
||
[]);
if
(
result
[
m
.
id
].
length
>
0
)
{
//如果集合有值,则让显示
self
.
$set
(
self
.
formField
[
iIndex
].
data
[
jIndex
].
childrenAsAdd
[
mIndex
],
"flag"
,
true
);
}
});
}
else
{
self
.
$set
(
self
.
formLabelAlign
,
j
.
id
,
result
[
i
.
objStr
][
j
.
id
]);
self
.
$set
(
self
.
formLabelAlign
,
j
.
id
,
i
.
objStr
?
result
[
i
.
objStr
][
j
.
id
]
:
result
[
j
.
id
]
);
}
});
self
.
$set
(
self
.
formLabelAlign
,
"bcxx"
,
result
.
kyxs
.
bcxx
);
self
.
$set
(
self
.
formLabelAlign
,
"spbz"
,
result
.
kyxs
.
spbz
);
}
});
loading
.
close
();
self
.
$forceUpdate
();
});
setTimeout
(()
=>
{
self
.
loading
=
false
;
loading
.
close
()
;
},
1000
);
},
addSubmit
(
params
,
loading
)
{
...
...
src/views/rlqbxsxx/detailRlqbxs.vue
View file @
184bdce3
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-
09-28 14:11:1
8
* @LastEditTime: 2021-
10-08 11:44:5
8
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
...
...
@@ -380,23 +380,6 @@ export default {
],
},
],
// pageFooterProps: [
// {
// label: "填表单位:",
// prop: "xxdjdwGajgmc",
// col: "3",
// },
// {
// label: "填表人:",
// prop: "xxdjryXm",
// col: "3",
// },
// {
// label: "填表时间:",
// prop: "djsj",
// col: "3",
// },
// ],
defaultProps
:
{
parent
:
"parentId"
,
// 父级唯一标识
value
:
"id"
,
// 唯一标识
...
...
@@ -440,9 +423,6 @@ export default {
loading
.
close
();
var
result
=
res
.
data
.
rows
;
this
.
pageObject
=
result
;
console
.
log
(
this
.
pageObject
);
// this.$set(this.pageObject, "tgz", undefined);
// this.pageObject = result;
});
},
},
...
...
src/views/zdxx/bbkwpxx/adjustBbkwpxx.vue
View file @
184bdce3
...
...
@@ -20,10 +20,11 @@ export default {
},
data
()
{
return
{
title
:
"新增被布控物品信息"
,
formField
:
[
//基本信息
{
title
:
"
新增被布控物品信息
"
,
title
:
""
,
id
:
1
,
objStr
:
""
,
index
:
0
,
...
...
@@ -114,7 +115,7 @@ export default {
col
:
"2"
,
},
{
name
:
"阵地
信息
主键编号:"
,
name
:
"阵地主键编号:"
,
id
:
"glxxXxzjbh"
,
type
:
"text"
,
value
:
""
,
...
...
@@ -166,24 +167,36 @@ export default {
getBbkwpByxxzjbh
({
xxzjbh
:
this
.
xxzjbh
,
}).
then
((
res
)
=>
{
loading
.
close
();
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
]);
self
.
formField
.
forEach
((
i
,
iIndex
)
=>
{
if
(
i
.
data
&&
i
.
data
.
length
>
0
)
{
i
.
data
.
forEach
((
j
,
jIndex
)
=>
{
if
(
j
.
childrenAsAdd
)
{
j
.
childrenAsAdd
.
forEach
((
m
,
mIndex
)
=>
{
self
.
$set
(
self
.
formLabelAlign
,
m
.
id
,
result
[
m
.
id
]
||
[]);
if
(
result
[
m
.
id
].
length
>
0
)
{
//如果集合有值,则让显示
self
.
$set
(
self
.
formField
[
iIndex
].
data
[
jIndex
].
childrenAsAdd
[
mIndex
],
"flag"
,
true
);
}
});
}
else
{
self
.
$set
(
self
.
formLabelAlign
,
j
.
id
,
i
.
objStr
?
result
[
i
.
objStr
][
j
.
id
]
:
result
[
j
.
id
]
);
}
});
}
this
.
$forceUpdate
();
});
self
.
$set
(
self
.
formLabelAlign
,
"editing"
,
true
);
self
.
$forceUpdate
();
// this.isEmpty()
});
setTimeout
(()
=>
{
self
.
loading
=
false
;
loading
.
close
()
;
},
1000
);
},
addSubmit
(
params
,
loading
)
{
...
...
@@ -221,10 +234,8 @@ export default {
},
},
created
()
{
this
.
$store
.
commit
(
"user/SET_Breadcrumb"
,
this
.
Menu
);
if
(
this
.
$route
.
query
.
xxzjbh
)
{
this
.
$set
(
this
.
formField
[
0
],
"title"
,
"修改被布控物品信息"
);
// this.formField[0].title = "修改被布控物品信息"
this
.
title
=
"修改被布控物品信息"
;
this
.
xxzjbh
=
this
.
$route
.
query
.
xxzjbh
;
this
.
getshuju
();
}
...
...
src/views/zdxx/bbkwpxx/queryBbkwpxx.vue
View file @
184bdce3
...
...
@@ -35,7 +35,7 @@ export default {
},
cxQueryField
:
[
{
name
:
"阵地信息
信息
主键编号"
,
name
:
"阵地信息主键编号"
,
id
:
"glxxXxzjbh"
,
type
:
"text"
,
value
:
""
,
...
...
src/views/zdxx/zdxsxx/adjustZdxsxx.vue
View file @
184bdce3
This diff is collapsed.
Click to expand it.
src/views/zdxx/zdxsxx/queryZdxsxx.vue
View file @
184bdce3
...
...
@@ -20,14 +20,14 @@
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
{
deleteZdxsxx
}
from
"@/api/zdxsxx.js"
;
export
default
{
name
:
"query
Bbkwp
xx"
,
name
:
"query
Zdxs
xx"
,
components
:
{
rightContent
,
},
data
()
{
return
{
header
:
"
被布控物品
信息管理"
,
pageBs
:
"query
Bbkwp
xx"
,
header
:
"
阵地线索
信息管理"
,
pageBs
:
"query
Zdxs
xx"
,
cxFormData
:
{
rows
:
10
,
page
:
1
,
...
...
@@ -85,11 +85,7 @@ export default {
],
cxDefaultFormThead
:
[
{
label
:
"案事件编号"
,
prop
:
"asjbh"
,
},
{
label
:
"举报人姓名"
,
label
:
"提供人姓名"
,
prop
:
"tgxsrXm"
,
},
{
...
...
@@ -97,20 +93,30 @@ export default {
prop
:
"tgxsrSfzhm"
,
},
{
label
:
"
户籍地址
"
,
label
:
"
提供人户籍
"
,
prop
:
"tgxsrHjdzXzqhdmStr"
,
width
:
"200"
,
},
{
label
:
"现住址"
,
label
:
"
提供人
现住址"
,
prop
:
"tgxsrXzzXzqhdmStr"
,
},
],
cxUrl
:
"/zdxsxx/selectZdyrxx"
,
Menu
:
[
{
id
:
"queryZdxsxx"
,
label
:
"阵地线索信息列表"
,
index
:
"queryZdxsxx"
,
auth
:
"M0101"
,
className
:
"iconfont iconrizhi"
,
disabled
:
false
,
},
],
};
},
created
()
{
this
.
$store
.
commit
(
"user/SET_Menu"
,
this
.
Menu
);
},
methods
:
{
add
()
{
...
...
@@ -147,7 +153,7 @@ export default {
this
.
$router
.
push
({
path
:
"/zdxsxxDetail"
,
query
:
{
id
:
data
.
xxzjbh
,
xxzjbh
:
data
.
xxzjbh
,
},
});
},
...
...
src/views/zdxx/zdxsxx/zdxsxxDetail.vue
View file @
184bdce3
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-
09-01 16:09:26
* @LastEditTime: 2021-
10-08 12:04:13
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
...
...
@@ -11,8 +11,7 @@
<right-content
:cxQueryField=
"cxQueryField"
:pageObject=
"pageObject"
:pageFooterProps=
"pageFooterProps"
labelWidth=
"110px"
labelWidth=
"130px"
title=
"阵地线索详情"
>
</right-content>
...
...
@@ -32,61 +31,230 @@ export default {
return
{
cxQueryField
:
[
{
label
:
"物品名称:"
,
prop
:
"bbkqtwpWpmc"
,
col
:
"3"
,
title
:
"阵地线索"
,
id
:
1
,
objStr
:
"tbXwZdxsxx"
,
data
:
[
{
label
:
"线索简要情况:"
,
prop
:
"jyqk"
,
col
:
"10"
,
},
{
label
:
"涉及地区:"
,
prop
:
"sjdq"
,
col
:
"3"
,
},
{
label
:
"提供人姓名:"
,
prop
:
"tgxsrXm"
,
col
:
"3"
,
},
{
label
:
"提供人身份证:"
,
prop
:
"tgxsrSfzhm"
,
col
:
"3"
,
},
{
label
:
"提供人性别:"
,
prop
:
"tgxsrXb"
,
col
:
"3"
,
},
{
label
:
"提供人电话:"
,
prop
:
"tgxsrLxdh"
,
col
:
"3"
,
},
{
label
:
"提供人工作地:"
,
prop
:
"tgxsrGzdwmc"
,
col
:
"3"
,
},
{
label
:
"提供人民族:"
,
prop
:
"tgxsrMzdmStr"
,
col
:
"3"
,
},
{
label
:
"提供人国籍:"
,
prop
:
"tgxsrGjdmStr"
,
col
:
"3"
,
},
{
label
:
"提供人户籍:"
,
prop
:
"tgxsrHjdzXzqhdmStr"
,
col
:
"3"
,
},
{
label
:
"提供人现住址:"
,
prop
:
"tgxsrXzzXzqhdmStr"
,
col
:
"3"
,
},
{
label
:
"提供人地址:"
,
prop
:
"tgxsrXzzDzmc"
,
col
:
"3"
,
},
{
label
:
"阵地主键编号:"
,
prop
:
"zdxxzjbh"
,
col
:
"3"
,
},
],
},
{
label
:
"物品规格:"
,
prop
:
"bbkqtwpWpgg"
,
col
:
"3"
,
title
:
"可疑枪支"
,
id
:
2
,
objStr
:
"tbXwFxkyqzs"
,
applyType
:
"list"
,
data
:
[
{
label
:
"枪支口径:"
,
prop
:
"kyqzQzkj"
,
col
:
"3"
,
},
{
label
:
"物品标识号:"
,
prop
:
"kyqzQhWpbzh"
,
col
:
"3"
,
},
{
label
:
"枪支是否完整:"
,
prop
:
"kyqzQzsfwzPdbz"
,
col
:
"3"
,
},
{
label
:
"简要情况:"
,
prop
:
"kyqzQzsfwzJyqk"
,
col
:
"10"
,
},
{
label
:
"物品特征描述:"
,
prop
:
"kyqzWptzms"
,
col
:
"3"
,
},
{
label
:
"物品来源描述:"
,
prop
:
"kyqzWplyms"
,
col
:
"3"
,
},
{
label
:
"物品去向:"
,
prop
:
"kyqzWpqxJyqk"
,
col
:
"3"
,
},
{
label
:
"藏匿方式:"
,
prop
:
"kyqzCnfsJyqk"
,
col
:
"3"
,
},
{
label
:
"交易方式:"
,
prop
:
"kyqzJyfsJyqk"
,
col
:
"3"
,
},
{
label
:
"交易地点:"
,
prop
:
"kyqzJyddXzqhdmStr"
,
col
:
"3"
,
},
{
label
:
"详细地址:"
,
prop
:
"kyqzJyddDzmc"
,
col
:
"3"
,
},
{
label
:
"运输方式:"
,
prop
:
"kyqzYsfsJyqk"
,
col
:
"3"
,
},
{
label
:
"运输路线:"
,
prop
:
"kyqzYslxJyqk"
,
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"
,
title
:
"可疑设备"
,
id
:
3
,
objStr
:
"tbXwFxkydtxsbxsxxes"
,
applyType
:
"list"
,
data
:
[
{
label
:
"简要情况:"
,
prop
:
"keyyjJyqk"
,
col
:
"10"
,
},
{
label
:
"涉案物品编号:"
,
prop
:
"keyydtxsbSawpbh"
,
col
:
"3"
,
},
{
label
:
"警综物品编号:"
,
prop
:
"keyydtxsbJzwpbh"
,
col
:
"3"
,
},
{
label
:
"品牌型号:"
,
prop
:
"keyydtxsbPpxh"
,
col
:
"3"
,
},
{
label
:
"ICCID:"
,
prop
:
"keyydtxsbIccidWpbzh"
,
col
:
"3"
,
},
{
label
:
"IMEI:"
,
prop
:
"keyydtxsbImeiWpbzh"
,
col
:
"3"
,
},
{
label
:
"移动电话:"
,
prop
:
"keyydtxsbYddh"
,
col
:
"3"
,
},
{
label
:
"物品特征描述:"
,
prop
:
"keyydtxsbWptzms"
,
col
:
"3"
,
},
{
label
:
"物品价值:"
,
prop
:
"keyydtxsbWpjzrmby"
,
col
:
"3"
,
},
],
},
],
pageObject
:
{},
id
:
""
,
xxzjbh
:
""
,
};
},
mounted
()
{},
methods
:
{
getInfor
()
{
let
loading
=
this
.
$loading
({
lock
:
true
,
text
:
"正在加载..."
,
spinner
:
"el-icon-loading"
,
background
:
"rgba(255, 255, 255, 0.7)"
,
});
getZdxsByxxzjbh
({
xxzjbh
:
this
.
id
,
xxzjbh
:
this
.
xxzjbh
,
}).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
pageObject
=
res
.
data
.
rows
;
loading
.
close
();
var
result
=
res
.
data
.
rows
;
this
.
pageObject
=
result
;
}
});
},
},
created
()
{
this
.
id
=
this
.
$route
.
query
.
id
;
this
.
xxzjbh
=
this
.
$route
.
query
.
xxzjbh
;
this
.
getInfor
();
},
};
...
...
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