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
bc99b9be
Commit
bc99b9be
authored
Oct 28, 2021
by
liyuhang19990520
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改
parent
e9708d3e
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
375 additions
and
41 deletions
+375
-41
src/components/form.vue
+13
-7
src/router/modules/zczl.js
+9
-1
src/utils/params.js
+21
-21
src/views/qgncj/sswp/ssydtxsb/addssydtxb.vue
+6
-5
src/views/qgncj/sswp/ssydtxsb/detailssydtxsb.vue
+7
-3
src/views/qgncj/sswp/ssydtxsb/querysstxsb.vue
+2
-3
src/views/zczl/zczl/addsqfbzl.vue
+2
-1
src/views/zczl/zczl/jszls.vue
+307
-0
src/views/zczl/zczl/wfzdzczl.vue
+8
-0
No files found.
src/components/form.vue
View file @
bc99b9be
...
...
@@ -8,7 +8,7 @@
<el-form
ref=
"formLabelAlign"
label-position=
"right"
label-width=
"120px"
label-width=
"120px"
:model=
"formLabelAlign"
style=
"margin-bottom: 40px"
>
...
...
@@ -903,7 +903,7 @@ export default {
},
submit
()
{
var
self
=
this
;
debugger
// debugger;
this
.
$refs
.
formLabelAlign
.
validate
((
valid
)
=>
{
if
(
valid
)
{
//使用FormData构造函数创建一个空对象
...
...
@@ -911,13 +911,19 @@ export default {
this
.
propFormField
.
forEach
((
itemData
)
=>
{
let
objStr
=
itemData
.
objStr
?
`
${
itemData
.
objStr
}
.`
:
""
;
itemData
.
data
.
forEach
((
item
)
=>
{
if
(
self
.
formLabelAlign
[
item
.
id
]
||
self
.
formLabelAlign
[
item
.
id_1
]
)
{
debugger
if
(
self
.
formLabelAlign
[
item
.
id
]
||
self
.
formLabelAlign
[
item
.
id_1
]
)
{
// debugger;
if
(
item
.
type
!==
"file"
)
{
//1.1二级字典处理
if
(
item
.
type
==
"lazyCodeTree"
||
item
.
type
==
"codeTree"
)
{
if
(
item
.
multiple
)
{
let
str
=
`#
${
self
.
formLabelAlign
[
item
.
id
].
join
(
"#"
)}
`
;
if
(
item
.
id
==
"zljsdwdm"
)
{
str
=
self
.
formLabelAlign
[
item
.
id
].
join
(
","
);
}
params
.
append
(
objStr
+
item
.
id
,
str
);
}
else
{
params
.
append
(
...
...
@@ -965,8 +971,8 @@ export default {
}
}
}
else
if
(
item
.
type
==
"datetime"
)
{
params
.
append
(
item
[
'id_1'
],
this
.
formLabelAlign
[
item
.
id_1
])
params
.
append
(
item
[
'id_2'
],
this
.
formLabelAlign
[
item
.
id_2
])
params
.
append
(
item
[
"id_1"
],
this
.
formLabelAlign
[
item
.
id_1
]);
params
.
append
(
item
[
"id_2"
],
this
.
formLabelAlign
[
item
.
id_2
]);
}
//1.2普通字段处理
else
{
...
...
@@ -1250,7 +1256,7 @@ export default {
const
isJPG
=
/^.*
\.(
jpg|jpeg|png|mp4|pdf|docx|doc
)
$/i
.
test
(
file
.
name
.
substring
(
index
)
);
debugger
;
//
debugger;
if
(
item
.
type
==
"photo"
)
{
if
(
isJPG
)
{
this
.
$set
(
self
.
imageUrl
,
item
.
id
,
file
.
raw
);
...
...
src/router/modules/zczl.js
View file @
bc99b9be
/*
* @Author: your name
* @Date: 2021-10-14 15:35:19
* @LastEditTime: 2021-10-2
2 11:39:26
* @LastEditTime: 2021-10-2
8 09:47:24
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\router\modules\zczl.js
...
...
@@ -25,6 +25,14 @@ const menuLayouts = [
component
:
()
=>
import
(
"@/views/zczl/zczl/wfqdzczl.vue"
)
},
{
path
:
"/jszls"
,
name
:
"jszls"
,
meta
:
{
title
:
'接受指令数'
},
component
:
()
=>
import
(
"@/views/zczl/zczl/jszls.vue"
)
},
{
path
:
"/xywspdzczl"
,
name
:
"xywspdzczl"
,
meta
:
{
...
...
src/utils/params.js
View file @
bc99b9be
/*
* @Author: your name
* @Date: 2021-09-07 15:09:40
* @LastEditTime: 2021-10-2
7 16:50:43
* @LastEditTime: 2021-10-2
8 12:54:55
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\utils\params.js
...
...
@@ -7670,7 +7670,7 @@ const xckyxx_blxx = [
const
ssdy_jbxx
=
[
// 案事件编号
// 物品编号
]
//损失弹药弹药信息
const
ssdy_dyxx
=
[
...
...
@@ -7801,9 +7801,9 @@ const ssydtxsb_jbxx = [
{
name
:
"品牌型号:"
,
id
:
"ssydtxsbPpxh"
,
type
:
"
codeTree
"
,
codeTree
:
"CODE_DXZP_FWBSHS"
,
codeOptions
:
[],
type
:
"
text
"
,
//
codeTree: "CODE_DXZP_FWBSHS",
//
codeOptions: [],
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
...
...
@@ -7854,7 +7854,7 @@ const ssydtxsb_jbxx = [
},
{
name
:
"物品价值(元):"
,
id
:
"s
jxyrs
"
,
id
:
"s
sydtxsbWpjzrmby
"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
...
...
@@ -7876,7 +7876,7 @@ const ssydtxsb_jbxx = [
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
prop
:
'checkEmpty'
//
prop: 'checkEmpty'
},
{
name
:
"网综串码:"
,
...
...
@@ -7969,7 +7969,7 @@ const gxrxx_jbxx = [
]
//服务标识号基本信息
const
fwbsh_jbxx
=
[
]
//人员照片信息
const
ryzpxx
=
[
...
...
@@ -7981,55 +7981,55 @@ const ajxx_zczz = [
]
//案件基本信息
const
ajxx_jbxx
=
[
]
//案件案发地信息
const
ajxx_afdxx
=
[
]
//案件分析信息
const
ajxx_ajfx
=
[
]
//案件作案手段信息
const
ajxx_zasd
=
[
]
//侦查终结基本信息
const
zczj_jbxx
=
[
]
//侦查终结案件分析信息
const
zczj_ajfx
=
[
]
//侦查终结作案手段信息
const
zczj_zasd
=
[
]
//侦查终结办理信息
const
zczj_blxx
=
[
]
//抓捕犯罪嫌疑人基本信息
const
zbfzxyr_jbxx
=
[
]
//抓捕犯罪嫌疑人办理信息
const
zbfzxyr_blxx
=
[
]
//抓捕犯罪嫌疑人人员信息
const
zbfzxyr_ryxx
=
[
]
//抓捕犯罪嫌疑人侦察信息
const
zbfzxyr_zcxx
=
[
]
//抓捕犯罪嫌疑人法律文书
const
zbfzxyr_flws
=
[
]
...
...
src/views/qgncj/sswp/ssydtxsb/addssydtxb.vue
View file @
bc99b9be
<!--
* @Author: your name
* @Date: 2021-09-08 17:35:31
* @LastEditTime: 2021-10-2
7 16:50:14
* @LastEditTime: 2021-10-2
8 12:59:36
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\xxtk\case\addCase.vue
...
...
@@ -76,7 +76,6 @@ export default {
},
methods
:
{
submit
(
params
)
{
params
.
append
(
"glxxXxzjbh"
,
this
.
glxxXxzjbh
);
let
loading
=
this
.
$loading
({
lock
:
true
,
text
:
"正在保存..."
,
...
...
@@ -90,8 +89,8 @@ export default {
}
},
windowRefresh
()
{
window
.
opener
.
location
.
reload
();
window
.
close
();
window
.
opener
.
location
.
reload
();
},
addSubmit
(
params
,
loading
)
{
insertssydtxsb
(
params
).
then
((
res
)
=>
{
...
...
@@ -101,7 +100,7 @@ export default {
type
:
"success"
,
callback
:
()
=>
{
loading
.
close
();
this
.
$router
.
push
(
"queryCase"
);
this
.
windowRefresh
(
);
},
});
}
else
{
...
...
@@ -119,7 +118,7 @@ export default {
type
:
"success"
,
callback
:
()
=>
{
loading
.
close
();
this
.
$router
.
push
(
"queryCase"
);
this
.
windowRefresh
(
);
},
});
}
else
{
...
...
@@ -165,6 +164,8 @@ export default {
this
.
title
=
"修改损失移动通讯设备"
;
this
.
xxzjbh
=
this
.
$route
.
query
.
xxzjbh
;
this
.
getshuju
();
}
else
{
this
.
$set
(
this
.
formLabelAlign
,
"asjbh"
,
this
.
$route
.
query
.
asjbh
);
}
},
};
...
...
src/views/qgncj/sswp/ssydtxsb/detailssydtxsb.vue
View file @
bc99b9be
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-10-2
7 16:45:17
* @LastEditTime: 2021-10-2
8 11:18:46
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
...
...
@@ -20,7 +20,11 @@
<
script
>
import
rightContent
from
"@c/PersonInfor.vue"
;
import
{
selectSaById
}
from
"@/api/xxtk/rysa.js"
;
import
{
insertssydtxsb
,
updatessydtxsb
,
queryByXxzjbh
,
}
from
"@/api/qgccj/ssydtxsb.js"
;
import
axios
from
"@/utils/http.js"
;
export
default
{
name
:
"queryAj"
,
...
...
@@ -167,7 +171,7 @@ export default {
spinner
:
"el-icon-loading"
,
background
:
"rgba(255, 255, 255, 0.7)"
,
});
selectSaById
({
queryByXxzjbh
({
xxzjbh
:
_this
.
xxzjbh
,
}).
then
((
res
)
=>
{
var
result
=
res
.
data
.
rows
;
...
...
src/views/qgncj/sswp/ssydtxsb/querysstxsb.vue
View file @
bc99b9be
...
...
@@ -57,7 +57,7 @@ export default {
prop
:
"ssydtxsbWptzms"
,
},
],
cxUrl
:
"/
gzryFwbzhgj/selectFwbzhgj
"
,
cxUrl
:
"/
ssydtxsb/queryAll
"
,
query
:
{},
};
},
...
...
@@ -99,7 +99,7 @@ export default {
});
},
toInfor
(
obj
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/detailssydtxsb"
,
query
:
{
xxzjbh
:
obj
.
xxzjbh
,
...
...
@@ -111,7 +111,6 @@ export default {
path
:
"/addssydtxb"
,
query
:
{
xxzjbh
:
obj
.
row
.
xxzjbh
,
glxxXxzjbh
:
obj
.
row
.
glxxXxzjbh
,
},
});
},
...
...
src/views/zczl/zczl/addsqfbzl.vue
View file @
bc99b9be
...
...
@@ -84,6 +84,7 @@ export default {
codeOptions
:
[],
value
:
""
,
placeholder
:
"请输入"
,
multiple
:
true
,
prop
:
"checkEmpty"
,
col
:
"2"
,
},
...
...
@@ -136,7 +137,7 @@ export default {
return
;
}
queryLlys
({
unitcodes
:
params
.
get
(
"zljsdwdm"
)
}).
then
((
res
)
=>
{
console
.
log
(
res
);
});
// params.append("glxxXxzjbh", this.glxxXxzjbh);
...
...
src/views/zczl/zczl/jszls.vue
0 → 100644
View file @
bc99b9be
<
template
>
<div
class=
"Content"
>
<right-content
:pageBs=
"pageBs"
:header=
"header"
:cxFormData=
"cxFormData"
:cxQueryField=
"cxQueryField"
:cxDefaultFormThead=
"cxDefaultFormThead"
:cxUrl=
"cxUrl"
@
add=
"add"
@
edit=
"edit"
@
dele=
"dele"
@
toInfor=
"toInfor"
ref=
"rightContent"
></right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
{
deleteKyxsxx
}
from
"@/api/rlqbxs.js"
;
export
default
{
name
:
"rlqbxsxx"
,
components
:
{
rightContent
,
},
data
()
{
return
{
header
:
"本辖区接受的侦查指令"
,
pageBs
:
"bxqjsdzczl"
,
cxFormData
:
{
zlwh
:
""
,
zllx
:
""
,
ywlx
:
""
,
fbsj_s
:
""
,
fbsj_e
:
""
,
ywbh
:
""
,
zljsdwdm
:
""
,
zlsy
:
""
,
spsftg
:
""
,
zlsffp
:
""
,
zlsfhb
:
""
,
limit
:
10
,
page
:
1
,
},
cxQueryField
:
[
{
name
:
"侦察指令编号"
,
id
:
"qszt"
,
placeholder
:
"请输入"
,
type
:
"text"
,
value
:
""
,
col
:
"3"
,
},
{
name
:
"发布时间"
,
id
:
"fbsh_s"
,
id2
:
"fbsh_e"
,
placeholder
:
"请选择"
,
type
:
"zdyDate"
,
value
:
""
,
col
:
"3"
,
},
{
name
:
"签收状态"
,
id
:
"qszt"
,
placeholder
:
"请输入"
,
selectData
:
[
{
name
:
"已签收"
,
value
:
"0"
,
},
{
name
:
"超期签收"
,
value
:
"1"
,
},
{
name
:
"未签收"
,
value
:
"2"
,
},
{
name
:
"超期未签收"
,
value
:
"3"
,
},
],
type
:
"select"
,
value
:
""
,
col
:
"3"
,
},
{
name
:
"回报状态"
,
id
:
"hbzt"
,
placeholder
:
"请输入"
,
selectData
:
[
{
name
:
"已回报"
,
value
:
"0"
,
},
{
name
:
"超期回报"
,
value
:
"1"
,
},
{
name
:
"未回报"
,
value
:
"2"
,
},
{
name
:
"超期未回报"
,
value
:
"3"
,
},
],
type
:
"select"
,
value
:
""
,
col
:
"3"
,
},
{
name
:
"评价等级"
,
id
:
"pjdj"
,
placeholder
:
"请输入"
,
selectData
:
[
{
name
:
"不合格"
,
value
:
"0"
,
},
{
name
:
"合格"
,
value
:
"1"
,
},
{
name
:
"优秀"
,
value
:
"2"
,
},
],
type
:
"select"
,
value
:
""
,
col
:
"3"
,
},
],
cxDefaultFormThead
:
[
{
label
:
"信息编号"
,
prop
:
"zlsy"
,
},
{
label
:
"姓名"
,
prop
:
"ywmc"
,
},
{
label
:
"指令回报个数"
,
prop
:
"zlhbcs"
,
},
{
label
:
"回报期限"
,
prop
:
"hbqx"
,
},
{
label
:
"指令类型"
,
prop
:
"zllx_str"
,
},
{
label
:
"指令签收个数"
,
prop
:
"zlqsgs"
,
},
{
label
:
"指令分派个数"
,
prop
:
"zlfpgs"
,
},
{
label
:
"指令文号"
,
prop
:
"zlwh"
,
},
{
label
:
"侦查指令编号"
,
prop
:
"zczlbh"
,
},
{
label
:
"业务类型"
,
prop
:
"ywlx_str"
,
},
{
label
:
"工作要求"
,
prop
:
"gzyq"
,
},
{
label
:
"发布时间"
,
prop
:
"fbsj"
,
},
{
label
:
"审批是否通过"
,
prop
:
"spsftg"
,
},
],
cxUrl
:
"/zczl/getJszlCountList"
,
Menu
:
[
{
id
:
"bxqjsdzczl"
,
label
:
"本辖区接受的侦查指令"
,
index
:
"bxqjsdzczl"
,
auth
:
"M0101"
,
className
:
"iconfont iconrizhi"
,
disabled
:
false
,
},
],
};
},
created
()
{
this
.
$store
.
commit
(
"user/SET_Menu"
,
this
.
Menu
);
},
methods
:
{
add
()
{
this
.
$router
.
push
(
"adjustRlqbxs"
);
},
edit
(
scope
)
{
this
.
$router
.
push
({
path
:
"adjustRlqbxs"
,
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
},
});
},
dele
(
scope
)
{
console
.
log
(
scope
);
this
.
$confirm
(
"此操作将永久删除该文件, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
deleteKyxsxx
({
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
:
"已取消删除"
,
});
});
},
toInfor
(
scope
)
{
this
.
$router
.
push
({
path
:
"/detailRlqbxs"
,
query
:
{
xxzjbh
:
scope
.
xxzjbh
,
},
});
},
},
mounted
()
{},
};
</
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/zczl/zczl/wfzdzczl.vue
View file @
bc99b9be
...
...
@@ -302,6 +302,14 @@ export default {
className
:
"iconfont icongongnengfuwu"
,
disabled
:
false
,
},
{
id
:
"jszls"
,
label
:
"接收指令数"
,
index
:
"jszls"
,
auth
:
"M0102"
,
className
:
"iconfont icongongnengfuwu"
,
disabled
:
false
,
},
],
},
{
...
...
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