eoss-mobiles 0.2.96 → 0.2.97
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/eoss-mobile.common.js +85 -63
- package/lib/flow.js +84 -62
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/flow/src/components/TaskRead.vue +28 -8
- package/src/index.js +1 -1
|
@@ -17573,8 +17573,8 @@ var Handle_component = normalizeComponent(
|
|
|
17573
17573
|
)
|
|
17574
17574
|
|
|
17575
17575
|
/* harmony default export */ var Handle = (Handle_component.exports);
|
|
17576
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=template&id=
|
|
17577
|
-
var
|
|
17576
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=template&id=5194ed24
|
|
17577
|
+
var TaskReadvue_type_template_id_5194ed24_render = function () {
|
|
17578
17578
|
var _vm = this
|
|
17579
17579
|
var _h = _vm.$createElement
|
|
17580
17580
|
var _c = _vm._self._c || _h
|
|
@@ -17775,11 +17775,11 @@ var TaskReadvue_type_template_id_5dd51b8b_render = function () {
|
|
|
17775
17775
|
]),
|
|
17776
17776
|
])
|
|
17777
17777
|
}
|
|
17778
|
-
var
|
|
17779
|
-
|
|
17778
|
+
var TaskReadvue_type_template_id_5194ed24_staticRenderFns = []
|
|
17779
|
+
TaskReadvue_type_template_id_5194ed24_render._withStripped = true
|
|
17780
17780
|
|
|
17781
17781
|
|
|
17782
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=
|
|
17782
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=5194ed24
|
|
17783
17783
|
|
|
17784
17784
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=script&lang=js
|
|
17785
17785
|
var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -17971,14 +17971,35 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
17971
17971
|
this.getFind();
|
|
17972
17972
|
if (!this.readParams) {
|
|
17973
17973
|
this.getHandleInfoHtml();
|
|
17974
|
+
} else {
|
|
17975
|
+
this.getMessage();
|
|
17974
17976
|
}
|
|
17975
17977
|
},
|
|
17976
17978
|
|
|
17977
17979
|
|
|
17978
17980
|
methods: {
|
|
17981
|
+
//获取通知信息
|
|
17982
|
+
getMessage: function getMessage() {
|
|
17983
|
+
var _this = this;
|
|
17984
|
+
|
|
17985
|
+
var params = {
|
|
17986
|
+
appId: this.readParams.appId
|
|
17987
|
+
};
|
|
17988
|
+
utils_http({ url: getNotificationMsg, params: params, methods: 'post' }).then(function (res) {
|
|
17989
|
+
if (res.status === 'success') {
|
|
17990
|
+
_this.defaultNotificationMessage = res.message;
|
|
17991
|
+
_this.form.notificationMsg = res.message;
|
|
17992
|
+
}
|
|
17993
|
+
}).catch(function (err) {
|
|
17994
|
+
if (err.message && err.message !== 'canceled') {
|
|
17995
|
+
_this.$toast(err.message);
|
|
17996
|
+
}
|
|
17997
|
+
});
|
|
17998
|
+
},
|
|
17999
|
+
|
|
17979
18000
|
// 转办提交
|
|
17980
18001
|
subTaskTransfer: function subTaskTransfer() {
|
|
17981
|
-
var
|
|
18002
|
+
var _this2 = this;
|
|
17982
18003
|
|
|
17983
18004
|
if (!this.nextReadUserSelectList || this.nextReadUserSelectList.length === 0) {
|
|
17984
18005
|
this.$toast('请选择转办对象');
|
|
@@ -18017,25 +18038,25 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
18017
18038
|
duration: 0
|
|
18018
18039
|
});
|
|
18019
18040
|
utils_http(params).then(function (res) {
|
|
18020
|
-
|
|
18041
|
+
_this2.$toast.clear();
|
|
18021
18042
|
var message = res.message,
|
|
18022
18043
|
status = res.status;
|
|
18023
18044
|
|
|
18024
18045
|
if (status === 'success') {
|
|
18025
|
-
|
|
18026
|
-
|
|
18046
|
+
_this2.$toast('操作成功');
|
|
18047
|
+
_this2.$parent.$emit('success');
|
|
18027
18048
|
} else {
|
|
18028
|
-
|
|
18049
|
+
_this2.$toast(message || '系统错误,请联系管理员!');
|
|
18029
18050
|
}
|
|
18030
18051
|
}).catch(function (err) {
|
|
18031
|
-
|
|
18052
|
+
_this2.$toast.clear();
|
|
18032
18053
|
if (err.message && err.message !== 'canceled') {
|
|
18033
|
-
|
|
18054
|
+
_this2.$toast(err.message);
|
|
18034
18055
|
}
|
|
18035
18056
|
});
|
|
18036
18057
|
},
|
|
18037
18058
|
getFind: function getFind() {
|
|
18038
|
-
var
|
|
18059
|
+
var _this3 = this;
|
|
18039
18060
|
|
|
18040
18061
|
this.$toast.loading({
|
|
18041
18062
|
message: '加载中...',
|
|
@@ -18048,37 +18069,42 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
18048
18069
|
url: this.baseUrl ? this.baseUrl + findSysCodes : findSysCodes
|
|
18049
18070
|
}).then(function (res) {
|
|
18050
18071
|
var status = res.status,
|
|
18051
|
-
message = res.message
|
|
18072
|
+
message = res.message,
|
|
18073
|
+
data = res.data;
|
|
18052
18074
|
|
|
18053
|
-
|
|
18075
|
+
_this3.loading = false;
|
|
18054
18076
|
if (status === 'success') {
|
|
18055
|
-
|
|
18056
|
-
|
|
18077
|
+
_this3.form.notificationMsgType = message.split(',');
|
|
18078
|
+
_this3.defaultNotificationType = message.split(',');
|
|
18079
|
+
if (data) {
|
|
18080
|
+
_this3.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
|
|
18081
|
+
_this3.readOnlyNotificationType = data.readOnlyNotificationType;
|
|
18082
|
+
}
|
|
18057
18083
|
} else {
|
|
18058
18084
|
setTimeout(function () {
|
|
18059
|
-
|
|
18085
|
+
_this3.goBack();
|
|
18060
18086
|
}, 1000);
|
|
18061
|
-
|
|
18087
|
+
_this3.$toast.error(message || '系统错误,请联系管理员!');
|
|
18062
18088
|
}
|
|
18063
|
-
if (
|
|
18064
|
-
|
|
18089
|
+
if (_this3.type === 'transfer') {
|
|
18090
|
+
_this3.toTaskTransfer();
|
|
18065
18091
|
} else {
|
|
18066
|
-
if (!
|
|
18067
|
-
|
|
18092
|
+
if (!_this3.readParams) {
|
|
18093
|
+
_this3.getProcessObjNew();
|
|
18068
18094
|
} else {
|
|
18069
|
-
|
|
18095
|
+
_this3.$toast.clear();
|
|
18070
18096
|
}
|
|
18071
18097
|
// this.getProcessObjNew();
|
|
18072
18098
|
}
|
|
18073
18099
|
}).catch(function (err) {
|
|
18074
|
-
|
|
18100
|
+
_this3.loading = false;
|
|
18075
18101
|
if (err.message && err.message !== 'canceled') {
|
|
18076
|
-
|
|
18102
|
+
_this3.$message.error(err.message);
|
|
18077
18103
|
}
|
|
18078
18104
|
});
|
|
18079
18105
|
},
|
|
18080
18106
|
toTaskTransfer: function toTaskTransfer() {
|
|
18081
|
-
var
|
|
18107
|
+
var _this4 = this;
|
|
18082
18108
|
|
|
18083
18109
|
var opinion = this.opinion,
|
|
18084
18110
|
pendingId = this.pendingId,
|
|
@@ -18106,23 +18132,21 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
18106
18132
|
readOnlyNotificationType = _res$data.readOnlyNotificationType,
|
|
18107
18133
|
notificationMessageReadOnly = _res$data.notificationMessageReadOnly;
|
|
18108
18134
|
|
|
18109
|
-
|
|
18135
|
+
_this4.$toast.clear();
|
|
18110
18136
|
if (status == 'success') {
|
|
18111
|
-
|
|
18112
|
-
|
|
18113
|
-
|
|
18114
|
-
_this3.nextNode.nodeName = taskExamine.nodeName;
|
|
18115
|
-
_this3.transferInfo = taskExamine;
|
|
18137
|
+
_this4.isMultipleTransfer(nodeInfoMap.nodeExtAttr.userSelectionType, choiceOrgId, choiceDeptId);
|
|
18138
|
+
_this4.nextNode.nodeName = taskExamine.nodeName;
|
|
18139
|
+
_this4.transferInfo = taskExamine;
|
|
18116
18140
|
} else {
|
|
18117
|
-
|
|
18141
|
+
_this4.$toast(message || '系统错误,请联系管理员!');
|
|
18118
18142
|
setTimeout(function () {
|
|
18119
|
-
|
|
18143
|
+
_this4.goBack();
|
|
18120
18144
|
}, 1000);
|
|
18121
18145
|
}
|
|
18122
18146
|
}).catch(function (err) {
|
|
18123
|
-
|
|
18147
|
+
_this4.loading = false;
|
|
18124
18148
|
if (err.message && err.message !== 'canceled') {
|
|
18125
|
-
|
|
18149
|
+
_this4.$toast(err.message);
|
|
18126
18150
|
}
|
|
18127
18151
|
});
|
|
18128
18152
|
},
|
|
@@ -18184,7 +18208,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
18184
18208
|
this.form.notificationMsg = obj.notificationMsg;
|
|
18185
18209
|
},
|
|
18186
18210
|
getProcessObjNew: function getProcessObjNew() {
|
|
18187
|
-
var
|
|
18211
|
+
var _this5 = this;
|
|
18188
18212
|
|
|
18189
18213
|
var _that = this;
|
|
18190
18214
|
var params = {
|
|
@@ -18201,16 +18225,14 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
18201
18225
|
}).then(function (res) {
|
|
18202
18226
|
_that.$toast.clear();
|
|
18203
18227
|
if (res.status == 'success') {
|
|
18204
|
-
|
|
18205
|
-
|
|
18206
|
-
_this4.notificationMessageReadOnly = res.data.notificationMessageReadOnly == 'true';
|
|
18207
|
-
_this4.readOnlyNotificationType = res.data.readOnlyNotificationType;
|
|
18228
|
+
_this5.processObj = res.data;
|
|
18229
|
+
_this5.notificationMsgType = _this5.isMultiple();
|
|
18208
18230
|
// this.taskExamine = res.data.taskExamine;
|
|
18209
18231
|
// console.log(this.taskExamine, 'taskExaminetaskExaminetaskExamine');
|
|
18210
18232
|
} else {
|
|
18211
18233
|
_that.$toast(res.message);
|
|
18212
18234
|
setTimeout(function () {
|
|
18213
|
-
|
|
18235
|
+
_this5.goBack();
|
|
18214
18236
|
}, 1000);
|
|
18215
18237
|
}
|
|
18216
18238
|
});
|
|
@@ -18242,7 +18264,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
18242
18264
|
// }
|
|
18243
18265
|
},
|
|
18244
18266
|
onSubmitReadEndNew: function onSubmitReadEndNew() {
|
|
18245
|
-
var
|
|
18267
|
+
var _this6 = this;
|
|
18246
18268
|
|
|
18247
18269
|
var _that = this;
|
|
18248
18270
|
var params = {
|
|
@@ -18274,17 +18296,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
18274
18296
|
|
|
18275
18297
|
utils_http(params).then(function (res) {
|
|
18276
18298
|
if (res.rCode == 0) {
|
|
18277
|
-
|
|
18278
|
-
|
|
18299
|
+
_this6.$toast('操作成功');
|
|
18300
|
+
_this6.$parent.$emit('success');
|
|
18279
18301
|
} else {
|
|
18280
|
-
|
|
18302
|
+
_this6.$toast(res.msg);
|
|
18281
18303
|
}
|
|
18282
18304
|
}).catch(function (err) {
|
|
18283
|
-
|
|
18305
|
+
_this6.$toast('数据返回失败');
|
|
18284
18306
|
});
|
|
18285
18307
|
},
|
|
18286
18308
|
getHandleInfoHtml: function getHandleInfoHtml() {
|
|
18287
|
-
var
|
|
18309
|
+
var _this7 = this;
|
|
18288
18310
|
|
|
18289
18311
|
utils_http({
|
|
18290
18312
|
url: this.baseUrl ? this.baseUrl + api_getHandleInfoHtml : api_getHandleInfoHtml,
|
|
@@ -18298,21 +18320,21 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
18298
18320
|
defaultNotificationMessage = _res$data2.defaultNotificationMessage;
|
|
18299
18321
|
|
|
18300
18322
|
if (status == 'success') {
|
|
18301
|
-
|
|
18302
|
-
|
|
18323
|
+
_this7.defaultNotificationMessage = defaultNotificationMessage;
|
|
18324
|
+
_this7.form.notificationMsg = defaultNotificationMessage;
|
|
18303
18325
|
taskExamine.choiceDeptId = choiceDeptId;
|
|
18304
18326
|
taskExamine.choiceOrgId = choiceOrgId;
|
|
18305
|
-
|
|
18327
|
+
_this7.taskExamine = taskExamine;
|
|
18306
18328
|
} else {
|
|
18307
18329
|
setTimeout(function () {
|
|
18308
|
-
|
|
18330
|
+
_this7.goBack();
|
|
18309
18331
|
}, 1000);
|
|
18310
|
-
|
|
18332
|
+
_this7.$toast(res.message);
|
|
18311
18333
|
}
|
|
18312
18334
|
});
|
|
18313
18335
|
},
|
|
18314
18336
|
onSubmitReadNew: function onSubmitReadNew() {
|
|
18315
|
-
var
|
|
18337
|
+
var _this8 = this;
|
|
18316
18338
|
|
|
18317
18339
|
var _that = this;
|
|
18318
18340
|
if (!this.nextReadUserSelectList || this.nextReadUserSelectList.length === 0) {
|
|
@@ -18321,7 +18343,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
18321
18343
|
}
|
|
18322
18344
|
var ids = '';
|
|
18323
18345
|
this.nextReadUserSelectList.map(function (r, i) {
|
|
18324
|
-
ids = ids + r.showid + (i ===
|
|
18346
|
+
ids = ids + r.showid + (i === _this8.nextReadUserSelectList.length - 1 ? '' : ',');
|
|
18325
18347
|
});
|
|
18326
18348
|
var _taskExamine2 = this.taskExamine,
|
|
18327
18349
|
appId = _taskExamine2.appId,
|
|
@@ -18373,13 +18395,13 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
18373
18395
|
});
|
|
18374
18396
|
utils_http(params).then(function (res) {
|
|
18375
18397
|
if (res.status == 'success') {
|
|
18376
|
-
|
|
18377
|
-
|
|
18398
|
+
_this8.$toast('操作成功');
|
|
18399
|
+
_this8.$parent.$emit('success');
|
|
18378
18400
|
} else {
|
|
18379
|
-
|
|
18401
|
+
_this8.$toast(res.message);
|
|
18380
18402
|
}
|
|
18381
18403
|
}).catch(function (err) {
|
|
18382
|
-
|
|
18404
|
+
_this8.$toast('数据返回失败');
|
|
18383
18405
|
});
|
|
18384
18406
|
}
|
|
18385
18407
|
}
|
|
@@ -18396,8 +18418,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
18396
18418
|
|
|
18397
18419
|
var TaskRead_component = normalizeComponent(
|
|
18398
18420
|
components_TaskReadvue_type_script_lang_js,
|
|
18399
|
-
|
|
18400
|
-
|
|
18421
|
+
TaskReadvue_type_template_id_5194ed24_render,
|
|
18422
|
+
TaskReadvue_type_template_id_5194ed24_staticRenderFns,
|
|
18401
18423
|
false,
|
|
18402
18424
|
null,
|
|
18403
18425
|
null,
|
|
@@ -24668,7 +24690,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
24668
24690
|
}
|
|
24669
24691
|
|
|
24670
24692
|
/* harmony default export */ var src = __webpack_exports__["default"] = ({
|
|
24671
|
-
version: '0.2.
|
|
24693
|
+
version: '0.2.97',
|
|
24672
24694
|
install: install,
|
|
24673
24695
|
Button: packages_button,
|
|
24674
24696
|
ButtonGroup: button_group,
|
package/lib/flow.js
CHANGED
|
@@ -6893,8 +6893,8 @@ var Handle_component = Object(componentNormalizer["a" /* default */])(
|
|
|
6893
6893
|
)
|
|
6894
6894
|
|
|
6895
6895
|
/* harmony default export */ var Handle = (Handle_component.exports);
|
|
6896
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=template&id=
|
|
6897
|
-
var
|
|
6896
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=template&id=5194ed24
|
|
6897
|
+
var TaskReadvue_type_template_id_5194ed24_render = function () {
|
|
6898
6898
|
var _vm = this
|
|
6899
6899
|
var _h = _vm.$createElement
|
|
6900
6900
|
var _c = _vm._self._c || _h
|
|
@@ -7095,11 +7095,11 @@ var TaskReadvue_type_template_id_5dd51b8b_render = function () {
|
|
|
7095
7095
|
]),
|
|
7096
7096
|
])
|
|
7097
7097
|
}
|
|
7098
|
-
var
|
|
7099
|
-
|
|
7098
|
+
var TaskReadvue_type_template_id_5194ed24_staticRenderFns = []
|
|
7099
|
+
TaskReadvue_type_template_id_5194ed24_render._withStripped = true
|
|
7100
7100
|
|
|
7101
7101
|
|
|
7102
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=
|
|
7102
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=5194ed24
|
|
7103
7103
|
|
|
7104
7104
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=script&lang=js
|
|
7105
7105
|
var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -7291,14 +7291,35 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7291
7291
|
this.getFind();
|
|
7292
7292
|
if (!this.readParams) {
|
|
7293
7293
|
this.getHandleInfoHtml();
|
|
7294
|
+
} else {
|
|
7295
|
+
this.getMessage();
|
|
7294
7296
|
}
|
|
7295
7297
|
},
|
|
7296
7298
|
|
|
7297
7299
|
|
|
7298
7300
|
methods: {
|
|
7301
|
+
//获取通知信息
|
|
7302
|
+
getMessage: function getMessage() {
|
|
7303
|
+
var _this = this;
|
|
7304
|
+
|
|
7305
|
+
var params = {
|
|
7306
|
+
appId: this.readParams.appId
|
|
7307
|
+
};
|
|
7308
|
+
Object(http["a" /* default */])({ url: api["i" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
|
|
7309
|
+
if (res.status === 'success') {
|
|
7310
|
+
_this.defaultNotificationMessage = res.message;
|
|
7311
|
+
_this.form.notificationMsg = res.message;
|
|
7312
|
+
}
|
|
7313
|
+
}).catch(function (err) {
|
|
7314
|
+
if (err.message && err.message !== 'canceled') {
|
|
7315
|
+
_this.$toast(err.message);
|
|
7316
|
+
}
|
|
7317
|
+
});
|
|
7318
|
+
},
|
|
7319
|
+
|
|
7299
7320
|
// 转办提交
|
|
7300
7321
|
subTaskTransfer: function subTaskTransfer() {
|
|
7301
|
-
var
|
|
7322
|
+
var _this2 = this;
|
|
7302
7323
|
|
|
7303
7324
|
if (!this.nextReadUserSelectList || this.nextReadUserSelectList.length === 0) {
|
|
7304
7325
|
this.$toast('请选择转办对象');
|
|
@@ -7337,25 +7358,25 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7337
7358
|
duration: 0
|
|
7338
7359
|
});
|
|
7339
7360
|
Object(http["a" /* default */])(params).then(function (res) {
|
|
7340
|
-
|
|
7361
|
+
_this2.$toast.clear();
|
|
7341
7362
|
var message = res.message,
|
|
7342
7363
|
status = res.status;
|
|
7343
7364
|
|
|
7344
7365
|
if (status === 'success') {
|
|
7345
|
-
|
|
7346
|
-
|
|
7366
|
+
_this2.$toast('操作成功');
|
|
7367
|
+
_this2.$parent.$emit('success');
|
|
7347
7368
|
} else {
|
|
7348
|
-
|
|
7369
|
+
_this2.$toast(message || '系统错误,请联系管理员!');
|
|
7349
7370
|
}
|
|
7350
7371
|
}).catch(function (err) {
|
|
7351
|
-
|
|
7372
|
+
_this2.$toast.clear();
|
|
7352
7373
|
if (err.message && err.message !== 'canceled') {
|
|
7353
|
-
|
|
7374
|
+
_this2.$toast(err.message);
|
|
7354
7375
|
}
|
|
7355
7376
|
});
|
|
7356
7377
|
},
|
|
7357
7378
|
getFind: function getFind() {
|
|
7358
|
-
var
|
|
7379
|
+
var _this3 = this;
|
|
7359
7380
|
|
|
7360
7381
|
this.$toast.loading({
|
|
7361
7382
|
message: '加载中...',
|
|
@@ -7368,37 +7389,42 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7368
7389
|
url: this.baseUrl ? this.baseUrl + api["d" /* findSysCodes */] : api["d" /* findSysCodes */]
|
|
7369
7390
|
}).then(function (res) {
|
|
7370
7391
|
var status = res.status,
|
|
7371
|
-
message = res.message
|
|
7392
|
+
message = res.message,
|
|
7393
|
+
data = res.data;
|
|
7372
7394
|
|
|
7373
|
-
|
|
7395
|
+
_this3.loading = false;
|
|
7374
7396
|
if (status === 'success') {
|
|
7375
|
-
|
|
7376
|
-
|
|
7397
|
+
_this3.form.notificationMsgType = message.split(',');
|
|
7398
|
+
_this3.defaultNotificationType = message.split(',');
|
|
7399
|
+
if (data) {
|
|
7400
|
+
_this3.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
|
|
7401
|
+
_this3.readOnlyNotificationType = data.readOnlyNotificationType;
|
|
7402
|
+
}
|
|
7377
7403
|
} else {
|
|
7378
7404
|
setTimeout(function () {
|
|
7379
|
-
|
|
7405
|
+
_this3.goBack();
|
|
7380
7406
|
}, 1000);
|
|
7381
|
-
|
|
7407
|
+
_this3.$toast.error(message || '系统错误,请联系管理员!');
|
|
7382
7408
|
}
|
|
7383
|
-
if (
|
|
7384
|
-
|
|
7409
|
+
if (_this3.type === 'transfer') {
|
|
7410
|
+
_this3.toTaskTransfer();
|
|
7385
7411
|
} else {
|
|
7386
|
-
if (!
|
|
7387
|
-
|
|
7412
|
+
if (!_this3.readParams) {
|
|
7413
|
+
_this3.getProcessObjNew();
|
|
7388
7414
|
} else {
|
|
7389
|
-
|
|
7415
|
+
_this3.$toast.clear();
|
|
7390
7416
|
}
|
|
7391
7417
|
// this.getProcessObjNew();
|
|
7392
7418
|
}
|
|
7393
7419
|
}).catch(function (err) {
|
|
7394
|
-
|
|
7420
|
+
_this3.loading = false;
|
|
7395
7421
|
if (err.message && err.message !== 'canceled') {
|
|
7396
|
-
|
|
7422
|
+
_this3.$message.error(err.message);
|
|
7397
7423
|
}
|
|
7398
7424
|
});
|
|
7399
7425
|
},
|
|
7400
7426
|
toTaskTransfer: function toTaskTransfer() {
|
|
7401
|
-
var
|
|
7427
|
+
var _this4 = this;
|
|
7402
7428
|
|
|
7403
7429
|
var opinion = this.opinion,
|
|
7404
7430
|
pendingId = this.pendingId,
|
|
@@ -7426,23 +7452,21 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7426
7452
|
readOnlyNotificationType = _res$data.readOnlyNotificationType,
|
|
7427
7453
|
notificationMessageReadOnly = _res$data.notificationMessageReadOnly;
|
|
7428
7454
|
|
|
7429
|
-
|
|
7455
|
+
_this4.$toast.clear();
|
|
7430
7456
|
if (status == 'success') {
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
_this3.nextNode.nodeName = taskExamine.nodeName;
|
|
7435
|
-
_this3.transferInfo = taskExamine;
|
|
7457
|
+
_this4.isMultipleTransfer(nodeInfoMap.nodeExtAttr.userSelectionType, choiceOrgId, choiceDeptId);
|
|
7458
|
+
_this4.nextNode.nodeName = taskExamine.nodeName;
|
|
7459
|
+
_this4.transferInfo = taskExamine;
|
|
7436
7460
|
} else {
|
|
7437
|
-
|
|
7461
|
+
_this4.$toast(message || '系统错误,请联系管理员!');
|
|
7438
7462
|
setTimeout(function () {
|
|
7439
|
-
|
|
7463
|
+
_this4.goBack();
|
|
7440
7464
|
}, 1000);
|
|
7441
7465
|
}
|
|
7442
7466
|
}).catch(function (err) {
|
|
7443
|
-
|
|
7467
|
+
_this4.loading = false;
|
|
7444
7468
|
if (err.message && err.message !== 'canceled') {
|
|
7445
|
-
|
|
7469
|
+
_this4.$toast(err.message);
|
|
7446
7470
|
}
|
|
7447
7471
|
});
|
|
7448
7472
|
},
|
|
@@ -7504,7 +7528,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7504
7528
|
this.form.notificationMsg = obj.notificationMsg;
|
|
7505
7529
|
},
|
|
7506
7530
|
getProcessObjNew: function getProcessObjNew() {
|
|
7507
|
-
var
|
|
7531
|
+
var _this5 = this;
|
|
7508
7532
|
|
|
7509
7533
|
var _that = this;
|
|
7510
7534
|
var params = {
|
|
@@ -7521,16 +7545,14 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7521
7545
|
}).then(function (res) {
|
|
7522
7546
|
_that.$toast.clear();
|
|
7523
7547
|
if (res.status == 'success') {
|
|
7524
|
-
|
|
7525
|
-
|
|
7526
|
-
_this4.notificationMessageReadOnly = res.data.notificationMessageReadOnly == 'true';
|
|
7527
|
-
_this4.readOnlyNotificationType = res.data.readOnlyNotificationType;
|
|
7548
|
+
_this5.processObj = res.data;
|
|
7549
|
+
_this5.notificationMsgType = _this5.isMultiple();
|
|
7528
7550
|
// this.taskExamine = res.data.taskExamine;
|
|
7529
7551
|
// console.log(this.taskExamine, 'taskExaminetaskExaminetaskExamine');
|
|
7530
7552
|
} else {
|
|
7531
7553
|
_that.$toast(res.message);
|
|
7532
7554
|
setTimeout(function () {
|
|
7533
|
-
|
|
7555
|
+
_this5.goBack();
|
|
7534
7556
|
}, 1000);
|
|
7535
7557
|
}
|
|
7536
7558
|
});
|
|
@@ -7562,7 +7584,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7562
7584
|
// }
|
|
7563
7585
|
},
|
|
7564
7586
|
onSubmitReadEndNew: function onSubmitReadEndNew() {
|
|
7565
|
-
var
|
|
7587
|
+
var _this6 = this;
|
|
7566
7588
|
|
|
7567
7589
|
var _that = this;
|
|
7568
7590
|
var params = {
|
|
@@ -7594,17 +7616,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7594
7616
|
|
|
7595
7617
|
Object(http["a" /* default */])(params).then(function (res) {
|
|
7596
7618
|
if (res.rCode == 0) {
|
|
7597
|
-
|
|
7598
|
-
|
|
7619
|
+
_this6.$toast('操作成功');
|
|
7620
|
+
_this6.$parent.$emit('success');
|
|
7599
7621
|
} else {
|
|
7600
|
-
|
|
7622
|
+
_this6.$toast(res.msg);
|
|
7601
7623
|
}
|
|
7602
7624
|
}).catch(function (err) {
|
|
7603
|
-
|
|
7625
|
+
_this6.$toast('数据返回失败');
|
|
7604
7626
|
});
|
|
7605
7627
|
},
|
|
7606
7628
|
getHandleInfoHtml: function getHandleInfoHtml() {
|
|
7607
|
-
var
|
|
7629
|
+
var _this7 = this;
|
|
7608
7630
|
|
|
7609
7631
|
Object(http["a" /* default */])({
|
|
7610
7632
|
url: this.baseUrl ? this.baseUrl + api["f" /* getHandleInfoHtml */] : api["f" /* getHandleInfoHtml */],
|
|
@@ -7618,21 +7640,21 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7618
7640
|
defaultNotificationMessage = _res$data2.defaultNotificationMessage;
|
|
7619
7641
|
|
|
7620
7642
|
if (status == 'success') {
|
|
7621
|
-
|
|
7622
|
-
|
|
7643
|
+
_this7.defaultNotificationMessage = defaultNotificationMessage;
|
|
7644
|
+
_this7.form.notificationMsg = defaultNotificationMessage;
|
|
7623
7645
|
taskExamine.choiceDeptId = choiceDeptId;
|
|
7624
7646
|
taskExamine.choiceOrgId = choiceOrgId;
|
|
7625
|
-
|
|
7647
|
+
_this7.taskExamine = taskExamine;
|
|
7626
7648
|
} else {
|
|
7627
7649
|
setTimeout(function () {
|
|
7628
|
-
|
|
7650
|
+
_this7.goBack();
|
|
7629
7651
|
}, 1000);
|
|
7630
|
-
|
|
7652
|
+
_this7.$toast(res.message);
|
|
7631
7653
|
}
|
|
7632
7654
|
});
|
|
7633
7655
|
},
|
|
7634
7656
|
onSubmitReadNew: function onSubmitReadNew() {
|
|
7635
|
-
var
|
|
7657
|
+
var _this8 = this;
|
|
7636
7658
|
|
|
7637
7659
|
var _that = this;
|
|
7638
7660
|
if (!this.nextReadUserSelectList || this.nextReadUserSelectList.length === 0) {
|
|
@@ -7641,7 +7663,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7641
7663
|
}
|
|
7642
7664
|
var ids = '';
|
|
7643
7665
|
this.nextReadUserSelectList.map(function (r, i) {
|
|
7644
|
-
ids = ids + r.showid + (i ===
|
|
7666
|
+
ids = ids + r.showid + (i === _this8.nextReadUserSelectList.length - 1 ? '' : ',');
|
|
7645
7667
|
});
|
|
7646
7668
|
var _taskExamine2 = this.taskExamine,
|
|
7647
7669
|
appId = _taskExamine2.appId,
|
|
@@ -7693,13 +7715,13 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7693
7715
|
});
|
|
7694
7716
|
Object(http["a" /* default */])(params).then(function (res) {
|
|
7695
7717
|
if (res.status == 'success') {
|
|
7696
|
-
|
|
7697
|
-
|
|
7718
|
+
_this8.$toast('操作成功');
|
|
7719
|
+
_this8.$parent.$emit('success');
|
|
7698
7720
|
} else {
|
|
7699
|
-
|
|
7721
|
+
_this8.$toast(res.message);
|
|
7700
7722
|
}
|
|
7701
7723
|
}).catch(function (err) {
|
|
7702
|
-
|
|
7724
|
+
_this8.$toast('数据返回失败');
|
|
7703
7725
|
});
|
|
7704
7726
|
}
|
|
7705
7727
|
}
|
|
@@ -7716,8 +7738,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
7716
7738
|
|
|
7717
7739
|
var TaskRead_component = Object(componentNormalizer["a" /* default */])(
|
|
7718
7740
|
components_TaskReadvue_type_script_lang_js,
|
|
7719
|
-
|
|
7720
|
-
|
|
7741
|
+
TaskReadvue_type_template_id_5194ed24_render,
|
|
7742
|
+
TaskReadvue_type_template_id_5194ed24_staticRenderFns,
|
|
7721
7743
|
false,
|
|
7722
7744
|
null,
|
|
7723
7745
|
null,
|