Commit 251d9141 by 刘玉帅

sjsp

parent aef20666
...@@ -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",
"type":"1" "pageType":"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",
"type":"2" "pageType":"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",
"type":"3" "pageType":"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",
"type":"4" "pageType":"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",
"type":"5" "pageType":"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",
"type":"6" "pageType":"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",
"type":"7" "pageType":"7"
} }
], ],
......
...@@ -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: 监听预警类别变化更换查询表单
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment