文化活动,撤回、重新提交整改
This commit is contained in:
+1
-2
@@ -146,6 +146,7 @@ public class ActivityCultureApplyActivityController {
|
|||||||
@SaCheckLogin
|
@SaCheckLogin
|
||||||
@ApiOperation("重新提交申请")
|
@ApiOperation("重新提交申请")
|
||||||
@Aop(TransAop.READ_COMMITTED)
|
@Aop(TransAop.READ_COMMITTED)
|
||||||
|
@SaCheckPermission(value = {"activity.culture.applyActivity.school", "activity.culture.applyActivity.union", "activity.culture.applyActivity.club"}, mode = SaMode.OR)
|
||||||
public Result submitAgain(@Param("data") ActivityTissue tissue, @Param("taskId") Long taskId) {
|
public Result submitAgain(@Param("data") ActivityTissue tissue, @Param("taskId") Long taskId) {
|
||||||
if (tissue.getActivity_type() == 40002) {
|
if (tissue.getActivity_type() == 40002) {
|
||||||
tissue.setUnionId(SecurityUtil.getUnionId());
|
tissue.setUnionId(SecurityUtil.getUnionId());
|
||||||
@@ -154,12 +155,10 @@ public class ActivityCultureApplyActivityController {
|
|||||||
tissue.setApplyTime(DateUtil.now());
|
tissue.setApplyTime(DateUtil.now());
|
||||||
activityCultureService.insertOrUpdate(tissue);
|
activityCultureService.insertOrUpdate(tissue);
|
||||||
|
|
||||||
if (tissue.getActivity_type() == 40002 || tissue.getActivity_type() == 40003){
|
|
||||||
Dict dict = Dict.create();
|
Dict dict = Dict.create();
|
||||||
dict.set(FlowConst.PROCESS_TASK_ID_KEY, taskId);
|
dict.set(FlowConst.PROCESS_TASK_ID_KEY, taskId);
|
||||||
dict.set(FlowConst.SUBMIT_TYPE, ProcessSubmitTypeEnum.RE_APPLY.getCode());
|
dict.set(FlowConst.SUBMIT_TYPE, ProcessSubmitTypeEnum.RE_APPLY.getCode());
|
||||||
flowCommonService.executeTask(dict);
|
flowCommonService.executeTask(dict);
|
||||||
}
|
|
||||||
return Result.success();
|
return Result.success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -139,7 +139,7 @@ public class ActivityCultureServiceImpl extends BaseServiceImpl<ActivityTissue>
|
|||||||
} else {
|
} else {
|
||||||
cnd.desc("tissue.startTime");
|
cnd.desc("tissue.startTime");
|
||||||
}
|
}
|
||||||
|
//cnd.groupBy("tissue.id");
|
||||||
sql.setCondition(cnd);
|
sql.setCondition(cnd);
|
||||||
return this.listPageMap(page.getPageNumber(), page.getPageSize(), sql);
|
return this.listPageMap(page.getPageNumber(), page.getPageSize(), sql);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -529,8 +529,8 @@ const ACTIVITY_CULTURE_APPLY_ACTIVITY = {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
||||||
bizId: GetQueryString("bizId"),
|
bizId: "",
|
||||||
taskId: GetQueryString("taskId"),
|
taskId: "",
|
||||||
activeName: "1",
|
activeName: "1",
|
||||||
pageForm: {
|
pageForm: {
|
||||||
year: new Date().getFullYear() + ""
|
year: new Date().getFullYear() + ""
|
||||||
@@ -695,7 +695,7 @@ const ACTIVITY_CULTURE_APPLY_ACTIVITY = {
|
|||||||
}
|
}
|
||||||
this.$axios.post('/platform/activity/culture/applyActivity/submitAgain', {
|
this.$axios.post('/platform/activity/culture/applyActivity/submitAgain', {
|
||||||
data: JSON.stringify(formData),
|
data: JSON.stringify(formData),
|
||||||
taskId: GetQueryString("taskId")
|
taskId: this.taskId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.$message.success("提交成功")
|
this.$message.success("提交成功")
|
||||||
@@ -915,9 +915,11 @@ const ACTIVITY_CULTURE_APPLY_ACTIVITY = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
openEdit(id) {
|
openEdit(row) {
|
||||||
|
this.taskId=row.startTaskId
|
||||||
|
this.bizId=row.id
|
||||||
this.activeName = "1"
|
this.activeName = "1"
|
||||||
this.init(id)
|
this.init(row.id)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
|
|||||||
@@ -101,9 +101,11 @@ const ACTIVITY_CULTURE_INFO_MANAGE = {
|
|||||||
:disabled="row.projectTypeCode==50004">
|
:disabled="row.projectTypeCode==50004">
|
||||||
编辑
|
编辑
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
<el-dropdown-item v-if="row.canRevoke" @click="onRevoke(row)">
|
<el-dropdown-item
|
||||||
|
v-if="row.canRevoke" :command="{type:'Revoke',row}">
|
||||||
撤回
|
撤回
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
|
|
||||||
<el-dropdown-item :command="{type:'delete',row}"
|
<el-dropdown-item :command="{type:'delete',row}"
|
||||||
v-if="row.taskKey === 'startTask' || !row.instanceId" >
|
v-if="row.taskKey === 'startTask' || !row.instanceId" >
|
||||||
删除
|
删除
|
||||||
@@ -193,6 +195,8 @@ const ACTIVITY_CULTURE_INFO_MANAGE = {
|
|||||||
this.onView(row)
|
this.onView(row)
|
||||||
} else if (type === "edit") {
|
} else if (type === "edit") {
|
||||||
this.openEdit(row)
|
this.openEdit(row)
|
||||||
|
}else if (type === "Revoke") {
|
||||||
|
this.onRevoke(row)
|
||||||
} else if (type === "delete") {
|
} else if (type === "delete") {
|
||||||
this.doDelete(row)
|
this.doDelete(row)
|
||||||
} else if (type === "openCode") {
|
} else if (type === "openCode") {
|
||||||
@@ -208,7 +212,7 @@ const ACTIVITY_CULTURE_INFO_MANAGE = {
|
|||||||
},
|
},
|
||||||
openEdit(row) {
|
openEdit(row) {
|
||||||
this.$refs.guava.edit(() => {
|
this.$refs.guava.edit(() => {
|
||||||
this.$refs.applyActivity.openEdit(row.id)
|
this.$refs.applyActivity.openEdit(row)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
onView(row) {
|
onView(row) {
|
||||||
|
|||||||
Reference in New Issue
Block a user