lyc-dev #160

Merged
lyc merged 2 commits from lyc-dev into main 2024-08-29 16:50:07 +08:00
5 changed files with 16 additions and 9 deletions
Showing only changes of commit df8f4fcf92 - Show all commits

View File

@ -13,11 +13,6 @@ asarUnpack:
win:
executableName: AIx
icon: resources/logo2.ico
extraFiles:
- from: ./node_modules/im_electron_sdk/lib/
to: ./resources
filter:
- '**/*'
nsis:
oneClick: false
allowToChangeInstallationDirectory: true
@ -50,3 +45,9 @@ publish:
url: https://file.ysaix.com:7868/src/assets/smarttalk/
electronDownload:
mirror: https://npmmirror.com/mirrors/electron/
# 额外依赖打包到输出目录
extraFiles:
- from: ./node_modules/im_electron_sdk/lib/
to: ./resources
filter:
- '**/*'

View File

@ -163,6 +163,10 @@ const handleNodeClick = (data,node) => {
onMounted(() => {
titleName.value = `${useStore.user.edustage}-${useStore.user.edusubject}`
treeLoading.value = true
//loading
setTimeout(() => {
treeLoading.value = false
},2000)
})
//
watch(() => useThird,() => {

View File

@ -34,6 +34,7 @@ const getSubject = (value) => {
const currentIndex = gradeList.findIndex(item => item.value === value)
getSubjects({stage:value}).then(res => {
if(res.code === 200){
if(res.data.length === 0) return
subjectList.value = res.data.map(item => {
return {
...item,

View File

@ -250,10 +250,10 @@ const onSubmit = (formEl) => {
saveByClassWorkArray({
classworkarray: JSON.stringify(ary)
})
.then(() => {
.then((res) => {
setLoading.value = false
ElMessage.success('操作成功')
emit('on-success')
emit('on-success', res.data)
cloneDialog(formEl)
})
.catch(() => {

View File

@ -111,9 +111,10 @@ const closeHomework = async() => {
ipcMsgSend('tool-sphere:set:ignore', true)
}
//
const successHomework = ()=>{
const successHomework = (data)=>{
// console.log('', data)
// im-(app|)
ipcMsgInvoke('im-chat:msg', curRow.value.id, MsgEnum.HEADS.MSG_0016)
ipcMsgInvoke('im-chat:msg', data, MsgEnum.HEADS.MSG_0016)
}
// change
const changeChapter = async (data)=>{