fix:我的工单中添加撤回
This commit is contained in:
parent
1d234fefe5
commit
ae1964ec92
|
@ -87,19 +87,13 @@
|
||||||
关闭
|
关闭
|
||||||
</el-button> -->
|
</el-button> -->
|
||||||
<!--如果state_.retreat/state_.type==1处于草稿状态 -->
|
<!--如果state_.retreat/state_.type==1处于草稿状态 -->
|
||||||
<!-- <el-button
|
<el-button
|
||||||
v-if="
|
v-if="scope.row.state_.enable_retreat &&userId === scope.row.create_by"
|
||||||
scope.row.state_.enable_retreat &&
|
|
||||||
userId === scope.row.create_by &&
|
|
||||||
scope.row.state_.type !== 1
|
|
||||||
"
|
|
||||||
type="danger"
|
type="danger"
|
||||||
@click="handleClose(scope, '1')"
|
@click="handleClose(scope, '1')"
|
||||||
size="small"
|
size="small"
|
||||||
link
|
link
|
||||||
>
|
>撤回</el-button>
|
||||||
撤回
|
|
||||||
</el-button> -->
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</scTable>
|
</scTable>
|
||||||
|
@ -210,12 +204,12 @@ export default {
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
if (that.handleTitle === "撤回工单") {
|
if (that.handleTitle === "撤回工单") {
|
||||||
res = that.$API.wf.ticket.ticketRetreat.req(
|
res = await that.$API.wf.ticket.ticketRetreat.req(
|
||||||
that.ticketId,
|
that.ticketId,
|
||||||
that.handleForm
|
that.handleForm
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
res = that.$API.wf.ticket.ticketClose.req(
|
res = await that.$API.wf.ticket.ticketClose.req(
|
||||||
that.ticketId,
|
that.ticketId,
|
||||||
that.handleForm
|
that.handleForm
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue