💡 工作流程增加租户绑定

dev
smallchill 6 years ago
parent 89607e12b2
commit 62d39a57b4
  1. 8
      src/views/flow/deploy.vue
  2. 6
      src/views/flow/model.vue

@ -43,7 +43,7 @@
},
{
label: "流程模式",
prop: "flowType",
prop: "flowMode",
type: "radio",
dicData: [
{
@ -104,10 +104,10 @@
}
},
watch: {
'form.flowType'() {
'form.flowMode'() {
this.$refs.form.option.column.filter(item => {
if (item.prop === "tenantId") {
item.display = this.form.flowType === 2;
item.display = this.form.flowMode === 2;
}
});
}
@ -124,7 +124,7 @@
loading()
return false;
}
if (this.form.flowType === 1 && !this.form.tenantId) {
if (this.form.flowMode === 2 && !this.form.tenantId) {
this.$message.warning('清先选择对应租户');
loading();
return false;

@ -136,7 +136,7 @@
},
{
label: "流程模式",
prop: "flowType",
prop: "flowMode",
type: "radio",
dicData: [
{
@ -247,10 +247,10 @@
};
},
watch: {
'form.flowType'() {
'form.flowMode'() {
this.$refs.form.option.column.filter(item => {
if (item.prop === "tenantId") {
item.display = this.form.flowType === 2;
item.display = this.form.flowMode === 2;
}
});
}

Loading…
Cancel
Save