-
-
-
-
- {{ item.name }}
-
-
-
+
销售额
+
@@ -126,68 +220,158 @@
diff --git a/src/views/list/StandardList.vue b/src/views/list/StandardList.vue
new file mode 100644
index 0000000..b7a484d
--- /dev/null
+++ b/src/views/list/StandardList.vue
@@ -0,0 +1,186 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+
+
+
+
+
Owner
+
{{ item.owner }}
+
+
+
开始时间
+
{{ item.startAt }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/list/table/Edit.vue b/src/views/list/table/Edit.vue
index 74b1695..dca09e8 100644
--- a/src/views/list/table/Edit.vue
+++ b/src/views/list/table/Edit.vue
@@ -1,7 +1,6 @@
-
删除
-
锁定
diff --git a/src/views/profile/basic/index.vue b/src/views/profile/basic/index.vue
index efaf623..b4cd8c1 100644
--- a/src/views/profile/basic/index.vue
+++ b/src/views/profile/basic/index.vue
@@ -9,7 +9,7 @@
- 付小小
+ 测试用户
18100000000
菜鸟仓储
浙江省杭州市西湖区万塘路18号
diff --git a/src/views/role/RoleList.vue b/src/views/role/RoleList.vue
index d3716ad..024aa84 100644
--- a/src/views/role/RoleList.vue
+++ b/src/views/role/RoleList.vue
@@ -54,7 +54,6 @@
-
diff --git a/src/views/security/maps/icons.js b/src/views/security/maps/icons.js
new file mode 100644
index 0000000..6699a56
--- /dev/null
+++ b/src/views/security/maps/icons.js
@@ -0,0 +1,17 @@
+export const filledIcons = [{
+ type: 'home'
+}, {
+ type: 'account-book'
+}, {
+ type: 'alert'
+}, {
+ type: 'api'
+}, {
+ type: 'appstore'
+}, {
+ type: 'bell'
+}, {
+ type: 'cloud'
+}, {
+ type: 'edit'
+}]
diff --git a/src/views/security/maps/map.js b/src/views/security/maps/map.js
new file mode 100644
index 0000000..5c06b43
--- /dev/null
+++ b/src/views/security/maps/map.js
@@ -0,0 +1,6 @@
+export const typeMap = {
+ 'CORPORATION': '公司',
+ 'MALL': '门店',
+ 'STORE': '店长',
+ 'STAFF': '店员'
+}
diff --git a/src/views/security/modules/CreateForm.vue b/src/views/security/modules/CreateForm.vue
new file mode 100644
index 0000000..f5e76a5
--- /dev/null
+++ b/src/views/security/modules/CreateForm.vue
@@ -0,0 +1,83 @@
+
+
+
+ 取消
+ 保存
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/security/modules/UserDetail.vue b/src/views/security/modules/UserDetail.vue
new file mode 100644
index 0000000..35c351b
--- /dev/null
+++ b/src/views/security/modules/UserDetail.vue
@@ -0,0 +1,48 @@
+
+
+
+ {{ model.name }}
+ {{ model.code }}
+ {{ model.createdAt | moment('YYYY-MM-DD') }}
+ {{ model.updatedAt }}
+ {{ model.status | statusFilter }}
+ {{ model.sortOrder }}
+
+
+
+
+
diff --git a/src/views/security/resource/FunctionResource.vue b/src/views/security/resource/FunctionResource.vue
new file mode 100644
index 0000000..ecbfc52
--- /dev/null
+++ b/src/views/security/resource/FunctionResource.vue
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+ -
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/security/resource/ResourceTree.vue b/src/views/security/resource/ResourceTree.vue
new file mode 100644
index 0000000..8087737
--- /dev/null
+++ b/src/views/security/resource/ResourceTree.vue
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 新增根菜单
+ 新增下级菜单
+ 删除当前菜单
+ 刷新缓存
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/security/resource/modules/CreateForm.vue b/src/views/security/resource/modules/CreateForm.vue
new file mode 100644
index 0000000..63d52fe
--- /dev/null
+++ b/src/views/security/resource/modules/CreateForm.vue
@@ -0,0 +1,151 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i.label }}
+
+
+
+
+
+
+
+
+
+
+ 启用
+ 停用
+
+
+
+
+
+
+ 保存
+ 取消
+
+
+
+
+
+
+
diff --git a/src/views/security/role/RoleList.vue b/src/views/security/role/RoleList.vue
new file mode 100644
index 0000000..f239caf
--- /dev/null
+++ b/src/views/security/role/RoleList.vue
@@ -0,0 +1,198 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 全部
+ {{ item }}
+
+
+
+
+ 查询
+ {queryParam = {}, handleRefresh()}">重置
+
+
+ 新增
+
+
+
+
+
+ {{ record.createdAt | moment }}
+
+
+
+
+ 修改
+
+ handleDelete(record)">
+ 删除
+
+
+ 详情
+
+
+
+
+
+
+
+
+
diff --git a/src/views/security/role/RoleResource.vue b/src/views/security/role/RoleResource.vue
new file mode 100644
index 0000000..5056d46
--- /dev/null
+++ b/src/views/security/role/RoleResource.vue
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+ -
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/security/role/modules/CreateForm.vue b/src/views/security/role/modules/CreateForm.vue
new file mode 100644
index 0000000..89aed8f
--- /dev/null
+++ b/src/views/security/role/modules/CreateForm.vue
@@ -0,0 +1,132 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/security/role/modules/RoleDetail.vue b/src/views/security/role/modules/RoleDetail.vue
new file mode 100644
index 0000000..4ea1c36
--- /dev/null
+++ b/src/views/security/role/modules/RoleDetail.vue
@@ -0,0 +1,46 @@
+
+
+
+ {{ model.name }}
+ {{ model.description }}
+ {{ model.createdAt | moment }}
+ {{ model.updatedAt | moment }}
+
+
+
+
+
diff --git a/src/views/security/user/UserList.vue b/src/views/security/user/UserList.vue
new file mode 100644
index 0000000..9c13366
--- /dev/null
+++ b/src/views/security/user/UserList.vue
@@ -0,0 +1,182 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 全部
+ {{ item }}
+
+
+
+
+ 查询
+ {queryParam = {}, handleRefresh()}">重置
+ 新增
+
+
+
+
+
+
+
+
+
+ 修改
+
+ 详情
+
+ 修改密码
+
+ 分配角色
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/security/user/UserLogin.vue b/src/views/security/user/UserLogin.vue
new file mode 100644
index 0000000..62ae41e
--- /dev/null
+++ b/src/views/security/user/UserLogin.vue
@@ -0,0 +1,80 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 登录
+
+
+
+
+
+
+
+
diff --git a/src/views/security/user/modules/CreateForm.vue b/src/views/security/user/modules/CreateForm.vue
new file mode 100644
index 0000000..df6ba08
--- /dev/null
+++ b/src/views/security/user/modules/CreateForm.vue
@@ -0,0 +1,173 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 公司管理员
+
+
+ 门店管理员
+
+
+ 店长
+
+
+ 店员
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/security/user/modules/OrgTree.vue b/src/views/security/user/modules/OrgTree.vue
new file mode 100644
index 0000000..7207282
--- /dev/null
+++ b/src/views/security/user/modules/OrgTree.vue
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+ {{ name.substr(0, name.indexOf(searchValue)) }}
+ {{ searchValue }}
+ {{ name.substr(name.indexOf(searchValue) + searchValue.length) }}
+
+ {{ name }}
+
+
+
+
+
+
+
diff --git a/src/views/security/user/modules/UserDetail.vue b/src/views/security/user/modules/UserDetail.vue
new file mode 100644
index 0000000..1a7c87e
--- /dev/null
+++ b/src/views/security/user/modules/UserDetail.vue
@@ -0,0 +1,56 @@
+
+
+
+ {{ model.username }}
+ {{ model.realName }}
+ {{ model.createdAt | moment }}
+ {{ model.updatedAt | moment }}
+ {{ model.enabled | statusFilter }}
+ {{ model.mobile }}
+ {{ model.orgName }}
+ {{ model.type | typeFilter }}
+ {{ model.address }}
+ {{ model.email }}
+
+
+
+
+
diff --git a/src/views/security/user/modules/UserRole.vue b/src/views/security/user/modules/UserRole.vue
new file mode 100644
index 0000000..697b5d6
--- /dev/null
+++ b/src/views/security/user/modules/UserRole.vue
@@ -0,0 +1,145 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/status/enabledMap.js b/src/views/status/enabledMap.js
new file mode 100644
index 0000000..0c46776
--- /dev/null
+++ b/src/views/status/enabledMap.js
@@ -0,0 +1,4 @@
+export const enabledMap = {
+ 'false': '停用',
+ 'true': '启用'
+}
diff --git a/src/views/status/statusMap.js b/src/views/status/statusMap.js
new file mode 100644
index 0000000..5ce705e
--- /dev/null
+++ b/src/views/status/statusMap.js
@@ -0,0 +1,4 @@
+export const statusMap = {
+ '0': '停用',
+ '1': '启用'
+}
diff --git a/vue.config.js b/vue.config.js
index d6f5534..a687f1e 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -93,21 +93,21 @@ const vueConfig = {
},
devServer: {
- // development server port 8000
- port: 8000
- // If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
- // proxy: {
- // '/api': {
- // target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro',
- // ws: false,
- // changeOrigin: true
- // }
- // }
+ disableHostCheck: true, // vueĿеġInvalid Host header
+ port: 8000, // development server port Ĭ8000ÿĿĶ˿ںǶٶ
+ // ҪƳmockjs /src/main.jsL11
+ proxy: {
+ '/dawa': { // APIı־APIַôͿʼƥ
+ target: 'http://a.3a6.cn', // ַҲIPַAPI/api/getList, ᱻhttp://www.baidu.com/api/getList
+ ws: false,
+ changeOrigin: true // targetҪһchangeOrigin: trueʧܡ
+ }
+ }
},
// disable source map in production
productionSourceMap: false,
- lintOnSave: undefined,
+ lintOnSave: false,
// babel-loader no-ignore node_modules/*
transpileDependencies: []
}