Переглянути джерело

内容管理完善+系统设置(服务员配置)

WIN-B904R0U0NNS\Administrator 2 роки тому
батько
коміт
08cb5ce856

+ 12 - 0
src/api/hotel.js

@@ -27,6 +27,18 @@ export function newHotel(parameter) {
 }
 
 /**
+ * 当前租户的酒店列表
+ * @param {参数} parameter
+ * @returns
+ */
+export function hotelQueryList(parameter) {
+    return axios({
+        url: '/business/busHotel/queryList?key='+parameter.key,
+        method: 'get',
+    })
+}
+
+/**
  * 获取单个酒店信息
  * @param {参数} parameter
  * @returns

+ 6 - 4
src/views/settings/components/advertList.vue

@@ -55,9 +55,10 @@
             <a-tag v-else color="red">禁用</a-tag>
         </span>
         <span slot="type" slot-scope="text,record">
-            <a-tag v-if="text == 1" color="green">小程序首页</a-tag>
-            <a-tag v-else-if="text == 2" color="green">后台登录</a-tag>
-            <a-tag v-else-if="text == 3" color="green">商城首页</a-tag>
+             <a-tag v-if="record.type > 0" color="green">{{text}}</a-tag>
+<!--            <a-tag v-if="text == 1" color="green">小程序首页</a-tag>-->
+<!--            <a-tag v-else-if="text == 2" color="green">后台登录</a-tag>-->
+<!--            <a-tag v-else-if="text == 3" color="green">商城首页</a-tag>-->
         </span>
 
         <span slot="action" slot-scope="text, record">
@@ -128,7 +129,8 @@
           {
             title:'广告位置',
             align:"center",
-            dataIndex: 'type',
+            dataIndex: 'type_dictText',
+            // dataIndex: 'type',
             scopedSlots: { customRender: 'type' },
           },
           {

+ 10 - 5
src/views/settings/components/modules/advertForm.vue

@@ -11,11 +11,12 @@
           <a-col :span="24">
             <a-form-model-item label="投放位置" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="type">
 <!--              <a-input-number v-model="model.type" placeholder="请输入投放类型" style="width: 100%" />-->
-              <a-select placeholder="请选择投放位置" v-model="model.type">
-                <a-select-option :value="1">小程序首页</a-select-option>
-                <a-select-option :value="2">后台登录</a-select-option>
-                <a-select-option :value="3">商城首页</a-select-option>
-              </a-select>
+<!--              <a-select placeholder="请选择投放位置" v-model="model.type">-->
+<!--                <a-select-option :value="1">小程序首页</a-select-option>-->
+<!--                <a-select-option :value="2">后台登录</a-select-option>-->
+<!--                <a-select-option :value="3">商城首页</a-select-option>-->
+<!--              </a-select>-->
+                <j-dict-select-tag v-model="model.type" placeholder="请选择投放位置" dictCode="advert_site"/>
             </a-form-model-item>
           </a-col>
           <a-col :span="24">
@@ -112,6 +113,7 @@
       },
       edit (record) {
         this.model = Object.assign({}, record);
+
         this.visible = true;
       },
       submitForm () {
@@ -131,6 +133,9 @@
               httpurl+=this.url.edit;
                method = 'put';
             }
+              if(this.model.type === ''){
+                  this.model.type = null
+              }
             httpAction(httpurl,this.model,method).then((res)=>{
               if(res.success){
                 that.$message.success(res.message);

+ 156 - 0
src/views/settings/components/modules/waiterForm.vue

@@ -0,0 +1,156 @@
+<template>
+  <a-spin :spinning="confirmLoading">
+    <j-form-container :disabled="formDisabled">
+      <a-form-model ref="form" :model="model" :rules="validatorRules" slot="detail">
+        <a-row>
+          <a-col :span="24">
+            <a-form-model-item label="服务员工号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="workNo">
+              <a-input v-model="model.workNo" placeholder="请输入服务员工号"  ></a-input>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="24">
+            <a-form-model-item label="服务员姓名" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="name">
+              <a-input v-model="model.name" placeholder="请输入服务员姓名"  ></a-input>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="24">
+            <a-form-model-item label="性别" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="sex">
+<!--              <a-input-number v-model="model.sex" placeholder="请输入性别(0-默认未知,1-男,2-女)" style="width: 100%" />-->
+              <j-dict-select-tag v-model="model.sex" placeholder="请选择性别" dictCode="sex"/>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="24">
+            <a-form-model-item
+                    :labelCol="labelCol"
+                    :wrapperCol="wrapperCol"
+                    label="是否有效"
+                    prop="status">
+              <a-switch checkedChildren="有效" unCheckedChildren="无效" v-model="model.status"/>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="24">
+            <a-form-model-item label="备注" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="remarks">
+              <a-input v-model="model.remarks" placeholder="请输入备注"  ></a-input>
+            </a-form-model-item>
+          </a-col>
+        </a-row>
+      </a-form-model>
+    </j-form-container>
+  </a-spin>
+</template>
+
+<script>
+
+  import { httpAction, getAction } from '@/api/manage'
+  import { validateDuplicateValue } from '@/utils/util'
+
+  export default {
+    name: 'waiterForm',
+    components: {
+    },
+    props: {
+      //表单禁用
+      disabled: {
+        type: Boolean,
+        default: false,
+        required: false
+      }
+    },
+    data () {
+      return {
+        model:{
+         },
+        labelCol: {
+          xs: { span: 24 },
+          sm: { span: 5 },
+        },
+        wrapperCol: {
+          xs: { span: 24 },
+          sm: { span: 16 },
+        },
+        confirmLoading: false,
+        validatorRules: {
+          workNo: [
+              { required: true, message: '请输入服务员工号!'},
+           ],
+          name: [
+            { required: true, message: '请输入服务员姓名!'},
+          ],
+          sex: [
+            { required: true, message: '请选择服务员性别!'},
+          ],
+          status: [
+              { required: true, message: '请选择服务员是否有效!'},
+           ],
+        },
+        url: {
+          add: "/business/busWaiter/add",
+          edit: "/business/busWaiter/edit",
+          queryById: "/business/busWaiter/queryById"
+        }
+      }
+    },
+    computed: {
+      formDisabled(){
+        return this.disabled
+      },
+    },
+    created () {
+       //备份model原始值
+      this.modelDefault = JSON.parse(JSON.stringify(this.model));
+    },
+    methods: {
+      add () {
+        //初始化默认值
+        this.edit(this.modelDefault);
+        this.edit({status:true });
+      },
+      edit (record) {
+        this.model = Object.assign({}, record);
+        this.visible = true;
+        if (this.model.status == 1){
+          this.model.status = true;
+        }else {
+          this.model.status = false;
+        }
+
+      },
+      submitForm () {
+        const that = this;
+        // 触发表单验证
+        this.$refs.form.validate(valid => {
+          if (valid) {
+            that.confirmLoading = true;
+            let httpurl = '';
+            let method = '';
+            if(!this.model.id){
+              httpurl+=this.url.add;
+              var info = JSON.parse(localStorage.getItem("storeInfo"));
+              this.model.hotelId = info.id;
+              method = 'post';
+            }else{
+              httpurl+=this.url.edit;
+               method = 'put';
+            }
+            if (this.model.status){
+              this.model.status = 1;
+            }else {
+              this.model.status = 0;
+            }
+            httpAction(httpurl,this.model,method).then((res)=>{
+              if(res.success){
+                that.$message.success(res.message);
+                that.$emit('ok');
+              }else{
+                that.$message.warning(res.message);
+              }
+            }).finally(() => {
+              that.confirmLoading = false;
+            })
+          }
+
+        })
+      },
+    }
+  }
+</script>

+ 84 - 0
src/views/settings/components/modules/waiterModal.Style#Drawer.vue

@@ -0,0 +1,84 @@
+<template>
+  <a-drawer
+    :title="title"
+    :width="width"
+    placement="right"
+    :closable="false"
+    @close="close"
+    destroyOnClose
+    :visible="visible">
+    <waiter-form ref="realForm" @ok="submitCallback" :disabled="disableSubmit" normal></waiter-form>
+    <div class="drawer-footer">
+      <a-button @click="handleCancel" style="margin-bottom: 0;">关闭</a-button>
+      <a-button v-if="!disableSubmit"  @click="handleOk" type="primary" style="margin-bottom: 0;">提交</a-button>
+    </div>
+  </a-drawer>
+</template>
+
+<script>
+
+  import waiterForm from './waiterForm'
+
+  export default {
+    name: 'waiterModal',
+    components: {
+      waiterForm
+    },
+    data () {
+      return {
+        title:"操作",
+        width:800,
+        visible: false,
+        disableSubmit: false
+      }
+    },
+    methods: {
+      add () {
+        this.visible=true
+        this.$nextTick(()=>{
+          this.$refs.realForm.add();
+        })
+      },
+      edit (record) {
+        this.visible=true
+        this.$nextTick(()=>{
+          this.$refs.realForm.edit(record);
+        });
+      },
+      close () {
+        this.$emit('close');
+        this.visible = false;
+      },
+      submitCallback(){
+        this.$emit('ok');
+        this.visible = false;
+      },
+      handleOk () {
+        this.$refs.realForm.submitForm();
+      },
+      handleCancel () {
+        this.close()
+      }
+    }
+  }
+</script>
+
+<style lang="less" scoped>
+/** Button按钮间距 */
+  .ant-btn {
+    margin-left: 30px;
+    margin-bottom: 30px;
+    float: right;
+  }
+  .drawer-footer{
+    position: absolute;
+    bottom: -8px;
+    width: 100%;
+    border-top: 1px solid #e8e8e8;
+    padding: 10px 16px;
+    text-align: right;
+    left: 0;
+    background: #fff;
+    border-radius: 0 0 2px 2px;
+  }
+</style>

+ 60 - 0
src/views/settings/components/modules/waiterModal.vue

@@ -0,0 +1,60 @@
+<template>
+  <j-modal
+    :title="title"
+    :width="width"
+    :visible="visible"
+    switchFullscreen
+    @ok="handleOk"
+    :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
+    @cancel="handleCancel"
+    cancelText="关闭">
+    <waiter-form ref="realForm" @ok="submitCallback" :disabled="disableSubmit"></waiter-form>
+  </j-modal>
+</template>
+
+<script>
+
+  import waiterForm from './waiterForm'
+  export default {
+    name: 'waiterModal',
+    components: {
+      waiterForm
+    },
+    data () {
+      return {
+        title:'',
+        width:800,
+        visible: false,
+        disableSubmit: false
+      }
+    },
+    methods: {
+      add () {
+        this.visible=true
+        this.$nextTick(()=>{
+          this.$refs.realForm.add();
+        })
+      },
+      edit (record) {
+        this.visible=true
+        this.$nextTick(()=>{
+          this.$refs.realForm.edit(record);
+        })
+      },
+      close () {
+        this.$emit('close');
+        this.visible = false;
+      },
+      handleOk () {
+        this.$refs.realForm.submitForm();
+      },
+      submitCallback(){
+        this.$emit('ok');
+        this.visible = false;
+      },
+      handleCancel () {
+        this.close()
+      }
+    }
+  }
+</script>

+ 13 - 0
src/views/settings/components/paramSettings.vue

@@ -0,0 +1,13 @@
+<template>
+    <div>参数配置</div>
+</template>
+
+<script>
+    export default {
+        name: "paramSettings"
+    }
+</script>
+
+<style scoped>
+
+</style>

+ 13 - 0
src/views/settings/components/payApiSettings.vue

@@ -0,0 +1,13 @@
+<template>
+    <div>支付接口配置</div>
+</template>
+
+<script>
+    export default {
+        name: "payApiSettings"
+    }
+</script>
+
+<style scoped>
+
+</style>

+ 13 - 0
src/views/settings/components/paySettings.vue

@@ -0,0 +1,13 @@
+<template>
+    <div>支付配置</div>
+</template>
+
+<script>
+    export default {
+        name: "paySettings"
+    }
+</script>
+
+<style scoped>
+
+</style>

+ 13 - 0
src/views/settings/components/printTemplate.vue

@@ -0,0 +1,13 @@
+<template>
+    <div>打印模板</div>
+</template>
+
+<script>
+    export default {
+        name: "printTemplate"
+    }
+</script>
+
+<style scoped>
+
+</style>

+ 13 - 0
src/views/settings/components/salesPersonInfo.vue

@@ -0,0 +1,13 @@
+<template>
+    <div>营销人员管理</div>
+</template>
+
+<script>
+    export default {
+        name: "salesPersonInfo"
+    }
+</script>
+
+<style scoped>
+
+</style>

+ 11 - 8
src/views/settings/components/storeInfos.vue

@@ -9,14 +9,17 @@
         <a-form-item label="星级" :wrapper-col="{ span: 5 }">
 <!--            <j-dict-select-tag v-model="model.tenantId" placeholder="请选择关联租户" dictCode="sys_tenant,name,id" />-->
 <!--            v-model="form.sex"-->
-            <a-select placeholder="请选择星级"
-                      v-decorator="['star', {rules: [{ required: true, message: '请选择项目名称!' }]}]">
-                <a-select-option :value="1">一星及以下/经济</a-select-option>
-                <a-select-option :value="2">二星/实惠</a-select-option>
-                <a-select-option :value="3">三星/舒适</a-select-option>
-                <a-select-option :value="4">四星/高档</a-select-option>
-                <a-select-option :value="5">五星/豪华</a-select-option>
-            </a-select>
+<!--            <a-select placeholder="请选择星级"-->
+<!--                      v-decorator="['star', {rules: [{ required: true, message: '请选择项目名称!' }]}]">-->
+<!--                <a-select-option :value="1">一星及以下/经济</a-select-option>-->
+<!--                <a-select-option :value="2">二星/实惠</a-select-option>-->
+<!--                <a-select-option :value="3">三星/舒适</a-select-option>-->
+<!--                <a-select-option :value="4">四星/高档</a-select-option>-->
+<!--                <a-select-option :value="5">五星/豪华</a-select-option>-->
+<!--            </a-select>-->
+
+            <j-dict-select-tag v-decorator="['star', {rules: [{ required: true, message: '请选择项目名称!' }]}]"
+                               placeholder="请选择星级" dictCode="hotel_star"/>
         </a-form-item>
 
         <a-form-item label="酒店地址">

+ 235 - 0
src/views/settings/components/waiterSettings.vue

@@ -0,0 +1,235 @@
+<template>
+    <a-card :bordered="false">
+        <!-- 查询区域 -->
+        <div class="table-page-search-wrapper">
+            <a-form layout="inline" @keyup.enter.native="searchQuery">
+                <a-row :gutter="24">
+                    <a-col :md="6" :sm="8">
+                        <a-form-item>
+<!--                            <j-dict-select-tag v-model="queryParam.hotelId" placeholder="请选择关联酒店" @change="e=>handleChangeHotel(e)"-->
+<!--                                               dictCode="bus_hotel_info,name,id,`status`=1 and check_status=1 and del_flag=0 "  />-->
+                            <a-select
+                                    maxTagCount="1"
+                                    mode="multiple"
+                                    v-model="queryParam.hotelId"
+                                    placeholder="请选择"
+                                    :allowClear="true"
+                            >
+                                <a-select-option :value="item.id" v-for="(item,index) in hotelList" :key="index">{{ item.name }}</a-select-option>
+                            </a-select>
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="6">
+                        <a-form-item>
+                            <a-input placeholder="关键字查询" v-model="queryParam.keyWord"></a-input>
+                        </a-form-item>
+                    </a-col>
+                    <a-col :md="4" :sm="6">
+                        <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
+                          <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
+                        </span>
+                    </a-col>
+                </a-row>
+            </a-form>
+        </div>
+        <!-- 查询区域-END -->
+
+        <!-- 操作按钮区域 -->
+        <div class="table-operator">
+            <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
+            <a-dropdown v-if="selectedRowKeys.length > 0">
+<!--                <a-menu slot="overlay">-->
+<!--                    <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>-->
+<!--                </a-menu>-->
+<!--                <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>-->
+                <a-button @click="batchDel" type="danger" icon="delete">批量删除</a-button>
+            </a-dropdown>
+        </div>
+
+        <!-- table区域-begin -->
+        <div>
+            <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
+                <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
+                <a style="margin-left: 24px" @click="onClearSelected">清空</a>
+            </div>
+
+            <a-table
+                    ref="table"
+                    size="middle"
+                    :scroll="{x:true}"
+                    bordered
+                    rowKey="id"
+                    :columns="columns"
+                    :dataSource="dataSource"
+                    :pagination="ipagination"
+                    :loading="loading"
+                    :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
+                    class="j-table-force-nowrap"
+                    @change="handleTableChange">
+
+                <template slot="htmlSlot" slot-scope="text">
+                    <div v-html="text"></div>
+                </template>
+                <template slot="imgSlot" slot-scope="text,record">
+                    <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
+                    <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
+                </template>
+                <span slot="status" slot-scope="text,record">
+                    <a-tag v-if="text == 1" color="green">有效</a-tag>
+                    <a-tag v-else color="grey">无效</a-tag>
+                </span>
+                <template slot="fileSlot" slot-scope="text">
+                    <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
+                    <a-button
+                            v-else
+                            :ghost="true"
+                            type="primary"
+                            icon="download"
+                            size="small"
+                            @click="downloadFile(text)">
+                        下载
+                    </a-button>
+                </template>
+
+                <span slot="action" slot-scope="text, record">
+          <a @click="handleEdit(record)">编辑</a>
+
+          <a-divider type="vertical" />
+          <a-dropdown>
+            <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
+            <a-menu slot="overlay">
+              <a-menu-item>
+                <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
+                  <a>删除</a>
+                </a-popconfirm>
+              </a-menu-item>
+            </a-menu>
+          </a-dropdown>
+        </span>
+
+            </a-table>
+        </div>
+
+        <waiter-modal ref="modalForm" @ok="modalFormOk"></waiter-modal>
+    </a-card>
+</template>
+
+<script>
+
+    import '@/assets/less/TableExpand.less'
+    import { mixinDevice } from '@/utils/mixin'
+    import { JeecgListMixin } from '@/mixins/JeecgListMixin'
+    import waiterModal from './modules/waiterModal'
+    import { hotelQueryList } from '../../../api/hotel'
+
+    export default {
+        name: 'waiterSettings',
+        mixins:[JeecgListMixin, mixinDevice],
+        components: {
+            waiterModal
+        },
+        data () {
+            return {
+                description: '服务员配置管理页面',
+                // 表头
+                columns: [
+                    {
+                        title:'服务员工号',
+                        align:"center",
+                        dataIndex: 'workNo'
+                    },
+                    {
+                        title:'姓名',
+                        align:"center",
+                        dataIndex: 'name'
+                    },
+                    {
+                        title:'性别',
+                        align:"center",
+                        // dataIndex: 'sex',
+                        dataIndex: 'sex_dictText',
+                    },
+                    {
+                        title:'状态',
+                        align:"center",
+                        dataIndex: 'status',
+                        scopedSlots: { customRender: 'status' },
+                    },
+                    {
+                        title:'备注',
+                        align:"center",
+                        dataIndex: 'remarks'
+                    },
+                    {
+                        title: '创建时间',
+                        dataIndex: 'createTime',
+                        align:"center",
+                        sorter: true
+                    },
+                    {
+                        title: '操作',
+                        dataIndex: 'action',
+                        align:"center",
+                        fixed:"right",
+                        width:147,
+                        scopedSlots: { customRender: 'action' }
+                    }
+                ],
+                url: {
+                    list: "/business/busWaiter/list",
+                    delete: "/business/busWaiter/delete",
+                    deleteBatch: "/business/busWaiter/deleteBatch",
+                    exportXlsUrl: "/business/busWaiter/exportXls",
+                    importExcelUrl: "business/busWaiter/importExcel",
+
+                },
+                dictOptions:{},
+                superFieldList:[],
+                hotelList:[],
+            }
+        },
+        beforeCreate() {
+        },
+        created() {
+            this.getSuperFieldList();
+            this.initData();
+        },
+        computed: {
+            importExcelUrl: function(){
+                return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
+            },
+        },
+        methods: {
+            initDictConfig(){
+            },
+            initData(){
+                hotelQueryList({
+                    key: ''
+                }).then(res => {
+                    console.log(res)
+                    if (res.code == 200 && res.result) {
+                        this.hotelList = res.result;
+                    }
+                })
+            },
+            getSuperFieldList(){
+                let fieldList=[];
+                fieldList.push({type:'string',value:'tenantId',text:'关联租户'})
+                fieldList.push({type:'string',value:'hotelId',text:'关联酒店'})
+                fieldList.push({type:'string',value:'workNo',text:'工号,唯一键'})
+                fieldList.push({type:'string',value:'name',text:'登录账号'})
+                fieldList.push({type:'int',value:'sex',text:'性别(0-默认未知,1-男,2-女)'})
+                fieldList.push({type:'int',value:'status',text:'状态(0-禁用;1-启用)'})
+                fieldList.push({type:'string',value:'remarks',text:'备注信息'})
+                fieldList.push({type:'int',value:'delFlag',text:'删除状态(0-正常,1-已删除)'})
+                this.superFieldList = fieldList
+            },
+            handleChangeHotel(e){
+
+            }
+        }
+    }
+</script>
+<style scoped>
+    @import '~@assets/less/common.less';
+</style>

+ 78 - 0
src/views/settings/systemInfo.vue

@@ -0,0 +1,78 @@
+<template>
+    <a-card style="width: 100%; height:100%;">
+        <a-tabs default-active-key="1">
+            <a-tab-pane key="1">
+                <span slot="tab">
+                    <a-icon type="template" />
+                    打印模板设置
+                </span>
+                <print-template></print-template>
+            </a-tab-pane>
+            <a-tab-pane key="2">
+                <span slot="tab">
+                    <a-icon type="pay" />
+                    支付配置
+                </span>
+                <pay-settings></pay-settings>
+            </a-tab-pane>
+            <a-tab-pane key="3">
+                <span slot="tab">
+                    <a-icon type="payinterface" />
+                    支付接口配置
+                </span>
+                <pay-api-settings></pay-api-settings>
+            </a-tab-pane>
+            <a-tab-pane key="4">
+                <span slot="tab">
+                    <a-icon type="parameter" />
+                    参数配置
+                </span>
+                <param-settings></param-settings>
+            </a-tab-pane>
+            <a-tab-pane key="5">
+                <span slot="tab">
+                    <a-icon type="waiter" />
+                    服务员配置
+                </span>
+                <waiter-settings></waiter-settings>
+            </a-tab-pane>
+            <a-tab-pane key="6">
+                <span slot="tab">
+                    <a-icon type="salesperson" />
+                    营销人员管理
+                </span>
+                <sales-person-info></sales-person-info>
+            </a-tab-pane>
+        </a-tabs>
+    </a-card>
+</template>
+
+<script>
+    import PrintTemplate from "./components/printTemplate";
+    import PaySettings from "./components/paySettings";
+    import PayApiSettings from "./components/payApiSettings";
+    import ParamSettings from "./components/paramSettings";
+    import WaiterSettings from "./components/waiterSettings";
+    import SalesPersonInfo from "./components/salesPersonInfo";
+    export default {
+        components:{
+            SalesPersonInfo,
+            WaiterSettings,
+            ParamSettings,
+            PayApiSettings,
+            PaySettings,
+            PrintTemplate,
+        },
+        data() {
+            return {
+
+            }
+        }
+    }
+</script>
+
+<style scoped>
+    .main{
+        height: 70% !important;
+    }
+</style>