style:共有方式
Showing
1 changed file
with
1 additions
and
4 deletions
... | @@ -121,7 +121,6 @@ export default { | ... | @@ -121,7 +121,6 @@ export default { |
121 | } else { | 121 | } else { |
122 | that.tableDataList = _.cloneDeep(val) | 122 | that.tableDataList = _.cloneDeep(val) |
123 | } | 123 | } |
124 | this.column = this.InformationTable | ||
125 | }) | 124 | }) |
126 | }, | 125 | }, |
127 | immediate: true, | 126 | immediate: true, |
... | @@ -130,7 +129,7 @@ export default { | ... | @@ -130,7 +129,7 @@ export default { |
130 | gyfs: { | 129 | gyfs: { |
131 | handler (newVal, oldValue) { | 130 | handler (newVal, oldValue) { |
132 | let dataList = _.cloneDeep(this.InformationTable) | 131 | let dataList = _.cloneDeep(this.InformationTable) |
133 | if (newVal == '0') { | 132 | if (newVal == 0) { |
134 | this.column = _.cloneDeep(dataList).slice(1, dataList.length) | 133 | this.column = _.cloneDeep(dataList).slice(1, dataList.length) |
135 | } else if ((newVal == '1' || newVal == '3')) { | 134 | } else if ((newVal == '1' || newVal == '3')) { |
136 | this.column = dataList | 135 | this.column = dataList |
... | @@ -170,12 +169,10 @@ export default { | ... | @@ -170,12 +169,10 @@ export default { |
170 | 169 | ||
171 | // 修改 | 170 | // 修改 |
172 | editClick (index, row) { | 171 | editClick (index, row) { |
173 | //console.log(row, 'rowrowrowrowrow'); | ||
174 | this.dataIndex = index | 172 | this.dataIndex = index |
175 | this.dialog = true | 173 | this.dialog = true |
176 | this.details = row | 174 | this.details = row |
177 | }, | 175 | }, |
178 | |||
179 | queryViewClick () { | 176 | queryViewClick () { |
180 | this.dialog = true | 177 | this.dialog = true |
181 | } | 178 | } | ... | ... |
-
Please register or sign in to post a comment