Merge pull request 'BUG修复' (#240) from zhuhao_dev into main
Reviewed-on: #240
This commit is contained in:
commit
049768c8b6
|
@ -115,7 +115,7 @@ const updateForm = ref({})
|
||||||
watch(
|
watch(
|
||||||
() => props.currentNode,
|
() => props.currentNode,
|
||||||
(newValue, oldValue) => {
|
(newValue, oldValue) => {
|
||||||
form.name = newValue.label
|
form.name = newValue.itemtitle
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
const ruleForm = reactive({
|
const ruleForm = reactive({
|
||||||
|
@ -216,7 +216,7 @@ const openDialog = (data) => {
|
||||||
const closeDialog = () => {
|
const closeDialog = () => {
|
||||||
ruleFormDialog.value.resetFields()
|
ruleFormDialog.value.resetFields()
|
||||||
centerDialogVisible.value = false
|
centerDialogVisible.value = false
|
||||||
form.name = props.currentNode.label
|
form.name = props.currentNode.itemtitle
|
||||||
emit('close')
|
emit('close')
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -368,7 +368,7 @@ export default {
|
||||||
this.downloadNum = num
|
this.downloadNum = num
|
||||||
},
|
},
|
||||||
createFile() {
|
createFile() {
|
||||||
creatPPT(this.currentNode.label + '.pptx', this.uploadData).then((res) => {
|
creatPPT(this.currentNode.itemtitle + '.pptx', this.uploadData).then((res) => {
|
||||||
this.currentFileList.unshift(res.resData)
|
this.currentFileList.unshift(res.resData)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -448,7 +448,7 @@ export default {
|
||||||
creatAPT({
|
creatAPT({
|
||||||
...this.uploadData,
|
...this.uploadData,
|
||||||
fileId: slideid,
|
fileId: slideid,
|
||||||
fileShowName: this.currentNode.label + '.apt'
|
fileShowName: this.currentNode.itemtitle + '.apt'
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
this.currentFileList.unshift(res.resData)
|
this.currentFileList.unshift(res.resData)
|
||||||
})
|
})
|
||||||
|
@ -665,7 +665,7 @@ export default {
|
||||||
'/tool/sphere?entpcourseid=' +
|
'/tool/sphere?entpcourseid=' +
|
||||||
this.entpcourseid +
|
this.entpcourseid +
|
||||||
'&label=' +
|
'&label=' +
|
||||||
this.currentNode.label +
|
this.currentNode.itemtitle +
|
||||||
'&reservId=' +
|
'&reservId=' +
|
||||||
id
|
id
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue