doway-coms 1.6.57 → 1.6.59

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.57",
3
+ "version": "1.6.59",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -26,14 +26,15 @@
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
  >
33
33
  <div style="flex:1">发送给:</div>
34
34
  <a-select
35
35
  v-model:value="sendUser"
36
- mode="tags"
36
+ :show-search="true"
37
+ mode="multiple"
37
38
  style="width: 85%;flex:3"
38
39
  :options="userList"
39
40
  size="small"
@@ -114,7 +115,11 @@
114
115
  <template slot="content">
115
116
  <template v-if="item.receiver!==null">
116
117
  <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>
118
+ <div
119
+ v-for="(item,index) in item.atUser"
120
+ :key="index"
121
+ style="background-color:#eee;margin-right:3px"
122
+ >@{{item}}</div>
118
123
  </div>
119
124
  </template>
120
125
  <div style="margin-bottom: 5px">{{ item.body }}</div>
@@ -168,7 +173,10 @@ import {
168
173
  export default {
169
174
  name: "LeaveAMessage",
170
175
  props: {
171
- modalHeight:{
176
+ orderNum:{
177
+ type: String
178
+ },
179
+ modalHeight: {
172
180
  type: Number
173
181
  },
174
182
  listHeight: {
@@ -296,7 +304,6 @@ export default {
296
304
  searchObjectCommentApi(postData).then(res => {
297
305
  let tmp = [];
298
306
  res.content.forEach(item => {
299
-
300
307
  if (item.receiver !== null) {
301
308
  item["atUser"] = [];
302
309
  let atUser = item.receiver.split(",");
@@ -373,7 +380,7 @@ export default {
373
380
  let postData = {
374
381
  content: this.remark,
375
382
  receiver: this.sendUser.join(","),
376
- subject: this.uploadData.resId,
383
+ subject: this.orderNum,
377
384
  objectName: this.objectName,
378
385
  resId: this.resId
379
386
  };