feat:增加项目/学习路径图 共享文档下载

This commit is contained in:
wyx
2023-01-06 19:18:38 +08:00
parent 882d55cac4
commit 4e317b2a1d
2 changed files with 6 additions and 0 deletions

View File

@@ -694,6 +694,7 @@
" "
class="docListStyle" class="docListStyle"
> >
<!-- <img <!-- <img
src="@/assets/images/basicinfo/download.png" src="@/assets/images/basicinfo/download.png"
style=" style="
@@ -741,6 +742,7 @@
:title="item.name" :title="item.name"
>{{ item.name }}</span >{{ item.name }}</span
> >
<a :href="item.response.data" style="margin-left: 5px">下载</a>
<span <span
style="color: #4ea6ff; cursor: pointer" style="color: #4ea6ff; cursor: pointer"
@click="deFile(item.uid)" @click="deFile(item.uid)"
@@ -1426,6 +1428,7 @@ export default {
evaluationLevelName: "", evaluationLevelName: "",
facestudent: "", facestudent: "",
locationHref: location.href.indexOf('http://') !== -1 ? 'http://111.231.196.214:12016/' : location.href.slice(0, location.href.indexOf('/m')) + '/upload/'
}); });
const levelList = reactive({ const levelList = reactive({
@@ -2045,6 +2048,7 @@ export default {
.then((res) => { .then((res) => {
console.log("router-list", res); console.log("router-list", res);
state.fileList = JSON.parse(res.data.data.routerInfo.attach); state.fileList = JSON.parse(res.data.data.routerInfo.attach);
console.log('asdasdasd-------->',state.fileList)
state.docChecked = state.docChecked =
res.data.data.routerInfo.attachSwitch == 1 ? true : false; res.data.data.routerInfo.attachSwitch == 1 ? true : false;
if (res.data.data.routerInfo.status == 1) { if (res.data.data.routerInfo.status == 1) {

View File

@@ -1097,6 +1097,7 @@
:title="item.name" :title="item.name"
>{{ item.name }}</span >{{ item.name }}</span
> >
<a :href="item.response.data" style="margin-left: 5px">下载</a>
<span <span
style="color: #4ea6ff; float: right; cursor: pointer" style="color: #4ea6ff; float: right; cursor: pointer"
@click="deFile(item.uid)" @click="deFile(item.uid)"
@@ -2497,6 +2498,7 @@ export default {
evaltype: "", evaltype: "",
evalData: "", evalData: "",
facestudent: "", facestudent: "",
locationHref: location.href.indexOf('http://') !== -1 ? 'http://111.231.196.214:12016/' : location.href.slice(0, location.href.indexOf('/m')) + '/upload/'
}); });
const levelList = reactive({ const levelList = reactive({