Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
da72affe
Commit
da72affe
authored
Mar 01, 2021
by
huangchunlan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
宽带配置
parent
3b9b7ee4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
src/views/school-center/productManagement/broadband.vue
+14
-4
No files found.
src/views/school-center/productManagement/broadband.vue
View file @
da72affe
...
...
@@ -528,6 +528,13 @@ export default {
this
.
chouti
=
item
}
},
HTMLEncode
(
text
)
{
let
temp
=
document
.
createElement
(
"div"
);
temp
.
innerHTML
=
text
;
let
output
=
temp
.
innerText
||
temp
.
textContent
;
temp
=
null
;
return
output
;
},
regularsName
(
item
)
{
if
(
item
==
'请选择'
)
{
this
.
modelData
.
productIntroductionPic2
=
''
...
...
@@ -543,7 +550,6 @@ export default {
let
that
=
this
;
// 查询添加数据
universityBroadbandConfigData
({
universityId
:
data
.
university_id
}).
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
state
==
'error'
)
{
}
...
...
@@ -552,9 +558,9 @@ export default {
const
schools
=
res
.
data
.
schoolsData
that
.
modelData
.
schools
=
(
schools
==
undefined
?
[]
:
schools
);
that
.
modelData
.
universityId
=
university
.
universityId
that
.
productIntroduction
=
product
.
productIntroduction
that
.
productSetMealIntroduction
=
product
.
productSetMealIntroduction
that
.
productRf2
=
product
.
productRf2
that
.
productIntroduction
=
this
.
HTMLEncode
(
product
.
productIntroduction
.
replace
(
/</g
,
'<'
).
replace
(
/>/g
,
'>'
));
that
.
productSetMealIntroduction
=
this
.
HTMLEncode
(
product
.
productSetMealIntroduction
.
replace
(
/</g
,
'<'
).
replace
(
/>/g
,
'>'
));
that
.
productRf2
=
this
.
HTMLEncode
(
product
.
productRf2
.
replace
(
/</g
,
'<'
).
replace
(
/>/g
,
'>'
));
that
.
modelData
.
productMealPrice
=
product
.
productMealPrice
that
.
modelData
.
productUniversity
=
product
.
productUniversity
that
.
modelData
.
productRhPrice
=
product
.
productRhPrice
...
...
@@ -606,6 +612,9 @@ export default {
'expenses'
:
university
.
expenses
});
});
// that.productIntroduction=this.HTMLEncode(that.productIntroduction)
// that.productSetMealIntroduction=this.HTMLEncode(that.productSetMealIntroduction);
// that.productRf2=this.HTMLEncode(that.productRf2)
this
.
add
=
false
;
}
else
{
setTimeout
(()
=>
{
...
...
@@ -654,6 +663,7 @@ export default {
this
.
universityName
=
''
this
.
regularName
=
""
;
}
this
.
modifyvisible
=
true
;
},
createfunctionOk
(){
...
...
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