kz-ui-base 1.0.26 → 1.0.28
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.
|
@@ -280,8 +280,8 @@
|
|
|
280
280
|
</el-button>
|
|
281
281
|
</el-col>
|
|
282
282
|
</template>
|
|
283
|
-
<el-col :span="1.5" v-if="opMenus.length>0&&opMenusApproval()">
|
|
284
|
-
<el-dropdown>
|
|
283
|
+
<el-col :span="1.5" v-if="opMenus.length>0&&opMenusApproval()&&isWfEnable">
|
|
284
|
+
<el-dropdown >
|
|
285
285
|
<el-button type="info" size="mini">
|
|
286
286
|
审批<i class="el-icon-arrow-down el-icon--right"></i>
|
|
287
287
|
</el-button>
|
|
@@ -296,10 +296,6 @@
|
|
|
296
296
|
:disabled="opMenu.disabled"
|
|
297
297
|
size="mini"
|
|
298
298
|
@click.native="onOpMenuClick({ opMenu: opMenu })"
|
|
299
|
-
v-hasPermi="[
|
|
300
|
-
opMenu.permission,
|
|
301
|
-
`${moduleName}:${serviceName}:${opMenu.permission}`,
|
|
302
|
-
]"
|
|
303
299
|
>
|
|
304
300
|
{{ opMenu.text }}
|
|
305
301
|
</el-dropdown-item>
|
|
@@ -2648,21 +2644,21 @@ export default class listBasePage extends Vue {
|
|
|
2648
2644
|
})
|
|
2649
2645
|
// .$confirm("是否确认发起审批?")
|
|
2650
2646
|
.then((res) => {
|
|
2647
|
+
this.exportButton = true;
|
|
2651
2648
|
params.title = res.value;
|
|
2652
|
-
startWorkflow(
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
params,
|
|
2656
|
-
this.wfKey
|
|
2657
|
-
).then(
|
|
2658
|
-
(response) => {
|
|
2649
|
+
startWorkflow(this.moduleName, this.serviceName, params, this.wfKey)
|
|
2650
|
+
.then((response) => {
|
|
2651
|
+
(this as any).exportButton = false;
|
|
2659
2652
|
(this as any).$message.success("发起审批成功");
|
|
2660
2653
|
(this as any).getList();
|
|
2661
|
-
}
|
|
2662
|
-
(
|
|
2663
|
-
|
|
2654
|
+
})
|
|
2655
|
+
.catch((e) => {
|
|
2656
|
+
this.exportButton = false;
|
|
2657
|
+
});
|
|
2664
2658
|
})
|
|
2665
|
-
.catch((e) => {
|
|
2659
|
+
.catch((e) => {
|
|
2660
|
+
this.exportButton = false;
|
|
2661
|
+
});
|
|
2666
2662
|
}
|
|
2667
2663
|
/**
|
|
2668
2664
|
* 审批进度
|