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
08b4840b
Commit
08b4840b
authored
Sep 09, 2021
by
刘玉帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xq
parent
00da1f2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
33 deletions
+53
-33
src/views/rwgl/rympfk.vue
+49
-29
src/views/rwgl/rymplb.vue
+4
-4
No files found.
src/views/rwgl/rympfk.vue
View file @
08b4840b
<!--
* @Author: your name
* @Date: 2021-09-01 09:45:29
* @LastEditTime: 2021-09-0
8 17:07:0
6
* @LastEditTime: 2021-09-0
9 09:52:4
6
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\rwgl\rympfk.vue
...
...
@@ -150,7 +150,7 @@
</el-select>
</el-form-item>
<div
class=
"data"
>
<el-form-item
label=
"
活动时间
"
class=
"col"
>
<el-form-item
label=
"
排查管理日期
"
class=
"col"
>
<el-date-picker
type=
"datetime"
placeholder=
"选择日期"
...
...
@@ -183,6 +183,8 @@
</template>
<
script
>
import
{
get
,
postJson
}
from
"@/utils/http.js"
;
import
utils
from
"@/utils/util.js"
;
export
default
{
data
()
{
return
{
...
...
@@ -200,43 +202,33 @@ export default {
cxDefaultFormThead
:
[
{
label
:
"姓名"
,
prop
:
"
XM
"
,
prop
:
"
xm
"
,
width
:
"auto"
,
},
{
label
:
"身份证号"
,
prop
:
"
SFZH
"
,
prop
:
"
sfzh
"
,
width
:
"auto"
,
},
{
label
:
"手机号码"
,
prop
:
"SJH"
,
width
:
"auto"
,
},
{
label
:
"地址"
,
prop
:
"DM"
,
width
:
"auto"
,
},
{
label
:
"备注"
,
prop
:
"BZ"
,
prop
:
"sjh"
,
width
:
"auto"
,
},
{
label
:
"归属地"
,
prop
:
"
GSD
"
,
prop
:
"
gsd
"
,
width
:
"auto"
,
},
],
tableData
:
[
{
XM
:
""
,
SFZH
:
""
,
SJH
:
""
,
DM
:
""
,
BZ
:
""
,
GSD
:
""
,
xm
:
""
,
sfzh
:
""
,
sjh
:
""
,
gsd
:
""
,
},
],
form
:
{
...
...
@@ -299,15 +291,43 @@ export default {
}
console
.
log
(
"提交"
);
},
getList
(
ryglid
){
let
self
=
this
;
postJson
(
"/xqapi/ryfkb/selectRyfkb"
,
{
ryglid
:
ryglid
}).
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
code
==
'200'
){
let
searchList
=
utils
.
deepClone
(
res
.
data
)
console
.
log
(
searchList
);
self
.
sizeForm
.
RYLY
=
searchList
.
ryfkb
.
ryly
self
.
sizeForm
.
LJRQ
=
searchList
.
ryfkb
.
ljrq
self
.
sizeForm
.
date1
=
searchList
.
ryfkb
.
pcglrq
self
.
sizeForm
.
JKJC
=
searchList
.
ryfkb
.
jkjc
self
.
sizeForm
.
JCJG
=
searchList
.
ryfkb
.
jcjg
self
.
sizeForm
.
GLFS
=
searchList
.
ryfkb
.
glfs
self
.
sizeForm
.
RYLB
=
searchList
.
ryfkb
.
rylb
self
.
sizeForm
.
BZ
=
searchList
.
ryfkb
.
bz
}
})
},
},
mounted
()
{
console
.
log
(
this
.
$route
.
params
);
if
(
this
.
$route
.
params
.
infofk
)
{
localStorage
.
setItem
(
"Infofk"
,
JSON
.
stringify
(
this
.
$route
.
params
.
infofk
));
console
.
log
(
localStorage
);
}
console
.
log
(
localStorage
.
getItem
(
"Info"
));
this
.
tableData
[
0
]
=
JSON
.
parse
(
localStorage
.
getItem
(
"Infofk"
));
console
.
log
(
JSON
.
parse
(
this
.
$route
.
params
.
infofk
));
let
list
=
JSON
.
parse
(
this
.
$route
.
params
.
infofk
)
this
.
tableData
[
0
]
=
list
this
.
getList
(
list
.
ryid
)
// if (this.$route.params.infofk) {
// localStorage.setItem("Infofk", JSON.stringify(this.$route.params.infofk));
// console.log(localStorage);
// }
// console.log(localStorage.getItem("Info"));
// this.tableData[0] = JSON.parse(localStorage.getItem("Infofk"));
},
updated
()
{
// if (this.$refs.data.value) {
...
...
src/views/rwgl/rymplb.vue
View file @
08b4840b
<!--
* @Author: your name
* @Date: 2021-08-27 15:52:57
* @LastEditTime: 2021-09-0
8 18:45:44
* @LastEditTime: 2021-09-0
9 09:27:32
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\rymp.vue
...
...
@@ -155,8 +155,8 @@ export default {
width
:
"auto"
,
},
{
label
:
"
地址
"
,
prop
:
"
DM
"
,
label
:
"
手机号
"
,
prop
:
"
sjh
"
,
width
:
"auto"
,
},
{
...
...
@@ -233,7 +233,7 @@ export default {
this
.
xqinfo
=
msg
[
0
];
this
.
rymplbdialogVisible
=
true
;
}
else
if
(
msg
[
1
]
==
"fk"
)
{
this
.
$router
.
push
({
name
:
"rympfk"
,
params
:
{
infofk
:
msg
[
0
]
}});
this
.
$router
.
push
({
name
:
"rympfk"
,
params
:
{
infofk
:
JSON
.
stringify
(
msg
[
0
]
)
}});
}
else
if
(
msg
[
1
]
==
"th"
)
{
this
.
dialogFormVisible
=
true
}
...
...
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