| | |
| | | |
| | | // 下载上传资源 |
| | | const downloadRes = (item: any) => { |
| | | const url = config.requestCtx + "/file/api/ApiDownload?md5=" + item.Md5; |
| | | window.open(url, "_blank"); |
| | | // const url = config.requestCtx + "/file/api/ApiDownload?md5=" + item.Md5; |
| | | // window.open(url, "_blank"); |
| | | ElMessage.warning("正在建设中..."); |
| | | }; |
| | | |
| | | // 选择器 |
| | |
| | | const getTypeByCode = () => { |
| | | MG.resource |
| | | .getCmsTypeByRefCode({ |
| | | refCodes: [config.refCodes.teachingPlan], |
| | | refCodes: [config.refCode.teachingPlan], |
| | | }) |
| | | .then((res: any) => { |
| | | const data = res[0]?.cmsTypeLinks[0]?.children; |
| | |
| | | name: taskItem.title, |
| | | description: "", |
| | | icon: "", |
| | | type: config.refCodes.teachingPlan, |
| | | type: config.refCode.teachingPlan, |
| | | state: "Normal", |
| | | order: 0, |
| | | newDataListRequest: tool.worksDataBytool( |
| | |
| | | } |
| | | } |
| | | .linkTitle { |
| | | color: #ff6c00; |
| | | color: #019e58; |
| | | cursor: pointer; |
| | | } |
| | | .linkTitle:hover { |