diff --git a/web/views/@default/clusters/cluster/settings/thresholds/createPopup.html b/web/views/@default/clusters/cluster/settings/thresholds/createPopup.html
deleted file mode 100644
index 2505e606..00000000
--- a/web/views/@default/clusters/cluster/settings/thresholds/createPopup.html
+++ /dev/null
@@ -1,87 +0,0 @@
-{$layout "layout_popup"}
-
-
添加阈值
-
\ No newline at end of file
diff --git a/web/views/@default/clusters/cluster/settings/thresholds/createPopup.js b/web/views/@default/clusters/cluster/settings/thresholds/createPopup.js
deleted file mode 100644
index ddc6f974..00000000
--- a/web/views/@default/clusters/cluster/settings/thresholds/createPopup.js
+++ /dev/null
@@ -1,43 +0,0 @@
-Tea.context(function () {
- this.success = NotifyPopup
- this.threshold = {
- item: this.items[0].code,
- param: "",
- operator: this.operators[0].code
- }
- this.$delay(function () {
- this.changeItem()
- this.changeParam()
- })
-
- this.itemDescription = ""
- this.itemParams = []
-
- this.changeItem = function () {
- let that = this
- this.threshold.param = ""
- this.items.forEach(function (v) {
- if (v.code == that.threshold.item) {
- that.itemDescription = v.description
- that.itemParams = v.params
- that.threshold.param = v.params[0].code
- that.paramDescription = v.params[0].description
- }
- })
- }
-
- this.paramDescription = ""
-
- this.changeParam = function () {
- let that = this
- this.items.forEach(function (v) {
- if (v.code == that.threshold.item) {
- v.params.forEach(function (param) {
- if (param.code == that.threshold.param) {
- that.paramDescription = param.description
- }
- })
- }
- })
- }
-})
\ No newline at end of file
diff --git a/web/views/@default/clusters/cluster/settings/thresholds/index.html b/web/views/@default/clusters/cluster/settings/thresholds/index.html
deleted file mode 100644
index 9f8361f0..00000000
--- a/web/views/@default/clusters/cluster/settings/thresholds/index.html
+++ /dev/null
@@ -1,42 +0,0 @@
-{$layout}
-{$template "../menu"}
-{$template "/left_menu_with_menu"}
-
-
\ No newline at end of file
diff --git a/web/views/@default/clusters/cluster/settings/thresholds/index.js b/web/views/@default/clusters/cluster/settings/thresholds/index.js
deleted file mode 100644
index 7af445f4..00000000
--- a/web/views/@default/clusters/cluster/settings/thresholds/index.js
+++ /dev/null
@@ -1,40 +0,0 @@
-Tea.context(function () {
- this.createThreshold = function () {
- teaweb.popup(Tea.url(".createPopup", {
- clusterId: this.clusterId
- }), {
- callback: function () {
- teaweb.success("保存成功", function () {
- teaweb.reload()
- })
- }
- })
- }
-
- this.updateThreshold = function (thresholdId) {
- teaweb.popup(Tea.url(".updatePopup", {
- thresholdId: thresholdId
- }), {
- callback: function () {
- teaweb.success("保存成功", function () {
- teaweb.reload()
- })
- }
- })
- }
-
- this.deleteThreshold = function (thresholdId) {
- let that = this
- teaweb.confirm("确定要删除这个阈值吗?", function () {
- that.$post(".delete")
- .params({
- thresholdId: thresholdId
- })
- .success(function () {
- teaweb.success("删除成功", function () {
- teaweb.reload()
- })
- })
- })
- }
-})
\ No newline at end of file
diff --git a/web/views/@default/clusters/cluster/settings/thresholds/updatePopup.html b/web/views/@default/clusters/cluster/settings/thresholds/updatePopup.html
deleted file mode 100644
index b239237a..00000000
--- a/web/views/@default/clusters/cluster/settings/thresholds/updatePopup.html
+++ /dev/null
@@ -1,92 +0,0 @@
-{$layout "layout_popup"}
-
-修改阈值
-
\ No newline at end of file
diff --git a/web/views/@default/clusters/cluster/settings/thresholds/updatePopup.js b/web/views/@default/clusters/cluster/settings/thresholds/updatePopup.js
deleted file mode 100644
index b1e023a4..00000000
--- a/web/views/@default/clusters/cluster/settings/thresholds/updatePopup.js
+++ /dev/null
@@ -1,48 +0,0 @@
-Tea.context(function () {
- this.success = NotifyPopup
- this.$delay(function () {
- this.initItem()
- this.changeParam()
- })
-
- this.itemDescription = ""
- this.itemParams = []
-
- this.initItem = function () {
- let that = this
- this.items.forEach(function (v) {
- if (v.code == that.threshold.item) {
- that.itemDescription = v.description
- that.itemParams = v.params
- }
- })
- }
-
- this.changeItem = function () {
- let that = this
- this.threshold.param = ""
- this.items.forEach(function (v) {
- if (v.code == that.threshold.item) {
- that.itemDescription = v.description
- that.itemParams = v.params
- that.threshold.param = v.params[0].code
- that.paramDescription = v.params[0].description
- }
- })
- }
-
- this.paramDescription = ""
-
- this.changeParam = function () {
- let that = this
- this.items.forEach(function (v) {
- if (v.code == that.threshold.item) {
- v.params.forEach(function (param) {
- if (param.code == that.threshold.param) {
- that.paramDescription = param.description
- }
- })
- }
- })
- }
-})
\ No newline at end of file