eoss-ui 0.8.11 → 0.8.12
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 +520 -498
- package/lib/flow.js +511 -489
- package/lib/index.js +1 -1
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/package.json +1 -1
- package/packages/flow/src/main.vue +28 -12
- package/packages/theme-chalk/src/flow.scss +1 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
:subParams="subParams"
|
|
166
166
|
v-else-if="newTypeCode == 'reset' || newTypeCode == 'continuation'"
|
|
167
167
|
/>
|
|
168
|
-
<div class="es-flow-content" v-else>
|
|
168
|
+
<div class="es-flow-content" :style="{'justify-content':fullFlow?'space-between' : 'unset'}" v-else>
|
|
169
169
|
<div class="es-flow-top">
|
|
170
170
|
<div class="es-flow-title">
|
|
171
171
|
<span v-show="!shrink"
|
|
@@ -1351,6 +1351,14 @@ export default {
|
|
|
1351
1351
|
return {};
|
|
1352
1352
|
}
|
|
1353
1353
|
},
|
|
1354
|
+
fullFlow:{
|
|
1355
|
+
type: Boolean,
|
|
1356
|
+
default: true
|
|
1357
|
+
},
|
|
1358
|
+
showReadConfirm: {
|
|
1359
|
+
type: Boolean,
|
|
1360
|
+
default: true
|
|
1361
|
+
},
|
|
1354
1362
|
width: {
|
|
1355
1363
|
type: String
|
|
1356
1364
|
},
|
|
@@ -2040,17 +2048,8 @@ export default {
|
|
|
2040
2048
|
this.loading.close();
|
|
2041
2049
|
}
|
|
2042
2050
|
},
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
if (!this.$refs.commonOpinions.validate()) return;
|
|
2046
|
-
}
|
|
2047
|
-
this.$confirm('确认提交?', '提示', {
|
|
2048
|
-
confirmButtonText: '确定',
|
|
2049
|
-
cancelButtonText: '取消',
|
|
2050
|
-
type: 'warning'
|
|
2051
|
-
})
|
|
2052
|
-
.then(() => {
|
|
2053
|
-
this.loading = util.loading(this.$loading, '加载中...');
|
|
2051
|
+
subRead(){
|
|
2052
|
+
this.loading = util.loading(this.$loading, '加载中...');
|
|
2054
2053
|
const { businessId, appId, processDefinitionId, pendingId } =
|
|
2055
2054
|
this.taskExamineInfo;
|
|
2056
2055
|
let params = {
|
|
@@ -2089,8 +2088,25 @@ export default {
|
|
|
2089
2088
|
this.$message.error(err.message);
|
|
2090
2089
|
}
|
|
2091
2090
|
});
|
|
2091
|
+
},
|
|
2092
|
+
taskRead() {
|
|
2093
|
+
if (this.taskReadOpinionRequired == 'true' && !this.value) {
|
|
2094
|
+
if (!this.$refs.commonOpinions.validate()) return;
|
|
2095
|
+
}
|
|
2096
|
+
if(this.showReadConfirm){
|
|
2097
|
+
this.$confirm('确认提交?', '提示', {
|
|
2098
|
+
confirmButtonText: '确定',
|
|
2099
|
+
cancelButtonText: '取消',
|
|
2100
|
+
type: 'warning'
|
|
2101
|
+
})
|
|
2102
|
+
.then(() => {
|
|
2103
|
+
this.subRead()
|
|
2092
2104
|
})
|
|
2093
2105
|
.catch(() => {});
|
|
2106
|
+
}else{
|
|
2107
|
+
this.subRead()
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2094
2110
|
},
|
|
2095
2111
|
validReadTransferHandle(
|
|
2096
2112
|
readTransferHandleBusinessId,
|