Initial commit (code only without large binaries)
This commit is contained in:
19
EdgeUser/web/views/@default/ns/routes/internal.js
Normal file
19
EdgeUser/web/views/@default/ns/routes/internal.js
Normal file
@@ -0,0 +1,19 @@
|
||||
Tea.context(function () {
|
||||
this.createRoute = function () {
|
||||
teaweb.popup("/ns/routes/createPopup", {
|
||||
width: "50em",
|
||||
height: "30em",
|
||||
callback: function () {
|
||||
teaweb.success("保存成功", function () {
|
||||
window.location = "/ns/routes"
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
this.selectedType = "isp"
|
||||
|
||||
this.selectRouteType = function (routeType) {
|
||||
this.selectedType = routeType
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user