style:登记薄操作编辑功能的完善
Showing
1 changed file
with
4 additions
and
4 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-22 09:50:12 | 4 | * @LastEditTime: 2023-10-09 10:31:04 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -34,6 +34,9 @@ | ... | @@ -34,6 +34,9 @@ |
34 | }, | 34 | }, |
35 | created () { | 35 | created () { |
36 | this.loadData(); | 36 | this.loadData(); |
37 | if (this.$parent.addRepairRecord) { | ||
38 | this.columns.unshift({ prop: "cz", label: "操作" }); | ||
39 | } | ||
37 | }, | 40 | }, |
38 | methods: { | 41 | methods: { |
39 | /** | 42 | /** |
... | @@ -41,9 +44,6 @@ | ... | @@ -41,9 +44,6 @@ |
41 | * @author: renchao | 44 | * @author: renchao |
42 | */ | 45 | */ |
43 | loadData (checkList = []) { | 46 | loadData (checkList = []) { |
44 | if (this.$parent.addRepairRecord) { | ||
45 | this.columns.unshift({ prop: "cz", label: "操作" }); | ||
46 | } | ||
47 | getDiyaqList({ | 47 | getDiyaqList({ |
48 | bdcdyid: this.propsParam.bdcdyid, | 48 | bdcdyid: this.propsParam.bdcdyid, |
49 | qllx: this.propsParam.qllx, | 49 | qllx: this.propsParam.qllx, | ... | ... |
-
Please register or sign in to post a comment