doway-coms 1.6.56 → 1.6.58

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": "1.6.56",
3
+ "version": "1.6.58",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -26,7 +26,7 @@
26
26
  >
27
27
  <div style="flex:1">主题:</div>
28
28
  <a-input v-model:value="subject" style="flex:3" size="small"></a-input>
29
- </div> -->
29
+ </div>-->
30
30
  <div
31
31
  style="display:flex;justify-content: center;align-items: center;margin-bottom:5px;margin-left:5px;flex:1"
32
32
  >
@@ -114,7 +114,11 @@
114
114
  <template slot="content">
115
115
  <template v-if="item.receiver!==null">
116
116
  <div style="display:flex;flex-wrap: wrap;">
117
- <div v-for="(item,index) in item.atUser" :key="index" style="background-color:#eee;margin-right:3px">@{{item}}</div>
117
+ <div
118
+ v-for="(item,index) in item.atUser"
119
+ :key="index"
120
+ style="background-color:#eee;margin-right:3px"
121
+ >@{{item}}</div>
118
122
  </div>
119
123
  </template>
120
124
  <div style="margin-bottom: 5px">{{ item.body }}</div>
@@ -168,7 +172,10 @@ import {
168
172
  export default {
169
173
  name: "LeaveAMessage",
170
174
  props: {
171
- modalHeight:{
175
+ orderNum:{
176
+ type: String
177
+ },
178
+ modalHeight: {
172
179
  type: Number
173
180
  },
174
181
  listHeight: {
@@ -296,7 +303,6 @@ export default {
296
303
  searchObjectCommentApi(postData).then(res => {
297
304
  let tmp = [];
298
305
  res.content.forEach(item => {
299
-
300
306
  if (item.receiver !== null) {
301
307
  item["atUser"] = [];
302
308
  let atUser = item.receiver.split(",");
@@ -373,7 +379,7 @@ export default {
373
379
  let postData = {
374
380
  content: this.remark,
375
381
  receiver: this.sendUser.join(","),
376
- subject: this.uploadData.resId,
382
+ subject: this.orderNum,
377
383
  objectName: this.objectName,
378
384
  resId: this.resId
379
385
  };
@@ -439,6 +445,8 @@ export default {
439
445
  }
440
446
  .list {
441
447
  padding: 10px 15px;
448
+ padding-top: 0;
449
+ margin-top: 10px;
442
450
  overflow: auto;
443
451
  .close-icon {
444
452
  position: absolute;