mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-18 23:36:46 +08:00
-- bug
This commit is contained in:
@@ -227,10 +227,6 @@ export default {
|
|||||||
succNum: 0, //成功数据数
|
succNum: 0, //成功数据数
|
||||||
errNum: 0, //失败数据数
|
errNum: 0, //失败数据数
|
||||||
downloadErrUrl: null, //下载失败数据
|
downloadErrUrl: null, //下载失败数据
|
||||||
locationHref:
|
|
||||||
location.href.indexOf("http://") !== -1
|
|
||||||
? "http://111.231.196.214:12016/"
|
|
||||||
: location.href.slice(0, location.href.indexOf("/m")) + "/upload/",
|
|
||||||
userId: store.state.userInfo.id,
|
userId: store.state.userInfo.id,
|
||||||
userName: store.state.userInfo.realName,
|
userName: store.state.userInfo.realName,
|
||||||
fileName: "",
|
fileName: "",
|
||||||
@@ -351,7 +347,6 @@ export default {
|
|||||||
};
|
};
|
||||||
// 下载失败数据
|
// 下载失败数据
|
||||||
const downloadEeeorData = () => {
|
const downloadEeeorData = () => {
|
||||||
console.log(state.locationHref + state.downloadErrUrl);
|
|
||||||
if (state.downloadErrUrl !== "") {
|
if (state.downloadErrUrl !== "") {
|
||||||
window.open(process.env.VUE_APP_FILE_PATH + state.downloadErrUrl);
|
window.open(process.env.VUE_APP_FILE_PATH + state.downloadErrUrl);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -124,7 +124,6 @@ export default {
|
|||||||
total: 0,
|
total: 0,
|
||||||
capacity: 0,
|
capacity: 0,
|
||||||
countCMB: 0,
|
countCMB: 0,
|
||||||
locationHref: location.href.indexOf('http://') !== -1 ? 'http://111.231.196.214:12016/' : location.href.slice(0, location.href.indexOf('/m')) + '/upload/'
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function getData() {
|
function getData() {
|
||||||
@@ -180,7 +179,7 @@ export default {
|
|||||||
// 下载文件
|
// 下载文件
|
||||||
function downLoadFile(data) {
|
function downLoadFile(data) {
|
||||||
console.log(data)
|
console.log(data)
|
||||||
window.open(state.locationHref + data.url)
|
window.open(process.env.VUE_APP_FILE_PATH + data.url)
|
||||||
}
|
}
|
||||||
// 删除文件
|
// 删除文件
|
||||||
function removeFile(data) {
|
function removeFile(data) {
|
||||||
|
|||||||
@@ -2498,8 +2498,7 @@ export default {
|
|||||||
commonLevelName: "",
|
commonLevelName: "",
|
||||||
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({
|
||||||
|
|||||||
Reference in New Issue
Block a user