MONSTER-ygh 11 ヶ月 前
コミット
bb48888e05

+ 246 - 0
src/myComponents/selectUser.vue

@@ -0,0 +1,246 @@
+<template>
+    <el-dialog append-to-body :title="title" :visible.sync="dialogVisible" @open="dialogOpen" @close="dialogClose"
+        :close-on-click-modal="false" :destroy-on-close="true" width="800px" class="information-dialog"
+        custom-class="template-con-dialog" top="auto">
+        <div class="form-con">
+            <div class="form_content">
+                <!-- left -->
+                <div class="c_left">
+                    <div class="c_left_btn">
+                        <div>已选成员</div>
+                        <el-button type="text" @click="clearUser">清空</el-button>
+                    </div>
+                    <div class="c_left_tag">
+                        <el-tag class="tag" size="closable" v-for="(item, index) in nameList" :key="index"
+                            @close="handleClose(item)" closable>
+                            {{ item.username }}
+                        </el-tag>
+                    </div>
+                </div>
+                <!-- right -->
+                <div class="c_right">
+                    <el-input prefix-icon="el-icon-search" v-model="userValue" placeholder="输入搜索"></el-input>
+                    <div class="c_checkbox">
+                        <el-checkbox :indeterminate="isIndeterminate" v-model="checkAll"
+                            @change="handleCheckAllChange">全选</el-checkbox>
+                        <div style="margin: 15px 0;"></div>
+                        <el-checkbox-group class="checkBox" v-model="checkedUsers" @change="handleCheckedCitiesChange">
+                            <el-checkbox class="checkBox_item" v-for="(item, index) in userList" :label="item.userid"
+                                :key="index">{{
+                                    item.username
+                                }}</el-checkbox>
+                        </el-checkbox-group>
+                    </div>
+                </div>
+            </div>
+ 
+            <div class="drawer-footer">
+                <el-button @click="dialogVisible = false">
+                    取消
+                </el-button>
+                <el-button @click="submitForm()" type="primary">
+                    确定
+                </el-button>
+            </div>
+        </div>
+    </el-dialog>
+</template>
+  
+<script>
+import { listUser } from '@/api/system/user'
+export default {
+    props: {
+        // 弹窗组件是否显示
+        showDialog: {
+            type: Boolean,
+            default: false,
+        },
+        title: {
+            type: String,
+            default: '新增',
+        },
+ 
+        modalDetails: {
+            type: Array,
+            default: undefined,
+        }
+    },
+    data() {
+        return {
+            userValue: '', //人员搜索
+            userList: [], //用户集合
+            userId: this.$store.getters.userId,
+            nameList: [],//已选择人员
+            checkAll: false,
+            checkedUsers: [], // 选中的
+            isIndeterminate: false
+        }
+    },
+    computed: {
+        dialogVisible: {
+            get: function () {
+                return this.showDialog
+            },
+            set: function (val) {
+                this.$emit('update:showDialog', val)
+            },
+        },
+    },
+    methods: {
+        // 弹窗组件显示事件
+        dialogOpen() {
+            this.listUser()
+            this.checkedUsers = []
+            if (this.modalDetails.length) {
+                this.modalDetails.forEach((item) => {
+                    this.checkedUsers.push(item.userid)
+                })
+                this.nameList = this.modalDetails//已选择人员
+                this.checkAll = false
+                this.isIndeterminate = false
+                this.userValue = '' //人员搜索
+                this.userList = [] //用户集合
+            } else {
+                this.nameList = []//已选择人员
+                this.checkAll = false
+                this.checkedUsers = [] // 选中的
+                this.isIndeterminate = false
+                this.userValue = '' //人员搜索
+                this.userList = [] //用户集合
+            }
+ 
+        },
+        // 查询支部人员集合
+        async listUser() {
+            let res = await listUser({
+                userid: this.userId,
+                username: this.userValue
+            })
+            if (res.success) {
+                this.userList = res.obj
+            } else {
+                this.$message({
+                    type: 'error',
+                    message: res.msg
+                });
+            }
+ 
+        },
+        // 清空按钮
+        clearUser() {
+            this.handleCheckAllChange(false)
+            this.isIndeterminate = false;
+            this.checkAll = false
+        },
+        // 单项删除按钮(){
+        handleClose(item) {
+            let arr = this.checkedUsers.filter((id) => {
+                return item.userid !== id
+            })
+            console.log(arr);
+            this.checkedUsers = arr
+            this.handleCheckedCitiesChange(arr)
+        },
+        // 全选按钮
+        handleCheckAllChange(val) {
+            let arr = []
+            let arrName = []
+            this.userList.forEach((item) => {
+                arr.push(item.userid)
+                arrName.push(item)
+            })
+            this.checkedUsers = val ? arr : [];
+            this.nameList = val ? arrName : [];
+            this.isIndeterminate = false;
+ 
+        },
+        // 单选按钮
+        handleCheckedCitiesChange(value) {
+            // console.log(value);
+            let checkedCount = value.length;
+            this.checkAll = checkedCount === this.userList.length;
+            this.isIndeterminate = checkedCount > 0 && checkedCount < this.userList.length;
+            let arrName = []
+            value.forEach((user) => {
+                this.userList.forEach((item) => {
+                    if (user == item.userid) {
+                        arrName.push(item)
+                    }
+                })
+            })
+            this.nameList = []
+ 
+            this.nameList = Array.from(new Set(arrName))
+            // console.log(this.nameList);
+        },
+ 
+        // 弹窗组件关闭事件
+        dialogClose() {
+        },
+        // 提交表单事件
+        submitForm() {
+            this.$emit('submitForm', this.nameList)
+        },
+ 
+ 
+    },
+}
+</script>
+  
+<style lang="scss" scoped>
+.form-con {
+    padding-top: 10px;
+    margin: auto;
+ 
+    .form_content {
+        height: 500px;
+        display: flex;
+ 
+        .c_left {
+            width: 50%;
+            border-right: 1px solid #EBEEF5;
+            padding: 0 10px;
+ 
+            .c_left_btn {
+                height: 32px;
+                display: flex;
+                justify-content: space-between;
+                align-items: center;
+            }
+ 
+            .c_left_tag {
+                margin-top: 10px;
+                display: flex;
+                flex-wrap: wrap;
+            }
+ 
+            .tag {
+                margin-left: 0 !important;
+                margin-right: 10px;
+                margin-bottom: 10px;
+            }
+ 
+        }
+ 
+        .c_right {
+            width: 50%;
+            padding: 0 10px;
+ 
+            .c_checkbox {
+                margin-top: 10px;
+            }
+ 
+            .checkBox {
+                display: flex;
+                flex-direction: column;
+ 
+                .checkBox_item {
+                    height: 30px;
+                    display: flex;
+                    align-items: center;
+                }
+            }
+        }
+    }
+}
+</style>

+ 231 - 0
src/views/tourism/marketingActivities/couponAllocationSet.vue

@@ -0,0 +1,231 @@
+<template>
+    <div class="app-container">
+      <el-row :gutter="20">
+        <div 
+    style="padding: 40px;"
+    v-loading="loading"
+    :element-loading-text="loadingText"
+    element-loading-spinner="el-icon-loading"
+    element-loading-background="rgba(0, 0, 0, 0.8)"
+    >
+        <el-form :model="form" ref="form" size="small" :rules="rules" label-width="120px">
+            <div class="form-title"><span>基本信息</span></div>
+            <el-form-item label="积分功能:" prop="status">
+                <el-radio-group v-model="form.status">
+                    <el-radio :label="1">关闭</el-radio>
+                    <el-radio :label="2">开启</el-radio>
+                </el-radio-group>
+            </el-form-item>
+            <el-form-item label="优惠卷:" prop="detailsArr">
+                <selectUser 
+                    v-model="form.detailsArr"
+                    title="新增提拔人员" 
+                    @submitForm="()=>$refs.form.validateField('detailsArr')">
+                </selectUser>
+            </el-form-item>
+            <div style="display: flex;align-items: center;">
+                <el-form-item v-if="form.isDischarge==2" label="积分抵现系数" prop="dischargeRate">
+                  <el-input-number style="width: 300px" v-model="form.dischargeRate"  placeholder="请输积分抵现系数" controls-position="right"></el-input-number>
+                </el-form-item>
+                <span style="margin-left: 15px; padding-bottom:15px; font-size: 12px;color: #ccc;"></span>
+            </div>
+            <div v-if="form.status==2" style="display: flex;align-items: center;">
+                <el-form-item label="积分奖励系数" prop="exchangeRate">
+                  <el-input-number style="width: 300px" v-model="form.exchangeRate"  placeholder="请输积分奖励系数" controls-position="right"></el-input-number>
+                </el-form-item>
+                <span style="margin-left: 15px; padding-bottom:15px; font-size: 12px;color: #ccc;">(会员下单获取积分值=实付金额*积分规则基础系数奖励系数越大,获得成长值越多,建议数值设置不要过大)</span>
+            </div>
+            <div style="display: flex;align-items: center;">
+                <el-form-item label="积分自动清零" prop="isClean">
+                    <el-radio-group v-model="form.isClean">
+                        <el-radio :label="1">关闭</el-radio>
+                        <el-radio :label="2">开启</el-radio>
+                    </el-radio-group>
+                </el-form-item>
+                <el-form-item v-if="form.isClean==2"  label="每年固定" prop="cleanTime">
+                    <el-date-picker
+                    style="width: 300px"
+                    v-model="form.cleanTime"
+                    type="datetime"
+                    format="MM-dd"
+                    value-format="MM-dd"
+                    placeholder="请选择每年固定自动清零时间">
+                    </el-date-picker>
+                </el-form-item>
+                <span v-if="form.isClean==2" style="margin-left: 15px; padding-bottom:15px; font-size: 12px;color: #ccc;">自动清零</span>
+            </div>
+            
+          <el-form-item style="margin-top: 15px;">
+            <el-button :loading="loading" @click="initData()">取消</el-button>
+            <el-button
+                v-hasPermi="configPermi.seva"
+                type="primary"
+                @click="submitForm"
+                :loading="loading"
+                element-loading-text="提交中..."
+                element-loading-spinner="el-icon-loading"
+                element-loading-background="rgba(0, 0, 0, 0.8)"
+            > 
+                {{ loading ? '提交中...' : '保存' }}
+            </el-button>
+          </el-form-item>
+        </el-form>
+    </div>
+      </el-row>
+    </div>
+  </template>
+  
+  <script>
+import { 
+  getTableDeatilsByIdApi,
+  addTableApi,
+ } from '@/api/CURD'
+ import selectUser from './formBox/selectUser.vue';
+  export default {
+    name: "IntegralRule",
+    dicts: [],
+    components: {selectUser},
+    data() {
+      return {
+        title: "积分规则",// 通用标题
+        loading: false,
+        loadingText: "拼命加载数据中...",
+        configPermi: {
+            add: [''], // 新增权限
+            details: [''], // 详情权限
+            delect: [''], // 删除权限
+            edit: [''], // 编辑权限http://localhost/scenicAreaManagement/contentManagement/scenicAreaManagement/contentManagement/questions
+            upload: [''],// 导入权限
+            export: [''],// 导出权限http://localhost/scenicAreaManagement/contentManagement/scenicAreaManagement/contentManagement/suggestions
+            release: [''],
+            seva: ['pointsManagement:IntegralRecord:seva'] // 保存
+        },
+        configUrl: {
+            details: '/merchant/creditConfig/getCreditConfig', // 详情地址
+            edit: '/merchant/creditConfig/insertOrUpdate', // 编辑地址
+        },
+        form: {},
+        rules: {
+            status: [{ required: true, message: "请选择积分功能", trigger: ["change","blur"] }],
+            isDischarge: [{ required: true, message: "请选择积分抵现", trigger: ["change","blur"] }],
+            isClean: [{ required: true, message: "请选择积分自动清零", trigger: ["change","blur"] }],
+            cleanTime: [{ required: true, message: "请选择每年固定自动清零时间", trigger: ["change","blur"] }],
+            dischargeRate: [{ required: true, message: "请输积分抵现系数", trigger: ["change","blur"] }],
+            exchangeRate: [{ required: true, message: "请输入积分奖励系数", trigger: ["change","blur"] }],
+            detailsArr: [{ required: true, message: "请选择积分抵现", trigger: ["change","blur"] }],
+          },
+          detailsArr: []
+      };
+    },
+    created() {
+        this.initData()
+    },
+    methods: {
+       /**  初始化  */
+        initData() {
+            this.loadingText = "拼命加载数据中..."
+            this.loading = true
+            this.getTableDeatilsFun()
+        },
+        /** 获取详情 */
+        async getTableDeatilsFun(row) {
+            this.loading = true
+            try {
+                let res = await getTableDeatilsByIdApi(this.configUrl.details,{})
+                if(res.code == 200) {
+                let obj = {
+                ...res.data
+                }
+                this.$set(this,'form',JSON.parse(JSON.stringify(obj)))
+                this.formStatus = 1
+                this.$nextTick(()=>{
+                    if(this.form.longitude&&this.form.latitude){
+                    console.log("dsfasfdasdfasdfadsfads")
+                    this.$refs.qqMapBox.setMakerLayer({
+                        height: 0,
+                        lat: this.form.latitude,
+                        lng: this.form.longitude,
+                    },true)
+                    }
+                    
+                })
+                
+                }else {
+                this.$message.error('获取详情失败!!!');
+                this.formStatus = 2
+                this.loading = false
+                this.open = false;
+                }
+                this.$nextTick(()=>{
+                    this.reset()
+                })
+                this.loading = false
+            } catch (error) {
+                console.error('获取详情失败!!!!',error)
+                this.formStatus = 2
+                this.loading = false
+                this.open = false;
+            }
+        },
+        /**
+         * 保存
+         * @date 2023-11-22
+         * @returns {any}
+         */
+        submitForm() {
+            this.$refs["form"].validate(valid => {
+                if (valid) {
+                this.loadingText = "提交数据中..."
+                return
+                this.loading = true
+                addTableApi(
+                    this.configUrl.edit,{
+                    ...this.form
+                    }).then(response => {
+                    this.$modal.msgSuccess("修改成功");
+                    this.loading = false
+                    this.initData()
+                    }).catch(()=>{
+                    this.$message.error("修改失败!!!");
+                    this.loading = false
+                })
+                }
+            });
+        },
+        /**
+         * 重置
+         * @date 2023-11-22
+         * @returns {any}
+         */
+        reset() {
+            if(this.$refs["form"]) {
+                this.$refs["form"].clearValidate();
+            }
+        },
+        setDot(params){
+            this.$set(this.form,'longitude',params.lng)
+            this.$set(this.form,'latitude',params.lat)
+        },
+        submitForm1 () {
+            
+        }
+    }
+  };
+  </script>
+  <style lang="scss" scoped>
+    .form-title {
+        padding: 0 0 10px 0;
+
+        span {
+            display: flex;
+            color: rgba(65, 80, 88, 1);
+            font-size: 16px;
+            font-family: SourceHanSansSC;
+            font-weight: 700;
+            line-height: 23px;
+            border-left: 4px solid rgb(22, 132, 252);
+            padding-left: 10px;
+        }
+
+    }
+  </style>

+ 292 - 0
src/views/tourism/marketingActivities/couponManagement.vue

@@ -0,0 +1,292 @@
+<template>
+    <div class="app-container">
+      <el-row :gutter="20">
+        <!--用户数据-->
+        <el-col :span="24" :xs="24">
+          <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
+            <el-form-item label="批次号" prop="realName">
+              <el-input
+                v-model="queryParams.realName"
+                placeholder="请输入批次号"
+                clearable
+                style="width: 240px"
+                @keyup.enter.native="handleQuery"
+              />
+            </el-form-item>
+            <el-form-item label="优惠卷名称" prop="memberCode" label-width="88px">
+              <el-input
+                v-model="queryParams.memberCode"
+                placeholder="请输入优惠卷名称"
+                clearable
+                style="width: 240px"
+                @keyup.enter.native="handleQuery"
+              />
+            </el-form-item>
+            <el-form-item>
+              <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+              <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+            </el-form-item>
+          </el-form>
+  
+          <el-row :gutter="10" class="mb8">
+            <right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
+          </el-row>
+  
+          <el-table v-loading="loading" :data="tableList" @selection-change="handleSelectionChange">
+            <el-table-column type="index" label="序号" align="center"  />
+            <el-table-column label="优惠券名称" align="center" key="realName" prop="realName" v-if="columns[0].visible" :show-overflow-tooltip="true" />
+            <el-table-column label="券种类型" align="center" key="type" prop="type" v-if="columns[1].visible" :show-overflow-tooltip="true">
+              <template slot-scope="scope">
+                <dict-tag :options="dict.type.tourism_memberInformation_user_type" :value="scope.row.type"/>
+              </template>
+            </el-table-column>
+            <el-table-column label="券种说明" align="center" key="levelName" prop="levelName" v-if="columns[2].visible" :show-overflow-tooltip="true" />
+            <el-table-column label="发放数量" align="center" key="mobile" prop="mobile" v-if="columns[3].visible" :show-overflow-tooltip="true" />
+            <el-table-column label="适用对象" align="center" key="cardId" prop="cardId" v-if="columns[4].visible" :show-overflow-tooltip="true" />
+            <el-table-column label="领取限制" align="center" key="credit" prop="credit" v-if="columns[5].visible" :show-overflow-tooltip="true" />
+            <el-table-column label="使用有效期" align="center" key="balance" prop="balance" v-if="columns[6].visible" :show-overflow-tooltip="true" />
+            <el-table-column label="适用产品" align="center" key="buyCount" prop="buyCount" v-if="columns[7].visible" :show-overflow-tooltip="true" />
+            <el-table-column label="已领取统计" align="center" key="consumeTotal" prop="consumeTotal" v-if="columns[8].visible" :show-overflow-tooltip="true" />
+            <el-table-column label="创建时间" align="center" key="consumeTotal1" prop="consumeTotal1" v-if="columns[9].visible" :show-overflow-tooltip="true" />
+            <el-table-column label="禁用/启用" align="center" key="status" v-if="columns[10].visible">
+              <template slot-scope="scope">
+                <switchBox 
+                :defaultChecked="true" 
+                v-model="scope.row.status" 
+                @changeFun="openAttraction(scope.row)" 
+                :disabled="false"
+                :active-value="1"
+                :inactive-value="0"
+                 />
+              </template>
+            </el-table-column>
+            <el-table-column
+              label="操作"
+              align="center"
+              width="160"
+              class-name="small-padding fixed-width"
+            >
+              <template slot-scope="scope" >
+                <el-button
+                  size="mini"
+                  type="text"
+                  icon="el-icon-delete"
+                  @click="handleDelete(scope.row)"
+                  v-hasPermi="configPermi.delect"
+                >删除</el-button>
+                <el-button
+                  size="mini"
+                  type="text"
+                  icon="el-icon-edit"
+                  @click="handleUpdate(scope.row)"
+                  v-hasPermi="configPermi.edit"
+                >修改</el-button>
+                
+                <el-button
+                  size="mini"
+                  type="text"
+                  icon="el-icon-document"
+                  @click="handleDetails(scope.row)"
+                  v-hasPermi="configPermi.details"
+                >详情</el-button>
+              </template>
+            </el-table-column>
+          </el-table>
+  
+          <pagination
+            v-show="total>0"
+            :total="total"
+            :page.sync="queryParams.pageNum"
+            :limit.sync="queryParams.pageSize"
+            @pagination="getList"
+          />
+        </el-col>
+      </el-row>
+      <!--  详情 -->
+      <detailsBox ref="detailsBox" />
+      <addAndEdit ref="addAndEdit" @refresh="getList" />
+    </div>
+  </template>
+  
+  <script>
+  import { 
+    listTableApi, 
+    delTableParamsApi,
+    addTableApi
+  } from "@/api/CURD";
+  import detailsBox from "./detailsBox/couponManagementDetails.vue"
+  import addAndEdit from "./formBox/couponManagementForm.vue"
+  export default {
+    name: "User",
+    dicts: ['tourism_memberInformation_user_type','tourism_memberInformation_status','tourism_memberInformation_sex'],
+    components: {detailsBox,addAndEdit},
+    data() {
+      return {
+        title: "优惠券管理",// 通用标题
+        configPermi: {
+          add: [''], // 新增权限
+          details: ['electronicMembership:memberInformation:details'], // 详情权限
+          delect: ['electronicMembership:memberInformation:delect'], // 删除权限
+          edit: [''], // 编辑权限
+          upload: [''],// 导入权限
+          export: [''],// 导出权限
+        },
+        configUrl: {
+          list: '/member/memberInfo/list', // 列表地址
+          delect: '', // 删除地址
+          upload: '',// 导入地址
+          download:'', // 下载模板地址
+          export: '',// 导出地址
+          updateStatus: '', // 编辑地址
+        },
+        // 遮罩层
+        loading: true,
+        // 选中数组
+        ids: [],
+        // 非单个禁用
+        single: true,
+        // 非多个禁用
+        multiple: true,
+        // 显示搜索条件
+        showSearch: true,
+        // 总条数
+        total: 0,
+        // 用户表格数据
+        tableList: null,
+        // 查询参数
+        queryParams: {
+          pageNum: 1,
+          pageSize: 10,
+        },
+        dateRange: [],
+        // 控制列表是否显示
+        columns: [
+          { key: 0, label: `优惠券名称`, visible: true },
+          { key: 1, label: `券种类型`, visible: true },
+          { key: 2, label: `券种说明`, visible: true },
+          { key: 2.5, label: `发放数量`, visible: true },
+          { key: 3, label: `适用对象`, visible: true },
+          { key: 4, label: `领取限制`, visible: true },
+          { key: 5, label: `使用有效期`, visible: true },
+          { key: 6, label: `适用产品`, visible: true },
+          { key: 7, label: `已领取统计`, visible: true },
+          { key: 8, label: `创建时间`, visible: true },
+          { key: 9, label: `禁用/启用`, visible: true },
+        ],
+      };
+    },
+    created() {
+      this.getList();
+    },
+    methods: {
+      /** 查询用户列表 */
+      getList() {
+        this.loading = true;
+        listTableApi(
+          this.configUrl.list,
+          this.addDateRange(
+            this.queryParams, 
+            this.dateRange)).then(response => {
+              this.tableList = response.data.rows;
+              this.total = response.data.total;
+              this.loading = false;
+          }
+        ).catch (error=>{
+          console.error('获取列表失败!!!!',error)
+          this.tableList = [];
+          this.total = 0;
+          this.loading = false
+        }) 
+      },
+      /** 搜索按钮操作 */
+      handleQuery() {
+        this.queryParams.pageNum = 1;
+        this.getList();
+      },
+      /** 重置按钮操作 */
+      resetQuery() {
+        this.dateRange = [];
+        this.queryParams = {
+          pageNum: 1,
+          pageSize: 10,
+        }
+        this.handleQuery();
+      },
+      // 多选框选中数据
+      handleSelectionChange(selection) {
+        this.ids = selection.map(item => item.id);
+        this.single = selection.length != 1;
+        this.multiple = !selection.length;
+      },
+      /** 新增按钮操作 */
+      handleAdd() {
+        if(this.$refs.addAndEdit) {
+          this.$refs.addAndEdit.initData(this.title + '新增', "ADD",{})
+        }
+      },
+      /** 修改按钮操作 */
+      handleUpdate(row) {
+        if(this.$refs.addAndEdit) {
+          this.$refs.addAndEdit.initData(this.title + '编辑', "EDITInit",{...row})
+        }
+      },
+      handleDetails(row){
+        if(this.$refs.detailsBox) {
+          this.$refs.detailsBox.initData(this.title + '详情', "EDITInit",{...row})
+        }
+      },
+      /** 删除按钮操作 */
+      handleDelete(row) {
+        const ids = row.id || this.ids;
+        return
+        this.$modal.confirm('是否确认删除数据项?').then( () => {
+          return delTableParamsApi(this.configUrl.delect,{
+            id: ids
+          });
+        }).then(() => {
+          this.getList();
+          this.$modal.msgSuccess("删除成功");
+        }).catch((e) => {
+          console.error("删除失败====",e)
+        });
+      },
+      /** 导出按钮操作 */
+      handleExport() {
+        this.download(this.configUrl.export, {
+          ...this.queryParams
+        }, `${this.title }_${new Date().getTime()}.xlsx`)
+      },
+      /** 导入按钮操作 */
+      handleImport() {
+        if(this.$refs.upload) {
+          this.$refs.upload.initData({
+            width: '400px',
+            // 弹出层标题(用户导入)
+            title: this.title + "导入",
+            // 下载模板地址
+            importTemplate: this.configUrl.download,
+            // 上传的地址
+            url: this.configUrl.upload
+          })
+        }
+      },
+      /** 开/闭 园 */
+      openAttraction(row) {
+        console.log("row======",row)
+        return
+        this.$modal.confirm(`是否确认${row.status == 0 ? '启用' : '禁用'} ${row.realName||''}吗?`).then( () => {
+          return addTableApi(this.configUrl.updateStatus,{
+            id: row.id,
+            status: row.status == 1 ? 0 : 1
+          });
+        }).then(() => {
+          this.getList();
+          this.$modal.msgSuccess(`${row.status == 0 ? '启用' : '禁用'}成功`);
+        }).catch((e) => {
+          console.error("失败====",e)
+        });
+      },
+    }
+  };
+  </script>
+  

+ 251 - 0
src/views/tourism/marketingActivities/couponVerification.vue

@@ -0,0 +1,251 @@
+<template>
+    <div class="app-container">
+      <el-row :gutter="20">
+        <!--用户数据-->
+        <el-col :span="24" :xs="24">
+          <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
+            <el-form-item label="会员姓名" prop="realName">
+              <el-input
+                v-model="queryParams.realName"
+                placeholder="请输入会员姓名"
+                clearable
+                style="width: 240px"
+                @keyup.enter.native="handleQuery"
+              />
+            </el-form-item>
+            <el-form-item label="会员手机号" prop="memberCode" label-width="88px">
+              <el-input
+                v-model="queryParams.memberCode"
+                placeholder="请输入会员手机号"
+                clearable
+                style="width: 240px"
+                @keyup.enter.native="handleQuery"
+              />
+            </el-form-item>
+            <el-form-item label="优惠券名称" prop="mobile" label-width="88px">
+              <el-input
+                v-model="queryParams.mobile"
+                placeholder="请输入优惠券名称"
+                clearable
+                style="width: 240px"
+                @keyup.enter.native="handleQuery"
+              />
+            </el-form-item>
+            <el-form-item label="优惠券批次号" prop="cardId" label-width="98px">
+              <el-input
+                v-model="queryParams.cardId"
+                placeholder="请输入优惠券批次号"
+                clearable
+                style="width: 240px"
+                @keyup.enter.native="handleQuery"
+              />
+            </el-form-item>
+            <el-form-item>
+              <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+              <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+            </el-form-item>
+          </el-form>
+  
+          <el-row :gutter="10" class="mb8">
+            <right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
+          </el-row>
+  
+          <el-table v-loading="loading" :data="tableList" @selection-change="handleSelectionChange">
+            <el-table-column type="index" label="序号" align="center"  />
+            <el-table-column label="会员姓名" align="center" key="realName" prop="realName" v-if="columns[0].visible" :show-overflow-tooltip="true" />
+            <el-table-column label="会员手机号" align="center" key="memberCode1" prop="memberCode1" v-if="columns[1].visible" :show-overflow-tooltip="true" />
+            <el-table-column label="优惠券名称" align="center" key="memberCode2" prop="memberCode2" v-if="columns[2].visible" :show-overflow-tooltip="true" />
+            <el-table-column label="优惠券批次号" align="center" key="memberCode3" prop="memberCode3" v-if="columns[3].visible" :show-overflow-tooltip="true" />
+            <el-table-column label="优惠券额度" align="center" key="memberCode4" prop="memberCode4" v-if="columns[4].visible" :show-overflow-tooltip="true" />
+            <el-table-column label="会员类型" align="center" key="type" prop="type" v-if="columns[5].visible" :show-overflow-tooltip="true">
+              <template slot-scope="scope">
+                <dict-tag :options="dict.type.tourism_memberInformation_user_type" :value="scope.row.type"/>
+              </template>
+            </el-table-column>
+            <el-table-column label="领取时间" align="center" key="levelName" prop="levelName" v-if="columns[6].visible" :show-overflow-tooltip="true" />
+            <el-table-column label="状态" align="center" key="type1" prop="type1" v-if="columns[7].visible" :show-overflow-tooltip="true">
+              <template slot-scope="scope">
+                <dict-tag :options="dict.type.tourism_memberInformation_user_type" :value="scope.row.type"/>
+              </template>
+            </el-table-column>
+            <el-table-column label="使用时间" align="center" key="cardId" prop="cardId" v-if="columns[8].visible" :show-overflow-tooltip="true" />
+            <el-table-column
+              label="操作"
+              align="center"
+              width="160"
+              class-name="small-padding fixed-width"
+            >
+              <template slot-scope="scope" >
+                <el-button
+                  size="mini"
+                  type="text"
+                  icon="el-icon-document"
+                  @click="handleDetails(scope.row)"
+                  v-hasPermi="configPermi.details"
+                >详情</el-button>
+              </template>
+            </el-table-column>
+          </el-table>
+  
+          <pagination
+            v-show="total>0"
+            :total="total"
+            :page.sync="queryParams.pageNum"
+            :limit.sync="queryParams.pageSize"
+            @pagination="getList"
+          />
+        </el-col>
+      </el-row>
+      <!--  详情 -->
+      <detailsBox ref="detailsBox" />
+    </div>
+  </template>
+  
+  <script>
+  import { 
+    listTableApi, 
+    delTableParamsApi,
+    addTableApi
+  } from "@/api/CURD";
+  import detailsBox from "./detailsBox/couponVerificationDetails.vue"
+  export default {
+    name: "User",
+    dicts: ['tourism_memberInformation_user_type','tourism_memberInformation_status','tourism_memberInformation_sex'],
+    components: {detailsBox},
+    data() {
+      return {
+        title: "优惠卷核销",// 通用标题
+        configPermi: {
+          add: [''], // 新增权限
+          details: ['electronicMembership:memberInformation:details'], // 详情权限
+          delect: ['electronicMembership:memberInformation:delect'], // 删除权限
+          edit: [''], // 编辑权限
+          upload: [''],// 导入权限
+          export: [''],// 导出权限
+        },
+        configUrl: {
+          list: '/member/memberInfo/list', // 列表地址
+          delect: '', // 删除地址
+          upload: '',// 导入地址
+          download:'', // 下载模板地址
+          export: '',// 导出地址
+          updateStatus: '/member/memberInfo/enable', // 编辑地址
+        },
+        // 遮罩层
+        loading: true,
+        // 选中数组
+        ids: [],
+        // 非单个禁用
+        single: true,
+        // 非多个禁用
+        multiple: true,
+        // 显示搜索条件
+        showSearch: true,
+        // 总条数
+        total: 0,
+        // 用户表格数据
+        tableList: null,
+        // 查询参数
+        queryParams: {
+          pageNum: 1,
+          pageSize: 10,
+        },
+        dateRange: [],
+        // 控制列表是否显示
+        columns: [
+          { key: 0, label: `会员姓名`, visible: true },
+          { key: 1, label: `会员手机号`, visible: true },
+          { key: 2, label: `优惠券名称`, visible: true },
+          { key: 2.5, label: `优惠券批次号`, visible: true },
+          { key: 3, label: `优惠券额度`, visible: true },
+          { key: 4, label: `会员类型`, visible: true },
+          { key: 5, label: `领取时间`, visible: true },
+          { key: 6, label: `状态`, visible: true },
+          { key: 7, label: `使用时间`, visible: true }
+        ],
+      };
+    },
+    created() {
+      this.getList();
+    },
+    methods: {
+      /** 查询用户列表 */
+      getList() {
+        this.loading = true;
+        listTableApi(
+          this.configUrl.list,
+          this.addDateRange(
+            this.queryParams, 
+            this.dateRange)).then(response => {
+              this.tableList = response.data.rows;
+              this.total = response.data.total;
+              this.loading = false;
+          }
+        ).catch (error=>{
+          console.error('获取列表失败!!!!',error)
+          this.tableList = [];
+          this.total = 0;
+          this.loading = false
+        }) 
+      },
+      /** 搜索按钮操作 */
+      handleQuery() {
+        this.queryParams.pageNum = 1;
+        this.getList();
+      },
+      /** 重置按钮操作 */
+      resetQuery() {
+        this.dateRange = [];
+        this.queryParams = {
+          pageNum: 1,
+          pageSize: 10,
+        }
+        this.handleQuery();
+      },
+      // 多选框选中数据
+      handleSelectionChange(selection) {
+        this.ids = selection.map(item => item.id);
+        this.single = selection.length != 1;
+        this.multiple = !selection.length;
+      },
+      /** 新增按钮操作 */
+      handleAdd() {
+        if(this.$refs.addAndEdit) {
+          this.$refs.addAndEdit.initData(this.title + '新增', "ADD",{})
+        }
+      },
+      /** 修改按钮操作 */
+      handleUpdate(row) {
+        if(this.$refs.addAndEdit) {
+          this.$refs.addAndEdit.initData(this.title + '编辑', "EDITInit",{...row})
+        }
+      },
+      handleDetails(row){
+        if(this.$refs.detailsBox) {
+          this.$refs.detailsBox.initData(this.title + '详情', "EDITInit",{...row})
+        }
+      },
+      /** 导出按钮操作 */
+      handleExport() {
+        this.download(this.configUrl.export, {
+          ...this.queryParams
+        }, `${this.title }_${new Date().getTime()}.xlsx`)
+      },
+      /** 导入按钮操作 */
+      handleImport() {
+        if(this.$refs.upload) {
+          this.$refs.upload.initData({
+            width: '400px',
+            // 弹出层标题(用户导入)
+            title: this.title + "导入",
+            // 下载模板地址
+            importTemplate: this.configUrl.download,
+            // 上传的地址
+            url: this.configUrl.upload
+          })
+        }
+      }
+    }
+  };
+  </script>
+  

+ 326 - 0
src/views/tourism/marketingActivities/detailsBox/couponManagementDetails.vue

@@ -0,0 +1,326 @@
+<template>
+  <el-dialog
+    :title="title"
+    :visible.sync="open"
+    width="70%"
+    append-to-body
+    :close-on-click-modal="false"
+    @close="cancel"
+  >
+    <div class="form-dialog-box"
+    v-loading="loading"
+    :element-loading-text="loadingText"
+    element-loading-spinner="el-icon-loading"
+    element-loading-background="rgba(0, 0, 0, 0)">
+      <div
+        v-loading="loading"
+        :element-loading-text="''"
+        element-loading-spinner="''"
+        element-loading-background="rgba(0, 0, 0, 0.8)"
+        >
+        <el-form :model="form" ref="form" :rules="rules" label-width="120px">
+          <div class="form-title"><span>基本信息</span></div>
+          <div style="display: flex;">
+            <el-form-item label="会员名称:">
+              <span style="display: block; min-width: 250px;">{{ form.realName }}</span>
+            </el-form-item>
+            <el-form-item label="性别:">
+              <dict-tag :options="dict.type.tourism_memberInformation_sex" :value="form.sex"/>
+            </el-form-item>
+          </div>
+          <div style="display: flex;">
+            <el-form-item label="手机号:">
+              <span style="display: block;min-width: 250px;">{{ form.mobile }}</span>
+            </el-form-item>
+            <el-form-item label="身份证号:">
+              <span style="display: block;min-width: 250px;">{{ form.cardId }}</span>
+            </el-form-item>
+          </div>
+          <div style="display: flex;">
+            <el-form-item label="注册时间:">
+              <span style="display: block;min-width: 250px;">{{ form.createTime }}</span>
+            </el-form-item>
+          </div>
+          <div class="form-title"><span>会员信息</span></div>
+          <div style="display: flex;">
+            <el-form-item label="会员类型:">
+              <span style="display: block;min-width: 250px;">
+                <dict-tag :options="dict.type.tourism_memberInformation_user_type" :value="form.type"/>
+              </span>
+            </el-form-item>
+            <el-form-item label="会员卡号:">
+              <span style="display: block;min-width: 250px;">{{ form.memberCode }}</span>
+            </el-form-item>
+          </div>
+          <div style="display: flex;">
+            <el-form-item label="剩余积分:">
+              <span style="display: block;min-width: 250px;">{{ form.credit }}</span>
+            </el-form-item>
+            <el-form-item label="剩余储值:">
+              <span style="display: block;min-width: 250px;">{{ form.balance }}</span>
+            </el-form-item>
+          </div>
+          <div class="form-title"><span>消费数据</span></div>
+          <div style="display: flex;">
+            <el-form-item label="下单数(单):">
+              <span style="display: block;min-width: 250px;">{{ form.orderCount }}</span>
+            </el-form-item>
+            <el-form-item label="支付成功数(单):">
+              <span style="display: block;min-width: 250px;">{{ form.buyCount }}</span>
+            </el-form-item>
+          </div>
+        </el-form>
+      </div>
+    </div>
+    <span slot="footer" class="dialog-footer" v-if="formStatus==1">
+      <el-button @click="cancel">关闭</el-button>
+    </span>
+    <!-- 添加或修改对话框 End -->
+  </el-dialog>
+</template>
+
+<script>
+import { 
+  getTableDeatilsByIdApi,
+ } from '@/api/CURD'
+
+export default {
+  name: "addAndEdit",
+  dicts: ['tourism_memberInformation_sex','tourism_memberInformation_user_type'],
+  data() {
+    return {
+      title: "",
+      model: "", // EDIT: 编辑模式 ADD : 新增模式  EDITInit : 编辑模式(需要请求详情)
+      open: false,
+      loading: false,
+      loadingText: "拼命加载数据中...",
+      formStatus: null, // 0/null : 加载中 1 : 获取详情成功 2  : 获取详情失败 
+      configUrl: {
+        add: '', // 新增地址
+        details: '/member/memberInfo/detail', // 详情地址
+        edit: '', // 编辑地址
+      },
+      form: {
+        id: undefined,
+      },
+      rules: {},
+      scenicAreaProducts: [],// 景点产品关联
+    };
+  },
+  methods: {
+    async initData(title , model,row){
+      this.title = title
+      this.open = true
+      this.loadingText = "拼命加载数据中..."
+      this.loading = true
+      this.actionUrlLoading = false
+      this.model = model
+      this.formStatus = 0
+      if(model=='ADD') { // 新增
+        this.$set(this,'form',{...row,imgUrl:[]})
+        this.formStatus = 1
+      }else if(model=='EDIT') { // 新增
+        let obj = {
+          ...row,
+          imgUrl: row.imgUrl?row.imgUrl.split(','):[]
+        }
+        this.$set(this,'form',obj)
+        this.formStatus = 1
+      }else if(model=='EDITInit') { // 新增
+        await this.getTableDeatilsFun(row)
+      }
+      this.loading = false
+      this.$nextTick(()=>{
+        if(this.$refs["form"]) {
+          this.$refs["form"].clearValidate();
+        }
+      })
+    },
+    /** 获取详情 */
+    async getTableDeatilsFun(row) {
+      const id = row.id
+      this.loading = true
+      try {
+        let res = await getTableDeatilsByIdApi(this.configUrl.details,{id})
+        if(res.code == 200) {
+          let obj = {
+            ...res.data,
+            imgUrl: res.data.imgUrl?res.data.imgUrl.split(','):[],
+        }
+          this.$set(this,'form',JSON.parse(JSON.stringify(obj)))
+          this.formStatus = 1
+        }else {
+          this.$message.error('获取详情失败!!!');
+          this.formStatus = 2
+          this.loading = false
+          this.open = false;
+        }
+        this.loading = false
+      } catch (error) {
+        console.error('获取详情失败!!!!',error)
+        this.formStatus = 2
+        this.loading = false
+        this.open = false;
+      }
+    },
+    /**
+     * 重置
+     * @date 2023-11-22
+     * @returns {any}
+     */
+    reset() {
+      if(this.$refs["form"]) {
+        this.$refs["form"].clearValidate();
+      }
+    },
+    /**
+     * 关闭弹框
+     * @date 2023-11-22
+     * @returns {any}
+     */
+    cancel() {
+      this.reset();
+      this.open = false;
+    },
+  },
+};
+</script>
+
+<style lang="scss" scoped>
+.form-dialog-box {
+  padding: 0 30px;
+  padding: 0 30px;
+  min-height: 50vh;
+  max-height: 65vh;
+  overflow-y: auto;
+  >div {
+    width: 100%;
+    min-height: 50vh;
+  }
+  .form-title {
+    padding: 0 0 10px 0;
+    span {
+      display: flex;
+      color: rgba(65,80,88,1);
+      font-size: 16px;
+      font-family: SourceHanSansSC;
+      font-weight: 700;
+      line-height: 23px;
+      border-left: 4px solid rgb(22, 132, 252);
+      padding-left: 10px;
+    }
+    
+  }
+  ::v-deep .ql-editor {
+    height: 400px;
+  }
+  .upload-btn {
+    width: 100px;
+    height: 100px;
+    background-color: #fbfdff;
+    border: dashed 1px #c0ccda;
+    border-radius: 5px;
+    i {
+      font-size: 30px;
+      margin-top: 20px;
+    }
+    &-text {
+      margin-top: -10px;
+    }
+  }
+  .avatar {
+    cursor: pointer;
+  }
+}
+.el-table{
+  .upload-btn {
+    width: 100px;
+    height: 100px;
+    background-color: #fbfdff;
+    border: dashed 1px #c0ccda;
+    border-radius: 5px;
+    i {
+      font-size: 30px;
+      margin-top: 20px;
+    }
+    &-text {
+      margin-top: -10px;
+    }
+  }
+  .avatar {
+    cursor: pointer;
+  }
+}
+
+.area-container {
+  min-height: 400px;
+}
+
+::v-deep .area-wrap-city.el-cascader {
+  line-height: normal;
+  .el-input {
+    cursor: pointer;
+    width: 100% !important;
+    height: 28px !important;
+    .el-input__inner {
+      display: none !important;
+    }
+    span.el-input__suffix {
+      position: inherit !important;
+      i.el-input__icon {
+        line-height: inherit;
+        margin-left: 5px;
+      }
+    }
+
+    .el-input__wrapper {
+      box-shadow: none;
+      input {
+        display: none;
+      }
+    }
+  }
+
+  .el-cascader__tags {
+    display: none;
+  }
+}
+
+.area-city-popper {
+  .el-cascader-panel {
+    .el-scrollbar.el-cascader-menu {
+      .el-cascader-menu__wrap.el-scrollbar__wrap {
+        height: 315px;
+      }
+    }
+  }
+}
+::v-deep .avatar-uploader .el-upload {
+    border: 1px dashed #d9d9d9;
+    border-radius: 6px;
+    cursor: pointer;
+    position: relative;
+    overflow: hidden;
+  }
+  ::v-deep .avatar-uploader .el-upload:hover {
+    border-color: #409EFF;
+  }
+  ::v-deep .avatar-uploader-icon {
+    font-size: 28px;
+    color: #8c939d;
+    width: 100px;
+    height: 100px;
+    line-height: 100px;
+    text-align: center;
+  }
+  ::v-deep .avatar {
+    width: 100px;
+    height: 100px;
+    display: block;
+  }
+</style>
+<style>
+.custom-class-box {
+  z-index: 999999 !important;
+}
+</style>

+ 326 - 0
src/views/tourism/marketingActivities/detailsBox/couponVerificationDetails.vue

@@ -0,0 +1,326 @@
+<template>
+  <el-dialog
+    :title="title"
+    :visible.sync="open"
+    width="70%"
+    append-to-body
+    :close-on-click-modal="false"
+    @close="cancel"
+  >
+    <div class="form-dialog-box"
+    v-loading="loading"
+    :element-loading-text="loadingText"
+    element-loading-spinner="el-icon-loading"
+    element-loading-background="rgba(0, 0, 0, 0)">
+      <div
+        v-loading="loading"
+        :element-loading-text="''"
+        element-loading-spinner="''"
+        element-loading-background="rgba(0, 0, 0, 0.8)"
+        >
+        <el-form :model="form" ref="form" :rules="rules" label-width="120px">
+          <div class="form-title"><span>基本信息</span></div>
+          <div style="display: flex;">
+            <el-form-item label="会员名称:">
+              <span style="display: block; min-width: 250px;">{{ form.realName }}</span>
+            </el-form-item>
+            <el-form-item label="性别:">
+              <dict-tag :options="dict.type.tourism_memberInformation_sex" :value="form.sex"/>
+            </el-form-item>
+          </div>
+          <div style="display: flex;">
+            <el-form-item label="手机号:">
+              <span style="display: block;min-width: 250px;">{{ form.mobile }}</span>
+            </el-form-item>
+            <el-form-item label="身份证号:">
+              <span style="display: block;min-width: 250px;">{{ form.cardId }}</span>
+            </el-form-item>
+          </div>
+          <div style="display: flex;">
+            <el-form-item label="注册时间:">
+              <span style="display: block;min-width: 250px;">{{ form.createTime }}</span>
+            </el-form-item>
+          </div>
+          <div class="form-title"><span>会员信息</span></div>
+          <div style="display: flex;">
+            <el-form-item label="会员类型:">
+              <span style="display: block;min-width: 250px;">
+                <dict-tag :options="dict.type.tourism_memberInformation_user_type" :value="form.type"/>
+              </span>
+            </el-form-item>
+            <el-form-item label="会员卡号:">
+              <span style="display: block;min-width: 250px;">{{ form.memberCode }}</span>
+            </el-form-item>
+          </div>
+          <div style="display: flex;">
+            <el-form-item label="剩余积分:">
+              <span style="display: block;min-width: 250px;">{{ form.credit }}</span>
+            </el-form-item>
+            <el-form-item label="剩余储值:">
+              <span style="display: block;min-width: 250px;">{{ form.balance }}</span>
+            </el-form-item>
+          </div>
+          <div class="form-title"><span>消费数据</span></div>
+          <div style="display: flex;">
+            <el-form-item label="下单数(单):">
+              <span style="display: block;min-width: 250px;">{{ form.orderCount }}</span>
+            </el-form-item>
+            <el-form-item label="支付成功数(单):">
+              <span style="display: block;min-width: 250px;">{{ form.buyCount }}</span>
+            </el-form-item>
+          </div>
+        </el-form>
+      </div>
+    </div>
+    <span slot="footer" class="dialog-footer" v-if="formStatus==1">
+      <el-button @click="cancel">关闭</el-button>
+    </span>
+    <!-- 添加或修改对话框 End -->
+  </el-dialog>
+</template>
+
+<script>
+import { 
+  getTableDeatilsByIdApi,
+ } from '@/api/CURD'
+
+export default {
+  name: "addAndEdit",
+  dicts: ['tourism_memberInformation_sex','tourism_memberInformation_user_type'],
+  data() {
+    return {
+      title: "",
+      model: "", // EDIT: 编辑模式 ADD : 新增模式  EDITInit : 编辑模式(需要请求详情)
+      open: false,
+      loading: false,
+      loadingText: "拼命加载数据中...",
+      formStatus: null, // 0/null : 加载中 1 : 获取详情成功 2  : 获取详情失败 
+      configUrl: {
+        add: '', // 新增地址
+        details: '/member/memberInfo/detail', // 详情地址
+        edit: '', // 编辑地址
+      },
+      form: {
+        id: undefined,
+      },
+      rules: {},
+      scenicAreaProducts: [],// 景点产品关联
+    };
+  },
+  methods: {
+    async initData(title , model,row){
+      this.title = title
+      this.open = true
+      this.loadingText = "拼命加载数据中..."
+      this.loading = true
+      this.actionUrlLoading = false
+      this.model = model
+      this.formStatus = 0
+      if(model=='ADD') { // 新增
+        this.$set(this,'form',{...row,imgUrl:[]})
+        this.formStatus = 1
+      }else if(model=='EDIT') { // 新增
+        let obj = {
+          ...row,
+          imgUrl: row.imgUrl?row.imgUrl.split(','):[]
+        }
+        this.$set(this,'form',obj)
+        this.formStatus = 1
+      }else if(model=='EDITInit') { // 新增
+        await this.getTableDeatilsFun(row)
+      }
+      this.loading = false
+      this.$nextTick(()=>{
+        if(this.$refs["form"]) {
+          this.$refs["form"].clearValidate();
+        }
+      })
+    },
+    /** 获取详情 */
+    async getTableDeatilsFun(row) {
+      const id = row.id
+      this.loading = true
+      try {
+        let res = await getTableDeatilsByIdApi(this.configUrl.details,{id})
+        if(res.code == 200) {
+          let obj = {
+            ...res.data,
+            imgUrl: res.data.imgUrl?res.data.imgUrl.split(','):[],
+        }
+          this.$set(this,'form',JSON.parse(JSON.stringify(obj)))
+          this.formStatus = 1
+        }else {
+          this.$message.error('获取详情失败!!!');
+          this.formStatus = 2
+          this.loading = false
+          this.open = false;
+        }
+        this.loading = false
+      } catch (error) {
+        console.error('获取详情失败!!!!',error)
+        this.formStatus = 2
+        this.loading = false
+        this.open = false;
+      }
+    },
+    /**
+     * 重置
+     * @date 2023-11-22
+     * @returns {any}
+     */
+    reset() {
+      if(this.$refs["form"]) {
+        this.$refs["form"].clearValidate();
+      }
+    },
+    /**
+     * 关闭弹框
+     * @date 2023-11-22
+     * @returns {any}
+     */
+    cancel() {
+      this.reset();
+      this.open = false;
+    },
+  },
+};
+</script>
+
+<style lang="scss" scoped>
+.form-dialog-box {
+  padding: 0 30px;
+  padding: 0 30px;
+  min-height: 50vh;
+  max-height: 65vh;
+  overflow-y: auto;
+  >div {
+    width: 100%;
+    min-height: 50vh;
+  }
+  .form-title {
+    padding: 0 0 10px 0;
+    span {
+      display: flex;
+      color: rgba(65,80,88,1);
+      font-size: 16px;
+      font-family: SourceHanSansSC;
+      font-weight: 700;
+      line-height: 23px;
+      border-left: 4px solid rgb(22, 132, 252);
+      padding-left: 10px;
+    }
+    
+  }
+  ::v-deep .ql-editor {
+    height: 400px;
+  }
+  .upload-btn {
+    width: 100px;
+    height: 100px;
+    background-color: #fbfdff;
+    border: dashed 1px #c0ccda;
+    border-radius: 5px;
+    i {
+      font-size: 30px;
+      margin-top: 20px;
+    }
+    &-text {
+      margin-top: -10px;
+    }
+  }
+  .avatar {
+    cursor: pointer;
+  }
+}
+.el-table{
+  .upload-btn {
+    width: 100px;
+    height: 100px;
+    background-color: #fbfdff;
+    border: dashed 1px #c0ccda;
+    border-radius: 5px;
+    i {
+      font-size: 30px;
+      margin-top: 20px;
+    }
+    &-text {
+      margin-top: -10px;
+    }
+  }
+  .avatar {
+    cursor: pointer;
+  }
+}
+
+.area-container {
+  min-height: 400px;
+}
+
+::v-deep .area-wrap-city.el-cascader {
+  line-height: normal;
+  .el-input {
+    cursor: pointer;
+    width: 100% !important;
+    height: 28px !important;
+    .el-input__inner {
+      display: none !important;
+    }
+    span.el-input__suffix {
+      position: inherit !important;
+      i.el-input__icon {
+        line-height: inherit;
+        margin-left: 5px;
+      }
+    }
+
+    .el-input__wrapper {
+      box-shadow: none;
+      input {
+        display: none;
+      }
+    }
+  }
+
+  .el-cascader__tags {
+    display: none;
+  }
+}
+
+.area-city-popper {
+  .el-cascader-panel {
+    .el-scrollbar.el-cascader-menu {
+      .el-cascader-menu__wrap.el-scrollbar__wrap {
+        height: 315px;
+      }
+    }
+  }
+}
+::v-deep .avatar-uploader .el-upload {
+    border: 1px dashed #d9d9d9;
+    border-radius: 6px;
+    cursor: pointer;
+    position: relative;
+    overflow: hidden;
+  }
+  ::v-deep .avatar-uploader .el-upload:hover {
+    border-color: #409EFF;
+  }
+  ::v-deep .avatar-uploader-icon {
+    font-size: 28px;
+    color: #8c939d;
+    width: 100px;
+    height: 100px;
+    line-height: 100px;
+    text-align: center;
+  }
+  ::v-deep .avatar {
+    width: 100px;
+    height: 100px;
+    display: block;
+  }
+</style>
+<style>
+.custom-class-box {
+  z-index: 999999 !important;
+}
+</style>

+ 362 - 0
src/views/tourism/marketingActivities/formBox/couponManagementForm.vue

@@ -0,0 +1,362 @@
+<template>
+  <el-dialog
+    :title="title"
+    :visible.sync="open"
+    width="70%"
+    append-to-body
+    :close-on-click-modal="false"
+    @close="cancel"
+  >
+    <div class="form-dialog-box"
+    v-loading="loading"
+    :element-loading-text="loadingText"
+    element-loading-spinner="el-icon-loading"
+    element-loading-background="rgba(0, 0, 0, 0)">
+      <div
+        v-loading="loading"
+        :element-loading-text="''"
+        element-loading-spinner="''"
+        element-loading-background="rgba(0, 0, 0, 0.8)"
+        >
+        <el-tabs v-model="activeName" @tab-click="handleClick">
+          <el-tab-pane label="用户管理" name="first"></el-tab-pane>
+          <el-tab-pane label="配置管理" name="second"></el-tab-pane>
+          </el-tabs>
+        <el-form :model="form" ref="form" :rules="rules" label-width="120px">
+          <transition name="el-zoom-in-top">
+            <div v-show="activeName == 'first'">
+              <el-form-item label="优惠券名称" prop="remark">
+                <el-input style="width: 350px;" v-model="form.remark" placeholder="请输入优惠券名称" maxlength="50" show-word-limit />
+              </el-form-item>
+              <el-form-item label="券种说明" prop="remark">
+                <el-input style="width: 350px;" type="textarea" v-model="form.remark" placeholder="请输入券种说明" maxlength="200" show-word-limit />
+              </el-form-item>
+              <el-form-item label="券种类型" prop="type">
+                <el-radio-group v-model="form.type">
+                  <el-radio 
+                    v-for="dict in dict.type.tourism_memberInformation_biangeng_type"
+                    :label="dict.value"
+                    >{{ dict.label }}</el-radio>
+                </el-radio-group>
+              </el-form-item>
+              <el-form-item label="变动量" prop="num">
+                <el-input-number v-model="form.num" controls-position="right" :precision="0" :min="0" placeholder="请输入变动量"></el-input-number>
+              </el-form-item>
+              <el-form-item label="变动原因说明" prop="remark">
+                <el-input style="width: 350px;" type="textarea" v-model="form.remark" placeholder="请输入变动原因说明" maxlength="200" show-word-limit />
+              </el-form-item>
+            </div>
+          </transition>
+
+          <transition name="el-zoom-in-top">
+            <div v-show="activeName == 'second'">
+              <el-form-item label="积分变动111" prop="type">
+                <el-radio-group v-model="form.type">
+                  <el-radio 
+                    v-for="dict in dict.type.tourism_memberInformation_biangeng_type"
+                    :label="dict.value"
+                    >{{ dict.label }}</el-radio>
+                </el-radio-group>
+              </el-form-item>
+              <el-form-item label="变动量" prop="num">
+                <el-input-number v-model="form.num" controls-position="right" :precision="0" :min="0" placeholder="请输入变动量"></el-input-number>
+              </el-form-item>
+              <el-form-item label="变动原因说明" prop="remark">
+                <el-input style="width: 350px;" type="textarea" v-model="form.remark" placeholder="请输入变动原因说明" maxlength="200" show-word-limit />
+              </el-form-item>
+            </div>
+          </transition>
+          
+         
+        </el-form>
+      </div>
+    </div>
+    <span slot="footer" class="dialog-footer" v-if="formStatus==1">
+      <el-button @click="cancel">取消</el-button>
+      <el-button
+        type="primary"
+        @click="submitForm"
+        :loading="loading"
+        element-loading-text="提交中..."
+        element-loading-spinner="el-icon-loading"
+        element-loading-background="rgba(0, 0, 0, 0.8)"
+      > 
+        {{ loading ? '提交中...' : '保存' }}
+      </el-button>
+    </span>
+    <!-- 添加或修改对话框 End -->
+  </el-dialog>
+</template>
+
+<script>
+import { 
+  getTableDeatilsByIdApi,
+  updateTableApi,
+  addTableApi
+ } from '@/api/CURD'
+
+export default {
+  name: "addAndEdit",
+  dicts: ['tourism_memberInformation_biangeng_type'],
+  data() {
+    return {
+      title: "",
+      model: "", // EDIT: 编辑模式 ADD : 新增模式  EDITInit : 编辑模式(需要请求详情)
+      open: false,
+      loading: false,
+      loadingText: "拼命加载数据中...",
+      formStatus: null, // 0/null : 加载中 1 : 获取详情成功 2  : 获取详情失败 
+      configUrl: {
+        add: '/member/memberInfo/updateCredit', // 新增地址
+        details: '/member/memberInfo/detail', // 详情地址
+        edit: '/member/memberInfo/updateCredit', // 编辑地址
+      },
+      form: {
+        id: undefined,
+      },
+      rules: {
+        type: [{ required: true, message: "请选择积分变动", trigger: ["change","blur"] }],
+        num: [{ required: true, message: "请输入变动量", trigger: ["change","blur"] }],
+        remark: [{ required: true, message: "请输入变动原因说明", trigger: ["change","blur"] }],
+      },
+
+      activeName: 'first',
+    };
+  },
+  methods: {
+    async initData(title , model,row){
+      this.title = title
+      this.activeName = 'first'
+      this.open = true
+      this.loadingText = "拼命加载数据中..."
+      this.loading = true
+      this.model = model
+      this.formStatus = 0
+      if(model=='ADD') { // 新增
+        this.$set(this,'form',row)
+        this.formStatus = 1
+      }else if(model=='EDIT') { // 新增
+        let obj = {
+          ...row
+        }
+        this.$set(this,'form',{
+          memberId: row.id
+        })
+        this.formStatus = 1
+      }else if(model=='EDITInit') { // 新增
+        await this.getTableDeatilsFun(row)
+      }
+      this.loading = false
+      this.$nextTick(()=>{
+        if(this.$refs["form"]) {
+          this.$refs["form"].clearValidate();
+        }
+      })
+    },
+    /** 获取详情 */
+    async getTableDeatilsFun(row) {
+      const id = row.id
+      this.loading = true
+      try {
+        let res = await getTableDeatilsByIdApi(this.configUrl.details,{id})
+        if(res.code == 200) {
+          let obj = {
+            ...res.data
+          }
+          this.$set(this,'form',JSON.parse(JSON.stringify(obj)))
+          this.formStatus = 1
+        }else {
+          this.$message.error('获取详情失败!!!');
+          this.formStatus = 2
+          this.loading = false
+          this.open = false;
+        }
+        this.loading = false
+      } catch (error) {
+        console.error('获取详情失败!!!!',error)
+        this.formStatus = 2
+        this.loading = false
+        this.open = false;
+      }
+    },
+    /**
+     * 保存
+     * @date 2023-11-22
+     * @returns {any}
+     */
+    submitForm() {
+      this.$refs["form"].validate(valid => {
+        if (valid) {
+          this.loadingText = "提交数据中..."
+          this.loading = true
+          if (this.model != 'ADD') {
+            addTableApi(
+              this.configUrl.edit,{
+                ...this.form
+              }).then(response => {
+              this.$modal.msgSuccess("修改成功");
+              this.loading = false
+              this.open = false;
+              this.$emit('refresh')
+            }).catch(()=>{
+              this.$message.error("修改失败!!!");
+              this.loading = false
+            })
+          } else {
+            addTableApi(this.configUrl.edit,{
+                ...this.form
+              }).then(response => {
+              this.$modal.msgSuccess("新增成功");
+              this.loading = false
+              this.open = false;
+              this.$emit('refresh')
+            }).catch(()=>{
+              this.$message.error("新增失败!!!");
+              this.loading = false
+            })
+          }
+        }
+      });
+    },
+    /**
+     * 重置
+     * @date 2023-11-22
+     * @returns {any}
+     */
+    reset() {
+      if(this.$refs["form"]) {
+        this.$refs["form"].clearValidate();
+      }
+    },
+    /**
+     * 关闭弹框
+     * @date 2023-11-22
+     * @returns {any}
+     */
+    cancel() {
+      this.reset();
+      this.open = false;
+    },
+    /**  点击tab  */
+    handleClick() {
+
+    }
+  },
+};
+</script>
+
+<style lang="scss" scoped>
+.form-dialog-box {
+  padding: 0 30px;
+  padding: 0 30px;
+  min-height: 50vh;
+  max-height: 65vh;
+  overflow-y: auto;
+  >div {
+    width: 100%;
+    min-height: 50vh;
+  }
+  .form-title {
+    padding: 0 0 10px 0;
+    span {
+      display: flex;
+      color: rgba(65,80,88,1);
+      font-size: 16px;
+      font-family: SourceHanSansSC;
+      font-weight: 700;
+      line-height: 23px;
+      border-left: 4px solid rgb(22, 132, 252);
+      padding-left: 10px;
+    }
+    
+  }
+  ::v-deep .ql-editor {
+    height: 400px;
+  }
+  .upload-btn {
+    width: 100px;
+    height: 100px;
+    background-color: #fbfdff;
+    border: dashed 1px #c0ccda;
+    border-radius: 5px;
+    i {
+      font-size: 30px;
+      margin-top: 20px;
+    }
+    &-text {
+      margin-top: -10px;
+    }
+  }
+  .avatar {
+    cursor: pointer;
+  }
+}
+.el-table{
+  .upload-btn {
+    width: 100px;
+    height: 100px;
+    background-color: #fbfdff;
+    border: dashed 1px #c0ccda;
+    border-radius: 5px;
+    i {
+      font-size: 30px;
+      margin-top: 20px;
+    }
+    &-text {
+      margin-top: -10px;
+    }
+  }
+  .avatar {
+    cursor: pointer;
+  }
+}
+
+.area-container {
+  min-height: 400px;
+}
+
+::v-deep .area-wrap-city.el-cascader {
+  line-height: normal;
+  .el-input {
+    cursor: pointer;
+    width: 100% !important;
+    height: 28px !important;
+    .el-input__inner {
+      display: none !important;
+    }
+    span.el-input__suffix {
+      position: inherit !important;
+      i.el-input__icon {
+        line-height: inherit;
+        margin-left: 5px;
+      }
+    }
+
+    .el-input__wrapper {
+      box-shadow: none;
+      input {
+        display: none;
+      }
+    }
+  }
+
+  .el-cascader__tags {
+    display: none;
+  }
+}
+
+.area-city-popper {
+  .el-cascader-panel {
+    .el-scrollbar.el-cascader-menu {
+      .el-cascader-menu__wrap.el-scrollbar__wrap {
+        height: 315px;
+      }
+    }
+  }
+}
+</style>
+<style>
+.custom-class-box {
+  z-index: 999999 !important;
+}
+</style>

+ 422 - 0
src/views/tourism/marketingActivities/formBox/selectUser.vue

@@ -0,0 +1,422 @@
+<template>
+    <div class="select-more-box">
+        
+        <div class="select-more-item">
+            <div class="c_left_tag" v-if="modalDetails.length>0">
+                <el-tag class="tag" size="closable" v-for="(item, index) in modalDetails" :key="index"
+                    @close="handleClose(item)" closable>
+                    {{ item.name }}
+                    </el-tag>
+            </div>
+            <span style="color: #c0c0c0;" v-else>请点击添加,选择优惠券</span>
+            <div class="select-more-tool">
+                <span>目前已选择:{{ modalDetails.length }}个</span>
+                <div class="select-more-but-add" @click="dialogVisible = true"><span>添加</span><span>+</span></div>
+                <div class="select-more-but-clear" @click="clearModalDetails"><span>清除已选</span></div>
+            </div>
+        </div>
+        <el-dialog 
+        append-to-body 
+        :title="title" 
+        :visible.sync="dialogVisible" 
+        @open="dialogOpen" 
+        @close="dialogClose"
+        :close-on-click-modal="false"
+        :destroy-on-close="true" 
+        width="900px" 
+        class="information-dialog"
+        custom-class="template-con-dialog" top="auto">
+            <div class="form-con" v-loading="loading">
+                <div class="form_content">
+                    <!-- left -->
+                    <div class="c_left">
+                        <div class="c_left_btn">
+                            <div>已选成员</div>
+                            <el-button type="text" @click="clearUser">清空</el-button>
+                        </div>
+                        <div class="c_left_tag">
+                            <el-tag class="tag" size="closable" v-for="(item, index) in nameList" :key="index"
+                                @close="handleClose(item)" closable>
+                                {{ item.name }}
+                            </el-tag>
+                        </div>
+                    </div>
+                    <!-- right -->
+                    <div class="c_right">
+                        <div class="c_input">
+                            <el-input prefix-icon="el-icon-search" v-model="userValue" placeholder="输入搜索"></el-input>
+                        </div>
+                        <div class="c_checkbox">
+                            <!-- <el-checkbox :indeterminate="isIndeterminate" v-model="checkAll"
+                                @change="handleCheckAllChange">全选</el-checkbox>
+                            <div style="margin: 15px 0;"></div>
+                            <el-checkbox-group class="checkBox" v-model="checkedUsers" @change="handleCheckedCitiesChange">
+                                <el-checkbox class="checkBox_item" v-for="(item, index) in dataList" :label="item.id"
+                                    :key="index">{{
+                                        item.name
+                                    }}</el-checkbox>
+                            </el-checkbox-group> -->
+                            <el-checkbox 
+                            class="checkBox_item" 
+                            v-for="(item, index) in dataList" 
+                            v-model="item.checked"
+                            @change="(val)=>changeCheckbox(item,index,val)"
+                                    :key="index">{{
+                                        item.name
+                                    }}</el-checkbox>
+                        </div>
+                        <div class="c_pagination">
+                            <el-pagination
+                            small
+                            background
+                            layout="total, prev, pager, next"
+                            :page-sizes="page.pageSizes"
+                            :page-size="page.pageSize"
+                            :total="page.total"
+                            :current-page="page.pageNum"
+                            @size-change="handleSizeChange"
+                            @current-change="handleCurrentChange"
+                            >
+                            </el-pagination>
+                        </div>
+                    </div>
+                </div>
+    
+                <div class="drawer-footer">
+                    <el-button @click="dialogVisible = false">
+                        取消
+                    </el-button>
+                    <el-button @click="submitForm()" type="primary">
+                        确定
+                    </el-button>
+                </div>
+            </div>
+        </el-dialog>
+    </div>
+    
+</template>
+  
+<script>
+import { listUser } from '@/api/system/user'
+export default {
+    props: {
+        title: {
+            type: String,
+            default: '新增',
+        },
+        value: {
+            type: Array,
+            default: ()=>{
+                return []
+            },
+        }
+    },
+    data() {
+        return {
+            dialogVisible: false, //弹窗选择
+            userValue: '', //人员搜索
+            dataList: [], //数据列表集合
+            nameList: [],//已选择人员
+            checkAll: false,
+            checkedUsers: [], // 选中的
+            isIndeterminate: false,
+            modalDetails: [],
+            loading: false,// 
+            page: {
+                pageSizes: [100, 200, 300, 400],
+                pageSize: 3,
+                pageNum: 1,
+                total: 0,
+            }
+        }
+    },
+    watch: {
+        value: {
+            handler(newValue){
+                if(this.value) {
+                    this.modalDetails = JSON.parse(JSON.stringify(this.value))
+                }else {
+                    this.modalDetails = []
+                }
+            },
+            immediate: true
+        }
+    },
+    methods: {
+        // 弹窗组件显示事件
+        async dialogOpen() {
+            this.loading = true
+            this.$set(this.page,'pageNum',1)
+            //this.$set(this.page,'pageSize',3)
+            this.dataList = [] //用户集合
+            await this.listUser()
+            this.checkedUsers = []
+            if (this.modalDetails.length) {
+                this.modalDetails.forEach((item) => {
+                    this.checkedUsers.push(item.id)
+                })
+                this.nameList = this.modalDetails//已选择人员
+                this.checkAll = false
+                this.isIndeterminate = false
+                this.userValue = '' //人员搜索
+            } else {
+                this.nameList = []//已选择人员
+                this.checkAll = false
+                this.checkedUsers = [] // 选中的
+                this.isIndeterminate = false
+                this.userValue = '' //人员搜索
+            }
+            this.loading = false
+        },
+        // 查询支部人员集合
+        async listUser() {
+            try {
+                let res = await listUser({
+                    name: '',
+                    pageNum: this.page.pageNum,
+                    pageSize: this.page.pageSize
+                })
+                if (res.code == 200) {
+                    let list = []
+                    res.data.rows.forEach((item,index)=>{
+                        list.push({
+                            ...item,
+                            checked: false
+                        })
+                    })
+                    this.dataList = list
+                    this.$set(this.page,'total',res.data.total)
+                } else {
+                    this.$message({
+                        type: 'error',
+                        message: res.msg
+                    });
+                }
+            } catch (error) {
+                this.loading = false
+                this.dialogVisible = false
+            }
+        },
+        // 清空按钮
+        clearUser() {
+            this.handleCheckAllChange(false)
+            this.isIndeterminate = false;
+            this.checkAll = false
+        },
+        // 清除全部
+        clearModalDetails() {
+            this.$emit('input', [])
+            this.$emit('submitForm')
+        },
+        // 单项删除按钮(){
+        handleClose(item) {
+            let arr = this.checkedUsers.filter((id) => {
+                return item.id !== id
+            })
+            console.log(arr);
+            this.checkedUsers = arr
+            this.handleCheckedCitiesChange(arr)
+        },
+        // 全选按钮
+        handleCheckAllChange(val) {
+            let arr = []
+            let arrName = []
+            this.dataList.forEach((item) => {
+                arr.push(item.userid)
+                arrName.push(item)
+            })
+            this.checkedUsers = val ? arr : [];
+            this.nameList = val ? arrName : [];
+            this.isIndeterminate = false;
+ 
+        },
+        // 单选按钮
+        handleCheckedCitiesChange(value) {
+            // console.log(value);
+            let checkedCount = value.length;
+            this.checkAll = checkedCount === this.dataList.length;
+            this.isIndeterminate = checkedCount > 0 && checkedCount < this.dataList.length;
+            let arrName = []
+            value.forEach((user) => {
+                this.dataList.forEach((item) => {
+                    if (user == item.id) {
+                        arrName.push(item)
+                    }
+                })
+            })
+            this.nameList = []
+ 
+            this.nameList = Array.from(new Set(arrName))
+            // console.log(this.nameList);
+        },
+ 
+        // 弹窗组件关闭事件
+        dialogClose() {
+        },
+        // 提交表单事件
+        submitForm() {
+            let list = []
+            this.checkedUsers.forEach((user) => {
+                this.dataList.forEach((item) => {
+                    if (user == item.id) {
+                        list.push({
+                            ...item
+                        })
+                    }
+                })
+            })
+            this.$emit('input', list)
+            this.$emit('submitForm')
+            this.dialogVisible = false
+            //this.$emit('submitForm', this.nameList)
+        },
+        handleSizeChange(val) {
+            console.log(`每页 ${val} 条`);
+        },
+        handleCurrentChange(val) {
+            this.$set(this.page,'pageNum',val)
+            console.log(`当前页: ${val}dddd`,this.page.pageNum);
+            this.listUser()
+        },
+        changeCheckbox(item,index,val) {
+            console.log("item,index,val====",item,index,val)
+        }
+ 
+    },
+}
+</script>
+  
+<style lang="scss" scoped>
+.is-error {
+    .select-more-item {
+        border-color: #f56c6c !important;
+    }
+}
+.select-more-tool {
+    position: absolute;
+    bottom: 5px;
+    right: 5px;
+    display: flex;
+    .select-more-but-add {
+        width: 80px;
+        height: 36px;
+        box-sizing: border-box;
+        color: #fff;
+        background-color: #409eff;
+        border-color: #409eff;
+        display: flex;
+        justify-content: center;
+        align-items: center;
+        border-radius: 5px;
+        cursor: pointer;
+        margin-left: 10px;
+        
+    }
+    .select-more-but-clear {
+        width: 80px;
+        height: 36px;
+        box-sizing: border-box;
+        color: #fff;
+        background-color: #f56c6c;
+        border-color: #f56c6c;
+        display: flex;
+        justify-content: center;
+        align-items: center;
+        border-radius: 5px;
+        cursor: pointer;
+        margin-left: 10px;
+    }
+}
+
+.select-more-item {
+    width: 100%;
+    height: 300px;
+    border: 1px solid #C0C4CC;
+    overflow: hidden;
+    overflow-y: auto;
+    border-radius: 5px;
+    margin-top: 5px;
+    position: relative;
+    padding: 10px;
+    .c_left_tag {
+        display: flex;
+        flex-wrap: wrap;
+    }
+ 
+            .tag {
+                margin-left: 0 !important;
+                margin-right: 10px;
+                margin-bottom: 10px;
+            }
+}
+.form-con {
+    padding-top: 10px;
+    margin: auto;
+ 
+    .form_content {
+        height: 500px;
+        display: flex;
+ 
+        .c_left {
+            width: 50%;
+            border-right: 1px solid #EBEEF5;
+            padding: 0 10px;
+ 
+            .c_left_btn {
+                height: 32px;
+                display: flex;
+                justify-content: space-between;
+                align-items: center;
+            }
+ 
+            .c_left_tag {
+                margin-top: 10px;
+                display: flex;
+                flex-wrap: wrap;
+            }
+ 
+            .tag {
+                margin-left: 0 !important;
+                margin-right: 10px;
+                margin-bottom: 10px;
+            }
+ 
+        }
+ 
+        .c_right {
+            width: 50%;
+            height: 100%;
+            padding: 0 10px;
+            display: flex;
+            flex-direction: column;
+            justify-content: space-between;
+            box-sizing: border-box;
+            .c_input {
+                height: 32px;
+                flex-shrink: 0;
+            }
+            .c_checkbox {
+                margin-top: 10px;
+                height: 100%;
+            }
+ 
+            .checkBox {
+                display: flex;
+                flex-direction: column;
+                
+                .checkBox_item {
+                    height: 30px;
+                    display: flex;
+                    align-items: center;
+                }
+            }
+            .c_pagination {
+                height: 32px;
+                flex-shrink: 0;
+                display: flex;
+                justify-content: center;
+            }
+        }
+    }
+}
+</style>