update 删除认领可直接办理,格式化代码
This commit is contained in:
parent
187ae83731
commit
3c34421bd2
@ -71,7 +71,7 @@ export interface DefinitionConfigForm extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 表单管理
|
* 表单管理
|
||||||
*/
|
*/
|
||||||
wfFormManageVo: FormManageVO;
|
wfFormManageVo?: FormManageVO;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface DefinitionConfigQuery extends PageQuery {
|
export interface DefinitionConfigQuery extends PageQuery {
|
||||||
|
@ -27,7 +27,6 @@ export interface FormManageVO {
|
|||||||
* 备注
|
* 备注
|
||||||
*/
|
*/
|
||||||
remork: string;
|
remork: string;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FormManageForm extends BaseEntity {
|
export interface FormManageForm extends BaseEntity {
|
||||||
@ -55,11 +54,9 @@ export interface FormManageForm extends BaseEntity {
|
|||||||
* 备注
|
* 备注
|
||||||
*/
|
*/
|
||||||
remork?: string;
|
remork?: string;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FormManageQuery extends PageQuery {
|
export interface FormManageQuery extends PageQuery {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 表单名称
|
* 表单名称
|
||||||
*/
|
*/
|
||||||
@ -70,6 +67,3 @@ export interface FormManageQuery extends PageQuery {
|
|||||||
*/
|
*/
|
||||||
formType?: string;
|
formType?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -274,7 +274,7 @@ const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
|||||||
const previewRef = ref<InstanceType<typeof ProcessPreview>>();
|
const previewRef = ref<InstanceType<typeof ProcessPreview>>();
|
||||||
const queryFormRef = ref<ElFormInstance>();
|
const queryFormRef = ref<ElFormInstance>();
|
||||||
const categoryTreeRef = ref<ElTreeInstance>();
|
const categoryTreeRef = ref<ElTreeInstance>();
|
||||||
const definitionConfigForm = ref<DefinitionConfigForm>();
|
const definitionConfigForm = ref<DefinitionConfigForm>({});
|
||||||
|
|
||||||
type CategoryOption = {
|
type CategoryOption = {
|
||||||
categoryCode: string;
|
categoryCode: string;
|
||||||
|
@ -60,30 +60,7 @@
|
|||||||
<el-table-column align="center" prop="createTime" label="创建时间" width="160"></el-table-column>
|
<el-table-column align="center" prop="createTime" label="创建时间" width="160"></el-table-column>
|
||||||
<el-table-column label="操作" align="center" width="200">
|
<el-table-column label="操作" align="center" width="200">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button
|
<el-button type="primary" size="small" icon="Edit" @click="handleOpen(scope.row)">办理</el-button>
|
||||||
v-if="scope.row.participantVo && (scope.row.participantVo.claim === null || scope.row.participantVo.claim === true)"
|
|
||||||
type="primary"
|
|
||||||
size="small"
|
|
||||||
icon="Edit"
|
|
||||||
@click="handleOpen(scope.row)"
|
|
||||||
>办理</el-button
|
|
||||||
>
|
|
||||||
<el-button
|
|
||||||
v-if="scope.row.participantVo && scope.row.participantVo.claim === true"
|
|
||||||
type="primary"
|
|
||||||
size="small"
|
|
||||||
icon="Document"
|
|
||||||
@click="handleReturnTask(scope.row.id)"
|
|
||||||
>归还</el-button
|
|
||||||
>
|
|
||||||
<el-button
|
|
||||||
v-if="scope.row.participantVo && scope.row.participantVo.claim === false"
|
|
||||||
type="primary"
|
|
||||||
size="small"
|
|
||||||
icon="Document"
|
|
||||||
@click="handleClaimTask(scope.row.id)"
|
|
||||||
>认领</el-button
|
|
||||||
>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user