-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 提交
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -177,11 +172,9 @@
id:'',
dataForm: {
key: ''
- },dynamiForm:[],
- domain:{},
- flowForm:{
-
},
+ dynamiForm:[],
+ flowForm:{},
flowImg:'',
flowXML:'',
users:[],
@@ -234,10 +227,8 @@
currentChangeHandle (val) {
this.pageIndex = val
this.getDataList()
- },submitStartFlow(){
- for( var item of this.dynamiForm){
- this.flowForm[item.key] = item.value
- }
+ },
+ submitStartFlow(){
this.flowForm.id = this.id
// 提交表单数据
this.$http({
@@ -263,7 +254,8 @@
// 多选
selectionChangeHandle (val) {
this.dataListSelections = val
- },startFlowHandle(id){
+ },
+ startFlowHandle(id){
this.id = id
// 查询出相关的动态的流程定义信息和相关的动态的数据。然后加载动态的表单
this.flowForm = {}
@@ -277,13 +269,18 @@
this.users = data.users
this.roles = data.roles
// 需要动态的给 flowForm 绑定元素
+ for( var item of this.dynamiForm){
+ this.flowForm[item.key] = item.value
+ }
this.dialogFormVisible = true
}
})
- },showFlowImgHandle(id){
+ },
+ showFlowImgHandle(id){
this.flowImg = this.$imgBasePath + "downloadFlowImg?defId="+id
this.dialogVisible = true
- },showFlowXMLHandle(id){
+ },
+ showFlowXMLHandle(id){
this.$http({
url: this.$http.adornUrl(`/flow/deploy/flowXML/${id}`),
method: 'get',
@@ -298,7 +295,6 @@
},
// 删除
suupensHandle (id,state) {
-
this.$confirm(`确定对该记录进行[${state==2 ? '挂起' : '激活'}]操作?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
diff --git a/base-vue/src/views/modules/flow/flow.vue b/base-vue/src/views/modules/flow/flow.vue
index f1d7a00..be6b293 100644
--- a/base-vue/src/views/modules/flow/flow.vue
+++ b/base-vue/src/views/modules/flow/flow.vue
@@ -7,8 +7,6 @@
-
-
-