eoss-ui 0.7.14 → 0.7.15
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-ui.common.js +13 -9
- package/lib/flow.js +12 -8
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/flow/src/component/FreeCirculation.vue +5 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -87,6 +87,7 @@ export default {
|
|
|
87
87
|
methods: {
|
|
88
88
|
quit() {
|
|
89
89
|
this.$emit('cancel');
|
|
90
|
+
this.$parent.$emit('cancel');
|
|
90
91
|
},
|
|
91
92
|
subMit() {
|
|
92
93
|
if (!this.nextNode.nextCurrentOrgObj && !this.nextNode.nextOtherOrgObj)
|
|
@@ -102,8 +103,9 @@ export default {
|
|
|
102
103
|
};
|
|
103
104
|
this.loading = util.loading(this.$loading, '加载中...');
|
|
104
105
|
util.ajax(param).then((res) => {
|
|
106
|
+
this.loading.close();
|
|
105
107
|
if (res.rCode == 0 || res.status == 'success') {
|
|
106
|
-
|
|
108
|
+
|
|
107
109
|
if (!this.simpleTips) {
|
|
108
110
|
this.$alert('提交成功', '', {
|
|
109
111
|
confirmButtonText: '确定',
|
|
@@ -115,6 +117,8 @@ export default {
|
|
|
115
117
|
} else {
|
|
116
118
|
this.$parent.$emit('success');
|
|
117
119
|
}
|
|
120
|
+
}else{
|
|
121
|
+
this.$message.error(res.message || res.msg || '系统错误,请联系管理员!');
|
|
118
122
|
}
|
|
119
123
|
});
|
|
120
124
|
},
|