保留学籍申请表单调整
This commit is contained in:
@@ -1159,13 +1159,12 @@ export default {
|
||||
|
||||
|
||||
if (this.category == 'enlistmentReserve') {
|
||||
this.form.enlistmentReserveApprovalList.push({nodeName: "学生申请"})
|
||||
// 过滤returnTaskList,保留documentation在flowRecordList的taskName中存在的项
|
||||
this.returnTaskList = this.returnTaskList.filter(returnTask => {
|
||||
// 检查flowRecordList中是否有项的taskName等于当前returnTask的documentation
|
||||
return this.flowRecordList.some(record => record.taskName === returnTask.documentation)
|
||||
return this.form.enlistmentReserveApprovalList.some(record => record.nodeName === returnTask.documentation)
|
||||
})
|
||||
console.log(this.flowRecordList);
|
||||
|
||||
}
|
||||
this.initApproval()
|
||||
})
|
||||
@@ -1180,7 +1179,7 @@ export default {
|
||||
if (element.id == this.taskForm.targetKey) {
|
||||
this.taskForm.variables.targetNodeName = element.documentation
|
||||
}
|
||||
});
|
||||
})
|
||||
}
|
||||
|
||||
this.$refs['taskForm'].validate((valid) => {
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
v-hasPermi="['routine:enlistmentReserve:edit']" v-if="scope.row.applyStatus == 0">修改</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
||||
v-hasPermi="['routine:enlistmentReserve:remove']" v-if="scope.row.applyStatus == 0">删除</el-button>
|
||||
<el-button v-if="scope.row.applyStatus == 1" size="mini" type="text" icon="el-icon-info"
|
||||
<el-button v-if="scope.row.applyStatus != 0" size="mini" type="text" icon="el-icon-info"
|
||||
@click="detail(scope.row)">详情</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
Reference in New Issue
Block a user