zydx-plus 1.32.278 → 1.32.279
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
|
@@ -7,9 +7,6 @@
|
|
|
7
7
|
<button v-if="item.key === 'but'" class="buts" @click="item.onClick(item,info)"
|
|
8
8
|
:style="{color: (item.active)? '#00ff00' :'#000'}">{{ item.title }}
|
|
9
9
|
</button>
|
|
10
|
-
<!-- <button v-else-if="item.key === 'speech'" class="buts" @mousedown.stop="speechDown" @click="item.onClick(item)"-->
|
|
11
|
-
<!-- :style="{color: (item.active)? '#00ff00' :'#000'}">{{ voiceStatus ? '关闭语音' : '语音输入' }}-->
|
|
12
|
-
<!-- </button>-->
|
|
13
10
|
<label v-else-if="item.key === 'upImg' || item.key === 'uploadAtt'">
|
|
14
11
|
<input type="file" @change="upload($event,item.key)"
|
|
15
12
|
:accept="(item.key === 'upImg')?'image/*':'.docx,.pptx,.pdf,.xlsx,.mp3,.mp4'" style="display: none;">
|
|
@@ -45,9 +42,9 @@
|
|
|
45
42
|
<p :style="enclosureStyle">{{ enclosureText }}</p>
|
|
46
43
|
<div class="enclosure-list" v-for="(item,index) in uploadAttData">
|
|
47
44
|
<div class="enclosure-item">
|
|
48
|
-
<span v-if="item.name">{{ index + 1 }}. {{ item.name }}</span>
|
|
49
|
-
<span v-if="item.annexName">{{ index + 1 }}. {{ item.annexName }}</span>
|
|
50
|
-
<span v-if="item.fileName">{{ index + 1 }}. {{ item.fileName }}</span>
|
|
45
|
+
<span v-if="item.name">{{ numberStyle? `【${index + 1}】`: index + 1 }}. {{ item.name }}</span>
|
|
46
|
+
<span v-if="item.annexName">{{ numberStyle? `【${index + 1}】`: index + 1 }}. {{ item.annexName }}</span>
|
|
47
|
+
<span v-if="item.fileName">{{ numberStyle? `【${index + 1}】`: index + 1 }}. {{ item.fileName }}</span>
|
|
51
48
|
</div>
|
|
52
49
|
<div class="enclosure-item en-but">
|
|
53
50
|
<div style="display: inline-block; height: 21px;">
|
|
@@ -245,6 +242,10 @@ export default {
|
|
|
245
242
|
voiceShow: {
|
|
246
243
|
type: Boolean,
|
|
247
244
|
default: true
|
|
245
|
+
},
|
|
246
|
+
numberStyle: {
|
|
247
|
+
type: Boolean,
|
|
248
|
+
default: false
|
|
248
249
|
}
|
|
249
250
|
},
|
|
250
251
|
emits: ['see', 'del', 'complete', 'update:data', 'enclosureSuccess', 'download', 'updateData'],
|
|
@@ -264,23 +265,7 @@ export default {
|
|
|
264
265
|
})
|
|
265
266
|
},
|
|
266
267
|
deep: true
|
|
267
|
-
}
|
|
268
|
-
// toolbar: {
|
|
269
|
-
// handler: function (e, oldVal) {
|
|
270
|
-
// e.map(x => {
|
|
271
|
-
// if (x.key === 'speech') {
|
|
272
|
-
// this.voiceStatus = x.active
|
|
273
|
-
// if(this.voiceStatus) {
|
|
274
|
-
// this.voice()
|
|
275
|
-
// }else {
|
|
276
|
-
// this.close()
|
|
277
|
-
// }
|
|
278
|
-
// }
|
|
279
|
-
// return x
|
|
280
|
-
// })
|
|
281
|
-
// },
|
|
282
|
-
// deep: true
|
|
283
|
-
// }
|
|
268
|
+
}
|
|
284
269
|
},
|
|
285
270
|
mounted() {
|
|
286
271
|
let _this = this
|