Commit c645b2bc authored by neogcg's avatar neogcg

3/4

parent ebd42b59
...@@ -29,7 +29,7 @@ return { ...@@ -29,7 +29,7 @@ return {
handler(newV) { handler(newV) {
this.multipleSelection = !!newV this.multipleSelection = !!newV
this.multipleSelection = formInit(this.multipleSelection2) this.multipleSelection = formInit(this.multipleSelection2)
console.log( this.multipleSelection.data.length);
}, },
}, },
......
...@@ -214,12 +214,12 @@ export default { ...@@ -214,12 +214,12 @@ export default {
asyncstationList: "station/asyncList", asyncstationList: "station/asyncList",
}), }),
changerailWay() { changerailWay() {
console.log(this.FSUForm.wayId);
this.stationSelect2 = this.stationlist.filter( this.stationSelect2 = this.stationlist.filter(
(item) => item.parentId === this.FSUForm.wayId (item) => item.parentId === this.FSUForm.wayId
); );
console.log(this.stationlist);
}, },
readNodes(aaa = [], arrarea = []) { readNodes(aaa = [], arrarea = []) {
for (let item of aaa) { for (let item of aaa) {
...@@ -238,7 +238,7 @@ export default { ...@@ -238,7 +238,7 @@ export default {
if (valid) { if (valid) {
this.FSUForm.parentId = this.FSUForm.siteId; this.FSUForm.parentId = this.FSUForm.siteId;
this.FSUForm.fsuPort = Number(this.FSUForm.fsuPort); this.FSUForm.fsuPort = Number(this.FSUForm.fsuPort);
console.log(this.FSUForm);
fsusave(this.FSUForm).then((res) => { fsusave(this.FSUForm).then((res) => {
if (res.code == 200) { if (res.code == 200) {
successAlert("添加成功"); successAlert("添加成功");
......
...@@ -247,7 +247,7 @@ export default { ...@@ -247,7 +247,7 @@ export default {
this.$refs.monitorForm.validate((valid) => { this.$refs.monitorForm.validate((valid) => {
if (valid) { if (valid) {
this.monitorForm.parentId = this.monitorForm.fsuId; this.monitorForm.parentId = this.monitorForm.fsuId;
console.log(this.monitorForm);
monitorEquipsave(this.monitorForm).then((res) => { monitorEquipsave(this.monitorForm).then((res) => {
if (res.code == 200) { if (res.code == 200) {
successAlert("添加成功"); successAlert("添加成功");
......
...@@ -232,9 +232,7 @@ export default { ...@@ -232,9 +232,7 @@ export default {
}), }),
}, },
methods: { methods: {
onkeydown_at_phone(event) {
console.log(event.keyCode);
},
...mapActions({ ...mapActions({
asyncrailWayList: "railWay/asyncList", asyncrailWayList: "railWay/asyncList",
asyncstationList: "station/asyncList", asyncstationList: "station/asyncList",
...@@ -317,7 +315,7 @@ export default { ...@@ -317,7 +315,7 @@ export default {
let list = res.records || []; let list = res.records || [];
this.tableData = list; this.tableData = list;
this.total = res.total; this.total = res.total;
console.log( this.FSUForm);
if (this.istrue == 1) { if (this.istrue == 1) {
if (this.tableData.length!=0) { if (this.tableData.length!=0) {
successAlert("查询成功"); successAlert("查询成功");
......
...@@ -231,7 +231,7 @@ export default { ...@@ -231,7 +231,7 @@ export default {
exportData() {}, exportData() {},
handleSelectionChange(val) { handleSelectionChange(val) {
this.multipleSelection = val; this.multipleSelection = val;
console.log(val);
this.ids = this.multipleSelection.map((i) => i.id); this.ids = this.multipleSelection.map((i) => i.id);
}, },
......
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