doway-coms 2.6.7 → 2.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "2.6.7",
3
+ "version": "2.6.9",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -250,7 +250,7 @@ export default {
250
250
  p.parentId = 'sys_top_folder'
251
251
  })
252
252
 
253
- //
253
+ //
254
254
  this.fileGroupData = XEUtils.orderBy(XEUtils.filter(this.internalRows, p => p.attachType === 'folder'), p => p.sort)
255
255
  console.debug('davistest', this.fileGroupData)
256
256
  if (this.currentSelectKey.length === 0) {
@@ -403,7 +403,7 @@ export default {
403
403
  parentId: this.currentSelectKey[0],
404
404
  fileType: info.file.response.content.fileType,
405
405
  sort: this.internalRows.length + 1,
406
- attachFile: 'file',
406
+ attachType: 'file',
407
407
  name: info.file.response.content.name,
408
408
  id: this.$store.getters.newId() + "",
409
409
  }
@@ -170,6 +170,7 @@
170
170
  <template #text_edit="scope">
171
171
  <div class="interceptor-class">
172
172
  <a-input
173
+ v-if="scope.column.params.controlEdit === true"
173
174
  class="inner-cell-control"
174
175
  size="small"
175
176
  v-model="scope.row[scope.column.property]"
@@ -177,6 +178,9 @@
177
178
  type="text"
178
179
  :disabled="editDisabled(scope)"
179
180
  />
181
+ <div v-else>
182
+ {{ gridDefaultValueDisplay(scope.row, scope.column) }}
183
+ </div>
180
184
  </div>
181
185
  </template>
182
186
  <template #checkbox_edit="scope">