Compare commits

...

2 Commits

2 changed files with 14 additions and 2 deletions

View File

@ -62,7 +62,7 @@
<a-button type="primary" @click="modify(props.refObj.id, item)" v-if="item.backToFirst"> <a-button type="primary" @click="modify(props.refObj.id, item)" v-if="item.backToFirst">
修改 修改
</a-button> </a-button>
<a-popconfirm v-if="!item.ended" title="是否终止此流程?" ok-text="" cancel-text="" <a-popconfirm class="aaa" v-if="!item.ended" title="是否撤回此流程?" ok-text="" cancel-text=""
@confirm="endThis(item.instanceId)" @cancel="cancel"> @confirm="endThis(item.instanceId)" @cancel="cancel">
<a-button type="primary" danger style="margin-left: 10px"> <a-button type="primary" danger style="margin-left: 10px">
撤回申请 撤回申请
@ -463,7 +463,19 @@ const openView = (url) => {
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.aaa{
margin-right: 30px;
}
:deep(.ant-popover-inner) {
position: fixed !important;
margin-right: 100px;
}
.title { .title {
font-size: 0.18rem; font-size: 0.18rem;
color: #000; color: #000;

View File

@ -13,7 +13,7 @@
<div class="title">基本信息</div> <div class="title">基本信息</div>
<a-popconfirm <a-popconfirm
v-if="!props.refObj.ended" v-if="!props.refObj.ended"
title="是否终止此流程?" title="是否撤回此流程?"
ok-text="是" ok-text="是"
cancel-text="否" cancel-text="否"
@confirm="endThis" @confirm="endThis"