--no commit message
Showing
1 changed file
with
24 additions
and
41 deletions
| ... | @@ -79,19 +79,13 @@ export default { | ... | @@ -79,19 +79,13 @@ export default { |
| 79 | }, | 79 | }, |
| 80 | data() { | 80 | data() { |
| 81 | return { | 81 | return { |
| 82 | isNoData: false, | ||
| 83 | currentindex: 0, | 82 | currentindex: 0, |
| 84 | bsmSlsq: "", | ||
| 85 | refresh: 10, | 83 | refresh: 10, |
| 86 | viewEdit: false, | 84 | viewEdit: false, |
| 87 | bsmSlsq: this.$route.query.bsmSlsq, | 85 | bsmSlsq: this.$route.query.bsmSlsq, |
| 88 | bestepid: this.$route.query.bestepid, | 86 | bestepid: this.$route.query.bestepid, |
| 89 | propsParam: {}, | 87 | propsParam: {}, |
| 90 | tableData: [], | 88 | tableData: [], |
| 91 | falg: false, | ||
| 92 | falg1: false, | ||
| 93 | jdmc: "", | ||
| 94 | indexdqlc: 0, | ||
| 95 | shows: false, | 89 | shows: false, |
| 96 | }; | 90 | }; |
| 97 | }, | 91 | }, |
| ... | @@ -106,6 +100,8 @@ export default { | ... | @@ -106,6 +100,8 @@ export default { |
| 106 | }, | 100 | }, |
| 107 | dqhj: { | 101 | dqhj: { |
| 108 | handler(val) { | 102 | handler(val) { |
| 103 | this.propsParam = this.$attrs; | ||
| 104 | this.dataset() | ||
| 109 | if(this.$parent.dqhj){ | 105 | if(this.$parent.dqhj){ |
| 110 | this.getShList(); | 106 | this.getShList(); |
| 111 | } | 107 | } |
| ... | @@ -116,27 +112,29 @@ export default { | ... | @@ -116,27 +112,29 @@ export default { |
| 116 | 112 | ||
| 117 | }, | 113 | }, |
| 118 | created() {}, | 114 | created() {}, |
| 119 | mounted() { | 115 | methods: { |
| 120 | this.propsParam = this.$attrs; | 116 | /** |
| 117 | * @description: dataset | ||
| 118 | * @param {*} 数据处理 | ||
| 119 | * @author: renchao | ||
| 120 | */ | ||
| 121 | dataset(){ | ||
| 121 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; | 122 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; |
| 122 | 123 | // switch (this.$parent.dqhj) { | |
| 123 | 124 | // case "cs": | |
| 124 | switch (this.$parent.dqhj) { | 125 | // this.indexdqlc = 0; |
| 125 | case "cs": | 126 | // this.jdmc = "初审"; |
| 126 | this.indexdqlc = 0; | 127 | // break; |
| 127 | this.jdmc = "初审"; | 128 | // case "fs": |
| 128 | break; | 129 | // this.indexdqlc = 1; |
| 129 | case "fs": | 130 | // this.jdmc = "复审"; |
| 130 | this.indexdqlc = 1; | 131 | // break; |
| 131 | this.jdmc = "复审"; | 132 | // case "hd": |
| 132 | break; | 133 | // this.indexdqlc = 2; |
| 133 | case "hd": | 134 | // this.jdmc = "核定"; |
| 134 | this.indexdqlc = 2; | 135 | // break; |
| 135 | this.jdmc = "核定"; | 136 | // } |
| 136 | break; | ||
| 137 | } | ||
| 138 | }, | 137 | }, |
| 139 | methods: { | ||
| 140 | /** | 138 | /** |
| 141 | * @description: getShList | 139 | * @description: getShList |
| 142 | * @param {*} obj | 140 | * @param {*} obj |
| ... | @@ -151,7 +149,6 @@ export default { | ... | @@ -151,7 +149,6 @@ export default { |
| 151 | getSpyjList(formdata).then((res) => { | 149 | getSpyjList(formdata).then((res) => { |
| 152 | 150 | ||
| 153 | if (res.code === 200 && res.result) { | 151 | if (res.code === 200 && res.result) { |
| 154 | this.$nextTick(() => { | ||
| 155 | this.tableData = res.result; | 152 | this.tableData = res.result; |
| 156 | if (this.shows) { | 153 | if (this.shows) { |
| 157 | this.shows = false; | 154 | this.shows = false; |
| ... | @@ -185,27 +182,13 @@ export default { | ... | @@ -185,27 +182,13 @@ export default { |
| 185 | } | 182 | } |
| 186 | }); | 183 | }); |
| 187 | this.$endLoading(); | 184 | this.$endLoading(); |
| 188 | }); | 185 | |
| 189 | } | 186 | } |
| 190 | 187 | ||
| 191 | }); | 188 | }); |
| 192 | 189 | ||
| 193 | }, | 190 | }, |
| 194 | /** | 191 | /** |
| 195 | * @description: dataset | ||
| 196 | * @param {*} 数据处理 | ||
| 197 | * @author: renchao | ||
| 198 | */ | ||
| 199 | dataset(){ | ||
| 200 | |||
| 201 | }, | ||
| 202 | /** | ||
| 203 | * @description: judgment | ||
| 204 | * @param {*} obj | ||
| 205 | * @author: renchao | ||
| 206 | */ | ||
| 207 | judgment(obj) {}, | ||
| 208 | /** | ||
| 209 | * @description: onSubmit | 192 | * @description: onSubmit |
| 210 | * @author: renchao | 193 | * @author: renchao |
| 211 | */ | 194 | */ | ... | ... |
-
Please register or sign in to post a comment