eoss-mobiles 0.3.85 → 0.3.86

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": "eoss-mobiles",
3
- "version": "0.3.85",
3
+ "version": "0.3.86",
4
4
  "description": "eoss内部移动端业务组件",
5
5
  "main": "lib/eoss-mobile.common.js",
6
6
  "files": [
@@ -44,7 +44,7 @@
44
44
  />
45
45
  </div>
46
46
  <div class="item" v-if="isSyncCopy">
47
- <em-input label="分阅模式" readonly>
47
+ <em-input class="read-type" label="分阅模式" readonly>
48
48
  <template slot="input">
49
49
  <div class="template-input-two" style="width: 100%">
50
50
  <em-radio-group
@@ -78,8 +78,14 @@
78
78
  rows="3"
79
79
  />
80
80
  </div>
81
-
82
- <div class="item" v-if="type != 'transfer'">
81
+ <Opinion
82
+ v-if="isSyncCopy"
83
+ :ownId="pendingId"
84
+ @onInputOpintion="onInputOpintion"
85
+ :isOpinionRequired="0"
86
+ :baseUrl="baseUrl"
87
+ ></Opinion>
88
+ <div class="item" v-if="type != 'transfer' && !isSyncCopy">
83
89
  <em-input
84
90
  label="办理说明"
85
91
  placeholder="请填写办理说明"
@@ -90,7 +96,7 @@
90
96
  </div>
91
97
  <div class="item">
92
98
  <Message
93
- v-if="!hideMessage"
99
+ v-if="!hideMessage "
94
100
  ref="message"
95
101
  :code="msgCode"
96
102
  :readOnlyNotificationType="readOnlyNotificationType"
@@ -126,6 +132,7 @@ import {
126
132
  handleTaskRead
127
133
  } from '../../../../src/config/api';
128
134
  import util from '../../../../src/utils/util.js';
135
+ import Opinion from './Opinion.vue';
129
136
  import request from '../../../../src/utils/http.js';
130
137
  export default {
131
138
  data() {
@@ -161,7 +168,8 @@ export default {
161
168
  };
162
169
  },
163
170
  components: {
164
- Message
171
+ Message,
172
+ Opinion
165
173
  },
166
174
  props: {
167
175
  appid: String,
@@ -205,10 +213,11 @@ export default {
205
213
  getSubText() {
206
214
  return this.processObj.rereadButtonName || '确定';
207
215
  },
216
+
208
217
  params() {
209
218
  return {
210
219
  pid:
211
- this.taskReadType == '分阅'
220
+ this.taskReadType == '分阅' && this.isSync != 1
212
221
  ? 'root'
213
222
  : util.getStorage('orgId') || this.orgId
214
223
  };
@@ -240,6 +249,9 @@ export default {
240
249
  },
241
250
 
242
251
  methods: {
252
+ onInputOpintion(val){
253
+ this.form.handleExplain = val.opinion;
254
+ },
243
255
  //获取通知信息
244
256
  getMessage() {
245
257
  let params = {
@@ -616,8 +628,12 @@ export default {
616
628
  if (status == 'success') {
617
629
  this.defaultNotificationMessage = defaultNotificationMessage;
618
630
  this.form.notificationMsg = defaultNotificationMessage;
619
- taskExamine.choiceDeptId = choiceDeptId;
620
- taskExamine.choiceOrgId = choiceOrgId;
631
+ if(choiceDeptId){
632
+ taskExamine.choiceDeptId = choiceDeptId;
633
+ }
634
+ if(choiceOrgId){
635
+ taskExamine.choiceOrgId = choiceOrgId;
636
+ }
621
637
  this.taskExamine = taskExamine;
622
638
  } else {
623
639
  setTimeout(() => {
@@ -3,6 +3,11 @@
3
3
  @import './tree.scss';
4
4
  .em-flow {
5
5
  height: 100%;
6
+ .read-type{
7
+ .van-field--min-height .van-field__value{
8
+ background-color: transparent !important;
9
+ }
10
+ }
6
11
  .em-flow-popup .van-popup{
7
12
  border-radius: 10px ;
8
13
  width:70%;
package/src/index.js CHANGED
@@ -105,7 +105,7 @@ if (typeof window !== 'undefined' && window.Vue) {
105
105
  }
106
106
 
107
107
  export default {
108
- version: '0.3.85',
108
+ version: '0.3.86',
109
109
  install,
110
110
  Button,
111
111
  ButtonGroup,