Merge remote-tracking branch 'origin/master'
Showing
2 changed files
with
28 additions
and
6 deletions
| ... | @@ -175,9 +175,31 @@ export default { | ... | @@ -175,9 +175,31 @@ export default { |
| 175 | // 左键双击事件 | 175 | // 左键双击事件 |
| 176 | dbclick(item) { | 176 | dbclick(item) { |
| 177 | clearTimeout(this.time); | 177 | clearTimeout(this.time); |
| 178 | if (item.zdbsm || item.zrzbsm) { | 178 | if(item.type == 'zd' || item.type == 'zrz' ||item.type == 'dz'){ |
| 179 | this.$router.push("/zd"); | 179 | this.$router.push({ |
| 180 | path: '/'+item.type, | ||
| 181 | query:{ | ||
| 182 | source: 2, | ||
| 183 | bsm:item.bsm | ||
| 184 | } | ||
| 185 | }); | ||
| 180 | } | 186 | } |
| 187 | // if (item.type == 'zd') { | ||
| 188 | // this.$router.push({ | ||
| 189 | // path: '/zd', | ||
| 190 | // query:{ | ||
| 191 | // source: 2, | ||
| 192 | // bsm:item.bsm | ||
| 193 | // } | ||
| 194 | // }); | ||
| 195 | // }else if(item.type == 'zrz'){ | ||
| 196 | // this.$router.push({ | ||
| 197 | // path: '/zrz', | ||
| 198 | // query:{ | ||
| 199 | // bsm:item.bsm | ||
| 200 | // } | ||
| 201 | // }); | ||
| 202 | // } | ||
| 181 | }, | 203 | }, |
| 182 | closeMenu() { | 204 | closeMenu() { |
| 183 | this.$emit("changeVisible", false); | 205 | this.$emit("changeVisible", false); | ... | ... |
| ... | @@ -112,7 +112,7 @@ | ... | @@ -112,7 +112,7 @@ |
| 112 | class="formInput percent80" | 112 | class="formInput percent80" |
| 113 | v-model="formData.zddm" | 113 | v-model="formData.zddm" |
| 114 | /> | 114 | /> |
| 115 | <el-button type="warning" class="createBtn" @click="generatorCode" | 115 | <el-button type="warning" :disabled="formData.qszt!='0'" class="createBtn" @click="generatorCode" |
| 116 | >生成 | 116 | >生成 |
| 117 | </el-button> | 117 | </el-button> |
| 118 | </td> | 118 | </td> |
| ... | @@ -130,7 +130,7 @@ | ... | @@ -130,7 +130,7 @@ |
| 130 | class="formInput percent80" | 130 | class="formInput percent80" |
| 131 | v-model="formData.bdcdyh" | 131 | v-model="formData.bdcdyh" |
| 132 | /> | 132 | /> |
| 133 | <el-button type="warning" class="createBtn">生成</el-button> | 133 | <!-- <el-button type="warning" :disabled="formData.qszt!='0'" class="createBtn">生成</el-button> --> |
| 134 | </td> | 134 | </td> |
| 135 | </tr> | 135 | </tr> |
| 136 | <tr> | 136 | <tr> |
| ... | @@ -705,7 +705,7 @@ export default { | ... | @@ -705,7 +705,7 @@ export default { |
| 705 | return this.formData.zddm; | 705 | return this.formData.zddm; |
| 706 | }, | 706 | }, |
| 707 | zdbsm() { | 707 | zdbsm() { |
| 708 | return this.$store.state.zdbsm; | 708 | return this.$route.query.bsm; |
| 709 | }, | 709 | }, |
| 710 | }, | 710 | }, |
| 711 | watch: { | 711 | watch: { |
| ... | @@ -720,7 +720,7 @@ export default { | ... | @@ -720,7 +720,7 @@ export default { |
| 720 | }, | 720 | }, |
| 721 | zdbsm:function (val) { | 721 | zdbsm:function (val) { |
| 722 | this.getZdjbxxData(val) | 722 | this.getZdjbxxData(val) |
| 723 | this.curZdbsm = this.$route.query.bsm; | 723 | this.curZdbsm = val; |
| 724 | } | 724 | } |
| 725 | }, | 725 | }, |
| 726 | }; | 726 | }; | ... | ... |
-
Please register or sign in to post a comment