Bläddra i källkod

管理后台-订座管理:座位模板、未来7天排座

panyong 3 år sedan
förälder
incheckning
4d37590ad6

+ 9 - 4
htmldev/manage/src/views/business/place/list/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="padding-20">
     <div class="search-box">
-      <el-form ref="form" :inline="true" :model="searchForm" clearable label-width="100px" class="mt-10">
+      <el-form ref="form"
+               :inline="true"
+               :model="searchForm"
+               clearable
+               label-width="100px"
+               class="mt-10">
         <el-form-item label="座位名称:">
           <el-input v-model="searchForm.department_name" placeholder="请输入座位名称" clearable></el-input>
         </el-form-item>
@@ -21,7 +26,7 @@
               border
               :max-height="vheight">
       <el-table-column label="ID" prop="id"></el-table-column>
-      <el-table-column label="座位名称" prop="place_name"></el-table-column>
+      <el-table-column label="座位名称" prop="place_name" width="240"></el-table-column>
       <el-table-column label="座位说明" prop="place_desc"></el-table-column>
       <el-table-column label="座位数量" prop="place_num"></el-table-column>
       <el-table-column label="单桌人数" prop="place_user_max"></el-table-column>
@@ -31,8 +36,8 @@
         </template>
       </el-table-column>
       <el-table-column label="最晚到店时间" prop="place_latest_time"></el-table-column>
-      <el-table-column label="最晚保留时间(分钟)" prop="place_max_time"></el-table-column>
-      <el-table-column label="添加时间" prop="created_at"></el-table-column>
+      <el-table-column label="最晚保留时间(分钟)" prop="place_max_time" width="160"></el-table-column>
+      <el-table-column label="添加时间" prop="created_at" width="160"></el-table-column>
       <el-table-column label="操作" width="220">
         <template slot-scope="scope">
           <el-button type="text"

+ 6 - 1
htmldev/manage/src/views/business/place/set/index.vue

@@ -1,7 +1,12 @@
 <template>
   <div class="padding-20">
     <div class="search-box">
-      <el-form ref="form" :inline="true" :model="searchForm" clearable label-width="100px" class="mt-10">
+      <el-form ref="form"
+               :inline="true"
+               :model="searchForm"
+               clearable
+               label-width="100px"
+               class="mt-10">
         <el-form-item label="开放预定日期:">
           <el-date-picker
             :editable="false"