--no commit message
Showing
1 changed file
with
7 additions
and
1 deletions
| ... | @@ -139,7 +139,7 @@ export default { | ... | @@ -139,7 +139,7 @@ export default { |
| 139 | formdata.append("bestepid", this.$route.query.bestepid); | 139 | formdata.append("bestepid", this.$route.query.bestepid); |
| 140 | 140 | ||
| 141 | getSpyjList(formdata).then((res) => { | 141 | getSpyjList(formdata).then((res) => { |
| 142 | this.$endLoading(); | 142 | |
| 143 | if (res.code === 200 && res.result) { | 143 | if (res.code === 200 && res.result) { |
| 144 | this.$nextTick(() => { | 144 | this.$nextTick(() => { |
| 145 | this.tableData = res.result; | 145 | this.tableData = res.result; |
| ... | @@ -150,6 +150,7 @@ export default { | ... | @@ -150,6 +150,7 @@ export default { |
| 150 | var index = this.tableData.findIndex( | 150 | var index = this.tableData.findIndex( |
| 151 | (item) => item.jddm === this.$parent.dqhj | 151 | (item) => item.jddm === this.$parent.dqhj |
| 152 | ); | 152 | ); |
| 153 | console.log("this.tableData111",this.tableData); | ||
| 153 | if (index == -1) { | 154 | if (index == -1) { |
| 154 | switch (this.$parent.dqhj) { | 155 | switch (this.$parent.dqhj) { |
| 155 | case "cs": | 156 | case "cs": |
| ... | @@ -162,6 +163,7 @@ export default { | ... | @@ -162,6 +163,7 @@ export default { |
| 162 | this.tableData.push({ jdmc: "核定", jddm: "hd", sxh: 3 }); | 163 | this.tableData.push({ jdmc: "核定", jddm: "hd", sxh: 3 }); |
| 163 | break; | 164 | break; |
| 164 | } | 165 | } |
| 166 | console.log("this.tableData222",this.tableData); | ||
| 165 | } | 167 | } |
| 166 | this.tableData.forEach((item) => { | 168 | this.tableData.forEach((item) => { |
| 167 | item.show = true; | 169 | item.show = true; |
| ... | @@ -173,9 +175,13 @@ export default { | ... | @@ -173,9 +175,13 @@ export default { |
| 173 | item["userid"] = this.userInfo.id; | 175 | item["userid"] = this.userInfo.id; |
| 174 | item.show = false; | 176 | item.show = false; |
| 175 | } | 177 | } |
| 178 | console.log("this.tableData333",this.tableData); | ||
| 176 | }); | 179 | }); |
| 180 | console.log("this.tableData444",this.tableData); | ||
| 181 | this.$endLoading(); | ||
| 177 | }); | 182 | }); |
| 178 | } | 183 | } |
| 184 | |||
| 179 | }); | 185 | }); |
| 180 | }, | 186 | }, |
| 181 | /** | 187 | /** | ... | ... |
-
Please register or sign in to post a comment