sc
This commit is contained in:
@@ -305,6 +305,12 @@ const nodeRecords = ref([])
|
||||
|
||||
async function open(curNode) {
|
||||
canEdit.value = curNode.canEdit
|
||||
searchInfo(curNode)
|
||||
show.value = true
|
||||
// 获取数据详情
|
||||
}
|
||||
|
||||
function searchInfo(curNode) {
|
||||
try {
|
||||
getOkrNodeDetail(curNode.nodeId).then((resp) => {
|
||||
nodeInfo.value = resp
|
||||
@@ -326,8 +332,6 @@ async function open(curNode) {
|
||||
})
|
||||
} finally {
|
||||
}
|
||||
show.value = true
|
||||
// 获取数据详情
|
||||
}
|
||||
|
||||
function close() {
|
||||
@@ -337,7 +341,10 @@ function close() {
|
||||
defineExpose({ open, close })
|
||||
|
||||
function handleSaveProcess() {
|
||||
console.log(okrList.value)
|
||||
okrTableRef.value.updateProcess(nodeInfo.value.nodeId).then(() => {
|
||||
message.success('更新成功')
|
||||
searchInfo()
|
||||
})
|
||||
}
|
||||
|
||||
function handleChildItem() {
|
||||
|
||||
Reference in New Issue
Block a user