+
+
![]()
+
+
{{ props.name }}
+
+ {{ props.intro }}
+
-
@@ -53,13 +55,15 @@ const getIconPath = (iconName) => {
diff --git a/src/views/marketing_center/new_user_discount/components/dialog-plans.vue b/src/views/marketing_center/new_user_discount/components/dialog-plans.vue
new file mode 100644
index 0000000..3684750
--- /dev/null
+++ b/src/views/marketing_center/new_user_discount/components/dialog-plans.vue
@@ -0,0 +1,149 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ {{ isedit ? "更新" : "提交" }}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/marketing_center/new_user_discount/index.vue b/src/views/marketing_center/new_user_discount/index.vue
new file mode 100644
index 0000000..df3f38c
--- /dev/null
+++ b/src/views/marketing_center/new_user_discount/index.vue
@@ -0,0 +1,290 @@
+
+
+
+
+
+
+
+ 固定金额
+ 随机立减
+
+
+
+ 元
+
+
+
+
+
+
+
+ 添加方案
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+ 保存
+
+ 取消
+
+
+
+
+
+
+
+
+
diff --git a/src/views/marketing_center/super_vip/index.vue b/src/views/marketing_center/super_vip/index.vue
index 217d6d6..f9a15f5 100644
--- a/src/views/marketing_center/super_vip/index.vue
+++ b/src/views/marketing_center/super_vip/index.vue
@@ -324,6 +324,7 @@ import CouponLists from "./components/coup-lists.vue";
import { ref, reactive, watch, toRaw, getCurrentInstance, onMounted } from "vue";
import { ElMessage } from "element-plus";
import { useRouter } from "vue-router";
+import a from "@/utils/test";
const inputStyle = {
width: "340px",
@@ -344,7 +345,7 @@ const activeTab = ref("basic");
const conditionLists = ref([
{ label: "绑定手机号", checked: false, code: "BIND_PHONE" },
{ label: "订单达成指定次数", checked: false, value: "", code: "ORDER" },
- { label: "消费达到指定金额", checked: false, value: "", cpde: "COST_AMOUNT" },
+ { label: "消费达到指定金额", checked: false, value: "", code: "COST_AMOUNT" },
{ label: "充值达到指定金额", checked: false, value: "", code: "RECHARGE_AMOUNT" },
]);
const basicForm = reactive({
@@ -383,6 +384,14 @@ function basicSubmit() {
// if (data.openType == "CONDITION") {
// data.configList = null;
// }
+ data.conditionList = conditionLists.value
+ .filter((v) => v.checked)
+ .map((v) => {
+ return {
+ code: v.code,
+ value: v.value,
+ };
+ });
memberApi.editConfig(data).then((res) => {
ElMessage.success("保存成功");
});
diff --git a/src/views/user/list/components/user-coupon-dialog.vue b/src/views/user/list/components/user-coupon-dialog.vue
new file mode 100644
index 0000000..f0a7294
--- /dev/null
+++ b/src/views/user/list/components/user-coupon-dialog.vue
@@ -0,0 +1,114 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+ 删除
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/user/list/config/content.ts b/src/views/user/list/config/content.ts
index b8220e4..ce5403f 100644
--- a/src/views/user/list/config/content.ts
+++ b/src/views/user/list/config/content.ts
@@ -56,6 +56,14 @@ const contentConfig: IContentConfig
= {
templet: "custom",
slotName: "mobile",
},
+ {
+ label: "优惠券",
+ align: "center",
+ prop: "coupon",
+ width: 140,
+ templet: "custom",
+ slotName: "coupon",
+ },
{
label: "余额",
align: "center",
diff --git a/src/views/user/list/index.vue b/src/views/user/list/index.vue
index a16489c..b32fac4 100644
--- a/src/views/user/list/index.vue
+++ b/src/views/user/list/index.vue
@@ -86,6 +86,15 @@
style="margin-left: 2px"
/>
+
+
+
+ 1张
+
+ 查看详情
+
+
+
@@ -108,10 +117,14 @@
@formDataChange="formDataChange"
@submit-click="handleSubmitClick"
>
+
+
+