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
71b01a2b
Commit
71b01a2b
authored
Sep 27, 2021
by
liyuhang19990520
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人力情报线索
parent
6c8ae4aa
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
197 additions
and
49 deletions
+197
-49
src/api/rlqbxs.js
+5
-5
src/components/form.vue
+4
-2
src/utils/params.js
+100
-7
src/views/rlqbxsxx/adjustRlqbxs.vue
+85
-33
src/views/rlqbxsxx/queryRlqbxs.vue
+3
-2
No files found.
src/api/rlqbxs.js
View file @
71b01a2b
/*
* @Author: your name
* @Date: 2021-09-01 10:46:56
* @LastEditTime: 2021-09-
08 10:10:1
2
* @LastEditTime: 2021-09-
27 14:34:0
2
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\api\bkwpxx.js
...
...
@@ -15,11 +15,11 @@ import base from "@/api/base";
export
const
insertKyxs
=
params
=>
postform
(
`
${
base
.
alyIP
}
/rlqb/insertKyxs`
,
params
);
//人力情报线索修改
export
const
update
Zd
xsxx
=
params
=>
postform
(
`
${
base
.
alyIP
}
/rlqb/updateKyxs`
,
params
);
export
const
update
Ky
xsxx
=
params
=>
postform
(
`
${
base
.
alyIP
}
/rlqb/updateKyxs
xx
`
,
params
);
//人力情报线索删除
export
const
deleteKyxs
=
params
=>
post
(
`
${
base
.
alyIP
}
/rlqb/deleteKyxs
Byxxzjbh
`
,
params
);
export
const
deleteKyxs
xx
=
params
=>
post
(
`
${
base
.
alyIP
}
/rlqb/deleteKyxs
xx
`
,
params
);
//人力情报线索回显/详情
export
const
getKyxsByxxzjbh
=
params
=>
post
(
`
${
base
.
alyIP
}
/rlqb/getKyxsByxxzjbh`
,
params
);
...
...
src/components/form.vue
View file @
71b01a2b
...
...
@@ -1036,6 +1036,7 @@ export default {
default
:
()
=>
{},
},
propTitle
:
String
,
pageBs
:
String
},
data
()
{
return
{
...
...
@@ -1980,7 +1981,7 @@ $-header-fontSize: 18px;
}
.addName
{
display
:
inline-block
;
width
:
1
48
px
;
width
:
1
00
px
;
text-align
:
right
;
vertical-align
:
top
;
font-size
:
13px
;
...
...
@@ -1990,7 +1991,7 @@ $-header-fontSize: 18px;
font-weight
:
400
;
}
.addContent
{
width
:
calc
(
100%
-
1
62
px
);
width
:
calc
(
100%
-
1
14
px
);
display
:
inline-block
;
background
:
#fef6ea
;
background
:
#fef6ea
;
...
...
@@ -1999,6 +2000,7 @@ $-header-fontSize: 18px;
border-radius
:
4px
;
padding-top
:
28px
;
margin
:
24px
0
4px
0
;
padding-bottom
:
15px
;
position
:
relative
;
.el-input,
.el-select,
...
...
src/utils/params.js
View file @
71b01a2b
/*
* @Author: your name
* @Date: 2021-09-07 15:09:40
* @LastEditTime: 2021-09-2
3 14:33:53
* @LastEditTime: 2021-09-2
7 14:31:07
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\utils\params.js
...
...
@@ -17,7 +17,7 @@
export
const
kysscj
=
[
{
name
:
"线索状态:"
,
id
:
"
sfhgPdbz
"
,
id
:
"
xsztdm
"
,
type
:
"radio"
,
value
:
"0"
,
placeholder
:
"请输入"
,
...
...
@@ -70,6 +70,72 @@ export const kysscj = [
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"审批是否通过:"
,
id
:
"spsftg"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"省审批意见:"
,
id
:
"shengspyj"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"审批人姓名:"
,
id
:
"sprxm"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"审批人证件号码:"
,
id
:
"sprzjhm"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"审批人联系电话:"
,
id
:
"sprlxdh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"审批单位代码:"
,
id
:
"spdwdm"
,
type
:
"codeTree"
,
codeTree
:
"QGCODE_UNIT"
,
codeOptions
:
[],
value
:
""
,
placeholder
:
"请选择"
,
col
:
"2"
,
},
{
name
:
"审批单位名称:"
,
id
:
"spdwmc"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"审批时间:"
,
id
:
"spsj"
,
type
:
"dates"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
]
//线索提供者
export
const
xstgz
=
[
...
...
@@ -215,6 +281,33 @@ export const xstgz = [
// 人员线索管理
export
const
ryxsgl
=
[
{
name
:
"姓名:"
,
id
:
"xm"
,
type
:
"text"
,
prop
:
'checkEmpty'
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"证件号码:"
,
id
:
"zjhm"
,
type
:
"text"
,
prop
:
'checkEmpty'
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"联系电话:"
,
id
:
"lxdh"
,
type
:
"text"
,
prop
:
'checkEmpty'
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"国籍:"
,
id
:
"gjdm"
,
type
:
"codeTree"
,
...
...
@@ -354,7 +447,7 @@ export const jdcxsgl = [
col
:
"2"
,
},
{
name
:
"非法营运判断
标识
:"
,
name
:
"非法营运判断:"
,
id
:
"jsjdcFfyyPdbz"
,
type
:
"codeTree"
,
codeTree
:
"CODE_IF"
,
...
...
@@ -459,9 +552,9 @@ export const jdcxsgl = [
},
{
name
:
"物权类别:"
,
id
:
"jsjdc
Jdccsys
dm"
,
id
:
"jsjdc
Wqlb
dm"
,
type
:
"codeTree"
,
codeTree
:
"CODE_
YS
"
,
codeTree
:
"CODE_
WQLB
"
,
codeOptions
:
[],
value
:
""
,
placeholder
:
"请选择"
,
...
...
@@ -555,10 +648,10 @@ export const fjdcxsgl = [
col
:
"2"
,
},
{
name
:
"物
品颜色
:"
,
name
:
"物
权类别
:"
,
id
:
"jsddfjdcWqlbdm"
,
type
:
"codeTree"
,
codeTree
:
"CODE_
YS
"
,
codeTree
:
"CODE_
WQLB
"
,
codeOptions
:
[],
value
:
""
,
placeholder
:
"请选择"
,
...
...
src/views/rlqbxsxx/adjustRlqbxs.vue
View file @
71b01a2b
...
...
@@ -13,7 +13,7 @@
<
script
>
import
formCompontent
from
"@c/form.vue"
;
import
{
kysscj
,
xstgz
,
ryxsgl
,
jdcxsgl
,
fjdcxsgl
}
from
"@/utils/params.js"
;
import
{
insert
Bbkwp
,
updateBbkwp
,
getBbkwpByxxzjbh
}
from
"@/api/bkwpxx
.js"
;
import
{
insert
Kyxs
,
updateKyxsxx
,
getKyxsByxxzjbh
}
from
"@/api/rlqbxs
.js"
;
export
default
{
name
:
"addRlqbxs"
,
components
:
{
...
...
@@ -27,28 +27,28 @@ export default {
{
title
:
"可疑线索"
,
id
:
1
,
objStr
:
""
,
objStr
:
"
kyxs
"
,
index
:
0
,
data
:
kysscj
,
},
{
title
:
"
可疑线索
"
,
id
:
10
,
title
:
"
线索提供者
"
,
id
:
2
,
objStr
:
""
,
index
:
20
,
index
:
1
,
data
:
[
{
name
:
"
测试
:"
,
name
:
"
线索提供者
:"
,
col
:
"1"
,
noshowMoreBtn
:
false
,
//是否显示添加按钮
childrenAsAdd
:
[
{
name
:
"
测试
:"
,
id
:
"t
est
"
,
name
:
"
提供人
:"
,
id
:
"t
gz
"
,
flag
:
true
,
list
:
[
{
name
:
kysscj
,
name
:
xstgz
,
},
],
iconClass
:
"el-icon-close"
,
...
...
@@ -58,32 +58,82 @@ export default {
],
},
{
title
:
"线索提供者"
,
id
:
2
,
objStr
:
""
,
index
:
1
,
data
:
xstgz
,
},
{
title
:
"可疑人员"
,
id
:
3
,
objStr
:
""
,
index
:
2
,
data
:
ryxsgl
,
data
:
[
{
name
:
"可疑人员:"
,
col
:
"1"
,
noshowMoreBtn
:
false
,
//是否显示添加按钮
childrenAsAdd
:
[
{
name
:
"可疑人员:"
,
id
:
"ry"
,
flag
:
true
,
list
:
[
{
name
:
ryxsgl
,
},
],
iconClass
:
"el-icon-close"
,
},
],
},
],
},
{
title
:
"机动车线索管理"
,
id
:
4
,
objStr
:
""
,
index
:
3
,
data
:
jdcxsgl
,
data
:
[
{
name
:
"机动车线索管理:"
,
col
:
"1"
,
noshowMoreBtn
:
false
,
//是否显示添加按钮
childrenAsAdd
:
[
{
name
:
"可疑机动车:"
,
id
:
"jdc"
,
flag
:
true
,
list
:
[
{
name
:
jdcxsgl
,
},
],
iconClass
:
"el-icon-close"
,
},
],
},
],
},
{
title
:
"非机动车线索管理"
,
id
:
5
,
objStr
:
""
,
index
:
4
,
data
:
fjdcxsgl
,
data
:
[
{
name
:
"非机动车线索管理:"
,
col
:
"1"
,
noshowMoreBtn
:
false
,
//是否显示添加按钮
childrenAsAdd
:
[
{
name
:
"可疑非机动车:"
,
id
:
"fjdc"
,
flag
:
true
,
list
:
[
{
name
:
fjdcxsgl
,
},
],
iconClass
:
"el-icon-close"
,
},
],
},
],
},
],
formLabelAlign
:
{},
...
...
@@ -119,36 +169,38 @@ export default {
},
getshuju
()
{
var
self
=
this
;
get
Bbkwp
Byxxzjbh
({
get
Kyxs
Byxxzjbh
({
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
]);
self
.
formField
.
forEach
((
i
)
=>
{
console
.
log
(
i
);
if
(
i
.
data
&&
i
.
data
.
length
>
0
)
{
i
.
data
.
forEach
((
j
)
=>
{
if
(
j
.
childrenAsAdd
)
{
j
.
childrenAsAdd
.
forEach
((
m
)
=>
{
self
.
$set
(
self
.
formLabelAlign
,
m
.
id
,
result
[
m
.
id
]
||
[]);
});
}
else
{
self
.
$set
(
self
.
formLabelAlign
,
j
.
id
,
result
[
i
.
objStr
][
j
.
id
]);
}
});
}
this
.
$forceUpdate
();
});
self
.
$set
(
self
.
formLabelAlign
,
"editing"
,
true
);
self
.
$forceUpdate
();
// this.isEmpty()
});
setTimeout
(()
=>
{
self
.
loading
=
false
;
},
1000
);
},
addSubmit
(
params
,
loading
)
{
insert
Bbkwp
(
params
).
then
((
res
)
=>
{
insert
Kyxs
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$alert
(
"保存成功!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"success"
,
callback
:
()
=>
{
this
.
$router
.
push
(
"/query
Bbkwpxx
"
);
this
.
$router
.
push
(
"/query
Rlqbxs
"
);
loading
.
close
();
},
});
...
...
@@ -159,13 +211,13 @@ export default {
},
editSubmit
(
params
,
loading
)
{
params
.
append
(
"xxzjbh"
,
this
.
xxzjbh
);
update
Bbkwp
(
params
).
then
((
res
)
=>
{
update
Kyxsxx
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$alert
(
"修改成功!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"success"
,
callback
:
()
=>
{
this
.
$router
.
push
(
"/query
Bbkwpxx
"
);
this
.
$router
.
push
(
"/query
Rlqbxs
"
);
loading
.
close
();
},
});
...
...
@@ -179,7 +231,7 @@ export default {
this
.
$store
.
commit
(
"user/SET_Breadcrumb"
,
this
.
Menu
);
if
(
this
.
$route
.
query
.
xxzjbh
)
{
// this.$set(this.formField[0], "title", "修改被布控物品信息");
this
.
title
=
"人力情报线索修改"
this
.
title
=
"人力情报线索修改"
;
this
.
xxzjbh
=
this
.
$route
.
query
.
xxzjbh
;
this
.
getshuju
();
}
...
...
src/views/rlqbxsxx/queryRlqbxs.vue
View file @
71b01a2b
...
...
@@ -11,13 +11,14 @@
@
edit=
"edit"
@
dele=
"dele"
@
toInfor=
"toInfor"
ref=
"rightContent"
></right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
{
deleteKyxs
}
from
"@/api/rlqbxs.js"
;
import
{
deleteKyxs
xx
}
from
"@/api/rlqbxs.js"
;
export
default
{
name
:
"rlqbxsxx"
,
components
:
{
...
...
@@ -141,7 +142,7 @@ export default {
type
:
"warning"
,
})
.
then
(()
=>
{
deleteKyxs
({
deleteKyxs
xx
({
xxzjbh
:
scope
.
row
.
xxzjbh
,
}).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
...
...
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