作业 #120

Merged
lyc merged 1 commits from lyc-dev into main 2024-08-12 16:55:23 +08:00
9 changed files with 35 additions and 7 deletions

View File

@ -1,9 +1,9 @@
@font-face { @font-face {
font-family: "iconfont"; /* Project id 2794390 */ font-family: "iconfont"; /* Project id 2794390 */
src: url('iconfont.woff2?t=1723186593107') format('woff2'), src: url('iconfont.woff2?t=1723452423265') format('woff2'),
url('iconfont.woff?t=1723186593107') format('woff'), url('iconfont.woff?t=1723452423265') format('woff'),
url('iconfont.ttf?t=1723186593107') format('truetype'), url('iconfont.ttf?t=1723452423265') format('truetype'),
url('iconfont.svg?t=1723186593107#iconfont') format('svg'); url('iconfont.svg?t=1723452423265#iconfont') format('svg');
} }
.iconfont { .iconfont {
@ -14,6 +14,10 @@
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.icon-zanwushuju:before {
content: "\e655";
}
.icon-xiangzuo:before { .icon-xiangzuo:before {
content: "\e64d"; content: "\e64d";
} }

File diff suppressed because one or more lines are too long

View File

@ -5,6 +5,13 @@
"css_prefix_text": "icon-", "css_prefix_text": "icon-",
"description": "", "description": "",
"glyphs": [ "glyphs": [
{
"icon_id": "9689424",
"name": "暂无数据",
"font_class": "zanwushuju",
"unicode": "e655",
"unicode_decimal": 58965
},
{ {
"icon_id": "6176588", "icon_id": "6176588",
"name": "向左", "name": "向左",

View File

@ -14,6 +14,8 @@
/> />
<missing-glyph /> <missing-glyph />
<glyph glyph-name="zanwushuju" unicode="&#58965;" d="M876.202667 543.445333H147.882667L0 282.752V-42.666667h1024v325.376l-147.797333 260.736z m-234.112-263.637333c0-70.485333-58.197333-127.658667-130.090667-127.658667-71.893333 0-130.133333 57.173333-130.133333 127.658667H61.098667L179.541333 501.76H844.373333l118.442667-221.952H642.133333zM500.138667 810.666667h44.629333v-157.610667h-44.629333V810.666667zM197.290667 732.416l31.573333 31.018667L342.272 651.946667l-31.573333-31.018667-113.493334 111.445333z m491.52-80.512l113.493333 111.445333 31.573333-30.976-113.493333-111.445333-31.573333 30.976z" horiz-adv-x="1024" />
<glyph glyph-name="xiangzuo" unicode="&#58957;" d="M774.89 725L399.08 380.75l375.81-344.21a39.28 39.28 0 0 0 13.11-29c0-36.51-48.19-54.79-76.38-29L335.8 322.8c-34.94 32-34.94 83.9 0 115.9l375.82 344.22c28.19 25.81 76.38 7.53 76.38-29A39.3 39.3 0 0 0 774.89 725z" horiz-adv-x="1024" /> <glyph glyph-name="xiangzuo" unicode="&#58957;" d="M774.89 725L399.08 380.75l375.81-344.21a39.28 39.28 0 0 0 13.11-29c0-36.51-48.19-54.79-76.38-29L335.8 322.8c-34.94 32-34.94 83.9 0 115.9l375.82 344.22c28.19 25.81 76.38 7.53 76.38-29A39.3 39.3 0 0 0 774.89 725z" horiz-adv-x="1024" />
<glyph glyph-name="kechengziyuan1" unicode="&#58951;" d="M530.299631 315.712191a54.537462 54.537462 0 0 0-34.299976 12.187492L19.862486 563.299519l-3.749997 3.749997a55.187462 55.187462 0 0 0 0 77.949946l3.749997 3.749998L495.687155 883.836796A54.537462 54.537462 0 0 0 530.299631 895.999288a54.562462 54.562462 0 0 0 34.299976-12.162492l476.137169-235.424836 3.749997-3.749998a55.199962 55.199962 0 0 0 0-77.949945l-3.749997-3.749998-476.137169-235.399836a54.562462 54.562462 0 0 0-34.299976-11.849992z m-455.874683 289.999798l455.874683-225.449843 455.874683 225.437343-455.874683 225.749843z m0 0M530.299631 94.012346a54.574962 54.574962 0 0 0-34.299976 12.162491L24.537483 339.149675a31.174978 31.174978 0 1 0 27.749981 55.812461l474.899669-234.849836 3.112498-1.874999 3.124998 1.874999 474.887169 235.112336a31.174978 31.174978 0 0 0 27.749981-55.812461L564.599607 105.862337a54.562462 54.562462 0 0 0-34.299976-11.849991z m0 0M530.299631-128a54.862462 54.862462 0 0 0-34.299976 12.149992L24.537483 116.46233a31.174978 31.174978 0 1 0 27.749981 55.812461l474.899669-233.862337 3.112498-1.874999 3.124998 1.874999 474.887169 235.112336a31.724978 31.724978 0 1 0 27.749981-57.06246L564.599607-115.850008a55.199962 55.199962 0 0 0-34.299976-12.149992z m0 0" horiz-adv-x="1060" /> <glyph glyph-name="kechengziyuan1" unicode="&#58951;" d="M530.299631 315.712191a54.537462 54.537462 0 0 0-34.299976 12.187492L19.862486 563.299519l-3.749997 3.749997a55.187462 55.187462 0 0 0 0 77.949946l3.749997 3.749998L495.687155 883.836796A54.537462 54.537462 0 0 0 530.299631 895.999288a54.562462 54.562462 0 0 0 34.299976-12.162492l476.137169-235.424836 3.749997-3.749998a55.199962 55.199962 0 0 0 0-77.949945l-3.749997-3.749998-476.137169-235.399836a54.562462 54.562462 0 0 0-34.299976-11.849992z m-455.874683 289.999798l455.874683-225.449843 455.874683 225.437343-455.874683 225.749843z m0 0M530.299631 94.012346a54.574962 54.574962 0 0 0-34.299976 12.162491L24.537483 339.149675a31.174978 31.174978 0 1 0 27.749981 55.812461l474.899669-234.849836 3.112498-1.874999 3.124998 1.874999 474.887169 235.112336a31.174978 31.174978 0 0 0 27.749981-55.812461L564.599607 105.862337a54.562462 54.562462 0 0 0-34.299976-11.849991z m0 0M530.299631-128a54.862462 54.862462 0 0 0-34.299976 12.149992L24.537483 116.46233a31.174978 31.174978 0 1 0 27.749981 55.812461l474.899669-233.862337 3.112498-1.874999 3.124998 1.874999 474.887169 235.112336a31.724978 31.724978 0 1 0 27.749981-57.06246L564.599607-115.850008a55.199962 55.199962 0 0 0-34.299976-12.149992z m0 0" horiz-adv-x="1060" />

Before

Width:  |  Height:  |  Size: 262 KiB

After

Width:  |  Height:  |  Size: 263 KiB

View File

@ -1,5 +1,6 @@
import useUserStore from '@/store/modules/user' import useUserStore from '@/store/modules/user'
import { homeworklist, listEntpcourse } from '@/api/teaching/classwork' import { homeworklist, listEntpcourse } from '@/api/teaching/classwork'
import { addEntpcourse } from '@/api/teaching/classwork'
const userStore = useUserStore() const userStore = useUserStore()
// 当前选中教材章节节点 // 当前选中教材章节节点
@ -43,7 +44,7 @@ const getChapterId = () => {
const createEntpcourse = () => { const createEntpcourse = () => {
// 参照 web AIx 传入参数 // 参照 web AIx 传入参数
var cform = {} var cform = {}
cform.entpid = userStore.deptId cform.entpid = userStore.user.deptId
cform.level = 1 cform.level = 1
cform.parentid = 0 cform.parentid = 0
cform.dictid = 0 cform.dictid = 0
@ -57,7 +58,7 @@ const createEntpcourse = () => {
cform.coursedesc = '' cform.coursedesc = ''
cform.status = '' cform.status = ''
cform.dflag = 0 cform.dflag = 0
cform.edituserid = userStore.userId cform.edituserid = userStore.user.userId
cform.createblankfile = 'yes' cform.createblankfile = 'yes'
return addEntpcourse(cform) return addEntpcourse(cform)
} }

View File

@ -42,6 +42,10 @@
</div> </div>
<el-button color="#349d44" @click="sendHomework(item)">推送</el-button> <el-button color="#349d44" @click="sendHomework(item)">推送</el-button>
</li> </li>
<div class="no-data flex" v-if="!dataList.length && !resourceList.length">
<i class="iconfont icon-zanwushuju"></i>
<span>暂无数据</span>
</div>
</ul> </ul>
</el-scrollbar> </el-scrollbar>
</div> </div>
@ -339,4 +343,14 @@ onMounted(() => {
.unit-content{ .unit-content{
height: calc(100% - 50px); height: calc(100% - 50px);
} }
.no-data{
padding-top: 30px;
color: #d7d7d7;
align-items: center;
flex-direction: column;
color: 12px;
.icon-zanwushuju{
font-size: 50px;
}
}
</style> </style>