Browse Source

修改审核人员操作提示

dev
long 2 years ago
parent
commit
33c96868f6
  1. 2
      src/views/activiti/ModelList.vue
  2. 28
      src/views/activiti/ProcessModelList.vue

2
src/views/activiti/ModelList.vue

@ -63,7 +63,7 @@
<span slot="make" slot-scope="text, record">
<a href="javascript:void(0);" @click="deployment(record)" >发布</a>
<a-divider type="vertical" />
<a href="javascript:void(0);" @click="updatelc(record.id)">设计流程</a>
<a href="javascript:void(0);" @click="updatelc(record.id)">流程图设计</a>
<a-divider type="vertical" />
<a-popconfirm
title="是否确认删除?"

28
src/views/activiti/ProcessModelList.vue

@ -268,18 +268,20 @@
<a-input v-model="spry.formVariables" :multi="true"></a-input>
</a-form-item>-->
<!--btn-->
<a-form-item :wrapper-col="{ span: 12, offset: 5 }">
<a-button @click="sprySubmit" type="primary" html-type="submit" :disabled="editNode.type==0||editNode.type==2||confirmLoading">
提交并保存
</a-button>
<a-button @click="closeNode" style="margin-left: 10px">
关闭
</a-button>
</a-form-item>
</a-form>
</a-col>
<div style="float: right">
<a-button @click="sprySubmit" type="primary" html-type="submit" :disabled="editNode.type==0||editNode.type==2||confirmLoading">
提交并保存
</a-button>
<a-button @click="closeNode" style="margin-left: 10px">
关闭
</a-button>
</div>
</a-row>
</a-modal>
<!--查看图片-->
<a-modal
@ -534,14 +536,20 @@
},
//
sprySubmit() {
console.log(this.nodeList.length,this.isIndex,"---------------->")
console.log(this.nodeList,this.isIndex,"---------------->")
if(this.nodeList.length==this.isIndex){
if (!this.spry.userIds){
this.$message.error("审核人员能为空!");
return;
}
this.$message.success("操作成功");
this.closeNode();
this.loadData(1);
}else {
this.$message.error("请完成最后审核人员设置后保存!");
}
console.log("最后的操作",this.spry)
},
/*节点设置*/
getNodeData(row){

Loading…
Cancel
Save