diff --git a/src/components/apass-dialog.vue b/src/components/apass-dialog.vue index cc4efd946ed4b85b5060b8a70f1d7560e636ef60..b3d9191df937498082271d3149710de3778af338 100644 --- a/src/components/apass-dialog.vue +++ b/src/components/apass-dialog.vue @@ -7,27 +7,35 @@ top="25vh" >

- +

-
+
-

+

-
- - 取消 +
+ - - 确定 +
@@ -40,16 +48,28 @@ export default { props: { width: { type: String, - default: () => "400px", + default: () => "420px", }, title: { type: String, - default: () => "提示", + default: () => "", }, msg: { type: String, default: () => "", }, + cancelText: { + type: String, + default: () => "", + }, + sunbmitText: { + type: String, + default: () => "", + }, + submit: { + type: Function, + default: () => null, + }, }, data: () => ({ showDialog: false, @@ -62,7 +82,11 @@ export default { this.showDialog = false; }, dialogSubmit() { - this.$emit("submit"); + if (typeof this.submit === "function") { + this.submit(); + } else { + this.$emit("submit"); + } this.hide(); }, }, diff --git a/src/components/apass-list.vue b/src/components/apass-list.vue index 6c73ecd495e230b3b7e9e670403ea096a419b526..c7ad3105ddb533e97e889d784afe1322d3564ce8 100644 --- a/src/components/apass-list.vue +++ b/src/components/apass-list.vue @@ -6,6 +6,18 @@
+ + {{ showListFilter ? "收起" : "筛选" }} + +
@@ -13,7 +25,7 @@
+ + +
-
+ +
+
+ +
+ @@ -125,6 +184,9 @@ export default { .header-container .el-button + .el-button { margin-left: 25px; } +.apass_filter { + margin-top: 10px; +} .cross_line { border-top: 1px solid #e3e5ef; margin: 20px -20px 0; diff --git a/src/components/apass-table.vue b/src/components/apass-table.vue new file mode 100644 index 0000000000000000000000000000000000000000..8e09813a542ef7370492fda908708c2c5e3a4b08 --- /dev/null +++ b/src/components/apass-table.vue @@ -0,0 +1,62 @@ + + + diff --git a/src/pages/workbench/fwgl/fwglList.vue b/src/pages/workbench/fwgl/fwglList.vue index 4428d30ee32d65b75d5881f0142e62768cf2784d..a7bac7bc5385d137038fb671f2c06e401a3aed24 100644 --- a/src/pages/workbench/fwgl/fwglList.vue +++ b/src/pages/workbench/fwgl/fwglList.vue @@ -1,73 +1,142 @@ diff --git a/src/store/index.js b/src/store/index.js index cf5d245b27702a94568e9ec9f64cc5c1ac21bf2a..1cea098136128e96b79f3156eee7c13dc6c724cf 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -7,7 +7,7 @@ const store = new Vuex.Store({ role: 2, // 0:普通用户,1:组织管理员,2:超级管理员 serviceShopMenu: "shopDataList", // 服务超市侧边栏 fwglNav: [ - ["注册发布的服务", "申请的服务", "审批的服务", "云资源服务"], // 普通用户 + ["注册发布的服务", "申请的服务", "云资源服务"], // 普通用户 ["组织服务管理", "服务审批管理", "云资源管理"], // 组织管理员 ["平台服务管理", "服务审批管理", "云资源管理"], // 超级管理员 ], // 服务管理列表,onlyRead