From ca22cdd5550cfa0defb0f430c538698182cdaec1 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期一, 30 十二月 2024 16:42:49 +0800
Subject: [PATCH] Merge branch 'master' of http://dlindusit.com:53929/r/iailab-plat-ui-vue3

---
 src/views/system/tenantPackage/TenantPackageForm.vue |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/src/views/system/tenantPackage/TenantPackageForm.vue b/src/views/system/tenantPackage/TenantPackageForm.vue
index 7492889..476a1df 100644
--- a/src/views/system/tenantPackage/TenantPackageForm.vue
+++ b/src/views/system/tenantPackage/TenantPackageForm.vue
@@ -10,6 +10,12 @@
       <el-form-item label="套餐名" prop="name">
         <el-input v-model="formData.name" placeholder="请输入套餐名" />
       </el-form-item>
+      <el-form-item label="套餐介绍" prop="description">
+        <el-input type="textarea" v-model="formData.description" placeholder="请输入套餐介绍" />
+      </el-form-item>
+      <el-form-item label="套餐图标">
+        <UploadImg v-model="formData.icon" :limit="1" />
+      </el-form-item>
       <el-form-item label="菜单权限">
         <el-card class="cardHeight">
           <template #header>
@@ -39,6 +45,18 @@
             show-checkbox
           />
         </el-card>
+      </el-form-item>
+      <el-form-item label="套餐标签" prop="labels">
+        <el-select
+          v-model="formData.labels"
+          filterable
+          multiple
+          allow-create
+          placeholder="请输入套餐标签"
+          style="width: 500px"
+        >
+          <el-option v-for="label in formData.labels" :key="label" :label="label" :value="label" />
+        </el-select>
       </el-form-item>
       <el-form-item label="状态" prop="status">
         <el-radio-group v-model="formData.status">
@@ -81,6 +99,9 @@
 const formData = ref({
   id: null,
   name: null,
+  icon: undefined,
+  labels: [],
+  description: null,
   remark: null,
   menuIds: [],
   status: CommonStatusEnum.ENABLE
@@ -161,6 +182,9 @@
   formData.value = {
     id: null,
     name: null,
+    icon: undefined,
+    labels: [],
+    description: null,
     remark: null,
     menuIds: [],
     status: CommonStatusEnum.ENABLE

--
Gitblit v1.9.3