doway-coms 2.12.1 → 2.12.4

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.12.01",
3
+ "version": "2.12.4",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -42,6 +42,9 @@
42
42
  type="eye"
43
43
  @click="viewAttach(internalRow.attach)"
44
44
  />
45
+ <div>
46
+ 上传时间:{{internalRow.attach.createTime}}
47
+ </div>
45
48
  </div>
46
49
  <div class="attach" v-else-if="internalRow.attach.contentType == 'application/pdf'">
47
50
  <img
@@ -65,6 +68,9 @@
65
68
  type="eye"
66
69
  @click="viewAttach(internalRow.attach)"
67
70
  />
71
+ <div>
72
+ 上传时间:{{internalRow.attach.createTime}}
73
+ </div>
68
74
  </div>
69
75
  <div class="attach" v-else>
70
76
  <img
@@ -84,6 +90,9 @@
84
90
  type="download"
85
91
  @click="downloadAttach(internalRow.attach)"
86
92
  />
93
+ <div>
94
+ 上传时间:{{internalRow.attach.createTime}}
95
+ </div>
87
96
  </div>
88
97
  <div
89
98
  :style="{ width: width }"
@@ -159,7 +168,8 @@
159
168
  </template>
160
169
 
161
170
  <script>
162
- import { notification, Upload,Spin } from "ant-design-vue";
171
+ import moment from 'moment'
172
+ import { notification, Upload,Spin,DatePicker } from "ant-design-vue";
163
173
  import { sysRowState } from "../../utils/enum";
164
174
  import clickoutside from '../../directive/clickoutside'
165
175
  import { Checkbox, Modal } from "vxe-table";
@@ -171,6 +181,7 @@ export default {
171
181
  VxeCheckbox: Checkbox,
172
182
  "a-upload": Upload,
173
183
  VxeModal: Modal,
184
+ 'a-date-picker': DatePicker,
174
185
  'a-spin':Spin
175
186
  },
176
187
  directives: {
@@ -178,6 +189,7 @@ export default {
178
189
  },
179
190
  data() {
180
191
  return {
192
+ moment,
181
193
  uploading:false,
182
194
  currentSelectId:null,
183
195
  uploadFileList:[],
@@ -355,6 +367,7 @@ export default {
355
367
  newRows[x].attach.fileName = responseData.content[i].fileName;
356
368
  newRows[x].attach.name = responseData.content[i].name;
357
369
  newRows[x].attach.content = responseData.content[i].content;
370
+ newRows[x].attach.createTime = responseData.content[i].createTime;
358
371
  newRows[x].attach.contentType =
359
372
  responseData.content[i].contentType;
360
373
  // newRows[x].attach.isDefault = false