eoss-mobiles 0.3.99 → 0.4.0

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.99",
3
+ "version": "0.4.0",
4
4
  "description": "eoss内部移动端业务组件",
5
5
  "main": "lib/eoss-mobile.common.js",
6
6
  "files": [
@@ -262,6 +262,7 @@ export default {
262
262
  },
263
263
 
264
264
  params() {
265
+ console.log(this.isSync != 1,this.isSync,his.taskReadType == '分阅',this.isOrg,'123')
265
266
  return {
266
267
  pid:
267
268
  this.taskReadType == '分阅' && this.isSync != 1 && !this.isOrg
@@ -299,7 +300,7 @@ export default {
299
300
  subRead() {
300
301
  const { businessId, appId, processDefinitionId, pendingId } =
301
302
  this.taskExamine;
302
- if (this.taskReadOpinionRequired == 'true' && !this.form.handleExplain)
303
+ if (this.taskReadOpinionRequired && !this.form.handleExplain)
303
304
  return this.$toast('分阅阅结必须输入意见!');
304
305
  let params = {
305
306
  businessId,
@@ -644,6 +645,8 @@ export default {
644
645
  // this.notificationMsgType = res.data.defaultNotificationType.split(',');
645
646
  // this.isMultiple()
646
647
  this.taskReadOpinionRequired = res.data.taskReadOpinionRequired == 'true';
648
+ this.isSync = res.data.taskReadType != 'commonTaskRead' ? '1' : '0';
649
+
647
650
  this.getTaskRead();
648
651
  this.taskExamine = res.data.taskExamine;
649
652
  // console.log(this.taskExamine, 'taskExaminetaskExaminetaskExamine');
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.99',
108
+ version: '0.4.0',
109
109
  install,
110
110
  Button,
111
111
  ButtonGroup,