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
e56ee466
Commit
e56ee466
authored
Feb 25, 2021
by
huangchunlan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
宽带产品管理
parent
a958f3e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
src/views/school-center/productManagement/product.vue
+14
-4
No files found.
src/views/school-center/productManagement/product.vue
View file @
e56ee466
...
@@ -327,6 +327,13 @@
...
@@ -327,6 +327,13 @@
this
.
regular
=
item
this
.
regular
=
item
}
}
},
},
HTMLEncode
(
text
)
{
let
temp
=
document
.
createElement
(
"div"
);
temp
.
innerHTML
=
text
;
let
output
=
temp
.
innerText
||
temp
.
textContent
;
temp
=
null
;
return
output
;
},
search
()
{
search
()
{
this
.
$refs
.
table
.
refresh
({
search
:
true
})
this
.
$refs
.
table
.
refresh
({
search
:
true
})
},
},
...
@@ -339,6 +346,7 @@
...
@@ -339,6 +346,7 @@
})
})
},
},
modifyfunction
(
data
)
{
modifyfunction
(
data
)
{
console
.
log
(
data
);
universitySchool
().
then
(
res
=>
{
universitySchool
().
then
(
res
=>
{
this
.
universitySchool
=
res
.
data
;
this
.
universitySchool
=
res
.
data
;
if
(
data
!=
undefined
)
{
if
(
data
!=
undefined
)
{
...
@@ -348,12 +356,11 @@
...
@@ -348,12 +356,11 @@
}
}
})
})
}
}
//console.log(this.universitySchool)
})
})
if
(
data
!=
undefined
)
{
if
(
data
!=
undefined
)
{
this
.
productIntroduction
=
data
.
productIntroduction
this
.
productIntroduction
=
data
.
productIntroduction
.
replace
(
/</g
,
'<'
).
replace
(
/>/g
,
'>'
)
this
.
productSetMealIntroduction
=
data
.
productSetMealIntroduction
this
.
productSetMealIntroduction
=
data
.
productSetMealIntroduction
.
replace
(
/</g
,
'<'
).
replace
(
/>/g
,
'>'
)
this
.
productRf2
=
data
.
productRf2
this
.
productRf2
=
data
.
productRf2
.
replace
(
/</g
,
'<'
).
replace
(
/>/g
,
'>'
)
this
.
modelData
.
productMealPrice
=
data
.
productMealPrice
this
.
modelData
.
productMealPrice
=
data
.
productMealPrice
this
.
modelData
.
productUniversity
=
data
.
productUniversity
this
.
modelData
.
productUniversity
=
data
.
productUniversity
this
.
modelData
.
productRhPrice
=
data
.
productRhPrice
this
.
modelData
.
productRhPrice
=
data
.
productRhPrice
...
@@ -382,6 +389,9 @@
...
@@ -382,6 +389,9 @@
this
.
universityName
=
'请选择'
this
.
universityName
=
'请选择'
this
.
regularName
=
"请选择"
;
this
.
regularName
=
"请选择"
;
}
}
this
.
productIntroduction
=
this
.
HTMLEncode
(
this
.
productIntroduction
)
this
.
productSetMealIntroduction
=
this
.
HTMLEncode
(
this
.
productSetMealIntroduction
);
this
.
productRf2
=
this
.
HTMLEncode
(
this
.
productRf2
)
this
.
modifyvisible
=
true
;
this
.
modifyvisible
=
true
;
},
},
createfunctionOk
()
{
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