Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
national_museum_vod
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qzhxx
national_museum_vod
Commits
98276cb3
Commit
98276cb3
authored
Jun 28, 2021
by
胡冲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改学习内容出现内存满。造成卡顿
parent
7feeaade
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
635 additions
and
627 deletions
+635
-627
index.js
config/index.js
+1
-1
addDialog.vue
src/page/STB/appversion/components/addDialog.vue
+1
-1
index.vue
src/page/STB/pageCustom/index.vue
+2
-2
details.vue
src/page/check/learn/details.vue
+2
-2
uploadImg.vue
src/page/content/components/uploadVue/uploadImg.vue
+1
-1
uploadQrcode.vue
src/page/content/components/uploadVue/uploadQrcode.vue
+1
-1
add.vue
src/page/content/learn/content/add.vue
+21
-13
index.vue
src/page/content/learn/content/index.vue
+604
-604
index.vue
src/page/content/video/remit/index.vue
+2
-2
No files found.
config/index.js
View file @
98276cb3
...
...
@@ -12,7 +12,7 @@ module.exports = {
assetsPublicPath
:
'/'
,
proxyTable
:
{
'/mall'
:
{
target
:
"http://1
11.203.232.175
:8088/mall"
,
target
:
"http://1
92.168.0.102
:8088/mall"
,
// target: "http://192.168.0.106:8088/mall",
// target: "http://192.168.204.66:8088/mall",
changeOrigin
:
true
,
...
...
src/page/STB/appversion/components/addDialog.vue
View file @
98276cb3
...
...
@@ -66,7 +66,7 @@
export
default
{
data
()
{
return
{
uploadUrl
:
'http://1
11.203.232.175
:8088/mall/file/upload/allType'
,
uploadUrl
:
'http://1
92.168.0.102
:8088/mall/file/upload/allType'
,
formVisible
:
false
,
headers
:{
Authorization
:
localStorage
.
getItem
(
'backToken'
)},
formItem
:
{},
...
...
src/page/STB/pageCustom/index.vue
View file @
98276cb3
...
...
@@ -11,7 +11,7 @@
<div
class=
"title"
>
app目录界面设置
</div>
<div
class=
"btn-group"
>
<el-upload
action=
"http://1
11.203.232.175
:8088/mall/file/image/upload"
action=
"http://1
92.168.0.102
:8088/mall/file/image/upload"
:on-success=
"uploadPageImg"
:before-upload=
"handleBeforeUpload"
:headers =
"headers"
...
...
@@ -43,7 +43,7 @@
<div
class=
"title"
>
app运行画面设置
</div>
<div
class=
"btn-group"
>
<el-upload
action=
"http://1
11.203.232.175
:8088/mall/file/image/upload"
action=
"http://1
92.168.0.102
:8088/mall/file/image/upload"
:on-success=
"uploadRunImg"
:before-upload=
"handleBeforeUpload"
:headers =
"headers"
...
...
src/page/check/learn/details.vue
View file @
98276cb3
...
...
@@ -137,7 +137,7 @@ export default {
}
// console.log(boardList)
vm
.
formInline
.
exhibitionBoardList
=
boardList
console
.
log
(
1111
,
vm
.
formInline
.
exhibitionBoardList
)
//
console.log(1111,vm.formInline.exhibitionBoardList)
// console.log(this.formInline.exhibitionBoardList[0].videoList);
})
.
catch
(
function
(
err
)
{
...
...
@@ -148,7 +148,7 @@ export default {
history
.
go
(
-
1
);
},
handleChange
(
val
)
{
console
.
log
(
val
);
//
console.log(val);
},
},
};
...
...
src/page/content/components/uploadVue/uploadImg.vue
View file @
98276cb3
...
...
@@ -3,7 +3,7 @@
<el-upload
accept=
".jpg,.jpeg,.png.JPG,.JPEG,.PNG"
:class=
"
{disabled:uploadDisabled}"
action="http://1
11.203.232.175
:8088/mall/file/image/upload"
action="http://1
92.168.0.102
:8088/mall/file/image/upload"
list-type="picture-card"
:on-preview="handlePictureCardPreview"
:on-remove="handleRemove"
...
...
src/page/content/components/uploadVue/uploadQrcode.vue
View file @
98276cb3
...
...
@@ -3,7 +3,7 @@
<el-upload
accept=
".jpg,.jpeg,.png,.JPG,.JPEG,.PBG"
:class=
"
{disabled:uploadDisabled}"
action="http://1
11.203.232.175
:8088/mall/file/image/upload"
action="http://1
92.168.0.102
:8088/mall/file/image/upload"
list-type="picture-card"
:on-preview="handlePictureCardPreview"
:on-remove="handleRemove"
...
...
src/page/content/learn/content/add.vue
View file @
98276cb3
...
...
@@ -371,7 +371,7 @@ export default {
};
this
.
getTableData
(
param
,
"update"
);
},
setSelctTable
()
{
async
setSelctTable
()
{
if
(
!
this
.
multipleSelection
.
length
)
{
return
false
;
}
...
...
@@ -385,6 +385,7 @@ export default {
}
});
});
await
this
.
getTableParam1
()
},
setSelctTable1
()
{
// console.log(this.multipleSelection1)
...
...
@@ -485,13 +486,15 @@ export default {
});
},
// 展板多选赋值
async
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
let
newArray
=
val
.
map
(
item
=>
{
return
item
.
id
;
});
this
.
ruleForm
.
exhibitionBoardIdList
=
newArray
;
await
this
.
getTableParam1
()
if
(
this
.
type
===
'add'
)
{
this
.
getTableParam1
()
}
},
// 展板资料多选赋值
handleSelectionChange1
(
val
)
{
...
...
@@ -586,7 +589,6 @@ export default {
}
this
.
getTableParam
()
},
//
getSelectDep2
(
exhibitionBoardCatIdList
)
{
if
(
exhibitionBoardCatIdList
.
length
===
this
.
assetType2
.
length
)
{
this
.
checkedThing2
=
true
;
...
...
@@ -611,15 +613,24 @@ export default {
},
// 筛选展板资料备选清单选项条件
getTableParam1
(){
if
((
this
.
ruleForm
.
exhibitionBoardIdList
.
length
>
0
)){
let
vm
=
this
;
const
param
=
{
boardList
:
this
.
ruleForm
.
exhibitionBoardIdList
.
toString
()
};
if
(
param
.
boardList
.
length
>
0
){
this
.
getTableData1
(
param
);
}
else
{
this
.
tableData1
=
[]
}
},
getTableData1
()
{
let
vm
=
this
;
vm
.
$https
(
{
url
:
"asset/getAssetByBoard"
,
method
:
"get"
,
authType
:
this
.
backToken
},
{
boardList
:
vm
.
ruleForm
.
exhibitionBoardIdList
.
toString
()}
{
boardList
:
vm
.
ruleForm
.
exhibitionBoardIdList
.
toString
()
}
)
.
then
(
res
=>
{
// alert(1)
...
...
@@ -627,14 +638,14 @@ export default {
// console.log(data)
vm
.
tableData1
=
data
;
// 选中表格数据
console
.
log
(
this
.
type
)
//
console.log(this.type)
if
(
this
.
type
===
'add'
){
vm
.
multipleSelection1
=
res
.
data
.
data
setTimeout
(()
=>
{
vm
.
setSelctTable1
();
},
1000
);
}
else
{
console
.
log
(
this
.
multipleSelection1
)
//
console.log(this.multipleSelection1)
vm
.
multipleSelection1
=
this
.
multipleSelection1
setTimeout
(()
=>
{
vm
.
setSelctTable1
();
...
...
@@ -644,12 +655,9 @@ export default {
.
catch
(
function
(
err
)
{
console
.
log
(
err
);
});
}
else
{
this
.
tableData1
=
[]
}
},
// 根据展板类别,版权方获取展板备选清单
getTableData
(
param
,
type
)
{
async
getTableData
(
param
,
type
)
{
let
vm
=
this
;
vm
.
$https
(
...
...
src/page/content/learn/content/index.vue
View file @
98276cb3
This diff is collapsed.
Click to expand it.
src/page/content/video/remit/index.vue
View file @
98276cb3
...
...
@@ -387,7 +387,7 @@ export default {
axios
({
method
:
"get"
,
url
:
'http://1
11.203.232.175
:8088/mall/asset/downloadCipher'
,
url
:
'http://1
92.168.0.102
:8088/mall/asset/downloadCipher'
,
params
:
{
// idList:str
...
...
@@ -425,7 +425,7 @@ export default {
axios
({
method
:
"get"
,
url
:
'http://1
11.203.232.175
:8088/mall/asset/download'
,
url
:
'http://1
92.168.0.102
:8088/mall/asset/download'
,
params
:
{
// idList: "1382697227765313538"
idList
:
str
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment