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/lib/checkbox.js +6 -4
- package/lib/eoss-mobile.common.js +72 -30
- package/lib/flow.js +55 -15
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/checkbox/src/main.vue +14 -12
- package/packages/flow/src/components/TaskRead.vue +35 -4
- package/packages/flow/src/main.vue +2 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -156,17 +156,19 @@ export default {
|
|
|
156
156
|
},
|
|
157
157
|
disabledValue:{
|
|
158
158
|
handler(val){
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
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.
|
|
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="
|
|
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="
|
|
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
|