eoss-mobiles 0.2.93 → 0.2.94

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.2.93",
3
+ "version": "0.2.94",
4
4
  "description": "eoss内部移动端业务组件",
5
5
  "main": "lib/eoss-mobile.common.js",
6
6
  "files": [
@@ -156,17 +156,19 @@ export default {
156
156
  },
157
157
  disabledValue:{
158
158
  handler(val){
159
- this.newData.map(item => {
160
- item.name = this.allowHtml
161
- ? item[this.sysAppCode ? 'shortName' : this.labelKey]
162
- : item[this.sysAppCode ? 'shortName' : this.labelKey].replace(
163
- /<[^>]+>/g,
164
- ''
165
- );
166
- item.value = item[this.sysAppCode ? 'cciValue' : this.value];
167
-
168
- item.disabled = val.indexOf(item.value) != -1
169
- });
159
+ // if(val){
160
+ this.newData.map(item => {
161
+ item.name = this.allowHtml
162
+ ? item[this.sysAppCode ? 'shortName' : this.labelKey]
163
+ : item[this.sysAppCode ? 'shortName' : this.labelKey].replace(
164
+ /<[^>]+>/g,
165
+ ''
166
+ );
167
+ item.value = item[this.sysAppCode ? 'cciValue' : this.valueKey];
168
+
169
+ item.disabled = val.indexOf(item.value) != -1
170
+ });
171
+ // }
170
172
  },
171
173
  deep: true,
172
174
  immediate: true
@@ -210,7 +212,7 @@ export default {
210
212
  /<[^>]+>/g,
211
213
  ''
212
214
  );
213
- item.value = item[sysAppCode ? 'cciValue' : this.value];
215
+ item.value = item[sysAppCode ? 'cciValue' : this.valueKey];
214
216
  item.disabled = this.disabledValue.indexOf(item.value) != -1
215
217
  });
216
218
  this.newData = data || results;
@@ -6,7 +6,7 @@
6
6
  <div>{{ processObj.taskExamine.nodeName }}</div>
7
7
  </div> -->
8
8
  <div class="input-box">
9
- <div class="item" v-if="newType === 'transfer'">
9
+ <div class="item" v-if="type === 'transfer'">
10
10
  <em-input
11
11
  readonly
12
12
  clickable
@@ -17,7 +17,7 @@
17
17
  </div>
18
18
  <div class="item" v-if="newType === 'transfer'">
19
19
  <em-selector
20
- label="分阅人员"
20
+ label="转办对象"
21
21
  required
22
22
  :multiple="multiple"
23
23
  :isAllCheck="isAllCheck"
@@ -70,7 +70,7 @@
70
70
  :notificationMessageReadOnly="notificationMessageReadOnly"
71
71
  :defaultNotificationType="defaultNotificationType"
72
72
  :baseUrl="baseUrl"
73
- :showMsg="true"
73
+ :showMsg="false"
74
74
  @onInputMsg="onInputMsg"
75
75
  ></Message>
76
76
  </div>
@@ -244,7 +244,7 @@ export default {
244
244
  const {
245
245
  status,
246
246
  message,
247
- data: { choiceDeptId, choiceOrgId, nodeInfoMap, taskExamine }
247
+ data: { choiceDeptId, choiceOrgId, nodeInfoMap, taskExamine,readOnlyNotificationType,notificationMessageReadOnly }
248
248
  } = res;
249
249
  this.$toast.clear();
250
250
  if (status == 'success') {
@@ -253,6 +253,8 @@ export default {
253
253
  choiceOrgId,
254
254
  choiceDeptId
255
255
  );
256
+ this.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
257
+ this.readOnlyNotificationType = readOnlyNotificationType;
256
258
  this.nextNode.nodeName = taskExamine.nodeName;
257
259
  this.transferInfo = taskExamine;
258
260
  } else {
@@ -269,6 +271,35 @@ export default {
269
271
  }
270
272
  });
271
273
  },
274
+ isMultipleTransfer(val, choiceOrgId, choiceDeptId, pOrgId) {
275
+ if (val == 2 || val == 4 || val == 6 || val == 16) {
276
+ this.multiple = true;
277
+ } else {
278
+ this.multiple = false;
279
+ }
280
+ if (val == 1 || val == 2 || val == 5) {
281
+ this.params.pid = this.orgId;
282
+ if (choiceOrgId) {
283
+ this.params.pid = choiceOrgId;
284
+ }
285
+ }
286
+ if (val == 5 || val == 6) {
287
+ this.params.pid = this.orgId;
288
+ this.params.deptId = this.orgId;
289
+ if (choiceDeptId) {
290
+ this.params.deptId = choiceDeptId;
291
+ }
292
+ if (choiceOrgId) {
293
+ this.params.pid = choiceOrgId;
294
+ }
295
+ }
296
+ if (val == 15 || val == 16) {
297
+ this.params.pid = this.orgId;
298
+ if (pOrgId) {
299
+ this.params.pid = pOrgId;
300
+ }
301
+ }
302
+ },
272
303
  isMultiple() {
273
304
  let orgId = util.getStorage('orgId') || this.orgId;
274
305
  if (this.processObj.selectPersonValue == 1) {
@@ -21,9 +21,10 @@
21
21
  :beforeSubmit="beforeSubmit"
22
22
  />
23
23
  <TaskRead
24
- v-else-if="type === 'taskRead'"
24
+ v-else-if="type === 'taskRead' || type === 'transfer'"
25
25
  v-bind="$attrs"
26
26
  :userId="userId"
27
+ :type="type"
27
28
  :beforeSubmit="beforeSubmit"
28
29
  />
29
30
  <TaskUnionExamineVue
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.2.93',
108
+ version: '0.2.94',
109
109
  install,
110
110
  Button,
111
111
  ButtonGroup,