文化活动,撤回、重新提交整改
This commit is contained in:
@@ -529,8 +529,8 @@ const ACTIVITY_CULTURE_APPLY_ACTIVITY = {
|
||||
data() {
|
||||
return {
|
||||
|
||||
bizId: GetQueryString("bizId"),
|
||||
taskId: GetQueryString("taskId"),
|
||||
bizId: "",
|
||||
taskId: "",
|
||||
activeName: "1",
|
||||
pageForm: {
|
||||
year: new Date().getFullYear() + ""
|
||||
@@ -695,7 +695,7 @@ const ACTIVITY_CULTURE_APPLY_ACTIVITY = {
|
||||
}
|
||||
this.$axios.post('/platform/activity/culture/applyActivity/submitAgain', {
|
||||
data: JSON.stringify(formData),
|
||||
taskId: GetQueryString("taskId")
|
||||
taskId: this.taskId
|
||||
}).then(res => {
|
||||
if (res.code === 0) {
|
||||
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.init(id)
|
||||
this.init(row.id)
|
||||
}
|
||||
},
|
||||
async created() {
|
||||
|
||||
@@ -101,9 +101,11 @@ const ACTIVITY_CULTURE_INFO_MANAGE = {
|
||||
:disabled="row.projectTypeCode==50004">
|
||||
编辑
|
||||
</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 :command="{type:'delete',row}"
|
||||
v-if="row.taskKey === 'startTask' || !row.instanceId" >
|
||||
删除
|
||||
@@ -193,6 +195,8 @@ const ACTIVITY_CULTURE_INFO_MANAGE = {
|
||||
this.onView(row)
|
||||
} else if (type === "edit") {
|
||||
this.openEdit(row)
|
||||
}else if (type === "Revoke") {
|
||||
this.onRevoke(row)
|
||||
} else if (type === "delete") {
|
||||
this.doDelete(row)
|
||||
} else if (type === "openCode") {
|
||||
@@ -208,7 +212,7 @@ const ACTIVITY_CULTURE_INFO_MANAGE = {
|
||||
},
|
||||
openEdit(row) {
|
||||
this.$refs.guava.edit(() => {
|
||||
this.$refs.applyActivity.openEdit(row.id)
|
||||
this.$refs.applyActivity.openEdit(row)
|
||||
})
|
||||
},
|
||||
onView(row) {
|
||||
|
||||
Reference in New Issue
Block a user