Merge branch 'dev'
Showing
6 changed files
with
34 additions
and
34 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-08 15:08:19 | 4 | * @LastEditTime: 2023-10-24 16:53:30 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="clmlmx-box"> | 7 | <div class="clmlmx-box"> |
... | @@ -173,6 +173,7 @@ | ... | @@ -173,6 +173,7 @@ |
173 | }, | 173 | }, |
174 | mounted () { | 174 | mounted () { |
175 | this.initSort() | 175 | this.initSort() |
176 | console.log(this.formData); | ||
176 | }, | 177 | }, |
177 | beforeDestroy () { | 178 | beforeDestroy () { |
178 | if (this.sortable) { | 179 | if (this.sortable) { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-19 16:28:06 | 4 | * @LastEditTime: 2023-10-24 16:55:26 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="clxx"> | 7 | <div class="clxx"> |
... | @@ -98,14 +98,14 @@ | ... | @@ -98,14 +98,14 @@ |
98 | watch: { | 98 | watch: { |
99 | workFresh: { | 99 | workFresh: { |
100 | handler (newValue, oldValue) { | 100 | handler (newValue, oldValue) { |
101 | if (newValue) this.clmlInitList() | 101 | if (newValue) this.clmlInitList(1) |
102 | }, | 102 | }, |
103 | deep: true, | 103 | deep: true, |
104 | immediate: true | 104 | immediate: true |
105 | } | 105 | } |
106 | }, | 106 | }, |
107 | created () { | 107 | created () { |
108 | this.clmlInitList() | 108 | this.clmlInitList(1) |
109 | }, | 109 | }, |
110 | methods: { | 110 | methods: { |
111 | /** | 111 | /** |
... | @@ -173,7 +173,7 @@ | ... | @@ -173,7 +173,7 @@ |
173 | this.tableData = res.result; | 173 | this.tableData = res.result; |
174 | if (type == 1) { | 174 | if (type == 1) { |
175 | this.treeClick(this.tableData[0], 0); | 175 | this.treeClick(this.tableData[0], 0); |
176 | } else { | 176 | } else if (type == 2) { |
177 | //新增材料后刷新列表焦点置于新增的对象上 | 177 | //新增材料后刷新列表焦点置于新增的对象上 |
178 | this.treeClick( | 178 | this.treeClick( |
179 | this.tableData[this.tableData.length - 1], | 179 | this.tableData[this.tableData.length - 1], |
... | @@ -296,11 +296,15 @@ | ... | @@ -296,11 +296,15 @@ |
296 | this.titleYs = index + 1; | 296 | this.titleYs = index + 1; |
297 | }, | 297 | }, |
298 | //查看明细 | 298 | //查看明细 |
299 | viewDetail () { | 299 | async viewDetail () { |
300 | let res = await this.clmlInitList(); | ||
301 | if (res == 200) { | ||
300 | store.dispatch("user/reWorkFresh", false); | 302 | store.dispatch("user/reWorkFresh", false); |
301 | ywPopupDialog("申请材料目录", "djbworkflow/components/clxx/dialog/clxxDetailDialog", { | 303 | ywPopupDialog("申请材料目录", "djbworkflow/components/clxx/dialog/clxxDetailDialog", { |
302 | data: this.tableData, | 304 | data: this.tableData, |
305 | ableOperation: this.$parent.ableOperation | ||
303 | }, "60%", true, false) | 306 | }, "60%", true, false) |
307 | } | ||
304 | }, | 308 | }, |
305 | //设置tableData | 309 | //设置tableData |
306 | setTableData (tableData) { | 310 | setTableData (tableData) { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-10 14:40:07 | 4 | * @LastEditTime: 2023-10-24 16:08:44 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="clxx"> | 7 | <div class="clxx"> |
... | @@ -167,13 +167,7 @@ | ... | @@ -167,13 +167,7 @@ |
167 | this.unitData = this.$parent.unitData; | 167 | this.unitData = this.$parent.unitData; |
168 | var formdata = new FormData(); | 168 | var formdata = new FormData(); |
169 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); | 169 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); |
170 | if (this.$route.query.sqywbm == "DJBBL") { | ||
171 | formdata.append("bsmSldy", this.$parent.bsmRepair); | ||
172 | formdata.append("clfl", 3); | ||
173 | } else { | ||
174 | formdata.append("bsmSldy", this.$parent.currentSelectProps.bsmSldy); | 170 | formdata.append("bsmSldy", this.$parent.currentSelectProps.bsmSldy); |
175 | formdata.append("clfl", 2); | ||
176 | } | ||
177 | 171 | ||
178 | InitClml(formdata).then((res) => { | 172 | InitClml(formdata).then((res) => { |
179 | if (res.code == 200) { | 173 | if (res.code == 200) { |
... | @@ -182,7 +176,7 @@ | ... | @@ -182,7 +176,7 @@ |
182 | this.tableData = res.result; | 176 | this.tableData = res.result; |
183 | if (type == 1) { | 177 | if (type == 1) { |
184 | this.treeClick(this.tableData[0], 0); | 178 | this.treeClick(this.tableData[0], 0); |
185 | } else { | 179 | } else if (type == 2) { |
186 | //新增材料后刷新列表焦点置于新增的对象上 | 180 | //新增材料后刷新列表焦点置于新增的对象上 |
187 | this.treeClick( | 181 | this.treeClick( |
188 | this.tableData[this.tableData.length - 1], | 182 | this.tableData[this.tableData.length - 1], |
... | @@ -266,7 +260,7 @@ | ... | @@ -266,7 +260,7 @@ |
266 | if (data.sfggcl == "0") { | 260 | if (data.sfggcl == "0") { |
267 | obj["bsmSldy"] = this.$parent.currentSelectProps.bsmSldy; | 261 | obj["bsmSldy"] = this.$parent.currentSelectProps.bsmSldy; |
268 | } | 262 | } |
269 | if (this.$route.query.sqywbm == "DJBBL") { | 263 | if (this.$route.query?.djywbm == "DJBBL") { |
270 | obj.bsmSldy = this.$parent.bsmRepair | 264 | obj.bsmSldy = this.$parent.bsmRepair |
271 | } | 265 | } |
272 | saveClml(obj).then(async (res) => { | 266 | saveClml(obj).then(async (res) => { |
... | @@ -310,7 +304,9 @@ | ... | @@ -310,7 +304,9 @@ |
310 | this.titleYs = index + 1; | 304 | this.titleYs = index + 1; |
311 | }, | 305 | }, |
312 | //查看明细 | 306 | //查看明细 |
313 | viewDetail () { | 307 | async viewDetail () { |
308 | let res = await this.clmlInitList(); | ||
309 | if (res == 200) { | ||
314 | this.$store.dispatch("user/reWorkFresh", false); | 310 | this.$store.dispatch("user/reWorkFresh", false); |
315 | this.$popupDialog( | 311 | this.$popupDialog( |
316 | "申请材料目录", | 312 | "申请材料目录", |
... | @@ -322,9 +318,10 @@ | ... | @@ -322,9 +318,10 @@ |
322 | ableOperation: this.$parent.ableOperation, | 318 | ableOperation: this.$parent.ableOperation, |
323 | bsmRepair: this.$parent.bsmRepair | 319 | bsmRepair: this.$parent.bsmRepair |
324 | }, | 320 | }, |
325 | "50%", | 321 | "60%", |
326 | true | 322 | true |
327 | ); | 323 | ) |
324 | } | ||
328 | }, | 325 | }, |
329 | //设置tableData | 326 | //设置tableData |
330 | setTableData (tableData) { | 327 | setTableData (tableData) { |
... | @@ -407,7 +404,7 @@ | ... | @@ -407,7 +404,7 @@ |
407 | height: 100%; | 404 | height: 100%; |
408 | font-size: 14px; | 405 | font-size: 14px; |
409 | border-right: 1px dotted #d9d9d9; | 406 | border-right: 1px dotted #d9d9d9; |
410 | padding: 0 15px; | 407 | padding: 0 10px; |
411 | 408 | ||
412 | .item { | 409 | .item { |
413 | line-height: 30px; | 410 | line-height: 30px; |
... | @@ -452,6 +449,7 @@ | ... | @@ -452,6 +449,7 @@ |
452 | .checked { | 449 | .checked { |
453 | border: 1px solid $light-blue; | 450 | border: 1px solid $light-blue; |
454 | color: $light-blue; | 451 | color: $light-blue; |
452 | box-sizing: border-box; | ||
455 | } | 453 | } |
456 | } | 454 | } |
457 | } | 455 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-19 10:14:56 | 4 | * @LastEditTime: 2023-10-24 16:08:59 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="clmlmx-box"> | 7 | <div class="clmlmx-box"> |
... | @@ -205,13 +205,7 @@ | ... | @@ -205,13 +205,7 @@ |
205 | this.unitData = this.$parent.unitData; | 205 | this.unitData = this.$parent.unitData; |
206 | var formdata = new FormData(); | 206 | var formdata = new FormData(); |
207 | formdata.append("bsmSlsq", Vue.prototype.$currentRoute.query.bsmSlsq); | 207 | formdata.append("bsmSlsq", Vue.prototype.$currentRoute.query.bsmSlsq); |
208 | if (Vue.prototype.$currentRoute.query.sqywbm == "DJBBL") { | ||
209 | formdata.append("bsmSldy", this.formData.bsmRepair); | ||
210 | formdata.append("clfl", 3); | ||
211 | } else { | ||
212 | formdata.append("bsmSldy", this.formData.unitData[0]?.bsmSldy); | 208 | formdata.append("bsmSldy", this.formData.unitData[0]?.bsmSldy); |
213 | formdata.append("clfl", 2); | ||
214 | } | ||
215 | InitClml(formdata).then((res) => { | 209 | InitClml(formdata).then((res) => { |
216 | if (res.code == 200) { | 210 | if (res.code == 200) { |
217 | resolve(res.code) | 211 | resolve(res.code) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-12 09:58:32 | 4 | * @LastEditTime: 2023-10-24 16:13:19 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="clxx"> | 7 | <div class="clxx"> |
... | @@ -98,14 +98,14 @@ | ... | @@ -98,14 +98,14 @@ |
98 | watch: { | 98 | watch: { |
99 | workFresh: { | 99 | workFresh: { |
100 | handler (newValue, oldValue) { | 100 | handler (newValue, oldValue) { |
101 | this.clmlInitList() | 101 | this.clmlInitList(1) |
102 | }, | 102 | }, |
103 | deep: true, | 103 | deep: true, |
104 | immediate: true | 104 | immediate: true |
105 | } | 105 | } |
106 | }, | 106 | }, |
107 | created () { | 107 | created () { |
108 | this.clmlInitList() | 108 | this.clmlInitList(1) |
109 | }, | 109 | }, |
110 | methods: { | 110 | methods: { |
111 | /** | 111 | /** |
... | @@ -173,7 +173,7 @@ | ... | @@ -173,7 +173,7 @@ |
173 | this.tableData = res.result; | 173 | this.tableData = res.result; |
174 | if (type == 1) { | 174 | if (type == 1) { |
175 | this.treeClick(this.tableData[0], 0); | 175 | this.treeClick(this.tableData[0], 0); |
176 | } else { | 176 | } else if (type == 2) { |
177 | //新增材料后刷新列表焦点置于新增的对象上 | 177 | //新增材料后刷新列表焦点置于新增的对象上 |
178 | this.treeClick( | 178 | this.treeClick( |
179 | this.tableData[this.tableData.length - 1], | 179 | this.tableData[this.tableData.length - 1], |
... | @@ -287,12 +287,15 @@ | ... | @@ -287,12 +287,15 @@ |
287 | this.titleYs = index + 1; | 287 | this.titleYs = index + 1; |
288 | }, | 288 | }, |
289 | //查看明细 | 289 | //查看明细 |
290 | viewDetail () { | 290 | async viewDetail () { |
291 | let res = await this.clmlInitList(); | ||
292 | if (res == 200) { | ||
291 | store.dispatch("user/reWorkFresh", false); | 293 | store.dispatch("user/reWorkFresh", false); |
292 | ywPopupDialog("申请材料目录", "xxba/components/clxx/dialog/clxxDetailDialog", { | 294 | ywPopupDialog("申请材料目录", "xxba/components/clxx/dialog/clxxDetailDialog", { |
293 | data: this.tableData, | 295 | data: this.tableData, |
294 | bsmCompany: this.formData.bsmCompany | 296 | bsmCompany: this.formData.bsmCompany |
295 | }, "50%", true, false) | 297 | }, "60%", true, false) |
298 | } | ||
296 | }, | 299 | }, |
297 | //设置tableData | 300 | //设置tableData |
298 | setTableData (tableData) { | 301 | setTableData (tableData) { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-25 11:08:07 | 4 | * @LastEditTime: 2023-10-24 16:09:46 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -278,7 +278,7 @@ | ... | @@ -278,7 +278,7 @@ |
278 | const { href } = this.$router.resolve( | 278 | const { href } = this.$router.resolve( |
279 | "/djbworkFrameview?bsmSlsq=" + item.bsmSlsq + | 279 | "/djbworkFrameview?bsmSlsq=" + item.bsmSlsq + |
280 | "&bestepid=" + item.bestepid + | 280 | "&bestepid=" + item.bestepid + |
281 | "&sqywbm=" + item.djywbm | 281 | "&djywbm=" + item.djywbm |
282 | ); | 282 | ); |
283 | window.open(href, `djbworkFrameview${item.bsmSlsq}`); | 283 | window.open(href, `djbworkFrameview${item.bsmSlsq}`); |
284 | } else { | 284 | } else { | ... | ... |
-
Please register or sign in to post a comment