diff --git a/projects/Infrastructure/Application/Entites/Settings/SettingType.cs b/projects/Infrastructure/Application/Entites/Settings/SettingType.cs
index 5b7f6cce..e5c63316 100644
--- a/projects/Infrastructure/Application/Entites/Settings/SettingType.cs
+++ b/projects/Infrastructure/Application/Entites/Settings/SettingType.cs
@@ -4,28 +4,31 @@ namespace Infrastructure.Application.Entites.Settings
{
public enum SettingType
{
- [Display(Name = "数值")]
- Number,
+ [Display(Name = "整数")]
+ Integer32 = 10,
- [Display(Name = "复选框")]
- Boolean,
+ [Display(Name = "浮点数")]
+ Doubule = 20,
+
+ [Display(Name = "布尔值")]
+ Boolean = 30,
[Display(Name = "文本")]
- Text,
+ Text = 40,
- [Display(Name = "Html代码")]
- Html,
+ [Display(Name = "Html")]
+ Html = 50,
[Display(Name = "图片")]
- ImageUrl,
+ ImageUrl = 60,
[Display(Name = "文件")]
- FileUrl,
+ FileUrl = 70,
[Display(Name = "时间")]
- DateTime,
+ DateTime = 80,
[Display(Name = "日期")]
- Date
+ Date = 90
}
}
\ No newline at end of file
diff --git a/projects/WebMVC/wwwroot/js/components.js b/projects/WebMVC/wwwroot/js/components.js
index 26a0bd91..03f1bfe1 100644
--- a/projects/WebMVC/wwwroot/js/components.js
+++ b/projects/WebMVC/wwwroot/js/components.js
@@ -22,25 +22,4 @@ Vue.component('update', function (resolve, reject) {
axios.get("/router/shared/update.html").then(function (response) {
resolve(parseModel(response));
});
-});
-//
-Vue.component('index', function (resolve, reject) {
- axios.get("/router/shared/index.html").then(function (response) {
- resolve(parseModel(response));
- });
-});
-Vue.component('detail', function (resolve, reject) {
- axios.get("/router/shared/detail.html").then(function (response) {
- resolve(parseModel(response));
- });
-});
-Vue.component('add', function (resolve, reject) {
- axios.get("/router/shared/add.html").then(function (response) {
- resolve(parseModel(response));
- });
-});
-Vue.component('edit', function (resolve, reject) {
- axios.get("/router/shared/edit.html").then(function (response) {
- resolve(parseModel(response));
- });
});
\ No newline at end of file
diff --git a/projects/WebMVC/wwwroot/router/admin/setting/detail.html b/projects/WebMVC/wwwroot/router/admin/setting/detail.html
new file mode 100644
index 00000000..3d688645
--- /dev/null
+++ b/projects/WebMVC/wwwroot/router/admin/setting/detail.html
@@ -0,0 +1,7 @@
+
+