-
-
-
-
-
-
-
-
-
-
搜索
重置
@@ -27,7 +15,7 @@
新增
+ v-hasPermi="['system:banner:create']">新增
@@ -43,13 +31,6 @@
-
-
-
-
-
-
-
{{ parseTime(scope.row.createTime) }}
@@ -58,10 +39,10 @@
修改
+ v-hasPermi="['system:banner:update']">修改
删除
+ v-hasPermi="['system:banner:delete']">删除
@@ -77,24 +58,11 @@
-
+
-
-
-
-
-
-
-
-
- {{ dict.label }}
-
-
-
+
+
+
+
@@ -178,10 +192,17 @@ import {
} from '@/api/system/tenant';
import {CommonStatusEnum} from '@/utils/constants'
import {getTenantPackageList} from '@/api/system/tenantPackage';
+import ImageUpload from '@/components/ImageUpload/index.vue';
+import CommissionSetting from '@/views/system/tenant/commissionSetting.vue';
+import NoticeSetting from '@/views/system/tenant/noticeSetting.vue';
export default {
name: 'SystemTenant',
- components: {},
+ components: {
+ NoticeSetting,
+ CommissionSetting,
+ ImageUpload
+ },
data() {
return {
// 遮罩层
@@ -200,6 +221,21 @@ export default {
title: '',
// 是否显示弹出层
open: false,
+ commissionSetting: {
+ show: false,
+ data: {
+ id: '',
+ goodsCommission: '',
+ memberCommission: ''
+ }
+ },
+ noticeSetting: {
+ show: false,
+ data: {
+ id: '',
+ notice: ''
+ }
+ },
// 查询参数
queryParams: {
pageNo: 1,
@@ -292,7 +328,23 @@ export default {
this.resetForm('queryForm');
this.handleQuery();
},
- handleLook(row){
+ handleCommission(row) {
+ Object.assign(this.commissionSetting.data, row)
+ this.commissionSetting.show = true
+ },
+ handleNotice(row) {
+ Object.assign(this.noticeSetting.data, row)
+ this.noticeSetting.show = true
+ },
+ handleBanner(row) {
+ this.$router.push({
+ path: '/system/tenant/banner',
+ query: {
+ id: row.id
+ }
+ })
+ },
+ handleLook(row) {
this.form = row
this.open = true
this.isLook = true
@@ -370,3 +422,17 @@ export default {
}
};
+
diff --git a/yudao-ui-admin/src/views/system/tenant/noticeSetting.vue b/yudao-ui-admin/src/views/system/tenant/noticeSetting.vue
new file mode 100644
index 000000000..1cd4307cb
--- /dev/null
+++ b/yudao-ui-admin/src/views/system/tenant/noticeSetting.vue
@@ -0,0 +1,81 @@
+