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
Show 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 = {
...
@@ -12,7 +12,7 @@ module.exports = {
assetsPublicPath
:
'/'
,
assetsPublicPath
:
'/'
,
proxyTable
:
{
proxyTable
:
{
'/mall'
:
{
'/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.0.106:8088/mall",
// target: "http://192.168.204.66:8088/mall",
// target: "http://192.168.204.66:8088/mall",
changeOrigin
:
true
,
changeOrigin
:
true
,
...
...
src/page/STB/appversion/components/addDialog.vue
View file @
98276cb3
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
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
,
formVisible
:
false
,
headers
:{
Authorization
:
localStorage
.
getItem
(
'backToken'
)},
headers
:{
Authorization
:
localStorage
.
getItem
(
'backToken'
)},
formItem
:
{},
formItem
:
{},
...
...
src/page/STB/pageCustom/index.vue
View file @
98276cb3
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<div
class=
"title"
>
app目录界面设置
</div>
<div
class=
"title"
>
app目录界面设置
</div>
<div
class=
"btn-group"
>
<div
class=
"btn-group"
>
<el-upload
<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"
:on-success=
"uploadPageImg"
:before-upload=
"handleBeforeUpload"
:before-upload=
"handleBeforeUpload"
:headers =
"headers"
:headers =
"headers"
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<div
class=
"title"
>
app运行画面设置
</div>
<div
class=
"title"
>
app运行画面设置
</div>
<div
class=
"btn-group"
>
<div
class=
"btn-group"
>
<el-upload
<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"
:on-success=
"uploadRunImg"
:before-upload=
"handleBeforeUpload"
:before-upload=
"handleBeforeUpload"
:headers =
"headers"
:headers =
"headers"
...
...
src/page/check/learn/details.vue
View file @
98276cb3
...
@@ -137,7 +137,7 @@ export default {
...
@@ -137,7 +137,7 @@ export default {
}
}
// console.log(boardList)
// console.log(boardList)
vm
.
formInline
.
exhibitionBoardList
=
boardList
vm
.
formInline
.
exhibitionBoardList
=
boardList
console
.
log
(
1111
,
vm
.
formInline
.
exhibitionBoardList
)
//
console.log(1111,vm.formInline.exhibitionBoardList)
// console.log(this.formInline.exhibitionBoardList[0].videoList);
// console.log(this.formInline.exhibitionBoardList[0].videoList);
})
})
.
catch
(
function
(
err
)
{
.
catch
(
function
(
err
)
{
...
@@ -148,7 +148,7 @@ export default {
...
@@ -148,7 +148,7 @@ export default {
history
.
go
(
-
1
);
history
.
go
(
-
1
);
},
},
handleChange
(
val
)
{
handleChange
(
val
)
{
console
.
log
(
val
);
//
console.log(val);
},
},
},
},
};
};
...
...
src/page/content/components/uploadVue/uploadImg.vue
View file @
98276cb3
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<el-upload
<el-upload
accept=
".jpg,.jpeg,.png.JPG,.JPEG,.PNG"
accept=
".jpg,.jpeg,.png.JPG,.JPEG,.PNG"
:class=
"
{disabled:uploadDisabled}"
: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"
list-type="picture-card"
:on-preview="handlePictureCardPreview"
:on-preview="handlePictureCardPreview"
:on-remove="handleRemove"
:on-remove="handleRemove"
...
...
src/page/content/components/uploadVue/uploadQrcode.vue
View file @
98276cb3
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<el-upload
<el-upload
accept=
".jpg,.jpeg,.png,.JPG,.JPEG,.PBG"
accept=
".jpg,.jpeg,.png,.JPG,.JPEG,.PBG"
:class=
"
{disabled:uploadDisabled}"
: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"
list-type="picture-card"
:on-preview="handlePictureCardPreview"
:on-preview="handlePictureCardPreview"
:on-remove="handleRemove"
:on-remove="handleRemove"
...
...
src/page/content/learn/content/add.vue
View file @
98276cb3
...
@@ -371,7 +371,7 @@ export default {
...
@@ -371,7 +371,7 @@ export default {
};
};
this
.
getTableData
(
param
,
"update"
);
this
.
getTableData
(
param
,
"update"
);
},
},
setSelctTable
()
{
async
setSelctTable
()
{
if
(
!
this
.
multipleSelection
.
length
)
{
if
(
!
this
.
multipleSelection
.
length
)
{
return
false
;
return
false
;
}
}
...
@@ -385,6 +385,7 @@ export default {
...
@@ -385,6 +385,7 @@ export default {
}
}
});
});
});
});
await
this
.
getTableParam1
()
},
},
setSelctTable1
()
{
setSelctTable1
()
{
// console.log(this.multipleSelection1)
// console.log(this.multipleSelection1)
...
@@ -485,13 +486,15 @@ export default {
...
@@ -485,13 +486,15 @@ export default {
});
});
},
},
// 展板多选赋值
// 展板多选赋值
async
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
this
.
multipleSelection
=
val
;
let
newArray
=
val
.
map
(
item
=>
{
let
newArray
=
val
.
map
(
item
=>
{
return
item
.
id
;
return
item
.
id
;
});
});
this
.
ruleForm
.
exhibitionBoardIdList
=
newArray
;
this
.
ruleForm
.
exhibitionBoardIdList
=
newArray
;
await
this
.
getTableParam1
()
if
(
this
.
type
===
'add'
)
{
this
.
getTableParam1
()
}
},
},
// 展板资料多选赋值
// 展板资料多选赋值
handleSelectionChange1
(
val
)
{
handleSelectionChange1
(
val
)
{
...
@@ -586,7 +589,6 @@ export default {
...
@@ -586,7 +589,6 @@ export default {
}
}
this
.
getTableParam
()
this
.
getTableParam
()
},
},
//
getSelectDep2
(
exhibitionBoardCatIdList
)
{
getSelectDep2
(
exhibitionBoardCatIdList
)
{
if
(
exhibitionBoardCatIdList
.
length
===
this
.
assetType2
.
length
)
{
if
(
exhibitionBoardCatIdList
.
length
===
this
.
assetType2
.
length
)
{
this
.
checkedThing2
=
true
;
this
.
checkedThing2
=
true
;
...
@@ -611,7 +613,16 @@ export default {
...
@@ -611,7 +613,16 @@ export default {
},
},
// 筛选展板资料备选清单选项条件
// 筛选展板资料备选清单选项条件
getTableParam1
(){
getTableParam1
(){
if
((
this
.
ruleForm
.
exhibitionBoardIdList
.
length
>
0
)){
const
param
=
{
boardList
:
this
.
ruleForm
.
exhibitionBoardIdList
.
toString
()
};
if
(
param
.
boardList
.
length
>
0
){
this
.
getTableData1
(
param
);
}
else
{
this
.
tableData1
=
[]
}
},
getTableData1
()
{
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
(
vm
.
$https
(
{
{
...
@@ -619,7 +630,7 @@ export default {
...
@@ -619,7 +630,7 @@ export default {
method
:
"get"
,
method
:
"get"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
{
boardList
:
vm
.
ruleForm
.
exhibitionBoardIdList
.
toString
()}
{
boardList
:
vm
.
ruleForm
.
exhibitionBoardIdList
.
toString
()
}
)
)
.
then
(
res
=>
{
.
then
(
res
=>
{
// alert(1)
// alert(1)
...
@@ -627,14 +638,14 @@ export default {
...
@@ -627,14 +638,14 @@ export default {
// console.log(data)
// console.log(data)
vm
.
tableData1
=
data
;
vm
.
tableData1
=
data
;
// 选中表格数据
// 选中表格数据
console
.
log
(
this
.
type
)
//
console.log(this.type)
if
(
this
.
type
===
'add'
){
if
(
this
.
type
===
'add'
){
vm
.
multipleSelection1
=
res
.
data
.
data
vm
.
multipleSelection1
=
res
.
data
.
data
setTimeout
(()
=>
{
setTimeout
(()
=>
{
vm
.
setSelctTable1
();
vm
.
setSelctTable1
();
},
1000
);
},
1000
);
}
else
{
}
else
{
console
.
log
(
this
.
multipleSelection1
)
//
console.log(this.multipleSelection1)
vm
.
multipleSelection1
=
this
.
multipleSelection1
vm
.
multipleSelection1
=
this
.
multipleSelection1
setTimeout
(()
=>
{
setTimeout
(()
=>
{
vm
.
setSelctTable1
();
vm
.
setSelctTable1
();
...
@@ -644,12 +655,9 @@ export default {
...
@@ -644,12 +655,9 @@ export default {
.
catch
(
function
(
err
)
{
.
catch
(
function
(
err
)
{
console
.
log
(
err
);
console
.
log
(
err
);
});
});
}
else
{
this
.
tableData1
=
[]
}
},
},
// 根据展板类别,版权方获取展板备选清单
// 根据展板类别,版权方获取展板备选清单
getTableData
(
param
,
type
)
{
async
getTableData
(
param
,
type
)
{
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
(
vm
.
$https
(
...
...
src/page/content/learn/content/index.vue
View file @
98276cb3
src/page/content/video/remit/index.vue
View file @
98276cb3
...
@@ -387,7 +387,7 @@ export default {
...
@@ -387,7 +387,7 @@ export default {
axios
({
axios
({
method
:
"get"
,
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
:
{
params
:
{
// idList:str
// idList:str
...
@@ -425,7 +425,7 @@ export default {
...
@@ -425,7 +425,7 @@ export default {
axios
({
axios
({
method
:
"get"
,
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
:
{
params
:
{
// idList: "1382697227765313538"
// idList: "1382697227765313538"
idList
:
str
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