萌小猫 3 年之前
父節點
當前提交
b397d4b7d1
共有 2 個文件被更改,包括 6 次插入6 次删除
  1. 1 1
      Web/src/views/settings/Base.vue
  2. 5 5
      Web/src/views/settings/sub/EditHouseType.vue

+ 1 - 1
Web/src/views/settings/Base.vue

@@ -12,7 +12,7 @@
                 <el-tab-pane label="场地类型">
                     <house-type></house-type>
                 </el-tab-pane>
-                <el-tab-pane label="宴会类型">
+                <el-tab-pane label="预定类型">
                     <order-type></order-type>
                 </el-tab-pane>
             </el-tabs>

+ 5 - 5
Web/src/views/settings/sub/EditHouseType.vue

@@ -7,11 +7,11 @@
                 :close-on-click-modal="false"
         >
             <div slot="title">
-                <z-title :title="(type==0?'新增':'编辑')+'宴会类型'"></z-title>
+                <z-title :title="(type==0?'新增':'编辑')+'场地类型'"></z-title>
             </div>
             <el-form :model="info" :rules="rules" ref="ruleForm" class="rulefrom">
                 <el-form-item label="名 称" prop="houseTypeName" label-width="80px">
-                    <el-input maxlength="16" v-model="info.houseTypeName" placeholder="请输入宴会类型"></el-input>
+                    <el-input maxlength="16" v-model="info.houseTypeName" placeholder="请输入场地类型"></el-input>
                 </el-form-item>
                 <el-form-item label="状 态" prop="houseTypeState" label-width="80px">
                     <el-radio-group v-model="info.houseTypeState">
@@ -68,7 +68,7 @@
         methods:{
             getData(){
                 this.$axios.get('/houseType/houseTypeById/'+this.id).then(res=>{
-                    console.log('宴会类型',res.data)
+                    console.log('场地类型',res.data)
                     this.loading=false;
                     var info=res.data;
                     this.info=info;
@@ -85,7 +85,7 @@
                     houseTypeState:info.houseTypeState,
                     houseTypeName: info.houseTypeName
                 }).then(res=>{
-                    this.$message.success('新增宴会类型成功!');
+                    this.$message.success('新增场地类型成功!');
                     this.resetForm();
                 }).catch(err=>{
                     this.loading=false;
@@ -101,7 +101,7 @@
                     houseTypeState:info.houseTypeState,
                     houseTypeName: info.houseTypeName
                 }).then(res=>{
-                    this.$message.success('编辑宴会类型成功!');
+                    this.$message.success('编辑场地类型成功!');
                     this.resetForm();
                 }).catch(err=>{
                     this.loading=false;