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
a678e22a
Commit
a678e22a
authored
Nov 18, 2021
by
gao_yingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资金流
parent
eb7c86eb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
264 additions
and
73 deletions
+264
-73
src/api/yzzfzxsyp/thxs.js
+13
-2
src/components/ptCxForm_components.vue
+81
-11
src/views/ztyp/queryZj.vue
+170
-60
No files found.
src/api/yzzfzxsyp/thxs.js
View file @
a678e22a
...
@@ -7,7 +7,7 @@ export const getXsbh = params =>
...
@@ -7,7 +7,7 @@ export const getXsbh = params =>
//新增团伙
//新增团伙
export
const
addThxs
=
params
=>
export
const
addThxs
=
params
=>
postform
(
`
${
base
.
alyIP
}
/thajxs/addThxs`
,
params
);
postform
(
`
${
base
.
alyIP
}
/thajxs/addThxs`
,
params
);
//新增附件
//新增附件
export
const
addXsfj
=
params
=>
export
const
addXsfj
=
params
=>
...
@@ -19,12 +19,23 @@ export const getThxsByZjbh = params =>
...
@@ -19,12 +19,23 @@ export const getThxsByZjbh = params =>
//团伙线索信息编辑
//团伙线索信息编辑
export
const
updateThxs
=
params
=>
export
const
updateThxs
=
params
=>
postform
(
`
${
base
.
alyIP
}
/thajxs/updateThxs`
,
params
);
postform
(
`
${
base
.
alyIP
}
/thajxs/updateThxs`
,
params
);
//团伙线索信息详情
//团伙线索信息详情
export
const
delThxs
=
params
=>
export
const
delThxs
=
params
=>
post
(
`
${
base
.
alyIP
}
/thajxs/delThxs`
,
params
);
post
(
`
${
base
.
alyIP
}
/thajxs/delThxs`
,
params
);
// 2.16 资金 新增任务
export
const
insertJtrw
=
params
=>
post
(
`
${
base
.
alyIP
}
/ztypxx/insertJtrw`
,
params
);
//2.18 资金 上传资金excle表
export
const
uploadFile
=
params
=>
postform
(
`
${
base
.
alyIP
}
/ztypxx/uploadFile`
,
params
);
// 2查询最新资金表的数据
export
const
selectZxzjbList
=
params
=>
post
(
`
${
base
.
alyIP
}
/ztypxx/selectZxzjbList`
,
params
);
...
...
src/components/ptCxForm_components.vue
View file @
a678e22a
...
@@ -348,16 +348,23 @@
...
@@ -348,16 +348,23 @@
pageBs != 'wfzdzczl' &&
pageBs != 'wfzdzczl' &&
pageBs != 'qjgnsyrz' &&
pageBs != 'qjgnsyrz' &&
pageBs != 'queryCheckBj' &&
pageBs != 'queryCheckBj' &&
pageBs != 'queryZj' &&
pageBs != 'queryWl' &&
pageBs != 'queryWl' &&
pageBs != 'bjzycx' &&
pageBs != 'bjzycx' &&
pageBs != 'yhzyh' &&
pageBs != 'yhzyh' &&
pageBs != 'queryDx' &&
pageBs != 'queryDx' &&
pageBs != 'queryZj' &&
pageBs != 'sqqxgl'
pageBs != 'sqqxgl'
"
"
>
>
<i
class=
"el-icon-plus"
></i>
新增
<i
class=
"el-icon-plus"
></i>
新增
</div>
</div>
<div
class=
"flTtitle Add"
@
click=
"adds"
v-if=
"pageASs == 'queryZj'"
>
<i
class=
"el-icon-plus"
></i>
新增
</div>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini"
size=
"mini"
...
@@ -504,7 +511,32 @@
...
@@ -504,7 +511,32 @@
size=
"small"
size=
"small"
v-if=
"listMode != 2"
v-if=
"listMode != 2"
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
@
expand-change=
"rowExpand"
>
>
<el-table-column
type=
"expand"
v-if=
"pageASs == 'queryZj'"
>
<template
slot-scope=
"props"
>
<el-table
v-loading=
"loadingZxzjlList"
:data=
"tableData1"
stripe
style=
"width: 100%"
>
<el-table-column
align=
"center"
prop=
"bfkh"
label=
"本方卡号"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"bfzhmc"
label=
"账号名称"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"zhye"
label=
"余额"
>
</el-table-column>
<el-table-column
align=
"center"
label=
"操作"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"success"
@
click=
"sprops(scope)"
>
可视化分析
</el-button>
</
template
>
</el-table-column>
</el-table>
</template>
</el-table-column>
<el-table-column
<el-table-column
align=
"center"
align=
"center"
label=
"操作"
label=
"操作"
...
@@ -854,7 +886,13 @@
...
@@ -854,7 +886,13 @@
<el-table-column
<el-table-column
align=
"center"
align=
"center"
label=
"操作"
label=
"操作"
:width=
"pageBs == 'zdxxgl' || pageBs == 'gzrygl' ? '460' : '200' || pageBs == 'queryHbyp' ? '500' : '200'"
:width=
"
pageBs == 'zdxxgl' || pageBs == 'gzrygl'
? '460'
: '200' || pageBs == 'queryHbyp'
? '500'
: '200'
"
:fixed=
"pageBs == 'rySp' ? 'right' : false"
:fixed=
"pageBs == 'rySp' ? 'right' : false"
v-if=
"
v-if=
"
!(
!(
...
@@ -878,9 +916,9 @@
...
@@ -878,9 +916,9 @@
pageBs == 'wscdajtj' ||
pageBs == 'wscdajtj' ||
pageBs == 'jszls' ||
pageBs == 'jszls' ||
pageBs == 'queryCheckBj' ||
pageBs == 'queryCheckBj' ||
pageBs == 'queryZj' ||
pageBs == 'queryWl' ||
pageBs == 'queryWl' ||
pageBs == 'queryDna' ||
pageBs == 'queryDna' ||
pageBs == 'queryZj' ||
pageBs == 'queryZw' ||
pageBs == 'queryZw' ||
pageBs == 'wfqdzczl' ||
pageBs == 'wfqdzczl' ||
pageBs == 'xywspdzczl' ||
pageBs == 'xywspdzczl' ||
...
@@ -1209,7 +1247,24 @@
...
@@ -1209,7 +1247,24 @@
v-if=
"tableOperation"
v-if=
"tableOperation"
:width=
"tableOperationWidth"
:width=
"tableOperationWidth"
align=
"center"
align=
"center"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<slot
name=
"btnGroup"
:scope=
"scope"
></slot>
</
template
>
</el-table-column>
<el-table-column
v-if=
"pageASs == 'queryZj'"
:width=
"
pageBs == 'zdxxgl' || pageBs == 'gzrygl'
? '460'
: '200' || pageBs == 'queryHbyp'
? '500'
: '200'
"
align=
"center"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<slot
name=
"btnGroup"
:scope=
"scope"
></slot>
<slot
name=
"btnGroup"
:scope=
"scope"
></slot>
</
template
>
</
template
>
...
@@ -1386,16 +1441,18 @@ export default {
...
@@ -1386,16 +1441,18 @@ export default {
LazySelectTreeDialog
,
LazySelectTreeDialog
,
},
},
props
:
{
props
:
{
tableOperation
:{
tableOperation
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
()
=>
false
default
:
()
=>
false
,
},
},
tableOperationWidth
:{
tableOperationWidth
:
{
type
:
Number
,
type
:
Number
,
default
:
()
=>
100
default
:
()
=>
100
,
},
},
pageASs
:
String
,
pageBs
:
String
,
pageBs
:
String
,
pageBt
:
String
,
pageBt
:
String
,
loadingZxzjlList
:
Boolean
,
cxQueryField
:
{
cxQueryField
:
{
type
:
Array
,
type
:
Array
,
default
:
()
=>
[],
default
:
()
=>
[],
...
@@ -1409,10 +1466,14 @@ export default {
...
@@ -1409,10 +1466,14 @@ export default {
cxUrl
:
String
,
cxUrl
:
String
,
header
:
String
,
header
:
String
,
pageFlag
:
String
,
pageFlag
:
String
,
listOperation
:{
listOperation
:
{
type
:
Array
,
type
:
Array
,
default
:
()
=>
[],
default
:
()
=>
[],
},
//信息列表操作按钮
},
//信息列表操作按钮
tableData1
:
{
type
:
Array
,
default
:
()
=>
[],
},
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -1509,6 +1570,9 @@ export default {
...
@@ -1509,6 +1570,9 @@ export default {
};
};
},
},
methods
:
{
methods
:
{
rowExpand
(
row
,
expandedRows
)
{
this
.
$emit
(
"rowExpand"
,
row
);
},
switchingConditions
()
{
switchingConditions
()
{
debugger
;
debugger
;
this
.
toggleZd
=
!
this
.
toggleZd
;
this
.
toggleZd
=
!
this
.
toggleZd
;
...
@@ -1777,6 +1841,9 @@ export default {
...
@@ -1777,6 +1841,9 @@ export default {
add
()
{
add
()
{
this
.
$emit
(
"add"
);
this
.
$emit
(
"add"
);
},
},
adds
()
{
this
.
$emit
(
"adds"
);
},
toInfor
(
data
)
{
toInfor
(
data
)
{
this
.
$emit
(
"toInfor"
,
data
);
this
.
$emit
(
"toInfor"
,
data
);
},
},
...
@@ -1908,6 +1975,9 @@ export default {
...
@@ -1908,6 +1975,9 @@ export default {
this
.
doQuery
(
"yes"
);
this
.
doQuery
(
"yes"
);
}
}
},
},
sprops
(
scope
)
{
this
.
$emit
(
"sprops"
,
scope
);
},
doQuery
(
flag
)
{
doQuery
(
flag
)
{
this
.
showLoading
();
this
.
showLoading
();
var
jsonStr
=
[];
var
jsonStr
=
[];
...
...
src/views/ztyp/queryZj.vue
View file @
a678e22a
...
@@ -7,15 +7,76 @@
...
@@ -7,15 +7,76 @@
:cxQueryField=
"cxQueryField"
:cxQueryField=
"cxQueryField"
:cxDefaultFormThead=
"cxDefaultFormThead"
:cxDefaultFormThead=
"cxDefaultFormThead"
:cxUrl=
"cxUrl"
:cxUrl=
"cxUrl"
:tableData1=
"tableData1"
ref=
"rightContent"
ref=
"rightContent"
@
toInfor=
"toInfor"
:pageASs=
"pageASs"
></right-content>
@
rowExpand=
"rowExpand"
@
adds=
"adds"
@
sprops=
"sprops"
:loadingZxzjlList=
"loadingZxzjlList"
>
<template
#
btnGroup=
"scope"
>
<el-upload
class=
"upload-demo"
ref=
"upload"
action=
"/"
:on-change=
"handleChange"
:on-remove=
"handleRemove"
:file-list=
"fileList"
:auto-upload=
"false"
>
<el-button
slot=
"trigger"
size=
"small"
type=
"primary"
>
选取文件
</el-button
>
<el-button
style=
"margin-left: 10px"
size=
"small"
type=
"primary"
@
click=
"submitUpload(scope.scope)"
>
上传
</el-button
>
<div
slot=
"tip"
class=
"el-upload__tip"
>
只能上传xls文件
</div>
</el-upload>
</
template
>
</right-content>
<el-dialog
title=
"新增资金流转"
:visible
.
sync=
"dialogVisible"
width=
"40%"
center
>
<div
style=
"margin: 20px 0 0 0"
>
<el-form
:inline=
"true"
:model=
"examineInfo"
class=
"demo-form-inline"
>
<el-row>
<el-col
:span=
"20"
:offset=
"2"
>
<el-form-item
label=
"任务名称:"
style=
"width:100%"
>
<el-input
type=
"text"
v-model=
"examineInfo.zwmc"
:autosize=
"{ minRows: 3 }"
style=
"width: 300px"
placeholder=
"请输入"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"addDb"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
{
delThxs
}
from
"@/api/yzzfzxsyp/thxs.js"
;
import
{
insertJtrw
,
uploadFile
,
selectZxzjbList
,
}
from
"@/api/yzzfzxsyp/thxs.js"
;
export
default
{
export
default
{
name
:
"queryZj"
,
name
:
"queryZj"
,
components
:
{
components
:
{
...
@@ -23,76 +84,57 @@ export default {
...
@@ -23,76 +84,57 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
xls
:
{},
loadingZxzjlList
:
false
,
tableData1
:
[],
fileList
:
[],
dialogVisible
:
false
,
examineInfo
:
{
zwmc
:
""
,
},
header
:
"主题研判"
,
header
:
"主题研判"
,
pageBs
:
"queryZj"
,
pageBs
:
"queryZj"
,
pageASs
:
"queryZj"
,
cxFormData
:
{
cxFormData
:
{
limit
:
10
,
limit
:
10
,
page
:
1
,
page
:
1
,
fsrzzzh
:
""
,
zwmc
:
""
,
fsrsfzh
:
""
,
rwkssj
:
""
,
jsrzzzh
:
""
,
rwjssj
:
""
,
jsrzzzh
:
""
,
jsrsfz
:
""
,
},
},
cxQueryField
:
[
cxQueryField
:
[
{
{
name
:
"发送人账号"
,
name
:
"任务名称"
,
id
:
"fsrzzzh"
,
id
:
"zwmc"
,
type
:
"text"
,
value
:
""
,
placeholder
:
""
,
col
:
"3"
,
},
{
name
:
"发送人身份证"
,
id
:
"fsrsfzh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
""
,
col
:
"3"
,
},
{
name
:
"接收人账号"
,
id
:
"jsrzzzh"
,
type
:
"text"
,
type
:
"text"
,
value
:
""
,
value
:
""
,
placeholder
:
""
,
placeholder
:
""
,
col
:
"3"
,
col
:
"3"
,
},
},
{
{
name
:
"接收人身份证"
,
name
:
"任务时间"
,
id
:
"jsrsfz"
,
id
:
"rwkssj"
,
type
:
"text"
,
id2
:
"rwjssj"
,
type
:
"zdyDate"
,
value
:
""
,
value
:
""
,
placeholder
:
""
,
col
:
"3"
,
col
:
"3"
,
},
},
],
],
cxDefaultFormThead
:
[
cxDefaultFormThead
:
[
{
{
label
:
"发送人账号"
,
label
:
"任务名称"
,
prop
:
"fsrzzzh"
,
prop
:
"zwmc"
,
toInfor
:
true
,
},
{
label
:
"发送人姓名"
,
prop
:
"fsrxm"
,
},
},
{
{
label
:
"
发送人身份证
"
,
label
:
"
数量
"
,
prop
:
"
fsrsfzh
"
,
prop
:
"
wjzs
"
,
},
},
{
{
label
:
"发送银行"
,
label
:
"任务时间"
,
prop
:
"fsyh"
,
prop
:
"djsj"
,
},
{
label
:
"备注"
,
prop
:
"bz"
,
},
},
],
],
cxUrl
:
"/ztypxx/select
Zjlxx
"
,
cxUrl
:
"/ztypxx/select
JtrwList
"
,
Menu
:
[
Menu
:
[
{
{
id
:
"queryZj"
,
id
:
"queryZj"
,
...
@@ -136,14 +178,7 @@ export default {
...
@@ -136,14 +178,7 @@ export default {
className
:
"iconfont icongongnengfuwu"
,
className
:
"iconfont icongongnengfuwu"
,
hasChildren
:
false
,
hasChildren
:
false
,
},
},
{
id
:
"queryQt"
,
label
:
"群体研判信息管理"
,
index
:
"queryQt"
,
newAuth
:
"M01"
,
className
:
"iconfont icongongnengfuwu"
,
hasChildren
:
false
,
},
{
{
id
:
"argxfx"
,
id
:
"argxfx"
,
label
:
"案人关系分析"
,
label
:
"案人关系分析"
,
...
@@ -194,18 +229,93 @@ export default {
...
@@ -194,18 +229,93 @@ export default {
// debugger;
// debugger;
},
},
methods
:
{
methods
:
{
toInfor
(
data
)
{
rowExpand
(
row
)
{
debugger
;
this
.
tableData1
=
[];
this
.
loadingZxzjlList
=
true
;
selectZxzjbList
({
ssrwbh
:
row
.
xxzjbh
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
tableData1
=
res
.
data
.
rows
;
this
.
loadingZxzjlList
=
false
;
}
});
},
submitUpload
(
scope
)
{
var
params
=
new
FormData
();
params
.
append
(
"files"
,
this
.
xls
);
params
.
append
(
"xxzjbh"
,
scope
.
row
.
xxzjbh
);
uploadFile
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"上传成功!"
);
this
.
fileList
=
[];
this
.
$refs
.
rightContent
.
doQuery
(
"yes"
);
}
else
{
this
.
$message
.
error
(
"上传失败!"
);
}
});
},
handleChange
(
file
,
fileList
)
{
debugger
;
if
(
fileList
.
length
<
3
)
{
var
index
=
file
.
name
.
lastIndexOf
(
"."
);
const
isJPG
=
/^.*
\.(
xls
)
$/i
.
test
(
file
.
name
.
substring
(
index
));
if
(
isJPG
)
{
this
.
xls
=
file
.
raw
;
}
else
{
fileList
.
forEach
((
item
,
index
)
=>
{
if
(
file
.
raw
.
uid
==
item
.
uid
)
{
fileList
.
splice
(
index
,
1
);
}
});
this
.
$message
.
error
(
"请上传正确的文件格式!"
);
}
}
else
{
fileList
.
forEach
((
item
,
index
)
=>
{
if
(
file
.
raw
.
uid
==
item
.
uid
)
{
fileList
.
splice
(
index
,
1
);
}
});
this
.
$message
.
error
(
"当前只能上传两个xls文件!"
);
}
},
handleRemove
(
file
,
fileList
)
{
debugger
;
console
.
log
(
file
,
fileList
);
},
handlePreview
(
file
)
{
debugger
;
console
.
log
(
file
);
},
adds
()
{
this
.
dialogVisible
=
true
;
},
addDb
()
{
insertJtrw
(
this
.
examineInfo
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$message
.
success
(
"保存成功"
);
this
.
dialogVisible
=
false
;
this
.
$refs
.
rightContent
.
doQuery
(
"yes"
);
}
else
{
this
.
$message
.
error
(
"保存失败"
);
}
});
},
sprops
(
data
)
{
debugger
;
let
params
=
{
let
params
=
{
yhkh
:
data
.
fsrzzzh
,
bfkh
:
data
.
row
.
bfkh
,
ssrwbh
:
data
.
row
.
ssrwbh
,
};
};
let
obj
=
{
let
obj
=
{
childrenXhrStr
:
"/apialy/ztypxx/selectBySfz"
,
childrenXhrStr
:
"/apialy/ztypxx/select
zx
BySfz"
,
photoXhrStr
:
null
,
photoXhrStr
:
null
,
params
:
params
,
params
:
params
,
nodedata
:
{
nodedata
:
{
type
:
"zjl"
,
type
:
"zjl"
,
id
:
0
,
id
:
0
,
name
:
data
.
fsrzzz
h
,
name
:
data
.
row
.
bfk
h
,
children
:
true
,
children
:
true
,
},
},
nodeClickBoo
:
false
,
nodeClickBoo
:
false
,
...
@@ -214,7 +324,7 @@ export default {
...
@@ -214,7 +324,7 @@ export default {
this
.
$router
.
pushToTab
({
this
.
$router
.
pushToTab
({
path
:
"/ypEcharts"
,
path
:
"/ypEcharts"
,
query
:
{
query
:
{
key
:
data
.
fsrzzz
h
,
key
:
data
.
row
.
bfk
h
,
title
:
"资金流分析"
,
title
:
"资金流分析"
,
},
},
});
});
...
...
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