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
251d9141
Commit
251d9141
authored
Aug 15, 2021
by
刘玉帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sjsp
parent
aef20666
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
26 deletions
+29
-26
public/jsonData/spjkyjshyy_tableinfo.json
+7
-7
src/components/sjspDiolog.vue
+0
-0
src/views/sjsb/index.vue
+22
-19
No files found.
public/jsonData/spjkyjshyy_tableinfo.json
View file @
251d9141
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
"time"
:
"2021-07-09 10:07:26"
,
"time"
:
"2021-07-09 10:07:26"
,
"jkdId"
:
"2097874424"
,
"jkdId"
:
"2097874424"
,
"ycbz"
:
"1"
,
"ycbz"
:
"1"
,
"
t
ype"
:
"1"
"
pageT
ype"
:
"1"
},
},
{
{
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
"time"
:
"2021-07-09 10:07:26"
,
"time"
:
"2021-07-09 10:07:26"
,
"jkdId"
:
"2097874424"
,
"jkdId"
:
"2097874424"
,
"ycbz"
:
"1"
,
"ycbz"
:
"1"
,
"
t
ype"
:
"2"
"
pageT
ype"
:
"2"
},
},
{
{
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
"time"
:
"2021-07-09 10:07:26"
,
"time"
:
"2021-07-09 10:07:26"
,
"jkdId"
:
"2097874424"
,
"jkdId"
:
"2097874424"
,
"ycbz"
:
"0"
,
"ycbz"
:
"0"
,
"
t
ype"
:
"3"
"
pageT
ype"
:
"3"
},
},
{
{
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
"time"
:
"2021-07-09 10:07:26"
,
"time"
:
"2021-07-09 10:07:26"
,
"jkdId"
:
"2097874424"
,
"jkdId"
:
"2097874424"
,
"ycbz"
:
"0"
,
"ycbz"
:
"0"
,
"
t
ype"
:
"4"
"
pageT
ype"
:
"4"
},
},
{
{
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
"time"
:
"2021-07-09 10:07:26"
,
"time"
:
"2021-07-09 10:07:26"
,
"jkdId"
:
"2097874424"
,
"jkdId"
:
"2097874424"
,
"ycbz"
:
"0"
,
"ycbz"
:
"0"
,
"
t
ype"
:
"5"
"
pageT
ype"
:
"5"
},
},
{
{
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
"time"
:
"2021-07-09 10:07:26"
,
"time"
:
"2021-07-09 10:07:26"
,
"jkdId"
:
"2097874424"
,
"jkdId"
:
"2097874424"
,
"ycbz"
:
"0"
,
"ycbz"
:
"0"
,
"
t
ype"
:
"6"
"
pageT
ype"
:
"6"
},
},
{
{
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
"time"
:
"2021-07-09 10:07:26"
,
"time"
:
"2021-07-09 10:07:26"
,
"jkdId"
:
"2097874424"
,
"jkdId"
:
"2097874424"
,
"ycbz"
:
"0"
,
"ycbz"
:
"0"
,
"
t
ype"
:
"7"
"
pageT
ype"
:
"7"
}
}
],
],
...
...
src/components/sjspDiolog.vue
View file @
251d9141
This diff is collapsed.
Click to expand it.
src/views/sjsb/index.vue
View file @
251d9141
...
@@ -283,8 +283,9 @@ export default {
...
@@ -283,8 +283,9 @@ export default {
* @param {*} listform //下面表单的数据
* @param {*} listform //下面表单的数据
* @return {*}
* @return {*}
*/
*/
searchEvent
(
form
,
listform
)
{
searchEvent
(
form
,
listform
)
{
form
.
ssryList
=
listform
;
console
.
log
(
listform
);
form
.
ssryList
=
listform
.
propData
;
this
.
$set
(
form
,
"userid"
,
sessionStorage
.
getItem
(
"userid"
)
||
"ndqzz01"
);
this
.
$set
(
form
,
"userid"
,
sessionStorage
.
getItem
(
"userid"
)
||
"ndqzz01"
);
console
.
log
(
form
);
console
.
log
(
form
);
// this.htform =utils.deepClone(form)
// this.htform =utils.deepClone(form)
...
@@ -400,25 +401,27 @@ export default {
...
@@ -400,25 +401,27 @@ export default {
getTableList
(
form
)
{
getTableList
(
form
)
{
console
.
log
(
'sjsb传的参数'
,
form
);
console
.
log
(
'sjsb传的参数'
,
form
);
console
.
log
(
'变化的url'
,
this
.
changeurl
);
console
.
log
(
'变化的url'
,
this
.
changeurl
);
axios
({
// axios({
url
:
`/OTHER/sjsb/
${
this
.
changeurl
}
`
,
// url: `/OTHER/sjsb/${this.changeurl}`,
method
:
"POST"
,
// method: "POST",
data
:
form
,
// data: form,
}).
then
((
res
)
=>
{
// }).then((res) => {
if
(
res
.
code
==
"0000"
)
{
// if (res.code == "0000") {
console
.
log
(
res
);
// console.log(res);
this
.
bztjDataList
=
res
.
data
.
rows
;
// this.bztjDataList = res.data.rows;
this
.
tableDataLength
=
res
.
total
;
// this.tableDataLength = res.total;
}
console
.
log
(
res
);
});
// get(`jsonData/spjkyjshyy_tableinfo.json`).then((data) => {
// if (data) {
// this.bztjDataList = data[key];
// } else {
// this.$error.error("出错了");
// }
// }
// console.log(res);
// });
// });
//测试数据页面的假数据
get
(
`jsonData/spjkyjshyy_tableinfo.json`
).
then
((
data
)
=>
{
if
(
data
)
{
console
.
log
(
data
);
this
.
bztjDataList
=
data
[
1
];
}
else
{
this
.
$error
.
error
(
"出错了"
);
}
});
},
},
/**
/**
* @description: 监听预警类别变化更换查询表单
* @description: 监听预警类别变化更换查询表单
...
...
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